post-execute-review

A required review after a sprint contract’s verification checks pass. It compares the completed work with the contract before files are staged or the work is reported as complete.

In plain words
What is it for?
Use it after execution and successful verification, before staging product files. It produces a review summary and leaves final approval to a human.
Why use it?
It adds a final quality and compliance check after automated verification. It prevents the workflow from treating passing tests alone as completion.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/david405/harness-kit/post-execute-review
Clone the repo
git clone --depth 1 https://github.com/David405/harness-kit
Per session 317 This file is loaded in full into every session.
When invoked 317 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00317 $0.00317
Opus 5 $0.00159 $0.00159
Sonnet 5 $0.00063 $0.00063
Haiku 4.5 $0.00032 $0.00032

Measured yesterday against content hash 67608cc8e6c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

post-execute-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/post-execute-review.mdc · 35 lines

What it actually says

Post-execute review

After a sprint contract is executed and VERIFY is green, run a harness review before staging product files or telling the human the work is complete.

Required order

CONTRACT (approved) → EXECUTE → VERIFY → REVIEW → stage → stop
  1. VERIFY — run the contract's verify commands; all must pass (or document skips with reason).
  2. REVIEW — read harness-review skill + templates/REVIEW.md; grade against the contract.
  3. Report — deliver the review summary to the human in chat (merge recommendation, findings). Do not paste harness review or contract compliance into the GitHub PR body.
  4. Stage — stage product files; set FEATURES.json to PENDING_REVIEW if not already.
  5. Stop — do not commit, push, or open a PR unless explicitly asked.

Not a substitute for human PASS

The executor runs review and sets PENDING_REVIEW. PASS is human-only after they approve merge.

When review can be skipped

  • Trivial one-line fixes with no contract (if AGENTS.md allows condensed work)
  • Human explicitly says "skip review" for this session

Otherwise: no staging, no "done" message without review.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 35 lines · 317 tokens per session scan A 67608cc8e6c8

Subscribe to this mod's changes

post-execute-review is a cursor rule published in the GitHub repository David405/harness-kit (2 stars, last pushed 3d ago), licensed Apache-2.0. It adds 317 tokens to every session, about $0.0016 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.