specky-sdd 3.2.0 → 3.2.1

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 CHANGED
@@ -2,11 +2,11 @@
2
2
  <br>
3
3
  <img src="media/specky-brand-logo.svg" alt="Specky" height="80">
4
4
  <br><br>
5
- <p><strong>56 MCP tools. 10-phase pipeline. Works in any IDE.</strong></p>
5
+ <p><strong>57 MCP tools. 10-phase pipeline. Works in any IDE.</strong></p>
6
6
  <p>Agentic Spec-Driven Development</p>
7
7
 
8
8
  <p>
9
- <img src="https://img.shields.io/badge/tools-56_MCP-7c3aed?style=flat-square" alt="56 Tools"/>
9
+ <img src="https://img.shields.io/badge/tools-57_MCP-7c3aed?style=flat-square" alt="57 Tools"/>
10
10
  <img src="https://img.shields.io/badge/phases-10_enforced-6d28d9?style=flat-square" alt="10 Phases"/>
11
11
  <img src="https://img.shields.io/badge/diagrams-17_types-5b21b6?style=flat-square" alt="17 Diagrams"/>
12
12
  <img src="https://img.shields.io/badge/compliance-6_frameworks-4c1d95?style=flat-square" alt="6 Compliance"/>
@@ -41,17 +41,17 @@
41
41
  | | [Input Methods](#input-methods-6-ways-to-start) | 6 ways to feed Specky |
42
42
  | | [Three Project Types](#three-project-types-one-pipeline) | Greenfield, Brownfield, Modernization |
43
43
  | **Pipeline** | [Pipeline and LGTM Gates](#pipeline-and-lgtm-gates) | 10 phases with human review gates |
44
- | | [All 56 Tools](#all-56-tools) | Complete tool reference by category |
44
+ | | [All 57 Tools](#all-57-tools) | Complete tool reference by category |
45
45
  | | [EARS Notation](#ears-notation) | The 6 requirement patterns |
46
46
  | **Enterprise** | [Compliance Frameworks](#compliance-frameworks) | HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001 |
47
47
  | | [Enterprise Ready](#enterprise-ready) | Security, audit trail, quality gates |
48
48
  | **Platform** | [The SDD Platform](#the-spec-driven-development-platform) | Built on Spec-Kit, everything included |
49
- | | [Roadmap](#roadmap) | v3.0 current, v3.1+ planned |
49
+ | | [Roadmap](#roadmap) | v3.2 current, v3.3+ planned |
50
50
 
51
51
 
52
52
  ## What is Specky?
53
53
 
54
- Specky is an open-source **MCP server** that turns the [Spec-Kit](https://github.com/paulasilvatech/spec-kit) SDD methodology into a **programmable enforcement engine** with 56 validated tools. It provides a deterministic pipeline from **any input** (meeting transcripts, documents, Figma designs, or natural language prompts) through specifications, architecture, infrastructure as code, implementation, and deployment.
54
+ Specky is an open-source **MCP server** that turns the [Spec-Kit](https://github.com/paulasilvatech/spec-kit) SDD methodology into a **programmable enforcement engine** with 57 validated tools. It provides a deterministic pipeline from **any input** (meeting transcripts, documents, Figma designs, or natural language prompts) through specifications, architecture, infrastructure as code, implementation, and deployment.
55
55
 
56
56
  **Spec-Kit** provides the methodology: EARS notation, gated pipeline phases, constitution model, quality patterns. **Specky** reimplements all of it as MCP tools and adds programmatic enforcement: a state machine that blocks phase-skipping, an EARS validator, cross-artifact analysis, compliance engines, test generation, and MCP-to-MCP routing.
57
57
 
@@ -98,8 +98,8 @@ Specky adds a **deterministic engine** between your intent and your code:
98
98
 
99
99
  | Capability | Specky |
100
100
  |---|---|
101
- | Any input (PDF, DOCX, PPTX, transcript, Figma) to spec | 56 MCP tools handle all input formats |
102
- | EARS validation (programmatic, not AI guessing) | 5 patterns enforced at schema level |
101
+ | Any input (PDF, DOCX, PPTX, transcript, Figma) to spec | 57 MCP tools handle all input formats |
102
+ | EARS validation (programmatic, not AI guessing) | 6 patterns enforced at schema level |
103
103
  | Enforced pipeline (not suggestions) | 10 phases with actual gates that block advancement |
104
104
  | 17 diagram types generated automatically | C4 (4 levels), sequence, ER, activity, use case, DFD, deployment, network |
105
105
  | Infrastructure as Code | Terraform, Bicep, Dockerfile from DESIGN.md |
@@ -147,8 +147,8 @@ Then configure your IDE to use the global install:
147
147
  {
148
148
  "servers": {
149
149
  "specky": {
150
- "command": "specky-sdd",
151
- "env": { "SDD_WORKSPACE": "${workspaceFolder}" }
150
+ "type": "stdio",
151
+ "command": "specky-sdd"
152
152
  }
153
153
  }
154
154
  }
@@ -171,8 +171,7 @@ claude mcp add specky -- specky-sdd
171
171
  {
172
172
  "mcpServers": {
173
173
  "specky": {
174
- "command": "specky-sdd",
175
- "env": { "SDD_WORKSPACE": "/path/to/your/project" }
174
+ "command": "specky-sdd"
176
175
  }
177
176
  }
178
177
  }
@@ -190,9 +189,8 @@ Add a config file to the repo so teammates get Specky automatically on clone —
190
189
  {
191
190
  "servers": {
192
191
  "specky": {
193
- "command": "npx",
194
- "args": ["-y", "specky-sdd"],
195
- "env": { "SDD_WORKSPACE": "${workspaceFolder}" }
192
+ "type": "stdio",
193
+ "command": "specky-sdd"
196
194
  }
197
195
  }
198
196
  }
@@ -200,7 +198,7 @@ Add a config file to the repo so teammates get Specky automatically on clone —
200
198
 
201
199
  **Claude Code**:
202
200
  ```bash
203
- claude mcp add specky -- npx -y specky-sdd
201
+ claude mcp add specky -- specky-sdd
204
202
  ```
205
203
 
206
204
  > Commit `.vscode/mcp.json` to Git so every team member gets Specky automatically.
@@ -240,7 +238,7 @@ Open your AI IDE and type:
240
238
  > What tools does Specky have?
241
239
  ```
242
240
 
243
- The AI should list the 56 SDD tools. If you see them, Specky is working.
241
+ The AI should list the 57 SDD tools. If you see them, Specky is working.
244
242
 
245
243
  ### Try It Now
246
244
 
@@ -526,7 +524,7 @@ The AI calls:
526
524
 
527
525
  The AI calls `sdd_export_work_items` + `sdd_create_pr` → generates work item payloads and PR body with full spec traceability.
528
526
 
529
- > **Next:** **Next:** Learn about [EARS notation](#ears-notation) to understand the requirement patterns, or see [All 56 Tools](#all-56-tools) for a complete reference.
527
+ > **Next:** **Next:** Learn about [EARS notation](#ears-notation) to understand the requirement patterns, or see [All 57 Tools](#all-57-tools) for a complete reference.
530
528
 
531
529
 
532
530
  ## Brownfield Project: Add Features to Existing Code
@@ -719,9 +717,9 @@ The AI calls `sdd_advance_phase` → moves the pipeline forward if all prerequis
719
717
  All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live). See [Input Methods](#input-methods-6-ways-to-start) for how to feed data into the pipeline.
720
718
 
721
719
 
722
- ## All 56 Tools
720
+ ## All 57 Tools
723
721
 
724
- ### Input and Conversion (5)
722
+ ### Input and Conversion (6)
725
723
 
726
724
  | Tool | Description |
727
725
  |------|-------------|
@@ -729,9 +727,10 @@ All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live).
729
727
  | `sdd_import_transcript` | Parse meeting transcripts (Teams, Zoom, Google Meet) |
730
728
  | `sdd_auto_pipeline` | Any input to complete spec pipeline (all documents) |
731
729
  | `sdd_batch_import` | Process folder of mixed documents |
730
+ | `sdd_batch_transcripts` | Process folder of meeting transcripts |
732
731
  | `sdd_figma_to_spec` | Figma design to requirements specification |
733
732
 
734
- ### Pipeline Core (8)
733
+ ### Pipeline Core (9)
735
734
 
736
735
  | Tool | Description |
737
736
  |------|-------------|
@@ -741,6 +740,7 @@ All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live).
741
740
  | `sdd_clarify` | Resolve ambiguities with decision tree |
742
741
  | `sdd_write_design` | 12-section system design (C4 model) with sequence diagrams, ERD, API flow |
743
742
  | `sdd_write_tasks` | Task breakdown with dependency graph |
743
+ | `sdd_write_bugfix` | Bugfix specification from issue description |
744
744
  | `sdd_run_analysis` | Quality gate analysis with coverage heatmap |
745
745
  | `sdd_advance_phase` | Move to next pipeline phase |
746
746
 
@@ -779,7 +779,7 @@ All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live).
779
779
  | `sdd_setup_codespaces` | GitHub Codespaces configuration |
780
780
  | `sdd_generate_devcontainer` | .devcontainer/devcontainer.json generation |
781
781
 
782
- ### Integration and Export (5)
782
+ ### Integration and Export (7)
783
783
 
784
784
  | Tool | Description |
785
785
  |------|-------------|
@@ -788,17 +788,20 @@ All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live).
788
788
  | `sdd_create_pr` | PR payload with spec summary |
789
789
  | `sdd_implement` | Ordered implementation plan with checkpoints |
790
790
  | `sdd_research` | Resolve unknowns in RESEARCH.md |
791
+ | `sdd_check_sync` | Detect drift between specification and implementation |
792
+ | `sdd_detect_drift` | Intent drift detection with amendment suggestions |
791
793
 
792
- ### Documentation (4)
794
+ ### Documentation (5)
793
795
 
794
796
  | Tool | Description |
795
797
  |------|-------------|
796
798
  | `sdd_generate_docs` | Complete auto-documentation |
799
+ | `sdd_generate_all_docs` | Generate all documentation types in parallel |
797
800
  | `sdd_generate_api_docs` | API documentation from design |
798
801
  | `sdd_generate_runbook` | Operational runbook |
799
802
  | `sdd_generate_onboarding` | Developer onboarding guide |
800
803
 
801
- ### Utility (5)
804
+ ### Utility (8)
802
805
 
803
806
  | Tool | Description |
804
807
  |------|-------------|
@@ -807,6 +810,9 @@ All artifacts are saved in [`.specs/NNN-feature/`](#where-specifications-live).
807
810
  | `sdd_scan_codebase` | Detect tech stack and structure |
808
811
  | `sdd_metrics` | Project metrics dashboard |
809
812
  | `sdd_amend` | Amend project constitution |
813
+ | `sdd_context_status` | Context tiering status (Hot/Domain/Cold) |
814
+ | `sdd_model_routing` | Model routing guidance for current task |
815
+ | `sdd_check_access` | RBAC access check for current role |
810
816
 
811
817
  ### Testing (3)
812
818
 
@@ -868,13 +874,14 @@ Together they form the **SDD layer** of the GitHub + Microsoft enterprise platfo
868
874
  {
869
875
  "servers": {
870
876
  "specky": {
877
+ "type": "stdio",
871
878
  "command": "specky-sdd"
872
879
  }
873
880
  }
874
881
  }
875
882
  ```
876
883
 
877
- > **Note:** This example assumes `specky-sdd` is installed globally (`npm install -g specky-sdd`). See the [Installation](#installation) section for per-workspace and Docker alternatives.
884
+ > **Note:** This example assumes `specky-sdd` is installed globally (`npm install -g specky-sdd`). See the [Quick Start](#quick-start) section for per-workspace and Docker alternatives.
878
885
 
879
886
  ## Project Configuration
880
887
 
@@ -986,7 +993,7 @@ Specky is built with enterprise adoption in mind.
986
993
  - **Zod `.strict()` validation** — every tool input is schema-validated; unknown fields rejected
987
994
  - **security-scan hook** blocks commits containing hardcoded secrets (exit code 2)
988
995
  - See [SECURITY.md](SECURITY.md) for full OWASP Top 10 coverage
989
- - See [docs/SYSTEM-DESIGN.md](docs/SYSTEM-DESIGN.md) for complete security architecture
996
+ - See [SECURITY.md](SECURITY.md) for complete security architecture
990
997
 
991
998
  ### Security Best Practices
992
999
 
@@ -1042,46 +1049,29 @@ Every pipeline phase produces a traceable artifact in `.specs/NNN-feature/`. The
1042
1049
  - **EARS Validator** — programmatic requirement quality enforcement
1043
1050
  - **Cross-Artifact Analysis** — automatic alignment checking between spec, design, and tasks
1044
1051
  - **Phase Enforcement** — state machine blocks phase-skipping; required files gate advancement
1045
- - **507 unit tests** — CI enforces thresholds on every push
1052
+ - **Comprehensive test suite** — CI enforces thresholds on every push
1046
1053
 
1047
1054
 
1048
1055
  ## Development
1049
1056
 
1050
1057
  ```bash
1051
- # Clone and setup
1052
- git clone https://github.com/paulasilvatech/specky.git
1053
- cd specky
1054
- npm install
1055
-
1056
- # Build
1057
- npm run build
1058
-
1059
- # Run tests (507 tests)
1060
- npm test
1061
-
1062
- # Run tests with coverage report
1063
- npm run test:coverage
1064
-
1065
- # Development mode (auto-reload on file changes)
1066
- npm run dev
1058
+ # Install globally
1059
+ npm install -g specky-sdd
1067
1060
 
1068
1061
  # Verify MCP handshake (quick smoke test)
1069
- echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | node dist/index.js 2>/dev/null
1070
-
1071
- # Build and run with Docker locally
1072
- docker build -t specky-sdd:dev .
1073
- docker run -p 3200:3200 -v $(pwd):/workspace specky-sdd:dev
1074
- curl http://localhost:3200/health
1062
+ echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' | specky-sdd 2>/dev/null
1075
1063
  ```
1076
1064
 
1065
+ For contributors, see [CONTRIBUTING.md](CONTRIBUTING.md).
1066
+
1077
1067
 
1078
1068
  ## Roadmap
1079
1069
 
1080
- ### v3.1 (current)
1070
+ ### v3.2 (current)
1081
1071
 
1082
1072
  | Capability | Status |
1083
1073
  |------------|--------|
1084
- | 56 MCP tools across 10 enforced pipeline phases | Stable |
1074
+ | 57 MCP tools across 10 enforced pipeline phases | Stable |
1085
1075
  | Phase validation on every tool with gate enforcement | Stable |
1086
1076
  | 17 software engineering diagram types (C4, sequence, ER, DFD, deployment, network) | Stable |
1087
1077
  | 12-section system design template (C4 model, security, infrastructure) | Stable |
@@ -1103,9 +1093,9 @@ curl http://localhost:3200/health
1103
1093
  | MCP-to-MCP routing (GitHub, Azure DevOps, Jira, Terraform, Figma, Docker) | Stable |
1104
1094
  | SBOM + cosign signing on Docker image | Stable |
1105
1095
  | JSONL audit logger (optional) | Stable |
1106
- | 507 unit tests | Stable |
1096
+ | Comprehensive test suite | Stable |
1107
1097
 
1108
- ### v3.2+ (planned)
1098
+ ### v3.3+ (planned)
1109
1099
 
1110
1100
  | Feature | Description |
1111
1101
  |---------|-------------|
@@ -1113,10 +1103,8 @@ curl http://localhost:3200/health
1113
1103
  | Observability | OpenTelemetry metrics and structured logging |
1114
1104
  | Internationalization | Spec templates in PT-BR, ES, FR, DE, JA |
1115
1105
  | Automated shrinking | fast-check/Hypothesis shrinking feedback into spec refinement |
1116
- | RBAC | Role-based access control for phase advancement |
1117
1106
  | Centralized audit log | SIEM-integrated tamper-evident audit trail |
1118
1107
  | Multi-tenant | Isolated workspaces for multiple teams |
1119
- | Rate limiting | Request throttling for HTTP transport |
1120
1108
  | SSO / SAML | Federated identity for enterprise auth |
1121
1109
 
1122
1110
  Have a feature request? [Open an issue](https://github.com/paulasilvatech/specky/issues).
package/dist/index.js CHANGED
@@ -71,6 +71,22 @@ if (config.audit_enabled)
71
71
  const server = new McpServer({
72
72
  name: SERVER_NAME,
73
73
  version: VERSION,
74
+ title: "Specky",
75
+ description: "57 MCP tools for Spec-Driven Development. 10-phase enforced pipeline, EARS notation, 17 diagram types, 6 compliance frameworks.",
76
+ websiteUrl: "https://paulasilvatech.github.io/specky-site/",
77
+ icons: [
78
+ {
79
+ src: "https://raw.githubusercontent.com/paulasilvatech/specky/main/media/specky-brand-icon.svg",
80
+ mimeType: "image/svg+xml",
81
+ },
82
+ {
83
+ src: "https://raw.githubusercontent.com/paulasilvatech/specky/main/media/specky-icon-128.png",
84
+ mimeType: "image/png",
85
+ sizes: ["128x128"],
86
+ },
87
+ ],
88
+ }, {
89
+ instructions: "Specky is a Spec-Driven Development engine. Start with sdd_init to create a project, then follow the 10-phase pipeline: Init → Discover → Specify → Clarify → Design → Tasks → Analyze → Implement → Verify → Release. Use sdd_get_status to check current phase. Reply LGTM at quality gates to advance.",
74
90
  });
75
91
  // Initialize services (v1)
76
92
  const fileManager = new FileManager(workspaceRoot);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB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AAC,CAAC;YAC9D,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;gBACnB,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YACvB,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE;YAC3B,OAAO,CAAC,KAAK,CAAC,0CAA0C,IAAI,EAAE,CAAC,CAAC;QAClE,CAAC,CAAC,CAAC;IACL,CAAC;SAAM,CAAC;QACN,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,sCAAsC,OAAO,GAAG,CAAC,CAAC;IAClE,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;IAC5B,OAAO,CAAC,KAAK,CAAC,uBAAuB,EAAE,GAAG,CAAC,CAAC;IAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,55 @@
1
+ <!-- markdownlint-disable -->
2
+ # {{project_name}} — Analysis
3
+
4
+ > Traceability matrix, coverage report, gap analysis, and quality gate decision.
5
+
6
+ ---
7
+
8
+ ## Gate Decision
9
+
10
+ **Decision:** {{gate_decision}}
11
+ **Coverage:** {{coverage_percent}}%
12
+ **Date:** {{date}}
13
+
14
+ ---
15
+
16
+ ## Traceability Matrix
17
+
18
+ | Requirement | Design Component | Task | Test | Status |
19
+ |-------------|-----------------|------|------|--------|
20
+ {{traceability_matrix}}
21
+
22
+ ---
23
+
24
+ ## Coverage Report
25
+
26
+ - **Requirements with design mapping:** {{design_coverage}}
27
+ - **Requirements with task mapping:** {{task_coverage}}
28
+ - **Requirements with test mapping:** {{test_coverage}}
29
+ - **Overall coverage:** {{coverage_percent}}%
30
+
31
+ ---
32
+
33
+ ## Gap Analysis
34
+
35
+ {{#each gaps}}
36
+ - {{this}}
37
+ {{/each}}
38
+
39
+ ---
40
+
41
+ ## Recommendations
42
+
43
+ {{#each recommendations}}
44
+ - {{this}}
45
+ {{/each}}
46
+
47
+ ---
48
+
49
+ ## Quality Metrics
50
+
51
+ | Metric | Value | Target | Status |
52
+ |--------|-------|--------|--------|
53
+ | EARS compliance | {{ears_compliance}} | 100% | {{ears_status}} |
54
+ | Requirement coverage | {{coverage_percent}}% | ≥90% | {{coverage_status}} |
55
+ | Orphan requirements | {{orphan_count}} | 0 | {{orphan_status}} |
@@ -0,0 +1,40 @@
1
+ <!-- markdownlint-disable -->
2
+ # API Documentation: {{title}}
3
+
4
+ **Feature**: {{feature_id}}
5
+ **Version**: {{version}}
6
+ **Base URL**: `{{base_url}}`
7
+ **Date**: {{date}}
8
+
9
+ ---
10
+
11
+ {{#each endpoints}}
12
+ ## {{method}} `{{path}}`
13
+
14
+ {{description}}
15
+
16
+ ### Request
17
+
18
+ ```json
19
+ {{request}}
20
+ ```
21
+
22
+ ### Response
23
+
24
+ ```json
25
+ {{response}}
26
+ ```
27
+
28
+ ### Status Codes
29
+
30
+ | Code | Description |
31
+ |------|-------------|
32
+ | 200 | Success |
33
+ | 400 | Bad Request |
34
+ | 401 | Unauthorized |
35
+ | 404 | Not Found |
36
+ | 500 | Internal Server Error |
37
+
38
+ ---
39
+
40
+ {{/each}}
@@ -0,0 +1,46 @@
1
+ <!-- markdownlint-disable -->
2
+ # Bugfix Spec: {{bug_title}}
3
+
4
+ > Structured specification for bug investigation and resolution.
5
+
6
+ ---
7
+
8
+ ## 1. Current Behavior
9
+
10
+ {{current_behavior}}
11
+
12
+ ---
13
+
14
+ ## 2. Expected Behavior
15
+
16
+ {{expected_behavior}}
17
+
18
+ ---
19
+
20
+ ## 3. Unchanged Behavior
21
+
22
+ The following behaviors must remain unchanged after the fix:
23
+
24
+ {{#each unchanged_behavior}}
25
+ - {{this}}
26
+ {{/each}}
27
+
28
+ ---
29
+
30
+ ## 4. Root Cause Analysis
31
+
32
+ {{root_cause}}
33
+
34
+ ---
35
+
36
+ ## 5. Test Plan
37
+
38
+ {{test_plan}}
39
+
40
+ ---
41
+
42
+ ## Metadata
43
+
44
+ - **Reported:** {{date}}
45
+ - **Severity:** {{severity}}
46
+ - **Related Requirements:** {{related_requirements}}
@@ -0,0 +1,29 @@
1
+ <!-- markdownlint-disable -->
2
+ # Quality Checklist: {{title}}
3
+
4
+ **Feature**: {{feature_id}}
5
+ **Domain**: {{domain}}
6
+ **Date**: {{date}}
7
+ **Mandatory Pass Rate**: {{mandatory_pass_rate}}
8
+
9
+ ---
10
+
11
+ ## Checklist Items
12
+
13
+ | ID | Check | Mandatory | Status | Evidence |
14
+ |----|-------|-----------|--------|----------|
15
+ {{#each items}}
16
+ | {{id}} | {{check}} | {{mandatory}} | {{status}} | {{evidence}} |
17
+ {{/each}}
18
+
19
+ ## Summary
20
+
21
+ - **Total**: {{total_items}}
22
+ - **Passed**: {{pass_count}}
23
+ - **Failed**: {{fail_count}}
24
+ - **Pending**: {{pending_count}}
25
+ - **Mandatory Pass Rate**: {{mandatory_pass_rate}}%
26
+
27
+ ## Gate Decision
28
+
29
+ {{gate_decision}}
@@ -0,0 +1,28 @@
1
+ <!-- markdownlint-disable -->
2
+ # Compliance Report: {{title}}
3
+
4
+ **Feature**: {{feature_id}}
5
+ **Framework**: {{framework}}
6
+ **Date**: {{date}}
7
+ **Overall Status**: {{overall_status}}
8
+
9
+ ---
10
+
11
+ ## Controls Assessment
12
+
13
+ | Control ID | Name | Status | Evidence | Remediation |
14
+ |-----------|------|--------|----------|-------------|
15
+ {{#each findings}}
16
+ | {{control_id}} | {{control_name}} | {{status}} | {{evidence}} | {{remediation}} |
17
+ {{/each}}
18
+
19
+ ## Summary
20
+
21
+ - **Controls Checked**: {{controls_checked}}
22
+ - **Passed**: {{controls_passed}}
23
+ - **Failed**: {{controls_failed}}
24
+ - **N/A**: {{controls_na}}
25
+
26
+ ## Recommendation
27
+
28
+ {{recommendation}}
@@ -0,0 +1,57 @@
1
+ <!-- markdownlint-disable -->
2
+ # {{project_name}} — Constitution
3
+
4
+ > The foundational charter for the **{{project_name}}** project, establishing principles, constraints, and success criteria.
5
+
6
+ ---
7
+
8
+ ## Article 1: Project Identity
9
+
10
+ - **Name:** {{project_name}}
11
+ - **Description:** {{description}}
12
+ - **Creator:** {{author}}
13
+ - **License:** {{license}}
14
+
15
+ ---
16
+
17
+ ## Article 2: Principles
18
+
19
+ {{#each principles}}
20
+ - {{this}}
21
+ {{/each}}
22
+
23
+ ---
24
+
25
+ ## Article 3: Constraints
26
+
27
+ {{#each constraints}}
28
+ - {{this}}
29
+ {{/each}}
30
+
31
+ ---
32
+
33
+ ## Article 4: Success Criteria
34
+
35
+ | ID | Criterion | Measure |
36
+ |----|-----------|---------|
37
+ | SC-001 | Project compiles without errors | `npm run build` exits 0 |
38
+ | SC-002 | All requirements traceable | Every REQ has design + task mapping |
39
+ | SC-003 | Quality gates pass | Analysis gate returns APPROVE |
40
+
41
+ ---
42
+
43
+ ## Article 5: Scope
44
+
45
+ ### In Scope
46
+ - {{scope_in}}
47
+
48
+ ### Out of Scope
49
+ - {{scope_out}}
50
+
51
+ ---
52
+
53
+ ## Amendment Log
54
+
55
+ | # | Date | Author | Rationale | Articles Affected |
56
+ |---|------|--------|-----------|-------------------|
57
+ | — | — | — | Initial version | All |
@@ -0,0 +1,46 @@
1
+ <!-- markdownlint-disable -->
2
+ # Cross-Artifact Analysis: {{title}}
3
+
4
+ **Feature**: {{feature_id}}
5
+ **Date**: {{date}}
6
+ **Consistency Score**: {{consistency_score}}%
7
+
8
+ ---
9
+
10
+ ## Spec → Design Alignment
11
+
12
+ | Requirement | In Design? | Detail |
13
+ |-------------|-----------|--------|
14
+ {{#each spec_design_alignment}}
15
+ | {{source_id}} | {{status}} | {{detail}} |
16
+ {{/each}}
17
+
18
+ ## Design → Tasks Alignment
19
+
20
+ | Requirement | Has Tasks? | Detail |
21
+ |-------------|-----------|--------|
22
+ {{#each design_tasks_alignment}}
23
+ | {{source_id}} | {{status}} | {{detail}} |
24
+ {{/each}}
25
+
26
+ ## Orphaned Requirements
27
+
28
+ {{#each orphaned_requirements}}
29
+ - {{this}} — No design or task coverage
30
+ {{/each}}
31
+
32
+ ## Orphaned Tasks
33
+
34
+ {{#each orphaned_tasks}}
35
+ - {{this}} — Not traced to any requirement
36
+ {{/each}}
37
+
38
+ ## Traceability Diagram
39
+
40
+ ```mermaid
41
+ {{diagram}}
42
+ ```
43
+
44
+ ## Recommendation
45
+
46
+ {{recommendation}}