engineering-intelligence 1.0.0 → 1.2.0
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 +27 -2
- package/dist/adapters/index.d.ts.map +1 -1
- package/dist/adapters/index.js +74 -11
- package/dist/adapters/index.js.map +1 -1
- package/dist/templates.d.ts +2 -2
- package/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +35 -0
- package/dist/templates.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +2 -1
- package/dist/validation/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/canonical/agents/adversary.md +19 -0
- package/templates/canonical/agents/compliance-auditor.md +20 -0
- package/templates/canonical/agents/database-administrator.md +21 -0
- package/templates/canonical/agents/documentation-writer.md +19 -0
- package/templates/canonical/agents/engineering-orchestrator.md +30 -8
- package/templates/canonical/agents/performance-analyst.md +19 -0
- package/templates/canonical/agents/product-analyst.md +5 -1
- package/templates/canonical/agents/release-engineer.md +20 -0
- package/templates/canonical/agents/security-officer.md +21 -0
- package/templates/canonical/agents/site-reliability-engineer.md +19 -0
- package/templates/canonical/agents/system-architect.md +27 -0
- package/templates/canonical/agents/test-engineer.md +20 -0
- package/templates/canonical/rules/engineering-intelligence.md +45 -4
- package/templates/canonical/skills/aidlc-lifecycle-engine/SKILL.md +141 -0
- package/templates/canonical/skills/engineering-intelligence-skill/SKILL.md +26 -0
- package/templates/canonical/skills/environmental-backpressure-engine/SKILL.md +50 -0
- package/templates/canonical/skills/mcp-security-governor/SKILL.md +51 -0
- package/templates/canonical/skills/nfr-adr-governor/SKILL.md +83 -0
- package/templates/canonical/skills/operations-readiness-engine/SKILL.md +54 -0
- package/templates/canonical/skills/requirement-scoper/SKILL.md +17 -3
- package/templates/canonical/workflows/engineering-intelligence.md +12 -8
- package/templates/canonical/workflows/initialize-engineering-intelligence.md +3 -1
- package/templates/canonical/workflows/scope-requirement.md +5 -4
|
@@ -24,13 +24,14 @@ Act as a detailed Business Analyst and Technical Architect persona. Analyze the
|
|
|
24
24
|
|
|
25
25
|
2. **Formulate Scoping Questions** — Identify gaps, ambiguities, and edge cases. Ask the user 3 to 5 targeted questions covering:
|
|
26
26
|
- **Business Value & Scope**: What are the limits of the MVP?
|
|
27
|
+
- **Agile Story Shape**: What user role, user goal, priority, dependencies, and release expectation apply?
|
|
27
28
|
- **Technical Strategy**: Which specific database, caching, or third-party integrations are expected?
|
|
28
29
|
- **Edge Cases**: How should errors, rate limits, or validation failures be handled?
|
|
29
30
|
- **UI/UX (if applicable)**: What configuration or user feedback is expected?
|
|
30
31
|
|
|
31
32
|
3. **Iterate with User** — Wait for user responses. Adjust assumptions based on their answers.
|
|
32
33
|
|
|
33
|
-
4. **Generate Final Requirement Prompt** — Once requirements are clear, output a comprehensive requirements document to `knowledge-base/19-requirements.md
|
|
34
|
+
4. **Generate Final Requirement Prompt** — Once requirements are clear, output a comprehensive requirements document to `knowledge-base/19-requirements.md`, update Agile artifacts under `.engineering-intelligence/aidlc/agile/`, and formulate the finalized prompt for the development agent.
|
|
34
35
|
|
|
35
36
|
## Output Format
|
|
36
37
|
|
|
@@ -47,10 +48,21 @@ The final requirements document `knowledge-base/19-requirements.md` must follow
|
|
|
47
48
|
- **System Boundaries & Dependencies**: <Files/modules affected based on graph mappings>
|
|
48
49
|
- **Edge Cases & Failure Modes**: <Exactly how to handle failures, retries, limits>
|
|
49
50
|
|
|
50
|
-
## 3.
|
|
51
|
+
## 3. Agile Delivery Model
|
|
52
|
+
- **Epic**: <epic or initiative>
|
|
53
|
+
- **User Story**: As a <persona>, I want <capability>, so that <outcome>.
|
|
54
|
+
- **Priority**: <P0/P1/P2 or project convention>
|
|
55
|
+
- **Acceptance Criteria**:
|
|
56
|
+
- Given <context>, when <action>, then <observable result>.
|
|
57
|
+
- **Definition of Ready**:
|
|
58
|
+
- <ready gate status>
|
|
59
|
+
- **Definition of Done**:
|
|
60
|
+
- <done gate expectations>
|
|
61
|
+
|
|
62
|
+
## 4. Iterated QA Log
|
|
51
63
|
<Questions asked and answers received during scoping>
|
|
52
64
|
|
|
53
|
-
##
|
|
65
|
+
## 5. Finalized Implementation Prompt
|
|
54
66
|
Provide the exact prompt to pass to the coding agent to execute this change:
|
|
55
67
|
```text
|
|
56
68
|
/engineering-intelligence <Fully detailed requirements and file scope here>
|
|
@@ -62,10 +74,12 @@ Provide the exact prompt to pass to the coding agent to execute this change:
|
|
|
62
74
|
- **Do not modify product code** — this skill is strictly for scoping and analysis.
|
|
63
75
|
- Do not make assumptions on ambiguities; always ask clarifying questions.
|
|
64
76
|
- Base questions and plans on project graph mappings and existing memory files.
|
|
77
|
+
- Keep Agile artifacts synchronized with the final requirement prompt.
|
|
65
78
|
|
|
66
79
|
## Quality Gates
|
|
67
80
|
|
|
68
81
|
- [ ] Clear business goals and technical boundaries defined.
|
|
69
82
|
- [ ] At least 3 scoping questions asked and logged.
|
|
83
|
+
- [ ] User story, acceptance criteria, priority, dependencies, and Ready/Done gates are documented.
|
|
70
84
|
- [ ] Finalized prompt maps exact files and modules.
|
|
71
85
|
- [ ] Output does not contain any code modification.
|
|
@@ -4,18 +4,20 @@ description: Implement an engineering request with impact analysis, tests, valid
|
|
|
4
4
|
|
|
5
5
|
# Engineering Intelligence
|
|
6
6
|
|
|
7
|
-
Use the `engineering-intelligence-skill` capability for the user's accompanying request.
|
|
7
|
+
Use the `engineering-intelligence-skill` capability for the user's accompanying request. For non-trivial work, use `aidlc-lifecycle-engine` inside this workflow to merge Agile delivery with AI-DLC durable state.
|
|
8
8
|
|
|
9
9
|
## Pipeline
|
|
10
10
|
|
|
11
11
|
1. **Read Intelligence** — Consult `knowledge-base/`, `.engineering-intelligence/memory/`, `.engineering-intelligence/context/`, `.engineering-intelligence/graph/`
|
|
12
|
-
2. **
|
|
13
|
-
3. **
|
|
14
|
-
4. **
|
|
15
|
-
5. **
|
|
16
|
-
6. **
|
|
17
|
-
7. **
|
|
18
|
-
8. **
|
|
12
|
+
2. **Select Delivery Mode** — Choose standard Agile, adversarial, TDD, design-first, or hypothesis debugging based on risk
|
|
13
|
+
3. **Write Impact Report** — Create `.engineering-intelligence/reports/IMP-XXX-<summary>.md` before any code edit
|
|
14
|
+
4. **Plan Agile + AI-DLC Work** — Update backlog, acceptance criteria, Definition of Ready, `.engineering-intelligence/aidlc/execution-plan.md`, and `aidlc-state.md`
|
|
15
|
+
5. **Implement** — Make the requested code changes following established patterns
|
|
16
|
+
6. **Test** — Add/update tests proportional to risk; execute and record results
|
|
17
|
+
7. **Validate** — Run available linters, type checks, test suites, scans, and architecture checks as environmental backpressure
|
|
18
|
+
8. **Sync Intelligence** — Incrementally update only affected knowledge, memory, context, event, graph artifacts, and AI-DLC artifacts
|
|
19
|
+
9. **Record Change** — Write `.changes/CHG-XXX-<summary>.md` referencing related reports
|
|
20
|
+
10. **Review Gate** — For high-risk changes, run engineering-change review before completion
|
|
19
21
|
|
|
20
22
|
## Completion Report
|
|
21
23
|
|
|
@@ -25,4 +27,6 @@ Finish with:
|
|
|
25
27
|
- Affected systems and services
|
|
26
28
|
- Synchronized intelligence artifacts
|
|
27
29
|
- Related reports (IMP-XXX, REV-XXX)
|
|
30
|
+
- Agile artifacts updated (backlog, stories, acceptance criteria, Definition of Done)
|
|
28
31
|
- Unresolved risks or follow-ups
|
|
32
|
+
- AI-DLC breadcrumb (`AI-DLC: <phase> -> <stage> -> <status>`)
|
|
@@ -19,6 +19,7 @@ Analyzes this repository thoroughly without changing product code. Produces a co
|
|
|
19
19
|
| Context | `.engineering-intelligence/context/` | 6 compact navigation maps |
|
|
20
20
|
| Events | `.engineering-intelligence/events/` | 5 change-event guidance documents |
|
|
21
21
|
| Graphs | `.engineering-intelligence/graph/` | 4 JSON graphs + architecture-map.md |
|
|
22
|
+
| AI-DLC + Agile | `.engineering-intelligence/aidlc/` | Lifecycle state, audit, discovery placeholders, open questions, Agile backlog/sprint/DoR/DoD, cross-unit discovery log |
|
|
22
23
|
| History | `.changes/CHG-000-initialization.md` | Initialization record |
|
|
23
24
|
|
|
24
25
|
## Execution Steps
|
|
@@ -29,7 +30,8 @@ Analyzes this repository thoroughly without changing product code. Produces a co
|
|
|
29
30
|
4. **Generate Memory** — Extract durable decisions and patterns
|
|
30
31
|
5. **Generate Context** — Create concise AI navigation maps
|
|
31
32
|
6. **Build Graphs** — Generate evidence-backed architecture graphs
|
|
32
|
-
7. **
|
|
33
|
+
7. **Initialize AI-DLC + Agile** — Create `aidlc-state.md`, `audit.md`, `open-questions.md`, `execution-plan.md`, Agile delivery artifacts, and `construction/cross-unit-discoveries.md`
|
|
34
|
+
8. **Record** — Write initialization change record
|
|
33
35
|
|
|
34
36
|
## Important
|
|
35
37
|
|
|
@@ -8,17 +8,18 @@ Use the `requirement-scoper` capability to interactively scope and document a us
|
|
|
8
8
|
|
|
9
9
|
## Pipeline
|
|
10
10
|
|
|
11
|
-
1. **Read Context** — Read `knowledge-base/`, `.engineering-intelligence/memory/`, and `.engineering-intelligence/graph/` mapping files.
|
|
12
|
-
2. **Draft Questions** — Generate 3 to 5 targeted business/tech questions clarifying the requirements.
|
|
11
|
+
1. **Read Context** — Read `knowledge-base/`, `.engineering-intelligence/aidlc/`, `.engineering-intelligence/memory/`, and `.engineering-intelligence/graph/` mapping files.
|
|
12
|
+
2. **Draft Questions** — Generate 3 to 5 targeted business/tech questions clarifying the requirements, user story, acceptance criteria, dependencies, and Definition of Ready.
|
|
13
13
|
3. **Iterate** — Prompt the user for answers in the chat pane.
|
|
14
|
-
4. **Document Scoping** — Create or update `knowledge-base/19-requirements.md` with goals,
|
|
15
|
-
5. **Finalize Prompt** — Output the exact `/engineering-intelligence` command required to build the
|
|
14
|
+
4. **Document Scoping** — Create or update `knowledge-base/19-requirements.md` and `.engineering-intelligence/aidlc/agile/` artifacts with goals, user stories, acceptance criteria, edge cases, dependencies, and the Q&A log.
|
|
15
|
+
5. **Finalize Prompt** — Output the exact `/engineering-intelligence` command required to build the ready story.
|
|
16
16
|
|
|
17
17
|
## Completion Report
|
|
18
18
|
|
|
19
19
|
Finish with:
|
|
20
20
|
- Summary of scoped requirements
|
|
21
21
|
- Location of the requirements document (`knowledge-base/19-requirements.md`)
|
|
22
|
+
- Agile artifacts updated under `.engineering-intelligence/aidlc/agile/`
|
|
22
23
|
- The exact implementation command prompt
|
|
23
24
|
|
|
24
25
|
**Contract**: This workflow does not modify product code.
|