engineering-intelligence 0.2.0 → 0.3.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 (40) hide show
  1. package/README.md +4 -0
  2. package/dist/cli/index.js +24 -3
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/templates.d.ts +1 -1
  5. package/dist/templates.js +2 -2
  6. package/dist/templates.js.map +1 -1
  7. package/dist/visualizer/index.d.ts +2 -0
  8. package/dist/visualizer/index.d.ts.map +1 -0
  9. package/dist/visualizer/index.js +599 -0
  10. package/dist/visualizer/index.js.map +1 -0
  11. package/package.json +2 -2
  12. package/templates/canonical/agents/change-agent.md +58 -1
  13. package/templates/canonical/agents/engineering-orchestrator.md +69 -3
  14. package/templates/canonical/agents/knowledge-agent.md +59 -2
  15. package/templates/canonical/agents/quality-agent.md +59 -2
  16. package/templates/canonical/rules/engineering-intelligence.md +42 -13
  17. package/templates/canonical/skills/architecture-review-engine/SKILL.md +112 -3
  18. package/templates/canonical/skills/change-detection-engine/SKILL.md +82 -7
  19. package/templates/canonical/skills/change-history-engine/SKILL.md +125 -5
  20. package/templates/canonical/skills/context-sync-engine/SKILL.md +116 -9
  21. package/templates/canonical/skills/deep-project-knowledge-extractor/SKILL.md +171 -5
  22. package/templates/canonical/skills/engineering-change-review/SKILL.md +145 -9
  23. package/templates/canonical/skills/engineering-intelligence-skill/SKILL.md +168 -0
  24. package/templates/canonical/skills/graph-engine/SKILL.md +134 -14
  25. package/templates/canonical/skills/impact-analysis-engine/SKILL.md +125 -11
  26. package/templates/canonical/skills/incremental-sync-engine/SKILL.md +75 -10
  27. package/templates/canonical/skills/initialize-intelligence-skill/SKILL.md +130 -0
  28. package/templates/canonical/skills/knowledge-base-validator/SKILL.md +92 -7
  29. package/templates/canonical/skills/knowledge-sync-engine/SKILL.md +77 -8
  30. package/templates/canonical/skills/memory-sync-engine/SKILL.md +70 -8
  31. package/templates/canonical/skills/refactoring-planner/SKILL.md +143 -2
  32. package/templates/canonical/skills/testing-intelligence-engine/SKILL.md +119 -3
  33. package/templates/canonical/workflows/analyze-impact.md +25 -3
  34. package/templates/canonical/workflows/engineering-intelligence.md +20 -3
  35. package/templates/canonical/workflows/initialize-engineering-intelligence.md +30 -3
  36. package/templates/canonical/workflows/map-architecture.md +17 -6
  37. package/templates/canonical/workflows/review-engineering-change.md +26 -2
  38. package/templates/canonical/workflows/sync-engineering-intelligence.md +20 -2
  39. package/templates/canonical/skills/engineering-intelligence/SKILL.md +0 -21
  40. package/templates/canonical/skills/initialize-engineering-intelligence/SKILL.md +0 -32
@@ -1,21 +0,0 @@
1
- ---
2
- name: engineering-intelligence
3
- description: Executes engineering changes with impact analysis, implementation, tests, validation, and incremental synchronization of project intelligence. Use for feature, bugfix, update, refactor, architecture, infrastructure, or security requests.
4
- ---
5
-
6
- # Engineering Intelligence Workflow
7
-
8
- Use this workflow for implementation requests after project intelligence has been initialized.
9
-
10
- ## Procedure
11
-
12
- 1. Read relevant files from `knowledge-base/`, `.engineering-intelligence/memory/`, `.engineering-intelligence/context/`, and `.engineering-intelligence/graph/`. If missing, run the initialization capability first.
13
- 2. Classify the request and write a pre-change `.engineering-intelligence/reports/IMP-XXX-<summary>.md` impact report before editing.
14
- 3. Implement the requested change in the project code.
15
- 4. Add or update relevant tests and execute the appropriate validation available in the project.
16
- 5. Use incremental synchronization to update only affected knowledge-base, memory, context, event, graph, and report artifacts.
17
- 6. Create the next `.changes/CHG-XXX-<summary>.md` record referencing related impact and any review reports.
18
- 7. For high-risk changes, run engineering-change review before final reporting.
19
- 8. Report code changes, tests run, affected systems, synchronized documentation/graph artifacts, and unresolved risks.
20
-
21
- Do not claim validation succeeded unless it ran successfully. Do not update unrelated documents merely to regenerate them.
@@ -1,32 +0,0 @@
1
- ---
2
- name: initialize-engineering-intelligence
3
- description: Initializes project engineering intelligence by analyzing repository evidence and generating knowledge, context, memory, event guidance, architecture graphs, and an initialization change record. Use when onboarding a repository or when asked to initialize engineering intelligence.
4
- ---
5
-
6
- # Initialize Engineering Intelligence
7
-
8
- Create a trustworthy project intelligence baseline. Analyze only evidence present in source code, configuration, tests, infrastructure, and existing documentation. Mark unknowns and uncertainties explicitly; never invent architecture, APIs, schemas, or business rules.
9
-
10
- ## Outputs
11
-
12
- Generate:
13
-
14
- - `knowledge-base/00-project-overview.md` through `knowledge-base/15-validation-report.md`
15
- - `.engineering-intelligence/memory/` for durable decisions, rules, patterns, constraints, and technology decisions
16
- - `.engineering-intelligence/context/` for module, service, runtime, dependency, critical-path, and dangerous-area maps
17
- - `.engineering-intelligence/events/` for API, schema, auth, feature, and infrastructure change guidance
18
- - `.engineering-intelligence/graph/` for JSON dependency, service, runtime, and business-flow graphs plus a Mermaid architecture map
19
- - `.changes/CHG-000-initialization.md`
20
-
21
- ## Procedure
22
-
23
- 1. Discover repositories, packages, runtimes, build systems, entrypoints, CI, deployment, environment examples, databases, APIs, auth, and tests.
24
- 2. Trace architecture and critical runtime flows from code evidence.
25
- 3. Write the knowledge base with file-backed evidence and clearly labeled unknowns.
26
- 4. Validate major documentation claims against the project and write `15-validation-report.md`.
27
- 5. Generate compact durable memory and navigation context from validated findings.
28
- 6. Use `graph-engine` to generate a full evidence-backed graph baseline and `architecture-map.md`.
29
- 7. Generate change-event guidance and initialization history.
30
- 8. Report generated artifacts, confidence limits, and areas requiring human confirmation.
31
-
32
- This initialization workflow documents and validates the project. It does not implement product changes.