ALM Reset
Delete all ALM learning data and reinitialize to first-run state.
Instructions
CRITICAL: Ask for Confirmation First
Before doing anything, ask the user:
Are you sure you want to reset ALM? This will delete all evaluations, playbooks, confidence scores, and the classifier model. This cannot be undone.
Wait for the user to explicitly confirm (e.g., "yes", "confirm", "do it"). If they say no or anything ambiguous, abort and output: [ALM] Reset cancelled.
Perform Reset
Only after explicit confirmation:
- •Delete all files in
~/.claude/alm/evaluations/(including thearchive/subdirectory if it exists) - •Delete all files in
~/.claude/alm/playbooks/ - •Delete all files in
~/.claude/alm/classifier/ - •Delete
~/.claude/alm/confidence.json - •Delete
~/.claude/alm/reflect-queue.json - •Delete
~/.claude/alm/config.json(if it exists)
Then reinitialize:
- •Recreate directory structure:
evaluations/,playbooks/,classifier/ - •Write fresh
~/.claude/alm/state.json:json{ "paused": false, "installDate": "{current ISO timestamp}Z", "evalCount": 0, "lastReflection": null, "firstRunComplete": false } - •Write empty
~/.claude/alm/confidence.json:{}
Report
Output: [ALM] Full reset complete. All learning data has been cleared. Seed playbooks will be used on next session.