project-iris 0.0.12 → 0.0.14

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 (189) hide show
  1. package/README.md +214 -323
  2. package/bin/cli.js +21 -0
  3. package/flows/aidlc/README.md +372 -0
  4. package/flows/aidlc/agents/construction-agent.md +79 -0
  5. package/flows/aidlc/agents/inception-agent.md +97 -0
  6. package/flows/aidlc/agents/master-agent.md +61 -0
  7. package/flows/aidlc/agents/operations-agent.md +89 -0
  8. package/flows/aidlc/commands/construction-agent.md +63 -0
  9. package/flows/aidlc/commands/inception-agent.md +55 -0
  10. package/flows/aidlc/commands/master-agent.md +47 -0
  11. package/flows/aidlc/commands/operations-agent.md +77 -0
  12. package/flows/aidlc/context-config.yaml +67 -0
  13. package/flows/aidlc/memory-bank.yaml +104 -0
  14. package/flows/aidlc/quick-start.md +322 -0
  15. package/flows/aidlc/skills/construction/bolt-list.md +163 -0
  16. package/flows/aidlc/skills/construction/bolt-replan.md +345 -0
  17. package/flows/aidlc/skills/construction/bolt-start.md +442 -0
  18. package/flows/aidlc/skills/construction/bolt-status.md +185 -0
  19. package/flows/aidlc/skills/construction/navigator.md +196 -0
  20. package/flows/aidlc/skills/inception/bolt-plan.md +372 -0
  21. package/flows/aidlc/skills/inception/context.md +171 -0
  22. package/flows/aidlc/skills/inception/intent-create.md +211 -0
  23. package/flows/aidlc/skills/inception/intent-list.md +124 -0
  24. package/flows/aidlc/skills/inception/navigator.md +207 -0
  25. package/flows/aidlc/skills/inception/requirements.md +227 -0
  26. package/flows/aidlc/skills/inception/review.md +248 -0
  27. package/flows/aidlc/skills/inception/story-create.md +304 -0
  28. package/flows/aidlc/skills/inception/units.md +278 -0
  29. package/flows/aidlc/skills/master/analyze-context.md +239 -0
  30. package/flows/aidlc/skills/master/answer-question.md +141 -0
  31. package/flows/aidlc/skills/master/explain-flow.md +158 -0
  32. package/flows/aidlc/skills/master/project-init.md +281 -0
  33. package/flows/aidlc/skills/master/route-request.md +126 -0
  34. package/flows/aidlc/skills/operations/build.md +237 -0
  35. package/flows/aidlc/skills/operations/deploy.md +259 -0
  36. package/flows/aidlc/skills/operations/monitor.md +265 -0
  37. package/flows/aidlc/skills/operations/navigator.md +209 -0
  38. package/flows/aidlc/skills/operations/verify.md +224 -0
  39. package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt.md +3 -3
  40. package/{dist → flows/aidlc}/templates/construction/bolt-types/spike-bolt.md +2 -2
  41. package/flows/aidlc/templates/construction/construction-log-template.md +129 -0
  42. package/flows/aidlc/templates/construction/standards/coding-standards.md +29 -0
  43. package/flows/aidlc/templates/construction/standards/system-architecture.md +22 -0
  44. package/flows/aidlc/templates/construction/standards/tech-stack.md +19 -0
  45. package/flows/aidlc/templates/inception/inception-log-template.md +134 -0
  46. package/flows/aidlc/templates/inception/project/README.md +55 -0
  47. package/flows/aidlc/templates/standards/catalog.yaml +345 -0
  48. package/flows/aidlc/templates/standards/coding-standards.guide.md +553 -0
  49. package/flows/aidlc/templates/standards/data-stack.guide.md +162 -0
  50. package/flows/aidlc/templates/standards/tech-stack.guide.md +280 -0
  51. package/lib/InstallerFactory.js +36 -0
  52. package/lib/analytics/env-detector.js +92 -0
  53. package/lib/analytics/index.js +22 -0
  54. package/lib/analytics/machine-id.js +33 -0
  55. package/lib/analytics/tracker.js +232 -0
  56. package/lib/cli-utils.js +342 -0
  57. package/lib/constants.js +32 -0
  58. package/lib/installer.js +402 -0
  59. package/lib/installers/AntigravityInstaller.js +22 -0
  60. package/lib/installers/ClaudeInstaller.js +85 -0
  61. package/lib/installers/ClineInstaller.js +21 -0
  62. package/lib/installers/CodexInstaller.js +21 -0
  63. package/lib/installers/CopilotInstaller.js +113 -0
  64. package/lib/installers/CursorInstaller.js +63 -0
  65. package/lib/installers/GeminiInstaller.js +75 -0
  66. package/lib/installers/KiroInstaller.js +22 -0
  67. package/lib/installers/OpenCodeInstaller.js +22 -0
  68. package/lib/installers/RooInstaller.js +22 -0
  69. package/lib/installers/ToolInstaller.js +73 -0
  70. package/lib/installers/WindsurfInstaller.js +22 -0
  71. package/lib/markdown-validator.ts +175 -0
  72. package/lib/yaml-validator.ts +99 -0
  73. package/package.json +105 -32
  74. package/scripts/artifact-validator.js +594 -0
  75. package/scripts/bolt-complete.js +606 -0
  76. package/scripts/status-integrity.js +598 -0
  77. package/dist/bridge/agent-runner.js +0 -190
  78. package/dist/bridge/connector-factory.js +0 -31
  79. package/dist/bridge/connectors/antigravity-connector.js +0 -18
  80. package/dist/bridge/connectors/cursor-connector.js +0 -31
  81. package/dist/bridge/connectors/in-process-connector.js +0 -29
  82. package/dist/bridge/connectors/vscode-connector.js +0 -31
  83. package/dist/bridge/connectors/windsurf-connector.js +0 -23
  84. package/dist/bridge/filesystem-connector.js +0 -110
  85. package/dist/bridge/helper.js +0 -203
  86. package/dist/bridge/types.js +0 -10
  87. package/dist/cli.js +0 -40
  88. package/dist/commands/ask.js +0 -259
  89. package/dist/commands/bridge.js +0 -88
  90. package/dist/commands/create.js +0 -25
  91. package/dist/commands/develop.js +0 -141
  92. package/dist/commands/doctor.js +0 -102
  93. package/dist/commands/flow.js +0 -301
  94. package/dist/commands/framework.js +0 -273
  95. package/dist/commands/generate.js +0 -59
  96. package/dist/commands/install.js +0 -100
  97. package/dist/commands/pack.js +0 -33
  98. package/dist/commands/phase.js +0 -38
  99. package/dist/commands/run.js +0 -199
  100. package/dist/commands/status.js +0 -114
  101. package/dist/commands/uninstall.js +0 -14
  102. package/dist/commands/use.js +0 -20
  103. package/dist/commands/validate.js +0 -102
  104. package/dist/framework/framework-loader.js +0 -97
  105. package/dist/framework/framework-paths.js +0 -48
  106. package/dist/framework/framework-types.js +0 -15
  107. package/dist/iris/artifact-checker.js +0 -78
  108. package/dist/iris/artifacts/config.js +0 -68
  109. package/dist/iris/artifacts/generator.js +0 -88
  110. package/dist/iris/artifacts/types.js +0 -1
  111. package/dist/iris/bundle.js +0 -44
  112. package/dist/iris/doctrine/collector.js +0 -124
  113. package/dist/iris/fixer.js +0 -149
  114. package/dist/iris/flows/manifest.js +0 -124
  115. package/dist/iris/framework-context.js +0 -49
  116. package/dist/iris/framework-manager.js +0 -215
  117. package/dist/iris/fs/atomic.js +0 -22
  118. package/dist/iris/guard.js +0 -38
  119. package/dist/iris/importers/index.js +0 -9
  120. package/dist/iris/importers/types.js +0 -8
  121. package/dist/iris/importers/writer.js +0 -139
  122. package/dist/iris/include.js +0 -49
  123. package/dist/iris/installer.js +0 -334
  124. package/dist/iris/interactive/env.js +0 -21
  125. package/dist/iris/interactive/intent-interview.js +0 -345
  126. package/dist/iris/interactive/intent-schema.js +0 -28
  127. package/dist/iris/interactive/interview-io.js +0 -22
  128. package/dist/iris/interview/config.js +0 -71
  129. package/dist/iris/interview/types.js +0 -16
  130. package/dist/iris/interview/utils.js +0 -38
  131. package/dist/iris/manifest.js +0 -54
  132. package/dist/iris/packer.js +0 -325
  133. package/dist/iris/parsers/unit-parser.js +0 -43
  134. package/dist/iris/paths.js +0 -18
  135. package/dist/iris/policy.js +0 -133
  136. package/dist/iris/proc.js +0 -56
  137. package/dist/iris/report.js +0 -53
  138. package/dist/iris/resolver.js +0 -66
  139. package/dist/iris/router.js +0 -114
  140. package/dist/iris/routes.js +0 -189
  141. package/dist/iris/run-state.js +0 -146
  142. package/dist/iris/state.js +0 -113
  143. package/dist/iris/templates.js +0 -70
  144. package/dist/iris/tmp.js +0 -24
  145. package/dist/iris/uninstaller.js +0 -181
  146. package/dist/iris/utils/interpolate.js +0 -42
  147. package/dist/iris/validator.js +0 -391
  148. package/dist/iris/workflow/config.js +0 -51
  149. package/dist/iris/workflow/engine.js +0 -129
  150. package/dist/iris/workflow/steps.js +0 -448
  151. package/dist/iris/workflow/types.js +0 -1
  152. package/dist/iris_bundle/frameworks/iris-core/framework.yaml +0 -9
  153. package/dist/iris_bundle/frameworks/iris-core/memory/memory-bank.yaml +0 -1
  154. package/dist/iris_bundle/frameworks/iris-core/policy.yaml +0 -7
  155. package/dist/iris_bundle/frameworks/iris-core/templates/config/memory-bank.yaml +0 -1
  156. package/dist/iris_bundle/frameworks/iris-core/templates/construction/bolt-types/spike-bolt.md +0 -240
  157. package/dist/lib.js +0 -96
  158. package/dist/templates/construction/bolt-template.md +0 -226
  159. package/dist/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -49
  160. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -55
  161. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -67
  162. package/dist/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -62
  163. package/dist/templates/construction/bolt-types/ddd-construction-bolt.md +0 -528
  164. package/dist/templates/construction/bolt-types/simple-construction-bolt.md +0 -347
  165. package/dist/templates/inception/requirements-template.md +0 -144
  166. package/dist/templates/inception/stories-template.md +0 -38
  167. package/dist/templates/inception/story-template.md +0 -147
  168. package/dist/templates/inception/system-context-template.md +0 -29
  169. package/dist/templates/inception/unit-brief-template.md +0 -177
  170. package/dist/templates/inception/units-template.md +0 -52
  171. package/dist/utils/exit-codes.js +0 -7
  172. package/dist/utils/logo.js +0 -17
  173. package/dist/workflows/bolt-execution.js +0 -238
  174. package/dist/workflows/bolt-plan.js +0 -221
  175. package/dist/workflows/intent-inception.js +0 -285
  176. package/dist/workflows/memory-bank-generator.js +0 -180
  177. package/dist/workflows/reporting.js +0 -74
  178. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-template.md +0 -0
  179. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/adr-template.md +0 -0
  180. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-01-domain-model-template.md +0 -0
  181. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-02-technical-design-template.md +0 -0
  182. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/ddd-construction-bolt/ddd-03-test-report-template.md +0 -0
  183. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/construction/bolt-types/simple-construction-bolt.md +0 -0
  184. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/requirements-template.md +0 -0
  185. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/stories-template.md +0 -0
  186. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/story-template.md +0 -0
  187. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/system-context-template.md +0 -0
  188. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/unit-brief-template.md +0 -0
  189. /package/{dist/iris_bundle/frameworks/iris-core → flows/aidlc}/templates/inception/units-template.md +0 -0
