agentleFS
fbmoulinfbmoulin/planloop/SKILL.md

plan-review-cycle

Skill1 starsChanged 7 months agoMITView on GitHub

Use when a written implementation plan, judicial draft plan, content plan, or any structured pre-execution document exists and needs independent verification before execution begins. Activates on user requests like "review the plan", "run a reviewer subagent", "verify this plan", "let's review before executing", "audit this plan", or "another review round". Especially required for large plans, plans with many constraints, plans involving AI-assisted judicial output subject to CNJ Resolução 615/2025 audit obligations, refactors touching multiple subsystems, AWS infrastructure changes, or any plan that will be executed by subagents. Always trigger this skill when the user mentions independent review, plan audit, plan verification, finding disposition, or wants to enforce a quality gate between plan-writing and execution. Do not use this skill for creating the initial plan, reviewing already-implemented code, or replacing the inline self-review inside writing-plans.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. ma-serra/claude-skillsj★ 0100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 25 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈25

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the plan and infer domain.

    line 10
  2. Very specific:

    Run scripts/validate_plan_review_log.py against the plan.

    line 15
  3. Distinctive:

    Ask whether to run another round, capped at three.

    line 16
  4. Distinctive:

    Use after a complete plan exists and before execution starts.

    line 29
  5. Distinctive:

    Do not use for:

    line 38
  6. Distinctive:

    If the spec path is missing, ask once before starting.

    line 52
  7. Distinctive:

    Ask whether to run another round: Use the recommendation rule below.

    line 84
  8. Distinctive:

    When dispatching, use the Task tool (general-purpose) with the appropriate reviewer prompt loaded as the prompt body.

    line 92
  9. Distinctive:

    Never leave template placeholder text like "[Verbatim from reviewer subagent output]" in a closed finding.

    line 154
  10. Distinctive:

    Every reviewer finding starts as Open.

    line 158
  11. Distinctive:

    Never silently discard a finding.

    line 166
  12. Very specific:

    Rule: when a finding is multi-section, the plan_changes_made field MUST contain an explicit checklist enumerating every section/file the …

    line 174
  13. Distinctive:

    If any box is unchecked at disposition time, the finding stays Open.

    line 185
  14. Distinctive:

    Do not allow severity downgrade without an independent rebuttal.

    line 217
  15. Distinctive:

    After findings are returned, present an overview ordered by severity, then walk findings one at a time using the didactic disposition …

    line 250
  16. Distinctive:

    Part 3 — Researched options (minimum 2, maximum 4): Before presenting options, follow the Research-before-recommend rule (next section).

    line 270
  17. Distinctive:

    Don't invent options ad-hoc — base them on real practice, citing sources when relevant

    line 274
  18. Distinctive:

    After the human responds with their choice, propose the concrete plan changes and confirm:

    line 304
  19. Distinctive:

    When a finding requires non-trivial technical judgment, you MUST research before presenting options.

    line 314
  20. Distinctive:

    When choosing between resolutions, prefer the simplest viable solution.

    line 335
  21. Distinctive:

    Prefer local edits over new abstractions: If a 3-line change resolves the issue, don't propose a helper function.

    line 337
  22. Distinctive:

    Prefer existing patterns over new ones: If the codebase has a pattern for X, use it before introducing pattern Y.

    line 338
  23. Distinctive:

    Flag when you are tempted to over-engineer: If your initial proposal involves creating ≥2 new files, new types, or new abstractions, ask …

    line 341
  24. Distinctive:

    After every round and before declaring the cycle complete, run:

    line 347
  25. Distinctive:

    Do not declare the cycle complete on validator non-zero.

    line 358
  26. Distinctive:

    Stop and fix if any of these occur:

    line 362
  27. Distinctive:

    Do not start execution until the human partner explicitly confirms and the validator has returned 0 on the most recent round.

    line 380

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plan Review Cycle

