@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.
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,267 @@
1
+ # Skill: User Acceptance Testing (UAT)
2
+
3
+ **Purpose:** Generate a plain-language demo script from the acceptance criteria of all units under an intent, guide the engineer through conducting a stakeholder validation session, and record the outcome in the intent file. Bridges the gap between "code merged" and "intent closed as Implemented."
4
+
5
+ **Trigger:** Runs when all units under an intent are marked Done — either prompted automatically by the AI ("All units under this intent are now complete. Would you like to run UAT before closing the intent?") or invoked directly by the engineer ("run UAT for [intent]").
6
+
7
+ **Three paths:** The engineer may choose to conduct UAT now, defer it to a later date, or mark it as not required. All three choices are recorded in the intent file. The intent can only move to status Implemented after a UAT Sign-off entry exists — regardless of which path was taken.
8
+
9
+ ---
10
+
11
+ ## Step 1 — Identify the Intent and Read Its Units
12
+
13
+ Ask the engineer if invoked directly:
14
+
15
+ > "Which intent should I prepare UAT for?"
16
+
17
+ Read the intent file and every unit file listed in its "Extracted Units" table. Collect all Acceptance Criteria from every unit.
18
+
19
+ Confirm what was found:
20
+
21
+ > "I've read [N] units under the intent [intent name] and collected [N] acceptance criteria in total. Before I build the demo script, do you want to conduct UAT now, defer it to a later date, or mark it as not required for this intent?"
22
+
23
+ Present the three options clearly:
24
+
25
+ | Option | What it means |
26
+ |---|---|
27
+ | **Conduct now** | Run through the UAT session in this conversation. I'll generate a demo script and record results step by step. |
28
+ | **Defer** | Record UAT as deferred. The intent can close as Implemented, but the UAT entry will flag it as outstanding. You choose a revisit date. |
29
+ | **Not required** | Record that UAT was explicitly waived for this intent. Requires a stated reason. |
30
+
31
+ Wait for the engineer to choose before proceeding.
32
+
33
+ ---
34
+
35
+ ## Step 2A — Conduct UAT Now
36
+
37
+ *Take this path if the engineer chose "Conduct now."*
38
+
39
+ ### Build the Demo Script
40
+
41
+ Translate the collected ACs into a numbered plain-language demo script. Apply these translation rules:
42
+
43
+ - Write each step as: **Setup** (the starting state) → **Action** (what to do) → **Expected outcome** (what to look for)
44
+ - Use the stakeholder's vocabulary from the intent's "What" and "Success Looks Like" sections — not engineering terms
45
+ - Group related ACs into logical user journeys rather than listing them unit by unit
46
+ - If two ACs describe the same user action with different outcomes (happy path and error path), combine them into one step with two expected outcomes
47
+ - Never mention unit names, AC numbers, Given/When/Then syntax, or technical implementation details in the demo script
48
+
49
+ Present the demo script to the engineer before the session begins:
50
+
51
+ ```
52
+ UAT Demo Script — [Intent name]
53
+ Generated: YYYY-MM-DD
54
+
55
+ [Journey name, e.g. "Creating a booking"]
56
+
57
+ Step 1 — [Plain-language action]
58
+ Setup: [Starting state in plain language]
59
+ Action: [What the tester does]
60
+ Expected: [What should happen]
61
+
62
+ Step 2 — [Plain-language action]
63
+ Setup: [Starting state]
64
+ Action: [What the tester does]
65
+ Expected: [What should happen]
66
+ Also check (error case): [What should happen if X goes wrong]
67
+
68
+ [Next journey if applicable]
69
+ ...
70
+ ```
71
+
72
+ Ask the engineer:
73
+
74
+ > "Does this demo script cover the behavior you want to validate? Add, remove, or adjust any steps before we start the session."
75
+
76
+ Revise the script if the engineer requests changes. Proceed only when the engineer confirms the script is ready.
77
+
78
+ ### Run the Session
79
+
80
+ Work through the demo script one step at a time. For each step:
81
+
82
+ 1. Display the step clearly.
83
+ 2. Ask: > "Run this step and tell me the result: Pass, Fail, Partial, or Skip."
84
+ 3. If **Fail** or **Partial**: ask > "Describe what happened instead of the expected outcome."
85
+ 4. **Corroborate, then record.** Where the step's expected outcome leaves a trace you can read — a database row, a log line, an audit event, a rendered element — read it, and record the result from that evidence alongside the reported verdict. If the trace **contradicts** the report, record NEITHER: put the contradiction to the engineer in plain terms, with the readings it allows, and re-run or investigate before anything is written down. Where a step's outcome leaves no readable trace, record the report alone and say so in the script, so a later reader knows which results rest on evidence and which on observation.
86
+
87
+ > **Why.** This is the prerequisite rule above applied one stage later. That rule already refuses a verbal assurance for *setup* — a credential is verified by a direct provider call, "**and not by the engineer saying it works**". Step results were still taken from the reported verdict alone.
88
+ >
89
+ > A reported verdict is a genuine and irreplaceable signal: only the tester can say whether a screen made sense, whether copy read correctly, whether real third-party software accepted a real input. It is **not** a reliable signal for whether the system did the thing, because a tester can honestly report a step they believe complete, or attribute one session's behaviour to another. The trace and the report answer different questions, and a UAT that records only one of them discards the cheaper half.
90
+ >
91
+ > Worked example (Ascent, 2026-08-02): the final step of an MFA intent — *an un-enrolled user on a policy-bound company cannot reach the app* — was reported **Pass** while the database showed a pending credential, zero recovery codes, and no enrolment log line. The same evidence allowed two readings: a **fail-open defect in the sign-in gate**, or an unfinished step. It was the latter, and the step passed cleanly on a re-run — but recording the reported Pass would have closed the intent with its most security-critical assertion untested.
92
+ >
93
+ > Note the incentive this corrects: an agent that wrote the code has every reason to accept a Pass and move on. Requiring the trace makes accepting a false Pass **more work than checking**, which is the only kind of safeguard that survives a long session.
94
+
95
+ Do not ask for more than one step at a time.
96
+
97
+ **Tooling-failure fallback:** for a UI-heavy intent where hands-on step-by-step driving is impractical — e.g. the preview/automation browser is unreliable (viewport/coordinate mismatch, renderer hang) — UAT may be evidenced by the intent's deterministic E2E executing each AC in the *authed* app PLUS screenshots confirming the surfaces render, with the method recorded explicitly in the script and the sign-off. This is a fallback for tooling failure, not a substitute for stakeholder validation when hands-on driving is available.
98
+
99
+ ### Record the Session Outcome
100
+
101
+ After all steps are completed, calculate and display the outcome summary:
102
+
103
+ ```
104
+ UAT Session Complete — [Intent name]
105
+ Date: YYYY-MM-DD
106
+
107
+ Results:
108
+ Pass: [N] steps
109
+ Partial: [N] steps
110
+ Fail: [N] steps
111
+ Skipped: [N] steps
112
+
113
+ Overall: [Passed | Passed with findings | Failed | Inconclusive]
114
+ ```
115
+
116
+ **Overall outcome rules:**
117
+ - All steps Pass or Skip → **Passed**
118
+ - At least one Partial, no Fails → **Passed with findings**
119
+ - At least one Fail → **Failed**
120
+ - More than half skipped → **Inconclusive**
121
+
122
+ For any Fail or Partial result, ask the engineer:
123
+
124
+ > "Step [N] failed / was partial. Should I log this as a new unit in the backlog (a bug fix or gap), or is this already tracked elsewhere?"
125
+
126
+ If the engineer confirms a new unit is needed, create a draft unit file at `process-onboarding-agent/ops/build/units/YYYY-MM-DD-<unix_timestamp>-uat-[description].md` with:
127
+ - Status: Open
128
+ - Context: populated from the UAT failure description
129
+ - Acceptance Criteria: the step's expected outcome restated as a Given/When/Then AC
130
+ - Intent link: pointing back to this intent
131
+
132
+ Add the new unit to the Open section of the backlog.
133
+
134
+ Proceed to Step 3 to write the sign-off to the intent file.
135
+
136
+ ---
137
+
138
+ ## Step 2B — Defer UAT
139
+
140
+ *Take this path if the engineer chose "Defer."*
141
+
142
+ Ask:
143
+
144
+ > "When do you plan to conduct UAT for this intent? Give me a date or a condition (e.g. 'after client demo on [date]', 'before go-live')."
145
+
146
+ Record the answer. Then ask:
147
+
148
+ > "Is there anything specific that needs to be in place before UAT can happen? (e.g. test environment, stakeholder availability, data setup)"
149
+
150
+ Record the answer.
151
+
152
+ Proceed to Step 3 to write the deferred sign-off to the intent file.
153
+
154
+ ---
155
+
156
+ ## Step 2C — Mark as Not Required
157
+
158
+ *Take this path if the engineer chose "Not required."*
159
+
160
+ Ask:
161
+
162
+ > "What is the reason UAT is not required for this intent? This is recorded in the intent file."
163
+
164
+ Common valid reasons: internal tooling with no external stakeholders, purely technical refactor with no user-visible behavior change, stakeholder sign-off already obtained through a different channel.
165
+
166
+ Record the reason. Proceed to Step 3.
167
+
168
+ ---
169
+
170
+ ## Step 3 — Write the UAT Sign-off to the Intent File
171
+
172
+ Write a `## UAT Sign-off` section into the intent file, inserted between the "Extracted Units" section and the "Implementation Summary" section.
173
+
174
+ **For "Conduct now" — Passed or Passed with findings:**
175
+
176
+ ```markdown
177
+ ## UAT Sign-off
178
+
179
+ **Status:** Passed
180
+ **Date:** YYYY-MM-DD
181
+ **Conducted by:** [engineer name or "engineer + [stakeholder name]"]
182
+
183
+ ### Session Results
184
+
185
+ | Step | Description | Result | Notes |
186
+ |---|---|---|---|
187
+ | 1 | [step description] | Pass / Partial / Skip | [notes if any] |
188
+
189
+ **Overall:** Passed — [N] of [N] steps passed. [N] partial results noted.
190
+
191
+ ### Findings Logged
192
+
193
+ [List of new units created from UAT failures, or "None — all steps passed."]
194
+ ```
195
+
196
+ **For "Conduct now" — Failed:**
197
+
198
+ ```markdown
199
+ ## UAT Sign-off
200
+
201
+ **Status:** Failed — not ready to close
202
+ **Date:** YYYY-MM-DD
203
+ **Conducted by:** [engineer name]
204
+
205
+ ### Session Results
206
+
207
+ | Step | Description | Result | Notes |
208
+ |---|---|---|---|
209
+ | 1 | [step description] | Pass / Fail / Partial | [failure description] |
210
+
211
+ **Overall:** Failed — [N] step(s) did not meet the expected outcome.
212
+
213
+ ### Findings Logged
214
+
215
+ [List of new units created to address failures]
216
+
217
+ > Re-run UAT after findings are resolved before closing this intent.
218
+ ```
219
+
220
+ **For "Defer":**
221
+
222
+ ```markdown
223
+ ## UAT Sign-off
224
+
225
+ **Status:** Deferred
226
+ **Deferred on:** YYYY-MM-DD
227
+ **Planned for:** [date or condition stated by engineer]
228
+ **Prerequisites:** [what needs to be in place, or "None stated"]
229
+
230
+ > This intent may be closed as Implemented with UAT deferred. Update this section when UAT is conducted.
231
+ ```
232
+
233
+ **For "Not required":**
234
+
235
+ ```markdown
236
+ ## UAT Sign-off
237
+
238
+ **Status:** Not required
239
+ **Date:** YYYY-MM-DD
240
+ **Reason:** [reason stated by engineer]
241
+ ```
242
+
243
+ ---
244
+
245
+ ## Step 4 — Update Intent Status and Confirm
246
+
247
+ After writing the UAT section:
248
+
249
+ - If UAT **Passed** or **Passed with findings**: the intent may be closed. Ask > "Shall I set the intent status to Implemented and trigger the Implementation Summary?"
250
+ - If UAT **Failed**: do not close the intent. Inform the engineer: > "The intent stays In Progress until the [N] UAT findings are resolved and UAT is re-run."
251
+ - If UAT **Deferred** or **Not required**: the intent may be closed. Ask > "Shall I set the intent status to Implemented? The deferred UAT is recorded and can be revisited at any time."
252
+
253
+ Confirm completion:
254
+
255
+ ```
256
+ UAT complete.
257
+
258
+ Intent: [intent name]
259
+ Status: [UAT status]
260
+ Outcome: [what was recorded]
261
+
262
+ [If new units were created:]
263
+ New units logged: [list]
264
+
265
+ [If intent is being closed:]
266
+ Intent status → Implemented. Ready to write the Implementation Summary.
267
+ ```
@@ -0,0 +1,68 @@
1
+ # AI-DLC Skills Onboarding Prompt
2
+
3
+ This agent installs individual AI-DLC skills into a project that uses its own delivery process. No process change is required — you select the skills that fit your existing ceremonies and the agent copies them to a location of your choosing.
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 skills
13
+ ```
14
+
15
+ This copies:
16
+ ```
17
+ process-skills-agent/ ← this agent (the trigger and guide)
18
+ process-onboarding-agent/ ← the source of the skill files
19
+ ```
20
+
21
+ ---
22
+
23
+ ## Trigger
24
+
25
+ Once both folders are in your project root, say the following to your AI assistant:
26
+
27
+ > **"Read `process-skills-agent/onboard.md` and follow the instructions inside it."**
28
+
29
+ ---
30
+
31
+ ## Instructions for the AI Agent
32
+
33
+ You are about to install individual AI-DLC skills into a project that uses its own bespoke delivery process. Read and follow `process-skills-agent/skills-guide.md` in full. The steps below tell you how to execute it.
34
+
35
+ ---
36
+
37
+ ### Session Brief — Present this to the engineer before asking anything
38
+
39
+ Before asking any questions or taking any action, present the following overview:
40
+
41
+ > **AI-DLC Skills Onboarding — Session Overview**
42
+ >
43
+ > This session installs individual AI-DLC skills into your project. It does **not** install the full AI-DLC framework — no master rule file, no governance structure, no process change. You keep your existing delivery process exactly as it is.
44
+ >
45
+ > Each skill is a self-contained prompt protocol. You invoke it by reading the skill file to your AI assistant at the moment you need it. The skills are standalone capabilities that enhance specific moments in any delivery process — planning, risk assessment, incident analysis, stakeholder communication, and more.
46
+ >
47
+ > **What will happen in this session:**
48
+ > 1. I'll ask five questions about your existing process to understand what you already do and where AI assistance would add the most value.
49
+ > 2. I'll present a curated catalogue of available skills, grouped by delivery moment, with a dependency note for each — some skills work standalone, others need minor configuration, and a few require the full AI-DLC framework to be in place.
50
+ > 3. You'll select the skills you want to install.
51
+ > 4. I'll ask where in your project you want the skill files to live.
52
+ > 5. I'll copy the selected skill files to that location and write an Adoption Card — a single reference document that lists each installed skill, how to invoke it, and what it produces.
53
+ >
54
+ > **Expected output from this session:**
55
+ > - The selected skill `.md` files at your chosen location
56
+ > - An `ai-dlc-skills-adoption-card.md` file at that location — your team's quick reference for invoking each skill
57
+ >
58
+ > Ready to start? I have five questions before we choose skills.
59
+
60
+ ---
61
+
62
+ ### Step 0 — Pre-flight check
63
+
64
+ Before asking any questions, verify:
65
+
66
+ 1. `process-onboarding-agent/skills/` exists and contains the skill files. If it is absent, stop and tell the engineer: *"Please copy `process-onboarding-agent/` from the AI-DLC base repo into this project root before continuing."*
67
+ 2. Read `process-skills-agent/skills-guide.md` from top to bottom.
68
+ 3. Do not copy any files or create any documents until Step 5 of the guide.