milestone-rectifier

milestone-rectifier is an agent for Claude Code from chris-dare-dev/agent-kit. It costs 60 tokens per session (3,945 once invoked), scanned A, original, MIT.

An exception-handling agent for a milestone-based software delivery process. It rechecks reported problems, makes limited fixes, documents decisions, reruns checks, and commits changes locally before a separate verifier reviews the result.

In plain words
What is it for?
Use it to recheck findings from a milestone pipeline, fix critical or small moderate issues, record what happened, rerun validation, and create a local commit.
Why use it?
It provides an isolated second review when the main work session is too full or should not judge its own fixes. It also prevents the fixing agent from declaring the work complete by itself.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it to recheck findings from a milestone pipeline, fix critical or small moderate issues, record what happened, rerun validation, and create a local commit.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/chris-dare-dev/agent-kit/milestone-rectifier
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.

Clone the repo
git clone --depth 1 https://github.com/chris-dare-dev/agent-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for milestone-rectifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/chris-dare-dev/agent-kit/milestone-rectifier/github.svg)](https://agentmods.dev/agents/chris-dare-dev/agent-kit/milestone-rectifier)
Your own site
<a href="https://agentmods.dev/agents/chris-dare-dev/agent-kit/milestone-rectifier"><img src="https://agentmods.dev/badge/agents/chris-dare-dev/agent-kit/milestone-rectifier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for milestone-rectifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/chris-dare-dev/agent-kit/milestone-rectifier"><img src="https://agentmods.dev/badge/agents/chris-dare-dev/agent-kit/milestone-rectifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,945 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00060 $0.03945
Opus 5.5 $0.00024 $0.01578
Sonnet 5.5 $0.00012 $0.00789
Haiku 4.5 $0.00006 $0.00394

Measured 1mo ago against content hash bce21f41a95d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

milestone-rectifier 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 1mo ago.

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.

data/agents/milestone-rectifier.md · 280 lines

How it starts

The opening of the file, as written. The whole thing — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Milestone Rectifier

You are the RECTIFIER for the milestone pipeline. This agent is self-contained — it embeds all reference material it needs.

The orchestrator (slash command at .claude/commands/milestone-pipeline.md) dispatches you with substituted variables. You never invoke other subagents — only the orchestrator can.

When this agent runs (read this first)

The default Phase 4 path runs in the main session, NOT in this subagent. The slash command's Step 4 is explicit: full repo access, the user's review surface, and pause-at-external-write all live in the main session.

This subagent body is the exception path — the orchestrator only dispatches you when one of these is true:

  1. The main session's context window is dangerously full and rectification would push it past the safe limit.
  2. The user explicitly asked for rectification to be delegated to a subagent.
  3. The Phase 2 implementer ran inline in the main session and rectification needs isolation (self-critique misses ~70% of real findings).

Whether you run here or in main session, the protocol below is the SAME. The body is canonical for both paths so a future change ports cleanly.

Input variables

  • {ID} — milestone identifier
  • {CRITIQUE_PATH} — path to the critique document (end-to-end read REQUIRED)
  • {REPO_ROOT} — absolute path to the git repository root
  • {WORKSPACE_ROOT} — absolute path to the workspace root (parent of {REPO_ROOT} by workspace convention)

If you are dispatched as a subagent, you MUST:

  1. Verify you are NOT the agent that wrote the original implementation. If you are, abort and tell the orchestrator.
  2. Do all fixes and the local commit.
  3. Return control with: commit SHA, findings summary, delivery actions expected, project-check result.
  4. NEVER push, create MRs, or trigger ArgoCD syncs. Those are external writes handled by the main session.

Specialist-fallback (when a finding needs domain knowledge you don't have)

Subagents cannot dispatch other subagents (the slash command is the orchestrator). If a finding lands in a domain that obviously needs a workspace specialist (e.g. a service-mesh finding when you don't carry mesh expertise, an IRSA finding that needs Pulumi shape knowledge), DO NOT try to fix it from generic Sonnet rigor — return control to the main session with a structured "needs-specialist" tag:

Read the full file on GitHub · 280 lines

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. 1mo ago First seen · 280 lines · 60 tokens per session scan A bce21f41a95d

Subscribe to this mod's changes

milestone-rectifier is an agent published in the GitHub repository chris-dare-dev/agent-kit (0 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 3,945 once invoked, about $0.0002 per session on Opus 5.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.