Quick Reference

  1. Read the plan and infer domain. Confirm reviewer prompt with the human.
  2. Dispatch a fresh reviewer subagent with the appropriate reviewer prompt and the existing Plan Review Log.
  3. Parse findings into round-scoped IDs. Append to the Plan Review Log inside the plan file.
  4. Present findings to the human one at a time, ordered by severity.
  5. For each finding, capture decision and rationale. Update the plan only after explicit approval.
  6. Run scripts/validate_plan_review_log.py against the plan. If it exits non-zero, fix what it reports.
  7. Ask whether to run another round, capped at three. Escalate if round three still produces Critical findings.
  8. Hand off to the next workflow step only after the validator passes.

Overview

Run an independent verification loop on a written plan before execution begins. Every reviewer finding closes as either a plan change or a documented no-change rationale, each approved explicitly by the human partner. The Plan Review Log inside the plan file is the durable audit trail; the validator script is the programmatic gate.

Core invariant: no finding disappears. It is either resolved by changing the plan or preserved with an explicit rationale recorded in the plan and approved by the human partner.

State at the start of the cycle: "Running plan-review-cycle on [plan path] with [reviewer prompt name and version]. Round [N]."

When to use

Use after a complete plan exists and before execution starts. The plan can be a writing-plans output, a hand-written spec, a judicial drafting plan (sentença, decisão, despacho), an architecture document, or a content plan.

Triggers:

  • The human asks for plan verification, independent review, another review round, or a reviewer subagent.
  • The plan involves AI-assisted judicial output and an audit trail is required.
  • The plan touches multiple subsystems, multiple constraints, or will be executed by subagents.
  • The plan is being submitted to a code review or to a publication process where independent verification is expected.

Do not use for:

  • Creating the initial plan (use writing-plans).
  • Reviewing implemented code (use requesting-code-review).
  • Debugging a failing implementation.
  • Replacing the inline self-review inside writing-plans.

Required inputs

  • Plan file path (required).
  • Spec, requirements, or design document path (recommended; ask if missing).
  • Any constraints, priorities, or non-goals the human wants the reviewer to respect.
  • Round number (the orchestrator infers; defaults to 1 if no Plan Review Log exists yet).

If the spec path is missing, ask once before starting. Proceed only if the human confirms running without the spec.

Domain selection

The skill ships three reviewer prompts in reviewers/:

  • code-plan-reviewer.md: software implementation plans, refactors, infrastructure changes.
  • judicial-plan-reviewer.md: judicial drafting plans (PT-BR, calibrated for CPC 489 and CNJ 615/2025).
  • generic-plan-reviewer.md: fallback for product, content, research, or other plans.

Infer the domain from the plan content. Indicators of code: file paths, function names, test commands, Tasks structured as "Create X / Modify Y / Test Z". Indicators of judicial: "fundamentação", "dispositivo", "tese", "CDC", "CPC", "STJ", references to processos, partes, magistrate. Otherwise generic.

Present the inferred selection to the human in one line and ask for confirmation or override. Do not proceed silently.

The cycle

  1. Dispatch a fresh reviewer subagent. Use Task with the chosen reviewer prompt from reviewers/. Fill the input slots: plan path, spec path, prior Plan Review Log (if any), round number, and any human-provided constraints. Never pass your own session history, internal reasoning, or "why I wrote this plan" framing.
  2. Receive the structured output. The reviewer returns a Status (Approved or Issues Found) and zero or more findings, each with severity, location, concern, why-it-matters, and a suggested resolution.
  3. If Status is Approved with no findings, skip to step 8.
  4. Convert each reviewer issue into a tracked finding. Assign round-scoped ID using the pattern R<N>-PRC<NNN> where N is the round number and NNN is the finding number within that round, three digits. Findings never share IDs across rounds.
  5. Append findings to the Plan Review Log at the end of the plan file, in the format specified in the schema section below.
  6. Present findings to the human partner. Use a checkbox list ordered by severity. Then walk through them one at a time. For each finding: state the concern and why-it-matters, ask the human's view before proposing anything, propose either a concrete plan change or a no-change rationale, ask for approval, update the plan only on explicit approval.
  7. Ensure every finding closes as either Resolved (with plan changes recorded) or No Plan Change (with rationale recorded). Both require human approval. Open findings carry over to the next round.
  8. Run the validator. Execute python scripts/validate_plan_review_log.py [plan path] via bash. Exit code 0 means the log is well-formed and no blocking findings are Open. Exit code 1 means blocking findings remain Open; address them. Exit code 2 means the log itself is malformed; fix the structural issue. Do not declare the cycle complete while the validator returns non-zero.
  9. Ask whether to run another round. Use the recommendation rule below. Cap at three rounds total. If round three still surfaces a Critical finding, do not run round four; instead surface the escalation message in step 11.
  10. If yes, repeat from step 1 with the round number incremented and the existing Plan Review Log passed to the new reviewer.
  11. If no, or if escalation is triggered, hand off. For escalation: "Round 3 surfaced new Critical findings. The plan keeps regenerating critical issues. Recommend returning to brainstorming or writing-plans rather than running another review round; the spec or scope may be wrong." For normal completion: ask whether to proceed to execution (using subagent-driven-development, executing-plans, or signing the judicial draft, as appropriate).

