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/CHANGELOG.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to Specky are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.2.0] - 2026-03-24
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `sdd_generate_tests` tool — generates test stubs from acceptance criteria for 6 frameworks (vitest, jest, playwright, pytest, junit, xunit)
|
|
12
|
+
- `sdd_verify_tests` tool — verifies test results JSON against specification requirements, reports traceability coverage
|
|
13
|
+
- `.specky/config.yml` support — project-local configuration for templates path, default framework, compliance frameworks, audit toggle
|
|
14
|
+
- `src/config.ts` — centralized configuration loader with simple YAML parsing
|
|
15
|
+
- MCP integration test (`tests/integration/pipeline-e2e.test.ts`) — end-to-end pipeline validation with real FileManager
|
|
16
|
+
- Unit tests for 6 additional services: DocGenerator, GitManager, IacGenerator, WorkItemExporter, TranscriptParser, DocumentConverter
|
|
17
|
+
- OpenSSF Scorecard workflow (`.github/workflows/scorecard.yml`)
|
|
18
|
+
- SBOM generation (CycloneDX) in CI pipeline
|
|
19
|
+
- `templates/test-stub.md` template for generated test files
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- Test suite expanded: 120 → 211 tests across 16 files
|
|
23
|
+
- Coverage improved: 38% → 89% lines (threshold: 80%)
|
|
24
|
+
- MCP tool count: 44 → 47
|
|
25
|
+
- CI pipeline now enforces coverage thresholds
|
|
26
|
+
|
|
27
|
+
## [2.1.0] - 2026-03-21
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
- `sdd_check_ecosystem` tool — detects installed MCP servers and recommends complementary ones
|
|
31
|
+
- `sdd_validate_ears` tool — batch EARS requirement validation with pattern classification
|
|
32
|
+
- `recommended_servers` field in tool outputs for MCP ecosystem guidance
|
|
33
|
+
- Unit test suite with Vitest (101 tests across 7 service files)
|
|
34
|
+
- CI pipeline runs `npm test` on every push and pull request
|
|
35
|
+
- `SECURITY.md` with vulnerability disclosure policy and OWASP coverage
|
|
36
|
+
- `CHANGELOG.md` (this file)
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
- Tool count: 42 → 44
|
|
40
|
+
- Updated `CLAUDE.md` to reflect v2.1.0 tools and version history
|
|
41
|
+
|
|
42
|
+
## [2.0.0] - 2026-03-21
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- **25 new MCP tools** (17 → 42 total)
|
|
46
|
+
- **3 new pipeline phases**: Discover, Clarify, Release (7 → 10 phases)
|
|
47
|
+
- **8 new services**: DocumentConverter, DiagramGenerator, IacGenerator, WorkItemExporter, CrossAnalyzer, ComplianceEngine, DocGenerator, GitManager
|
|
48
|
+
- **14 new templates**: compliance, cross-analysis, data-model, devcontainer, dockerfile, onboarding, runbook, terraform, user-stories, verification, work-items, api-docs, checklist, research
|
|
49
|
+
- Compliance checking against 6 frameworks: HIPAA, SOC2, GDPR, PCI-DSS, ISO 27001, General
|
|
50
|
+
- Mermaid diagram generation (10 types: flowchart, sequence, ER, class, state, Gantt, pie, mindmap, C4 context, C4 container)
|
|
51
|
+
- Infrastructure as Code generation: Terraform, Bicep, Dockerfile, devcontainer
|
|
52
|
+
- MCP-to-MCP routing architecture — structured payloads for GitHub, Azure DevOps, Jira, Terraform, Figma, Docker MCP servers
|
|
53
|
+
- Educative outputs (`next_steps`, `learning_note`) on every tool response
|
|
54
|
+
- Document import: PDF, DOCX, PPTX, TXT, MD conversion
|
|
55
|
+
- Figma design-to-spec conversion via Figma MCP integration
|
|
56
|
+
- Work item export to GitHub Issues, Azure Boards, Jira
|
|
57
|
+
- Cross-artifact analysis with consistency scoring
|
|
58
|
+
- User story generation from specifications
|
|
59
|
+
- Developer onboarding guide generation
|
|
60
|
+
- Operational runbook generation
|
|
61
|
+
- API documentation generation
|
|
62
|
+
- Git branch naming and PR payload generation
|
|
63
|
+
- GitHub Codespaces and devcontainer configuration generation
|
|
64
|
+
- Docker-based local development environment setup
|
|
65
|
+
|
|
66
|
+
### Changed
|
|
67
|
+
- Pipeline expanded from 7 to 10 phases
|
|
68
|
+
- State machine updated for new phase transitions
|
|
69
|
+
- All schemas updated to use `.strict()` mode
|
|
70
|
+
- Tool annotations added to all tools (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`)
|
|
71
|
+
- Architecture documentation updated in `CLAUDE.md`
|
|
72
|
+
|
|
73
|
+
## [1.0.0] - 2026-03-20
|
|
74
|
+
|
|
75
|
+
### Added
|
|
76
|
+
- Initial release of Specky MCP server
|
|
77
|
+
- 17 MCP tools across 4 tool files
|
|
78
|
+
- 7-phase pipeline: Init, Discover, Specify, Clarify, Design, Tasks, Analyze
|
|
79
|
+
- 6 core services: FileManager, StateMachine, TemplateEngine, EarsValidator, CodebaseScanner, TranscriptParser
|
|
80
|
+
- 7 Markdown templates with `{{variable}}` placeholders
|
|
81
|
+
- EARS notation validation (6 patterns: ubiquitous, event-driven, state-driven, optional, unwanted, complex)
|
|
82
|
+
- State machine with required-file gates per phase
|
|
83
|
+
- 4 GitHub Copilot Custom Agents (Spec Engineer, Design Architect, Task Planner, Spec Reviewer)
|
|
84
|
+
- 7 Claude Code slash commands
|
|
85
|
+
- 6 automation hooks (auto-test, auto-docs, security-scan, spec-sync, changelog, srp-validator)
|
|
86
|
+
- TypeScript strict mode with zero `any` types
|
|
87
|
+
- Zod schema validation on all tool inputs
|
|
88
|
+
- Published to npm (`specky-sdd`), GitHub Container Registry, and GitHub Releases
|
|
89
|
+
|
|
90
|
+
[2.2.0]: https://github.com/paulasilvatech/specky/compare/v2.1.0...v2.2.0
|
|
91
|
+
[2.1.0]: https://github.com/paulasilvatech/specky/compare/v2.0.0...v2.1.0
|
|
92
|
+
[2.0.0]: https://github.com/paulasilvatech/specky/compare/v1.0.0...v2.0.0
|
|
93
|
+
[1.0.0]: https://github.com/paulasilvatech/specky/releases/tag/v1.0.0
|