engineering-intelligence 1.0.0 → 1.1.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.
Files changed (35) hide show
  1. package/README.md +23 -2
  2. package/dist/adapters/index.d.ts.map +1 -1
  3. package/dist/adapters/index.js +52 -11
  4. package/dist/adapters/index.js.map +1 -1
  5. package/dist/templates.d.ts +2 -2
  6. package/dist/templates.d.ts.map +1 -1
  7. package/dist/templates.js +35 -0
  8. package/dist/templates.js.map +1 -1
  9. package/dist/validation/index.d.ts.map +1 -1
  10. package/dist/validation/index.js +2 -1
  11. package/dist/validation/index.js.map +1 -1
  12. package/package.json +1 -1
  13. package/templates/canonical/agents/adversary.md +19 -0
  14. package/templates/canonical/agents/compliance-auditor.md +20 -0
  15. package/templates/canonical/agents/database-administrator.md +21 -0
  16. package/templates/canonical/agents/documentation-writer.md +19 -0
  17. package/templates/canonical/agents/engineering-orchestrator.md +30 -8
  18. package/templates/canonical/agents/performance-analyst.md +19 -0
  19. package/templates/canonical/agents/product-analyst.md +5 -1
  20. package/templates/canonical/agents/release-engineer.md +20 -0
  21. package/templates/canonical/agents/security-officer.md +21 -0
  22. package/templates/canonical/agents/site-reliability-engineer.md +19 -0
  23. package/templates/canonical/agents/system-architect.md +27 -0
  24. package/templates/canonical/agents/test-engineer.md +20 -0
  25. package/templates/canonical/rules/engineering-intelligence.md +45 -4
  26. package/templates/canonical/skills/aidlc-lifecycle-engine/SKILL.md +141 -0
  27. package/templates/canonical/skills/engineering-intelligence-skill/SKILL.md +26 -0
  28. package/templates/canonical/skills/environmental-backpressure-engine/SKILL.md +50 -0
  29. package/templates/canonical/skills/mcp-security-governor/SKILL.md +51 -0
  30. package/templates/canonical/skills/nfr-adr-governor/SKILL.md +83 -0
  31. package/templates/canonical/skills/operations-readiness-engine/SKILL.md +54 -0
  32. package/templates/canonical/skills/requirement-scoper/SKILL.md +17 -3
  33. package/templates/canonical/workflows/engineering-intelligence.md +12 -8
  34. package/templates/canonical/workflows/initialize-engineering-intelligence.md +3 -1
  35. package/templates/canonical/workflows/scope-requirement.md +5 -4
@@ -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. **Write Impact Report** — Create `.engineering-intelligence/reports/IMP-XXX-<summary>.md` before any code edit
13
- 3. **Implement** — Make the requested code changes following established patterns
14
- 4. **Test** — Add/update tests proportional to risk; execute and record results
15
- 5. **Validate** — Run available linters, type checks, and test suites
16
- 6. **Sync Intelligence** — Incrementally update only affected knowledge, memory, context, event, graph artifacts
17
- 7. **Record Change** — Write `.changes/CHG-XXX-<summary>.md` referencing related reports
18
- 8. **Review Gate** — For high-risk changes, run engineering-change review before completion
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. **Record** — Write initialization change record
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, logic configuration, edge cases, UI structures, and the Q&A log.
15
- 5. **Finalize Prompt** — Output the exact `/engineering-intelligence` command required to build the feature.
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.