@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,112 @@
|
|
|
1
|
+
# Unit: [name]
|
|
2
|
+
|
|
3
|
+
**Status:** Open | Planned | In Progress | Done | Blocked | Deferred
|
|
4
|
+
**Intent:** [ops/inception/intents/YYYY-MM-DD-<unix_timestamp>-[slug].md](../../inception/intents/YYYY-MM-DD-<unix_timestamp>-[slug].md)
|
|
5
|
+
**Elaboration:** [ops/inception/elaborations/YYYY-MM-DD-<unix_timestamp>-[slug]-session-N.md](../../inception/elaborations/YYYY-MM-DD-<unix_timestamp>-[slug]-session-N.md)
|
|
6
|
+
**Bolt:** [ops/build/bolts/YYYY-MM-DD-<unix_timestamp>-[bolt-slug].md](../bolts/YYYY-MM-DD-<unix_timestamp>-[bolt-slug].md)
|
|
7
|
+
**Priority:** High | Medium | Low
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Context
|
|
12
|
+
|
|
13
|
+
[One paragraph. Who needs this, what it does, and why it is a discrete unit. Written for an engineer who has not read the intent.]
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Acceptance Criteria
|
|
18
|
+
|
|
19
|
+
1. Given [precondition], when [action], then [outcome].
|
|
20
|
+
2. Given [precondition], when [action], then [outcome].
|
|
21
|
+
3. Given [precondition — unhappy path], when [action], then [outcome].
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Scope
|
|
26
|
+
|
|
27
|
+
**In scope:**
|
|
28
|
+
- [What this unit covers]
|
|
29
|
+
|
|
30
|
+
**Out of scope:**
|
|
31
|
+
- [What is explicitly excluded — handled by another unit or not planned]
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Dependencies
|
|
36
|
+
|
|
37
|
+
| Dependency | Type | Status |
|
|
38
|
+
|---|---|---|
|
|
39
|
+
| [Unit or external system] | Unit / API / Config | Done / Pending |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Pre-generation Checks
|
|
44
|
+
|
|
45
|
+
Before generating code for this unit, the agent must run these checks:
|
|
46
|
+
|
|
47
|
+
- [ ] Grep for existing implementations of [pattern] across the codebase to avoid duplication
|
|
48
|
+
- [ ] Confirm the module entry point is listed in `process-onboarding-agent/guidelines/entry-points.md`
|
|
49
|
+
- [ ] Confirm no files in scope appear in `process-onboarding-agent/guidelines/forbidden-zones.md`
|
|
50
|
+
- [ ] Verify test coverage for affected module meets the gate threshold
|
|
51
|
+
- [ ] If this unit configures a third-party library/plugin/adapter: confirm its REQUIRED configuration shape (required options, env vars) from its types or docs — do not assume the unit's listed config is complete
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Edge Cases to Handle
|
|
56
|
+
|
|
57
|
+
| ID | Scenario | Required behavior |
|
|
58
|
+
|---|---|---|
|
|
59
|
+
| EC-001 | [scenario] | [what the code must do] |
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Observability
|
|
64
|
+
|
|
65
|
+
> What evidence must exist in production to know this unit is working correctly? Any entry that represents code behavior the AI must implement should be expressed as an AC in the Acceptance Criteria section above.
|
|
66
|
+
|
|
67
|
+
**Success signal** — what metric or log entry confirms this unit is operating normally?
|
|
68
|
+
- [ ] [e.g. "A counter increments on every successful call to /api/bookings"]
|
|
69
|
+
- [ ] [or: "Not applicable — this unit has no production traffic or async process to monitor"]
|
|
70
|
+
|
|
71
|
+
**Failure signal** — what log entry confirms something has gone wrong?
|
|
72
|
+
- [ ] [e.g. "A WARNING-level log entry is written when payment processing fails, including the order ID and error code"]
|
|
73
|
+
|
|
74
|
+
**Alert threshold** — at what point should an on-call engineer be notified?
|
|
75
|
+
- [ ] [e.g. "Alert fires if the error rate for /api/bookings exceeds 5% over a 5-minute window"]
|
|
76
|
+
- [ ] [or: "Not applicable"]
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Breaking Changes Register
|
|
81
|
+
|
|
82
|
+
> **Complete this section only for Migration or Remediation Bolts that change contract boundaries. Leave blank (write "N/A — not a contract-change Bolt") for all other Bolts. This section must be completed and approved before any code is generated.**
|
|
83
|
+
|
|
84
|
+
| # | Contract boundary changed | Reason it must change | Approved by | Date |
|
|
85
|
+
|---|---|---|---|---|
|
|
86
|
+
| 1 | [API endpoint / data schema / inter-module interface] | [why the change is necessary] | [engineer name] | YYYY-MM-DD |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Definition of Done
|
|
91
|
+
|
|
92
|
+
- [ ] All ACs implemented and traceable to code
|
|
93
|
+
- [ ] If this unit renders a page or component: the generated tests were actually run against its ACs (via a dedicated testing agent/subagent if the project has one, otherwise the project's standard test runner) and pass — required, not optional
|
|
94
|
+
- [ ] Unit tests written for each AC
|
|
95
|
+
- [ ] Integration tests for affected module pass without modification *(or: all breaking changes listed in the Breaking Changes Register have updated tests and are approved)*
|
|
96
|
+
- [ ] No secrets or hardcoded environment values
|
|
97
|
+
- [ ] Auth checked on every new endpoint
|
|
98
|
+
- [ ] Reviewed against `process-onboarding-agent/skills/review-checklist.md`
|
|
99
|
+
- [ ] Prompt log updated in `process-onboarding-agent/prompts/`
|
|
100
|
+
- [ ] Unit status set to Done in backlog
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Prompt Log
|
|
105
|
+
|
|
106
|
+
[process-onboarding-agent/prompts/[unit-name].md](../../../prompts/[unit-name].md)
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Notes
|
|
111
|
+
|
|
112
|
+
[Any decisions made during execution that future engineers should know about.]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Codebase Findings
|
|
2
|
+
|
|
3
|
+
Each file in this folder is the accumulated record of what the AI has learned by reading existing code — one file per module, service, or area of the codebase. It exists so that reverse-engineering done for one intent is never repeated for the next.
|
|
4
|
+
|
|
5
|
+
**Used during brownfield work:** whenever elaboration (or the Mature Project onboarding archaeology) requires analyzing existing code to understand how a new intent depends on, integrates with, or is constrained by a prior implementation.
|
|
6
|
+
|
|
7
|
+
**File naming:** `[module-or-area-slug].md` — one file per module/service/area, not per intent or per session. Findings about the same area accumulate in the same file over time.
|
|
8
|
+
|
|
9
|
+
**Workflow:**
|
|
10
|
+
1. **Before analyzing existing code** for a new intent, check the index below for a file covering the relevant module/area. If one exists, read it first — treat it as a starting point, not gospel, and verify it still matches the current code before relying on it (code drifts; findings can go stale).
|
|
11
|
+
2. **After analyzing code** not yet covered, or finding something that contradicts an existing entry, write or update the corresponding file. Append a new dated entry under "Findings" rather than overwriting prior entries — the history of what was true when is part of the record.
|
|
12
|
+
3. Update the index below whenever a file is created or an existing file's "Last updated" date changes.
|
|
13
|
+
|
|
14
|
+
Use `_template.md` to create a new finding file.
|
|
15
|
+
|
|
16
|
+
## Index
|
|
17
|
+
|
|
18
|
+
| Module / Area | File | Last updated | Status |
|
|
19
|
+
|---|---|---|---|
|
|
20
|
+
| — | — | — | — |
|
|
21
|
+
|
|
22
|
+
**Status values:** `Active` (reflects current code) · `Needs re-verification` (flagged as possibly stale) · `Superseded` (module was rewritten/removed — see linked replacement)
|
package/repository-agents/process-onboarding-agent/ops/inception/codebase-findings/_template.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Codebase Finding: [Module / Area Name]
|
|
2
|
+
|
|
3
|
+
**Covers:** [file paths, directories, services, or boundaries this document describes]
|
|
4
|
+
**Status:** Active
|
|
5
|
+
**Last updated:** YYYY-MM-DD
|
|
6
|
+
**Last updated by:** [intent slug, or "Initial archaeology (M1)" for mature-project onboarding]
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
[2-4 sentences: what this module/area does, its role in the system, and the single most important thing a future session needs to know before touching it.]
|
|
13
|
+
|
|
14
|
+
## Findings
|
|
15
|
+
|
|
16
|
+
### YYYY-MM-DD — [topic investigated] (intent: [slug or "M1 archaeology"])
|
|
17
|
+
|
|
18
|
+
[What the agent found: architecture, behavior, data flow, dependencies, constraints, gotchas, undocumented assumptions.]
|
|
19
|
+
|
|
20
|
+
**Source examined:** [file paths / commits]
|
|
21
|
+
**Confidence:** High / Medium / Low — Low means partially inferred from behavior, not confirmed in code; verify before relying on it.
|
|
22
|
+
|
|
23
|
+
<!-- Add a new dated entry above this line each time this area is re-examined. Do not delete prior entries — append. -->
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Open Questions
|
|
28
|
+
|
|
29
|
+
- [Anything the agent could not resolve from code alone — flag for the engineer rather than guessing]
|
|
30
|
+
|
|
31
|
+
## Related
|
|
32
|
+
|
|
33
|
+
- **Intents that depended on this area:** [links]
|
|
34
|
+
- **Related findings:** [[other-module-slug]]
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Intent Dependency Map
|
|
2
|
+
|
|
3
|
+
> Maintained by the AI during every mob elaboration session.
|
|
4
|
+
> Read before planning a bolt — see usage rules below.
|
|
5
|
+
>
|
|
6
|
+
> **Last updated:** —
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## How to Read This Map
|
|
11
|
+
|
|
12
|
+
**Intent Dependencies** records which intents must be complete before another can begin. An intent depends on another when it requires a data model, API contract, or shared service that the prerequisite introduces.
|
|
13
|
+
|
|
14
|
+
**Shared Interfaces** records API endpoints, data entities, and service boundaries that cross intent boundaries — things owned by one intent but consumed by another.
|
|
15
|
+
|
|
16
|
+
Before planning a bolt, the AI reads this map and flags:
|
|
17
|
+
- Any prerequisite intent that is not yet Implemented
|
|
18
|
+
- Any units in the planned bolt that touch a shared interface owned by a different intent
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Intent Dependencies
|
|
23
|
+
|
|
24
|
+
| Intent | Depends on | Dependency type | Prerequisite status |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
| — | — | — | — |
|
|
27
|
+
|
|
28
|
+
**Dependency types:**
|
|
29
|
+
- `Data model` — the intent requires an entity or schema introduced by the prerequisite
|
|
30
|
+
- `API contract` — the intent consumes an endpoint or interface defined by the prerequisite
|
|
31
|
+
- `Shared service` — the intent uses a module, utility, or service owned by the prerequisite
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Shared Interfaces
|
|
36
|
+
|
|
37
|
+
| Interface / Entity | Owned by intent | Consumed by intents | Notes |
|
|
38
|
+
|---|---|---|---|
|
|
39
|
+
| — | — | — | — |
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Update Log
|
|
44
|
+
|
|
45
|
+
| Date | Change | Elaboration session |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| — | — | — |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Elaboration Session: [Intent Name] — Session [N]
|
|
2
|
+
|
|
3
|
+
**Intent:** [intent/YYYY-MM-DD-<unix_timestamp>-[slug].md](../intents/YYYY-MM-DD-<unix_timestamp>-[slug].md)
|
|
4
|
+
**Date:** YYYY-MM-DD
|
|
5
|
+
**Participants:** [Engineer names]
|
|
6
|
+
**Session goal:** [One sentence — what this session aimed to agree on]
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Units Agreed This Session
|
|
11
|
+
|
|
12
|
+
| # | Unit name | Purpose | ACs agreed? | Edge cases surfaced? |
|
|
13
|
+
|---|---|---|---|---|
|
|
14
|
+
| 1 | [name] | [one sentence] | Yes | Yes |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Unit Detail
|
|
19
|
+
|
|
20
|
+
### Unit: [name]
|
|
21
|
+
|
|
22
|
+
**Purpose:** [one sentence]
|
|
23
|
+
|
|
24
|
+
**Acceptance Criteria:**
|
|
25
|
+
1. Given [precondition], when [action], then [outcome].
|
|
26
|
+
2. Given [precondition], when [action], then [outcome].
|
|
27
|
+
3. Given [precondition — unhappy path], when [action], then [outcome].
|
|
28
|
+
|
|
29
|
+
**Edge cases surfaced:**
|
|
30
|
+
- [Edge case description]
|
|
31
|
+
|
|
32
|
+
**Open questions:**
|
|
33
|
+
- [Question — owner: [name]]
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Session Notes
|
|
38
|
+
|
|
39
|
+
[Any context, decisions, or constraints discussed that are not captured in the unit detail above.]
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Next Session
|
|
44
|
+
|
|
45
|
+
**Goal:** [What the next session will cover]
|
|
46
|
+
**Prerequisite:** [What must be resolved before the next session]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Intents
|
|
2
|
+
|
|
3
|
+
Each file in this folder represents a single product intent — a capability the team has decided to build. Intents are written before elaboration begins and before any units are created.
|
|
4
|
+
|
|
5
|
+
**File naming:** `YYYY-MM-DD-[short-slug].md`
|
|
6
|
+
|
|
7
|
+
**Lifecycle:** Draft → Ready → In Elaboration → Elaborated → (units extracted to backlog)
|
|
8
|
+
|
|
9
|
+
Use `_template.md` to create a new intent.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Intent: [Name]
|
|
2
|
+
|
|
3
|
+
**Status:** Draft | Ready | In Elaboration | Elaborated | In Progress | Implemented | Deferred | Cancelled
|
|
4
|
+
**Date:** YYYY-MM-DD
|
|
5
|
+
**Owner:** [Engineer name]
|
|
6
|
+
**AI Risk:** Minimal | Limited | High
|
|
7
|
+
|
|
8
|
+
> **AI Risk definitions:**
|
|
9
|
+
> - **Minimal** — feature does not process personal data, make automated decisions affecting users, or operate in a safety-critical context. Standard review applies.
|
|
10
|
+
> - **Limited** — feature processes personal data, influences user-visible outcomes through AI, or integrates with external AI services. Requires named engineer sign-off on ACs before elaboration begins and on the Implementation Summary before merge.
|
|
11
|
+
> - **High** — feature makes or directly influences automated decisions with significant user impact (financial, medical, access control, legal), or processes sensitive categories of personal data. Requires senior engineer approval on the intent before any elaboration begins, plus all Limited controls.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## What
|
|
16
|
+
|
|
17
|
+
[One paragraph describing what this capability is. Written from the user's perspective — what they can do, not how the system does it.]
|
|
18
|
+
|
|
19
|
+
## Why
|
|
20
|
+
|
|
21
|
+
[Why does this matter? What problem does it solve or what opportunity does it capture? Include any business or user context.]
|
|
22
|
+
|
|
23
|
+
## Success Looks Like
|
|
24
|
+
|
|
25
|
+
[Describe the observable outcome when this intent is fully delivered. Not technical metrics — describe what is true for the user or business.]
|
|
26
|
+
|
|
27
|
+
## Assumptions
|
|
28
|
+
|
|
29
|
+
- [Assumption 1]
|
|
30
|
+
- [Assumption 2]
|
|
31
|
+
|
|
32
|
+
## Open Questions
|
|
33
|
+
|
|
34
|
+
- [Question 1]
|
|
35
|
+
- [Question 2]
|
|
36
|
+
|
|
37
|
+
## Out of Scope
|
|
38
|
+
|
|
39
|
+
- [Thing explicitly not included]
|
|
40
|
+
- [Thing explicitly not included]
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Elaboration Sessions
|
|
45
|
+
|
|
46
|
+
| Session | Date | File |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| 1 | YYYY-MM-DD | [elaborations/YYYY-MM-DD-<unix_timestamp>-[slug]-session-1.md](../elaborations/YYYY-MM-DD-<unix_timestamp>-[slug]-session-1.md) |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Extracted Units
|
|
53
|
+
|
|
54
|
+
| Unit | Status | Bolt |
|
|
55
|
+
|---|---|---|
|
|
56
|
+
| [unit-name](../../build/units/[unit-file].md) | Open | — |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## UAT Sign-off
|
|
61
|
+
|
|
62
|
+
> **Complete this section before setting the intent status to Implemented.** Run `process-onboarding-agent/skills/uat.md` when all units are Done. The engineer may choose to conduct UAT now, defer it, or waive it — all three choices are recorded here.
|
|
63
|
+
|
|
64
|
+
**Status:** Pending | Passed | Passed with findings | Failed | Deferred | Not required
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Implementation Summary
|
|
69
|
+
|
|
70
|
+
> **Complete this section when all units under this intent have been delivered and merged. Do not fill it in until the intent status is set to Implemented.**
|
|
71
|
+
|
|
72
|
+
### What Was Built
|
|
73
|
+
|
|
74
|
+
[Describe the features delivered under this intent from the user's perspective — what they can now do that they could not before. Write one paragraph per distinct feature if the intent contained multiple. Do not describe implementation details.]
|
|
75
|
+
|
|
76
|
+
### How It Works (Key Design Decisions)
|
|
77
|
+
|
|
78
|
+
[Explain the key design decisions made during elaboration and build that a future engineer must understand before modifying this feature. Include: data model choices, API contract decisions, edge cases that were explicitly handled, and anything non-obvious about the implementation.]
|
|
79
|
+
|
|
80
|
+
### Scope Delivered vs. Original Intent
|
|
81
|
+
|
|
82
|
+
[State any deviations from the original intent: features descoped, assumptions that changed, or out-of-scope items that were included. If the implementation matches the intent exactly, write "Delivered as specified."]
|
|
83
|
+
|
|
84
|
+
### Known Limitations and Future Considerations
|
|
85
|
+
|
|
86
|
+
[List anything deliberately left out that may need to be addressed later, or constraints the current implementation imposes on future changes. If none, write "None identified."]
|
|
87
|
+
|
|
88
|
+
### Bolts That Delivered This Intent
|
|
89
|
+
|
|
90
|
+
| Bolt | Completed | Retro |
|
|
91
|
+
|---|---|---|
|
|
92
|
+
| [bolt-name](../../build/bolts/[bolt-file].md) | YYYY-MM-DD | [retro](../../operate/retros/[retro-file].md) |
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Improvement: [short title]
|
|
2
|
+
|
|
3
|
+
**Status:** Open | Applied | Rejected
|
|
4
|
+
**Triggered by:** [ops/operate/retros/... or ops/operate/incidents/...](link)
|
|
5
|
+
**Applied date:** —
|
|
6
|
+
**Knowledge promotion:** Pending | Promoted — PR to be raised | Declined — [reason] | Project-specific — [reason]
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Target File
|
|
11
|
+
|
|
12
|
+
`process-onboarding-agent/[path to the file being changed]`
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Current Text
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
[Paste the exact text being replaced, or write "N/A — new addition" if adding new content]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Proposed Replacement
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
[Paste the exact replacement text]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Reason
|
|
33
|
+
|
|
34
|
+
[Why this change is needed. Reference the retro finding or incident that triggered it. Be specific enough that a future reader can understand why this rule exists without having to trace back to the source.]
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Affected Open Units
|
|
39
|
+
|
|
40
|
+
> Populated during Step 2.5 of the Post-Retro Improvement Workflow. Lists any open or in-progress units whose ACs, pre-generation checks, or referenced rules are affected by this change.
|
|
41
|
+
|
|
42
|
+
- None | [unit name — link] — [what needs updating]
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Validation
|
|
47
|
+
|
|
48
|
+
How will we know this improvement is working?
|
|
49
|
+
|
|
50
|
+
- [ ] The failure mode that triggered this improvement has not recurred after [N] bolts
|
|
51
|
+
- [ ] [Any other observable signal]
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Incident: [short title]
|
|
2
|
+
|
|
3
|
+
**Status:** Open | Investigating | Resolved | Closed
|
|
4
|
+
**Date detected:** YYYY-MM-DD HH:MM
|
|
5
|
+
**Date resolved:** YYYY-MM-DD HH:MM
|
|
6
|
+
**Severity:** P1 (critical) | P2 (major) | P3 (minor)
|
|
7
|
+
**Owner:** [Engineer name]
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
[Two to three sentences. What broke, what the user impact was, and how it was resolved.]
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## Timeline
|
|
18
|
+
|
|
19
|
+
| Time | Event |
|
|
20
|
+
|---|---|
|
|
21
|
+
| HH:MM | [What happened] |
|
|
22
|
+
| HH:MM | [Detection / alert] |
|
|
23
|
+
| HH:MM | [Investigation step] |
|
|
24
|
+
| HH:MM | [Fix deployed / resolved] |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Root Cause
|
|
29
|
+
|
|
30
|
+
[What caused the incident. Be specific — not "human error" but what exactly was wrong and why it got past review.]
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Was AI-DLC a Contributing Factor?
|
|
35
|
+
|
|
36
|
+
- [ ] Yes — describe: [which unit, which AC was missing or wrong, which review step was skipped]
|
|
37
|
+
- [ ] No
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Immediate Fix
|
|
42
|
+
|
|
43
|
+
[What was done to resolve the incident. Include PR or commit reference if applicable.]
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Improvements Triggered
|
|
48
|
+
|
|
49
|
+
| # | Improvement file | Target rule/guideline |
|
|
50
|
+
|---|---|---|
|
|
51
|
+
| 1 | [ops/operate/improvements/YYYY-MM-DD-<unix_timestamp>-[slug].md](../improvements/YYYY-MM-DD-<unix_timestamp>-[slug].md) | [process-onboarding-agent/rules/...] |
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Root Cause Analysis
|
|
56
|
+
|
|
57
|
+
**RCA status:** Not run | In progress | Complete
|
|
58
|
+
|
|
59
|
+
**RCA report:** — *(link here once run)*
|
|
60
|
+
|
|
61
|
+
> When this incident is marked Resolved, the AI will suggest running the root-cause-analysis skill to surface deeper design, technology, or process gaps beyond the immediate fix. Run it by saying: "run root-cause-analysis on this incident."
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Retrospective: [Bolt name]
|
|
2
|
+
|
|
3
|
+
**Bolt:** [ops/build/bolts/YYYY-MM-DD-<unix_timestamp>-[bolt-slug].md](../../build/bolts/YYYY-MM-DD-<unix_timestamp>-[bolt-slug].md)
|
|
4
|
+
**Date:** YYYY-MM-DD
|
|
5
|
+
**Participants:** [Engineer names]
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Delivery Flow (What Actually Happened)
|
|
10
|
+
|
|
11
|
+
> Populated by `process-onboarding-agent/skills/process-visualization.md`. Offered at the start of every retro, before the discussion below — running it first grounds "What Went Well" and "What Didn't Go Well" in the recorded delivery history rather than memory. Optional: the engineer may skip it and go straight to the discussion.
|
|
12
|
+
|
|
13
|
+
[Reconstruction mode, actual delivery timeline diagram, actual execution path diagram, and plan-vs-actual deviation table — or "Not run for this retro."]
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## What Went Well
|
|
18
|
+
|
|
19
|
+
- [Observation]
|
|
20
|
+
- [Observation]
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## What Didn't Go Well
|
|
25
|
+
|
|
26
|
+
- [Observation]
|
|
27
|
+
- [Observation]
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## AI-Specific Observations
|
|
32
|
+
|
|
33
|
+
**Prompts that worked well:**
|
|
34
|
+
- [Description — what made them effective]
|
|
35
|
+
|
|
36
|
+
**Prompts that needed revision:**
|
|
37
|
+
- [Description — what was wrong and how it was fixed]
|
|
38
|
+
|
|
39
|
+
**Quality gate failures:**
|
|
40
|
+
- [Description — which component was missing, or which sensitive-data category triggered a Sensitive Data Check stop, and what was asked]
|
|
41
|
+
|
|
42
|
+
**Output accepted without sufficient review:**
|
|
43
|
+
- [Description — what slipped through and what the consequence was]
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Actions
|
|
48
|
+
|
|
49
|
+
| # | Action | Owner | Target date | Status |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| 1 | [description] | [name] | YYYY-MM-DD | Open |
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Improvements Triggered
|
|
56
|
+
|
|
57
|
+
**This section cannot be left blank.** If no improvements were triggered, state the reason explicitly.
|
|
58
|
+
|
|
59
|
+
| # | Improvement file | Target rule/guideline | Status |
|
|
60
|
+
|---|---|---|---|
|
|
61
|
+
| 1 | [ops/operate/improvements/YYYY-MM-DD-<unix_timestamp>-[slug].md](../improvements/YYYY-MM-DD-<unix_timestamp>-[slug].md) | [process-onboarding-agent/rules/...] | Open |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## New Intents Triggered
|
|
66
|
+
|
|
67
|
+
| Intent | Reason |
|
|
68
|
+
|---|---|
|
|
69
|
+
| [name] | [what this retro revealed that requires a new capability] |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Post-Retro Improvement Workflow
|
|
74
|
+
|
|
75
|
+
> **The AI must execute this workflow immediately after the retro document is complete. Do not wait for the engineer to initiate it.**
|
|
76
|
+
|
|
77
|
+
### Step 1 — Synthesise findings into improvement proposals
|
|
78
|
+
|
|
79
|
+
Read every entry in "What Didn't Go Well", "AI-Specific Observations", and "Actions". For each finding that points to a fixable rule, skill, or guideline, draft one improvement proposal covering:
|
|
80
|
+
- Which file needs to change (`process-onboarding-agent/rules/`, `process-onboarding-agent/skills/`, `process-onboarding-agent/guidelines/`, or the master rule file)
|
|
81
|
+
- The exact current text to replace (or "new addition" if nothing exists yet)
|
|
82
|
+
- The exact proposed replacement text
|
|
83
|
+
- Why the change prevents the finding from recurring
|
|
84
|
+
|
|
85
|
+
Present all proposals to the engineer as a numbered list — one proposal per finding — before creating any files.
|
|
86
|
+
|
|
87
|
+
### Step 2 — Engineer review
|
|
88
|
+
|
|
89
|
+
For each proposal, the engineer approves, rejects, or asks for revision. Record the decision next to each item. Do not proceed to Step 2.5 until all proposals have a decision.
|
|
90
|
+
|
|
91
|
+
### Step 2.5 — Rule change impact check
|
|
92
|
+
|
|
93
|
+
For each **approved** improvement, check whether any currently open units or planned bolts will be affected by the rule change before applying it.
|
|
94
|
+
|
|
95
|
+
1. Read `process-onboarding-agent/ops/build/backlog.md` and identify all units with status **Open** or **In Progress**.
|
|
96
|
+
2. For each open unit, check whether its Pre-generation Checks, ACs, or referenced rule files mention the section or pattern the improvement will change.
|
|
97
|
+
3. For planned or in-progress bolts, check whether any units that have not yet executed reference the section being changed.
|
|
98
|
+
4. Present the impact list to the engineer:
|
|
99
|
+
|
|
100
|
+
> "Before I apply this change, [N] open units reference the section being modified: [unit names]. Their pre-generation checks or ACs may need updating after the improvement is applied. Do you want me to flag these units for review once the change is made?"
|
|
101
|
+
|
|
102
|
+
5. Record the impact list in the improvement file under **Affected open units** (see improvement template). If no open units are affected, record "None."
|
|
103
|
+
|
|
104
|
+
Do not proceed to Step 3 until the engineer has acknowledged the impact list.
|
|
105
|
+
|
|
106
|
+
### Step 3 — Create improvement files and apply changes
|
|
107
|
+
|
|
108
|
+
For each approved proposal:
|
|
109
|
+
1. Create an improvement file at `ops/operate/improvements/YYYY-MM-DD-<unix_timestamp>-[slug].md` using the template
|
|
110
|
+
2. Apply the change directly to the target file
|
|
111
|
+
3. If the master rule file was changed, update all mirror files in the same pass (see Step 8 of the setup guide)
|
|
112
|
+
4. Set the improvement status to **Applied** and record the date
|
|
113
|
+
|
|
114
|
+
### Step 4 — Update this retro
|
|
115
|
+
|
|
116
|
+
Update the "Improvements Triggered" table above with the improvement file links and mark each as Applied or Rejected. Close the retro only after all approved improvements are applied.
|
|
117
|
+
|
|
118
|
+
### Step 5 — Knowledge Promotion Evaluation
|
|
119
|
+
|
|
120
|
+
After all improvements are applied, read `process-onboarding-agent/skills/knowledge-promotion.md` and run it against every improvement marked Applied in this retro. This step evaluates whether each improvement is generic enough to benefit all AI-DLC projects and should be contributed back to the base repository.
|
|
121
|
+
|
|
122
|
+
**This step is mandatory and must not be skipped.** A retro is not fully closed until every Applied improvement has a `Knowledge Promotion` status recorded in its improvement file — even if that status is "Project-specific."
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Engineer Engagement Monitoring
|
|
2
|
+
|
|
3
|
+
The quality of every artifact produced by AI-DLC depends on active, substantive engagement from the engineer. The AI must monitor for signs of disengagement throughout all ceremonies (elaboration, review, retro) and intervene when they appear.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Signals of Disengagement
|
|
8
|
+
|
|
9
|
+
Flag when **three or more** of the following occur across consecutive turns:
|
|
10
|
+
|
|
11
|
+
- Responses are a single word or a formulaic phrase ("yes", "ok", "looks good", "sounds right", "continue", "go ahead") with no elaboration
|
|
12
|
+
- A proposed acceptance criterion, unit, or design decision is approved immediately without any challenge, modification, or question
|
|
13
|
+
- An open-ended question about domain context, constraints, or edge cases receives a vague or off-topic answer
|
|
14
|
+
- The engineer defers a decision without a reason ("you decide", "whatever you think is best") on a matter that requires domain knowledge only they have
|
|
15
|
+
- The same short approval pattern repeats across three or more consecutive turns
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## How to Intervene
|
|
20
|
+
|
|
21
|
+
Do not continue the workflow. Pause and say:
|
|
22
|
+
|
|
23
|
+
> "I want to flag something before we continue. In the last few turns you've accepted everything I've proposed without adding context, challenging any of it, or raising concerns. That's a signal worth paying attention to — the value of this process comes from your domain knowledge shaping the output. If I'm just proposing things and you're just approving them, the artifacts won't reflect the real constraints of this project.
|
|
24
|
+
>
|
|
25
|
+
> Before we move on: [ask one specific, substantive question that requires a real answer — e.g. 'Is there any reason this AC might fail in production that we haven't captured?' or 'Does this unit name match how your team actually talks about this feature?']"
|
|
26
|
+
|
|
27
|
+
Do not resume the workflow until the engineer gives a substantive response.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## If Disengagement Continues After Intervention
|
|
32
|
+
|
|
33
|
+
If the engineer continues to give minimal responses after the intervention, say:
|
|
34
|
+
|
|
35
|
+
> "I'm still seeing the same pattern. I'd rather pause this ceremony than continue producing artifacts that haven't been properly validated. We can pick this up when you have more time to engage with it. Should we stop here for now?"
|
|
36
|
+
|
|
37
|
+
Do not produce further artifacts until either:
|
|
38
|
+
- The engineer gives a substantive response, or
|
|
39
|
+
- They explicitly ask to continue and acknowledge the concern
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Failed Output Escalation (Circuit Breaker)
|
|
44
|
+
|
|
45
|
+
When AI-generated output for a unit is rejected, the AI revises and tries again. This is expected. However, repeated failure on the same unit without convergence is a signal that the problem cannot be solved by iteration alone — it requires human diagnosis.
|
|
46
|
+
|
|
47
|
+
**Trigger:** Output for the same unit is rejected **3 consecutive times**, where each rejection is based on the same type of failure (wrong approach, missing domain knowledge, constraint not understood).
|
|
48
|
+
|
|
49
|
+
**What counts as a rejection:** The engineer explicitly says the output does not meet the ACs, asks for a fundamentally different approach, or marks the unit as failing review after generation.
|
|
50
|
+
|
|
51
|
+
**What does not trigger the circuit breaker:** Minor corrections, formatting fixes, or partial revisions that move the output closer to the target — these are normal iteration, not consecutive failures.
|
|
52
|
+
|
|
53
|
+
When the circuit breaker triggers, stop and say:
|
|
54
|
+
|
|
55
|
+
> "This unit has had three rejected outputs with the same underlying issue. Continuing to iterate without understanding why the constraint isn't being met will consume time without improving the result. Before I try again, I need to understand: [ask one targeted diagnostic question — e.g. 'Is there domain context about how [X] works that isn't captured in the ACs or code standards?' or 'Is the acceptance criterion itself achievable given the current constraints?']"
|
|
56
|
+
|
|
57
|
+
**After the diagnosis:**
|
|
58
|
+
- If new context is provided → incorporate it and continue with a fresh generation (circuit breaker resets)
|
|
59
|
+
- If the AC itself is found to be incorrect or unreachable → flag it for revision during the current session; do not generate code against an AC the engineer agrees is wrong
|
|
60
|
+
- If the constraint is architectural and cannot be resolved in this session → log the unit as **Blocked**, record the blocking reason in the unit file, and surface it as a finding in the next retro
|
|
61
|
+
|
|
62
|
+
**Record in the unit file** under the Prompt Log:
|
|
63
|
+
```
|
|
64
|
+
[Circuit breaker triggered — attempt 3]
|
|
65
|
+
Failure pattern: [description of why each attempt failed]
|
|
66
|
+
Diagnosis: [what was found]
|
|
67
|
+
Resolution: [continued with new context / AC revised / unit blocked]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
This record feeds directly into the retro's AI-Specific Observations — repeated circuit breaker triggers on a project are a signal that either the code standards need refinement or the quality gate is letting through under-specified prompts.
|