@99x-ai-dlc/idf-installer 0.0.0-stage → 0.2.8
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/README.md +51 -2
- package/bin/idf-installer.js +185 -0
- package/package.json +22 -4
- package/repository-agents/process-diagnostic-agent/review-guide.md +669 -0
- package/repository-agents/process-diagnostic-agent/role-play.md +223 -0
- package/repository-agents/process-diagnostic-agent/skills/trend-analysis.md +113 -0
- package/repository-agents/process-estimation-agent/estimate.md +69 -0
- package/repository-agents/process-estimation-agent/estimation-guide.md +435 -0
- package/repository-agents/process-migration-agent/migrate.md +72 -0
- package/repository-agents/process-migration-agent/migration-guide.md +490 -0
- package/repository-agents/process-onboarding-agent/external-skills/README.md +189 -0
- package/repository-agents/process-onboarding-agent/external-skills/ux-os.md +92 -0
- package/repository-agents/process-onboarding-agent/onboard.md +214 -0
- package/repository-agents/process-onboarding-agent/ops/build/backlog.md +43 -0
- package/repository-agents/process-onboarding-agent/ops/build/bolts/_template.md +53 -0
- package/repository-agents/process-onboarding-agent/ops/build/units/_template.md +112 -0
- package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/README.md +22 -0
- package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/_template.md +34 -0
- package/repository-agents/process-onboarding-agent/ops/inception/dependency-map.md +47 -0
- package/repository-agents/process-onboarding-agent/ops/inception/elaborations/_template.md +46 -0
- package/repository-agents/process-onboarding-agent/ops/inception/intents/README.md +9 -0
- package/repository-agents/process-onboarding-agent/ops/inception/intents/_template.md +92 -0
- package/repository-agents/process-onboarding-agent/ops/operate/improvements/_template.md +51 -0
- package/repository-agents/process-onboarding-agent/ops/operate/incidents/_template.md +61 -0
- package/repository-agents/process-onboarding-agent/ops/operate/retros/_template.md +122 -0
- package/repository-agents/process-onboarding-agent/rules/engagement.md +70 -0
- package/repository-agents/process-onboarding-agent/setup-guide.md +1409 -0
- package/repository-agents/process-onboarding-agent/skills/ai-hub-metrics.md +341 -0
- package/repository-agents/process-onboarding-agent/skills/bolt-risk-assessment.md +208 -0
- package/repository-agents/process-onboarding-agent/skills/bug-bolt.md +105 -0
- package/repository-agents/process-onboarding-agent/skills/compact-docs.md +123 -0
- package/repository-agents/process-onboarding-agent/skills/dependency-audit.md +187 -0
- package/repository-agents/process-onboarding-agent/skills/design-session.md +230 -0
- package/repository-agents/process-onboarding-agent/skills/governance-map.md +212 -0
- package/repository-agents/process-onboarding-agent/skills/hotfix-bolt.md +102 -0
- package/repository-agents/process-onboarding-agent/skills/knowledge-promotion.md +188 -0
- package/repository-agents/process-onboarding-agent/skills/new-engineer-induction.md +303 -0
- package/repository-agents/process-onboarding-agent/skills/nfr-bolt.md +117 -0
- package/repository-agents/process-onboarding-agent/skills/notifications.md +456 -0
- package/repository-agents/process-onboarding-agent/skills/process-health.md +252 -0
- package/repository-agents/process-onboarding-agent/skills/process-visualization.md +157 -0
- package/repository-agents/process-onboarding-agent/skills/product-engineering-essentials.md +261 -0
- package/repository-agents/process-onboarding-agent/skills/progress-digest.md +184 -0
- package/repository-agents/process-onboarding-agent/skills/release-readiness-checklist.md +259 -0
- package/repository-agents/process-onboarding-agent/skills/root-cause-analysis.md +151 -0
- package/repository-agents/process-onboarding-agent/skills/solution-shaping.md +98 -0
- package/repository-agents/process-onboarding-agent/skills/uat.md +267 -0
- package/repository-agents/process-skills-agent/onboard.md +68 -0
- package/repository-agents/process-skills-agent/skills-guide.md +404 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# Skill: Release Readiness Checklist
|
|
2
|
+
|
|
3
|
+
**Purpose:** Walk the engineer through the UAT Release Checklist or the Production Release Checklist item by item, one at a time, to get deliberate individual attention on every parameter before a release goes out — not a single glance-and-approve. Record the engineer's stated status for every item and produce a report at the end.
|
|
4
|
+
|
|
5
|
+
**This is a self-attestation record, not an evidence audit.** Unlike `product-engineering-essentials.md`, this skill never inspects the repository, CI logs, config, or any other artifact to verify a claim. The engineer states the status of each item; the AI's job is to ask, listen, record accurately, and move to the next item — never to second-guess, argue with, or independently verify what the engineer reports. It also never blocks a release: it surfaces the self-reported state so the people who actually approve the release (technical owner, QA, security, product, operations — as named in the checklist's own approval section) can decide with full information.
|
|
6
|
+
|
|
7
|
+
**Not the same as `uat.md`.** `uat.md` runs a stakeholder demo session to validate feature *behavior* against acceptance criteria. This skill checks release *mechanics* — build integrity, test completion, security scans, database changes, deployment and rollback readiness, environment availability, and sign-offs — for a specific UAT or production release. The two are complementary and may both run before the same release; neither depends on the other.
|
|
8
|
+
|
|
9
|
+
**Trigger:** engineer invokes directly — "run the UAT release checklist", "run the production release checklist", "release readiness check", "pre-release checklist", "check release readiness for [version]". Never run automatically or on a schedule — it starts only when the engineer asks for it.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Step 1 — Choose the Checklist and Identify the Release
|
|
14
|
+
|
|
15
|
+
Ask:
|
|
16
|
+
|
|
17
|
+
> "Which checklist should I run — the **UAT Release Checklist** or the **Production Release Checklist**? And what release is this for — a version/build number, and a target date if you have one?"
|
|
18
|
+
|
|
19
|
+
Record:
|
|
20
|
+
- Checklist type (UAT or Production)
|
|
21
|
+
- Release version/build identifier
|
|
22
|
+
- Target release date
|
|
23
|
+
- Engineer running the checklist (and reviewer/approver name if different)
|
|
24
|
+
- If AI-DLC is installed and this release maps to a specific intent or bolt, the intent/bolt name (optional — ask once, do not chase it if the engineer doesn't have one handy). When supplied, carry it into the Step 3 report header (`Intent/Bolt:` line) — it's captured here so it stays traceable, not just for record-keeping in this step.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Step 2 — Walk Through Every Item, One at a Time
|
|
29
|
+
|
|
30
|
+
Explain the format before starting:
|
|
31
|
+
|
|
32
|
+
> "I'll go through the checklist section by section, one item at a time. For each item, tell me: **Confirmed**, **Not confirmed**, or **N/A**. If it's Not confirmed, I'll ask what's blocking it. If N/A, give me a one-line reason so the record is useful to anyone reading it later."
|
|
33
|
+
|
|
34
|
+
Then work through the checklist in **Reference Checklists** below, in order, section by section.
|
|
35
|
+
|
|
36
|
+
**Rules for this step:**
|
|
37
|
+
|
|
38
|
+
- Present one item at a time and wait for an explicit response. Never infer or assume a status for an item the engineer hasn't addressed yet.
|
|
39
|
+
- If the engineer answers several items in one message (e.g., "1 through 4 confirmed, 5 not — no rollback script yet"), accept it, record each addressed item, and continue with whatever in that section is still unaddressed. Do not require strict one-message-per-item if the engineer is moving faster on their own.
|
|
40
|
+
- **Not confirmed:** ask "What's blocking this, or what needs to happen before it can be confirmed?" Record the answer as the blocker note for that item.
|
|
41
|
+
- **N/A:** ask for a one-line reason it doesn't apply to this release. Record it.
|
|
42
|
+
- Do not skip a section without the engineer explicitly opting out of it (e.g., "skip Database & Configuration, no data changes this release") — record that as a section-level N/A with the stated reason, applied to every item in the section.
|
|
43
|
+
- Do not editorialize on an answer, suggest the engineer is wrong, or supply your own assessment of whether an item is "really" done. If something the engineer says sounds concerning (e.g., "confirmed" for rollback validated but they mention in passing it's never been tested), you may ask a clarifying follow-up question, but the recorded status is always what the engineer states after that follow-up — never your own inference.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Reference Checklists
|
|
48
|
+
|
|
49
|
+
**Maintenance note:** several items appear word-for-word in both checklists below (e.g. "Unit tests passed", "Rollback procedure documented"). If you edit an item's wording or threshold, check whether the same item exists in the other checklist and update it there too — the two lists are intentionally separate (production has more sections) but shared items should stay in sync.
|
|
50
|
+
|
|
51
|
+
### UAT Release Checklist
|
|
52
|
+
|
|
53
|
+
**1. Build & Code**
|
|
54
|
+
- Correct release version/build identified
|
|
55
|
+
- All code changes merged and code review completed
|
|
56
|
+
- CI/CD build completed successfully
|
|
57
|
+
- Release branch/tag created
|
|
58
|
+
- Correct deployment artifact confirmed
|
|
59
|
+
|
|
60
|
+
**2. Testing**
|
|
61
|
+
- Unit tests passed
|
|
62
|
+
- Integration/API tests passed
|
|
63
|
+
- Regression tests passed
|
|
64
|
+
- End-to-end tests passed where applicable
|
|
65
|
+
- No open critical/blocking defects
|
|
66
|
+
- Known issues documented
|
|
67
|
+
|
|
68
|
+
**3. Security**
|
|
69
|
+
- SAST/security scans completed
|
|
70
|
+
- Dependency/vulnerability scan completed
|
|
71
|
+
- No unresolved critical/high vulnerabilities
|
|
72
|
+
- Security exceptions formally approved where applicable
|
|
73
|
+
|
|
74
|
+
**4. Database & Configuration**
|
|
75
|
+
- Database changes reviewed
|
|
76
|
+
- Database migration scripts tested
|
|
77
|
+
- Configuration changes reviewed
|
|
78
|
+
- Required environment variables/secrets configured
|
|
79
|
+
- External integrations available and validated
|
|
80
|
+
|
|
81
|
+
**5. Deployment**
|
|
82
|
+
- UAT deployment procedure validated
|
|
83
|
+
- Deployment dependencies confirmed
|
|
84
|
+
- Rollback procedure documented
|
|
85
|
+
- Rollback procedure validated where applicable
|
|
86
|
+
|
|
87
|
+
**6. UAT Readiness**
|
|
88
|
+
- UAT test data is available
|
|
89
|
+
- UAT environment is available and stable
|
|
90
|
+
- UAT test cases/scenarios are prepared
|
|
91
|
+
- UAT users/business testers are informed
|
|
92
|
+
- Release notes provided
|
|
93
|
+
- Known limitations communicated
|
|
94
|
+
|
|
95
|
+
**7. Release Approval**
|
|
96
|
+
- Technical owner approval obtained
|
|
97
|
+
- QA approval obtained
|
|
98
|
+
- Release/change ticket updated
|
|
99
|
+
- UAT deployment approved
|
|
100
|
+
|
|
101
|
+
### Production Release Checklist
|
|
102
|
+
|
|
103
|
+
**1. UAT & Release Scope**
|
|
104
|
+
- UAT completed successfully
|
|
105
|
+
- Business/UAT sign-off obtained
|
|
106
|
+
- Exact production scope confirmed
|
|
107
|
+
- Release version/build is frozen
|
|
108
|
+
- Production artifact/version verified
|
|
109
|
+
- Release notes finalized
|
|
110
|
+
|
|
111
|
+
**2. Code & Testing**
|
|
112
|
+
- All production code changes approved
|
|
113
|
+
- CI/CD build completed successfully
|
|
114
|
+
- Unit tests passed
|
|
115
|
+
- Integration/API tests passed
|
|
116
|
+
- Regression tests passed
|
|
117
|
+
- End-to-end tests passed where applicable
|
|
118
|
+
- No unresolved critical/blocking defects
|
|
119
|
+
- Known issues documented and accepted where applicable
|
|
120
|
+
|
|
121
|
+
**3. Security & Compliance**
|
|
122
|
+
- Security scans completed
|
|
123
|
+
- Dependency/vulnerability scans completed
|
|
124
|
+
- No unresolved critical/high vulnerabilities
|
|
125
|
+
- Security exceptions formally approved where applicable
|
|
126
|
+
- Required compliance/privacy checks completed
|
|
127
|
+
|
|
128
|
+
**4. Database & Data**
|
|
129
|
+
- Production database migration scripts reviewed
|
|
130
|
+
- Database migration tested in a production-like environment
|
|
131
|
+
- Migration execution order confirmed
|
|
132
|
+
- Data migration/transformation validated
|
|
133
|
+
- Database backup completed/verified where required
|
|
134
|
+
- Database rollback/recovery approach confirmed
|
|
135
|
+
|
|
136
|
+
**5. Infrastructure & Configuration**
|
|
137
|
+
- Production infrastructure is ready
|
|
138
|
+
- Capacity/performance requirements verified
|
|
139
|
+
- Production configuration reviewed
|
|
140
|
+
- Secrets/credentials validated
|
|
141
|
+
- External dependencies/integrations validated
|
|
142
|
+
- Feature flags/configuration have the correct production state
|
|
143
|
+
|
|
144
|
+
**6. Deployment & Rollback**
|
|
145
|
+
- Production deployment procedure documented
|
|
146
|
+
- Deployment steps reviewed
|
|
147
|
+
- Deployment dependencies identified
|
|
148
|
+
- Rollback procedure documented
|
|
149
|
+
- Rollback/recovery approach validated
|
|
150
|
+
- Deployment window approved
|
|
151
|
+
- Required change-management approval obtained
|
|
152
|
+
|
|
153
|
+
**7. Monitoring & Operations**
|
|
154
|
+
- Application monitoring configured
|
|
155
|
+
- Infrastructure monitoring configured
|
|
156
|
+
- Logging verified
|
|
157
|
+
- Alerts configured and tested
|
|
158
|
+
- Key business metrics identified
|
|
159
|
+
- Post-deployment health checks defined
|
|
160
|
+
- Support/operations team notified
|
|
161
|
+
- On-call/escalation contacts confirmed
|
|
162
|
+
- Incident management process available
|
|
163
|
+
|
|
164
|
+
**8. Communication**
|
|
165
|
+
- Stakeholders informed of release
|
|
166
|
+
- Expected downtime/impact communicated
|
|
167
|
+
- Release notes published
|
|
168
|
+
- Support team provided with known issues/workarounds
|
|
169
|
+
- Customer/user communication completed where required
|
|
170
|
+
|
|
171
|
+
**9. Final Production Approval**
|
|
172
|
+
- QA approval obtained
|
|
173
|
+
- Technical/Engineering approval obtained
|
|
174
|
+
- Product/Business approval obtained
|
|
175
|
+
- Security approval obtained where required
|
|
176
|
+
- Operations/Infrastructure approval obtained where required
|
|
177
|
+
- Final release authorization obtained
|
|
178
|
+
|
|
179
|
+
**10. Post-Release Validation**
|
|
180
|
+
- Deployment completed successfully
|
|
181
|
+
- Application health checks passed
|
|
182
|
+
- Critical user journeys/smoke tests passed
|
|
183
|
+
- Database/application logs checked
|
|
184
|
+
- Monitoring and alerts checked
|
|
185
|
+
- No critical production errors observed
|
|
186
|
+
- Business validation completed where required
|
|
187
|
+
- Release/change ticket closed or updated
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Step 3 — Produce the Report
|
|
192
|
+
|
|
193
|
+
Present the full report in the conversation:
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
─────────────────────────────────────────────────────
|
|
197
|
+
[UAT | Production] Release Checklist
|
|
198
|
+
Release: [version/build]
|
|
199
|
+
Target date: [target release date from Step 1]
|
|
200
|
+
Checked on: YYYY-MM-DD (date this checklist was run)
|
|
201
|
+
Engineer: [name]
|
|
202
|
+
Approver: [name, if different]
|
|
203
|
+
Intent/Bolt: [name, if supplied in Step 1 — omit line if not]
|
|
204
|
+
─────────────────────────────────────────────────────
|
|
205
|
+
|
|
206
|
+
1. [SECTION NAME] [X confirmed / Y not confirmed / Z n/a]
|
|
207
|
+
✅ [item]
|
|
208
|
+
❌ [item] — Blocker: [reason given]
|
|
209
|
+
— [item] — N/A: [reason given]
|
|
210
|
+
...
|
|
211
|
+
|
|
212
|
+
[... one block per section, in checklist order ...]
|
|
213
|
+
|
|
214
|
+
─────────────────────────────────────────────────────
|
|
215
|
+
SUMMARY
|
|
216
|
+
|
|
217
|
+
| Section | Confirmed | Not confirmed | N/A |
|
|
218
|
+
|---|---|---|---|
|
|
219
|
+
| 1. [Section name] | X | X | X |
|
|
220
|
+
| ... | | | |
|
|
221
|
+
|
|
222
|
+
Total: [X] / [Y] items confirmed
|
|
223
|
+
|
|
224
|
+
─────────────────────────────────────────────────────
|
|
225
|
+
ITEMS REQUIRING ATTENTION
|
|
226
|
+
|
|
227
|
+
[Every Not-confirmed item, grouped by section, with its blocker note.
|
|
228
|
+
Or: "None — every item was confirmed or explicitly marked N/A."]
|
|
229
|
+
|
|
230
|
+
─────────────────────────────────────────────────────
|
|
231
|
+
This is a self-reported record, not a verified audit — it reflects what the
|
|
232
|
+
engineer stated, not independent confirmation. It does not authorize or block
|
|
233
|
+
this release; that decision belongs to whoever holds sign-off per the
|
|
234
|
+
checklist's own approval section. Use it as the explicit, attributable record
|
|
235
|
+
of what was checked before this release went out.
|
|
236
|
+
─────────────────────────────────────────────────────
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Step 4 — Offer to Save and Follow Up
|
|
242
|
+
|
|
243
|
+
Ask:
|
|
244
|
+
|
|
245
|
+
> "Should I save this report, and would you like any 'Not confirmed' items turned into tracked units so they don't get lost before the release?"
|
|
246
|
+
|
|
247
|
+
- If yes to saving: write the report to `{FRAMEWORK_ROOT}/ops/operate/release-checklist-[uat|prod]-YYYY-MM-DD-[version-slug].md` if AI-DLC is installed, or to a path the engineer names otherwise. `[version-slug]` is the release version/build identifier from Step 1, slugified (lowercase, non-alphanumerics replaced with `-`) — this keeps same-day reports for different releases (e.g. a morning UAT run and an afternoon hotfix) from overwriting each other.
|
|
248
|
+
- If yes to backlog items: for each Not-confirmed item the engineer selects, create a unit with the item and its blocker note as context — do not auto-create units for items the engineer didn't select.
|
|
249
|
+
- If AI-DLC is installed: create it under `{FRAMEWORK_ROOT}/ops/build/units/` following the existing unit template.
|
|
250
|
+
- If AI-DLC is not installed: there is no unit template or backlog to target. Instead, append each selected item to the saved report (or to a path the engineer names) as a plain "Follow-up items" list with the item text and blocker note — do not invent a unit file structure.
|
|
251
|
+
- If the engineer declines both, that's a complete and valid outcome — confirm the checklist run is done and move on.
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## Step 5 — Handoff
|
|
256
|
+
|
|
257
|
+
Close with:
|
|
258
|
+
|
|
259
|
+
> "That's the [UAT | Production] release checklist. It's a recorded self-attestation, not a gate — the release decision still belongs to whoever signs off per the checklist's approval section. Run this again for the next release rather than reusing this report; a checklist confirmed for one build doesn't carry over to another."
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Skill: Root Cause Analysis
|
|
2
|
+
|
|
3
|
+
**Purpose:** Analyse resolved incidents and filed improvements to surface deeper root causes beyond the immediate fix. Identifies structural gaps in solution design, technology selection, and process that make the system or team vulnerable to a class of failures — not just the specific instance that was fixed.
|
|
4
|
+
|
|
5
|
+
**Trigger:** Engineer-initiated, or triggered by the AI agent when:
|
|
6
|
+
- An incident is marked Resolved and the engineer has not already run this skill on it
|
|
7
|
+
- The Post-Retro Improvement Workflow surfaces a pattern that points to a systemic issue
|
|
8
|
+
- The engineer says something like "run root-cause-analysis on [incident/improvement]" or "analyse what's behind these recurring failures"
|
|
9
|
+
|
|
10
|
+
**Never run automatically.** The agent may suggest running this skill, but must wait for the engineer to confirm before starting.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Step 1 — Define the Scope
|
|
15
|
+
|
|
16
|
+
Ask the engineer:
|
|
17
|
+
|
|
18
|
+
> "Should I analyse a single incident or improvement file, or look across multiple to surface patterns? If multiple, tell me which files or which time range to cover."
|
|
19
|
+
|
|
20
|
+
Read each file in scope fully before proceeding. Do not begin analysis on partial information.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Step 2 — Extract Surface Findings
|
|
25
|
+
|
|
26
|
+
For each file in scope, extract:
|
|
27
|
+
- **Symptom** — what broke or what gap was identified
|
|
28
|
+
- **Immediate fix** — what was done to resolve it
|
|
29
|
+
- **Improvement filed** — what rule/guideline change was triggered (if any)
|
|
30
|
+
|
|
31
|
+
Present a summary table before proceeding:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
| File | Symptom | Immediate fix | Improvement filed |
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Confirm with the engineer that the surface findings are accurate before moving to root cause analysis.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Step 3 — Apply 5-Whys Analysis
|
|
42
|
+
|
|
43
|
+
For each distinct failure, build a Why chain. Start from the symptom and ask "Why did this happen?" of each answer until you reach a cause that cannot be explained by another "because" within the team's control — typically 3–5 levels deep.
|
|
44
|
+
|
|
45
|
+
Document each chain explicitly:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
Symptom: [what broke]
|
|
49
|
+
Why 1: [symptom] happened because [cause 1]
|
|
50
|
+
Why 2: [cause 1] happened because [cause 2]
|
|
51
|
+
Why 3: [cause 2] happened because [root cause]
|
|
52
|
+
Root cause: [statement]
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Stop the chain when you reach one of the three root cause categories defined in Step 4. Do not continue past the team's control boundary (e.g. "the cloud provider had an outage" is a boundary; "we had no fallback when the provider failed" is not).
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Step 4 — Classify Root Causes
|
|
60
|
+
|
|
61
|
+
Assign each root cause to one or more of the following categories:
|
|
62
|
+
|
|
63
|
+
| Category | What it means | Example signals |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| **Solution Design** | The architecture, data model, boundary, or feature design made this class of failure structurally likely | Missing validation layer, wrong responsibility boundary, tightly coupled modules, missing idempotency, incorrect API contract assumed |
|
|
66
|
+
| **Technology Selection** | A chosen technology has fundamental characteristics that contributed to the failure and were not accounted for | ORM behaviour under concurrent load, framework routing edge cases, third-party API rate limits or reliability, library version constraint conflicts |
|
|
67
|
+
| **Process** | A gap in the team's workflow, ceremonies, or standards allowed the failure to be introduced or reach production | Missing AC type, quality gate not enforced, review step skipped, test coverage blind spot, no rollback plan, unclear ownership |
|
|
68
|
+
|
|
69
|
+
A single root cause may span more than one category — record all that apply.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Step 5 — Pattern Analysis (multi-file scope only)
|
|
74
|
+
|
|
75
|
+
If analysing more than one file, group root causes across all chains and identify:
|
|
76
|
+
- Root causes that appear in more than one incident or improvement (recurring vulnerability)
|
|
77
|
+
- Root cause categories that dominate (signals a systemic weakness in design, technology choices, or process)
|
|
78
|
+
- Failures where the same root cause produced different surface symptoms (masked recurrence)
|
|
79
|
+
|
|
80
|
+
Present a pattern table:
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
| Root cause | Category | Files affected | Risk if unaddressed |
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Flag any pattern where the same root cause has already produced two or more distinct failures — these are the highest priority recommendations.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Step 6 — Produce the RCA Report
|
|
91
|
+
|
|
92
|
+
Write a structured report containing:
|
|
93
|
+
|
|
94
|
+
1. **Scope** — files analysed, date range covered
|
|
95
|
+
2. **Surface findings** — table from Step 2
|
|
96
|
+
3. **Root cause chains** — one Why chain per distinct failure
|
|
97
|
+
4. **Classification** — root causes grouped by category (Solution Design / Technology / Process)
|
|
98
|
+
5. **Patterns** — cross-cutting vulnerabilities if multi-file scope; write "Single file — no pattern analysis" otherwise
|
|
99
|
+
6. **Recommendations** — for each root cause, one of three types:
|
|
100
|
+
|
|
101
|
+
| Recommendation type | What it means | Artifact to create |
|
|
102
|
+
|---|---|---|
|
|
103
|
+
| **Redesign** | A design or architectural decision must change | New intent file; update `process-onboarding-agent/rules/architecture.md` with an ADR |
|
|
104
|
+
| **Technology mitigation** | A technology limitation must be documented and worked around | ADR in `process-onboarding-agent/rules/architecture.md`; new intent if a replacement is warranted |
|
|
105
|
+
| **Process fix** | A workflow, gate, or standard must change | Improvement file via the standard Post-Retro Improvement Workflow |
|
|
106
|
+
|
|
107
|
+
Present the report to the engineer and get explicit approval on each recommendation before creating any artifact.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## Step 7 — Create Linked Artifacts
|
|
112
|
+
|
|
113
|
+
For each approved recommendation:
|
|
114
|
+
|
|
115
|
+
**Redesign or technology mitigation:**
|
|
116
|
+
1. Create a new intent file at `process-onboarding-agent/ops/inception/intents/YYYY-MM-DD-<unix_timestamp>-rca-[slug].md`
|
|
117
|
+
2. Populate the "Why" section with the root cause statement from Step 3
|
|
118
|
+
3. Populate "What" with the recommended design or technology change
|
|
119
|
+
4. Add to the Open section of `process-onboarding-agent/ops/build/backlog.md` using a reference-style link
|
|
120
|
+
|
|
121
|
+
**Process fix:**
|
|
122
|
+
1. Create an improvement file at `process-onboarding-agent/ops/operate/improvements/YYYY-MM-DD-<unix_timestamp>-rca-[slug].md`
|
|
123
|
+
2. Apply the change to the target file immediately (`rules/`, `skills/`, or `guidelines/`)
|
|
124
|
+
3. Mark the improvement Applied
|
|
125
|
+
|
|
126
|
+
**For all artifacts:**
|
|
127
|
+
- Add a link back to the RCA report in the source incident or improvement file under a new "RCA" field
|
|
128
|
+
- If a root cause spans multiple source files, link the RCA report from each of them
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Step 8 — Report
|
|
133
|
+
|
|
134
|
+
Present a completion summary:
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
Root Cause Analysis complete.
|
|
138
|
+
|
|
139
|
+
Files analysed: [N]
|
|
140
|
+
Root cause chains identified: [N]
|
|
141
|
+
- Solution Design: [N]
|
|
142
|
+
- Technology Selection: [N]
|
|
143
|
+
- Process: [N]
|
|
144
|
+
|
|
145
|
+
Recommendations approved: [N]
|
|
146
|
+
- New intent files created: [list]
|
|
147
|
+
- Improvement files created and applied: [list]
|
|
148
|
+
- ADRs added to architecture.md: [N]
|
|
149
|
+
|
|
150
|
+
Patterns flagged for monitoring: [N] (recurring root causes)
|
|
151
|
+
```
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Skill: Solution Shaping (Pre-Elaboration)
|
|
2
|
+
|
|
3
|
+
**Purpose:** Decide the *shape* of a solution before any design or build work begins — how general it should be, how much of it to build, and whether to build it at all. The signed-off shape is recorded on the intent and becomes binding context for the design session and elaboration that follow, so over-engineering and accidental platform-building are caught before any contract or data model is drawn.
|
|
4
|
+
|
|
5
|
+
Design Session (Phase 0 of mob elaboration) captures *what the design is*. Solution Shaping decides *what kind of solution to design*. The two are complementary: shaping first, then design within the shape.
|
|
6
|
+
|
|
7
|
+
**Trigger:** Runs after an intent is drafted and before mob elaboration. The engineer can invoke it directly at any time, and the elaboration workflow also **auto-prompts** for it at the start of a session when the intent has no recorded shape — but it is never run without the engineer's go-ahead (see the discretion note below). To invoke it directly:
|
|
8
|
+
|
|
9
|
+
> "Read `process-onboarding-agent/skills/solution-shaping.md` and shape the solution for [intent name]."
|
|
10
|
+
|
|
11
|
+
**This step runs at the developer's discretion — it is a judgment call, not a mandatory gate.** For each intent the engineer chooses to run Solution Shaping or to skip straight to mob elaboration. Nothing downstream blocks on it, and skipping it is a legitimate, expected choice for work that doesn't need it.
|
|
12
|
+
|
|
13
|
+
Use this guide to decide:
|
|
14
|
+
|
|
15
|
+
- **Run it** when the shape is not obvious — a new capability, something that could become a framework or "platform feature", a request where the answer might be "extend what we already have", "adopt an existing service", or "don't build this at all", or any decision that is expensive to reverse.
|
|
16
|
+
- **Skip it** when the intent is plainly small and feature-specific, the approach is already agreed, and there is no generic-vs-one-off or build-vs-buy question to settle — go straight to the design session.
|
|
17
|
+
|
|
18
|
+
Session length also scales with the request: an obviously feature-specific change may conclude in two questions; a candidate platform capability should run all five.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Step 1 — Read and Anchor the Intent
|
|
23
|
+
|
|
24
|
+
Read the intent file fully (`What` / `Why` / `Success Looks Like` / `Assumptions` / `Out of Scope`) before saying anything. Then reflect the goal back to the engineer in one sentence:
|
|
25
|
+
|
|
26
|
+
> "I've read the intent for [intent name]. Before we design anything, I want to decide the *shape* of the solution — how general it should be and how much to build. Is this the goal: [one-sentence summary]?"
|
|
27
|
+
|
|
28
|
+
Do not proceed until the goal is agreed.
|
|
29
|
+
|
|
30
|
+
**Fast path:** If you have chosen to run it but the request turns out to be plainly small and feature-specific — no new capability, no reusable surface, no plausible existing alternative — say so, propose a brief shape record, and skip directly to Step 4 with the engineer's confirmation. Do not force all five questions onto work that doesn't need them.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Step 2 — Shape Questions
|
|
35
|
+
|
|
36
|
+
Ask the following **one per turn**. Wait for each answer before continuing. Require a substantive answer grounded in the engineer's domain knowledge — if the answer is "whatever you think" or an immediate agreement with no added context, pause and ask for the engineer's own judgement before continuing (see `process-onboarding-agent/rules/engagement.md`).
|
|
37
|
+
|
|
38
|
+
1. > "**Generic or feature-specific?** Is this a one-off for this feature, or the first instance of something other features will need? Name the concrete near-term reuses if you see any."
|
|
39
|
+
|
|
40
|
+
*Default to feature-specific. Build the general case only when there are at least two concrete, near-term uses — premature generalisation is one of the most common failure modes in AI-assisted delivery, because generating the general case has become cheap while maintaining it has not.*
|
|
41
|
+
|
|
42
|
+
2. > "**Expected usage and scale.** Who uses this, how often, and over what data volume?"
|
|
43
|
+
|
|
44
|
+
*The answer determines whether the build needs indexing, pagination, caching, or asynchronous processing — or none of them.*
|
|
45
|
+
|
|
46
|
+
3. > "**Simplest viable.** What is the smallest implementation that satisfies the intent's 'Success Looks Like'? If the approach you have in mind is bigger than that, what specifically justifies the extra?"
|
|
47
|
+
|
|
48
|
+
4. > "**Extend, build, or buy?** Does an existing module, internal package, or third-party service already cover most of this? If so, why is extending or adopting it insufficient?"
|
|
49
|
+
|
|
50
|
+
*Both new subsystems and new dependencies need justification — check what exists before building.*
|
|
51
|
+
|
|
52
|
+
5. > "**Reversibility.** If we chose the simple option and it turned out to be wrong, how hard would it be to change later?"
|
|
53
|
+
|
|
54
|
+
*Cheap to reverse → bias to the simple option now. Expensive to reverse (data migrations, public API contracts, cross-team interfaces) → invest in design depth up front.*
|
|
55
|
+
|
|
56
|
+
If any answer reveals that the intent's scope is wrong — too broad, too narrow, or solving the wrong problem — pause and recommend updating the intent's `What`, `Success Looks Like`, or `Out of Scope` sections before continuing.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Step 3 — Convention and Conflict Check
|
|
61
|
+
|
|
62
|
+
Before recording the shape, check it against the project's established decisions:
|
|
63
|
+
|
|
64
|
+
- Read `process-onboarding-agent/rules/architecture.md` if it exists. If the emerging shape contradicts an existing ADR, surface the conflict immediately and resolve it before recording.
|
|
65
|
+
- Read `process-onboarding-agent/guidelines/forbidden-zones.md` if it exists. If the shape would touch a forbidden zone, stop and flag it.
|
|
66
|
+
- If neither file exists (fresh or partial installs), rely on the codebase itself and the engineer's knowledge — and flag anything that appears to duplicate an existing capability.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Step 4 — Record the Solution Shape
|
|
71
|
+
|
|
72
|
+
Present the summary for sign-off **before writing anything**:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
Solution Shape — [Intent name]
|
|
76
|
+
|
|
77
|
+
Shape: Generic | Feature-specific (+ one-line reason)
|
|
78
|
+
Usage / scale: [summary → what it implies for the build]
|
|
79
|
+
Simplest viable: [the chosen minimal approach]
|
|
80
|
+
Extend / build / buy: [reuse X | build new because … | adopt Y]
|
|
81
|
+
Reversibility: [cheap | expensive → how much design depth is warranted]
|
|
82
|
+
Open risks: [or "none"]
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
On confirmation:
|
|
86
|
+
|
|
87
|
+
1. Append a `## Solution Shape` section containing the confirmed summary, dated, to the intent file — the intent instance, never `_template.md`.
|
|
88
|
+
2. Add a `**Shape:**` line to the intent file's header (alongside `Status:` / `Date:` / `Owner:`), e.g. `**Shape:** Feature-specific (YYYY-MM-DD)` — so the decision is visible at a glance, mirroring the `Design:` field the design session adds.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Step 5 — Handoff
|
|
93
|
+
|
|
94
|
+
State clearly:
|
|
95
|
+
|
|
96
|
+
> "Solution shape is set and recorded on the intent. The next step is mob elaboration — the design session (Phase 0) will design *within* this shape."
|
|
97
|
+
|
|
98
|
+
Do not begin designing in this session. Stop after the shape is recorded.
|