@99x-ai-dlc/idf-install 0.0.0-stage → 0.1.1

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 (49) hide show
  1. package/README.md +51 -2
  2. package/bin/idf-installer.js +185 -0
  3. package/package.json +22 -4
  4. package/repository-agents/process-diagnostic-agent/review-guide.md +669 -0
  5. package/repository-agents/process-diagnostic-agent/role-play.md +223 -0
  6. package/repository-agents/process-diagnostic-agent/skills/trend-analysis.md +113 -0
  7. package/repository-agents/process-estimation-agent/estimate.md +69 -0
  8. package/repository-agents/process-estimation-agent/estimation-guide.md +435 -0
  9. package/repository-agents/process-migration-agent/migrate.md +72 -0
  10. package/repository-agents/process-migration-agent/migration-guide.md +490 -0
  11. package/repository-agents/process-onboarding-agent/external-skills/README.md +189 -0
  12. package/repository-agents/process-onboarding-agent/external-skills/ux-os.md +92 -0
  13. package/repository-agents/process-onboarding-agent/onboard.md +214 -0
  14. package/repository-agents/process-onboarding-agent/ops/build/backlog.md +43 -0
  15. package/repository-agents/process-onboarding-agent/ops/build/bolts/_template.md +53 -0
  16. package/repository-agents/process-onboarding-agent/ops/build/units/_template.md +112 -0
  17. package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/README.md +22 -0
  18. package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/_template.md +34 -0
  19. package/repository-agents/process-onboarding-agent/ops/inception/dependency-map.md +47 -0
  20. package/repository-agents/process-onboarding-agent/ops/inception/elaborations/_template.md +46 -0
  21. package/repository-agents/process-onboarding-agent/ops/inception/intents/README.md +9 -0
  22. package/repository-agents/process-onboarding-agent/ops/inception/intents/_template.md +92 -0
  23. package/repository-agents/process-onboarding-agent/ops/operate/improvements/_template.md +51 -0
  24. package/repository-agents/process-onboarding-agent/ops/operate/incidents/_template.md +61 -0
  25. package/repository-agents/process-onboarding-agent/ops/operate/retros/_template.md +122 -0
  26. package/repository-agents/process-onboarding-agent/rules/engagement.md +70 -0
  27. package/repository-agents/process-onboarding-agent/setup-guide.md +1409 -0
  28. package/repository-agents/process-onboarding-agent/skills/ai-hub-metrics.md +341 -0
  29. package/repository-agents/process-onboarding-agent/skills/bolt-risk-assessment.md +208 -0
  30. package/repository-agents/process-onboarding-agent/skills/bug-bolt.md +105 -0
  31. package/repository-agents/process-onboarding-agent/skills/compact-docs.md +123 -0
  32. package/repository-agents/process-onboarding-agent/skills/dependency-audit.md +187 -0
  33. package/repository-agents/process-onboarding-agent/skills/design-session.md +230 -0
  34. package/repository-agents/process-onboarding-agent/skills/governance-map.md +212 -0
  35. package/repository-agents/process-onboarding-agent/skills/hotfix-bolt.md +102 -0
  36. package/repository-agents/process-onboarding-agent/skills/knowledge-promotion.md +188 -0
  37. package/repository-agents/process-onboarding-agent/skills/new-engineer-induction.md +303 -0
  38. package/repository-agents/process-onboarding-agent/skills/nfr-bolt.md +117 -0
  39. package/repository-agents/process-onboarding-agent/skills/notifications.md +456 -0
  40. package/repository-agents/process-onboarding-agent/skills/process-health.md +252 -0
  41. package/repository-agents/process-onboarding-agent/skills/process-visualization.md +157 -0
  42. package/repository-agents/process-onboarding-agent/skills/product-engineering-essentials.md +261 -0
  43. package/repository-agents/process-onboarding-agent/skills/progress-digest.md +184 -0
  44. package/repository-agents/process-onboarding-agent/skills/release-readiness-checklist.md +259 -0
  45. package/repository-agents/process-onboarding-agent/skills/root-cause-analysis.md +151 -0
  46. package/repository-agents/process-onboarding-agent/skills/solution-shaping.md +98 -0
  47. package/repository-agents/process-onboarding-agent/skills/uat.md +267 -0
  48. package/repository-agents/process-skills-agent/onboard.md +68 -0
  49. package/repository-agents/process-skills-agent/skills-guide.md +404 -0