@@ -0,0 +1,345 @@
1
+ # Skill: Replan Bolts (Construction Context)
2
+
3
+ ---
4
+
5
+ ## Role
6
+
7
+ Utility skill to modify bolt plans during Construction - add, split, or reorder bolts.
8
+
9
+ **NO Checkpoint** - Replanning is a utility operation. Changes are validated through normal bolt execution checkpoints.
10
+
11
+ ---
12
+
13
+ ## Goal
14
+
15
+ Replan bolts during Construction phase - add new bolts, split existing ones, or reorder based on learnings during execution.
16
+
17
+ ---
18
+
19
+ ## Input
20
+
21
+ - **Required**: `--unit` - The unit to replan bolts for
22
+ - **Required**: `.iris/aidlc/memory-bank.yaml` - artifact schema
23
+ - **Optional**: `--action` - One of: `status`, `append`, `split`, `reorder`
24
+
25
+ ---
26
+
27
+ ## Process
28
+
29
+ ### 1. Read Existing Bolts
30
+
31
+ **CRITICAL**: Always start by reading all existing bolts for the unit.
32
+
33
+ ```markdown
34
+ ## Current Bolt Status: {unit-name}
35
+
36
+ - ✅ **001-auth-service** ({bolt-type}): 001-user-signup, 002-user-login - completed - No dependencies
37
+ - ⏳ **002-auth-service** ({bolt-type}): 003-password-reset, 004-email-verify - in-progress - requires 001-auth-service
38
+ - [ ] **003-auth-service** ({bolt-type}): 005-mfa-setup - planned - requires 002-auth-service
39
+
40
+ ### Summary
41
+
42
+ - **Completed**: 1
43
+ - **In Progress**: 1
44
+ - **Planned**: 1
45
+ - **Total Stories Covered**: 5
46
+ ```
47
+
48
+ ### 2. Determine Action
49
+
50
+ Ask user what they want to do:
51
+
52
+ ```markdown
53
+ ## Replanning Options
54
+
55
+ What would you like to do?
56
+
57
+ 1. **View Status** - See current bolt plan and progress
58
+ 2. **Append Bolts** - Add new bolts for uncovered stories or new work
59
+ 3. **Split Bolt** - Break a large planned bolt into smaller ones
60
+ 4. **Reorder** - Change execution order or adjust dependencies
61
+
62
+ Select an option (1-4):
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Action: Append New Bolts
68
+
69
+ ### When to Use
70
+
71
+ - New stories added during construction
72
+ - Discovered work not covered by existing bolts
73
+ - Need additional bolts for edge cases
74
+
75
+ ### Process
76
+
77
+ 1. **Check uncovered stories**:
78
+
79
+ ```markdown
80
+ ## Uncovered Stories
81
+
82
+ Stories not assigned to any bolt:
83
+
84
+ - [ ] **006-session-mgmt**: Session management - Should
85
+ - [ ] **007-api-keys**: API key generation - Could
86
+ ```
87
+
88
+ 2. **Determine next bolt ID**:
89
+ - List all directories in `memory-bank/bolts/`
90
+ - Extract the 3-digit prefix from each (e.g., `015` from `015-auth-service`)
91
+ - Find the highest number
92
+ - Next bolt: `{next-BBB}-{unit-name}` (e.g., if highest is `015`, next is `016-auth-service`)
93
+
94
+ 3. **Create new bolt(s)**:
95
+ - Use template: `.iris/aidlc/templates/construction/bolt-template.md`
96
+ - All bolts use type `ddd-construction-bolt` (see: `.iris/aidlc/templates/construction/bolt-types/ddd-construction-bolt.md`)
97
+ - Set `requires_bolts` based on dependencies
98
+ - Include complexity assessment (aggregate of included stories)
99
+ - Update `enables_bolts` on existing bolts if needed
100
+
101
+ 4. **Output**:
102
+
103
+ ```markdown
104
+ ## Bolts Appended
105
+
106
+ Created 1 new bolt:
107
+
108
+ - [ ] **004-auth-service** ({bolt-type}): 006-session-mgmt, 007-api-keys - requires 003-auth-service
109
+
110
+ Updated dependency graph:
111
+ 001-auth-service → 002-auth-service → 003-auth-service → 004-auth-service (NEW)
112
+
113
+ File created: `memory-bank/bolts/004-auth-service/bolt.md`
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Action: Split Bolt
119
+
120
+ ### When to Use
121
+
122
+ - Bolt is taking too long
123
+ - Bolt scope creep discovered
124
+ - Need to parallelize work
125
+
126
+ ### Rules
127
+
128
+ - 🛑 **Cannot split completed bolts**
129
+ - ⚠️ **Splitting in-progress bolt requires confirmation** (will mark current as completed at current stage)
130
+ - ✅ **Can freely split planned bolts**
131
+
132
+ ### Process
133
+
134
+ 1. **Select bolt to split**:
135
+
136
+ ```markdown
137
+ ## Select Bolt to Split
138
+
139
+ Splittable bolts (planned or in-progress):
140
+
141
+ - ⏳ **002-auth-service** ({bolt-type}): 003-password-reset, 004-email-verify, 005-mfa-setup - in-progress - ⚠️ Confirm to split
142
+ - [ ] **003-auth-service** ({bolt-type}): 006-session-mgmt, 007-api-keys, 008-rate-limit - planned - ✅ Can split
143
+
144
+ Enter bolt ID to split:
145
+ ```
146
+
147
+ 2. **Propose split**:
148
+
149
+ ```markdown
150
+ ## Split Proposal: 003-auth-service
151
+
152
+ Current: 3 stories (006-session-mgmt, 007-api-keys, 008-rate-limit)
153
+
154
+ Proposed split:
155
+
156
+ - **003-auth-service**: 006-session-mgmt - Core feature
157
+ - **004-auth-service**: 007-api-keys, 008-rate-limit - Related edge cases
158
+
159
+ Accept this split? (yes/no/customize)
160
+ ```
161
+
162
+ 3. **Execute split**:
163
+ - Archive or update original bolt file
164
+ - Create new bolt files with next sequence number
165
+ - Update dependencies on dependent bolts
166
+ - Update `enables_bolts` on prerequisite bolts
167
+
168
+ 4. **Output**:
169
+
170
+ ```markdown
171
+ ## Bolt Split Complete
172
+
173
+ Original: 003-auth-service (updated)
174
+
175
+ Created:
176
+
177
+ - [ ] **003-auth-service** ({bolt-type}): 006-session-mgmt - requires 002-auth-service
178
+ - [ ] **004-auth-service** ({bolt-type}): 007-api-keys, 008-rate-limit - requires 003-auth-service
179
+
180
+ Updated files:
181
+ - `memory-bank/bolts/003-auth-service/bolt.md` (updated)
182
+ - `memory-bank/bolts/004-auth-service/bolt.md` (created)
183
+ - `memory-bank/bolts/002-auth-service/bolt.md` (updated enables_bolts)
184
+ ```
185
+
186
+ ---
187
+
188
+ ## Action: Reorder Bolts
189
+
190
+ ### When to Use
191
+
192
+ - Dependencies changed during construction
193
+ - Need to prioritize different bolt
194
+ - Discovered blocking dependency
195
+
196
+ ### Rules
197
+
198
+ - 🛑 **Cannot reorder completed bolts**
199
+ - 🛑 **Cannot move bolt before its dependencies**
200
+ - ⚠️ **Reordering in-progress bolt pauses it**
201
+
202
+ ### Process
203
+
204
+ 1. **Show current order**:
205
+
206
+ ```markdown
207
+ ## Current Execution Order
208
+
209
+ 001-auth-service (completed) → 002-auth-service (in-progress) → 003-auth-service (planned) → 004-auth-service (planned)
210
+
211
+ - 1 - **001-auth-service**: completed - ❌ Cannot move
212
+ - 2 - **002-auth-service**: in-progress - ⚠️ Will pause if moved
213
+ - 3 - **003-auth-service**: planned - ✅ Can move
214
+ - 4 - **004-auth-service**: planned - ✅ Can move
215
+ ```
216
+
217
+ 2. **Get new order**:
218
+
219
+ ```markdown
220
+ Enter new order for planned bolts (comma-separated IDs):
221
+ Example: 004-auth-service, 003-auth-service
222
+
223
+ This will execute 004-auth-service before 003-auth-service.
224
+ ```
225
+
226
+ 3. **Validate dependencies**:
227
+ - Check if new order violates any `requires_bolts`
228
+ - Warn if dependency issue found
229
+
230
+ 4. **Execute reorder**:
231
+ - Update `requires_bolts` and `enables_bolts` in affected bolt files
232
+ - Recalculate execution sequence
233
+
234
+ 5. **Output**:
235
+
236
+ ```markdown
237
+ ## Reorder Complete
238
+
239
+ New execution order:
240
+
241
+ 001-auth-service (completed) → 002-auth-service (in-progress) → 004-auth-service (planned) → 003-auth-service (planned)
242
+
243
+ Updated files:
244
+ - `memory-bank/bolts/003-auth-service/bolt.md` (requires_bolts updated)
245
+ - `memory-bank/bolts/004-auth-service/bolt.md` (requires_bolts updated)
246
+ ```
247
+
248
+ ---
249
+
250
+ ## Dependency Management
251
+
252
+ When modifying bolts, always update dependencies:
253
+
254
+ ### Frontmatter Fields
255
+
256
+ ```yaml
257
+ ---
258
+ id: 003-auth-service
259
+ type: ddd-construction-bolt
260
+ requires_bolts: [002-auth-service]
261
+ enables_bolts: [004-auth-service]
262
+ requires_units: []
263
+ complexity:
264
+ avg_complexity: 2
265
+ avg_uncertainty: 1
266
+ max_dependencies: 2
267
+ testing_scope: 2
268
+ ---
269
+ ```
270
+
271
+ Note: Do NOT use comments inside YAML frontmatter. Keep it clean.
272
+
273
+ See full template: `.iris/aidlc/templates/construction/bolt-template.md`
274
+
275
+ ### Validation Rules
276
+
277
+ 1. **No circular dependencies**: A → B → C → A is invalid
278
+ 2. **No orphaned bolts**: Every bolt (except first) must have `requires_bolts`
279
+ 3. **Consistent enables/requires**: If A enables B, then B requires A
280
+
281
+ ---
282
+
283
+ ## Human Validation Point
284
+
285
+ > "I've analyzed the current bolt plan for `{unit-name}`. There are {n} bolts: {completed} completed, {in_progress} in progress, {planned} planned. What would you like to do? (1) View status, (2) Append bolts, (3) Split a bolt, (4) Reorder bolts"
286
+
287
+ ---
288
+
289
+ ## Construction Log
290
+
291
+ **IMPORTANT**: After ANY replanning action, update the construction log.
292
+
293
+ ### Location
294
+
295
+ `{unit-path}/construction-log.md`
296
+
297
+ ### On First Replan
298
+
299
+ If construction log doesn't exist, create it using template:
300
+ `.iris/aidlc/templates/construction/construction-log-template.md`
301
+
302
+ Initialize with:
303
+
304
+ - Original bolt plan from inception
305
+ - First replanning entry
306
+
307
+ ### On Every Replan
308
+
309
+ Add entry to Replanning History:
310
+
311
+ ```markdown
312
+ | {today} | {action} | {change description} | {reason} | Yes |
313
+ ```
314
+
315
+ Update Current Bolt Structure to reflect changes.
316
+
317
+ ### Example
318
+
319
+ After splitting 002-auth-service:
320
+
321
+ ```markdown
322
+ ## Replanning History
323
+
324
+ - **2025-12-07**: split - 002-auth-service → 002-auth-service, 003-auth-service - Scope too large - ✅ Approved
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Transition
330
+
331
+ After replanning:
332
+
333
+ - → **Bolt Start** (`.iris/skills/construction/bolt-start.md`) - continue execution
334
+ - → **Bolt Status** (`.iris/skills/construction/bolt-status.md`) - verify changes
335
+ - → **Inception Agent** - if major scope change requires new stories
336
+
337
+ ---
338
+
339
+ ## Test Contract
340
+
341
+ ```yaml
342
+ input: Unit name, action (status|append|split|reorder)
343
+ output: Updated bolt plan with dependency graph
344
+ checkpoints: 0 (utility operation)
345
+ ```