feat(codex-fleet): rewrite auto-reviewer for active-plan + rubric/prepass contract#126
Merged
Merged
Conversation
…pass contract Aligns scripts/codex-fleet/auto-reviewer.sh with the codex-fleet-dispatch contract: resolves slug from .codex-fleet/active-plan (override via --plan-slug), discovers PRs via `gh pr list --search 'head:agent/* <slug>'` with a plan.json `completed_summary` fallback, truncates each PR diff to 200 lines, assembles a prompt from scripts/codex-fleet/lib/review-rubric.md + review-prepass.sh (built-in fallbacks with warnings when missing), and invokes `claude --print --permission-mode bypassPermissions`, writing the review to /tmp/claude-viz/plan-review-<slug>.md. Adds --dry-run which prints the assembled prompt and skips the claude invocation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
NagyVikt
added a commit
that referenced
this pull request
May 15, 2026
…fier labels (#134) Two follow-ups from the 12-lane TUI improvements dispatch: 1. auto-reviewer.sh — add --loop, --interval=<sec>, and --once flags so full-bringup.sh:771 (`auto-reviewer.sh --loop --interval=300`) keeps working after PR #126's rewrite to the --plan-slug contract. Default stays one-shot; --loop wraps main() in a while+sleep with rc warning on iteration failure so a transient claude error doesn't kill the ticker. 2. supervisor.sh — rename the documented classifier categories from working/asking/blocked/done to busy/asking/blocked/quiet so the canonical prompt heredoc matches the live classifier emitter at scripts/codex-fleet/lib/claude-supervisor-classifier.sh (and the legacy fixtures at scripts/codex-fleet/test/fixtures/ claude-supervisor-classifier/). Updated examples + 3-strike-guard bullets to match the new names; semantics unchanged (busy = active progress, quiet = idle/completed). Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
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.
Automated by gx branch finish (PR flow).