Reviewer dispatch template

When dispatching, use the Task tool (general-purpose) with the appropriate reviewer prompt loaded as the prompt body. Fill these slots:

[PLAN_PATH]: absolute path to the plan file
[SPEC_PATH]: absolute path to the spec file, or "not provided"
[PRIOR_LOG]: contents of the existing Plan Review Log section, or "none (round 1)"
[ROUND_NUMBER]: 1, 2, or 3
[HUMAN_CONSTRAINTS]: any constraints the human stated, or "none"

Context isolation rule: do not include your own session history, your reasoning about the plan, or any preamble defending the plan's correctness. The reviewer's value is independent judgment; pollution breaks that.

Plan Review Log schema

Append the log section near the end of the plan file, after implementation tasks and before any execution handoff notes. If the section already exists, append a new round block to it.

## Plan Review Log

### Review Round N

reviewer_model: claude-opus-4-7
reviewer_prompt: code-plan-reviewer@v0.1
date: YYYY-MM-DD
spec_reviewed: path/to/spec.md
plan_reviewed: path/to/plan.md
diverse_critics: false

#### Findings

##### Finding R<N>-PRC<NNN>: Short title

status: Open
severity: Critical
location: Task 4, Step 2

reviewer_concern: |
  [Verbatim from reviewer subagent output.]

why_it_matters: |
  [Concrete risk: implementation, legal, contractual, or other.]

decision: pending

plan_changes_made: |

no_change_rationale: |

human_approver:
approval_status: pending
approval_date:

After the human approves a disposition, update the same finding block in place: set status to Resolved or No Plan Change, fill decision, fill either plan_changes_made or no_change_rationale, fill human_approver with the human's identifier, set approval_status to Approved, fill approval_date with the actual date.

For the judicial variant, add two optional fields below approval_date:

cnj_615_relevance: alto_risco | baixo_risco | nao_aplicavel
contestabilidade_observada: true | false

Never leave template placeholder text like "[Verbatim from reviewer subagent output]" in a closed finding. The validator will reject it.

Finding disposition rules

Every reviewer finding starts as Open.

Resolved requires that the plan was changed. Record the exact sections or tasks changed and a one-sentence summary of each change. The validator verifies that plan_changes_made references existing parts of the plan.

No Plan Change requires that the plan was not changed. Record an explicit rationale: the existing plan is already sufficient, the issue is out of scope, the concern is intentionally deferred to a named later phase, or the matter is superseded by a specifically-named other task. Vague rationales like "we will handle this later" fail the validator. The rationale must name what supersedes, defers, or scopes-out the concern.

Open is the default. A finding stays Open across rounds if disposition is pending. Open findings whose severity is Critical, Major, or Minor block execution.

Never silently discard a finding. Never decide a finding is invalid without recording the reasoning and obtaining human approval. Never update the plan unless the human partner explicitly confirms the disposition.

Propagation checklist (mandatory for multi-section findings)

A finding is multi-section when its resolution requires edits in two or more of: distinct plan sections, the spec file, configuration files (.env.example, package.json, vitest.config.ts, etc.), CLAUDE.md, README, or any other file referenced by the plan.

Recurring failure mode observed in real use: orchestrator applies the edit to the main section, marks Resolved, and silently leaves dangling references in tables, acceptance criteria sections, env-var documentation, or the spec — only for the next round to flag the gap as a new "second-order" finding. The 4 findings R2-PRC002/004/005/008 of the pje-mcp SQLite plan eval are concrete examples: each was a R1 disposition that touched the main section but failed to propagate to §15 acceptance criteria, env.example, claude-spec.md, or npm run validate config.

