Skip to content

feat(intent): deterministic chat review dispatch on "review with <eng…#176

Merged
cukas merged 1 commit into
mainfrom
fix/agy-cesar-tooling-and-codeblock-render
Jun 8, 2026
Merged

feat(intent): deterministic chat review dispatch on "review with <eng…#176
cukas merged 1 commit into
mainfrom
fix/agy-cesar-tooling-and-codeblock-render

Conversation

@cukas

@cukas cukas commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

…ines>"

You shouldn't have to think about a target. "review with codex claude agy" (and politeness variants like "can you review with codex claude and agy") now dispatch a real review directly from chat — target defaults to uncommitted — instead of being handed to the Cesar model, which a weak engine could fake or mis-target to the current branch.

  • Wires the previously-dead parseSemanticReviewShortcut into detectIntent. It's high-precision: requires a review verb + "with <known engine(s)>" (validated against the engine regex, so "review with me the options" stays auto), tolerates politeness prefixes, and excludes compound "fix then review" so Cesar still owns the full sequence. Forge/tribunal/campfire remain slash-only.
  • Fixes parseExplicitEngineIds so space-separated engines are captured: "with codex claude agy" now yields all three, not just codex.

(/review codex claude agy already worked — engines positional, target optional/uncommitted; added a 3-engine test to lock it in.)

Updates the older "review is slash-only from chat" tests to the new contract; full suite green: 1999/1999.

…ines>"

You shouldn't have to think about a target. "review with codex claude agy"
(and politeness variants like "can you review with codex claude and agy") now
dispatch a real review directly from chat — target defaults to uncommitted —
instead of being handed to the Cesar model, which a weak engine could fake or
mis-target to the current branch.

- Wires the previously-dead parseSemanticReviewShortcut into detectIntent. It's
  high-precision: requires a review verb + "with <known engine(s)>" (validated
  against the engine regex, so "review with me the options" stays auto),
  tolerates politeness prefixes, and excludes compound "fix then review" so
  Cesar still owns the full sequence. Forge/tribunal/campfire remain slash-only.
- Fixes parseExplicitEngineIds so space-separated engines are captured:
  "with codex claude agy" now yields all three, not just codex.

(`/review codex claude agy` already worked — engines positional, target
optional/uncommitted; added a 3-engine test to lock it in.)

Updates the older "review is slash-only from chat" tests to the new contract;
full suite green: 1999/1999.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cukas cukas merged commit 4370e26 into main Jun 8, 2026
2 checks passed
@cukas cukas deleted the fix/agy-cesar-tooling-and-codeblock-render branch June 8, 2026 09:47
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