@crown-dev-studios/review-council
v0.4.0
Published
Parallel multi-agent code review orchestration with bundled prompts, schemas, and HTML reporting.
Downloads
430
Readme
Review Council
Review Council is a standalone skill repo for model-parallel code review. It runs Claude and Codex in parallel with selected skill references (architecture-review, testing-philosophy, plan-compliance) passed into reviewer prompts as additional review lenses, then synthesizes all findings through an LLM judge with semantic deduplication, contradiction detection, and dependency ordering.
Use it when you want:
- model-parallel review where Claude and Codex each independently apply specialized review skills
- a judge that deduplicates across both models, detects contradictions, and orders findings by dependency
- automated self-review integrated into agentic workflows
Status
The orchestrator handles the happy path and common failure modes:
- Stage timeouts with two-phase kill (SIGTERM then SIGKILL) prevent hung runs
- Automatic retry with exponential backoff handles transient failures
- Every stage emits a JSONL stdout event stream for diagnosis
- Partial reviewer failure still allows the judge to run on available data
- Failed stages surface stderr excerpts, validation errors, warnings, and stream log paths in the HTML report
Requirements
- Node.js 20+
pnpm10.30.3+claudeand/orcodexonPATH- a Git working tree to review
Install
npx @crown-dev-studios/review-council --target "staged changes" --open-htmlQuick Start
From the project root you want to review:
npx @crown-dev-studios/review-council \
--target "staged changes" \
--open-htmlThat's it. Claude + Codex review in parallel, Codex judge, HTML report opens in your browser. Output goes to docs/reviews/<run-id>/.
Main outputs:
judge/summary.mdjudge/verdict.jsonfollow-ups.mdbundle.jsonindex.html
CLI Options
--target <target> Review target label (required)
--run-dir <dir> Output directory for this run
--no-claude Skip Claude reviewer
--no-codex Skip Codex reviewer
--skip-judge Skip the judge stage
--skill-paths <paths> Comma-separated paths to skill directories
--open-html Open index.html after rendering (macOS)
--skip-html Skip HTML rendering
--timeout <ms> Stage timeout in ms (default: 300000)
--retries <n> Max retries per stage on failure (default: 2)Execution Contract
There are no command override or sentinel bypass flags. Review Council uses canonical built-in execution metadata for Claude, Codex, and the judge, and every executable stage still requires exit code 0 plus its expected artifacts plus done.json.
Operational Rules
- Built-in reviewer commands are non-interactive and emit JSONL to stdout.
- Keep reviewer artifacts inside the run directory.
- Selected skills are passed into reviewer prompts as additional review lenses for the run; the orchestrator does not inline local
SKILL.mdcontents. - Do not create authoritative files in
todos/during raw review. - If you reuse
workflows-review, run each reviewer in a separate worktree.
Failure Triage
If a run fails or stalls, inspect:
<run>/claude/status.json<run>/codex/status.json<run>/judge/status.json- each stage's
stream.jsonlandstderr.log
The status.json for each stage includes exit_code, timed_out, attempts, missing_artifacts, and validation_errors. Stages additionally record stream artifact paths, last_activity_at, last_event_type, stream_event_count, stream_parse_errors, and optional warnings.
If a stage exits 0 but does not write done.json, the stage is incomplete and the run should be treated as failed.
Publishing (maintainers)
Canonical release version lives in the VERSION file and must match version in package.json.
Prerequisites
npm login(or another auth methodpnpm publishcan use for the public registry)- A clean git working tree in this repository
- Git tag
vX.Y.Zpresent locally before deploy (created by the bump script or manually) - Permission to publish
@crown-dev-studios/review-councilon npm
Scripts (same idea as simple-auth)
| Step | Command |
|------|---------|
| Preflight only (build, test, pack dry-run) | pnpm run release:preflight or ./scripts/prepare-release.sh |
| Confirm VERSION ↔ package.json | pnpm run release:check-version or ./scripts/check-version.sh |
| Require local tag exists | ./scripts/check-version.sh --require-tag |
| Bump version, refresh lockfile, commit + tag (+ push) | pnpm run release:bump -- patch (or major / minor / 1.2.3) |
| Publish to npm | pnpm run release:deploy or ./scripts/deploy.sh |
Typical release
./scripts/bump-version.sh patch— updatesVERSION,package.json,pnpm-lock.yaml, commits, tagsv…, pushes (omit--no-push/--no-tagas needed)../scripts/check-version.sh --require-tag./scripts/deploy.sh --dry-run(optional)./scripts/deploy.sh— pushes branch + tag (unless--skip-git), runs install/build/test/verify, thenpnpm publish --access public.
Options: ./scripts/deploy.sh --dry-run (no push/publish), ./scripts/deploy.sh --skip-git (publish only; you already pushed).
Update package.json repository / homepage / bugs if the GitHub repo URL differs from @crown-dev-studios/review-council on GitHub.
