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,239 +1,239 @@
1
- ---
2
- description: Extract permanent knowledge from any source to Library. Classify, format, link, and archive.
3
- ---
4
-
5
- # Knowledge Harvest (V4)
6
-
7
- **Trigger:** User runs `/harvest` (mid-week, end of project, or when raw content needs processing).
8
- **Target:** Any knowledge source — Solutions Ledger, files, folders, or conversation.
9
- **Role:** Senior Knowledge Engineer & Archivist.
10
- **Task:** Extract signals from noise. Format for `03_Library/`. Maintain graph integrity.
11
- **Risk Tier:** MEDIUM
12
-
13
- ---
14
-
15
- ## 0. PRE-FLIGHT
16
-
17
- Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
18
-
19
- LOAD (Light — Active_Context is the cache):
20
- 1. Active_Context.md (has Active Patterns S5.5 for correction context)
21
- 2. The project's project_state.md (P4 — Solutions Ledger is the primary harvest source)
22
-
23
- CONSTRAINTS:
24
- - Read Library directory headers BEFORE creating any new file [Mover_Global_Rules.md: S14]
25
- - Check for existing files before creating new ones
26
- - Every new file links to at least 2 existing nodes
27
- - Append-only: never delete from Solutions Ledger (move to archive)
28
- - Windows: no && in commands
29
-
30
- ---
31
-
32
- ## 1. SOURCE SELECTION
33
-
34
- Ask the user: **"What are we harvesting from?"**
35
-
36
- | Source | How it works |
37
- |--------|-------------|
38
- | **Solutions Ledger** (default) | Read `project_state.md` Solutions Ledger. Classify each entry. Archive after harvest. |
39
- | **A specific file** | User points to a file (or it's open in the editor). Read it. Extract every piece of reusable knowledge. |
40
- | **A folder** | User points to a folder (e.g., `03_Library/Marketing/`). List all files. Read each one. Extract knowledge across the batch. |
41
- | **This conversation** | Scan the current chat for decisions, lessons, solutions. Extract without needing a file. |
42
-
43
- **Detection heuristic (if user doesn't specify):**
44
- - If a project's `project_state.md` has unharvested Solutions Ledger entries → default to Solutions Ledger
45
- - If user says "harvest [folder name]" or "harvest the marketing course" → folder mode
46
- - If user says "harvest this" with a file open → that file
47
- - If ambiguous → ask
48
-
49
- **For folder mode:**
50
- 1. List all files in the folder. Show the list: "[X] files found in [folder]. Reading all of them."
51
- 2. Read each file (skip binary/images). For large files (100+ lines), read in chunks.
52
- 3. Extract knowledge from each file — same classification as Section 2.
53
- 4. Source files stay in place (no archiving — they're reference material, not a ledger).
54
-
55
- **For conversation mode:**
56
- 1. Scan the full conversation for: decisions made, problems solved, principles discovered, technical fixes, strategic insights.
57
- 2. Extract and classify — same as Section 2.
58
- 3. No archiving step (conversations aren't files).
59
-
60
- **If no harvestable content found:** "Nothing to harvest from [source]. Continue working or run `/log` to capture lessons."
61
-
62
- ---
63
-
64
- ## 2. THE CLASSIFICATION FILTER
65
-
66
- **PROJECT CONTEXT:** Identify which project you are harvesting from. State it:
67
- "Harvesting from: [Project Name] (`01_Projects/[folder]/`)"
68
- This grounds all classification decisions in the project's domain.
69
-
70
- **BIAS: INCLUSIVE.** When in doubt, harvest it. Even niche fixes save hours when the same problem resurfaces. Only skip entries that are pure noise (typos, variable renames, "updated color"). Everything else goes to Library.
71
-
72
- Classify every item in the Solutions Ledger:
73
-
74
- **TYPE A: Technical Hard Fact (Code/Config)**
75
- - Criteria: Syntax, library quirks, config settings, error fixes, platform-specific workarounds
76
- - Destination: `03_Library/Cheatsheets/`
77
-
78
- **TYPE B: Strategic Principle (Mindset/Decision)**
79
- - Criteria: "Don't build X before Y," avoidance traps, pricing models, architectural decisions
80
- - Destination: `03_Library/Principles/`
81
-
82
- **TYPE C: Process Improvement (Workflow)**
83
- - Criteria: "Always check X before deploying," QA processes, debugging patterns, setup steps
84
- - Destination: `03_Library/SOPs/`
85
-
86
- **TYPE D: Entity Memory (Person/Org/Place/Decision)**
87
- - Criteria: A named person, organization, place, or major decision with reusable context
88
- - Destination: `03_Library/Entities/People/`, `Organizations/`, `Places/`, or `Decisions/`
89
- - Use the `_TEMPLATE.md` in each folder. Update `Entities MOC.md` index row.
90
-
91
- **TYPE E: Graph Node (Concept)**
92
- - Criteria: A key concept or framework that should be a node but isn't linked
93
- - Action: Create the link or a short concept note. `[[The Flywheel]]`, `[[Specific Knowledge]]`
94
-
95
- **NOISE (skip only these):** "Fixed typo," "Renamed variable," "Updated color." Zero reuse value.
96
-
97
- ---
98
-
99
- ## 3. LIBRARY DEDUPLICATION (MANDATORY)
100
-
101
- BEFORE creating ANY file in `03_Library/`:
102
- 1. Read directory headers/file list in target folder.
103
- 2. Check if content fits an existing file.
104
- 3. If match found: APPEND to existing file.
105
- 4. If no match: CREATE new file with `[[WikiLinks]]` to related files.
106
-
107
- This prevents duplicate files. [Mover_Global_Rules.md: S14]
108
-
109
- ---
110
-
111
- ## 4. THE FORMATTING ENGINE
112
-
113
- ### For TYPE A (Cheatsheets):
114
- ```markdown
115
- ### [Topic Name]
116
- > **Up:** [[Topic MOC]]
117
- * **Context:** [1 sentence on why this matters]
118
- * **The Solution:**
119
- ```[language]
120
- [The Code Snippet or Command]
121
- ```
122
- ```
123
-
124
- ### For TYPE B (Principles):
125
- ```markdown
126
- ### [Concept Title]
127
- > **Up:** [[Topic MOC]]
128
- * **Source:** [Project Name]
129
- * **The Trap:** [What mistake did we make?]
130
- * **The Principle:** [The Universal Truth to apply next time]
131
- ```
132
-
133
- ### For TYPE C (SOPs):
134
- ```markdown
135
- ### [Process Name] Update
136
- * **Add this step:** [The specific action]
137
- * **Why:** [To prevent Error X]
138
- ```
139
-
140
- ---
141
-
142
- ## 5. GRAPH GARDENING
143
-
144
- While formatting, apply linking rules aggressively. The graph is the real value of the Library — isolated files are just notes.
145
-
146
- 1. **Aliases for flow:** `[[Strategy|current battle plan]]` not just `[[Strategy]]`. Links should read naturally in prose.
147
- 2. **Atomic concepts only:** Link entities (`[[Areeb]]`), projects (`[[Mover OS]]`), principles (`[[Polarity Paradox]]`). Not generic words.
148
- 3. **Cross-linking:** If this entry relates to an existing Cheatsheet, Principle, or SOP, add a bidirectional link. Example: a new CSS fix should link to `[[CSS_Cheatsheet]]` if it exists.
149
- 4. **MOC Genesis:** If a Major Pillar (e.g., "AI", "Negotiation") lacks a hub:
150
- - Create it in `03_Library/MOCs/`.
151
- - Link all related items to it.
152
- 5. **Upward linking:** Every child links to parent: `> **Up:** [[Topic MOC]]`
153
- 6. **Minimum 2 links:** Every new file must link to at least 2 existing nodes. Every new ENTRY in an existing file should link to at least 1 related node.
154
- 7. **Link audit:** After all entries are written, scan the output for any entities/concepts that SHOULD be linked but aren't. Add missing links.
155
-
156
- ---
157
-
158
- ## 6. PROPOSE THEN WRITE (MEDIUM-RISK PATTERN)
159
-
160
- 1. Output the proposed Library entries in chat (DO NOT write to files yet).
161
- 2. "Verify these classifications and content. Confirm before I write?"
162
- 3. WAIT FOR USER CONFIRMATION.
163
- 4. After confirmation: write to the appropriate `03_Library/` files.
164
- 5. If user corrects a classification: adjust and re-propose before writing.
165
-
166
- ---
167
-
168
- ## 7. THE CLEANUP (Anti-Duplication)
169
-
170
- **Solutions Ledger source only:**
171
- - Move harvested items from `## SOLUTIONS LEDGER` to `## ARCHIVED KNOWLEDGE (Harvested)`.
172
- - If archive section doesn't exist, create it at bottom.
173
- - Do NOT delete original text. Move it.
174
- - Cross-workflow dedup note: `/log` must check BOTH `## SOLUTIONS LEDGER` AND `## ARCHIVED KNOWLEDGE (Harvested)` when deduplicating new entries.
175
-
176
- **File or folder source:** No archiving. Source files stay in place. They're reference material. Add a note at the top of each Library entry: `Source: [[filename]]` so the origin is traceable.
177
-
178
- **Conversation source:** No archiving. Knowledge only exists in Library after harvest.
179
-
180
- ---
181
-
182
- ## 8. SELF-VERIFICATION (CISC)
183
-
184
- Before reporting:
185
- 1. All items classified correctly?
186
- 2. No duplicates created in Library?
187
- 3. All new files link to 2+ existing nodes?
188
- 4. Upward links present on all new entries?
189
-
190
- If any check fails: flag it.
191
-
192
- ---
193
-
194
- ## 9. REPORT
195
-
196
- "Harvest Complete from [Source]. Analyzed [X] items."
197
- - "HARVESTED: [Count] entries → Library"
198
- - "Cheatsheets: [Count] -> [Files]"
199
- - "Principles: [Count] -> [Files]"
200
- - "SOPs: [Count] -> [Files]"
201
- - "GRAPH: [Count] new links created."
202
- - "NOISE: [Count] trivial entries skipped"
203
- - "ARCHIVED: [Count] items moved to archive in project_state.md."
204
-
205
- ---
206
-
207
- ## 10. PROACTIVE SUGGESTIONS
208
-
209
- Based on observations during this workflow:
210
- 1. If Solutions Ledger had 5+ items not yet harvested: "Ledger is accumulating — suggests infrequent harvest. Recommend weekly cadence." - Confidence: 2
211
- 2. If a Major Pillar concept appeared repeatedly but lacks a MOC: "Candidate MOC detected: [[X]]. Want me to create it?" - Confidence: 3
212
- 3. If same failure appears in multiple ledger entries: "Recurring mistake pattern detected. Should this become a Principle?" - Confidence: 3
213
-
214
- "Want me to address any of these?"
215
-
216
- ---
217
-
218
- ## 11. SELF-IMPROVEMENT
219
-
220
- If user corrected AI during this workflow:
221
- 1. Acknowledge: "I made a mistake."
222
- 2. Identify the rule violated.
223
- 3. Append to Auto_Learnings.md:
224
- `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
225
- 4. If same correction seen 3x+, escalate confidence to 5.
226
-
227
- ---
228
-
229
- ## HANDOFF
230
-
231
- Sources used: [Selected source], 03_Library/ directory headers, Auto_Learnings.md, Active_Context.md
232
- Confidence range: [Classification confidence per item; flag any < 3]
233
-
234
- **Next:** "Harvest complete and verified. Continue working or run `/analyse-day`?"
235
-
236
- Key rules still active:
237
- - All claims must be grounded in source files
238
- - Confidence < 3 = ask, don't assert
239
- - Append-only: never delete from Solutions Ledger (move to archive only)
1
+ ---
2
+ description: Extract permanent knowledge from any source to Library. Classify, format, link, and archive.
3
+ ---
4
+
5
+ # Knowledge Harvest (V4)
6
+
7
+ **Trigger:** User runs `/harvest` (mid-week, end of project, or when raw content needs processing).
8
+ **Target:** Any knowledge source — Solutions Ledger, files, folders, or conversation.
9
+ **Role:** Senior Knowledge Engineer & Archivist.
10
+ **Task:** Extract signals from noise. Format for `03_Library/`. Maintain graph integrity.
11
+ **Risk Tier:** MEDIUM
12
+
13
+ ---
14
+
15
+ ## 0. PRE-FLIGHT
16
+
17
+ Global Rules are pre-loaded as CLAUDE.md / GEMINI.md. Output `[Rules Loaded - DATE]`.
18
+
19
+ LOAD (Light — Active_Context is the cache):
20
+ 1. Active_Context.md (has Active Patterns S5.5 for correction context)
21
+ 2. The project's project_state.md (P4 — Solutions Ledger is the primary harvest source)
22
+
23
+ CONSTRAINTS:
24
+ - Read Library directory headers BEFORE creating any new file [Mover_Global_Rules.md: S14]
25
+ - Check for existing files before creating new ones
26
+ - Every new file links to at least 2 existing nodes
27
+ - Append-only: never delete from Solutions Ledger (move to archive)
28
+ - Windows: no && in commands
29
+
30
+ ---
31
+
32
+ ## 1. SOURCE SELECTION
33
+
34
+ Ask the user: **"What are we harvesting from?"**
35
+
36
+ | Source | How it works |
37
+ |--------|-------------|
38
+ | **Solutions Ledger** (default) | Read `project_state.md` Solutions Ledger. Classify each entry. Archive after harvest. |
39
+ | **A specific file** | User points to a file (or it's open in the editor). Read it. Extract every piece of reusable knowledge. |
40
+ | **A folder** | User points to a folder (e.g., `03_Library/Marketing/`). List all files. Read each one. Extract knowledge across the batch. |
41
+ | **This conversation** | Scan the current chat for decisions, lessons, solutions. Extract without needing a file. |
42
+
43
+ **Detection heuristic (if user doesn't specify):**
44
+ - If a project's `project_state.md` has unharvested Solutions Ledger entries → default to Solutions Ledger
45
+ - If user says "harvest [folder name]" or "harvest the marketing course" → folder mode
46
+ - If user says "harvest this" with a file open → that file
47
+ - If ambiguous → ask
48
+
49
+ **For folder mode:**
50
+ 1. List all files in the folder. Show the list: "[X] files found in [folder]. Reading all of them."
51
+ 2. Read each file (skip binary/images). For large files (100+ lines), read in chunks.
52
+ 3. Extract knowledge from each file — same classification as Section 2.
53
+ 4. Source files stay in place (no archiving — they're reference material, not a ledger).
54
+
55
+ **For conversation mode:**
56
+ 1. Scan the full conversation for: decisions made, problems solved, principles discovered, technical fixes, strategic insights.
57
+ 2. Extract and classify — same as Section 2.
58
+ 3. No archiving step (conversations aren't files).
59
+
60
+ **If no harvestable content found:** "Nothing to harvest from [source]. Continue working or run `/log` to capture lessons."
61
+
62
+ ---
63
+
64
+ ## 2. THE CLASSIFICATION FILTER
65
+
66
+ **PROJECT CONTEXT:** Identify which project you are harvesting from. State it:
67
+ "Harvesting from: [Project Name] (`01_Projects/[folder]/`)"
68
+ This grounds all classification decisions in the project's domain.
69
+
70
+ **BIAS: INCLUSIVE.** When in doubt, harvest it. Even niche fixes save hours when the same problem resurfaces. Only skip entries that are pure noise (typos, variable renames, "updated color"). Everything else goes to Library.
71
+
72
+ Classify every item in the Solutions Ledger:
73
+
74
+ **TYPE A: Technical Hard Fact (Code/Config)**
75
+ - Criteria: Syntax, library quirks, config settings, error fixes, platform-specific workarounds
76
+ - Destination: `03_Library/Cheatsheets/`
77
+
78
+ **TYPE B: Strategic Principle (Mindset/Decision)**
79
+ - Criteria: "Don't build X before Y," avoidance traps, pricing models, architectural decisions
80
+ - Destination: `03_Library/Principles/`
81
+
82
+ **TYPE C: Process Improvement (Workflow)**
83
+ - Criteria: "Always check X before deploying," QA processes, debugging patterns, setup steps
84
+ - Destination: `03_Library/SOPs/`
85
+
86
+ **TYPE D: Entity Memory (Person/Org/Place/Decision)**
87
+ - Criteria: A named person, organization, place, or major decision with reusable context
88
+ - Destination: `03_Library/Entities/People/`, `Organizations/`, `Places/`, or `Decisions/`
89
+ - Use the `_TEMPLATE.md` in each folder. Update `Entities MOC.md` index row.
90
+
91
+ **TYPE E: Graph Node (Concept)**
92
+ - Criteria: A key concept or framework that should be a node but isn't linked
93
+ - Action: Create the link or a short concept note. `[[The Flywheel]]`, `[[Specific Knowledge]]`
94
+
95
+ **NOISE (skip only these):** "Fixed typo," "Renamed variable," "Updated color." Zero reuse value.
96
+
97
+ ---
98
+
99
+ ## 3. LIBRARY DEDUPLICATION (MANDATORY)
100
+
101
+ BEFORE creating ANY file in `03_Library/`:
102
+ 1. Read directory headers/file list in target folder.
103
+ 2. Check if content fits an existing file.
104
+ 3. If match found: APPEND to existing file.
105
+ 4. If no match: CREATE new file with `[[WikiLinks]]` to related files.
106
+
107
+ This prevents duplicate files. [Mover_Global_Rules.md: S14]
108
+
109
+ ---
110
+
111
+ ## 4. THE FORMATTING ENGINE
112
+
113
+ ### For TYPE A (Cheatsheets):
114
+ ```markdown
115
+ ### [Topic Name]
116
+ > **Up:** [[Topic MOC]]
117
+ * **Context:** [1 sentence on why this matters]
118
+ * **The Solution:**
119
+ ```[language]
120
+ [The Code Snippet or Command]
121
+ ```
122
+ ```
123
+
124
+ ### For TYPE B (Principles):
125
+ ```markdown
126
+ ### [Concept Title]
127
+ > **Up:** [[Topic MOC]]
128
+ * **Source:** [Project Name]
129
+ * **The Trap:** [What mistake did we make?]
130
+ * **The Principle:** [The Universal Truth to apply next time]
131
+ ```
132
+
133
+ ### For TYPE C (SOPs):
134
+ ```markdown
135
+ ### [Process Name] Update
136
+ * **Add this step:** [The specific action]
137
+ * **Why:** [To prevent Error X]
138
+ ```
139
+
140
+ ---
141
+
142
+ ## 5. GRAPH GARDENING
143
+
144
+ While formatting, apply linking rules aggressively. The graph is the real value of the Library — isolated files are just notes.
145
+
146
+ 1. **Aliases for flow:** `[[Strategy|current battle plan]]` not just `[[Strategy]]`. Links should read naturally in prose.
147
+ 2. **Atomic concepts only:** Link entities (`[[Areeb]]`), projects (`[[Mover OS]]`), principles (`[[Polarity Paradox]]`). Not generic words.
148
+ 3. **Cross-linking:** If this entry relates to an existing Cheatsheet, Principle, or SOP, add a bidirectional link. Example: a new CSS fix should link to `[[CSS_Cheatsheet]]` if it exists.
149
+ 4. **MOC Genesis:** If a Major Pillar (e.g., "AI", "Negotiation") lacks a hub:
150
+ - Create it in `03_Library/MOCs/`.
151
+ - Link all related items to it.
152
+ 5. **Upward linking:** Every child links to parent: `> **Up:** [[Topic MOC]]`
153
+ 6. **Minimum 2 links:** Every new file must link to at least 2 existing nodes. Every new ENTRY in an existing file should link to at least 1 related node.
154
+ 7. **Link audit:** After all entries are written, scan the output for any entities/concepts that SHOULD be linked but aren't. Add missing links.
155
+
156
+ ---
157
+
158
+ ## 6. PROPOSE THEN WRITE (MEDIUM-RISK PATTERN)
159
+
160
+ 1. Output the proposed Library entries in chat (DO NOT write to files yet).
161
+ 2. "Verify these classifications and content. Confirm before I write?"
162
+ 3. WAIT FOR USER CONFIRMATION.
163
+ 4. After confirmation: write to the appropriate `03_Library/` files.
164
+ 5. If user corrects a classification: adjust and re-propose before writing.
165
+
166
+ ---
167
+
168
+ ## 7. THE CLEANUP (Anti-Duplication)
169
+
170
+ **Solutions Ledger source only:**
171
+ - Move harvested items from `## SOLUTIONS LEDGER` to `## ARCHIVED KNOWLEDGE (Harvested)`.
172
+ - If archive section doesn't exist, create it at bottom.
173
+ - Do NOT delete original text. Move it.
174
+ - Cross-workflow dedup note: `/log` must check BOTH `## SOLUTIONS LEDGER` AND `## ARCHIVED KNOWLEDGE (Harvested)` when deduplicating new entries.
175
+
176
+ **File or folder source:** No archiving. Source files stay in place. They're reference material. Add a note at the top of each Library entry: `Source: [[filename]]` so the origin is traceable.
177
+
178
+ **Conversation source:** No archiving. Knowledge only exists in Library after harvest.
179
+
180
+ ---
181
+
182
+ ## 8. SELF-VERIFICATION (CISC)
183
+
184
+ Before reporting:
185
+ 1. All items classified correctly?
186
+ 2. No duplicates created in Library?
187
+ 3. All new files link to 2+ existing nodes?
188
+ 4. Upward links present on all new entries?
189
+
190
+ If any check fails: flag it.
191
+
192
+ ---
193
+
194
+ ## 9. REPORT
195
+
196
+ "Harvest Complete from [Source]. Analyzed [X] items."
197
+ - "HARVESTED: [Count] entries → Library"
198
+ - "Cheatsheets: [Count] -> [Files]"
199
+ - "Principles: [Count] -> [Files]"
200
+ - "SOPs: [Count] -> [Files]"
201
+ - "GRAPH: [Count] new links created."
202
+ - "NOISE: [Count] trivial entries skipped"
203
+ - "ARCHIVED: [Count] items moved to archive in project_state.md."
204
+
205
+ ---
206
+
207
+ ## 10. PROACTIVE SUGGESTIONS
208
+
209
+ Based on observations during this workflow:
210
+ 1. If Solutions Ledger had 5+ items not yet harvested: "Ledger is accumulating — suggests infrequent harvest. Recommend weekly cadence." - Confidence: 2
211
+ 2. If a Major Pillar concept appeared repeatedly but lacks a MOC: "Candidate MOC detected: [[X]]. Want me to create it?" - Confidence: 3
212
+ 3. If same failure appears in multiple ledger entries: "Recurring mistake pattern detected. Should this become a Principle?" - Confidence: 3
213
+
214
+ "Want me to address any of these?"
215
+
216
+ ---
217
+
218
+ ## 11. SELF-IMPROVEMENT
219
+
220
+ If user corrected AI during this workflow:
221
+ 1. Acknowledge: "I made a mistake."
222
+ 2. Identify the rule violated.
223
+ 3. Append to Auto_Learnings.md:
224
+ `* [YYYY-MM-DD] CORRECTION: [Description]. Source: User correction. Confidence: 3.`
225
+ 4. If same correction seen 3x+, escalate confidence to 5.
226
+
227
+ ---
228
+
229
+ ## HANDOFF
230
+
231
+ Sources used: [Selected source], 03_Library/ directory headers, Auto_Learnings.md, Active_Context.md
232
+ Confidence range: [Classification confidence per item; flag any < 3]
233
+
234
+ **Next:** "Harvest complete and verified. Continue working or run `/analyse-day`?"
235
+
236
+ Key rules still active:
237
+ - All claims must be grounded in source files
238
+ - Confidence < 3 = ask, don't assert
239
+ - Append-only: never delete from Solutions Ledger (move to archive only)