moveros 4.0.8 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/install.js +4 -2
  2. package/package.json +1 -1
  3. package/src/hooks/context-staleness.sh +46 -46
  4. package/src/hooks/dirty-tree-guard.sh +33 -33
  5. package/src/hooks/engine-protection.sh +43 -43
  6. package/src/hooks/git-safety.sh +47 -47
  7. package/src/hooks/pre-compact-backup.sh +177 -177
  8. package/src/hooks/session-log-reminder.sh +135 -73
  9. package/src/skills/systematic-debugging/CREATION-LOG.md +119 -119
  10. package/src/skills/systematic-debugging/SKILL.md +296 -296
  11. package/src/skills/systematic-debugging/condition-based-waiting-example.ts +158 -158
  12. package/src/skills/systematic-debugging/condition-based-waiting.md +115 -115
  13. package/src/skills/systematic-debugging/defense-in-depth.md +122 -122
  14. package/src/skills/systematic-debugging/find-polluter.sh +63 -63
  15. package/src/skills/systematic-debugging/root-cause-tracing.md +169 -169
  16. package/src/skills/systematic-debugging/test-academic.md +14 -14
  17. package/src/skills/systematic-debugging/test-pressure-1.md +58 -58
  18. package/src/skills/systematic-debugging/test-pressure-2.md +68 -68
  19. package/src/skills/systematic-debugging/test-pressure-3.md +69 -69
  20. package/src/structure/01_Projects/_Template Project/plan.md +55 -55
  21. package/src/structure/01_Projects/_Template Project/project_brief.md +45 -45
  22. package/src/structure/02_Areas/Engine/Active_Context.md +146 -146
  23. package/src/structure/02_Areas/Engine/Auto_Learnings.md +36 -36
  24. package/src/structure/02_Areas/Engine/Daily_Template.md +133 -133
  25. package/src/structure/02_Areas/Engine/Identity_Prime_template.md +86 -86
  26. package/src/structure/02_Areas/Engine/Mover_Dossier.md +120 -120
  27. package/src/structure/02_Areas/Engine/Strategy_template.md +65 -65
  28. package/src/structure/03_Library/SOPs/Tech_Stack.md +55 -55
  29. package/src/structure/03_Library/SOPs/Zone_Operating.md +57 -57
  30. package/src/system/V4_CONTEXT.md +262 -262
  31. package/src/theme/minimal-theme.css +271 -271
  32. package/src/workflows/analyse-day.md +401 -401
  33. package/src/workflows/debug-resistance.md +180 -180
  34. package/src/workflows/harvest.md +239 -239
  35. package/src/workflows/ignite.md +720 -720
  36. package/src/workflows/init-plan.md +16 -16
  37. package/src/workflows/morning.md +222 -222
  38. package/src/workflows/overview.md +203 -203
  39. package/src/workflows/pivot-strategy.md +218 -218
  40. package/src/workflows/plan-tomorrow.md +308 -308
  41. package/src/workflows/primer.md +207 -207
  42. package/src/workflows/reboot.md +201 -201
  43. package/src/workflows/refactor-plan.md +135 -135
  44. package/src/workflows/review-week.md +558 -558
  45. package/src/workflows/setup.md +388 -388
  46. package/src/workflows/update.md +10 -13
  47. package/src/workflows/walkthrough.md +523 -523
