milestone-runner
Milestone Runner
Recommended invocation: Use $milestone-runner to complete <outcome, constraints, and verification criteria>.
Keep this package standalone. Do not invoke or require another skill. Use only native Codex goal tools, ordinary repository tools, an available native read-only reviewer, and this package's bundled state helper.
Read state-contract.md before creating or changing durable goal state. Read goal-state-cli.md when constructing commands, handling a failure, or diagnosing recovery.
Establish the durable plan
-
Inspect the applicable repository instructions, current implementation, tests, working-tree status, and any user-provided specification.
-
Resolve only ambiguity that would materially change scope, safety, architecture, or verification. Do not create state while the accepted outcome is still unclear.
-
Convert the accepted outcome into a small ordered list of independently verifiable goals. Every goal must include an objective, acceptance criteria, and concrete verification methods.
-
Select a stable kebab-case slug. Store state only under
.agent-workflows/goals/<slug>/in the target repository. Do not use.codex/for mutable workflow data and do not create a state directory for workflows that do not need durable state. -
Prepare the initialization JSON described in the state contract and run:
python3 <skill-dir>/scripts/goal_state.py --repo-root <repo> init --slug <slug> --spec <spec.json>