agentleFS
anhnguyen0905anhnguyen0905/codex-mcp/skills/review-feedback/SKILL.md

review-feedback

Skill4 starsChanged 8 days agoMITView on GitHub

Review verdict process — severity levels, the codex_continue feedback format that gets findings fixed in one round, and the 3-round escalation rule.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every codex_execute/codex_continue/codex_review result carries schemaVersion: 1 and a status field:

    line 12
  2. Very specific:

    Treat IMP-n items from review-dual as suggestions, not findings.

    line 35
  3. Very specific:

    Never let them gate task completion or receive their own codex_continue round.

    line 36
  4. Very specific:

    Every codex_continue round records exactly one cause label from scripts/harness-taxonomy.mjs (spec-ambiguous, plan-wrong, context-missing, …

    line 56
  5. Distinctive:

    Never fix Codex's code yourself during rounds 1–3 — parallel edits desync the Codex session's view of the workspace.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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

Review Feedback Process

Helpers: required — harness-taxonomy.mjs (helper rule: missing/non-zero → STOP).

Run status gate (before reviewing content)

Every codex_execute/codex_continue/codex_review result carries schemaVersion: 1 and a status field:

  • success — completion marker seen, event stream parsed cleanly: review normally.
  • partial (isError false) — the stream ended without a completion marker or had parse errors: treat Codex's output as suspect. Verify from the diff field and by running the acceptance checks yourself; prefer re-running via codex_continue over reviewing an incomplete result.
  • failed / aborted (isError true) — do not review; handle as a failed run (report to the user, ask before retrying).

unknownEvents and outputTruncated are informational only — they never downgrade status.

Severity levels

LevelMeaningAction
CRITICALSecurity vulnerability, data loss, breaks existing behaviorBlock — must fix this round
HIGHBug, unmet acceptance criterion, missing/false testsFix before task is done
MEDIUMMaintainability concern, convention violationFix if the round is cheap; else note
LOWStyle/naming preferenceMention once; never spend a round on it alone

Improvements are non-blocking

Treat IMP-n items from review-dual as suggestions, not findings. Never let them gate task completion or receive their own codex_continue round. Append per-task items to .codex-flow/IMPROVEMENTS.md. Execute them only after user approval at the review-dual improvement decision gate.

Feedback format for codex_continue

Numbered, concrete, self-contained — Codex sees only what you send, not your reasoning:

Review findings to fix (address ALL, re-run the targeted tests for the touched files, do not change anything else):
1. [HIGH] src/api/users.ts:42 — `getUser` returns 200 with null body when the ID doesn't exist;
   acceptance criterion 2 requires 404. Fix the handler and add a test for the missing-ID case.
2. [MEDIUM] src/api/users.ts:15 — validation duplicates `validateId` from src/lib/validate.ts; use it.

Rules: exact file:line · observed vs expected behavior · which criterion/standard it violates · what "fixed" looks like. Group by file. Send CRITICAL/HIGH always; MEDIUM/LOW piggyback only on a round already being sent for CRITICAL/HIGH; otherwise record them in .codex-flow/IMPROVEMENTS.md.

Round discipline

  • Re-review after every round: pass the same verifyCommand on the codex_continue so acceptance re-runs mechanically, read accepted/verification from the fix-round result, verify each finding is actually fixed, and check nothing new broke — diff the diff.
  • Every codex_continue round records exactly one cause label from scripts/harness-taxonomy.mjs (spec-ambiguous, plan-wrong, context-missing, skill-gap, executor-error, verifier-gap, infra) in the task's reviews.md section.
  • Max 3 rounds per task. Persisting findings after 3 rounds → stop sending to Codex; tell the user, then either fix by hand (flagging it) or re-plan the task.
  • Never fix Codex's code yourself during rounds 1–3 — parallel edits desync the Codex session's view of the workspace.
  • Clean review → proceed to the Phase 5 step 7 durable handoff, where done is the last write; state what was verified (verification passed, criteria met) — not just "looks good".

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.