@@ -1,207 +1,207 @@
1
- ---
2
- description: Quick primer to start a work session. Read Identity, set Single Test, check energy. Works anytime, not just mornings.
3
- ---
4
-
5
- # Session Primer (V4)
6
-
7
- **Trigger:** User runs `/morning`
8
- **Role:** Session Coach.
9
- **Task:** Prime the user for focused execution. Reconnect with identity and strategy.
10
- **Risk Tier:** LOW
11
- **Duration:** 5 minutes.
12
-
13
- ---
14
-
15
- ## 0. PRE-FLIGHT
16
-
17
- Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
18
-
19
- LOAD (Light — Active_Context is the cache):
20
- 1. Active_Context.md (has Identity Snapshot S5, Active Patterns S5.5, Strategic Verdict S1, Active Sessions S6)
21
- 2. Today's Daily Note (if exists)
22
- NOTE: Identity Snapshot in Active_Context S5 provides Archetype, Core Drive, Anti-Identity, and Ritual for the morning prime. Active Patterns S5.5 provides pattern alerts. Strategic Verdict S1 provides the Primary Metric for Single Test. If Active_Context is stale (>2 days), flag it and suggest /analyse-day first.
23
-
24
- CONSTRAINTS:
25
- - Keep this fast: 5 minutes max
26
- - Grounded in Identity and Strategy files
27
- - No lengthy analysis (save that for /analyse-day)
28
-
29
- ---
30
-
31
- ## 1. IDENTITY VISCERALIZATION
32
-
33
- Read Identity_Prime.md. Display:
34
- - Core Identity section
35
- - The Code (Non-Negotiables)
36
- - Daily Affirmations (if they exist)
37
-
38
- "Take 30 seconds. Close your eyes. Visualize becoming this person today."
39
-
40
- **The Subconscious Prime:**
41
- - Read the Anti-Identity section. These are the autopilot behaviors to reject today.
42
- - If today's plan exists: select top 2 Anti-Identity triggers relevant to the plan. Cite: [Daily Note].
43
- - If no plan exists: pick the 2 most recently triggered from Auto_Learnings.md. Cite: [Auto_Learnings.md].
44
- - "Today, watch for: [top 2 Anti-Identity triggers]."
45
- - "The person you're becoming would [specific behavior aligned with today's tasks]. Act as that person first."
46
- - Keep this to 2-3 sentences. Not a lecture — a calibration.
47
-
48
- ---
49
-
50
- ## 2. CONTEXT CHECK
51
-
52
- Read Active_Context.md and today's Daily Note.
53
-
54
- **System maturity:** If `setup_date` exists in Workflow State, calculate days since setup. If first week: "Day [N] of Mover OS. This week is about building data — run /log and /analyse-day daily. The system learns from your patterns."
55
-
56
- Summarize: "Here's where you are: [Current Project], [Current Phase], [Main Blocker]."
57
-
58
- If Active_Context is stale (>3 days): "Your context is [X] days old. Consider running `/reboot` if you've been away, or update after this session."
59
-
60
- ---
61
-
62
- ## 2.5 PROJECT PORTFOLIO (Quick Health Scan)
63
-
64
- Scan `{VAULT_ROOT}/01_Projects/` for all project folders. For each, check:
65
- - Does `plan.md` exist? When was it last modified?
66
- - Does `project_state.md` exist? Read `## SYSTEM STATE` last entry date if available.
67
- - Any `[x]` vs `[ ]` ratio in plan.md? (Quick completion health check)
68
-
69
- Classify each project using the Staleness Scale [Mover_Global_Rules.md: S19]:
70
- - 0-3 days: Active
71
- - 3-7 days: Stale
72
- - 8-14 days: Cooling
73
- - 15-30 days: Cold
74
- - 30+: Frozen
75
-
76
- Output a one-line summary per project:
77
- ```
78
- Projects: [Name] (Active) | [Name] (Stale - 5d) | [Name] (Cold - 18d)
79
- ```
80
-
81
- If any project is Cooling or worse: "Project [Name] hasn't been touched in [X] days. Intentional pause or drift?"
82
-
83
- Keep this under 30 seconds. Use file modification dates, not full reads. Delegate to a haiku subagent if 5+ projects exist.
84
-
85
- ---
86
-
87
- ## 2.7 PLAN ALIGNMENT CHECK (Escalating Friction — Level 1)
88
-
89
- If today's Daily Note exists:
90
- 1. Read `## Focus` section. Check for **Sacrifice** line (things explicitly banned today).
91
- 2. Read `## Tasks` section. What's Priority 1? What's the Single Test?
92
- 3. If the user's first request in this session conflicts with the Sacrifice or bypasses Priority 1:
93
- - **Level 1:** "Your plan for today says: [Single Test]. It also bans: [Sacrifice item]. You're asking me to work on [request]. Intentional override or did you forget?"
94
- - If user overrides: **Level 2:** "Why is this more important than [Single Test]? One sentence."
95
- - If user gives a reason: **Level 3:** "Logged. 30 minutes on this, then we return to [Priority 1]. Deal?"
96
- - Log in Session Log: `[OVERRIDE] User chose [X] over [plan item]. Reason: "[reason]"`
97
- 4. If no conflict: proceed normally. Don't create friction where there isn't any.
98
-
99
- This check fires ONCE at session start, not repeatedly. The user is an adult — one conscious decision is enough.
100
-
101
- ---
102
-
103
- ## 3. LIBRARY PRIMER (Quick)
104
-
105
- If today's Daily Note exists AND has tasks involving coding, debugging, or building:
106
- 1. Scan `03_Library/Cheatsheets/` for entries relevant to today's task domain
107
- 2. Scan `03_Library/Principles/` for applicable decision patterns
108
- 3. If relevant entries found: "From your Library: [1-2 sentence summary]. [[Link]]"
109
- 4. If nothing relevant: skip silently
110
-
111
- If today's Daily Note does not exist yet: skip Step 3 entirely. [No Daily Note for today — Step 3 skipped.]
112
-
113
- Keep this under 30 seconds. Don't read every file — scan directory names and headers only.
114
-
115
- ---
116
-
117
- ## 4. THE SINGLE TEST
118
-
119
- From Strategy.md: What's the Primary Metric right now?
120
- If no Primary Metric found in Strategy.md: "Your Strategy has no Primary Metric defined — this should be added during `/analyse-day` or `/review-week`." Skip Single Test derivation.
121
-
122
- "What is the ONE thing that, if you complete today, makes today a win?"
123
- (If Daily Note exists with a Single Test already defined, remind them of it.)
124
-
125
- ---
126
-
127
- ## 5. ENERGY CHECK
128
-
129
- "How's your energy right now? (1-10)"
130
- - If < 5: "Start with a low-friction task to build momentum. Stack small wins."
131
- - If >= 5: "Attack The Frog first. Hardest task while energy is highest."
132
- - If >= 8: "Peak state. Do the creative/strategic work now. Save admin for later."
133
- - If Auto_Learnings shows a pattern of crashes at a specific time today: "Heads up — you tend to crash around [time] based on past data. Front-load the hard work."
134
- - If yesterday's Daily Note shows low energy but user reports high today: acknowledge the recovery, don't question it. Momentum matters.
135
-
136
- ---
137
-
138
- ## 6. PATTERN CHECK
139
-
140
- Quick scan of Auto_Learnings.md for active patterns relevant to this time of day.
141
- If relevant pattern found: surface it briefly. "Reminder: [Pattern] (Conf: [X])."
142
-
143
- **Pattern → Workflow Routing** [Mover_Global_Rules.md: S12]:
144
- If any pattern has Confidence 3+ AND is actionable right now, suggest the specific workflow:
145
- - Avoidance/resistance pattern active → "Pattern says you avoid [X]. Run `/debug-resistance` before starting?"
146
- - Strategy misalignment → "Pattern shows drift from Strategy. Consider `/pivot-strategy` or address in `/analyse-day`."
147
- - Energy pattern → Build it into Step 5 energy advice (already done above).
148
- - Scope creep → "Pattern: scope creep. Stay on plan.md today. Run `/overview` if the plan feels stale."
149
-
150
- One suggestion max. Don't overload the primer.
151
-
152
- ---
153
-
154
- ## 7. THE LAUNCH
155
-
156
- "Your Identity is loaded. Your Single Test is set. Go win this session."
157
-
158
- ---
159
-
160
- ## 8. SELF-VERIFICATION (CISC)
161
-
162
- Before outputting, self-check:
163
- 1. All claims grounded in Identity_Prime.md, Strategy.md, and Active_Context.md? (90%+ accuracy)
164
- 2. Session kept under 5 minutes (no lengthy analysis)?
165
- 3. No banned phrases in output?
166
- 4. Pattern surfacing grounded in Auto_Learnings.md?
167
-
168
- If any section < 90% confident: flag it explicitly.
169
-
170
- ---
171
-
172
- ## 9. PROACTIVE SUGGESTIONS
173
-
174
- Based on observations during this session:
175
- 1. If Active_Context is stale (>3 days): "Context is [X] days old — pattern may indicate avoidance of reflection." - Confidence: 2
176
- 2. If energy < 5 and pattern in Auto_Learnings matches low-energy mornings: surface it. - Confidence: [from Auto_Learnings]
177
- 3. If today's Single Test conflicts with Strategy's Primary Metric: "Alignment issue detected — want to reconcile?" - Confidence: 3
178
-
179
- "Want me to address any of these?"
180
-
181
- ---
182
-
183
- ## 10. SELF-IMPROVEMENT
184
-
185
- If user corrected AI during this workflow:
186
- 1. Acknowledge: "I made a mistake."
187
- 2. Identify the rule violated.
188
- 3. Append to Auto_Learnings.md:
189
- `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
190
- 4. If same correction seen 3x+, escalate confidence to 5.
191
-
192
- ---
193
-
194
- ## HANDOFF
195
-
196
- Sources used: Identity_Prime.md, Strategy.md, Active_Context.md, Auto_Learnings.md, today's Daily Note (if exists)
197
- Confidence range: [Determined by pattern quality in Auto_Learnings.md; flag any claim below 3]
198
-
199
- **Next:**
200
- - If plan exists: "Start executing your plan."
201
- - If no plan: "Want me to run `/plan-tomorrow` first?"
202
- - If returning after break: "Consider `/reboot` if you've been away 3+ days."
203
-
204
- Key rules still active:
205
- - All claims must be grounded in loaded files
206
- - Confidence < 3 = ask, don't assert
207
- - Append-only: never delete from Auto_Learnings.md
1
+ ---
2
+ description: Quick primer to start a work session. Read Identity, set Single Test, check energy. Works anytime, not just mornings.
3
+ ---
4
+
5
+ # Session Primer (V4)
6
+
7
+ **Trigger:** User runs `/morning`
8
+ **Role:** Session Coach.
9
+ **Task:** Prime the user for focused execution. Reconnect with identity and strategy.
10
+ **Risk Tier:** LOW
11
+ **Duration:** 5 minutes.
12
+
13
+ ---
14
+
15
+ ## 0. PRE-FLIGHT
16
+
17
+ Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
18
+
19
+ LOAD (Light — Active_Context is the cache):
20
+ 1. Active_Context.md (has Identity Snapshot S5, Active Patterns S5.5, Strategic Verdict S1, Active Sessions S6)
21
+ 2. Today's Daily Note (if exists)
22
+ NOTE: Identity Snapshot in Active_Context S5 provides Archetype, Core Drive, Anti-Identity, and Ritual for the morning prime. Active Patterns S5.5 provides pattern alerts. Strategic Verdict S1 provides the Primary Metric for Single Test. If Active_Context is stale (>2 days), flag it and suggest /analyse-day first.
23
+
24
+ CONSTRAINTS:
25
+ - Keep this fast: 5 minutes max
26
+ - Grounded in Identity and Strategy files
27
+ - No lengthy analysis (save that for /analyse-day)
28
+
29
+ ---
30
+
31
+ ## 1. IDENTITY VISCERALIZATION
32
+
33
+ Read Identity_Prime.md. Display:
34
+ - Core Identity section
35
+ - The Code (Non-Negotiables)
36
+ - Daily Affirmations (if they exist)
37
+
38
+ "Take 30 seconds. Close your eyes. Visualize becoming this person today."
39
+
40
+ **The Subconscious Prime:**
41
+ - Read the Anti-Identity section. These are the autopilot behaviors to reject today.
42
+ - If today's plan exists: select top 2 Anti-Identity triggers relevant to the plan. Cite: [Daily Note].
43
+ - If no plan exists: pick the 2 most recently triggered from Auto_Learnings.md. Cite: [Auto_Learnings.md].
44
+ - "Today, watch for: [top 2 Anti-Identity triggers]."
45
+ - "The person you're becoming would [specific behavior aligned with today's tasks]. Act as that person first."
46
+ - Keep this to 2-3 sentences. Not a lecture — a calibration.
47
+
48
+ ---
49
+
50
+ ## 2. CONTEXT CHECK
51
+
52
+ Read Active_Context.md and today's Daily Note.
53
+
54
+ **System maturity:** If `setup_date` exists in Workflow State, calculate days since setup. If first week: "Day [N] of Mover OS. This week is about building data — run /log and /analyse-day daily. The system learns from your patterns."
55
+
56
+ Summarize: "Here's where you are: [Current Project], [Current Phase], [Main Blocker]."
57
+
58
+ If Active_Context is stale (>3 days): "Your context is [X] days old. Consider running `/reboot` if you've been away, or update after this session."
59
+
60
+ ---
61
+
62
+ ## 2.5 PROJECT PORTFOLIO (Quick Health Scan)
63
+
64
+ Scan `{VAULT_ROOT}/01_Projects/` for all project folders. For each, check:
65
+ - Does `plan.md` exist? When was it last modified?
66
+ - Does `project_state.md` exist? Read `## SYSTEM STATE` last entry date if available.
67
+ - Any `[x]` vs `[ ]` ratio in plan.md? (Quick completion health check)
68
+
69
+ Classify each project using the Staleness Scale [Mover_Global_Rules.md: S19]:
70
+ - 0-3 days: Active
71
+ - 3-7 days: Stale
72
+ - 8-14 days: Cooling
73
+ - 15-30 days: Cold
74
+ - 30+: Frozen
75
+
76
+ Output a one-line summary per project:
77
+ ```
78
+ Projects: [Name] (Active) | [Name] (Stale - 5d) | [Name] (Cold - 18d)
79
+ ```
80
+
81
+ If any project is Cooling or worse: "Project [Name] hasn't been touched in [X] days. Intentional pause or drift?"
82
+
83
+ Keep this under 30 seconds. Use file modification dates, not full reads. Delegate to a haiku subagent if 5+ projects exist.
84
+
85
+ ---
86
+
87
+ ## 2.7 PLAN ALIGNMENT CHECK (Escalating Friction — Level 1)
88
+
89
+ If today's Daily Note exists:
90
+ 1. Read `## Focus` section. Check for **Sacrifice** line (things explicitly banned today).
91
+ 2. Read `## Tasks` section. What's Priority 1? What's the Single Test?
92
+ 3. If the user's first request in this session conflicts with the Sacrifice or bypasses Priority 1:
93
+ - **Level 1:** "Your plan for today says: [Single Test]. It also bans: [Sacrifice item]. You're asking me to work on [request]. Intentional override or did you forget?"
94
+ - If user overrides: **Level 2:** "Why is this more important than [Single Test]? One sentence."
95
+ - If user gives a reason: **Level 3:** "Logged. 30 minutes on this, then we return to [Priority 1]. Deal?"
96
+ - Log in Session Log: `[OVERRIDE] User chose [X] over [plan item]. Reason: "[reason]"`
97
+ 4. If no conflict: proceed normally. Don't create friction where there isn't any.
98
+
99
+ This check fires ONCE at session start, not repeatedly. The user is an adult — one conscious decision is enough.
100
+
101
+ ---
102
+
103
+ ## 3. LIBRARY PRIMER (Quick)
104
+
105
+ If today's Daily Note exists AND has tasks involving coding, debugging, or building:
106
+ 1. Scan `03_Library/Cheatsheets/` for entries relevant to today's task domain
107
+ 2. Scan `03_Library/Principles/` for applicable decision patterns
108
+ 3. If relevant entries found: "From your Library: [1-2 sentence summary]. [[Link]]"
109
+ 4. If nothing relevant: skip silently
110
+
111
+ If today's Daily Note does not exist yet: skip Step 3 entirely. [No Daily Note for today — Step 3 skipped.]
112
+
113
+ Keep this under 30 seconds. Don't read every file — scan directory names and headers only.
114
+
115
+ ---
116
+
117
+ ## 4. THE SINGLE TEST
118
+
119
+ From Strategy.md: What's the Primary Metric right now?
120
+ If no Primary Metric found in Strategy.md: "Your Strategy has no Primary Metric defined — this should be added during `/analyse-day` or `/review-week`." Skip Single Test derivation.
121
+
122
+ "What is the ONE thing that, if you complete today, makes today a win?"
123
+ (If Daily Note exists with a Single Test already defined, remind them of it.)
124
+
125
+ ---
126
+
127
+ ## 5. ENERGY CHECK
128
+
129
+ "How's your energy right now? (1-10)"
130
+ - If < 5: "Start with a low-friction task to build momentum. Stack small wins."
131
+ - If >= 5: "Attack The Frog first. Hardest task while energy is highest."
132
+ - If >= 8: "Peak state. Do the creative/strategic work now. Save admin for later."
133
+ - If Auto_Learnings shows a pattern of crashes at a specific time today: "Heads up — you tend to crash around [time] based on past data. Front-load the hard work."
134
+ - If yesterday's Daily Note shows low energy but user reports high today: acknowledge the recovery, don't question it. Momentum matters.
135
+
136
+ ---
137
+
138
+ ## 6. PATTERN CHECK
139
+
140
+ Quick scan of Auto_Learnings.md for active patterns relevant to this time of day.
141
+ If relevant pattern found: surface it briefly. "Reminder: [Pattern] (Conf: [X])."
142
+
143
+ **Pattern → Workflow Routing** [Mover_Global_Rules.md: S12]:
144
+ If any pattern has Confidence 3+ AND is actionable right now, suggest the specific workflow:
145
+ - Avoidance/resistance pattern active → "Pattern says you avoid [X]. Run `/debug-resistance` before starting?"
146
+ - Strategy misalignment → "Pattern shows drift from Strategy. Consider `/pivot-strategy` or address in `/analyse-day`."
147
+ - Energy pattern → Build it into Step 5 energy advice (already done above).
148
+ - Scope creep → "Pattern: scope creep. Stay on plan.md today. Run `/overview` if the plan feels stale."
149
+
150
+ One suggestion max. Don't overload the primer.
151
+
152
+ ---
153
+
154
+ ## 7. THE LAUNCH
155
+
156
+ "Your Identity is loaded. Your Single Test is set. Go win this session."
157
+
158
+ ---
159
+
160
+ ## 8. SELF-VERIFICATION (CISC)
161
+
162
+ Before outputting, self-check:
163
+ 1. All claims grounded in Identity_Prime.md, Strategy.md, and Active_Context.md? (90%+ accuracy)
164
+ 2. Session kept under 5 minutes (no lengthy analysis)?
165
+ 3. No banned phrases in output?
166
+ 4. Pattern surfacing grounded in Auto_Learnings.md?
167
+
168
+ If any section < 90% confident: flag it explicitly.
169
+
170
+ ---
171
+
172
+ ## 9. PROACTIVE SUGGESTIONS
173
+
174
+ Based on observations during this session:
175
+ 1. If Active_Context is stale (>3 days): "Context is [X] days old — pattern may indicate avoidance of reflection." - Confidence: 2
176
+ 2. If energy < 5 and pattern in Auto_Learnings matches low-energy mornings: surface it. - Confidence: [from Auto_Learnings]
177
+ 3. If today's Single Test conflicts with Strategy's Primary Metric: "Alignment issue detected — want to reconcile?" - Confidence: 3
178
+
179
+ "Want me to address any of these?"
180
+
181
+ ---
182
+
183
+ ## 10. SELF-IMPROVEMENT
184
+
185
+ If user corrected AI during this workflow:
186
+ 1. Acknowledge: "I made a mistake."
187
+ 2. Identify the rule violated.
188
+ 3. Append to Auto_Learnings.md:
189
+ `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
190
+ 4. If same correction seen 3x+, escalate confidence to 5.
191
+
192
+ ---
193
+
194
+ ## HANDOFF
195
+
196
+ Sources used: Identity_Prime.md, Strategy.md, Active_Context.md, Auto_Learnings.md, today's Daily Note (if exists)
197
+ Confidence range: [Determined by pattern quality in Auto_Learnings.md; flag any claim below 3]
198
+
199
+ **Next:**
200
+ - If plan exists: "Start executing your plan."
201
+ - If no plan: "Want me to run `/plan-tomorrow` first?"
202
+ - If returning after break: "Consider `/reboot` if you've been away 3+ days."
203
+
204
+ Key rules still active:
205
+ - All claims must be grounded in loaded files
206
+ - Confidence < 3 = ask, don't assert
207
+ - Append-only: never delete from Auto_Learnings.md