Skip to content

feat: multi-agent PR review panel (task #0047)#63

Merged
fazxes merged 2 commits intomainfrom
feat/multi-agent-review-panel
Apr 5, 2026
Merged

feat: multi-agent PR review panel (task #0047)#63
fazxes merged 2 commits intomainfrom
feat/multi-agent-review-panel

Conversation

@fazxes
Copy link
Copy Markdown
Member

@fazxes fazxes commented Apr 5, 2026

Summary

  • Split monolithic code-reviewer into 5 focused specialist agents that scale with PR complexity
  • New agents: safety-reviewer, docs-reviewer, architecture-reviewer, meta-reviewer
  • Narrowed code-reviewer to structure/types/registration/tests only
  • Complexity heuristic in evolve.md Step 8: docs-only/small -> 1 agent, medium -> 3, complex -> 4-5 in parallel
  • All reviewers must PASS to merge

Test plan

  • make check passes (663 tests, mypy clean, ruff clean)
  • Agent definitions have no scope overlap (each checks different concerns)
  • Heuristic correctly scales: count lines/files in gh pr diff --stat to determine tier

fazxes added 2 commits April 5, 2026 03:39
Split the monolithic code-reviewer into 5 focused specialist agents.
Complexity heuristic in evolve.md Step 8 determines review depth:
docs-only/small PRs get 1 reviewer, medium 3, complex 4-5 in parallel.
All must pass to merge. (task #47)
#77: Fix dependency flow overlap between code-reviewer and architecture-reviewer
#78: Add live integration test gate to PR review pipeline
@fazxes fazxes merged commit 5ab84b1 into main Apr 5, 2026
@fazxes fazxes deleted the feat/multi-agent-review-panel branch April 5, 2026 07:42
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9cd7a2173d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/prompt/evolve.md
Comment on lines +438 to +439
# DOCS-ONLY (.md only, no .py/.sh/.json/.toml):
# -> 1 agent: code-reviewer (fast path -- reports PASS immediately)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Prevent docs-only rule from skipping prompt/script reviews

The new docs-only tier sends any .md-only PR to code-reviewer, and that reviewer now immediately returns PASS for docs-only changes. A prompt-only change (for example in docs/prompt/) satisfies this docs-only condition, so it can bypass the specialized reviewers that are supposed to guard autonomous-loop and documentation integrity. This creates a real path where behavior-defining prompt edits get effectively no substantive review; make docs-only exclude meta surfaces (like docs/prompt/) or evaluate higher-risk triggers before this fast path.

Useful? React with 👍 / 👎.

Comment thread docs/prompt/evolve.md
# MEDIUM (100-300 lines, OR new .py module, OR new dependency):
# -> 3 agents in parallel: code-reviewer + safety-reviewer + docs-reviewer
#
# COMPLEX (>300 lines, OR 5+ files, OR touches scripts/ or docs/prompt/):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include .claude/agents edits in complexity escalation

The complexity gate escalates to the full reviewer panel for scripts/ and docs/prompt/, but not for .claude/agents/. As written, a small PR that edits only agent definitions can be classified as SMALL and reviewed only by code-reviewer, even though the meta reviewer is the one tasked with checking agent-scope overlap and autonomous-pipeline integrity for those files. Add .claude/agents/ to the escalation trigger (or make meta-reviewer unconditional for that path) so policy-agent changes always get the intended review.

Useful? React with 👍 / 👎.

fazxes added a commit that referenced this pull request Apr 6, 2026
- scripts/watchdog.sh: auto-restarts daemon on crash, rate-limits
  to 5 restarts/hour, sleeps 1 hour if fundamentally broken
- Restored all 37 wontfixed tasks — the agent does the work, not skip it
- evolve.md Step 6o: removed queue cap, replaced with judgment-based rule
  ("create only what matters, never to fill a quota")
- Merged #74 into #63 (genuine duplicate)
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