Rule: when a finding is multi-section, the plan_changes_made field MUST contain an explicit checklist enumerating every section/file the resolution touches, with each item checked off. Format:

plan_changes_made: |
  Aplicada Opção X (one-line summary). Propagação verificada:
  - [x] §<main-section>: edit principal (one-line)
  - [x] §<related-section>: cross-reference atualizada (one-line)
  - [x] <other-file>: campo/linha Y adicionada (one-line)
  - [x] <config-file>: setting Z incluído (one-line)

If any box is unchecked at disposition time, the finding stays Open. The validator does not parse the checklist semantically (it accepts the prose), but the orchestrator commits to checking each item before flipping to Resolved.

Multi-section indicators

Auto-categorize as multi-section if any of the following is true:

  • Resolution adds a new env var, type alias, invariant, or pattern that needs to appear in multiple sections of the plan
  • Resolution promises edits in another section ("inserir em §15", "atualizar README", "spec amendment a refletir")
  • Resolution adds a new task or sub-task referenced elsewhere (e.g., new test file mentioned in §11 must appear in §15 acceptance criteria)
  • Resolution changes a public contract that has audit/spec/test surfaces
  • Resolution introduces a build step that requires updating both source and dist/test config

Single-section findings (typo in one paragraph, dead code in one function, missing field in one schema block) are NOT multi-section and do not require the checklist — direct one-line plan_changes_made suffices.

Auto-Resolved restriction

The "auto-Resolved nos óbvios + decide só os ambíguos" interaction mode (which the orchestrator may propose to accelerate disposition) MUST NOT be applied to multi-section findings. Multi-section findings require either:

  • Human walk-through with the propagation checklist surfaced explicitly, OR
  • Auto-Resolved IF and ONLY IF the orchestrator produces the full propagation checklist with every item checked, visible in chat before applying.

Mixing auto-Resolved into multi-section findings is the failure mode that creates propagation debt. The shortcut is fine for trivial findings; the discipline matters for transversal ones.

Severity semantics

SeverityBlocks execution while Open?Use for
CriticalYes, alwaysMissing required content, contradictions, unsafe paths, tasks that cannot be executed, omissões geradoras de nulidade
MajorYes, unless human explicitly accepts the risk in writingIssues likely to cause rework, incomplete behavior, or significant downstream cost
MinorYes, until closedWorth addressing or documenting; should not require large plan changes
AdvisoryNo, never blocksNon-blocking suggestions; record only if human wants them tracked

Do not allow severity downgrade without an independent rebuttal. If the human asks to reduce a Critical to Advisory, that decision becomes itself a No Plan Change finding requiring its own rationale and approval.

Diverse critics option

For plans flagged as high-stakes, run two reviewers in parallel with different role prompts and merge findings before disposition. Use this option when:

  • The plan involves judicial output in a CNJ 615/2025 alto-risco category.
  • The plan is a large refactor (more than five files or more than one subsystem).
  • The plan affects production infrastructure or paying customers.
  • The human partner requests diverse critics explicitly.

For judicial plans, the two roles are typically "magistrado garantista" and "magistrado conservador" (or "perspectiva da parte autora" and "perspectiva da parte ré"). For code plans, the two roles are typically "implementer focused on shipping correctly" and "architect focused on long-term cost." Define the role variation by prefacing the reviewer prompt with the role line.

Record diverse_critics: true in the round metadata. Merge findings by union (every concern from either reviewer becomes a finding); resolve ID collisions by appending suffix.

Bounded rounds and escalation

Maximum three rounds per cycle. Recommend another round when:

  • Round produced Critical or Major findings that caused substantial plan changes.
  • The plan structure changed significantly (new tasks, new files, new dependencies).
  • The human partner explicitly wants another round.

Recommend stopping when:

  • The round returned no findings or only Advisory.
  • Findings were closed as No Plan Change with clear documented rationale.
  • Plan changes were small and localized.

Escalation rule (mandatory): if round 3 produces a Critical finding, do not propose round 4. State explicitly: "Round 3 surfaced a Critical finding (R3-PRC###: [title]). Three rounds have not converged. Recommend returning to brainstorming or writing-plans to revisit the spec or scope rather than running another review round." Then stop.

Human partner interaction templates

After findings are returned, present an overview ordered by severity, then walk findings one at a time using the didactic disposition standard below.

Overview format

Review Round N found [count] issue(s):

- [ ] R<N>-PRC001 [Critical] [short title in plain language]
- [ ] R<N>-PRC002 [Major]    [short title in plain language]
- [ ] R<N>-PRC003 [Advisory] [short title in plain language]

Didactic disposition standard (mandatory for every finding)

Each finding presentation MUST have four parts in this order. The reviewer subagent produces technical output; you (the orchestrator) translate it into elucidative prose for the human. Inspired by the ADR (Architecture Decision Record) pattern used at Microsoft, AWS, and the adr.github.io community.

Part 1 — Plain-language explanation. Rewrite reviewer_concern in elucidative prose. Avoid jargon when possible; when unavoidable, explain it in 5-10 words. The reader may be a senior engineer or a non-engineer stakeholder — both must understand. Use analogy when it helps clarity.

Part 2 — Practical consequence. Rewrite why_it_matters in terms of concrete what-happens: hours of rework, production bug, regulatory exposure, customer impact. Don't write "violates contract"; write "implementer discovers mid-Task-4 and rebuilds the migration, ~1h lost". Anchor in observable cost.

Part 3 — Researched options (minimum 2, maximum 4). Before presenting options, follow the Research-before-recommend rule (next section). Each option includes:

  • Short name
  • One-sentence description
  • Main trade-off in plain language
  • Don't invent options ad-hoc — base them on real practice, citing sources when relevant

Part 4 — Recommendation with justification. You MUST explicitly recommend ONE of the options as best-fit for this case. Mark it (RECOMMENDED). Provide 1-2 sentences of justification anchored in: (a) simplicity (smallest viable solution), (b) alignment with decisions already made in the plan, or (c) fit with the project context the user has shared. Never present options without recommending — leaving the human to figure out the choice unaided defeats the purpose of having a reviewer.

AskUserQuestion formatting

Each option label MUST follow the pattern:

  • The RECOMMENDED option comes FIRST with (Recommended) suffix in the label
  • Then alternatives in order of decreasing fit
  • Then No Plan Change (defer with explicit rationale)
  • Then Reject (I re-propose) as escape hatch

The description field of each option carries the trade-off (one sentence). The recommendation justification goes in the chat text just before the AskUserQuestion call, not buried inside an option.

Example: PRC007 (encryption at rest) — didactic format

R1-PRC007 [Major] — Criptografia em repouso (SPEC §9) silently-violatable

O que está faltando (Parte 1): O SPEC §9 diz que dados sensíveis em repouso (banco SQLite + PDFs baixados) devem ser criptografados, com a chave fora do código. O plano não menciona criptografia em lugar nenhum — usa better-sqlite3 puro e gravação direta de PDFs em ./data/downloads/. É como instalar um cofre no escritório mas deixar a porta aberta.

Por que importa (Parte 2): Em ambiente de gabinete judicial com dados sigilosos reais, isso vira incidente material — se o laptop for roubado ou um backup leakar, autos sigilosos vão a público. CNJ 396/2021 (Política de Segurança Cibernética do Judiciário) trata isso como obrigação institucional. Sem essa correção, o plano entrega Fase 1 verde mas com dados sigilosos em texto claro no disco.

Opções pesquisadas (Parte 3): Pesquisei estado da arte 2026 em SQLite encryption para Node.js + CNJ 396/2021:

  • Opção A: SQLCipher técnico forte via better-sqlite3-multiple-ciphers (drop-in, +1 dep, key em env)
  • Opção B: Delegação ao SO (FileVault/LUKS/BitLocker) + ADR documentando
  • Opção C: Defer para Fase 4 (restringe uso real)
  • Opção D combinada: SQLCipher pro SQLite + ADR + script de check pros PDFs

