Skip to content

BRIX-1528: Sanitize Hermes UI context injection - #55

Merged
lafawnduh1966 merged 1 commit into
codex/agent-interface-uifrom
codex/BRIX-1528-hermes-context-injection
May 30, 2026
Merged

BRIX-1528: Sanitize Hermes UI context injection#55
lafawnduh1966 merged 1 commit into
codex/agent-interface-uifrom
codex/BRIX-1528-hermes-context-injection

Conversation

@lafawnduh1966

Copy link
Copy Markdown

Summary

  • expand Quay-specific Hermes instructions around context grounding and fetch-by-ID behavior
  • serialize sanitized AgentUiContext inside the Hermes run input context block
  • cap strings, arrays, objects, and depth before run creation
  • omit logs, review threads, artifacts, diffs, patches, prompt bodies, and preamble bodies by default
  • add tests for Mission Control context, Configuration context after navigation, and large-field omission/truncation

Verification

  • bun test packages/cli/tests/admin/hermes_agent_adapter.test.ts packages/cli/tests/admin/api.test.ts
  • bun run typecheck:cli
  • bun run build:cli

Linear: BRIX-1528

@linear

linear Bot commented May 30, 2026

Copy link
Copy Markdown

BRIX-1528

@lafawnduh1966
lafawnduh1966 force-pushed the codex/BRIX-1528-hermes-context-injection branch from 53b560e to 27d5750 Compare May 30, 2026 11:19
@lafawnduh1966
lafawnduh1966 merged commit 618e007 into codex/agent-interface-ui May 30, 2026
1 check passed
@lafawnduh1966
lafawnduh1966 deleted the codex/BRIX-1528-hermes-context-injection branch May 30, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant