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.
- package/install.js +4 -2
- package/package.json +1 -1
- package/src/hooks/context-staleness.sh +46 -46
- package/src/hooks/dirty-tree-guard.sh +33 -33
- package/src/hooks/engine-protection.sh +43 -43
- package/src/hooks/git-safety.sh +47 -47
- package/src/hooks/pre-compact-backup.sh +177 -177
- package/src/hooks/session-log-reminder.sh +135 -73
- package/src/skills/systematic-debugging/CREATION-LOG.md +119 -119
- package/src/skills/systematic-debugging/SKILL.md +296 -296
- package/src/skills/systematic-debugging/condition-based-waiting-example.ts +158 -158
- package/src/skills/systematic-debugging/condition-based-waiting.md +115 -115
- package/src/skills/systematic-debugging/defense-in-depth.md +122 -122
- package/src/skills/systematic-debugging/find-polluter.sh +63 -63
- package/src/skills/systematic-debugging/root-cause-tracing.md +169 -169
- package/src/skills/systematic-debugging/test-academic.md +14 -14
- package/src/skills/systematic-debugging/test-pressure-1.md +58 -58
- package/src/skills/systematic-debugging/test-pressure-2.md +68 -68
- package/src/skills/systematic-debugging/test-pressure-3.md +69 -69
- package/src/structure/01_Projects/_Template Project/plan.md +55 -55
- package/src/structure/01_Projects/_Template Project/project_brief.md +45 -45
- package/src/structure/02_Areas/Engine/Active_Context.md +146 -146
- package/src/structure/02_Areas/Engine/Auto_Learnings.md +36 -36
- package/src/structure/02_Areas/Engine/Daily_Template.md +133 -133
- package/src/structure/02_Areas/Engine/Identity_Prime_template.md +86 -86
- package/src/structure/02_Areas/Engine/Mover_Dossier.md +120 -120
- package/src/structure/02_Areas/Engine/Strategy_template.md +65 -65
- package/src/structure/03_Library/SOPs/Tech_Stack.md +55 -55
- package/src/structure/03_Library/SOPs/Zone_Operating.md +57 -57
- package/src/system/V4_CONTEXT.md +262 -262
- package/src/theme/minimal-theme.css +271 -271
- package/src/workflows/analyse-day.md +401 -401
- package/src/workflows/debug-resistance.md +180 -180
- package/src/workflows/harvest.md +239 -239
- package/src/workflows/ignite.md +720 -720
- package/src/workflows/init-plan.md +16 -16
- package/src/workflows/morning.md +222 -222
- package/src/workflows/overview.md +203 -203
- package/src/workflows/pivot-strategy.md +218 -218
- package/src/workflows/plan-tomorrow.md +308 -308
- package/src/workflows/primer.md +207 -207
- package/src/workflows/reboot.md +201 -201
- package/src/workflows/refactor-plan.md +135 -135
- package/src/workflows/review-week.md +558 -558
- package/src/workflows/setup.md +388 -388
- package/src/workflows/update.md +10 -13
- package/src/workflows/walkthrough.md +523 -523
|
@@ -1,401 +1,401 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: End-of-day analysis. Reads Session Log, audits strategy, updates Dashboard & Rudder, proposes Active_Context updates.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Daily Analysis (V4)
|
|
6
|
-
|
|
7
|
-
**Trigger:** User runs `/analyse-day`
|
|
8
|
-
**Target:** Today's Daily Note (currently open file).
|
|
9
|
-
**Role:** Strategic Analyst.
|
|
10
|
-
**Task:** Audit today against Strategy. Detect drift, fake work, and patterns. Update Active_Context.
|
|
11
|
-
**Risk Tier:** MEDIUM (file edits) / HIGH (Strategy recommendations)
|
|
12
|
-
|
|
13
|
-
**Tone:** Direct, data-driven, constructive. Acknowledge wins AND failures.
|
|
14
|
-
**Prime Directive:** Detect "Fake Work," "Value Dysmorphia," and "Strategic Drift."
|
|
15
|
-
**The Gospel Rule:** Data > Feelings. Do not believe self-assessment without evidence.
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## 0. PRE-FLIGHT
|
|
20
|
-
|
|
21
|
-
Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
|
|
22
|
-
|
|
23
|
-
LOAD (Memory Hierarchy):
|
|
24
|
-
1. Auto_Learnings.md (P0)
|
|
25
|
-
2. Active_Context.md (P1)
|
|
26
|
-
3. Strategy.md (P2)
|
|
27
|
-
4. Identity_Prime.md (P3)
|
|
28
|
-
5. Mover_Dossier.md (P3)
|
|
29
|
-
6. Last 3 Daily Notes (P5) — yesterday + 2 days before, needed for multi-day pattern detection. Delegate reading to subagents (model: haiku) to keep main context clean. Extract: task completion rates, energy patterns, carry-over tasks, session log signals.
|
|
30
|
-
7. Active project's `project_state.md` (P4) — get project path from Active_Context `## 4. TECHNICAL CONTEXT`. Read current phase, blockers, last milestone. Proactive load, not reactive.
|
|
31
|
-
8. Active_Context `## 6. ACTIVE SESSIONS` — rolling session buffer for operational context on recent work.
|
|
32
|
-
|
|
33
|
-
CONSTRAINTS:
|
|
34
|
-
- All verdicts grounded in log data, not assumptions
|
|
35
|
-
- Confidence < 3 = flag, don't assert
|
|
36
|
-
- No banned phrases (emdashes, "great question", etc.)
|
|
37
|
-
- Append-only to Auto_Learnings.md
|
|
38
|
-
- Windows: no && in commands
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## 1. PREREQUISITE CHECK
|
|
43
|
-
|
|
44
|
-
- Today's Daily Note exists
|
|
45
|
-
- Strategy.md exists
|
|
46
|
-
- Identity_Prime.md exists
|
|
47
|
-
|
|
48
|
-
If Daily Note missing: BLOCK. "Create today's Daily Note first, or run `/plan-tomorrow`."
|
|
49
|
-
If Strategy missing: BLOCK. "Run `/setup` to create your Strategy."
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## 2. DATA INTEGRITY CHECK
|
|
54
|
-
|
|
55
|
-
Scan the Daily Note for: **Sleep Duration**, **Deep Sleep**, **Diet/Food**, **Deep Work Hours**.
|
|
56
|
-
|
|
57
|
-
IF any are missing or vague (e.g., "slept ok"):
|
|
58
|
-
- STOP the analysis.
|
|
59
|
-
- Output: "MISSING DATA: I cannot analyze without the fuel gauge. Please input: [Missing Metric]. Then we proceed."
|
|
60
|
-
- Do not hallucinate a verdict without data.
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## 3. CONTEXT INJECTION
|
|
65
|
-
|
|
66
|
-
Read these files and extract the map:
|
|
67
|
-
|
|
68
|
-
**From Strategy.md:** Primary Metric, Hypothesis, Daily Volume Targets, Variables, Constants.
|
|
69
|
-
**From Identity_Prime.md:** Core Identity, Anti-Identity triggers, Non-negotiables.
|
|
70
|
-
**From Active_Context.md:** Current project, phase, blockers, energy. Also read `## 6. ACTIVE SESSIONS` for operational context on what was worked on across recent sessions.
|
|
71
|
-
**From Auto_Learnings.md:** Last 5 entries. Cross-reference with today's log.
|
|
72
|
-
**From Daily Note:** Full content, especially Session Log and task list.
|
|
73
|
-
|
|
74
|
-
### The Context Hunter
|
|
75
|
-
If logs mention a Project, Person, or Concept you don't fully grasp:
|
|
76
|
-
- SEARCH `01_Projects/` or `02_Areas/` for it.
|
|
77
|
-
- READ the project's plan.md or project_state.md.
|
|
78
|
-
- Do NOT guess. [Mover_Global_Rules.md: S2]
|
|
79
|
-
|
|
80
|
-
### The Attachment Hunter
|
|
81
|
-
If user linked a file (e.g., `@[file.pdf]` or `[[Project.md]]`):
|
|
82
|
-
- You MUST read that file.
|
|
83
|
-
- Add a KEY INSIGHT about it.
|
|
84
|
-
|
|
85
|
-
### The Pattern Context
|
|
86
|
-
Cross-reference: Are any patterns from Auto_Learnings appearing in today's log?
|
|
87
|
-
If yes: flag as RECURRING. If new pattern: flag as NEW.
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## 4. THE ANALYSIS PROTOCOL (Internal)
|
|
92
|
-
|
|
93
|
-
**Baseline Check:** Read `Metrics_Log.md` Section `## Baseline`. If populated (has actual numbers from 20+ daily entries): use baseline comparisons in verdicts ("Your completion rate today was X% vs baseline Y%"). If empty or missing: this user is still building their baseline. Frame verdicts as data collection, not judgment. Skip Value Score. Replace "FAIL" with "Building baseline — [X] days of data so far." The system earns the right to judge by first understanding the user's patterns.
|
|
94
|
-
|
|
95
|
-
Perform these checks. Do not output this monologue directly.
|
|
96
|
-
|
|
97
|
-
### 4A.pre Critical Path Check
|
|
98
|
-
|
|
99
|
-
Before scoring strategy alignment, determine whether today's work is on the critical path. Uses project_state.md (loaded in Pre-Flight item 7) + sessions buffer (item 8).
|
|
100
|
-
|
|
101
|
-
1. **What is the stated Single Test?** Read from today's Daily Note `## Focus` section.
|
|
102
|
-
2. **What are its prerequisites?** Using project_state.md current phase, plan.md task dependencies, and Active_Context Technical Context, identify what must be done before the Single Test goal can be achieved.
|
|
103
|
-
3. **Is today's work a direct prerequisite?** Classify today's actual work:
|
|
104
|
-
- `[DIRECT]` — working on the Single Test itself
|
|
105
|
-
- `[PREREQUISITE]` — working on something that unblocks the Single Test (strategic, not drift)
|
|
106
|
-
- `[DRIFT]` — unrelated work that doesn't advance the critical path
|
|
107
|
-
4. **Low confidence guard:** If Confidence < 3 on prerequisite status, label as `[INFERRED]` and don't assert drift. "This appears to be prerequisite work, but I'm not certain of the dependency chain."
|
|
108
|
-
|
|
109
|
-
Output: `Critical Path: [DIRECT|PREREQUISITE|DRIFT]` — this verdict feeds into 4A and 4E below.
|
|
110
|
-
|
|
111
|
-
### 4A. Strategy Audit
|
|
112
|
-
Compare Daily Log inputs VS Strategy.md Targets.
|
|
113
|
-
- Volume low? -> "Execution Failure" (Discipline issue).
|
|
114
|
-
- Volume high but Results low? -> "Strategy Failure" (Hypothesis issue).
|
|
115
|
-
Cite: [Strategy.md:LX] for targets. [Daily Note] for actual.
|
|
116
|
-
|
|
117
|
-
**Override Audit:** Scan Session Log for `[OVERRIDE]` entries. Count them.
|
|
118
|
-
- 0 overrides: plan was followed or no friction was needed.
|
|
119
|
-
- 1 override with good reason: acceptable adaptation. Note it, don't penalize.
|
|
120
|
-
- 2+ overrides OR overrides with no stated reason: "You overrode your plan [X] times today. The plan said [Priority 1]. You did [actual]. Was this strategic adaptation or avoidance?"
|
|
121
|
-
- If Sacrifice was overridden: flag explicitly. "You banned [X] today and did [X] anyway. That's not a plan, it's a suggestion."
|
|
122
|
-
|
|
123
|
-
### 4B. Value Dysmorphia Check
|
|
124
|
-
Did user spend hours on "Tooling/Setup" to avoid "The Work" (Sales/Content)?
|
|
125
|
-
Score 0 (avoidance) to 100 (did the Hard Thing from Strategy).
|
|
126
|
-
If overrides exist: factor them into the score. An override that moved toward the Hard Thing raises the score. An override that moved away from it tanks it.
|
|
127
|
-
|
|
128
|
-
### 4C. Battery Calculation
|
|
129
|
-
- Nutrition: Estimate Kcals/Protein. Mark as `[ESTIMATED]` — these are rough calculations, not measured. Flag if estimate < 2000kcal ("Under-fueled").
|
|
130
|
-
- Rest: Sum integrated rest minutes (Naps/Walks).
|
|
131
|
-
- Crash Prediction:
|
|
132
|
-
- High Work (8h+) + Low Rest (<30m) = Crash Imminent.
|
|
133
|
-
- Low Work (<2h) + High Sleep = Zone 1 Slump.
|
|
134
|
-
|
|
135
|
-
### 4D. Pattern Recurrence (Scientific)
|
|
136
|
-
For every failure, determine root cause:
|
|
137
|
-
1. **Execution Failure:** Input < Target. -> "Discipline issue. Hit volume."
|
|
138
|
-
Do NOT flag as pattern unless chronic.
|
|
139
|
-
2. **Hypothesis Failure:** Input = Target BUT Metric Low. -> "Variable failure. Iterate."
|
|
140
|
-
Flag as pattern.
|
|
141
|
-
3. **Constant Failure:** Constants changed. -> "Reset constants."
|
|
142
|
-
|
|
143
|
-
If root cause matches existing entry in Auto_Learnings: RECURRING.
|
|
144
|
-
If new: mark as NEW.
|
|
145
|
-
|
|
146
|
-
**FALSE CAUSATION GUARD:** Do NOT attribute causation from a single day's data. Correlation requires 3+ observations. If you see "bad sleep = low output" on one day, that's an observation, not a pattern. Label it: "Possible correlation (1 data point). Watching." Do not blame-shift — find root causes, don't pin blame on the easiest variable. [Mover_Global_Rules.md: S2]
|
|
147
|
-
|
|
148
|
-
### 4E. Leverage Audit
|
|
149
|
-
Compare how the user spent their time vs what Strategy.md says the bottleneck is.
|
|
150
|
-
- If Strategy says "Send 50 DMs" but user spent 4h on tooling: "You spent [X]h on [low-leverage task] while the Strategy bottleneck ([Y]) got [Z] attention. Intentional?"
|
|
151
|
-
- If user spent time building/planning when the bottleneck is execution: call it out directly.
|
|
152
|
-
- Be careful not to hallucinate — only flag if you have clear evidence from the Session Log and task list.
|
|
153
|
-
- Confidence labeling required: this is inference, not fact.
|
|
154
|
-
- **Use Critical Path verdict from 4A.pre:** If today's work is `[DIRECT]` or `[PREREQUISITE]`, it IS strategic even if it doesn't directly touch the Primary Metric. Only `[DRIFT]` work gets the normal leverage comparison. Prerequisite work that unblocks the Single Test is high-leverage by definition.
|
|
155
|
-
|
|
156
|
-
**Leverage Check (Naval Framework):**
|
|
157
|
-
Classify today's work on this axis — be honest, not generous:
|
|
158
|
-
- **Labor:** Paid once, no accumulation. (Calls, admin, one-off tasks, fixes)
|
|
159
|
-
- **Leverage-building:** Compounds over time. (Code/systems, content, specific knowledge, reputation, relationships)
|
|
160
|
-
|
|
161
|
-
Ask: "What percentage of today's work builds leverage that works while you sleep vs labor that has to be repeated?"
|
|
162
|
-
If labor > 80%: "Today was mostly labor. Tomorrow, what's one thing you can build that pays dividends without you doing it again?"
|
|
163
|
-
Surface from Mover_Dossier.md: is the user's specific knowledge being deployed or staying dormant?
|
|
164
|
-
One sentence verdict only — don't lecture.
|
|
165
|
-
|
|
166
|
-
### 4F. Behavioral Pattern Detection
|
|
167
|
-
Scan across today's Daily Note AND the last 3 Daily Notes for recurring user behaviors:
|
|
168
|
-
- **Avoidance patterns:** Hard tasks planned but not executed 2+ days in a row
|
|
169
|
-
- **Energy patterns:** Crashes at the same time each day, low output after specific activities
|
|
170
|
-
- **Scope creep:** Starting new things before finishing current ones
|
|
171
|
-
- **Planning addiction:** Spending disproportionate time organizing vs executing
|
|
172
|
-
|
|
173
|
-
If a pattern is detected with 3+ data points: log as `PATTERN:` entry in Auto_Learnings.md.
|
|
174
|
-
If fewer than 3 data points: note as "watching" but do NOT assert. [Mover_Global_Rules.md: S2, S11]
|
|
175
|
-
|
|
176
|
-
### 4G. Input Audit (Environment & Identity Alignment)
|
|
177
|
-
Review the day's logs for evidence of what the user consumed and who they interacted with:
|
|
178
|
-
- **Content inputs:** What did they watch, read, listen to? Did it reinforce the evolved identity or feed the Anti-Identity?
|
|
179
|
-
- **Social inputs:** Who did they spend time with? Energy-givers or energy-drainers?
|
|
180
|
-
- **Environmental inputs:** Where did they work? Optimized for focus or cluttered with distractions?
|
|
181
|
-
- **Habitual inputs:** Any autopilot behaviors detected? (e.g., opened social media before starting The Frog, defaulted to "easy tasks" first)
|
|
182
|
-
|
|
183
|
-
Score: "Your inputs today were [X]% aligned with the identity you're building."
|
|
184
|
-
If < 50%: "Your environment is working against you. One change for tomorrow: [specific suggestion]."
|
|
185
|
-
If > 80%: "Strong alignment. Your environment is reinforcing the right identity."
|
|
186
|
-
|
|
187
|
-
This is not a lecture. One sentence verdict, one suggestion if needed. The system measures what gets measured.
|
|
188
|
-
|
|
189
|
-
### 4H. Wisdom Hunt
|
|
190
|
-
Read logs again. Ignore tasks. Look for thinking:
|
|
191
|
-
- **Undertone:** What is user feeling but not saying? (e.g., "tinkered with fonts" = fear of shipping)
|
|
192
|
-
- **Avoidance:** Talking about theory instead of executing strategy?
|
|
193
|
-
- **Thought Collector:** Scan for "I want to...", "I realized...", "I am thinking about..."
|
|
194
|
-
Convert loose thoughts into concrete action plans.
|
|
195
|
-
- **Connective Tissue:** Link today's struggle to yesterday's. Are they looping?
|
|
196
|
-
|
|
197
|
-
### 4I. Narrative Split
|
|
198
|
-
- **Track A (Tactical):** Specific behavioral corrections for tomorrow. For the Daily Note.
|
|
199
|
-
- **Track B (Universal):** Evergreen principles that apply forever. For the Library.
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
## 5. THE SURGERY (Direct File Edit)
|
|
204
|
-
|
|
205
|
-
DIRECTLY EDIT THE FILE. Do not chat first.
|
|
206
|
-
|
|
207
|
-
### 5A. Update Dashboard
|
|
208
|
-
Locate `## Battery` and overwrite values:
|
|
209
|
-
|
|
210
|
-
| Metric | Value | Status | Notes |
|
|
211
|
-
|--------|-------|--------|-------|
|
|
212
|
-
| Zone | [1-7] | [Status] | Based on Intensity vs Rest |
|
|
213
|
-
| True Work | [X]h | [Status] | Strategic hours only |
|
|
214
|
-
| Rest | [X]m | [Status] | Valid Integrated Rest |
|
|
215
|
-
| Sleep | [X]h | [Status] | Deep: [Y]h ([Z]%) |
|
|
216
|
-
| Calories | ~[X] [EST] | [Status] | Surplus/Deficit estimate |
|
|
217
|
-
| Protein | [X]g | [Status] | Target 180g |
|
|
218
|
-
| Strategy | [Status] | [Status] | On Track vs Drifting |
|
|
219
|
-
| Value Score | [X]/100 | [Status] | 0=avoidance, 100=did the Hard Thing |
|
|
220
|
-
|
|
221
|
-
### 5B. Update Rudder
|
|
222
|
-
Locate `## Rudder` and insert:
|
|
223
|
-
- **Verdict:** [Brutal analysis with citations]
|
|
224
|
-
- **Volume Check:** [Did they hit daily volume? Cite Strategy.md targets]
|
|
225
|
-
- **Value Score:** [X]/100 — [Was time spent on the Hard Thing or avoidance?]
|
|
226
|
-
- **Battery Status:** [Energy assessment with crash prediction]
|
|
227
|
-
- **System Tweak:** [Prescriptive fix for tomorrow]
|
|
228
|
-
|
|
229
|
-
### 5C. Update Key Insights (Track A Only)
|
|
230
|
-
Target: `## Key Insights`
|
|
231
|
-
Write 1-3 bullets. Tactical advice for tomorrow only. No universal wisdom here.
|
|
232
|
-
|
|
233
|
-
### 5D. Update Auto_Learnings.md (Scientific)
|
|
234
|
-
|
|
235
|
-
**Before writing:** Auto_Learnings.md is an Engine file. Present proposed changes to the user and WAIT FOR CONFIRMATION before writing. [Mover_Global_Rules.md: S3, S8]
|
|
236
|
-
|
|
237
|
-
Structure for each pattern:
|
|
238
|
-
```markdown
|
|
239
|
-
## Pattern: [Name]
|
|
240
|
-
**Domain:** [Business/Vitality/Mind]
|
|
241
|
-
**Hypothesis:** [Vx]
|
|
242
|
-
**Suspected Variable:** [Name]
|
|
243
|
-
**Status:** [ACTIVE/RESOLVED]
|
|
244
|
-
**Confidence:** [1-5]
|
|
245
|
-
**Severity:** [LOW/MED/HIGH]
|
|
246
|
-
**Last Updated:** [YYYY-MM-DD]
|
|
247
|
-
**Evidence:** [What triggered this]
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
Logic:
|
|
251
|
-
- **Recurring:** Increment Confidence. Update date. Append evidence.
|
|
252
|
-
- **New:** Create entry (Confidence: 1). Estimate severity.
|
|
253
|
-
- **Absent 10+ days:** Reduce confidence by 1.
|
|
254
|
-
- **Absent 21+ days:** Set Status to RESOLVED.
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
## 6. SELF-VERIFICATION (CISC)
|
|
259
|
-
|
|
260
|
-
Before outputting to user, self-check:
|
|
261
|
-
1. All Dashboard values cite data from the Daily Note? (90%+)
|
|
262
|
-
2. All Strategy verdicts cite Strategy.md targets? (90%+)
|
|
263
|
-
3. Pattern entries in Auto_Learnings follow the scientific structure?
|
|
264
|
-
4. No Track B wisdom in Key Insights? (Track B goes to Library)
|
|
265
|
-
|
|
266
|
-
If any section < 90% confident: flag it.
|
|
267
|
-
|
|
268
|
-
---
|
|
269
|
-
|
|
270
|
-
## 7. STRATEGIC INTERVIEW
|
|
271
|
-
|
|
272
|
-
Output to user after file edits:
|
|
273
|
-
|
|
274
|
-
### 7A. Audit Report
|
|
275
|
-
- "Audit complete. File updated."
|
|
276
|
-
- "Verdict: [Pass/Fail]"
|
|
277
|
-
- "Battery: Zone [X]"
|
|
278
|
-
|
|
279
|
-
### 7B. Daily Deposit (Track B - MANDATORY)
|
|
280
|
-
Scan logs for universal insights (Track B). Look for the INTENT, not literal phrases. Indicators include:
|
|
281
|
-
- Breakthrough moments ("I realized...", "This changes everything...", insight language)
|
|
282
|
-
- Principle formation ("The rule is...", "Always/Never...", pattern language)
|
|
283
|
-
- Hard-won lessons (debugging breakthroughs, strategy shifts, identity moments)
|
|
284
|
-
|
|
285
|
-
Do NOT match on common phrases used in casual context (e.g., "this is the way" as agreement). Match on the meaning behind the words.
|
|
286
|
-
|
|
287
|
-
If ANY Track B insight found:
|
|
288
|
-
1. Write to `03_Library/Principles/[Domain]_Principles.md`
|
|
289
|
-
2. Tag: `[PROVEN]`, `[THEORY]`, or `[UNPROVEN]`
|
|
290
|
-
3. Log: "DAILY DEPOSIT: [Topic]: [Principle] [STATUS]. Written to: [path]"
|
|
291
|
-
|
|
292
|
-
If Track B found but not written: analysis is INCOMPLETE.
|
|
293
|
-
|
|
294
|
-
### 7C. Pattern Alert
|
|
295
|
-
- Confidence >= 3 AND Severity HIGH: "PATTERN CONFIRMED: [Name] (Conf: [X]). Blocks Strategy. Strategy.md update recommended."
|
|
296
|
-
- Confidence >= 3 AND Severity LOW/MED: "Pattern Confirmed: [Name] (Conf: [X]). Tracking."
|
|
297
|
-
- NEW: "New Signal: Tracking '[Name]' (Conf: 1)."
|
|
298
|
-
|
|
299
|
-
### 7D. The Interrogation Loop (Variable - Not Fixed)
|
|
300
|
-
Based on today's data, identify the top 1-3 struggles.
|
|
301
|
-
"Looking at the logs, these things stand out:"
|
|
302
|
-
1. [Struggle 1]
|
|
303
|
-
2. [Struggle 2]
|
|
304
|
-
|
|
305
|
-
"Let's tackle [Struggle 1]. [Ask one high-impact question]."
|
|
306
|
-
|
|
307
|
-
**Behavioral rules for this loop:**
|
|
308
|
-
- Do NOT accept "I was tired" or "I didn't feel like it" as root causes. Those are symptoms. Push: "Tired from what? What drained you? Was it the task itself or what happened before it?"
|
|
309
|
-
- Do NOT accept "I'll do better tomorrow" as a plan. That's a wish. Push: "What SPECIFIC thing changes tomorrow? What system prevents this from repeating?"
|
|
310
|
-
- If user identifies a struggle but has no explanation: "The fact that you can't explain why tells me the root cause is deeper. Let's find it."
|
|
311
|
-
- One struggle at a time. Wait for user reply before moving to next. BUILD the fix with them.
|
|
312
|
-
|
|
313
|
-
The number of questions depends on the day. Light day = 1 question. Heavy day = 3.
|
|
314
|
-
|
|
315
|
-
### 7E. Reflection
|
|
316
|
-
After struggles addressed: "What worked well today? What didn't? Why?"
|
|
317
|
-
Capture insights for tomorrow's plan.
|
|
318
|
-
|
|
319
|
-
### 7F. Failed Task Detection
|
|
320
|
-
Scan: Has any task been carried over 3+ days?
|
|
321
|
-
If yes: "You've been avoiding [Task] for [X] days. Is it important? Why? Break it down?"
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
## 8. CONTEXT UPDATE
|
|
326
|
-
|
|
327
|
-
**Active_Context is NOT optional.** This is the bridge between sessions and days. If it's stale (>2 days since last update), updating it is mandatory, not suggested.
|
|
328
|
-
|
|
329
|
-
At end of analysis, propose Active_Context.md updates:
|
|
330
|
-
|
|
331
|
-
1. Current Project and Phase
|
|
332
|
-
2. Updated Blockers (resolved and new)
|
|
333
|
-
3. Energy Level and trend (improving/declining/stable)
|
|
334
|
-
4. Key decisions made today (if significant: create `03_Library/Entities/Decisions/[YYYY-MM-DD]-[Topic].md`)
|
|
335
|
-
5. Any project scope changes or pivots
|
|
336
|
-
6. Commitments check: "Did you promise anything to anyone today?" If yes, add to `## 8.5 COMMITMENTS`.
|
|
337
|
-
7. Brain dump (ask: "Anything else on your mind before we close?")
|
|
338
|
-
8. **Identity Snapshot (S5):** Refresh from Identity_Prime.md — Archetype, Core Drive, The Code (top 3), Anti-Identity (full triggers), Current Ritual. This is the cache that light workflows read instead of the full Identity file.
|
|
339
|
-
9. **Active Patterns (S5.5):** Extract all patterns from Auto_Learnings.md at Confidence 3+. Format: `[PATTERN/CORRECTION] [Description] (Conf [X], [SEVERITY]) — Suggested: /[workflow]`. Light workflows read this instead of the full Auto_Learnings file.
|
|
340
|
-
|
|
341
|
-
"Based on today's analysis, I'd like to update Active_Context.md with: [Changes]. Approve?"
|
|
342
|
-
|
|
343
|
-
WAIT FOR CONFIRMATION. Never update silently. [Mover_Global_Rules.md: S3]
|
|
344
|
-
|
|
345
|
-
After confirmation, also write workflow state: `analyse_day_last_run: [YYYY-MM-DD]` to Active_Context.md.
|
|
346
|
-
|
|
347
|
-
If Active_Context hasn't been updated in 3+ days: "Active_Context is [X] days stale. This degrades every workflow that reads it. Updating now."
|
|
348
|
-
|
|
349
|
-
If tough day detected: "Consider running `/debug-resistance` to work through the block."
|
|
350
|
-
|
|
351
|
-
---
|
|
352
|
-
|
|
353
|
-
## 9. PROACTIVE SUGGESTIONS
|
|
354
|
-
|
|
355
|
-
**CORRECTION Pre-Check:** Before routing patterns, scan Auto_Learnings.md for CORRECTION entries with Status: ACTIVE or DEFERRED. Surface these separately:
|
|
356
|
-
- ACTIVE corrections (unresolved): "Correction '[name]' is still active (Conf [X]). Was this addressed today?"
|
|
357
|
-
- DEFERRED corrections >30 days old: "Correction '[name]' was deferred on [date]. Still relevant?"
|
|
358
|
-
- AI correction repeated 3x+ (Conf 5): "Recurring AI behavior issue: [name]. Propose inline fix or defer to `/review-week` 3H."
|
|
359
|
-
|
|
360
|
-
Based on observations during analysis:
|
|
361
|
-
1. [Pattern/suggestion] - Confidence: [X]
|
|
362
|
-
2. [Pattern/suggestion] - Confidence: [X]
|
|
363
|
-
|
|
364
|
-
**Pattern → Workflow Routing** [Mover_Global_Rules.md: S12]:
|
|
365
|
-
For any Auto_Learnings pattern with Confidence 3+, suggest the specific workflow that addresses it:
|
|
366
|
-
- Avoidance/resistance (Conf 3+) → "Run `/debug-resistance` to work through the block."
|
|
367
|
-
- Strategy misalignment (Conf 3+) → "Run `/pivot-strategy` to formally address the drift."
|
|
368
|
-
- Recurring task failure (Conf 3+) → "Run `/refactor-plan` to restructure the stuck tasks."
|
|
369
|
-
- Identity drift (Conf 3+) → "Flag for `/review-week` identity audit."
|
|
370
|
-
- Planning addiction (Conf 3+) → "You're over-planning again. Run `/debug-resistance` on the avoidance."
|
|
371
|
-
- Scope creep (Conf 3+) → "Run `/refactor-plan` or `/overview` to reset scope."
|
|
372
|
-
- AI correction repeated 3x+ (Conf 5) → "Structural AI issue. Propose inline fix via S11 Trigger A or defer to `/review-week` 3H."
|
|
373
|
-
|
|
374
|
-
Don't just say "pattern detected." Route to the fix.
|
|
375
|
-
|
|
376
|
-
"Want me to address any of these?"
|
|
377
|
-
|
|
378
|
-
---
|
|
379
|
-
|
|
380
|
-
## 10. ANSWER GATING
|
|
381
|
-
|
|
382
|
-
Do not suggest handoff until:
|
|
383
|
-
- All interrogation questions answered (or explicitly skipped)
|
|
384
|
-
- Active_Context update confirmed (or declined)
|
|
385
|
-
- Key outputs confirmed
|
|
386
|
-
|
|
387
|
-
If pending: "You haven't answered [X]. Wait or proceed?"
|
|
388
|
-
|
|
389
|
-
---
|
|
390
|
-
|
|
391
|
-
## HANDOFF
|
|
392
|
-
|
|
393
|
-
Sources used: [List files read]
|
|
394
|
-
Confidence range: [X-Y]
|
|
395
|
-
|
|
396
|
-
**Next:** "Analysis complete. Ready to run `/plan-tomorrow` to generate tomorrow's Battle Plan?"
|
|
397
|
-
|
|
398
|
-
Key rules still active:
|
|
399
|
-
- All claims must be grounded
|
|
400
|
-
- Confidence < 3 = ask, don't assert
|
|
401
|
-
- Cite sources before claims
|
|
1
|
+
---
|
|
2
|
+
description: End-of-day analysis. Reads Session Log, audits strategy, updates Dashboard & Rudder, proposes Active_Context updates.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Daily Analysis (V4)
|
|
6
|
+
|
|
7
|
+
**Trigger:** User runs `/analyse-day`
|
|
8
|
+
**Target:** Today's Daily Note (currently open file).
|
|
9
|
+
**Role:** Strategic Analyst.
|
|
10
|
+
**Task:** Audit today against Strategy. Detect drift, fake work, and patterns. Update Active_Context.
|
|
11
|
+
**Risk Tier:** MEDIUM (file edits) / HIGH (Strategy recommendations)
|
|
12
|
+
|
|
13
|
+
**Tone:** Direct, data-driven, constructive. Acknowledge wins AND failures.
|
|
14
|
+
**Prime Directive:** Detect "Fake Work," "Value Dysmorphia," and "Strategic Drift."
|
|
15
|
+
**The Gospel Rule:** Data > Feelings. Do not believe self-assessment without evidence.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 0. PRE-FLIGHT
|
|
20
|
+
|
|
21
|
+
Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
|
|
22
|
+
|
|
23
|
+
LOAD (Memory Hierarchy):
|
|
24
|
+
1. Auto_Learnings.md (P0)
|
|
25
|
+
2. Active_Context.md (P1)
|
|
26
|
+
3. Strategy.md (P2)
|
|
27
|
+
4. Identity_Prime.md (P3)
|
|
28
|
+
5. Mover_Dossier.md (P3)
|
|
29
|
+
6. Last 3 Daily Notes (P5) — yesterday + 2 days before, needed for multi-day pattern detection. Delegate reading to subagents (model: haiku) to keep main context clean. Extract: task completion rates, energy patterns, carry-over tasks, session log signals.
|
|
30
|
+
7. Active project's `project_state.md` (P4) — get project path from Active_Context `## 4. TECHNICAL CONTEXT`. Read current phase, blockers, last milestone. Proactive load, not reactive.
|
|
31
|
+
8. Active_Context `## 6. ACTIVE SESSIONS` — rolling session buffer for operational context on recent work.
|
|
32
|
+
|
|
33
|
+
CONSTRAINTS:
|
|
34
|
+
- All verdicts grounded in log data, not assumptions
|
|
35
|
+
- Confidence < 3 = flag, don't assert
|
|
36
|
+
- No banned phrases (emdashes, "great question", etc.)
|
|
37
|
+
- Append-only to Auto_Learnings.md
|
|
38
|
+
- Windows: no && in commands
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 1. PREREQUISITE CHECK
|
|
43
|
+
|
|
44
|
+
- Today's Daily Note exists
|
|
45
|
+
- Strategy.md exists
|
|
46
|
+
- Identity_Prime.md exists
|
|
47
|
+
|
|
48
|
+
If Daily Note missing: BLOCK. "Create today's Daily Note first, or run `/plan-tomorrow`."
|
|
49
|
+
If Strategy missing: BLOCK. "Run `/setup` to create your Strategy."
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 2. DATA INTEGRITY CHECK
|
|
54
|
+
|
|
55
|
+
Scan the Daily Note for: **Sleep Duration**, **Deep Sleep**, **Diet/Food**, **Deep Work Hours**.
|
|
56
|
+
|
|
57
|
+
IF any are missing or vague (e.g., "slept ok"):
|
|
58
|
+
- STOP the analysis.
|
|
59
|
+
- Output: "MISSING DATA: I cannot analyze without the fuel gauge. Please input: [Missing Metric]. Then we proceed."
|
|
60
|
+
- Do not hallucinate a verdict without data.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## 3. CONTEXT INJECTION
|
|
65
|
+
|
|
66
|
+
Read these files and extract the map:
|
|
67
|
+
|
|
68
|
+
**From Strategy.md:** Primary Metric, Hypothesis, Daily Volume Targets, Variables, Constants.
|
|
69
|
+
**From Identity_Prime.md:** Core Identity, Anti-Identity triggers, Non-negotiables.
|
|
70
|
+
**From Active_Context.md:** Current project, phase, blockers, energy. Also read `## 6. ACTIVE SESSIONS` for operational context on what was worked on across recent sessions.
|
|
71
|
+
**From Auto_Learnings.md:** Last 5 entries. Cross-reference with today's log.
|
|
72
|
+
**From Daily Note:** Full content, especially Session Log and task list.
|
|
73
|
+
|
|
74
|
+
### The Context Hunter
|
|
75
|
+
If logs mention a Project, Person, or Concept you don't fully grasp:
|
|
76
|
+
- SEARCH `01_Projects/` or `02_Areas/` for it.
|
|
77
|
+
- READ the project's plan.md or project_state.md.
|
|
78
|
+
- Do NOT guess. [Mover_Global_Rules.md: S2]
|
|
79
|
+
|
|
80
|
+
### The Attachment Hunter
|
|
81
|
+
If user linked a file (e.g., `@[file.pdf]` or `[[Project.md]]`):
|
|
82
|
+
- You MUST read that file.
|
|
83
|
+
- Add a KEY INSIGHT about it.
|
|
84
|
+
|
|
85
|
+
### The Pattern Context
|
|
86
|
+
Cross-reference: Are any patterns from Auto_Learnings appearing in today's log?
|
|
87
|
+
If yes: flag as RECURRING. If new pattern: flag as NEW.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 4. THE ANALYSIS PROTOCOL (Internal)
|
|
92
|
+
|
|
93
|
+
**Baseline Check:** Read `Metrics_Log.md` Section `## Baseline`. If populated (has actual numbers from 20+ daily entries): use baseline comparisons in verdicts ("Your completion rate today was X% vs baseline Y%"). If empty or missing: this user is still building their baseline. Frame verdicts as data collection, not judgment. Skip Value Score. Replace "FAIL" with "Building baseline — [X] days of data so far." The system earns the right to judge by first understanding the user's patterns.
|
|
94
|
+
|
|
95
|
+
Perform these checks. Do not output this monologue directly.
|
|
96
|
+
|
|
97
|
+
### 4A.pre Critical Path Check
|
|
98
|
+
|
|
99
|
+
Before scoring strategy alignment, determine whether today's work is on the critical path. Uses project_state.md (loaded in Pre-Flight item 7) + sessions buffer (item 8).
|
|
100
|
+
|
|
101
|
+
1. **What is the stated Single Test?** Read from today's Daily Note `## Focus` section.
|
|
102
|
+
2. **What are its prerequisites?** Using project_state.md current phase, plan.md task dependencies, and Active_Context Technical Context, identify what must be done before the Single Test goal can be achieved.
|
|
103
|
+
3. **Is today's work a direct prerequisite?** Classify today's actual work:
|
|
104
|
+
- `[DIRECT]` — working on the Single Test itself
|
|
105
|
+
- `[PREREQUISITE]` — working on something that unblocks the Single Test (strategic, not drift)
|
|
106
|
+
- `[DRIFT]` — unrelated work that doesn't advance the critical path
|
|
107
|
+
4. **Low confidence guard:** If Confidence < 3 on prerequisite status, label as `[INFERRED]` and don't assert drift. "This appears to be prerequisite work, but I'm not certain of the dependency chain."
|
|
108
|
+
|
|
109
|
+
Output: `Critical Path: [DIRECT|PREREQUISITE|DRIFT]` — this verdict feeds into 4A and 4E below.
|
|
110
|
+
|
|
111
|
+
### 4A. Strategy Audit
|
|
112
|
+
Compare Daily Log inputs VS Strategy.md Targets.
|
|
113
|
+
- Volume low? -> "Execution Failure" (Discipline issue).
|
|
114
|
+
- Volume high but Results low? -> "Strategy Failure" (Hypothesis issue).
|
|
115
|
+
Cite: [Strategy.md:LX] for targets. [Daily Note] for actual.
|
|
116
|
+
|
|
117
|
+
**Override Audit:** Scan Session Log for `[OVERRIDE]` entries. Count them.
|
|
118
|
+
- 0 overrides: plan was followed or no friction was needed.
|
|
119
|
+
- 1 override with good reason: acceptable adaptation. Note it, don't penalize.
|
|
120
|
+
- 2+ overrides OR overrides with no stated reason: "You overrode your plan [X] times today. The plan said [Priority 1]. You did [actual]. Was this strategic adaptation or avoidance?"
|
|
121
|
+
- If Sacrifice was overridden: flag explicitly. "You banned [X] today and did [X] anyway. That's not a plan, it's a suggestion."
|
|
122
|
+
|
|
123
|
+
### 4B. Value Dysmorphia Check
|
|
124
|
+
Did user spend hours on "Tooling/Setup" to avoid "The Work" (Sales/Content)?
|
|
125
|
+
Score 0 (avoidance) to 100 (did the Hard Thing from Strategy).
|
|
126
|
+
If overrides exist: factor them into the score. An override that moved toward the Hard Thing raises the score. An override that moved away from it tanks it.
|
|
127
|
+
|
|
128
|
+
### 4C. Battery Calculation
|
|
129
|
+
- Nutrition: Estimate Kcals/Protein. Mark as `[ESTIMATED]` — these are rough calculations, not measured. Flag if estimate < 2000kcal ("Under-fueled").
|
|
130
|
+
- Rest: Sum integrated rest minutes (Naps/Walks).
|
|
131
|
+
- Crash Prediction:
|
|
132
|
+
- High Work (8h+) + Low Rest (<30m) = Crash Imminent.
|
|
133
|
+
- Low Work (<2h) + High Sleep = Zone 1 Slump.
|
|
134
|
+
|
|
135
|
+
### 4D. Pattern Recurrence (Scientific)
|
|
136
|
+
For every failure, determine root cause:
|
|
137
|
+
1. **Execution Failure:** Input < Target. -> "Discipline issue. Hit volume."
|
|
138
|
+
Do NOT flag as pattern unless chronic.
|
|
139
|
+
2. **Hypothesis Failure:** Input = Target BUT Metric Low. -> "Variable failure. Iterate."
|
|
140
|
+
Flag as pattern.
|
|
141
|
+
3. **Constant Failure:** Constants changed. -> "Reset constants."
|
|
142
|
+
|
|
143
|
+
If root cause matches existing entry in Auto_Learnings: RECURRING.
|
|
144
|
+
If new: mark as NEW.
|
|
145
|
+
|
|
146
|
+
**FALSE CAUSATION GUARD:** Do NOT attribute causation from a single day's data. Correlation requires 3+ observations. If you see "bad sleep = low output" on one day, that's an observation, not a pattern. Label it: "Possible correlation (1 data point). Watching." Do not blame-shift — find root causes, don't pin blame on the easiest variable. [Mover_Global_Rules.md: S2]
|
|
147
|
+
|
|
148
|
+
### 4E. Leverage Audit
|
|
149
|
+
Compare how the user spent their time vs what Strategy.md says the bottleneck is.
|
|
150
|
+
- If Strategy says "Send 50 DMs" but user spent 4h on tooling: "You spent [X]h on [low-leverage task] while the Strategy bottleneck ([Y]) got [Z] attention. Intentional?"
|
|
151
|
+
- If user spent time building/planning when the bottleneck is execution: call it out directly.
|
|
152
|
+
- Be careful not to hallucinate — only flag if you have clear evidence from the Session Log and task list.
|
|
153
|
+
- Confidence labeling required: this is inference, not fact.
|
|
154
|
+
- **Use Critical Path verdict from 4A.pre:** If today's work is `[DIRECT]` or `[PREREQUISITE]`, it IS strategic even if it doesn't directly touch the Primary Metric. Only `[DRIFT]` work gets the normal leverage comparison. Prerequisite work that unblocks the Single Test is high-leverage by definition.
|
|
155
|
+
|
|
156
|
+
**Leverage Check (Naval Framework):**
|
|
157
|
+
Classify today's work on this axis — be honest, not generous:
|
|
158
|
+
- **Labor:** Paid once, no accumulation. (Calls, admin, one-off tasks, fixes)
|
|
159
|
+
- **Leverage-building:** Compounds over time. (Code/systems, content, specific knowledge, reputation, relationships)
|
|
160
|
+
|
|
161
|
+
Ask: "What percentage of today's work builds leverage that works while you sleep vs labor that has to be repeated?"
|
|
162
|
+
If labor > 80%: "Today was mostly labor. Tomorrow, what's one thing you can build that pays dividends without you doing it again?"
|
|
163
|
+
Surface from Mover_Dossier.md: is the user's specific knowledge being deployed or staying dormant?
|
|
164
|
+
One sentence verdict only — don't lecture.
|
|
165
|
+
|
|
166
|
+
### 4F. Behavioral Pattern Detection
|
|
167
|
+
Scan across today's Daily Note AND the last 3 Daily Notes for recurring user behaviors:
|
|
168
|
+
- **Avoidance patterns:** Hard tasks planned but not executed 2+ days in a row
|
|
169
|
+
- **Energy patterns:** Crashes at the same time each day, low output after specific activities
|
|
170
|
+
- **Scope creep:** Starting new things before finishing current ones
|
|
171
|
+
- **Planning addiction:** Spending disproportionate time organizing vs executing
|
|
172
|
+
|
|
173
|
+
If a pattern is detected with 3+ data points: log as `PATTERN:` entry in Auto_Learnings.md.
|
|
174
|
+
If fewer than 3 data points: note as "watching" but do NOT assert. [Mover_Global_Rules.md: S2, S11]
|
|
175
|
+
|
|
176
|
+
### 4G. Input Audit (Environment & Identity Alignment)
|
|
177
|
+
Review the day's logs for evidence of what the user consumed and who they interacted with:
|
|
178
|
+
- **Content inputs:** What did they watch, read, listen to? Did it reinforce the evolved identity or feed the Anti-Identity?
|
|
179
|
+
- **Social inputs:** Who did they spend time with? Energy-givers or energy-drainers?
|
|
180
|
+
- **Environmental inputs:** Where did they work? Optimized for focus or cluttered with distractions?
|
|
181
|
+
- **Habitual inputs:** Any autopilot behaviors detected? (e.g., opened social media before starting The Frog, defaulted to "easy tasks" first)
|
|
182
|
+
|
|
183
|
+
Score: "Your inputs today were [X]% aligned with the identity you're building."
|
|
184
|
+
If < 50%: "Your environment is working against you. One change for tomorrow: [specific suggestion]."
|
|
185
|
+
If > 80%: "Strong alignment. Your environment is reinforcing the right identity."
|
|
186
|
+
|
|
187
|
+
This is not a lecture. One sentence verdict, one suggestion if needed. The system measures what gets measured.
|
|
188
|
+
|
|
189
|
+
### 4H. Wisdom Hunt
|
|
190
|
+
Read logs again. Ignore tasks. Look for thinking:
|
|
191
|
+
- **Undertone:** What is user feeling but not saying? (e.g., "tinkered with fonts" = fear of shipping)
|
|
192
|
+
- **Avoidance:** Talking about theory instead of executing strategy?
|
|
193
|
+
- **Thought Collector:** Scan for "I want to...", "I realized...", "I am thinking about..."
|
|
194
|
+
Convert loose thoughts into concrete action plans.
|
|
195
|
+
- **Connective Tissue:** Link today's struggle to yesterday's. Are they looping?
|
|
196
|
+
|
|
197
|
+
### 4I. Narrative Split
|
|
198
|
+
- **Track A (Tactical):** Specific behavioral corrections for tomorrow. For the Daily Note.
|
|
199
|
+
- **Track B (Universal):** Evergreen principles that apply forever. For the Library.
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## 5. THE SURGERY (Direct File Edit)
|
|
204
|
+
|
|
205
|
+
DIRECTLY EDIT THE FILE. Do not chat first.
|
|
206
|
+
|
|
207
|
+
### 5A. Update Dashboard
|
|
208
|
+
Locate `## Battery` and overwrite values:
|
|
209
|
+
|
|
210
|
+
| Metric | Value | Status | Notes |
|
|
211
|
+
|--------|-------|--------|-------|
|
|
212
|
+
| Zone | [1-7] | [Status] | Based on Intensity vs Rest |
|
|
213
|
+
| True Work | [X]h | [Status] | Strategic hours only |
|
|
214
|
+
| Rest | [X]m | [Status] | Valid Integrated Rest |
|
|
215
|
+
| Sleep | [X]h | [Status] | Deep: [Y]h ([Z]%) |
|
|
216
|
+
| Calories | ~[X] [EST] | [Status] | Surplus/Deficit estimate |
|
|
217
|
+
| Protein | [X]g | [Status] | Target 180g |
|
|
218
|
+
| Strategy | [Status] | [Status] | On Track vs Drifting |
|
|
219
|
+
| Value Score | [X]/100 | [Status] | 0=avoidance, 100=did the Hard Thing |
|
|
220
|
+
|
|
221
|
+
### 5B. Update Rudder
|
|
222
|
+
Locate `## Rudder` and insert:
|
|
223
|
+
- **Verdict:** [Brutal analysis with citations]
|
|
224
|
+
- **Volume Check:** [Did they hit daily volume? Cite Strategy.md targets]
|
|
225
|
+
- **Value Score:** [X]/100 — [Was time spent on the Hard Thing or avoidance?]
|
|
226
|
+
- **Battery Status:** [Energy assessment with crash prediction]
|
|
227
|
+
- **System Tweak:** [Prescriptive fix for tomorrow]
|
|
228
|
+
|
|
229
|
+
### 5C. Update Key Insights (Track A Only)
|
|
230
|
+
Target: `## Key Insights`
|
|
231
|
+
Write 1-3 bullets. Tactical advice for tomorrow only. No universal wisdom here.
|
|
232
|
+
|
|
233
|
+
### 5D. Update Auto_Learnings.md (Scientific)
|
|
234
|
+
|
|
235
|
+
**Before writing:** Auto_Learnings.md is an Engine file. Present proposed changes to the user and WAIT FOR CONFIRMATION before writing. [Mover_Global_Rules.md: S3, S8]
|
|
236
|
+
|
|
237
|
+
Structure for each pattern:
|
|
238
|
+
```markdown
|
|
239
|
+
## Pattern: [Name]
|
|
240
|
+
**Domain:** [Business/Vitality/Mind]
|
|
241
|
+
**Hypothesis:** [Vx]
|
|
242
|
+
**Suspected Variable:** [Name]
|
|
243
|
+
**Status:** [ACTIVE/RESOLVED]
|
|
244
|
+
**Confidence:** [1-5]
|
|
245
|
+
**Severity:** [LOW/MED/HIGH]
|
|
246
|
+
**Last Updated:** [YYYY-MM-DD]
|
|
247
|
+
**Evidence:** [What triggered this]
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Logic:
|
|
251
|
+
- **Recurring:** Increment Confidence. Update date. Append evidence.
|
|
252
|
+
- **New:** Create entry (Confidence: 1). Estimate severity.
|
|
253
|
+
- **Absent 10+ days:** Reduce confidence by 1.
|
|
254
|
+
- **Absent 21+ days:** Set Status to RESOLVED.
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## 6. SELF-VERIFICATION (CISC)
|
|
259
|
+
|
|
260
|
+
Before outputting to user, self-check:
|
|
261
|
+
1. All Dashboard values cite data from the Daily Note? (90%+)
|
|
262
|
+
2. All Strategy verdicts cite Strategy.md targets? (90%+)
|
|
263
|
+
3. Pattern entries in Auto_Learnings follow the scientific structure?
|
|
264
|
+
4. No Track B wisdom in Key Insights? (Track B goes to Library)
|
|
265
|
+
|
|
266
|
+
If any section < 90% confident: flag it.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## 7. STRATEGIC INTERVIEW
|
|
271
|
+
|
|
272
|
+
Output to user after file edits:
|
|
273
|
+
|
|
274
|
+
### 7A. Audit Report
|
|
275
|
+
- "Audit complete. File updated."
|
|
276
|
+
- "Verdict: [Pass/Fail]"
|
|
277
|
+
- "Battery: Zone [X]"
|
|
278
|
+
|
|
279
|
+
### 7B. Daily Deposit (Track B - MANDATORY)
|
|
280
|
+
Scan logs for universal insights (Track B). Look for the INTENT, not literal phrases. Indicators include:
|
|
281
|
+
- Breakthrough moments ("I realized...", "This changes everything...", insight language)
|
|
282
|
+
- Principle formation ("The rule is...", "Always/Never...", pattern language)
|
|
283
|
+
- Hard-won lessons (debugging breakthroughs, strategy shifts, identity moments)
|
|
284
|
+
|
|
285
|
+
Do NOT match on common phrases used in casual context (e.g., "this is the way" as agreement). Match on the meaning behind the words.
|
|
286
|
+
|
|
287
|
+
If ANY Track B insight found:
|
|
288
|
+
1. Write to `03_Library/Principles/[Domain]_Principles.md`
|
|
289
|
+
2. Tag: `[PROVEN]`, `[THEORY]`, or `[UNPROVEN]`
|
|
290
|
+
3. Log: "DAILY DEPOSIT: [Topic]: [Principle] [STATUS]. Written to: [path]"
|
|
291
|
+
|
|
292
|
+
If Track B found but not written: analysis is INCOMPLETE.
|
|
293
|
+
|
|
294
|
+
### 7C. Pattern Alert
|
|
295
|
+
- Confidence >= 3 AND Severity HIGH: "PATTERN CONFIRMED: [Name] (Conf: [X]). Blocks Strategy. Strategy.md update recommended."
|
|
296
|
+
- Confidence >= 3 AND Severity LOW/MED: "Pattern Confirmed: [Name] (Conf: [X]). Tracking."
|
|
297
|
+
- NEW: "New Signal: Tracking '[Name]' (Conf: 1)."
|
|
298
|
+
|
|
299
|
+
### 7D. The Interrogation Loop (Variable - Not Fixed)
|
|
300
|
+
Based on today's data, identify the top 1-3 struggles.
|
|
301
|
+
"Looking at the logs, these things stand out:"
|
|
302
|
+
1. [Struggle 1]
|
|
303
|
+
2. [Struggle 2]
|
|
304
|
+
|
|
305
|
+
"Let's tackle [Struggle 1]. [Ask one high-impact question]."
|
|
306
|
+
|
|
307
|
+
**Behavioral rules for this loop:**
|
|
308
|
+
- Do NOT accept "I was tired" or "I didn't feel like it" as root causes. Those are symptoms. Push: "Tired from what? What drained you? Was it the task itself or what happened before it?"
|
|
309
|
+
- Do NOT accept "I'll do better tomorrow" as a plan. That's a wish. Push: "What SPECIFIC thing changes tomorrow? What system prevents this from repeating?"
|
|
310
|
+
- If user identifies a struggle but has no explanation: "The fact that you can't explain why tells me the root cause is deeper. Let's find it."
|
|
311
|
+
- One struggle at a time. Wait for user reply before moving to next. BUILD the fix with them.
|
|
312
|
+
|
|
313
|
+
The number of questions depends on the day. Light day = 1 question. Heavy day = 3.
|
|
314
|
+
|
|
315
|
+
### 7E. Reflection
|
|
316
|
+
After struggles addressed: "What worked well today? What didn't? Why?"
|
|
317
|
+
Capture insights for tomorrow's plan.
|
|
318
|
+
|
|
319
|
+
### 7F. Failed Task Detection
|
|
320
|
+
Scan: Has any task been carried over 3+ days?
|
|
321
|
+
If yes: "You've been avoiding [Task] for [X] days. Is it important? Why? Break it down?"
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## 8. CONTEXT UPDATE
|
|
326
|
+
|
|
327
|
+
**Active_Context is NOT optional.** This is the bridge between sessions and days. If it's stale (>2 days since last update), updating it is mandatory, not suggested.
|
|
328
|
+
|
|
329
|
+
At end of analysis, propose Active_Context.md updates:
|
|
330
|
+
|
|
331
|
+
1. Current Project and Phase
|
|
332
|
+
2. Updated Blockers (resolved and new)
|
|
333
|
+
3. Energy Level and trend (improving/declining/stable)
|
|
334
|
+
4. Key decisions made today (if significant: create `03_Library/Entities/Decisions/[YYYY-MM-DD]-[Topic].md`)
|
|
335
|
+
5. Any project scope changes or pivots
|
|
336
|
+
6. Commitments check: "Did you promise anything to anyone today?" If yes, add to `## 8.5 COMMITMENTS`.
|
|
337
|
+
7. Brain dump (ask: "Anything else on your mind before we close?")
|
|
338
|
+
8. **Identity Snapshot (S5):** Refresh from Identity_Prime.md — Archetype, Core Drive, The Code (top 3), Anti-Identity (full triggers), Current Ritual. This is the cache that light workflows read instead of the full Identity file.
|
|
339
|
+
9. **Active Patterns (S5.5):** Extract all patterns from Auto_Learnings.md at Confidence 3+. Format: `[PATTERN/CORRECTION] [Description] (Conf [X], [SEVERITY]) — Suggested: /[workflow]`. Light workflows read this instead of the full Auto_Learnings file.
|
|
340
|
+
|
|
341
|
+
"Based on today's analysis, I'd like to update Active_Context.md with: [Changes]. Approve?"
|
|
342
|
+
|
|
343
|
+
WAIT FOR CONFIRMATION. Never update silently. [Mover_Global_Rules.md: S3]
|
|
344
|
+
|
|
345
|
+
After confirmation, also write workflow state: `analyse_day_last_run: [YYYY-MM-DD]` to Active_Context.md.
|
|
346
|
+
|
|
347
|
+
If Active_Context hasn't been updated in 3+ days: "Active_Context is [X] days stale. This degrades every workflow that reads it. Updating now."
|
|
348
|
+
|
|
349
|
+
If tough day detected: "Consider running `/debug-resistance` to work through the block."
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
## 9. PROACTIVE SUGGESTIONS
|
|
354
|
+
|
|
355
|
+
**CORRECTION Pre-Check:** Before routing patterns, scan Auto_Learnings.md for CORRECTION entries with Status: ACTIVE or DEFERRED. Surface these separately:
|
|
356
|
+
- ACTIVE corrections (unresolved): "Correction '[name]' is still active (Conf [X]). Was this addressed today?"
|
|
357
|
+
- DEFERRED corrections >30 days old: "Correction '[name]' was deferred on [date]. Still relevant?"
|
|
358
|
+
- AI correction repeated 3x+ (Conf 5): "Recurring AI behavior issue: [name]. Propose inline fix or defer to `/review-week` 3H."
|
|
359
|
+
|
|
360
|
+
Based on observations during analysis:
|
|
361
|
+
1. [Pattern/suggestion] - Confidence: [X]
|
|
362
|
+
2. [Pattern/suggestion] - Confidence: [X]
|
|
363
|
+
|
|
364
|
+
**Pattern → Workflow Routing** [Mover_Global_Rules.md: S12]:
|
|
365
|
+
For any Auto_Learnings pattern with Confidence 3+, suggest the specific workflow that addresses it:
|
|
366
|
+
- Avoidance/resistance (Conf 3+) → "Run `/debug-resistance` to work through the block."
|
|
367
|
+
- Strategy misalignment (Conf 3+) → "Run `/pivot-strategy` to formally address the drift."
|
|
368
|
+
- Recurring task failure (Conf 3+) → "Run `/refactor-plan` to restructure the stuck tasks."
|
|
369
|
+
- Identity drift (Conf 3+) → "Flag for `/review-week` identity audit."
|
|
370
|
+
- Planning addiction (Conf 3+) → "You're over-planning again. Run `/debug-resistance` on the avoidance."
|
|
371
|
+
- Scope creep (Conf 3+) → "Run `/refactor-plan` or `/overview` to reset scope."
|
|
372
|
+
- AI correction repeated 3x+ (Conf 5) → "Structural AI issue. Propose inline fix via S11 Trigger A or defer to `/review-week` 3H."
|
|
373
|
+
|
|
374
|
+
Don't just say "pattern detected." Route to the fix.
|
|
375
|
+
|
|
376
|
+
"Want me to address any of these?"
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
## 10. ANSWER GATING
|
|
381
|
+
|
|
382
|
+
Do not suggest handoff until:
|
|
383
|
+
- All interrogation questions answered (or explicitly skipped)
|
|
384
|
+
- Active_Context update confirmed (or declined)
|
|
385
|
+
- Key outputs confirmed
|
|
386
|
+
|
|
387
|
+
If pending: "You haven't answered [X]. Wait or proceed?"
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## HANDOFF
|
|
392
|
+
|
|
393
|
+
Sources used: [List files read]
|
|
394
|
+
Confidence range: [X-Y]
|
|
395
|
+
|
|
396
|
+
**Next:** "Analysis complete. Ready to run `/plan-tomorrow` to generate tomorrow's Battle Plan?"
|
|
397
|
+
|
|
398
|
+
Key rules still active:
|
|
399
|
+
- All claims must be grounded
|
|
400
|
+
- Confidence < 3 = ask, don't assert
|
|
401
|
+
- Cite sources before claims
|