Skip to content

feat(analyst): type every agent improvement surface#337

Merged
drewstone merged 1 commit into
mainfrom
feat/agent-profile-finding-surfaces
Jul 10, 2026
Merged

feat(analyst): type every agent improvement surface#337
drewstone merged 1 commit into
mainfrom
feat/agent-profile-finding-surfaces

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Problem

Trace findings could not represent MCP, hooks, subagents, workflows, rollout policy, whole-profile, or code recommendations. The analyst prompts also carried duplicated subject grammars that could drift from parser policy.

Solution

  • Add typed subjects and deterministic policy routing for every AgentProfile and code surface.
  • Generate each analyst prompt grammar from the same declarative syntax used by parsing and validation.
  • Fail loudly on unknown subject kinds.
  • Upgrade the direct agent-interface dependency to 0.22.0.

Proof

  • pnpm typecheck
  • pnpm build
  • pnpm verify:package
  • pnpm test: 2,780 passed, 2 skipped
  • independent adversarial review: APPROVE; 104 affected tests passed
  • clean merge tree against current origin/main

@drewstone drewstone merged commit 1042633 into main Jul 10, 2026
1 check passed
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