engineering-intelligence 1.2.0 → 1.4.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/dist/adapters/index.js +4 -4
- package/dist/adapters/index.js.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/templates.d.ts +1 -1
- package/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +33 -0
- package/dist/templates.js.map +1 -1
- package/dist/visualizer/index.d.ts +1 -1
- package/dist/visualizer/index.d.ts.map +1 -1
- package/dist/visualizer/index.js +724 -57
- package/dist/visualizer/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/canonical/rules/engineering-intelligence.md +5 -1
- package/templates/canonical/skills/aidlc-lifecycle-engine/SKILL.md +39 -0
- package/templates/canonical/skills/api-backward-compatibility-engine/SKILL.md +80 -0
- package/templates/canonical/skills/context-sync-engine/SKILL.md +15 -4
- package/templates/canonical/skills/database-migration-safety-engine/SKILL.md +79 -0
- package/templates/canonical/skills/engineering-intelligence-skill/SKILL.md +59 -2
- package/templates/canonical/skills/graph-engine/SKILL.md +22 -5
- package/templates/canonical/skills/impact-analysis-engine/SKILL.md +20 -4
- package/templates/canonical/skills/knowledge-base-validator/SKILL.md +19 -3
- package/templates/canonical/skills/memory-sync-engine/SKILL.md +16 -0
- package/templates/canonical/skills/operations-readiness-engine/SKILL.md +15 -4
- package/templates/canonical/skills/requirement-scoper/SKILL.md +9 -0
- package/templates/canonical/skills/security-audit-engine/SKILL.md +10 -3
- package/templates/canonical/skills/staleness-detector/SKILL.md +19 -0
- package/templates/canonical/skills/testing-intelligence-engine/SKILL.md +37 -1
- package/templates/canonical/skills/type-safety-engine/SKILL.md +81 -0
- package/templates/canonical/workflows/engineering-intelligence.md +6 -4
- package/templates/canonical/workflows/initialize-engineering-intelligence.md +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/visualizer/index.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I,CAAC,SAAS,CAAC,SAAS,CAAC;wBACtB,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;2BAC1B,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0RnD,CAAC;AACT,CAAC"}
|
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ For every engineering change, follow this sequence:
|
|
|
45
45
|
| 1 | Write impact report before editing | `.engineering-intelligence/reports/IMP-XXX-*.md` |
|
|
46
46
|
| 2 | Update AI-DLC plan/state when the change is non-trivial | `.engineering-intelligence/aidlc/execution-plan.md`, `aidlc-state.md` |
|
|
47
47
|
| 3 | Implement code changes and tests | Modified source and test files |
|
|
48
|
-
| 4 | Validate honestly with environmental backpressure — report unrun checks | Test results, lint results, build/test summary |
|
|
48
|
+
| 4 | Validate honestly with environmental backpressure and safety gates — report unrun checks | Test results, lint/type/API/migration results, build/test summary |
|
|
49
49
|
| 5 | Incrementally update affected intelligence and graph artifacts | Updated knowledge/memory/context/graph/aidlc |
|
|
50
50
|
| 6 | Record completed work | `.changes/CHG-XXX-*.md` |
|
|
51
51
|
|
|
@@ -90,3 +90,7 @@ Use these as the canonical project-intelligence paths — never invent alternati
|
|
|
90
90
|
- Create ADRs only when real alternatives were considered; accepted ADRs are immutable except supersession links.
|
|
91
91
|
- Require explicit human approval before destructive actions, production deployments, merges, irreversible migrations, or broad permission grants.
|
|
92
92
|
- For MCP or external tool execution, prefer tool-level permissions, schema pinning, sandboxed execution, and raw-parameter approval for destructive operations.
|
|
93
|
+
- Run the pre-flight freshness gate before implementation; stale scoped context below 50 blocks work unless explicitly accepted by the user.
|
|
94
|
+
- Map every acceptance criterion to automated test, manual verification, or open item before Definition of Done can pass.
|
|
95
|
+
- Run type safety, API compatibility, and database migration safety gates when applicable.
|
|
96
|
+
- Medium-and-above risk changes require rollback instructions and operations readiness.
|
|
@@ -18,6 +18,7 @@ Use `.engineering-intelligence/aidlc/` as the canonical AI-DLC root:
|
|
|
18
18
|
| `.engineering-intelligence/aidlc/audit.md` | Append-only chronological log of decisions, user answers, tool checks, and transitions |
|
|
19
19
|
| `.engineering-intelligence/aidlc/open-questions.md` | Unresolved ambiguities and owner/status |
|
|
20
20
|
| `.engineering-intelligence/aidlc/execution-plan.md` | Adaptive stage plan with mandatory/conditional/skipped stages |
|
|
21
|
+
| `.engineering-intelligence/aidlc/checkpoints.md` | Resume checkpoints after major workflow steps |
|
|
21
22
|
| `.engineering-intelligence/aidlc/discovery/vision.md` | Business objectives, personas, value, success metrics |
|
|
22
23
|
| `.engineering-intelligence/aidlc/discovery/technical-environment.md` | Runtime, deployment, integrations, data stores, auth, constraints |
|
|
23
24
|
| `.engineering-intelligence/aidlc/agile/product-backlog.md` | Epics, stories, priorities, dependencies, and status |
|
|
@@ -78,6 +79,16 @@ For brownfield systems, run reverse engineering and write:
|
|
|
78
79
|
|
|
79
80
|
Then compile validated requirements, backlog updates, acceptance criteria, sprint plan, and an adaptive `execution-plan.md`.
|
|
80
81
|
|
|
82
|
+
`execution-plan.md` must include a formal unit dependency graph:
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
## Units Dependency Graph
|
|
86
|
+
| Unit | Depends On | Can Run In Parallel | Files Owned | Conflict Risk |
|
|
87
|
+
|---|---|---|---|---|
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Units with no declared dependencies and no overlapping owned files may run in parallel. Conflicts discovered during parallel or sequential execution must be logged in `cross-unit-discoveries.md`.
|
|
91
|
+
|
|
81
92
|
### 2. Construction
|
|
82
93
|
|
|
83
94
|
Execute per unit of work. Each unit may include:
|
|
@@ -115,6 +126,32 @@ Each stage must end with binary evidence:
|
|
|
115
126
|
- Required tests, type checks, linters, scans, or build commands ran, failed, or were explicitly unavailable
|
|
116
127
|
- Human approval is recorded before irreversible actions
|
|
117
128
|
- Breadcrumb is updated in `aidlc-state.md`
|
|
129
|
+
- Checkpoint is written after impact analysis, implementation, type/API/migration safety gates, validation, synchronization, and change record
|
|
130
|
+
|
|
131
|
+
## Checkpoint And Resume
|
|
132
|
+
|
|
133
|
+
Write `.engineering-intelligence/aidlc/checkpoints.md` and update `aidlc-state.md` after each major step:
|
|
134
|
+
|
|
135
|
+
| Checkpoint | Meaning | Resume Action |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| `impact-analysis-complete` | Impact report exists | Resume at implementation planning |
|
|
138
|
+
| `implementation-complete` | Code edits are done | Resume at validation |
|
|
139
|
+
| `safety-gates-complete` | Type/API/migration gates passed or blocked | Resume at testing/backpressure |
|
|
140
|
+
| `tests-passing` | Required validation passed | Resume at sync |
|
|
141
|
+
| `sync-complete` | Intelligence artifacts updated | Resume at change record |
|
|
142
|
+
| `change-record-complete` | CHG record exists | Resume at final report |
|
|
143
|
+
|
|
144
|
+
On re-invocation, detect the latest checkpoint and continue from the next step instead of restarting, unless the user asks for a fresh run.
|
|
145
|
+
|
|
146
|
+
## Dry-Run Mode
|
|
147
|
+
|
|
148
|
+
If the user asks for dry run, preview, or plan-only execution:
|
|
149
|
+
- Generate the impact report
|
|
150
|
+
- Select delivery mode
|
|
151
|
+
- Show files likely to change and why
|
|
152
|
+
- Run safe current-state checks such as type/lint/test discovery
|
|
153
|
+
- Do not edit product code
|
|
154
|
+
- Write a pre-flight report under `.engineering-intelligence/reports/`
|
|
118
155
|
|
|
119
156
|
## Environmental Backpressure
|
|
120
157
|
|
|
@@ -136,6 +173,8 @@ AI-DLC: <phase> -> <stage> -> <status>
|
|
|
136
173
|
- [ ] Brownfield reverse engineering exists before broad changes
|
|
137
174
|
- [ ] Requirements and execution plan are durable files
|
|
138
175
|
- [ ] Construction is split into explicit units
|
|
176
|
+
- [ ] Unit dependency graph exists in `execution-plan.md`
|
|
139
177
|
- [ ] Cross-unit discoveries are loaded and updated
|
|
178
|
+
- [ ] Checkpoints are written and resume is supported
|
|
140
179
|
- [ ] Validation uses environmental backpressure
|
|
141
180
|
- [ ] Operations readiness is addressed when deployment or production behavior changes
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: api-backward-compatibility-engine
|
|
3
|
+
description: Diffs API contracts, classifies changes as additive, deprecated, or breaking, and requires versioning or migration notes for breaking changes.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# API Backward Compatibility Engine
|
|
8
|
+
|
|
9
|
+
Use this skill when routes, handlers, request schemas, response schemas, GraphQL schemas, RPC contracts, events, SDKs, webhooks, or public service interfaces change.
|
|
10
|
+
|
|
11
|
+
## Procedure
|
|
12
|
+
|
|
13
|
+
1. **Load Current API Contract**
|
|
14
|
+
- `knowledge-base/04-api-documentation.md`
|
|
15
|
+
- OpenAPI / Swagger specs
|
|
16
|
+
- GraphQL schemas
|
|
17
|
+
- Protobuf / gRPC definitions
|
|
18
|
+
- Route files, request validators, response serializers
|
|
19
|
+
- Event schema registries or webhook docs
|
|
20
|
+
|
|
21
|
+
2. **Diff Proposed Or Actual Change**
|
|
22
|
+
- Endpoints added/removed/renamed
|
|
23
|
+
- Methods changed
|
|
24
|
+
- Request fields added/removed/renamed/type-changed
|
|
25
|
+
- Response fields added/removed/renamed/type-changed
|
|
26
|
+
- Auth/permission requirements changed
|
|
27
|
+
- Error codes/status codes changed
|
|
28
|
+
- Pagination, sorting, idempotency, or rate-limit semantics changed
|
|
29
|
+
|
|
30
|
+
3. **Classify Each Change**
|
|
31
|
+
- `additive`: backward-compatible addition
|
|
32
|
+
- `deprecated`: old behavior still works but has deprecation path
|
|
33
|
+
- `breaking`: existing clients can fail or observe incompatible semantics
|
|
34
|
+
|
|
35
|
+
4. **Require Versioning For Breaking Changes**
|
|
36
|
+
- Require explicit version bump, migration notes, or recorded human approval.
|
|
37
|
+
- Block change finalization if breaking changes lack versioning/migration documentation.
|
|
38
|
+
|
|
39
|
+
5. **Generate Compatibility Notes**
|
|
40
|
+
- Update API docs and change record.
|
|
41
|
+
- Identify impacted tests and client contracts.
|
|
42
|
+
|
|
43
|
+
## Output
|
|
44
|
+
|
|
45
|
+
Write `.engineering-intelligence/aidlc/construction/<unit>/api-compatibility.md`:
|
|
46
|
+
|
|
47
|
+
```markdown
|
|
48
|
+
# API Backward Compatibility: <unit>
|
|
49
|
+
|
|
50
|
+
## Contract Sources
|
|
51
|
+
- <path>
|
|
52
|
+
|
|
53
|
+
## Change Classification
|
|
54
|
+
| API Surface | Change | Class | Client Impact | Required Action |
|
|
55
|
+
|---|---|---|---|---|
|
|
56
|
+
|
|
57
|
+
## Breaking Changes
|
|
58
|
+
- <change>
|
|
59
|
+
- Version bump: <path/evidence or missing>
|
|
60
|
+
- Migration notes: <path/evidence or missing>
|
|
61
|
+
|
|
62
|
+
## Validation
|
|
63
|
+
- Contract tests:
|
|
64
|
+
- Snapshot/replay checks:
|
|
65
|
+
- Manual verification:
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Blocking Conditions
|
|
69
|
+
|
|
70
|
+
- Breaking change without version bump, migration notes, or explicit approval
|
|
71
|
+
- Removed API without deprecation path
|
|
72
|
+
- Response contract changed without compatibility test
|
|
73
|
+
- Auth requirement changed without security/permission test
|
|
74
|
+
|
|
75
|
+
## Quality Gates
|
|
76
|
+
|
|
77
|
+
- [ ] Contract sources were loaded
|
|
78
|
+
- [ ] Every API change is classified as additive, deprecated, or breaking
|
|
79
|
+
- [ ] Breaking changes have version bump or explicit approval
|
|
80
|
+
- [ ] API docs and tests are updated for contract changes
|
|
@@ -86,27 +86,36 @@ Queue → Worker → Process → DB Write → Notify
|
|
|
86
86
|
|
|
87
87
|
## Procedure
|
|
88
88
|
|
|
89
|
-
1. **
|
|
89
|
+
1. **Context Relevance Selection** — Before reading broad intelligence, rank knowledge and context documents by graph proximity to the change scope:
|
|
90
|
+
- direct graph neighbors first
|
|
91
|
+
- critical-path maps next
|
|
92
|
+
- impacted API/schema/security docs next
|
|
93
|
+
- broad background docs last
|
|
94
|
+
Estimate token cost and load in relevance order until roughly 40% of the available context budget is consumed. Reserve the rest for implementation, tests, diagnostics, and user interaction. If critical docs cannot fit, escalate with the missing docs and reason.
|
|
90
95
|
|
|
91
|
-
2. **
|
|
96
|
+
2. **Check Impact** — Review the impact report and graph updates. Identify which context maps are affected.
|
|
97
|
+
|
|
98
|
+
3. **Update Affected Maps** — For each affected map:
|
|
92
99
|
- Update specific entries, not the entire map
|
|
93
100
|
- Add new entries for new modules/services/paths
|
|
94
101
|
- Remove entries for deleted modules/services
|
|
95
102
|
- Update paths and descriptions for renamed elements
|
|
96
103
|
|
|
97
|
-
|
|
104
|
+
4. **Preserve Conciseness** — Each map should be:
|
|
98
105
|
- Under 150 lines
|
|
99
106
|
- Table-formatted where possible
|
|
100
107
|
- Navigational (paths and quick descriptions), not explanatory
|
|
101
108
|
- Optimized for AI agent context windows
|
|
102
109
|
|
|
103
|
-
|
|
110
|
+
5. **Verify Accuracy** — Cross-check updated maps against:
|
|
104
111
|
- Current `.engineering-intelligence/graph/` data
|
|
105
112
|
- Actual file system paths (do they still exist?)
|
|
106
113
|
|
|
107
114
|
## Rules
|
|
108
115
|
|
|
109
116
|
- Keep context concise and navigational — not a knowledge-base duplicate
|
|
117
|
+
- Load context by relevance, not by directory order
|
|
118
|
+
- Keep initial intelligence loading under 40% of the available context budget when possible
|
|
110
119
|
- Use tables over prose wherever possible
|
|
111
120
|
- Update only affected maps from the impact report
|
|
112
121
|
- Do not regenerate unrelated context
|
|
@@ -115,6 +124,8 @@ Queue → Worker → Process → DB Write → Notify
|
|
|
115
124
|
## Quality Gates
|
|
116
125
|
|
|
117
126
|
- [ ] Each map is under 150 lines
|
|
127
|
+
- [ ] Relevant docs were ranked by graph proximity before broad loading
|
|
128
|
+
- [ ] Context budget was preserved or an escalation was recorded
|
|
118
129
|
- [ ] Updated entries reference real, existing paths
|
|
119
130
|
- [ ] Only impact-affected maps were modified
|
|
120
131
|
- [ ] Table format used where appropriate
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: database-migration-safety-engine
|
|
3
|
+
description: Reviews database migrations for backward compatibility, rollback coverage, locks, destructive operations, and production-dangerous changes.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Database Migration Safety Engine
|
|
8
|
+
|
|
9
|
+
Use this skill whenever schemas, migrations, ORM models, data stores, indexes, or persistence contracts change.
|
|
10
|
+
|
|
11
|
+
## Procedure
|
|
12
|
+
|
|
13
|
+
1. **Detect Migration System**
|
|
14
|
+
- Prisma, Drizzle, TypeORM, Sequelize, Alembic, Django migrations, Rails migrations, Flyway, Liquibase, Knex, raw SQL, Terraform-managed database resources.
|
|
15
|
+
|
|
16
|
+
2. **Classify Operations**
|
|
17
|
+
- Additive: new nullable column, new table, additive index
|
|
18
|
+
- Backward-compatible with caution: new non-null column with default, enum expansion, trigger change
|
|
19
|
+
- Dangerous: column/table drop, rename without compatibility window, type narrowing, destructive data rewrite, full table lock, index without `CONCURRENTLY` for PostgreSQL production tables
|
|
20
|
+
- Irreversible: data deletion, lossy transform, externalized state mutation
|
|
21
|
+
|
|
22
|
+
3. **Validate Rollback**
|
|
23
|
+
- Check for a down migration or rollback equivalent.
|
|
24
|
+
- Generate down migration stubs when missing, but mark them for human review.
|
|
25
|
+
- Record irreversible steps explicitly.
|
|
26
|
+
|
|
27
|
+
4. **Check Zero-Downtime Safety**
|
|
28
|
+
- Prefer expand/contract migrations.
|
|
29
|
+
- Require deprecation windows for drops/renames.
|
|
30
|
+
- Require online index creation where supported, such as PostgreSQL `CREATE INDEX CONCURRENTLY`.
|
|
31
|
+
- Require explicit approval for production-dangerous operations.
|
|
32
|
+
|
|
33
|
+
5. **Map Query Impact**
|
|
34
|
+
- Parse ORM model definitions and raw SQL strings.
|
|
35
|
+
- Build or update a schema-to-query map.
|
|
36
|
+
- Flag queries referencing changed columns/tables as directly impacted.
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
40
|
+
Write `.engineering-intelligence/aidlc/construction/<unit>/database-migration-safety.md`:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
# Database Migration Safety: <unit>
|
|
44
|
+
|
|
45
|
+
## Migration Files
|
|
46
|
+
- <path>
|
|
47
|
+
|
|
48
|
+
## Operation Classification
|
|
49
|
+
| Operation | Object | Classification | Risk | Evidence |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
|
|
52
|
+
## Rollback / Down Migration
|
|
53
|
+
- Exists: <yes/no>
|
|
54
|
+
- Stub generated: <yes/no>
|
|
55
|
+
- Irreversible steps: <list or none>
|
|
56
|
+
|
|
57
|
+
## Schema-To-Query Impact
|
|
58
|
+
| Changed Schema Object | Query / ORM Usage | Impact | Evidence |
|
|
59
|
+
|---|---|---|---|
|
|
60
|
+
|
|
61
|
+
## Approval Required
|
|
62
|
+
- <dangerous operation requiring explicit approval>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Blocking Conditions
|
|
66
|
+
|
|
67
|
+
- Missing down migration for medium-or-higher risk migration
|
|
68
|
+
- Drop/rename without deprecation window
|
|
69
|
+
- Full table lock risk not acknowledged
|
|
70
|
+
- Production-dangerous operation without explicit approval
|
|
71
|
+
- Changed column referenced by unupdated query
|
|
72
|
+
|
|
73
|
+
## Quality Gates
|
|
74
|
+
|
|
75
|
+
- [ ] Migration system was detected
|
|
76
|
+
- [ ] Operations were classified
|
|
77
|
+
- [ ] Down migration or rollback strategy exists
|
|
78
|
+
- [ ] Schema-to-query impacts are listed
|
|
79
|
+
- [ ] Explicit approval is recorded for dangerous operations
|
|
@@ -41,6 +41,16 @@ Read these artifacts and identify relevant context:
|
|
|
41
41
|
|
|
42
42
|
**If intelligence is missing or stale**: Run `initialize-intelligence-skill` first.
|
|
43
43
|
|
|
44
|
+
#### Pre-Flight Freshness Gate
|
|
45
|
+
|
|
46
|
+
Before impact analysis or code edits:
|
|
47
|
+
|
|
48
|
+
1. Resolve the likely changed modules from the request, graph proximity, or `change-detection-engine`.
|
|
49
|
+
2. Run `staleness-detector` scoped to those modules and related knowledge/context/memory artifacts.
|
|
50
|
+
3. If any freshness score is below `60`, run `incremental-sync-engine` for the stale artifacts before editing product code, or explicitly mark stale context in the impact report with the affected documents and scores.
|
|
51
|
+
4. If any score is below `50`, implementation is blocked until incremental sync runs or the user explicitly accepts stale-context risk.
|
|
52
|
+
5. Skip stale H2 sections that carry low confidence metadata unless they are refreshed or verified against source.
|
|
53
|
+
|
|
44
54
|
### 2. Impact Analysis: Write Report
|
|
45
55
|
|
|
46
56
|
Before any code edit, write `.engineering-intelligence/reports/IMP-XXX-<summary>.md`:
|
|
@@ -55,6 +65,7 @@ Before any code edit, write `.engineering-intelligence/reports/IMP-XXX-<summary>
|
|
|
55
65
|
|
|
56
66
|
## Analysis
|
|
57
67
|
- Mode: <proposal|diff>
|
|
68
|
+
- Freshness gate: <passed|synced|stale risk accepted> with scores
|
|
58
69
|
- Graph inputs consulted: <list>
|
|
59
70
|
- Directly affected: <files, modules, services>
|
|
60
71
|
- Indirectly affected: <downstream consumers, dependent services>
|
|
@@ -62,6 +73,10 @@ Before any code edit, write `.engineering-intelligence/reports/IMP-XXX-<summary>
|
|
|
62
73
|
|
|
63
74
|
## Validation Requirements
|
|
64
75
|
- <test types needed>
|
|
76
|
+
- Type safety: <required|not applicable>
|
|
77
|
+
- API compatibility: <required|not applicable>
|
|
78
|
+
- Migration safety: <required|not applicable>
|
|
79
|
+
- Acceptance mapping: required
|
|
65
80
|
- <manual verification needed>
|
|
66
81
|
|
|
67
82
|
## Intelligence Artifacts Affected
|
|
@@ -94,9 +109,21 @@ Before any code edit, write `.engineering-intelligence/reports/IMP-XXX-<summary>
|
|
|
94
109
|
- Follow existing coding patterns from `.engineering-intelligence/memory/coding-patterns.md`
|
|
95
110
|
- Read conventions from `knowledge-base/16-conventions.md` and `.engineering-intelligence/memory/coding-patterns.md` — match naming patterns, import style, error handling patterns, and code structure
|
|
96
111
|
- If conventions document is missing or outdated, run `convention-detector` first
|
|
112
|
+
- After generating or modifying each file, compare it against `coding-patterns.md` for naming, import order, error handling, logging, folder structure, test style, and framework idioms. Auto-correct minor violations. Structural convention violations become review findings and block completion when critical.
|
|
97
113
|
- Respect architectural boundaries from `.engineering-intelligence/memory/architecture-decisions.md`
|
|
98
114
|
- Consult `dangerous-areas.md` before modifying flagged code
|
|
99
115
|
|
|
116
|
+
#### Strict TDD Red-Green Gate
|
|
117
|
+
|
|
118
|
+
When TDD delivery mode is selected:
|
|
119
|
+
|
|
120
|
+
1. Add or update the required tests first.
|
|
121
|
+
2. Run the new/targeted tests before implementation code changes.
|
|
122
|
+
3. Confirm they fail for the expected reason.
|
|
123
|
+
4. Save failing output in `.engineering-intelligence/aidlc/construction/<unit>/build-and-test/build-and-test-summary.md`.
|
|
124
|
+
5. Only then implement production code.
|
|
125
|
+
6. If this sequence is skipped, mark the construction unit blocked unless the user explicitly approves non-TDD execution.
|
|
126
|
+
|
|
100
127
|
### 4. Add/Update Tests
|
|
101
128
|
|
|
102
129
|
- Add tests proportional to the change risk level
|
|
@@ -110,10 +137,27 @@ Before any code edit, write `.engineering-intelligence/reports/IMP-XXX-<summary>
|
|
|
110
137
|
|
|
111
138
|
- Run linters, type checks, and test suites available in the project
|
|
112
139
|
- Use environmental backpressure: analyze failed diagnostics, fix, and rerun the relevant command until it passes or a blocker is recorded
|
|
140
|
+
- Run `type-safety-engine` for typed projects or record why no type system applies
|
|
141
|
+
- Run `api-backward-compatibility-engine` when API, event, webhook, SDK, route, or schema contracts changed
|
|
142
|
+
- Run `database-migration-safety-engine` when schema, ORM model, migration, index, or data persistence contracts changed
|
|
113
143
|
- Write `.engineering-intelligence/aidlc/construction/<unit>/build-and-test/build-and-test-summary.md` for non-trivial units
|
|
114
144
|
- **Never claim validation passed unless it actually ran and passed**
|
|
115
145
|
- Record partial or failed validation honestly
|
|
116
146
|
|
|
147
|
+
#### Acceptance Criteria Verification Matrix
|
|
148
|
+
|
|
149
|
+
Before Definition of Done can pass, map every criterion from `.engineering-intelligence/aidlc/agile/acceptance-criteria.md` to evidence:
|
|
150
|
+
|
|
151
|
+
```markdown
|
|
152
|
+
## Acceptance Criteria Verification Matrix
|
|
153
|
+
| Criterion | Evidence Type | Evidence | Result | Open Item |
|
|
154
|
+
|---|---|---|---|---|
|
|
155
|
+
| Given..., when..., then... | automated test | `test/file.test.ts` / command result | pass | — |
|
|
156
|
+
| ... | manual verification | <steps required> | pending | <owner/reason> |
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Missing mappings block the Done gate and must be copied into the CHG record as open items.
|
|
160
|
+
|
|
117
161
|
### 6. Incremental Sync
|
|
118
162
|
|
|
119
163
|
Use `incremental-sync-engine` to update only affected artifacts:
|
|
@@ -148,6 +192,16 @@ Create `.changes/CHG-XXX-<summary>.md`:
|
|
|
148
192
|
- <tests added/modified>
|
|
149
193
|
- <test results: passed/failed/skipped>
|
|
150
194
|
|
|
195
|
+
## Acceptance Criteria Verification
|
|
196
|
+
<copy the Acceptance Criteria Verification Matrix, including open items>
|
|
197
|
+
|
|
198
|
+
## Safety Gates
|
|
199
|
+
- Freshness gate: <passed|synced|stale risk accepted>
|
|
200
|
+
- Type safety: <passed|failed|not applicable>
|
|
201
|
+
- API compatibility: <passed|failed|not applicable>
|
|
202
|
+
- Migration safety: <passed|failed|not applicable>
|
|
203
|
+
- Convention enforcement: <passed|findings>
|
|
204
|
+
|
|
151
205
|
## Related Reports
|
|
152
206
|
- IMP-XXX: <link to impact report>
|
|
153
207
|
- REV-XXX: <link to review report, if applicable>
|
|
@@ -178,6 +232,7 @@ Summarize to the user:
|
|
|
178
232
|
## Quality Gates
|
|
179
233
|
|
|
180
234
|
- [ ] Impact report written before any code edit
|
|
235
|
+
- [ ] Pre-Flight Freshness Gate passed, synced stale artifacts, or stale risk was explicit in the impact report
|
|
181
236
|
- [ ] All changed behavior has corresponding test coverage
|
|
182
237
|
- [ ] Validation was actually executed (not just claimed)
|
|
183
238
|
- [ ] Only affected intelligence artifacts were updated
|
|
@@ -185,6 +240,8 @@ Summarize to the user:
|
|
|
185
240
|
- [ ] Story meets Definition of Ready before implementation starts
|
|
186
241
|
- [ ] Story meets Definition of Done before final report
|
|
187
242
|
- [ ] Acceptance criteria are mapped to validation evidence
|
|
243
|
+
- [ ] Acceptance Criteria Verification Matrix has no unmapped criteria unless recorded as open items
|
|
244
|
+
- [ ] Type safety, API compatibility, and migration safety gates ran when applicable
|
|
188
245
|
- [ ] Environmental backpressure was used for validation failures
|
|
189
246
|
- [ ] Change record references the correct impact report
|
|
190
247
|
- [ ] High-risk changes went through review gate
|
|
@@ -192,6 +249,6 @@ Summarize to the user:
|
|
|
192
249
|
|
|
193
250
|
## Cross-References
|
|
194
251
|
|
|
195
|
-
- Depends on: `initialize-intelligence-skill` (prerequisite), `change-detection-engine`, `impact-analysis-engine`, `graph-engine`
|
|
196
|
-
- Uses during execution: `testing-intelligence-engine`, `incremental-sync-engine`, `change-history-engine`
|
|
252
|
+
- Depends on: `initialize-intelligence-skill` (prerequisite), `change-detection-engine`, `impact-analysis-engine`, `graph-engine`, `staleness-detector`
|
|
253
|
+
- Uses during execution: `testing-intelligence-engine`, `type-safety-engine`, `api-backward-compatibility-engine`, `database-migration-safety-engine`, `incremental-sync-engine`, `change-history-engine`
|
|
197
254
|
- Optional: `engineering-change-review` (for high-risk), `refactoring-planner` (for refactors), `convention-detector` (for convention compliance)
|
|
@@ -70,6 +70,8 @@ Each JSON graph uses this envelope:
|
|
|
70
70
|
| `configures` | Configuration dependency |
|
|
71
71
|
| `implicit-dependency` | Shared database tables, shared config |
|
|
72
72
|
| `event-coupling` | Event-driven coupling |
|
|
73
|
+
| `imports-type` | Type-only or annotation-level dependency between interfaces, aliases, declarations, schemas, or annotations |
|
|
74
|
+
| `co-change` | Git history coupling above confidence threshold |
|
|
73
75
|
|
|
74
76
|
### 2. `service-graph.json` — Service Communication Topology
|
|
75
77
|
|
|
@@ -102,6 +104,7 @@ Each JSON graph uses this envelope:
|
|
|
102
104
|
| `service-layer` | Business logic service |
|
|
103
105
|
| `repository` | Data access layer |
|
|
104
106
|
| `background` | Background job or worker |
|
|
107
|
+
| `function` | Function or method on a critical path |
|
|
105
108
|
|
|
106
109
|
| Edge Relation | Description |
|
|
107
110
|
|---|---|
|
|
@@ -136,6 +139,8 @@ Each JSON graph uses this envelope:
|
|
|
136
139
|
| `store` | Persistence |
|
|
137
140
|
| `sink` | Data output/consumer |
|
|
138
141
|
| `validator` | Validation step |
|
|
142
|
+
| `sensitive-source` | PII, token, payment, health, credential, or regulated data origin |
|
|
143
|
+
| `sensitive-sink` | Sink that persists, transmits, logs, or exports sensitive data |
|
|
139
144
|
|
|
140
145
|
| Edge Relation | Description |
|
|
141
146
|
|---|---|
|
|
@@ -163,9 +168,13 @@ Derive Mermaid diagrams from the JSON graphs. Include:
|
|
|
163
168
|
2. Build all five graphs from scratch
|
|
164
169
|
3. Assign `verified` confidence to edges backed by explicit code evidence
|
|
165
170
|
4. Assign `inferred` confidence to edges derived from patterns or naming conventions
|
|
166
|
-
5. Integrate git change coupling data from `git-intelligence-engine` as `
|
|
167
|
-
6.
|
|
168
|
-
7.
|
|
171
|
+
5. Integrate git change coupling data from `git-intelligence-engine` as `co-change` edges when coupling strength is above `0.7`, confidence is `inferred`, and evidence cites commit ranges or reports
|
|
172
|
+
6. Build `imports-type` edges from type checker/compiler API evidence when typed languages are detected
|
|
173
|
+
7. Build function-level call graph nodes for critical paths in `runtime-graph.json`
|
|
174
|
+
8. Annotate runtime edges with `metadata.hotness` derived from `critical-paths.md`, test coverage frequency, and git co-change strength
|
|
175
|
+
9. Classify sensitive data nodes in `data-flow-graph.json` with `metadata.sensitivity` (`pii`, `token`, `payment`, `credential`, `health`, `regulated`, `none`) and track propagation to sinks
|
|
176
|
+
10. Mark unresolvable relationships as `unknown` and add to `unknowns` array
|
|
177
|
+
11. Generate Mermaid diagrams in `architecture-map.md`
|
|
169
178
|
|
|
170
179
|
### Incremental Mode (post-change update)
|
|
171
180
|
|
|
@@ -173,8 +182,9 @@ Derive Mermaid diagrams from the JSON graphs. Include:
|
|
|
173
182
|
2. Identify affected nodes and edges across all graphs
|
|
174
183
|
3. Update, add, or remove only affected nodes and edges
|
|
175
184
|
4. Preserve stable node IDs — only change an ID if the represented element was renamed
|
|
176
|
-
5.
|
|
177
|
-
6.
|
|
185
|
+
5. Update `imports-type`, `co-change`, function call, hotness, and sensitive data annotations where affected
|
|
186
|
+
6. Re-derive affected sections of `architecture-map.md`
|
|
187
|
+
7. Require full remapping only when structural impact cannot be bounded
|
|
178
188
|
|
|
179
189
|
## Rules
|
|
180
190
|
|
|
@@ -184,6 +194,8 @@ Derive Mermaid diagrams from the JSON graphs. Include:
|
|
|
184
194
|
- Derive Mermaid diagrams in `architecture-map.md` from the JSON graph content — never hand-author diagrams that contradict the JSON
|
|
185
195
|
- For ordinary changes, update only impacted nodes, edges, maps, and connected context documents
|
|
186
196
|
- Rebuild all graphs on initialization, explicit mapping request, or when structural impact cannot be bounded
|
|
197
|
+
- Do not add `co-change` edges below `0.7` coupling strength
|
|
198
|
+
- Sensitive data propagation to unencrypted channels, logs, or unvalidated sinks must become a security finding in the impact report
|
|
187
199
|
|
|
188
200
|
## Quality Gates
|
|
189
201
|
|
|
@@ -192,6 +204,11 @@ Derive Mermaid diagrams from the JSON graphs. Include:
|
|
|
192
204
|
- [ ] No `unknown` relationships are left out of the `unknowns` array
|
|
193
205
|
- [ ] `architecture-map.md` Mermaid diagrams are syntactically valid
|
|
194
206
|
- [ ] Node IDs are stable across incremental updates
|
|
207
|
+
- [ ] Type dependencies are represented as `imports-type` where applicable
|
|
208
|
+
- [ ] Co-change edges above `0.7` are represented or explicitly unavailable
|
|
209
|
+
- [ ] Runtime critical paths include function-level nodes where detectable
|
|
210
|
+
- [ ] Sensitive data nodes and propagation edges are annotated in `data-flow-graph.json`
|
|
211
|
+
- [ ] Hot path edges include `metadata.hotness` when evidence exists
|
|
195
212
|
|
|
196
213
|
## Cross-References
|
|
197
214
|
|
|
@@ -23,10 +23,13 @@ Determine what can break before changing code. Produce a reusable impact report
|
|
|
23
23
|
3. **Trace Direct Impact** — Identify:
|
|
24
24
|
- Files directly modified or proposed for modification
|
|
25
25
|
- Functions, classes, types, and interfaces changed
|
|
26
|
+
- TypeScript interfaces, type aliases, enums, declaration files, Python annotations, Pydantic/dataclass models, and other typed contracts changed
|
|
26
27
|
- API contracts affected (routes, request/response shapes)
|
|
27
28
|
- Database schemas or migrations affected
|
|
28
29
|
- Configuration changes
|
|
29
30
|
|
|
31
|
+
For typed languages, invoke `type-safety-engine` in dependency-tracing mode. Add type-only dependencies as `imports-type` edges in `dependency-graph.json` and include them in direct impact when the changed symbol is a shared type or annotation.
|
|
32
|
+
|
|
30
33
|
4. **Trace Indirect Impact** — Using graph intelligence, identify:
|
|
31
34
|
- Downstream consumers of changed modules (from dependency-graph)
|
|
32
35
|
- Services communicating with changed services (from service-graph)
|
|
@@ -35,6 +38,8 @@ Determine what can break before changing code. Produce a reusable impact report
|
|
|
35
38
|
- Data pipelines affected (from data-flow-graph)
|
|
36
39
|
- Test suites covering affected code
|
|
37
40
|
- Cross-reference with git change coupling data from `git-intelligence-engine` for hidden dependencies
|
|
41
|
+
- Query paths referencing changed schema fields from schema-to-query mapping
|
|
42
|
+
- API clients or contract tests affected by additive, deprecated, or breaking API changes
|
|
38
43
|
|
|
39
44
|
5. **Trace Transitive Impact** — Follow 2nd and 3rd order effects through the graph. Identify files that are indirectly affected by consumers of the directly affected modules. Walk the dependency chain until impact attenuates or reaches a service boundary.
|
|
40
45
|
|
|
@@ -48,6 +53,7 @@ Determine what can break before changing code. Produce a reusable impact report
|
|
|
48
53
|
| **API contract** | None | Additive | Deprecated | Breaking |
|
|
49
54
|
| **Test coverage** | Well-tested | Partial | Sparse | None |
|
|
50
55
|
| **Change coupling** | None | Low (1-2 coupled files) | Medium (3-5 coupled files) | High (6+ coupled files) |
|
|
56
|
+
| **Hot path** | Cold path | Normal | Critical path | Revenue/security/SLO path |
|
|
51
57
|
|
|
52
58
|
7. **Identify Validation Needs** — Map impact to required validation:
|
|
53
59
|
|
|
@@ -83,9 +89,10 @@ Write `.engineering-intelligence/reports/IMP-XXX-<slug>.md`:
|
|
|
83
89
|
- Missing: <graphs not available>
|
|
84
90
|
|
|
85
91
|
## Direct Impact
|
|
86
|
-
| File/Module | Change Type | Risk |
|
|
87
|
-
|
|
88
|
-
| path/to/file.ts | Modified function `handleAuth` | high |
|
|
92
|
+
| File/Module | Change Type | Dependency Type | Risk |
|
|
93
|
+
|---|---|---|---|
|
|
94
|
+
| path/to/file.ts | Modified function `handleAuth` | runtime call | high |
|
|
95
|
+
| path/to/types.ts | Modified interface `User` | imports-type | high |
|
|
89
96
|
|
|
90
97
|
## Indirect Impact
|
|
91
98
|
| Affected Area | Relationship | Confidence |
|
|
@@ -93,6 +100,12 @@ Write `.engineering-intelligence/reports/IMP-XXX-<slug>.md`:
|
|
|
93
100
|
| UserService | Imports changed module | verified |
|
|
94
101
|
| /api/users endpoint | Calls modified handler | inferred |
|
|
95
102
|
|
|
103
|
+
## Contract And Data Impact
|
|
104
|
+
| Surface | Classification | Required Gate |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| API <name> | additive | api-backward-compatibility-engine |
|
|
107
|
+
| Table.column | schema-to-query impact | database-migration-safety-engine |
|
|
108
|
+
|
|
96
109
|
## Risk Assessment
|
|
97
110
|
- Overall risk: <level>
|
|
98
111
|
- Key risk factors: <list>
|
|
@@ -130,13 +143,16 @@ Write `.engineering-intelligence/reports/IMP-XXX-<slug>.md`:
|
|
|
130
143
|
- [ ] Scope is explicitly stated (not assumed)
|
|
131
144
|
- [ ] Graph inputs are listed (consulted, refreshed, or missing)
|
|
132
145
|
- [ ] Direct and indirect impact are separated
|
|
146
|
+
- [ ] Type-level dependencies are traced for typed languages
|
|
147
|
+
- [ ] API and schema/query impact are classified when relevant
|
|
133
148
|
- [ ] Risk score is justified with evidence
|
|
134
149
|
- [ ] Validation requirements are specific (not generic)
|
|
135
150
|
- [ ] Report ends with the "did not modify product code" statement
|
|
136
151
|
|
|
137
152
|
## Cross-References
|
|
138
153
|
|
|
139
|
-
- Depends on: `change-detection-engine`, `graph-engine`, `git-intelligence-engine`
|
|
154
|
+
- Depends on: `change-detection-engine`, `graph-engine`, `git-intelligence-engine`, `type-safety-engine`
|
|
140
155
|
- Consults: `data-flow-graph.json` (for data pipeline impact)
|
|
156
|
+
- Consults: `api-backward-compatibility-engine`, `database-migration-safety-engine` when contracts or schemas change
|
|
141
157
|
- Used by: `engineering-intelligence-skill`, `incremental-sync-engine`, `analyze-impact` workflow
|
|
142
158
|
- Consumed by: `engineering-change-review`, `testing-intelligence-engine`
|