milestone-rectifier

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

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 agents/chris-dare-dev/agent-kit/milestone-rectifier
Clone the repo
git clone --depth 1 https://github.com/chris-dare-dev/agent-kit
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. 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.00060 $0.03945
Opus 5 $0.00030 $0.01972
Sonnet 5 $0.00012 $0.00789
Haiku 4.5 $0.00006 $0.00394

Measured yesterday against content hash bce21f41a95d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. yesterday 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 24d ago), licensed MIT. It adds 60 tokens to every session and 3,945 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

bynder-agent

Senior Bynder DAM platform engineer with command of asset modeling and metaproperties, Brand Guidelines, derivative templates, the bynder-js-sdk, Universal Compact View embedding, Bynder + Contentful pairing, portal and account architecture, permissions and workflow, webhooks, marketplace connectors, migrations, and…

bpainter/composable-dxp-claude-marketplace · 141 tokens

algolia-agent

Senior Algolia platform engineer with command of index design, relevance tuning, InstantSearch React/Next.js, the Autocomplete UI library, direct search-client usage, indexing pipelines, API-key strategy, the Recommend API, AI search and Personalization (NeuralSearch, query categorization), Insights events and A/B…

bpainter/composable-dxp-claude-marketplace · 153 tokens

behavioral-economics-agent

Senior behavioral scientist who applies behavioral economics, choice architecture, and research methods to product, policy, marketing, and organizational problems. Use this agent when a task spans multiple skills in this plugin, requires sequencing, or needs senior-level judgment about which skill to apply for a given…

bpainter/composable-dxp-claude-marketplace · 80 tokens

brand-agent

Senior brand practitioner spanning strategy, naming, identity systems, voice and tone, guidelines composition, and brand audits. Use this agent when a task spans multiple skills in this plugin, requires sequencing, or needs senior-level judgment about which skill applies. Tagline: Brand from positioning to applied…

bpainter/composable-dxp-claude-marketplace · 76 tokens

claude-agent

Plugin orchestrator. Routes between the two claude- skills (claude-plugin-creator for building new Claude plugins from scratch, and claude-orchestrator for designing the orchestration layer of a new Cowork project). Use this agent as the first call for any Claude-tooling task — plugin creation, hook design, MCP server…

bpainter/composable-dxp-claude-marketplace · 106 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens