$npx -y skills add NeoLabHQ/context-engineering-kit --skill resetReset the FPF reasoning cycle to start fresh
| 1 | # Reset Cycle |
| 2 | |
| 3 | Reset the FPF reasoning cycle to start fresh. |
| 4 | |
| 5 | ## Action (Run-Time) |
| 6 | |
| 7 | ### Option 1: Soft Reset (Archive Current Session) |
| 8 | |
| 9 | Create a session archive and clear active work: |
| 10 | |
| 11 | 1. **Create Session Archive** |
| 12 | |
| 13 | Create a file in `.fpf/sessions/` to record the completed/abandoned session: |
| 14 | |
| 15 | ```markdown |
| 16 | # In .fpf/sessions/session-2025-01-15-reset.md |
| 17 | --- |
| 18 | id: session-2025-01-15-reset |
| 19 | action: reset |
| 20 | created: 2025-01-15T16:00:00Z |
| 21 | reason: user_requested |
| 22 | --- |
| 23 | |
| 24 | # Session Archive: 2025-01-15 |
| 25 | |
| 26 | **Reset Reason**: User requested fresh start |
| 27 | |
| 28 | ## State at Reset |
| 29 | |
| 30 | ### Hypotheses |
| 31 | - L0: 2 (proposed) |
| 32 | - L1: 1 (verified) |
| 33 | - L2: 0 (validated) |
| 34 | - Invalid: 1 (rejected) |
| 35 | |
| 36 | ### Files Archived |
| 37 | - .fpf/knowledge/L0/hypothesis-a.md |
| 38 | - .fpf/knowledge/L0/hypothesis-b.md |
| 39 | - .fpf/knowledge/L1/hypothesis-c.md |
| 40 | |
| 41 | ### Decision Status |
| 42 | No decision was finalized. |
| 43 | |
| 44 | ## Notes |
| 45 | |
| 46 | Session ended without decision. Hypotheses preserved for potential future reference. |
| 47 | ``` |
| 48 | |
| 49 | 2. **Move Active Work to Archive** (Optional) |
| 50 | |
| 51 | If user wants to clear the knowledge directories: |
| 52 | |
| 53 | ```bash |
| 54 | mkdir -p .fpf/archive/session-2025-01-15 |
| 55 | mv .fpf/knowledge/L0/*.md .fpf/archive/session-2025-01-15/ 2>/dev/null || true |
| 56 | mv .fpf/knowledge/L1/*.md .fpf/archive/session-2025-01-15/ 2>/dev/null || true |
| 57 | mv .fpf/knowledge/L2/*.md .fpf/archive/session-2025-01-15/ 2>/dev/null || true |
| 58 | ``` |
| 59 | |
| 60 | 3. **Report to User** |
| 61 | |
| 62 | ```markdown |
| 63 | ## Reset Complete |
| 64 | |
| 65 | Session archived to: .fpf/sessions/session-2025-01-15-reset.md |
| 66 | |
| 67 | Current state: |
| 68 | - L0: 0 hypotheses |
| 69 | - L1: 0 hypotheses |
| 70 | - L2: 0 hypotheses |
| 71 | |
| 72 | Ready for new reasoning cycle. Run `/fpf:propose-hypotheses` to start. |
| 73 | ``` |
| 74 | |
| 75 | ### Option 2: Hard Reset (Delete All) |
| 76 | |
| 77 | **WARNING**: This permanently deletes all FPF data. |
| 78 | |
| 79 | ```bash |
| 80 | rm -rf .fpf/knowledge/L0/*.md |
| 81 | rm -rf .fpf/knowledge/L1/*.md |
| 82 | rm -rf .fpf/knowledge/L2/*.md |
| 83 | rm -rf .fpf/knowledge/invalid/*.md |
| 84 | rm -rf .fpf/evidence/*.md |
| 85 | rm -rf .fpf/decisions/*.md |
| 86 | ``` |
| 87 | |
| 88 | Only do this if explicitly requested by user. |
| 89 | |
| 90 | ### Option 3: Decision Reset (Keep Knowledge) |
| 91 | |
| 92 | If user wants to re-evaluate existing hypotheses: |
| 93 | |
| 94 | 1. Move L2 hypotheses back to L1 (re-audit) |
| 95 | 2. Or move L1 hypotheses back to L0 (re-verify) |
| 96 | |
| 97 | ```bash |
| 98 | # Re-audit: L2 -> L1 |
| 99 | mv .fpf/knowledge/L2/*.md .fpf/knowledge/L1/ |
| 100 | |
| 101 | # Re-verify: L1 -> L0 |
| 102 | mv .fpf/knowledge/L1/*.md .fpf/knowledge/L0/ |
| 103 | ``` |