@@ -0,0 +1,435 @@
1
+ # 99x Intent Delivery Framework — Estimation Guide
2
+
3
+ This document is the full protocol for the Estimation Agent. It defines both estimation modes, the tier classification system, the rate model, the artifact formats, and the actuals calibration protocol.
4
+
5
+ ---
6
+
7
+ ## The Two Modes
8
+
9
+ | | Mode 1 — Ballpark | Mode 2 — Delivery |
10
+ |---|---|---|
11
+ | **When** | Before mob elaboration; requirements are draft or vague | After mob elaboration; units are defined in the backlog |
12
+ | **Input** | Brief requirements, product description | Elaborated units from backlog |
13
+ | **Output** | Hour ranges per capability, confidence level, launch window | Bolt-level estimates, release milestone map |
14
+ | **Artifact location** | `estimates/` in the current working directory | `{FRAMEWORK_ROOT}/ops/inception/estimates/` |
15
+ | **Actuals tracking** | Not applicable | Yes — updated after each bolt closes |
16
+
17
+ ---
18
+
19
+ ## The AI-Assisted Delivery Rate Model
20
+
21
+ Both modes reference this rate model. All ranges reflect AI-assisted delivery by an engineer who is actively using the AI tool — not manual-only effort. Ranges are defaults; they are replaced by calibrated actuals once a team has closed three or more bolts.
22
+
23
+ ### Mode 1 Tier Table (capability-area level)
24
+
25
+ | Tier | Description | Default range |
26
+ |---|---|---|
27
+ | **Tier A — AI-Accelerated** | CRUD operations, standard REST/GraphQL APIs, form-driven UI, dashboards, data tables, boilerplate configuration, standard authentication (OAuth, JWT using libraries), test generation, documentation | 8–20 hrs per capability area |
28
+ | **Tier B — Mixed** | Moderate domain logic with business rules, standard third-party integrations (documented APIs), multi-step user flows with state, role-based access control, performance optimisation on known bottlenecks, data migration and transformation | 20–48 hrs per capability area |
29
+ | **Tier C — Human-Led** | Novel or complex domain logic (financial calculations, regulatory rules, custom algorithms), novel architectural patterns, complex multi-system integrations, security-critical systems (custom auth, encryption, audit), high-performance or real-time requirements, research-heavy or unknown territory | 48–100 hrs per capability area |
30
+
31
+ **Modifiers applied to Mode 1 totals:**
32
+
33
+ | Condition | Modifier |
34
+ |---|---|
35
+ | Team is new to AI-assisted development | ×1.3 |
36
+ | Team is AI-DLC practised (3+ projects) | ×0.85 |
37
+ | Extending an existing codebase (not greenfield) | +20% overall |
38
+ | 4–10 external integration points | +15% to Tier B and C items |
39
+ | 10+ external integration points | +25% to Tier B and C items |
40
+
41
+ ### Mode 2 Tier Table (unit level)
42
+
43
+ | Tier | Description | Default range |
44
+ |---|---|---|
45
+ | **Simple** | Single-purpose, 1–3 ACs, well-understood pattern, no integration outside the immediate module. Examples: add a field to a form, add a read endpoint, update a style, add a unit test. | 1–3 hrs |
46
+ | **Standard** | 3–6 ACs, moderate scope, one integration point or one layer of business logic, standard pre-gen checks. Examples: new feature screen with validation, REST endpoint with auth, DB migration + model update. | 3–6 hrs |
47
+ | **Complex** | 6+ ACs or non-trivial ACs, multiple integration points, performance requirements, intricate state, or meaningful domain logic. Examples: payment flow, complex search with filters, real-time feature, multi-step wizard. | 6–14 hrs |
48
+ | **Spike** | Technical investigation — no functional ACs; output is a written recommendation or throwaway PoC. Examples: evaluate two libraries, prototype a connection, measure query performance. | 2–5 hrs |
49
+
50
+ **Overhead applied to each bolt:**
51
+ - Base overhead: +20% of sum of unit estimates (covers retro, review, integration testing, bolt report)
52
+ - QA buffer: +10% of Complex unit hours if any Complex units are present in the bolt
53
+
54
+ ---
55
+
56
+ ## MODE 1 — BALLPARK ESTIMATION
57
+
58
+ ### Step 1 — Collect requirements and context
59
+
60
+ Ask the engineer to paste, upload, or describe the requirements. Then ask the following four questions — one at a time:
61
+
62
+ 1. > "What is the deployment target for this product? For example: cloud SaaS, mobile app, on-premise, embedded system."
63
+
64
+ 2. > "How many integration points with external systems are you expecting — things like third-party APIs, existing internal systems, payment gateways, or identity providers? Give a rough count: 0, 1–3, 4–10, or more than 10."
65
+
66
+ 3. > "How experienced is the delivery team with AI-assisted development? Options: new to it, some experience (1–2 AI-assisted projects), or AI-DLC practised (3+ projects)."
67
+
68
+ 4. > "Is this a new greenfield project, or an extension to an existing codebase?"
69
+
70
+ Record all answers. Apply the relevant modifiers from the rate model.
71
+
72
+ ---
73
+
74
+ ### Step 2 — Structure into capability areas
75
+
76
+ Read the requirements and extract 5–10 capability areas. A capability area is a coherent chunk of functionality — not a single screen, not the whole product. Examples: "User authentication and access control", "Reporting and exports", "Third-party payment integration".
77
+
78
+ Present the list to the engineer:
79
+
80
+ > "I've identified the following capability areas from the requirements. Please confirm these are correct — let me know if any are missing, should be merged, or need splitting before I classify them."
81
+
82
+ Wait for confirmation before proceeding.
83
+
84
+ ---
85
+
86
+ ### Step 3 — Classify each capability area
87
+
88
+ For each capability area, assign a tier (A, B, or C) from the rate model. Show your reasoning for the classification in a brief note next to each area.
89
+
90
+ Present the classified list and ask:
91
+
92
+ > "Here is my tier classification for each capability area. Do you want to adjust any of these before I calculate the estimate?"
93
+
94
+ Incorporate any adjustments, then proceed.
95
+
96
+ ---
97
+
98
+ ### Step 4 — Calculate the estimate
99
+
100
+ For each capability area:
101
+ - **Min hours** = lower bound of tier range
102
+ - **Expected hours** = midpoint of tier range
103
+ - **Max hours** = upper bound of tier range
104
+
105
+ Sum to project totals. Apply all relevant modifiers from the rate model. Round to nearest whole hour.
106
+
107
+ **Convert to weeks:**
108
+ - Use **28 productive AI-assisted hours per engineer per week** (accounts for meetings, code reviews, retros, context switching)
109
+ - Ask: "How many engineers will be working on this? If you're not sure yet, I'll calculate for 1, 2, and 3 engineers."
110
+ - Compute weeks for each team size provided
111
+
112
+ **Launch window:**
113
+
114
+ | Scenario | Hours used | Buffer |
115
+ |---|---|---|
116
+ | Earliest | Min hours | None |
117
+ | Expected | Expected hours | +10% |
118
+ | Latest | Max hours | +25% |
119
+
120
+ Divide by (team size × 28 hrs/week) to get weeks. Add to current date for calendar dates.
121
+
122
+ **Confidence level:**
123
+
124
+ | Conditions | Confidence |
125
+ |---|---|
126
+ | All Tier A, requirements clear | High (±15%) |
127
+ | Mix of A and B, requirements mostly clear | Medium (±25%) |
128
+ | Any Tier C present, or requirements described as draft/vague | Low (±40%) |
129
+
130
+ If requirements were described as vague, drop one confidence level from the above (High → Medium, Medium → Low).
131
+
132
+ **Top 3 risk factors:** Identify the three factors most likely to cause the estimate to shift. Draw from: vague Tier C requirements, high integration count, codebase archaeology overhead, unknown third-party API reliability, regulatory or compliance requirements, team AI experience gap.
133
+
134
+ ---
135
+
136
+ ### Step 5 — Write the Ballpark Estimate artifact
137
+
138
+ Obtain the current date and a project slug (lowercase, hyphens). Write the artifact to `estimates/[project-slug]-ballpark-YYYY-MM-DD.md` in the current working directory. Create the `estimates/` folder if it does not exist.
139
+
140
+ ```markdown
141
+ ---
142
+ project: [project name]
143
+ date: YYYY-MM-DD
144
+ type: Ballpark
145
+ mode: Greenfield / Extension
146
+ team_size_assumed: [N or "not specified"]
147
+ confidence: High / Medium / Low
148
+ ---
149
+
150
+ # Ballpark Estimate — [Project Name]
151
+
152
+ Generated: YYYY-MM-DD
153
+ Prepared by: 99x Intent Delivery Framework — Estimation Agent (Mode 1)
154
+
155
+ ---
156
+
157
+ ## Requirements Summary
158
+
159
+ [2–3 sentence summary of what was estimated, written for a non-technical reader]
160
+
161
+ ---
162
+
163
+ ## Assumptions
164
+
165
+ - Delivery rate basis: 28 productive AI-assisted hours per engineer per week
166
+ - Team AI-DLC experience: [New / Some / Practised]
167
+ - Deployment target: [answer from Step 1]
168
+ - Integration count: [answer from Step 1]
169
+ - [any other modifiers applied and their effect]
170
+
171
+ ---
172
+
173
+ ## Capability Breakdown
174
+
175
+ | # | Capability Area | Tier | Min hrs | Expected hrs | Max hrs | Classification notes |
176
+ |---|---|---|---|---|---|---|
177
+ | 1 | [name] | A / B / C | | | | [brief reason] |
178
+
179
+ **Subtotals before modifiers:**
180
+ Min: X hrs | Expected: X hrs | Max: X hrs
181
+
182
+ **Modifiers applied:**
183
+ [list each modifier and the hours added/multiplied]
184
+
185
+ **Final totals:**
186
+ Min: X hrs | Expected: X hrs | Max: X hrs
187
+
188
+ ---
189
+
190
+ ## Delivery Timeline
191
+
192
+ | Team size | Earliest (min, no buffer) | Expected (midpoint +10%) | Latest (max +25%) |
193
+ |---|---|---|---|
194
+ | 1 engineer | X weeks | X weeks | X weeks |
195
+ | 2 engineers | X weeks | X weeks | X weeks |
196
+ | [N engineers] | X weeks | X weeks | X weeks |
197
+
198
+ **Recommended launch window:** [Month YYYY – Month YYYY] based on [N]-engineer team
199
+
200
+ ---
201
+
202
+ ## Confidence
203
+
204
+ **Level: [High / Medium / Low]** (±[15 / 25 / 40]%)
205
+
206
+ Factors affecting confidence:
207
+ - [factor 1 — brief explanation]
208
+ - [factor 2]
209
+ - [factor 3]
210
+
211
+ ---
212
+
213
+ ## Top 3 Risks
214
+
215
+ 1. **[Risk name]** — [what it is and how it could shift the estimate and in which direction]
216
+ 2. **[Risk name]** — [same]
217
+ 3. **[Risk name]** — [same]
218
+
219
+ ---
220
+
221
+ ## Scope
222
+
223
+ **Included in this estimate:**
224
+ [list capability areas from Step 2]
225
+
226
+ **Explicitly excluded:**
227
+ [anything mentioned in requirements but not estimated — e.g. "deployment infrastructure", "data migration from undocumented legacy system", "third-party licensing costs"]
228
+
229
+ ---
230
+
231
+ *This is a ballpark estimate based on [draft / summary] requirements. It is intended for financial feasibility assessment and launch window planning. A Delivery Estimate (Mode 2) produced after mob elaboration will provide bolt-level figures for release and sprint planning.*
232
+ ```
233
+
234
+ After writing, confirm the file path to the engineer and present the key numbers verbally as a summary before ending the session.
235
+
236
+ ---
237
+
238
+ ## MODE 2 — DELIVERY ESTIMATION
239
+
240
+ ### Step 1 — Locate the project and backlog
241
+
242
+ Ask:
243
+
244
+ > "What is the project name, and where is your `backlog.md` file? Also, are we estimating all open intents or a specific intent?"
245
+
246
+ Read `backlog.md` and identify:
247
+ - All units in scope (filter by the intent(s) selected)
248
+ - Their bolt groupings
249
+ - The dependency map if it exists at `{FRAMEWORK_ROOT}/ops/inception/dependency-map.md`
250
+
251
+ Set `FRAMEWORK_ROOT` by deriving it from the backlog path.
252
+
253
+ Check `{FRAMEWORK_ROOT}/ops/inception/estimates/` for any existing estimate files. If previous delivery estimates exist, read the Actuals Log sections — these contain calibration data for Step 2.
254
+
255
+ ---
256
+
257
+ ### Step 2 — Classify each unit by effort tier
258
+
259
+ For each unit in scope, read its unit file and classify it using the Mode 2 tier table in the rate model. Use the unit's ACs, scope statement, and pre-gen checks as classification signals.
260
+
261
+ **Calibration check:** If actuals data exists from Step 1, compute the **calibration modifier**:
262
+ - For each closed bolt with actuals: variance = actual hours ÷ estimated hours
263
+ - Calibration modifier = average of all bolt variances
264
+ - Apply calibration modifier to the expected hours for each tier
265
+ - Note the modifier and its basis in the estimate artifact
266
+
267
+ If no actuals data exists, use default ranges and note "First estimate — defaults used."
268
+
269
+ Present the classified unit list to the engineer:
270
+
271
+ > "Here is my tier classification for each unit. Please review — adjust any tier before I calculate bolt totals."
272
+
273
+ Wait for confirmation. Apply any adjustments.
274
+
275
+ ---
276
+
277
+ ### Step 3 — Estimate per bolt
278
+
279
+ Group units by bolt. For each bolt:
280
+
281
+ 1. Sum expected hours across its units
282
+ 2. Apply overhead: +20% of the sum (retro, review, integration testing, bolt report)
283
+ 3. Apply QA buffer if Complex units are present: +10% of Complex unit hours only
284
+ 4. Round to nearest half-hour
285
+ 5. Convert to days using the team's daily AI-assisted capacity (asked in Step 4)
286
+
287
+ Present a bolt-by-bolt table for engineer review before writing the artifact.
288
+
289
+ ---
290
+
291
+ ### Step 4 — Produce the release timeline
292
+
293
+ Ask:
294
+
295
+ > "A few quick questions for the timeline:
296
+ > 1. How many engineers will be working on this?
297
+ > 2. Full-time (6 productive AI-assisted hours/day) or part-time? If part-time, how many hours per day?
298
+ > 3. What start date should I use? If you're not sure, I'll work in relative weeks.
299
+ > 4. Are there any fixed milestones or deadlines I should map against — sprint cadences, external release dates, client review checkpoints?"
300
+
301
+ Compute:
302
+ - Daily capacity = team size × hours per day
303
+ - Bolt duration in days = bolt estimated hours ÷ daily capacity
304
+ - Sequence bolts respecting the dependency map (if present); otherwise sequence by backlog order
305
+ - Map to calendar dates if a start date was provided; otherwise use "Week 1", "Week 2", etc.
306
+ - Identify the critical path — the sequence of bolts that determines the earliest completion date
307
+
308
+ ---
309
+
310
+ ### Step 5 — Write the Delivery Estimate artifact
311
+
312
+ Obtain the current date and unix timestamp. Derive the intent slug from the intent name (lowercase, hyphens).
313
+
314
+ Write the artifact to:
315
+ ```
316
+ {FRAMEWORK_ROOT}/ops/inception/estimates/YYYY-MM-DD-<unix_timestamp>-[intent-slug]-delivery-estimate.md
317
+ ```
318
+
319
+ Create the `estimates/` folder if it does not exist.
320
+
321
+ ```markdown
322
+ ---
323
+ project: [project name]
324
+ date: YYYY-MM-DD
325
+ intent: [intent name]
326
+ type: Delivery
327
+ scope: [All intents / Intent: name]
328
+ calibrated: true / false
329
+ calibration_modifier: [value or "N/A — first estimate"]
330
+ ---
331
+
332
+ # Delivery Estimate — [Intent Name]
333
+
334
+ Generated: YYYY-MM-DD
335
+ Prepared by: 99x Intent Delivery Framework — Estimation Agent (Mode 2)
336
+
337
+ ---
338
+
339
+ ## Unit Classification
340
+
341
+ | Unit | Tier | Min hrs | Expected hrs | Max hrs | Notes |
342
+ |---|---|---|---|---|---|
343
+ | [unit name] | Simple / Standard / Complex / Spike | | | | [classification reason] |
344
+
345
+ ---
346
+
347
+ ## Bolt Estimates
348
+
349
+ | Bolt | Units | Base hrs | Overhead (+20%) | QA buffer | **Total hrs** | **Total days** |
350
+ |---|---|---|---|---|---|---|
351
+ | [Bolt name] | [unit-a, unit-b] | X | X | X | **X** | **X** |
352
+
353
+ **Total: X hours | X days**
354
+
355
+ ---
356
+
357
+ ## Release Timeline
358
+
359
+ Team: [N] engineers | [Full-time 6 hrs/day / Part-time X hrs/day]
360
+ Daily capacity: [X] hrs
361
+ Start date: [date or "Relative from project start"]
362
+
363
+ | Bolt | Est. hrs | Est. days | Start | End | Key deliverables |
364
+ |---|---|---|---|---|---|
365
+ | [Bolt name] | X | X | [date / Week N] | [date / Week N+X] | [main outputs] |
366
+
367
+ **Projected completion: [date or Week N from start]**
368
+ **Critical path:** [list bolt sequence that determines completion]
369
+
370
+ ---
371
+
372
+ ## Rate Model
373
+
374
+ | Tier | Range used | Calibration modifier | Adjusted expected |
375
+ |---|---|---|---|
376
+ | Simple | 1–3 hrs | [modifier or "default"] | [X hrs] |
377
+ | Standard | 3–6 hrs | | |
378
+ | Complex | 6–14 hrs | | |
379
+ | Spike | 2–5 hrs | | |
380
+
381
+ Calibration basis: [First estimate — defaults used / X bolts of actuals, average variance Y%]
382
+
383
+ ---
384
+
385
+ ## Actuals Log
386
+
387
+ Update this table as each bolt closes. See the Actuals Update section below.
388
+
389
+ | Bolt | Estimated hrs | Actual hrs | Variance % | Date closed |
390
+ |---|---|---|---|---|
391
+ | [Bolt name] | X | — | — | — |
392
+
393
+ **Running calibration modifier:** N/A (no bolts closed yet)
394
+
395
+ *After 3 bolts with actuals: recalculate expected hours for remaining open bolts using the running modifier.*
396
+ ```
397
+
398
+ After writing, confirm the file path and present the milestone map verbally as a summary.
399
+
400
+ ---
401
+
402
+ ## Actuals Update Protocol
403
+
404
+ After each bolt closes, update the Actuals Log in the delivery estimate file. This can be done:
405
+ - **Manually:** the engineer opens the estimate file and fills in actual hours
406
+ - **Via the agent:** say `"Update actuals for [Bolt name] in the delivery estimate"` — the agent asks for actual hours, updates the log, recomputes the running modifier, and recalculates expected hours for all remaining open bolts
407
+
408
+ **Recalibration trigger:** After 3 or more bolts have actuals recorded, compute the running calibration modifier:
409
+ - Running modifier = average of (actual hrs ÷ estimated hrs) across all closed bolts
410
+ - If modifier > 1.15 (team is taking significantly longer than estimated): update remaining open bolt estimates upward and flag to engineer
411
+ - If modifier < 0.85 (team is delivering faster than estimated): update remaining open bolt estimates downward
412
+ - Always record the new modifier and its basis in the Rate Model section of the estimate file
413
+
414
+ **Actuals update summary message** (present after each update):
415
+
416
+ > "Bolt [name] closed at [X] actual hours against [Y] estimated hours — a [+/-Z]% variance.
417
+ >
418
+ > Running calibration modifier: [value] based on [N] bolts.
419
+ >
420
+ > [If recalibration triggered:] I've updated the expected hours for the remaining [N] open bolts. The revised projected completion is [date / Week N].
421
+ >
422
+ > [If modifier is stable:] No adjustment to remaining bolt estimates needed."
423
+
424
+ ---
425
+
426
+ ## When to Run Each Mode
427
+
428
+ | Situation | Mode |
429
+ |---|---|
430
+ | Client has asked for a feasibility estimate before committing to a project | Mode 1 — Ballpark |
431
+ | New capability or major addition being scoped before elaboration starts | Mode 1 — Ballpark |
432
+ | Mob elaboration is complete and delivery planning needs to start | Mode 2 — Delivery |
433
+ | A release date is needed for stakeholder communication | Mode 2 — Delivery |
434
+ | A bolt closed and actuals need recording | Mode 2 — Actuals Update |
435
+ | Estimate has drifted and needs recalibration mid-project | Mode 2 — Actuals Update |
@@ -0,0 +1,72 @@
1
+ # AI-DLC Migration Prompt
2
+
3
+ This file migrates a project from the **old AI-DLC structure** (where everything lived inside `ai-dlc/`) to the **new AI-DLC structure** (where the installed framework lives at `{docs}/intent-execution-framework/` and the bootstrap agents are separate folders).
4
+
5
+ ---
6
+
7
+ ## Prerequisites — copy these folders into your project root before starting
8
+
9
+ Run the following in your project root:
10
+
11
+ ```sh
12
+ npx @99x-ai-dlc/idf-installer migration
13
+ ```
14
+
15
+ This copies:
16
+ ```
17
+ process-migration-agent/ ← the migration agent (this folder)
18
+ process-onboarding-agent/ ← the new onboarding agent
19
+ process-diagnostic-agent/ ← the new diagnostic agent
20
+ ```
21
+
22
+ These three folders are the source of truth for the migration. The migration agent will draw on them during execution.
23
+
24
+ ---
25
+
26
+ ## Trigger
27
+
28
+ Once the folders above are in your project root, say the following to your AI assistant:
29
+
30
+ > **"Read `process-migration-agent/migrate.md` and follow the instructions inside it."**
31
+
32
+ ---
33
+
34
+ ## Instructions for the AI Agent
35
+
36
+ You are about to migrate this repository from the old AI-DLC structure to the new one. Read and follow `process-migration-agent/migration-guide.md` in full. The steps below tell you how to execute it.
37
+
38
+ ---
39
+
40
+ ### Session Brief — Present this to the engineer before asking anything
41
+
42
+ Before asking any questions or taking any action, present the following overview:
43
+
44
+ > **AI-DLC Migration — Session Overview**
45
+ >
46
+ > This session migrates your project from the old AI-DLC structure (where everything lived inside `ai-dlc/`) to the new structure (where the installed framework lives separately from the bootstrap agents). All three AI-DLC agents will be migrated:
47
+ >
48
+ > - **Onboarding agent** — `ai-dlc/` (old) → `process-onboarding-agent/` (new)
49
+ > - **Experience agent** — master rule file path references updated; framework relocated to `intent-execution-framework/`
50
+ > - **Diagnostic agent** — `ai-dlc-reviewer/` (old) → `process-diagnostic-agent/` (new, with Trend Analysis capability added)
51
+ >
52
+ > **What will happen:**
53
+ > 1. I'll scan your repository to confirm what old-structure files are present.
54
+ > 2. I'll ask where you want your process documentation to live going forward.
55
+ > 3. I'll move all generated framework files (rules, skills, guidelines, ops data) to the new location — nothing is deleted until it has been safely moved.
56
+ > 4. I'll refresh template-based skill files to the latest versions from the new base repo.
57
+ > 5. I'll update every path reference in your master rule file to point to the new location.
58
+ > 6. I'll set up the new `process-onboarding-agent/` and `process-diagnostic-agent/` folders.
59
+ > 7. I'll remove the old `ai-dlc/` and `ai-dlc-reviewer/` folders once everything is confirmed.
60
+ > 8. I'll deliver a migration report listing every change made and flagging anything that needs your review.
61
+ >
62
+ > **Your operational data (intents, units, bolts, retros) will be preserved exactly as-is.**
63
+ >
64
+ > Ready to start? I have one quick question before we begin.
65
+
66
+ ---
67
+
68
+ ### Step 0 — Run the pre-flight scan
69
+
70
+ Read `process-migration-agent/migration-guide.md` from top to bottom before taking any action. Then execute the Pre-Flight Scan defined there.
71
+
72
+ Do not create or modify any files until Step 0 is complete and the engineer has confirmed the migration plan.