specky-sdd 2.0.0 → 2.2.2
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/CHANGELOG.md +93 -0
- package/README.md +803 -88
- package/SECURITY.md +110 -0
- package/dist/config.d.ts +12 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +66 -0
- package/dist/config.js.map +1 -0
- package/dist/constants.d.ts +100 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +112 -1
- package/dist/constants.js.map +1 -1
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas/environment.d.ts +12 -37
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/infrastructure.d.ts +22 -42
- package/dist/schemas/infrastructure.d.ts.map +1 -1
- package/dist/schemas/input.d.ts +13 -34
- package/dist/schemas/input.d.ts.map +1 -1
- package/dist/schemas/integration.d.ts +12 -80
- package/dist/schemas/integration.d.ts.map +1 -1
- package/dist/schemas/pipeline.d.ts +24 -230
- package/dist/schemas/pipeline.d.ts.map +1 -1
- package/dist/schemas/quality.d.ts +27 -39
- package/dist/schemas/quality.d.ts.map +1 -1
- package/dist/schemas/quality.js +13 -0
- package/dist/schemas/quality.js.map +1 -1
- package/dist/schemas/testing.d.ts +23 -0
- package/dist/schemas/testing.d.ts.map +1 -0
- package/dist/schemas/testing.js +26 -0
- package/dist/schemas/testing.js.map +1 -0
- package/dist/schemas/transcript.d.ts +18 -40
- package/dist/schemas/transcript.d.ts.map +1 -1
- package/dist/schemas/utility.d.ts +33 -65
- package/dist/schemas/utility.d.ts.map +1 -1
- package/dist/schemas/visualization.d.ts +28 -39
- package/dist/schemas/visualization.d.ts.map +1 -1
- package/dist/services/test-generator.d.ts +61 -0
- package/dist/services/test-generator.d.ts.map +1 -0
- package/dist/services/test-generator.js +217 -0
- package/dist/services/test-generator.js.map +1 -0
- package/dist/tools/input.d.ts.map +1 -1
- package/dist/tools/input.js +12 -0
- package/dist/tools/input.js.map +1 -1
- package/dist/tools/integration.d.ts.map +1 -1
- package/dist/tools/integration.js +24 -0
- package/dist/tools/integration.js.map +1 -1
- package/dist/tools/quality.d.ts +3 -2
- package/dist/tools/quality.d.ts.map +1 -1
- package/dist/tools/quality.js +84 -3
- package/dist/tools/quality.js.map +1 -1
- package/dist/tools/testing.d.ts +9 -0
- package/dist/tools/testing.d.ts.map +1 -0
- package/dist/tools/testing.js +130 -0
- package/dist/tools/testing.js.map +1 -0
- package/dist/tools/utility.d.ts.map +1 -1
- package/dist/tools/utility.js +36 -1
- package/dist/tools/utility.js.map +1 -1
- package/dist/types.d.ts +20 -0
- package/dist/types.d.ts.map +1 -1
- package/hooks/auto-docs.md +53 -0
- package/hooks/auto-test.md +61 -0
- package/hooks/changelog.md +74 -0
- package/hooks/security-scan.md +72 -0
- package/hooks/spec-sync.md +80 -0
- package/hooks/srp-validator.md +86 -0
- package/package.json +14 -5
- package/references/design-patterns.md +434 -0
- package/references/ears-notation.md +605 -0
- package/references/spec-templates.md +936 -0
- package/templates/analysis.md +1 -0
- package/templates/api-docs.md +1 -0
- package/templates/bugfix.md +1 -0
- package/templates/checklist.md +1 -0
- package/templates/compliance.md +1 -0
- package/templates/constitution.md +1 -0
- package/templates/cross-analysis.md +1 -0
- package/templates/data-model.md +1 -0
- package/templates/design.md +1 -0
- package/templates/devcontainer.md +1 -0
- package/templates/dockerfile.md +1 -0
- package/templates/onboarding.md +1 -0
- package/templates/research.md +1 -0
- package/templates/runbook.md +1 -0
- package/templates/specification.md +1 -0
- package/templates/sync-report.md +1 -0
- package/templates/tasks.md +3 -2
- package/templates/terraform.md +1 -0
- package/templates/test-stub.md +34 -0
- package/templates/user-stories.md +1 -0
- package/templates/verification.md +1 -0
- package/templates/work-items.md +1 -0
package/templates/analysis.md
CHANGED
package/templates/api-docs.md
CHANGED
package/templates/bugfix.md
CHANGED
package/templates/checklist.md
CHANGED
package/templates/compliance.md
CHANGED
package/templates/data-model.md
CHANGED
package/templates/design.md
CHANGED
package/templates/dockerfile.md
CHANGED
package/templates/onboarding.md
CHANGED
package/templates/research.md
CHANGED
package/templates/runbook.md
CHANGED
package/templates/sync-report.md
CHANGED
package/templates/tasks.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!-- markdownlint-disable -->
|
|
1
2
|
# {{project_name}} — Tasks
|
|
2
3
|
|
|
3
4
|
> Sequenced implementation tasks with pre-implementation gates, `[P]` parallel markers, effort estimates, and requirement traceability.
|
|
@@ -18,7 +19,7 @@ Before writing any code, the following gates must pass:
|
|
|
18
19
|
|
|
19
20
|
| ID | Task | [P] | Effort | Depends On | Traces To |
|
|
20
21
|
|----|------|-----|--------|------------|-----------|
|
|
21
|
-
{{task_table}}
|
|
22
|
+
| {{task_table}} | | | | | |
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
@@ -34,5 +35,5 @@ Before writing any code, the following gates must pass:
|
|
|
34
35
|
|
|
35
36
|
| Phase | Tasks | Parallel | Effort |
|
|
36
37
|
|-------|-------|----------|--------|
|
|
37
|
-
{{effort_summary}}
|
|
38
|
+
| {{effort_summary}} | | | |
|
|
38
39
|
| **Total** | **{{total_tasks}}** | **{{parallel_tasks}}** | **{{total_effort}}** |
|
package/templates/terraform.md
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Test Stubs — {{feature_name}}
|
|
2
|
+
|
|
3
|
+
> Auto-generated by Specky SDD from acceptance criteria in SPECIFICATION.md and TASKS.md.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Framework: {{framework}}
|
|
8
|
+
|
|
9
|
+
## Traceability
|
|
10
|
+
|
|
11
|
+
| Test ID | Requirement | Description |
|
|
12
|
+
|---------|-------------|-------------|
|
|
13
|
+
{{#each stubs}}
|
|
14
|
+
| {{id}} | {{requirement_id}} | {{description}} |
|
|
15
|
+
{{/each}}
|
|
16
|
+
|
|
17
|
+
## Generated File
|
|
18
|
+
|
|
19
|
+
- **Output:** `{{output_file}}`
|
|
20
|
+
- **Total Tests:** {{total_tests}}
|
|
21
|
+
- **Framework:** {{framework}}
|
|
22
|
+
|
|
23
|
+
## Next Steps
|
|
24
|
+
|
|
25
|
+
1. Open the generated test file at `{{output_file}}`
|
|
26
|
+
2. Replace each `TODO: implement test` placeholder with real assertions
|
|
27
|
+
3. Run your test suite to verify all stubs execute
|
|
28
|
+
4. Map each passing test back to its requirement ID for traceability
|
|
29
|
+
|
|
30
|
+
## Notes
|
|
31
|
+
|
|
32
|
+
- Each test stub traces to an acceptance criterion from SPECIFICATION.md
|
|
33
|
+
- Test IDs (TC-001, TC-002, ...) map to requirement IDs (REQ-001, REQ-002, ...)
|
|
34
|
+
- Stubs are intentionally minimal — add setup, teardown, and assertions as needed
|
package/templates/work-items.md
CHANGED