Thrunt-god thrunt-complete-milestone
Archive completed milestone and prepare for next version
install
source · Clone the upstream repo
git clone https://github.com/backbay-labs/thrunt-god
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/backbay-labs/thrunt-god "$T" && mkdir -p ~/.claude/skills && cp -r "$T/thrunt-god/examples/brute-force-to-persistence/.github/skills/thrunt-complete-milestone" ~/.claude/skills/backbay-labs-thrunt-god-thrunt-complete-milestone && rm -rf "$T"
manifest:
thrunt-god/examples/brute-force-to-persistence/.github/skills/thrunt-complete-milestone/SKILL.mdsource content
<objective>
Mark milestone {{version}} complete, archive to milestones/, and update HUNTMAP.md and HYPOTHESES.md.
Purpose: Create historical record of published version, archive milestone artifacts (huntmap + requirements), and prepare for next milestone. Output: Milestone archived (huntmap + requirements), MISSION.md evolved, git tagged. </objective>
<execution_context> Load these files NOW (before proceeding):
- @.github/thrunt-god/workflows/complete-milestone.md (main workflow)
- @.github/thrunt-god/templates/milestone-archive.md (archive template) </execution_context>
User input:
- Version: {{version}} (e.g., "1.0", "1.1", "2.0") </context>
Follow complete-milestone.md workflow:
-
Check for audit:
- Look for
.planning/v{{version}}-MILESTONE-AUDIT.md - If missing or stale: recommend
first/thrunt-audit-milestone - If audit status is
: recommendgaps_found
first/thrunt-plan-milestone-gaps - If audit status is
: proceed to step 1passed
## Pre-flight Check {If no v{{version}}-MILESTONE-AUDIT.md:} ⚠ No milestone audit found. Run `/thrunt-audit-milestone` first to verify requirements coverage, cross-phase integration, and E2E flows. {If audit has gaps:} ⚠ Milestone audit found gaps. Run `/thrunt-plan-milestone-gaps` to create phases that close the gaps, or proceed anyway to accept as tech debt. {If audit passed:} ✓ Milestone audit passed. Proceeding with completion. - Look for
-
Verify readiness:
- Check all phases in milestone have completed plans (SUMMARY.md exists)
- Present milestone scope and stats
- Wait for confirmation
-
Gather stats:
- Count phases, plans, tasks
- Calculate git range, file changes, LOC
- Extract timeline from git log
- Present summary, confirm
-
Extract accomplishments:
- Read all phase SUMMARY.md files in milestone range
- Extract 4-6 key accomplishments
- Present for approval
-
Archive milestone:
- Create
.planning/milestones/v{{version}}-HUNTMAP.md - Extract full phase details from HUNTMAP.md
- Fill milestone-archive.md template
- Update HUNTMAP.md to one-line summary with link
- Create
-
Archive requirements:
- Create
.planning/milestones/v{{version}}-HYPOTHESES.md - Mark all v1 requirements as complete (checkboxes checked)
- Note requirement outcomes (validated, adjusted, dropped)
- Delete
(fresh one created for next milestone).planning/HYPOTHESES.md
- Create
-
Update MISSION.md:
- Add "Current State" section with published version
- Add "Next Milestone Goals" section
- Archive previous content in
(if v1.1+)<details>
-
Commit and tag:
- Stage: MILESTONES.md, MISSION.md, HUNTMAP.md, STATE.md, archive files
- Commit:
chore: archive v{{version}} milestone - Tag:
git tag -a v{{version}} -m "[milestone summary]" - Ask about pushing tag
-
Offer next steps:
— start next milestone (questioning → research → requirements → huntmap)/hunt-new-program
<success_criteria>
- Milestone archived to
.planning/milestones/v{{version}}-HUNTMAP.md - Hypotheses archived to
.planning/milestones/v{{version}}-HYPOTHESES.md
deleted (fresh for next milestone).planning/HYPOTHESES.md- HUNTMAP.md collapsed to one-line entry
- MISSION.md updated with current state
- Git tag v{{version}} created
- Commit successful
- User knows next steps (including need for fresh requirements) </success_criteria>
<critical_rules>
- Load workflow first: Read complete-milestone.md before executing
- Verify completion: All phases must have SUMMARY.md files
- User confirmation: Wait for approval at verification gates
- Archive before deleting: Always create archive files before updating/deleting originals
- One-line summary: Collapsed milestone in HUNTMAP.md should be single line with link
- Context efficiency: Archive keeps HUNTMAP.md and HYPOTHESES.md constant size per milestone
- Fresh requirements: Next milestone starts with
which includes requirements definition </critical_rules>/hunt-new-program