feat: Add Codex cross-model review and per-ticket backend routing#1
Open
seongjinpark-speak wants to merge 3 commits intobyseon:mainfrom
Open
feat: Add Codex cross-model review and per-ticket backend routing#1seongjinpark-speak wants to merge 3 commits intobyseon:mainfrom
seongjinpark-speak wants to merge 3 commits intobyseon:mainfrom
Conversation
Introduces two major features for Takt's execution and review pipeline: 1. Per-Ticket Model Routing: Tickets now have Backend (claude|codex) and ModelTier (haiku|sonnet|opus) fields. The execute skill routes codex tickets via ask_codex MCP tool with graceful fallback to Claude opus. Works in both Agent Teams and Subagents execution modes. 2. Cross-Model Review Loop: Dual parallel reviewers (Opus + Codex) with severity classification (CRITICAL/HIGH block, MEDIUM/LOW pass), synthesis with deduplication, and re-review loop with configurable max rounds. New review-severity-gate.mjs script enforces the gate. Codex is a soft dependency — all features degrade gracefully to Claude-only operation when unavailable.
- Remove misleading v0.4.0 version label from execute skill - Add defaultBackend field to registry.json agent schema - Add multi-path resolution and ticketId sanitization to severity gate - Change exit codes from 1 (error) to 2 (block) for missing review state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backend(claude|codex) andModelTier(haiku|sonnet|opus) fields. Execute skill routes codex tickets viaask_codexMCP with graceful fallback to Claude opus. Works in both Agent Teams and Subagents modes.review-severity-gate.mjsscript: Zero-dep ESM script that gates approval on severity levels (exit 2 on CRITICAL/HIGH, exit 0 otherwise). Invoked programmatically, not registered as a hook.Codex is a soft dependency — all features degrade gracefully to Claude-only when unavailable.
Files changed (12)
templates/ticket.mdskills/plan/SKILL.mdskills/execute/SKILL.mdskills/review/SKILL.mdagents/takt-orchestrator.mdtemplates/agents/reviewer.mdtemplates/POLICY.mdscripts/init-project.mjsscripts/review-severity-gate.mjsdocs/CONFIGURATION.mdCLAUDE.mdREADME.mdTest plan
node -c scripts/review-severity-gate.mjs— syntax check passesnode -c scripts/init-project.mjs— syntax check passes🤖 Generated with Claude Code