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,262 +1,262 @@
1
- # V4 CONTEXT: Workflow Engineering Implementation State
2
-
3
- **Purpose:** Persistent memory for any AI instance working on Mover OS V4.
4
- **Last Updated:** 2026-02-23
5
- **Paradigm:** Workflow Engineering (NOT Prompt Engineering)
6
-
7
- ---
8
-
9
- ## 0. THE PARADIGM SHIFT (READ FIRST)
10
-
11
- | Old (2024) | New (2025/2026) |
12
- |------------|-----------------|
13
- | **Prompt Optimization:** Perfect instruction writing | **System Optimization:** Route, verify, ground |
14
- | **Single Shot / CoT:** Step-by-step thinking | **Inference-Time Search:** Multiple paths before output |
15
- | **Vibe Check:** Manual output review | **Automated Benchmarking:** Golden Template comparison |
16
- | **Linear:** Step 1 → 2 → Output | **Agentic:** Router → Experts → Verifier → Output |
17
-
18
- > **We don't write prompts. We build a Testing Harness that evolves prompts.**
19
-
20
- ---
21
-
22
- ## 1. RESEARCH SOURCES
23
-
24
- | File | Lines | Purpose |
25
- |------|-------|---------|
26
- | `V4_Research_Synthesis.md` | 899 | Foundation research (2025 academics) |
27
- | `groundbreaking_2025.md` | 751 | 10 Critical Findings (paradigm shift) |
28
- | `INTERROGATION_V4.md` | 4000+ | 410+ design decisions |
29
- | `plan.md` (Phase 11) | 200+ | Implementation roadmap |
30
- | `V4_ARCHITECTURE_DEEP_DESIGN.md` | 1013 | Complete V4 architecture |
31
- | `WORKFLOW_TEMPLATE.md` | 309 | V4 master workflow template |
32
- | `WORKFLOW_PRINCIPLES.md` | 489 | 11 governing principles |
33
- | `WORKFLOW_MASTER_PROTOCOL.md` | 168 | Supreme authority protocol |
34
-
35
- ---
36
-
37
- ## 2. CRITICAL FINDINGS (10 Total)
38
-
39
- | # | Finding | Source | ROI |
40
- |---|---------|--------|-----|
41
- | 1 | Inference-Time Scaling > Longer Prompts | OpenAI o3, DeepSeek-R1 | Request reasoning density |
42
- | 2 | MoE Routing for Workflow Selection | GPT-5 MoE, LLMoE | Router → Expert workflows |
43
- | 3 | Coactive Learning (in-session) | EMNLP 2025 | Learn from user edits |
44
- | 4 | Structured Data = 40-60% fewer hallucinations | Lakera AI | JSON schemas required |
45
- | 5 | Temporal Knowledge Graphs | Zep (+18.5%) | Daily Notes = memory kernel |
46
- | 6 | Prompt Injection Defense | ACL 2025 | Context isolation |
47
- | 7 | Selective Reasoning Activation | Raschka | Tier by cost |
48
- | 8 | Ensemble Verification (Jekyll/Hyde) | +9.98% | Risk-stratified |
49
- | 9 | Confidence Calibration | ACL 2025 | Historical calibration |
50
- | 10 | Dynamic Prompt Adaptation | 76pp variance | Position/Length/Rep |
51
-
52
- ---
53
-
54
- ## 3. KEY ARCHITECTURAL DECISIONS (FINAL)
55
-
56
- | Decision | Reason |
57
- |----------|--------|
58
- | **REMOVE Mercenary Mode** | Confuses LLM, premature execution |
59
- | **MERGE `/checkup` → `/log`** | Consolidate session logging |
60
- | **MERGE `/context` → `/analyse-day`** | Redundant |
61
- | **MERGE `/project-notes` → `/overview`** | Consolidate project context |
62
- | **ADD `/overview`** | Project resume (new workflow) |
63
- | **Single Architect persona** | Adaptive to context, no mode switching |
64
- | **Confidence scoring 1-5** | Threshold: < 3 = refuse to assert |
65
- | **Source citation [file:line]** | Grounding and verification anchor |
66
- | **Verification loops** | Risk-tiered: HIGH=user confirm, MEDIUM=CISC, LOW=direct |
67
- | **//turbo mode** | Skip non-HIGH confirmations for session |
68
- | **12k char limit** | Use skill sub-modules if needed |
69
- | **Memory Hierarchy P0-P5** | Auto_Learnings > Active_Context > Strategy > Identity > project_state > Dailies |
70
- | **Areeb's debugging framework** | Self-Critique > Verbose Logging > 5-Why > Differential Diagnosis |
71
- | **Three domains in Identity** | Work, Vitality, Faith/Purpose |
72
- | **Proactive surfacing** | Suggest, never auto-execute |
73
- | **Answer gating** | No handoff until all questions answered |
74
- | **Library dedup protocol** | Check existing files before creating new ones |
75
-
76
- ---
77
-
78
- ## 4. IMPLEMENTATION PROGRESS
79
-
80
- ### Phase 11.0: Foundation (COMPLETE)
81
- - [x] WORKFLOW_TEMPLATE.md (V4 master template)
82
- - [x] WORKFLOW_PRINCIPLES.md (11 principles)
83
- - [x] WORKFLOW_MASTER_PROTOCOL.md (supreme authority)
84
- - [x] V4_ARCHITECTURE_DEEP_DESIGN.md (complete architecture)
85
-
86
- ### Phase 11.1: Research (COMPLETE)
87
- - [x] V4_Research_Synthesis.md
88
- - [x] groundbreaking_2025.md
89
- - [x] Paradigm shift identified
90
- - [x] Claude Code native capabilities researched (hooks, sub-agents, CLAUDE.md)
91
-
92
- ### Phase 11.2: Global Rules V4 (COMPLETE)
93
- - [x] Mover_Global_Rules.md rewritten to V4
94
- - [x] Mercenary Mode removed
95
- - [x] Grounding & Citation (S2) added
96
- - [x] Verification & Confidence (S3) added
97
- - [x] Memory Hierarchy (S0.5) added
98
- - [x] Proactive Surfacing (S12) added
99
- - [x] Answer Gating (S13) added
100
- - [x] Library Protocol (S14) added
101
- - [x] AI Behavior (S17) added
102
- - [x] Areeb's 4-step debugging framework integrated into Coding (S4)
103
- - [x] //turbo mode added
104
-
105
- ### Phase 11.3: Critical Workflow Rewrites (COMPLETE)
106
- - [x] `/log` V4 (absorbs /checkup, verbose session logs, CISC)
107
- - [x] `/analyse-day` V4 (absorbs /context, variable interrogation, scientific patterns)
108
- - [x] `/plan-tomorrow` V4 (zombie audit, dependency awareness, project scope)
109
- - [x] `/review-week` V4 (system improvement point, monthly mode, sample size)
110
- - [x] `/overview` V4 (NEW - absorbs /project-notes, staleness detection, portfolio mode)
111
-
112
- ### Phase 11.4: Remaining Workflow Rewrites (COMPLETE)
113
- - [x] `/primer` V4 (session primer, pattern check, energy-based)
114
- - [x] `/harvest` V4 (mandatory Library dedup, MOC genesis, upward linking)
115
- - [x] `/context` V4 (DEPRECATED - merged into /analyse-day)
116
- - [x] `/ignite` V4 (single persona, Library pre-search, leverage audit)
117
- - [x] `/setup` V4 (Bank G Vitality, Bank H Faith/Purpose, Goals.md, Perpetual Protocol)
118
- - [x] `/walkthrough` V4 (14 workflows, V4 features, three domains)
119
- - [x] `/init-plan` V4 (dynamic logic, stack-aware, CISC)
120
- - [x] `/debug-resistance` V4 (multi-step interrogation, Auto_Learnings integration)
121
- - [x] `/pivot-strategy` V4 (sample size validation, HIGH-RISK gate, version tracking)
122
- - [x] `/reboot` V4 (staleness tiers, recurring reboot detection, escalation)
123
- - [x] `/refactor-plan` V4 (system-triggerable, surgical edit, CISC)
124
- - [x] `/project-notes` V4 (DEPRECATED - merged into /overview)
125
-
126
- ### Phase 11.4.1: V4 Compliance Fixes (COMPLETE)
127
- - [x] Tested all 15 workflows against V4 checklist (13 items) + 11 principles
128
- - [x] Fixed all 15 workflows: added self-improvement, proactive suggestions, answer gating, CISC, bottom bookend
129
- - [x] Fixed broken `[V4_ARCHITECTURE]` references (5 occurrences across 4 workflows)
130
- - [x] Fixed memory hierarchy gaps (reboot P0 order, overview P3/P5, init-plan P0, refactor-plan P0)
131
- - [x] Fixed Dossier reference in debug-resistance.md
132
- - [x] Added workflow registry (15 active + 2 deprecated) to Global Rules
133
- - [x] Added supporting flow paths, three domains, paradigm statement to Global Rules
134
- - [x] Daily Note Template V4: added `## Session Log` + `## Metrics` sections
135
- - [x] Created `Goals.md` template in Engine
136
- - [x] Created `Metrics_Log.md` template in Engine
137
- - [x] Removed Co-Authored-By attributions from all V4 commits
138
- - [x] Disabled future attribution in Claude Code settings
139
-
140
- ### Phase 11.5: Golden Templates (PENDING)
141
- - [ ] `Golden_Templates/` folder
142
- - [ ] `Golden_AnalyseDay.json`
143
- - [ ] `Golden_PlanTomorrow.json`
144
- - [ ] `Golden_ReviewWeek.json`
145
-
146
- ### Phase 11.6: Benchmarking System (PENDING)
147
- - [ ] `V4_Benchmark_Protocol.md`
148
- - [ ] Sample test data
149
- - [ ] LLM-as-Judge prompt
150
-
151
- ### Phase 11.7a: Claude Code Hooks (COMPLETE)
152
- - [x] Stop hook: session-log-reminder (reminds /log after 5+ exchanges)
153
- - [x] PreToolUse hook: engine-protection (confirms before writing core Engine files)
154
- - [x] `.claude/settings.json` with hooks config
155
- - [x] `.claude/hooks/` directory with executable scripts
156
- - [x] No jq dependency (pure grep/sed for Windows compatibility)
157
-
158
- ### Phase 11.7b: Advanced Features (PARTIAL)
159
- - [x] `/history` workflow (git-based Engine file tracking) — COMPLETE
160
- - [ ] MCP integration (Health Connect, Strong App, Context7, Chrome)
161
- - [ ] Skills architecture for large workflows (/ignite, /setup)
162
- - [ ] Session quality auto-evaluation hook
163
-
164
- ---
165
-
166
- ## 5. V4 WORKFLOW PATTERNS (All workflows now follow these)
167
-
168
- 1. **Pre-flight:** Memory hierarchy load (P0-P5), rules confirmation
169
- 2. **Prerequisite check:** Verify required files exist, chain prerequisites
170
- 3. **Context injection:** Grounded data extraction from Engine files
171
- 4. **Execution:** All claims cite [file:line] or [INFERRED: reason]
172
- 5. **CISC self-verification:** 90%+ accuracy check before output
173
- 6. **Risk-tiered verification:** HIGH=user confirm, MEDIUM=CISC, LOW=direct
174
- 7. **Self-improvement:** Log corrections to Auto_Learnings.md
175
- 8. **Proactive surfacing:** Pattern-based suggestions with confidence scores
176
- 9. **Answer gating:** No handoff until all questions answered
177
- 10. **Handoff (bottom bookend):** Sources, confidence range, next workflow
178
-
179
- ---
180
-
181
- ## 6. RULES FOR FUTURE AI INSTANCES
182
-
183
- 1. **Read this file first** before any workflow changes
184
- 2. **Paradigm:** We do Workflow Engineering, not Prompt Engineering
185
- 3. **Never recreate Mercenary Mode** - deliberately removed
186
- 4. **Confidence scores:** 1-5 scale, threshold 3
187
- 5. **Citations:** [file:line] or [INFERRED: reason] required
188
- 6. **Update progress** in Section 4 after completing tasks
189
- 7. **Append-only:** Never delete from plan.md, project_state.md, or Auto_Learnings.md
190
- 8. **Three domains:** Identity covers Work, Vitality, Faith/Purpose
191
- 9. **Areeb framework:** Self-Critique > Verbose Logging > 5-Why > Differential Diagnosis
192
- 10. **Windows:** Never use && in commands
193
-
194
- ---
195
-
196
- ## 7. FILES CREATED/MODIFIED IN V4
197
-
198
- | File | Path | Status |
199
- |------|------|--------|
200
- | Mover_Global_Rules.md | `src/system/` | Rewritten to V4 |
201
- | V4_CONTEXT.md | `src/system/` | Updated |
202
- | log.md | `src/workflows/` | Rewritten to V4 |
203
- | analyse-day.md | `src/workflows/` | Rewritten to V4 |
204
- | plan-tomorrow.md | `src/workflows/` | Rewritten to V4 |
205
- | review-week.md | `src/workflows/` | Rewritten to V4 |
206
- | overview.md | `src/workflows/` | NEW (V4) |
207
- | morning.md | `src/workflows/` | Rewritten to V4 |
208
- | harvest.md | `src/workflows/` | Rewritten to V4 |
209
- | context.md | `src/workflows/` | DEPRECATED |
210
- | ignite.md | `src/workflows/` | Rewritten to V4 |
211
- | setup.md | `src/workflows/` | Rewritten to V4 |
212
- | walkthrough.md | `src/workflows/` | Rewritten to V4 |
213
- | init-plan.md | `src/workflows/` | Rewritten to V4 |
214
- | debug-resistance.md | `src/workflows/` | Rewritten to V4 |
215
- | pivot-strategy.md | `src/workflows/` | Rewritten to V4 |
216
- | reboot.md | `src/workflows/` | Rewritten to V4 |
217
- | refactor-plan.md | `src/workflows/` | Rewritten to V4 |
218
- | project-notes.md | `src/workflows/` | DEPRECATED |
219
-
220
- ---
221
-
222
- ## 8. V4.x INCREMENTAL UPDATES (Post-Launch)
223
-
224
- Changes since initial V4 release (2026-02-19):
225
-
226
- | Version | Date | Changes |
227
- |---------|------|---------|
228
- | 4.0.9 | 2026-02-21 | All 17 workflows intelligence-fixed, workflow compliance audit |
229
- | 4.0.10 | 2026-02-22 | 13-agent installer (Codex split, Gemini CLI), skill category multi-select, tiered installs |
230
- | 4.0.11 | 2026-02-23 | Global Rules trimmed (agent-agnostic skills, removed VoltAgent/CHANGELOG/Areeb refs) |
231
- | 4.0.12 | 2026-02-23 | Hook double-fire fix, installer deep-merge for hooks, tiered workflow reads, Identity Snapshot + Active Patterns in Active_Context |
232
- | 4.0.13 | 2026-02-23 | Install.js TDZ crash fix, S0 Active_Context read mandate, /update detection + migration handlers |
233
- | 4.0.14 | 2026-02-23 | /update V3→V4 migration audit (4 detection sections, 7 migration handlers) |
234
- | 4.0.15 | 2026-02-23 | Correction lifecycle (S11 rewrite, Safe Modification Protocol), /update What's New section, project_state cleanup |
235
- | 4.0.16 | 2026-02-23 | Tier reclassification (Recommended/Supported/Compatible/Basic), interactive walkthrough rewrite, full documentation update |
236
-
237
- ### Key Changes Since Initial V4
238
-
239
- - **13 agents** (was 11): Codex split into CLI + Cloud, Gemini CLI added
240
- - **`/primer` renamed to `/morning`** — works the same, better name
241
- - **`/history` workflow** complete (was PENDING)
242
- - **`/debrief` workflow** added (post-meeting capture)
243
- - **38 skills** (was 40+ — consolidated during audit)
244
- - **Install command:** `npx moveros` (was `npx mover-os`)
245
- - **Tier labels removed** — table shows Agent + What Gets Installed (no tier column). Claude Code callout for deepest integration.
246
- - **Correction lifecycle:** S11 Trigger A provides same-session inline fix path with diff format
247
- - **Safe Modification Protocol:** 7 guardrails for self-editing
248
- - **Interactive walkthrough:** STOP gates, live demos, capability groups
249
- - **Missing workflows in file table:** /debrief, /history, /update (added below)
250
-
251
- ### Additional Files (not in original Section 7)
252
-
253
- | File | Path | Status |
254
- |------|------|--------|
255
- | debrief.md | `src/workflows/` | NEW (V4) |
256
- | history.md | `src/workflows/` | NEW (V4) |
257
- | update.md | `src/workflows/` | NEW (V4) |
258
-
259
- ---
260
-
261
- **END OF V4 CONTEXT FILE**
262
- *Update after each implementation session.*
1
+ # V4 CONTEXT: Workflow Engineering Implementation State
2
+
3
+ **Purpose:** Persistent memory for any AI instance working on Mover OS V4.
4
+ **Last Updated:** 2026-02-23
5
+ **Paradigm:** Workflow Engineering (NOT Prompt Engineering)
6
+
7
+ ---
8
+
9
+ ## 0. THE PARADIGM SHIFT (READ FIRST)
10
+
11
+ | Old (2024) | New (2025/2026) |
12
+ |------------|-----------------|
13
+ | **Prompt Optimization:** Perfect instruction writing | **System Optimization:** Route, verify, ground |
14
+ | **Single Shot / CoT:** Step-by-step thinking | **Inference-Time Search:** Multiple paths before output |
15
+ | **Vibe Check:** Manual output review | **Automated Benchmarking:** Golden Template comparison |
16
+ | **Linear:** Step 1 → 2 → Output | **Agentic:** Router → Experts → Verifier → Output |
17
+
18
+ > **We don't write prompts. We build a Testing Harness that evolves prompts.**
19
+
20
+ ---
21
+
22
+ ## 1. RESEARCH SOURCES
23
+
24
+ | File | Lines | Purpose |
25
+ |------|-------|---------|
26
+ | `V4_Research_Synthesis.md` | 899 | Foundation research (2025 academics) |
27
+ | `groundbreaking_2025.md` | 751 | 10 Critical Findings (paradigm shift) |
28
+ | `INTERROGATION_V4.md` | 4000+ | 410+ design decisions |
29
+ | `plan.md` (Phase 11) | 200+ | Implementation roadmap |
30
+ | `V4_ARCHITECTURE_DEEP_DESIGN.md` | 1013 | Complete V4 architecture |
31
+ | `WORKFLOW_TEMPLATE.md` | 309 | V4 master workflow template |
32
+ | `WORKFLOW_PRINCIPLES.md` | 489 | 11 governing principles |
33
+ | `WORKFLOW_MASTER_PROTOCOL.md` | 168 | Supreme authority protocol |
34
+
35
+ ---
36
+
37
+ ## 2. CRITICAL FINDINGS (10 Total)
38
+
39
+ | # | Finding | Source | ROI |
40
+ |---|---------|--------|-----|
41
+ | 1 | Inference-Time Scaling > Longer Prompts | OpenAI o3, DeepSeek-R1 | Request reasoning density |
42
+ | 2 | MoE Routing for Workflow Selection | GPT-5 MoE, LLMoE | Router → Expert workflows |
43
+ | 3 | Coactive Learning (in-session) | EMNLP 2025 | Learn from user edits |
44
+ | 4 | Structured Data = 40-60% fewer hallucinations | Lakera AI | JSON schemas required |
45
+ | 5 | Temporal Knowledge Graphs | Zep (+18.5%) | Daily Notes = memory kernel |
46
+ | 6 | Prompt Injection Defense | ACL 2025 | Context isolation |
47
+ | 7 | Selective Reasoning Activation | Raschka | Tier by cost |
48
+ | 8 | Ensemble Verification (Jekyll/Hyde) | +9.98% | Risk-stratified |
49
+ | 9 | Confidence Calibration | ACL 2025 | Historical calibration |
50
+ | 10 | Dynamic Prompt Adaptation | 76pp variance | Position/Length/Rep |
51
+
52
+ ---
53
+
54
+ ## 3. KEY ARCHITECTURAL DECISIONS (FINAL)
55
+
56
+ | Decision | Reason |
57
+ |----------|--------|
58
+ | **REMOVE Mercenary Mode** | Confuses LLM, premature execution |
59
+ | **MERGE `/checkup` → `/log`** | Consolidate session logging |
60
+ | **MERGE `/context` → `/analyse-day`** | Redundant |
61
+ | **MERGE `/project-notes` → `/overview`** | Consolidate project context |
62
+ | **ADD `/overview`** | Project resume (new workflow) |
63
+ | **Single Architect persona** | Adaptive to context, no mode switching |
64
+ | **Confidence scoring 1-5** | Threshold: < 3 = refuse to assert |
65
+ | **Source citation [file:line]** | Grounding and verification anchor |
66
+ | **Verification loops** | Risk-tiered: HIGH=user confirm, MEDIUM=CISC, LOW=direct |
67
+ | **//turbo mode** | Skip non-HIGH confirmations for session |
68
+ | **12k char limit** | Use skill sub-modules if needed |
69
+ | **Memory Hierarchy P0-P5** | Auto_Learnings > Active_Context > Strategy > Identity > project_state > Dailies |
70
+ | **Areeb's debugging framework** | Self-Critique > Verbose Logging > 5-Why > Differential Diagnosis |
71
+ | **Three domains in Identity** | Work, Vitality, Faith/Purpose |
72
+ | **Proactive surfacing** | Suggest, never auto-execute |
73
+ | **Answer gating** | No handoff until all questions answered |
74
+ | **Library dedup protocol** | Check existing files before creating new ones |
75
+
76
+ ---
77
+
78
+ ## 4. IMPLEMENTATION PROGRESS
79
+
80
+ ### Phase 11.0: Foundation (COMPLETE)
81
+ - [x] WORKFLOW_TEMPLATE.md (V4 master template)
82
+ - [x] WORKFLOW_PRINCIPLES.md (11 principles)
83
+ - [x] WORKFLOW_MASTER_PROTOCOL.md (supreme authority)
84
+ - [x] V4_ARCHITECTURE_DEEP_DESIGN.md (complete architecture)
85
+
86
+ ### Phase 11.1: Research (COMPLETE)
87
+ - [x] V4_Research_Synthesis.md
88
+ - [x] groundbreaking_2025.md
89
+ - [x] Paradigm shift identified
90
+ - [x] Claude Code native capabilities researched (hooks, sub-agents, CLAUDE.md)
91
+
92
+ ### Phase 11.2: Global Rules V4 (COMPLETE)
93
+ - [x] Mover_Global_Rules.md rewritten to V4
94
+ - [x] Mercenary Mode removed
95
+ - [x] Grounding & Citation (S2) added
96
+ - [x] Verification & Confidence (S3) added
97
+ - [x] Memory Hierarchy (S0.5) added
98
+ - [x] Proactive Surfacing (S12) added
99
+ - [x] Answer Gating (S13) added
100
+ - [x] Library Protocol (S14) added
101
+ - [x] AI Behavior (S17) added
102
+ - [x] Areeb's 4-step debugging framework integrated into Coding (S4)
103
+ - [x] //turbo mode added
104
+
105
+ ### Phase 11.3: Critical Workflow Rewrites (COMPLETE)
106
+ - [x] `/log` V4 (absorbs /checkup, verbose session logs, CISC)
107
+ - [x] `/analyse-day` V4 (absorbs /context, variable interrogation, scientific patterns)
108
+ - [x] `/plan-tomorrow` V4 (zombie audit, dependency awareness, project scope)
109
+ - [x] `/review-week` V4 (system improvement point, monthly mode, sample size)
110
+ - [x] `/overview` V4 (NEW - absorbs /project-notes, staleness detection, portfolio mode)
111
+
112
+ ### Phase 11.4: Remaining Workflow Rewrites (COMPLETE)
113
+ - [x] `/primer` V4 (session primer, pattern check, energy-based)
114
+ - [x] `/harvest` V4 (mandatory Library dedup, MOC genesis, upward linking)
115
+ - [x] `/context` V4 (DEPRECATED - merged into /analyse-day)
116
+ - [x] `/ignite` V4 (single persona, Library pre-search, leverage audit)
117
+ - [x] `/setup` V4 (Bank G Vitality, Bank H Faith/Purpose, Goals.md, Perpetual Protocol)
118
+ - [x] `/walkthrough` V4 (14 workflows, V4 features, three domains)
119
+ - [x] `/init-plan` V4 (dynamic logic, stack-aware, CISC)
120
+ - [x] `/debug-resistance` V4 (multi-step interrogation, Auto_Learnings integration)
121
+ - [x] `/pivot-strategy` V4 (sample size validation, HIGH-RISK gate, version tracking)
122
+ - [x] `/reboot` V4 (staleness tiers, recurring reboot detection, escalation)
123
+ - [x] `/refactor-plan` V4 (system-triggerable, surgical edit, CISC)
124
+ - [x] `/project-notes` V4 (DEPRECATED - merged into /overview)
125
+
126
+ ### Phase 11.4.1: V4 Compliance Fixes (COMPLETE)
127
+ - [x] Tested all 15 workflows against V4 checklist (13 items) + 11 principles
128
+ - [x] Fixed all 15 workflows: added self-improvement, proactive suggestions, answer gating, CISC, bottom bookend
129
+ - [x] Fixed broken `[V4_ARCHITECTURE]` references (5 occurrences across 4 workflows)
130
+ - [x] Fixed memory hierarchy gaps (reboot P0 order, overview P3/P5, init-plan P0, refactor-plan P0)
131
+ - [x] Fixed Dossier reference in debug-resistance.md
132
+ - [x] Added workflow registry (15 active + 2 deprecated) to Global Rules
133
+ - [x] Added supporting flow paths, three domains, paradigm statement to Global Rules
134
+ - [x] Daily Note Template V4: added `## Session Log` + `## Metrics` sections
135
+ - [x] Created `Goals.md` template in Engine
136
+ - [x] Created `Metrics_Log.md` template in Engine
137
+ - [x] Removed Co-Authored-By attributions from all V4 commits
138
+ - [x] Disabled future attribution in Claude Code settings
139
+
140
+ ### Phase 11.5: Golden Templates (PENDING)
141
+ - [ ] `Golden_Templates/` folder
142
+ - [ ] `Golden_AnalyseDay.json`
143
+ - [ ] `Golden_PlanTomorrow.json`
144
+ - [ ] `Golden_ReviewWeek.json`
145
+
146
+ ### Phase 11.6: Benchmarking System (PENDING)
147
+ - [ ] `V4_Benchmark_Protocol.md`
148
+ - [ ] Sample test data
149
+ - [ ] LLM-as-Judge prompt
150
+
151
+ ### Phase 11.7a: Claude Code Hooks (COMPLETE)
152
+ - [x] Stop hook: session-log-reminder (reminds /log after 5+ exchanges)
153
+ - [x] PreToolUse hook: engine-protection (confirms before writing core Engine files)
154
+ - [x] `.claude/settings.json` with hooks config
155
+ - [x] `.claude/hooks/` directory with executable scripts
156
+ - [x] No jq dependency (pure grep/sed for Windows compatibility)
157
+
158
+ ### Phase 11.7b: Advanced Features (PARTIAL)
159
+ - [x] `/history` workflow (git-based Engine file tracking) — COMPLETE
160
+ - [ ] MCP integration (Health Connect, Strong App, Context7, Chrome)
161
+ - [ ] Skills architecture for large workflows (/ignite, /setup)
162
+ - [ ] Session quality auto-evaluation hook
163
+
164
+ ---
165
+
166
+ ## 5. V4 WORKFLOW PATTERNS (All workflows now follow these)
167
+
168
+ 1. **Pre-flight:** Memory hierarchy load (P0-P5), rules confirmation
169
+ 2. **Prerequisite check:** Verify required files exist, chain prerequisites
170
+ 3. **Context injection:** Grounded data extraction from Engine files
171
+ 4. **Execution:** All claims cite [file:line] or [INFERRED: reason]
172
+ 5. **CISC self-verification:** 90%+ accuracy check before output
173
+ 6. **Risk-tiered verification:** HIGH=user confirm, MEDIUM=CISC, LOW=direct
174
+ 7. **Self-improvement:** Log corrections to Auto_Learnings.md
175
+ 8. **Proactive surfacing:** Pattern-based suggestions with confidence scores
176
+ 9. **Answer gating:** No handoff until all questions answered
177
+ 10. **Handoff (bottom bookend):** Sources, confidence range, next workflow
178
+
179
+ ---
180
+
181
+ ## 6. RULES FOR FUTURE AI INSTANCES
182
+
183
+ 1. **Read this file first** before any workflow changes
184
+ 2. **Paradigm:** We do Workflow Engineering, not Prompt Engineering
185
+ 3. **Never recreate Mercenary Mode** - deliberately removed
186
+ 4. **Confidence scores:** 1-5 scale, threshold 3
187
+ 5. **Citations:** [file:line] or [INFERRED: reason] required
188
+ 6. **Update progress** in Section 4 after completing tasks
189
+ 7. **Append-only:** Never delete from plan.md, project_state.md, or Auto_Learnings.md
190
+ 8. **Three domains:** Identity covers Work, Vitality, Faith/Purpose
191
+ 9. **Areeb framework:** Self-Critique > Verbose Logging > 5-Why > Differential Diagnosis
192
+ 10. **Windows:** Never use && in commands
193
+
194
+ ---
195
+
196
+ ## 7. FILES CREATED/MODIFIED IN V4
197
+
198
+ | File | Path | Status |
199
+ |------|------|--------|
200
+ | Mover_Global_Rules.md | `src/system/` | Rewritten to V4 |
201
+ | V4_CONTEXT.md | `src/system/` | Updated |
202
+ | log.md | `src/workflows/` | Rewritten to V4 |
203
+ | analyse-day.md | `src/workflows/` | Rewritten to V4 |
204
+ | plan-tomorrow.md | `src/workflows/` | Rewritten to V4 |
205
+ | review-week.md | `src/workflows/` | Rewritten to V4 |
206
+ | overview.md | `src/workflows/` | NEW (V4) |
207
+ | morning.md | `src/workflows/` | Rewritten to V4 |
208
+ | harvest.md | `src/workflows/` | Rewritten to V4 |
209
+ | context.md | `src/workflows/` | DEPRECATED |
210
+ | ignite.md | `src/workflows/` | Rewritten to V4 |
211
+ | setup.md | `src/workflows/` | Rewritten to V4 |
212
+ | walkthrough.md | `src/workflows/` | Rewritten to V4 |
213
+ | init-plan.md | `src/workflows/` | Rewritten to V4 |
214
+ | debug-resistance.md | `src/workflows/` | Rewritten to V4 |
215
+ | pivot-strategy.md | `src/workflows/` | Rewritten to V4 |
216
+ | reboot.md | `src/workflows/` | Rewritten to V4 |
217
+ | refactor-plan.md | `src/workflows/` | Rewritten to V4 |
218
+ | project-notes.md | `src/workflows/` | DEPRECATED |
219
+
220
+ ---
221
+
222
+ ## 8. V4.x INCREMENTAL UPDATES (Post-Launch)
223
+
224
+ Changes since initial V4 release (2026-02-19):
225
+
226
+ | Version | Date | Changes |
227
+ |---------|------|---------|
228
+ | 4.0.9 | 2026-02-21 | All 17 workflows intelligence-fixed, workflow compliance audit |
229
+ | 4.0.10 | 2026-02-22 | 13-agent installer (Codex split, Gemini CLI), skill category multi-select, tiered installs |
230
+ | 4.0.11 | 2026-02-23 | Global Rules trimmed (agent-agnostic skills, removed VoltAgent/CHANGELOG/Areeb refs) |
231
+ | 4.0.12 | 2026-02-23 | Hook double-fire fix, installer deep-merge for hooks, tiered workflow reads, Identity Snapshot + Active Patterns in Active_Context |
232
+ | 4.0.13 | 2026-02-23 | Install.js TDZ crash fix, S0 Active_Context read mandate, /update detection + migration handlers |
233
+ | 4.0.14 | 2026-02-23 | /update V3→V4 migration audit (4 detection sections, 7 migration handlers) |
234
+ | 4.0.15 | 2026-02-23 | Correction lifecycle (S11 rewrite, Safe Modification Protocol), /update What's New section, project_state cleanup |
235
+ | 4.0.16 | 2026-02-23 | Tier reclassification (Recommended/Supported/Compatible/Basic), interactive walkthrough rewrite, full documentation update |
236
+
237
+ ### Key Changes Since Initial V4
238
+
239
+ - **13 agents** (was 11): Codex split into CLI + Cloud, Gemini CLI added
240
+ - **`/primer` renamed to `/morning`** — works the same, better name
241
+ - **`/history` workflow** complete (was PENDING)
242
+ - **`/debrief` workflow** added (post-meeting capture)
243
+ - **38 skills** (was 40+ — consolidated during audit)
244
+ - **Install command:** `npx moveros` (was `npx mover-os`)
245
+ - **Tier labels removed** — table shows Agent + What Gets Installed (no tier column). Claude Code callout for deepest integration.
246
+ - **Correction lifecycle:** S11 Trigger A provides same-session inline fix path with diff format
247
+ - **Safe Modification Protocol:** 7 guardrails for self-editing
248
+ - **Interactive walkthrough:** STOP gates, live demos, capability groups
249
+ - **Missing workflows in file table:** /debrief, /history, /update (added below)
250
+
251
+ ### Additional Files (not in original Section 7)
252
+
253
+ | File | Path | Status |
254
+ |------|------|--------|
255
+ | debrief.md | `src/workflows/` | NEW (V4) |
256
+ | history.md | `src/workflows/` | NEW (V4) |
257
+ | update.md | `src/workflows/` | NEW (V4) |
258
+
259
+ ---
260
+
261
+ **END OF V4 CONTEXT FILE**
262
+ *Update after each implementation session.*