Recomendação (Parte 4): Opção D combinada (RECOMENDADA). Justificativa: B sozinha quebra silenciosamente em backup/VM/container (false security); A sozinha não cobre PDFs em filesystem; C restringe demais o uso real do gabinete. D combina SQLCipher (defesa em profundidade na app) + script de check (defesa no FS) + ADR (decisão documentada). Custo extra é pequeno (~30min de plan edit + 1 dep + 1 script) e o ganho de segurança é estrutural, alinhando com CNJ 396/2021 sem ambiguidade.

After the human responds with their choice, propose the concrete plan changes and confirm:

Approve this disposition? (the RECOMMENDED option is pre-selected, but feel free to choose differently)

Mark the finding closed only after explicit approval.

Research-before-recommend rule

When a finding requires non-trivial technical judgment, you MUST research before presenting options. Don't invent alternatives from partial knowledge.

Criteria for "non-trivial":

  • Framework/library choice not obvious from context
  • Security/performance/UX trade-off with multiple defensible positions
  • Architectural pattern with multiple schools (e.g., transaction patterns, encryption, error handling)
  • Standard or API in flux (e.g., SQLite encryption ecosystem in 2026)
  • Anything where saying "I think the best is X" without evidence would be misleading

Research methods (in order of preference):

  1. WebSearch for current best practices, with year qualifier (e.g., "2026")
  2. Documentation reads for the specific library/framework
  3. GitHub repositories of canonical implementations
  4. Recent ADRs from other projects on the same topic (when public)

Cite sources in the recommendation justification when applicable. The human can verify your recommendation; without sources, recommendation is opinion.

Skip research when the finding is trivial: typo, missing field, vague acceptance criterion, dead code, renaming, formatting. Direct proposal is fine.

Anti-overengineering rule

When choosing between resolutions, prefer the simplest viable solution. Concretely:

  • Prefer local edits over new abstractions. If a 3-line change resolves the issue, don't propose a helper function.
  • Prefer existing patterns over new ones. If the codebase has a pattern for X, use it before introducing pattern Y.
  • Prefer 80% solution + documented gap over 100% solution + sprawl. If the simple version covers the spec MUST and the complex version adds robustness for hypothetical scenarios, recommend simple and note the 20%.
  • Account for reading cost, not just writing cost. A clever solution that takes 10min to understand later costs more than a verbose one that takes 1min.
  • Flag when you are tempted to over-engineer. If your initial proposal involves creating ≥2 new files, new types, or new abstractions, ask yourself: is the user's actual problem big enough to warrant this? Default to no.

Apply this anti-overengineering filter to YOUR recommendation in Part 4. The recommended option should be the smallest one that genuinely resolves the finding — not the most architecturally pure one.

Hard gate via validator

After every round and before declaring the cycle complete, run:

python scripts/validate_plan_review_log.py [plan_path]

Exit codes:

  • 0: log is well-formed, no blocking findings Open. Cycle may complete.
  • 1: blocking findings Open. List the offending IDs and return to disposition.
  • 2: log is malformed. Fix structural issues (missing fields, leftover template placeholders, malformed YAML).

Do not declare the cycle complete on validator non-zero. Do not propose execution while findings remain Open.

Red flags

Stop and fix if any of these occur:

  • A finding is discussed in chat but not recorded in the Plan Review Log.
  • A finding's status is set to Resolved without plan_changes_made filled.
  • A finding's status is set to No Plan Change without no_change_rationale filled and human_approver recorded.
  • The orchestrator decides a finding is invalid without human approval.
  • A review round repeats a finding already closed in a prior round (the reviewer should be instructed not to; if it does, surface it for human review rather than silently dropping).
  • Execution is proposed while the validator returns non-zero.
  • The Plan Review Log contains unresolved template placeholders or empty required fields.
  • A batch approval is requested (all findings approved in one action without per-finding interaction).
  • Round 3 produces a Critical finding and round 4 is proposed instead of escalation.

Handoff

On normal completion: ask the human whether to proceed to execution. For code plans, that typically means subagent-driven-development or executing-plans. For judicial plans, that typically means finalizing the draft for signing or for further internal review.

On escalation: state the escalation message and stop. Do not propose further rounds. Suggest returning to brainstorming or writing-plans.

Do not start execution until the human partner explicitly confirms and the validator has returned 0 on the most recent round.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.