Belmont: Reset
You are resetting the belmont state directory so the user can start a new planning session from scratch.
CRITICAL RULES
- NEVER clear files without explicit user confirmation.
- ONLY modify files in the
.belmont/directory. - Do NOT touch
.agents/, source code, or any other files.
Step 1: Read Current State
Read the following files (if they exist) and collect a summary:
.belmont/PR_FAQ.md— Check if it exists and has real content.belmont/PRD.md— Extract the product/feature name, check if it's a master feature catalog.belmont/TECH_PLAN.md— Check if it exists and has content (master tech plan).belmont/NOTES.md— Check if global notes exist.belmont/features/— Scan for feature subdirectories. For each, read its PRD.md for name and PROGRESS.md for task counts.
Optional helper:
- If the CLI is available,
belmont status --format jsoncan provide a quick task/milestone summary. Still check for MILESTONE files, TECH_PLAN, PR_FAQ, and features/ existence.
If .belmont/ does not exist or contains only empty templates and no features, tell the user there is nothing to reset and stop.
Step 2: Present Options
Present a clear summary and options:
WARNING — Reset Belmont State
========================
Product: [product name from master PRD]
PR/FAQ: [Has content / Empty]
Master PRD: [Has content / Empty]
Master Tech: [Exists / Does not exist]
Global Notes: [Exists / Does not exist]
Features:
[slug] [feature name] — [X] tasks ([Y] complete)
[slug] [feature name] — [X] tasks ([Y] complete)
...
Options:
[1] Reset a specific feature (delete its directory contents, preserve masters)
[2] Reset ALL features (clear all feature dirs, preserve masters)
[3] Full reset (everything, including masters and PR_FAQ)
[c] Cancel
WARNING: This cannot be undone.
Wait for the user's response. Do NOT proceed until you receive a reply.
Step 3: Handle Response
Option 1 — Reset specific feature:
- Ask which feature to reset (by slug or number)
- Delete all files in
.belmont/features/<slug>/(PRD.md, PROGRESS.md, TECH_PLAN.md, NOTES.md, MILESTONE.md, MILESTONE-*.done.md) - Remove the feature directory
- Update the master PRD features table to remove/mark the feature
- Report what was reset
Option 2 — Reset ALL features:
- Delete all subdirectories under
.belmont/features/ - Reset
.belmont/PRD.mdto the master template (keep product name, clear features table) - Delete
.belmont/TECH_PLAN.md(master tech plan) - Delete any root-level MILESTONE files
- Preserve
.belmont/PR_FAQ.md - Report what was reset
Option 3 — Full reset:
- Delete all subdirectories under
.belmont/features/ - Reset
.belmont/PR_FAQ.mdto template text:"Run /belmont:working-backwards to create your PR/FAQ document.\n" - Reset
.belmont/PRD.mdto template text:"Run the /belmont:product-plan skill to create a plan for your feature.\n" - Delete
.belmont/TECH_PLAN.md - Delete
.belmont/MILESTONE.md(if exists at root) - Delete all
.belmont/MILESTONE-*.done.md(if any exist at root) - Delete
.belmont/NOTES.md(if exists) - Report what was reset
Option c — Cancel:
Report: Cancelled. No files were changed.
Important Rules
- Always show the summary BEFORE asking for confirmation
- Never proceed without an explicit confirmation from the user
- Respect the user's choice of scope (single feature, all features, or full)
- After clearing, prompt the user toward
/belmont:working-backwardsor/belmont:product-plan