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,203 +1,203 @@
1
- ---
2
- description: Project context refresh. Shows current state, processes notes, flags stale projects. Absorbs /project-notes.
3
- ---
4
-
5
- # Project Overview (V4 - NEW)
6
-
7
- **Trigger:** User runs `/overview` or `/overview [project name]`
8
- **Role:** Project Intelligence Officer.
9
- **Task:** Refresh project context. Surface state, process notes, flag issues. Like Claude's `/init` for projects.
10
- **Risk Tier:** LOW
11
-
12
- ---
13
-
14
- ## 0. PRE-FLIGHT
15
-
16
- Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
17
-
18
- LOAD (Light — Active_Context is the cache):
19
- 1. Active_Context.md (has Strategic Verdict S1, Technical Context S4, Active Sessions S6)
20
- 2. Active project's plan.md, project_state.md, project_brief.md (Step 2 reads)
21
- 3. Last 2-3 Daily Notes (P5) — provides recent session context. When returning to a project after days away, these show what the user was actually doing, what was completed, and where they left off. Read via subagent (model: haiku) to keep main context clean.
22
- NOTE: Strategy context comes from Active_Context S1. If Active_Context is stale (>2 days), flag it and suggest /analyse-day first.
23
-
24
- CONSTRAINTS:
25
- - All claims grounded in project files
26
- - Confidence < 3 = flag, don't assert
27
- - Append-only: never delete notes or history
28
- - Windows: no && in commands
29
-
30
- ---
31
-
32
- ## 1. PROJECT IDENTIFICATION
33
-
34
- If project specified: use that project.
35
- If not specified: ask "Which project? (Or type 'all' for a portfolio overview)"
36
-
37
- Locate the project folder in `01_Projects/`.
38
-
39
- ---
40
-
41
- ## 2. PROJECT SCAN
42
-
43
- Read these files (if they exist):
44
-
45
- 1. **project_state.md** - Knowledge journal, notes, solutions ledger
46
- 2. **plan.md** - Task roadmap and execution log
47
- 3. **project_brief.md** - Original project brief
48
- 4. **File tree** - List all files in the project folder
49
-
50
- Extract:
51
- - **Technology Stack:** From brief or plan.md
52
- - **Current Phase:** From plan.md (what's checked vs unchecked)
53
- - **Progress:** [X] of [Y] tasks complete ([Z]%)
54
- - **Last Activity:** Date of last execution log entry
55
- - **Open Blockers:** From Active_Context.md or plan.md
56
- - **Key Decisions:** From changelog in project_state.md
57
- - **Recent Context:** From last 2-3 Daily Notes — what sessions touched this project, what was accomplished, where the user left off
58
-
59
- ---
60
-
61
- ## 3. STALENESS CHECK
62
-
63
- Calculate days since last activity:
64
-
65
- | Days Since Activity | Status | Action |
66
- |---------------------|--------|--------|
67
- | 0-7 | Active | Normal overview |
68
- | 8-14 | Cooling | "This project hasn't been touched in [X] days." |
69
- | 15-30 | Cold | "Cold Project warning. Consider: resume, defer, or archive?" |
70
- | 30+ | Frozen | "FROZEN PROJECT ([X] days). Archive to `04_Archives/` or reboot?" |
71
-
72
- ---
73
-
74
- ## 4. PROCESS NOTES (Absorbed from /project-notes)
75
-
76
- **Target:** `project_state.md` > `# Notes`
77
-
78
- 1. Read all text under `# Notes`.
79
- 2. Identify: concrete action items, bug reports, feature requests.
80
- 3. **Show user proposed additions before writing:** "I found [X] action items in your Notes. Proposed additions to plan.md: [list]. Approve?"
81
- 4. **STOP. Wait for user confirmation.**
82
- 5. After approval: Add to appropriate Phase in `plan.md`.
83
- 6. For architectural changes: Update `## ARCHITECTURE` in `plan.md`.
84
- 7. Mark processed notes: Append `[Processed YYYY-MM-DD]` next to handled notes.
85
- 8. Do NOT delete original text.
86
-
87
- ---
88
-
89
- ## 5. OUTPUT THE OVERVIEW
90
-
91
- Present a structured summary:
92
-
93
- ```markdown
94
- ## Project: [Name]
95
-
96
- **Status:** [Active/Cooling/Cold/Frozen]
97
- **Phase:** [Current phase from plan.md]
98
- **Progress:** [X/Y] tasks ([Z]%)
99
- **Last Activity:** [Date]
100
- **Stack:** [Technologies]
101
-
102
- ### Open Tasks (Top 5)
103
- 1. [ ] [Task] - [Phase]
104
- 2. [ ] [Task] - [Phase]
105
-
106
- ### Blockers
107
- - [Blocker 1]
108
- - [Blocker 2] (or "None")
109
-
110
- ### Recent Decisions
111
- - [Decision from changelog]
112
-
113
- ### Notes Processed
114
- - [X] notes converted to tasks
115
- - [Y] notes already processed
116
- ```
117
-
118
- ---
119
-
120
- ## 5.5. ACTIVE_CONTEXT SYNC
121
-
122
- After presenting the overview, update `Active_Context.md` Section 4 (Technical Context):
123
- - **Active Project:** [Project name] — [Path]
124
- - **Tech Stack:** [From brief/plan]
125
- - **Current Bottleneck:** [Top blocker, or "Execution" if none]
126
-
127
- This keeps the state bus current for the next session.
128
-
129
- ---
130
-
131
- ## 6. PORTFOLIO MODE (if 'all' requested)
132
-
133
- For each project in `01_Projects/`:
134
- - Read plan.md (if exists). If no plan.md: Status = "Unplanned", Progress = "N/A", Next Action = "Run /ignite or /init-plan"
135
- - Calculate status and progress
136
- - Output a summary table:
137
-
138
- | Project | Status | Progress | Last Activity | Next Action |
139
- |---------|--------|----------|---------------|-------------|
140
- | [Name] | Active | 60% | 2 days ago | [Task] |
141
-
142
- Flag any Cold or Frozen projects.
143
-
144
- ---
145
-
146
- ## 7. SELF-VERIFICATION (CISC)
147
-
148
- Before outputting:
149
- 1. All progress percentages match actual task counts?
150
- 2. Staleness calculation correct?
151
- 3. Notes processed correctly (no data loss)?
152
-
153
- If any check fails: flag it.
154
-
155
- ---
156
-
157
- ## 8. SELF-IMPROVEMENT
158
-
159
- If user corrected AI during this workflow:
160
- 1. Acknowledge: "I made a mistake."
161
- 2. Identify the rule violated.
162
- 3. Append to Auto_Learnings.md:
163
- `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
164
- 4. If same correction seen 3x+, escalate confidence to 5.
165
-
166
- ---
167
-
168
- ## 9. PROACTIVE SUGGESTIONS
169
-
170
- Based on overview:
171
- 1. If project Cold: "Consider archiving [Project] or scheduling a reboot session." - Confidence: [X]
172
- 2. If high blocker count: "This project has [X] blockers. Prioritize unblocking." - Confidence: [X]
173
- 3. If notes unprocessed: "[X] notes in project_state.md haven't been processed." - Confidence: [X]
174
-
175
- "Want me to address any of these?"
176
-
177
- ---
178
-
179
- ## 10. ANSWER GATING
180
-
181
- Do not suggest handoff until:
182
- - Project overview has been presented to user
183
- - Staleness status has been acknowledged
184
- - Any notes processed are confirmed added to plan.md
185
-
186
- If pending: "You haven't confirmed [X]. Wait or proceed?"
187
-
188
- ---
189
-
190
- ## HANDOFF
191
-
192
- Sources used: [List files read]
193
- Confidence range: [X-Y across all outputs]
194
-
195
- **Next:**
196
- - If Active project: "Continue working, or run `/log` when you finish a session."
197
- - If Cold project: "Run `/reboot` to break through, or archive to `04_Archives/`."
198
- - If notes processed: "New tasks added to plan.md. Start executing."
199
-
200
- Key rules still active:
201
- - All claims must be grounded
202
- - Confidence < 3 = ask, don't assert
203
- - Append-only: never delete history
1
+ ---
2
+ description: Project context refresh. Shows current state, processes notes, flags stale projects. Absorbs /project-notes.
3
+ ---
4
+
5
+ # Project Overview (V4 - NEW)
6
+
7
+ **Trigger:** User runs `/overview` or `/overview [project name]`
8
+ **Role:** Project Intelligence Officer.
9
+ **Task:** Refresh project context. Surface state, process notes, flag issues. Like Claude's `/init` for projects.
10
+ **Risk Tier:** LOW
11
+
12
+ ---
13
+
14
+ ## 0. PRE-FLIGHT
15
+
16
+ Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
17
+
18
+ LOAD (Light — Active_Context is the cache):
19
+ 1. Active_Context.md (has Strategic Verdict S1, Technical Context S4, Active Sessions S6)
20
+ 2. Active project's plan.md, project_state.md, project_brief.md (Step 2 reads)
21
+ 3. Last 2-3 Daily Notes (P5) — provides recent session context. When returning to a project after days away, these show what the user was actually doing, what was completed, and where they left off. Read via subagent (model: haiku) to keep main context clean.
22
+ NOTE: Strategy context comes from Active_Context S1. If Active_Context is stale (>2 days), flag it and suggest /analyse-day first.
23
+
24
+ CONSTRAINTS:
25
+ - All claims grounded in project files
26
+ - Confidence < 3 = flag, don't assert
27
+ - Append-only: never delete notes or history
28
+ - Windows: no && in commands
29
+
30
+ ---
31
+
32
+ ## 1. PROJECT IDENTIFICATION
33
+
34
+ If project specified: use that project.
35
+ If not specified: ask "Which project? (Or type 'all' for a portfolio overview)"
36
+
37
+ Locate the project folder in `01_Projects/`.
38
+
39
+ ---
40
+
41
+ ## 2. PROJECT SCAN
42
+
43
+ Read these files (if they exist):
44
+
45
+ 1. **project_state.md** - Knowledge journal, notes, solutions ledger
46
+ 2. **plan.md** - Task roadmap and execution log
47
+ 3. **project_brief.md** - Original project brief
48
+ 4. **File tree** - List all files in the project folder
49
+
50
+ Extract:
51
+ - **Technology Stack:** From brief or plan.md
52
+ - **Current Phase:** From plan.md (what's checked vs unchecked)
53
+ - **Progress:** [X] of [Y] tasks complete ([Z]%)
54
+ - **Last Activity:** Date of last execution log entry
55
+ - **Open Blockers:** From Active_Context.md or plan.md
56
+ - **Key Decisions:** From changelog in project_state.md
57
+ - **Recent Context:** From last 2-3 Daily Notes — what sessions touched this project, what was accomplished, where the user left off
58
+
59
+ ---
60
+
61
+ ## 3. STALENESS CHECK
62
+
63
+ Calculate days since last activity:
64
+
65
+ | Days Since Activity | Status | Action |
66
+ |---------------------|--------|--------|
67
+ | 0-7 | Active | Normal overview |
68
+ | 8-14 | Cooling | "This project hasn't been touched in [X] days." |
69
+ | 15-30 | Cold | "Cold Project warning. Consider: resume, defer, or archive?" |
70
+ | 30+ | Frozen | "FROZEN PROJECT ([X] days). Archive to `04_Archives/` or reboot?" |
71
+
72
+ ---
73
+
74
+ ## 4. PROCESS NOTES (Absorbed from /project-notes)
75
+
76
+ **Target:** `project_state.md` > `# Notes`
77
+
78
+ 1. Read all text under `# Notes`.
79
+ 2. Identify: concrete action items, bug reports, feature requests.
80
+ 3. **Show user proposed additions before writing:** "I found [X] action items in your Notes. Proposed additions to plan.md: [list]. Approve?"
81
+ 4. **STOP. Wait for user confirmation.**
82
+ 5. After approval: Add to appropriate Phase in `plan.md`.
83
+ 6. For architectural changes: Update `## ARCHITECTURE` in `plan.md`.
84
+ 7. Mark processed notes: Append `[Processed YYYY-MM-DD]` next to handled notes.
85
+ 8. Do NOT delete original text.
86
+
87
+ ---
88
+
89
+ ## 5. OUTPUT THE OVERVIEW
90
+
91
+ Present a structured summary:
92
+
93
+ ```markdown
94
+ ## Project: [Name]
95
+
96
+ **Status:** [Active/Cooling/Cold/Frozen]
97
+ **Phase:** [Current phase from plan.md]
98
+ **Progress:** [X/Y] tasks ([Z]%)
99
+ **Last Activity:** [Date]
100
+ **Stack:** [Technologies]
101
+
102
+ ### Open Tasks (Top 5)
103
+ 1. [ ] [Task] - [Phase]
104
+ 2. [ ] [Task] - [Phase]
105
+
106
+ ### Blockers
107
+ - [Blocker 1]
108
+ - [Blocker 2] (or "None")
109
+
110
+ ### Recent Decisions
111
+ - [Decision from changelog]
112
+
113
+ ### Notes Processed
114
+ - [X] notes converted to tasks
115
+ - [Y] notes already processed
116
+ ```
117
+
118
+ ---
119
+
120
+ ## 5.5. ACTIVE_CONTEXT SYNC
121
+
122
+ After presenting the overview, update `Active_Context.md` Section 4 (Technical Context):
123
+ - **Active Project:** [Project name] — [Path]
124
+ - **Tech Stack:** [From brief/plan]
125
+ - **Current Bottleneck:** [Top blocker, or "Execution" if none]
126
+
127
+ This keeps the state bus current for the next session.
128
+
129
+ ---
130
+
131
+ ## 6. PORTFOLIO MODE (if 'all' requested)
132
+
133
+ For each project in `01_Projects/`:
134
+ - Read plan.md (if exists). If no plan.md: Status = "Unplanned", Progress = "N/A", Next Action = "Run /ignite or /init-plan"
135
+ - Calculate status and progress
136
+ - Output a summary table:
137
+
138
+ | Project | Status | Progress | Last Activity | Next Action |
139
+ |---------|--------|----------|---------------|-------------|
140
+ | [Name] | Active | 60% | 2 days ago | [Task] |
141
+
142
+ Flag any Cold or Frozen projects.
143
+
144
+ ---
145
+
146
+ ## 7. SELF-VERIFICATION (CISC)
147
+
148
+ Before outputting:
149
+ 1. All progress percentages match actual task counts?
150
+ 2. Staleness calculation correct?
151
+ 3. Notes processed correctly (no data loss)?
152
+
153
+ If any check fails: flag it.
154
+
155
+ ---
156
+
157
+ ## 8. SELF-IMPROVEMENT
158
+
159
+ If user corrected AI during this workflow:
160
+ 1. Acknowledge: "I made a mistake."
161
+ 2. Identify the rule violated.
162
+ 3. Append to Auto_Learnings.md:
163
+ `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
164
+ 4. If same correction seen 3x+, escalate confidence to 5.
165
+
166
+ ---
167
+
168
+ ## 9. PROACTIVE SUGGESTIONS
169
+
170
+ Based on overview:
171
+ 1. If project Cold: "Consider archiving [Project] or scheduling a reboot session." - Confidence: [X]
172
+ 2. If high blocker count: "This project has [X] blockers. Prioritize unblocking." - Confidence: [X]
173
+ 3. If notes unprocessed: "[X] notes in project_state.md haven't been processed." - Confidence: [X]
174
+
175
+ "Want me to address any of these?"
176
+
177
+ ---
178
+
179
+ ## 10. ANSWER GATING
180
+
181
+ Do not suggest handoff until:
182
+ - Project overview has been presented to user
183
+ - Staleness status has been acknowledged
184
+ - Any notes processed are confirmed added to plan.md
185
+
186
+ If pending: "You haven't confirmed [X]. Wait or proceed?"
187
+
188
+ ---
189
+
190
+ ## HANDOFF
191
+
192
+ Sources used: [List files read]
193
+ Confidence range: [X-Y across all outputs]
194
+
195
+ **Next:**
196
+ - If Active project: "Continue working, or run `/log` when you finish a session."
197
+ - If Cold project: "Run `/reboot` to break through, or archive to `04_Archives/`."
198
+ - If notes processed: "New tasks added to plan.md. Start executing."
199
+
200
+ Key rules still active:
201
+ - All claims must be grounded
202
+ - Confidence < 3 = ask, don't assert
203
+ - Append-only: never delete history