/sdlc-graph:graph-run-reviewer [<run-id> | <path-to-state.json>] [--repo <path>] [--no-evals]from SDLC Graph
Reviews a finished or stuck sdlc-graph run by reading its state file, milestone journals, and traced states to diagnose what went wrong and write evals that catch it next time. Read-only — never fixes or resumes the run.
Ships in SDLC Graph. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn one run into one or more tests. A run that went wrong and produced no eval is a run whose lesson expires with the person who read it. This skill exists to stop that: it reads the artifacts a run leaves behind, works out what actually happened, and — for anything nothing would have caught — writes the check that catches it next time.
It is deliberately not a remediation tool. It never resumes the run, never fixes the code, never edits the state file. The retired monitor agent was trustworthy for exactly that reason, and it is the reason this can be pointed at a live run without changing its outcome.
BLOCKED and you want to know whether the graph or the orchestrator was at fault.DONE and something about it felt wrong.sdlc-graph itself — resume.code-quality-pipeline. This reviews the run, not the
diff it produced.docs/graph-runs/ empty means there is nothing to review; say so and stop.| Input | Required | Notes |
|---|---|---|
| run | no | A <run-id> or a path to a state.json. With neither, list what is under docs/graph-runs/ and ask which — never pick silently, because reviewing the wrong run produces findings that are true of nothing. |
--repo <path> | no | The repository the run drove, for the checks that need git. Defaults to the current directory. Without a resolvable repo, the git-backed checks report NOT RUN — never a pass. |
--no-evals | no | Report only; write no tests. For a first look. The default is to write them, because a review that produces no eval is the failure mode this skill exists to prevent. |
ls -1 docs/graph-runs/ # the run directories
ls -1 docs/graph-runs/<run-id>/ # state.json, journals/, and history/ when traced
State plainly which run you are reviewing, its status, its node, and whether it was traced. A
review of a run the user did not mean is worse than none.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/sdlc-graph/evals/audit/audit_run.py \
docs/graph-runs/<run-id>/state.json --repo .
audit_run.py already owns the mechanical half — history shape, bounds, ledger well-formedness,
guards quoted verbatim, secrets in observations, journals against the trail, commits against git,
and the trace sequence. Its findings are the review's first section, quoted as it reported them.
Read its NOT RUN lines as findings in their own right. NOT RUN means a check could not
evaluate, which is exactly the state a run can hide in: no --repo and the commit check says
nothing; no journals and R13 says nothing. Report each one and say what would make it runnable.
Writing your own version of any of these is the one thing that would make this skill worse than nothing — a second checker that disagrees with the first is how a run gets two verdicts.
Load checks/what-to-look-for.md and work through it. Those are
the classes that need judgement plus the artifacts side by side: prose that contradicts other prose,
a result too clean to be true, a legal transition that was still the wrong one.
Every finding needs an artifact citation — a history[] index, a journal line number, a
snapshot filename. A finding you cannot point at is a suspicion, and suspicions do not become tests.
| The graph told it to do that | Fix | |
|---|---|---|
| Spec defect | The orchestrator followed the contract and the contract was wrong — two files disagreed, a guard was unreachable, a rule was unsatisfiable. | The spec file, plus a check that the contradiction cannot come back. |
| Run defect | The contract was right and the run did not follow it. | Nothing to fix in the plugin unless nothing would have caught it — which makes it an eval gap too. |
| Eval gap | Nothing in evals/ would have failed on this. | The point of the whole exercise. Step 5. |
A finding is often two of these at once. Say so; do not force it into one.
| The defect is… | Write | Where |
|---|---|---|
| two spec files disagreeing | a check and its mutation control | evals/spec/spec_consistency.py + evals/spec/spec_controls.py |
| an illegal or wrong transition | a walk fixture, plus a planted violation in a negative control | evals/walks/fixtures/ |
| an orchestrator behaving wrong against a correct spec | a scenario, with its control block | evals/runs/scenarios/ |
| something only a real agent would do | a real-agent case | evals/real/tests/ |
| a hook that fired wrongly, or did not fire | a case in the hook's self-test | evals/hooks/ |
Read evals/EVAL-INSTRUCTIONS.md before writing
any of them. It carries the fixture format, the negative-control requirement, and the failure mode
that has bitten this suite more than any other: a check that matches its own explanatory prose and
therefore cannot fail.
Every eval you write is proved by breaking it. Run the suite, then re-run it against the defect the finding describes and confirm it goes red. An eval added without that step is an assertion that the defect is now covered, which is exactly the claim under review.
docs/code-review/graph-run-<run-id>-<DD>-<MM>-<YYYY>-review.md:
cd ${CLAUDE_PLUGIN_ROOT}/skills/sdlc-graph && python3 evals/run_all.py
Green, with your new checks in it. Then, for each one, the red run that proves it works.
state.json, not a journal, not history/. The run is evidence;
a reviewer that edits its evidence has no standing. If the run needs continuing, say so and stop —
that is sdlc-graph resume, and it is the user's call.audit_run.py. Run it, quote it, and add only what it cannot reach.checks/what-to-look-for.md — the taxonomy for step 3.../sdlc-graph/evals/EVAL-INSTRUCTIONS.md — what an eval owes, and how to write one.../sdlc-graph/graph/state.md — the schema every artifact is read against.../sdlc-graph/subagents/workflow-dispatch.md — the return gate R0–R15, for judging
whether a bundle should have been accepted.What SKILL.md sets; muted values are Claude Code's defaults
review this graph run, what went wrong in that run, audit the sdlc run, why did the run block, check the run history, review the graph run and add tests for what it found
Three short reads, in order
npx claudepluginhub ronmizrahi/ai-sdlc-graph --plugin sdlc-graph3 skills in this plugin
/onboardingProduce the sdlc-graph tooling checklist — walk the plugin's dependency roster, report tool by tool what this session can actually invoke and what it cannot, print the install line for each gap, and say what a run does without it. Every tool on that roster is third-party and optional: the graph requires git and nothing else, and every absence is recorded in `skipped_gates[]` while the run continues. Invoked at the start of every sdlc-graph run, and by a human any time the question comes up. Purely advisory — it installs nothing, gates nothing, and never stops or delays a run./sdlc-graphDrive a feature end to end through the full SDLC as an explicit guarded graph — spec, plan, branching strategy, then per milestone: implement, test, the two quality gates, PR, CI, merge — then close-out and an independent QA pass. Keeps typed run state in `docs/graph-runs/<run-id>/state.json` so a run survives context loss and resumes exactly where it stopped, enforces a bound on every retry loop, and records every gate that could not run instead of silently passing it. Invoke explicitly to start a run, resume one ("where were we?", "next milestone", "continue the run"), or report its status. This skill is never auto-triggered — running an entire SDLC is not something to enter on a description match.Other plugins' skills for the same job