Automatically detect project state and resume from where you left off. Works across all phases.
Resumes your Crucible project from where you left off by detecting current phase and state.
/plugin marketplace add forsonny/The-Crucible-Writing-System-For-Claude/plugin install crucible-suite@crucible-writing-systemResume your Crucible project from wherever you left off.
When presenting choices to the user, you MUST use the AskUserQuestion tool.
Would you like to:
A) Continue planning
B) Review premise
C) Start fresh
D) Something else
Use the AskUserQuestion tool with this format:
{
"questions": [
{
"header": "Continue",
"question": "How would you like to proceed?",
"options": [
{"label": "Continue planning", "description": "Resume from current position"},
{"label": "Review premise", "description": "Check the premise before continuing"},
{"label": "Start fresh", "description": "Begin planning with a new premise"},
{"label": "Something else", "description": "Do something different"}
],
"multiSelect": false
}
]
}
.crucible/state/planning-state.json - Planning progress.crucible/state/outline-state.json - Outlining progress.crucible/state/draft-state.json - Writing progress.crucible/state/edit-state.json - Editing progressPlanning has TWO phases that must BOTH be complete:
progress.documents_completecompile_documents.pyTo verify planning is truly complete, check for actual files:
# Check if planning documents were generated
ls <project_path>/planning/crucible-thesis.md
If Q&A is done (9/9 docs) but crucible-thesis.md does NOT exist:
python <plugin_path>/skills/crucible-planner/scripts/compile_documents.py "<project_path>"
Only report "Planning COMPLETE" if:
progress.documents_complete contains all 9 documents ANDplanning/crucible-thesis.md existsUse AskUserQuestion with these options:
When resuming a planning session, load and display the saved answers so the user knows their progress was preserved.
Step 1: Load State Read the planning state file to get saved answers and progress (check new location first, then legacy):
# New location (preferred)
cat <project_path>/.crucible/state/planning-state.json
# Legacy location (fallback)
cat <project_path>/state.json
Step 2: Display Progress Show the user what has been answered:
Resuming your planning session...
**Progress:** Document [X] of 9, Question [Y]
**Questions Answered:** [N] of ~75
**Previously saved answers:**
- Burden: [saved value]
- Fire: [saved value]
- Core Bond: [saved value]
...
Step 3: Reference Previous Answers When continuing questions, reference the saved answers to maintain coherence:
Step 4: Resume at Correct Position
Use the progress.current_document and progress.current_question to start from exactly where the user left off.
Example Resume Message:
Resuming planning session for "[Project Title]"
Progress: Document 3 (Fire Strand) - Question 4 of 7
Total answered: 23 of ~75 questions
Your story so far:
- Burden: Physical object of power (an ancient artifact)
- Fire: Magical ability that corrupts with use
- Core Bond: Sworn friendship (battle-brother)
- [...]
Continuing with Fire Strand questions...
This ensures users see their work was saved and can pick up exactly where they stopped.
Use AskUserQuestion with these options:
Use AskUserQuestion with these options:
Use AskUserQuestion with these options:
Requires an existing Crucible project with state files.