@devtrack-solution/codesdd 1.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/.sdd/skills/curated/api-clean-flask-langgraph/SKILL.md +2751 -0
- package/.sdd/skills/curated/devtrack-api/SKILL.md +137 -0
- package/.sdd/skills/curated/devtrack-api/agents/openai.yaml +4 -0
- package/.sdd/skills/curated/devtrack-api/references/application-presentation.md +381 -0
- package/.sdd/skills/curated/devtrack-api/references/architecture-governance.md +219 -0
- package/.sdd/skills/curated/devtrack-api/references/domain-modeling.md +359 -0
- package/.sdd/skills/curated/devtrack-api/references/implementation-checklist.md +127 -0
- package/.sdd/skills/curated/devtrack-api/references/imports-lint.md +207 -0
- package/.sdd/skills/curated/devtrack-api/references/testing-validation.md +167 -0
- package/.sdd/skills/curated/devtrack-api/references/typeorm-infrastructure.md +334 -0
- package/LICENSE +21 -0
- package/README.md +842 -0
- package/bin/codesdd.js +10 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.js +560 -0
- package/dist/commands/change.d.ts +35 -0
- package/dist/commands/change.js +296 -0
- package/dist/commands/completion.d.ts +72 -0
- package/dist/commands/completion.js +258 -0
- package/dist/commands/config.d.ts +36 -0
- package/dist/commands/config.js +552 -0
- package/dist/commands/feedback.d.ts +9 -0
- package/dist/commands/feedback.js +184 -0
- package/dist/commands/schema.d.ts +6 -0
- package/dist/commands/schema.js +870 -0
- package/dist/commands/sdd/execution.d.ts +3 -0
- package/dist/commands/sdd/execution.js +409 -0
- package/dist/commands/sdd/shared.d.ts +9 -0
- package/dist/commands/sdd/shared.js +84 -0
- package/dist/commands/sdd/skills.d.ts +3 -0
- package/dist/commands/sdd/skills.js +154 -0
- package/dist/commands/sdd.d.ts +3 -0
- package/dist/commands/sdd.js +769 -0
- package/dist/commands/show.d.ts +14 -0
- package/dist/commands/show.js +133 -0
- package/dist/commands/spec.d.ts +15 -0
- package/dist/commands/spec.js +228 -0
- package/dist/commands/validate.d.ts +24 -0
- package/dist/commands/validate.js +295 -0
- package/dist/commands/workflow/index.d.ts +17 -0
- package/dist/commands/workflow/index.js +12 -0
- package/dist/commands/workflow/instructions.d.ts +29 -0
- package/dist/commands/workflow/instructions.js +383 -0
- package/dist/commands/workflow/new-change.d.ts +11 -0
- package/dist/commands/workflow/new-change.js +45 -0
- package/dist/commands/workflow/schemas.d.ts +10 -0
- package/dist/commands/workflow/schemas.js +34 -0
- package/dist/commands/workflow/shared.d.ts +57 -0
- package/dist/commands/workflow/shared.js +117 -0
- package/dist/commands/workflow/status.d.ts +14 -0
- package/dist/commands/workflow/status.js +76 -0
- package/dist/commands/workflow/templates.d.ts +16 -0
- package/dist/commands/workflow/templates.js +68 -0
- package/dist/core/archive.d.ts +16 -0
- package/dist/core/archive.js +487 -0
- package/dist/core/artifact-graph/graph.d.ts +56 -0
- package/dist/core/artifact-graph/graph.js +141 -0
- package/dist/core/artifact-graph/index.d.ts +7 -0
- package/dist/core/artifact-graph/index.js +13 -0
- package/dist/core/artifact-graph/instruction-loader.d.ts +143 -0
- package/dist/core/artifact-graph/instruction-loader.js +215 -0
- package/dist/core/artifact-graph/resolver.d.ts +81 -0
- package/dist/core/artifact-graph/resolver.js +258 -0
- package/dist/core/artifact-graph/schema.d.ts +13 -0
- package/dist/core/artifact-graph/schema.js +108 -0
- package/dist/core/artifact-graph/state.d.ts +12 -0
- package/dist/core/artifact-graph/state.js +54 -0
- package/dist/core/artifact-graph/types.d.ts +45 -0
- package/dist/core/artifact-graph/types.js +43 -0
- package/dist/core/available-tools.d.ts +16 -0
- package/dist/core/available-tools.js +30 -0
- package/dist/core/branding.d.ts +8 -0
- package/dist/core/branding.js +12 -0
- package/dist/core/cli/command-matrix.d.ts +23 -0
- package/dist/core/cli/command-matrix.js +123 -0
- package/dist/core/command-generation/adapters/amazon-q.d.ts +13 -0
- package/dist/core/command-generation/adapters/amazon-q.js +26 -0
- package/dist/core/command-generation/adapters/antigravity.d.ts +13 -0
- package/dist/core/command-generation/adapters/antigravity.js +26 -0
- package/dist/core/command-generation/adapters/auggie.d.ts +13 -0
- package/dist/core/command-generation/adapters/auggie.js +27 -0
- package/dist/core/command-generation/adapters/claude.d.ts +13 -0
- package/dist/core/command-generation/adapters/claude.js +50 -0
- package/dist/core/command-generation/adapters/cline.d.ts +14 -0
- package/dist/core/command-generation/adapters/cline.js +27 -0
- package/dist/core/command-generation/adapters/codebuddy.d.ts +13 -0
- package/dist/core/command-generation/adapters/codebuddy.js +28 -0
- package/dist/core/command-generation/adapters/codex.d.ts +16 -0
- package/dist/core/command-generation/adapters/codex.js +39 -0
- package/dist/core/command-generation/adapters/continue.d.ts +13 -0
- package/dist/core/command-generation/adapters/continue.js +28 -0
- package/dist/core/command-generation/adapters/costrict.d.ts +13 -0
- package/dist/core/command-generation/adapters/costrict.js +27 -0
- package/dist/core/command-generation/adapters/crush.d.ts +13 -0
- package/dist/core/command-generation/adapters/crush.js +30 -0
- package/dist/core/command-generation/adapters/cursor.d.ts +14 -0
- package/dist/core/command-generation/adapters/cursor.js +44 -0
- package/dist/core/command-generation/adapters/factory.d.ts +13 -0
- package/dist/core/command-generation/adapters/factory.js +27 -0
- package/dist/core/command-generation/adapters/gemini.d.ts +13 -0
- package/dist/core/command-generation/adapters/gemini.js +26 -0
- package/dist/core/command-generation/adapters/github-copilot.d.ts +13 -0
- package/dist/core/command-generation/adapters/github-copilot.js +26 -0
- package/dist/core/command-generation/adapters/iflow.d.ts +13 -0
- package/dist/core/command-generation/adapters/iflow.js +29 -0
- package/dist/core/command-generation/adapters/index.d.ts +29 -0
- package/dist/core/command-generation/adapters/index.js +29 -0
- package/dist/core/command-generation/adapters/kilocode.d.ts +14 -0
- package/dist/core/command-generation/adapters/kilocode.js +23 -0
- package/dist/core/command-generation/adapters/kiro.d.ts +13 -0
- package/dist/core/command-generation/adapters/kiro.js +26 -0
- package/dist/core/command-generation/adapters/opencode.d.ts +13 -0
- package/dist/core/command-generation/adapters/opencode.js +29 -0
- package/dist/core/command-generation/adapters/pi.d.ts +14 -0
- package/dist/core/command-generation/adapters/pi.js +41 -0
- package/dist/core/command-generation/adapters/qoder.d.ts +13 -0
- package/dist/core/command-generation/adapters/qoder.js +30 -0
- package/dist/core/command-generation/adapters/qwen.d.ts +13 -0
- package/dist/core/command-generation/adapters/qwen.js +26 -0
- package/dist/core/command-generation/adapters/roocode.d.ts +14 -0
- package/dist/core/command-generation/adapters/roocode.js +27 -0
- package/dist/core/command-generation/adapters/windsurf.d.ts +14 -0
- package/dist/core/command-generation/adapters/windsurf.js +51 -0
- package/dist/core/command-generation/generator.d.ts +21 -0
- package/dist/core/command-generation/generator.js +27 -0
- package/dist/core/command-generation/index.d.ts +22 -0
- package/dist/core/command-generation/index.js +24 -0
- package/dist/core/command-generation/registry.d.ts +36 -0
- package/dist/core/command-generation/registry.js +92 -0
- package/dist/core/command-generation/types.d.ts +56 -0
- package/dist/core/command-generation/types.js +8 -0
- package/dist/core/completions/command-registry.d.ts +7 -0
- package/dist/core/completions/command-registry.js +461 -0
- package/dist/core/completions/completion-provider.d.ts +60 -0
- package/dist/core/completions/completion-provider.js +102 -0
- package/dist/core/completions/factory.d.ts +64 -0
- package/dist/core/completions/factory.js +75 -0
- package/dist/core/completions/generators/bash-generator.d.ts +32 -0
- package/dist/core/completions/generators/bash-generator.js +174 -0
- package/dist/core/completions/generators/fish-generator.d.ts +32 -0
- package/dist/core/completions/generators/fish-generator.js +157 -0
- package/dist/core/completions/generators/powershell-generator.d.ts +33 -0
- package/dist/core/completions/generators/powershell-generator.js +207 -0
- package/dist/core/completions/generators/zsh-generator.d.ts +44 -0
- package/dist/core/completions/generators/zsh-generator.js +250 -0
- package/dist/core/completions/installers/bash-installer.d.ts +87 -0
- package/dist/core/completions/installers/bash-installer.js +318 -0
- package/dist/core/completions/installers/fish-installer.d.ts +43 -0
- package/dist/core/completions/installers/fish-installer.js +143 -0
- package/dist/core/completions/installers/powershell-installer.d.ts +88 -0
- package/dist/core/completions/installers/powershell-installer.js +327 -0
- package/dist/core/completions/installers/zsh-installer.d.ts +125 -0
- package/dist/core/completions/installers/zsh-installer.js +452 -0
- package/dist/core/completions/templates/bash-templates.d.ts +6 -0
- package/dist/core/completions/templates/bash-templates.js +24 -0
- package/dist/core/completions/templates/fish-templates.d.ts +7 -0
- package/dist/core/completions/templates/fish-templates.js +39 -0
- package/dist/core/completions/templates/powershell-templates.d.ts +6 -0
- package/dist/core/completions/templates/powershell-templates.js +25 -0
- package/dist/core/completions/templates/zsh-templates.d.ts +6 -0
- package/dist/core/completions/templates/zsh-templates.js +36 -0
- package/dist/core/completions/types.d.ts +79 -0
- package/dist/core/completions/types.js +2 -0
- package/dist/core/config-prompts.d.ts +9 -0
- package/dist/core/config-prompts.js +34 -0
- package/dist/core/config-schema.d.ts +86 -0
- package/dist/core/config-schema.js +213 -0
- package/dist/core/config.d.ts +17 -0
- package/dist/core/config.js +33 -0
- package/dist/core/converters/json-converter.d.ts +6 -0
- package/dist/core/converters/json-converter.js +51 -0
- package/dist/core/global-config.d.ts +44 -0
- package/dist/core/global-config.js +125 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -0
- package/dist/core/init.d.ts +36 -0
- package/dist/core/init.js +576 -0
- package/dist/core/legacy-cleanup.d.ts +162 -0
- package/dist/core/legacy-cleanup.js +512 -0
- package/dist/core/list.d.ts +9 -0
- package/dist/core/list.js +173 -0
- package/dist/core/migration.d.ts +23 -0
- package/dist/core/migration.js +108 -0
- package/dist/core/parsers/change-parser.d.ts +13 -0
- package/dist/core/parsers/change-parser.js +193 -0
- package/dist/core/parsers/markdown-parser.d.ts +22 -0
- package/dist/core/parsers/markdown-parser.js +187 -0
- package/dist/core/parsers/requirement-blocks.d.ts +37 -0
- package/dist/core/parsers/requirement-blocks.js +201 -0
- package/dist/core/profile-sync-drift.d.ts +38 -0
- package/dist/core/profile-sync-drift.js +201 -0
- package/dist/core/profiles.d.ts +26 -0
- package/dist/core/profiles.js +41 -0
- package/dist/core/project-config.d.ts +64 -0
- package/dist/core/project-config.js +223 -0
- package/dist/core/schemas/base.schema.d.ts +13 -0
- package/dist/core/schemas/base.schema.js +13 -0
- package/dist/core/schemas/change.schema.d.ts +73 -0
- package/dist/core/schemas/change.schema.js +31 -0
- package/dist/core/schemas/index.d.ts +4 -0
- package/dist/core/schemas/index.js +4 -0
- package/dist/core/schemas/spec.schema.d.ts +18 -0
- package/dist/core/schemas/spec.schema.js +15 -0
- package/dist/core/sdd/adr-policy.d.ts +7 -0
- package/dist/core/sdd/adr-policy.js +47 -0
- package/dist/core/sdd/adr.d.ts +4 -0
- package/dist/core/sdd/adr.js +27 -0
- package/dist/core/sdd/bootstrap.d.ts +28 -0
- package/dist/core/sdd/bootstrap.js +353 -0
- package/dist/core/sdd/check.d.ts +51 -0
- package/dist/core/sdd/check.js +831 -0
- package/dist/core/sdd/coordination/coordination-adapters.d.ts +73 -0
- package/dist/core/sdd/coordination/coordination-adapters.js +87 -0
- package/dist/core/sdd/coordination/index.d.ts +2 -0
- package/dist/core/sdd/coordination/index.js +2 -0
- package/dist/core/sdd/dedup.d.ts +23 -0
- package/dist/core/sdd/dedup.js +62 -0
- package/dist/core/sdd/default-bootstrap-files.d.ts +23 -0
- package/dist/core/sdd/default-bootstrap-files.js +385 -0
- package/dist/core/sdd/default-skills.d.ts +16 -0
- package/dist/core/sdd/default-skills.js +427 -0
- package/dist/core/sdd/diagnose.d.ts +25 -0
- package/dist/core/sdd/diagnose.js +1312 -0
- package/dist/core/sdd/docs-sync.d.ts +21 -0
- package/dist/core/sdd/docs-sync.js +231 -0
- package/dist/core/sdd/domain/helpers.d.ts +6 -0
- package/dist/core/sdd/domain/helpers.js +37 -0
- package/dist/core/sdd/domain/lifecycle-guardrails.d.ts +22 -0
- package/dist/core/sdd/domain/lifecycle-guardrails.js +31 -0
- package/dist/core/sdd/domain/lifecycle-hooks.d.ts +16 -0
- package/dist/core/sdd/domain/lifecycle-hooks.js +27 -0
- package/dist/core/sdd/domain/post-active-validation.d.ts +15 -0
- package/dist/core/sdd/domain/post-active-validation.js +71 -0
- package/dist/core/sdd/domain/traceability.d.ts +8 -0
- package/dist/core/sdd/domain/traceability.js +83 -0
- package/dist/core/sdd/domain/transition-engine.d.ts +49 -0
- package/dist/core/sdd/domain/transition-engine.js +120 -0
- package/dist/core/sdd/fingerprint.d.ts +23 -0
- package/dist/core/sdd/fingerprint.js +146 -0
- package/dist/core/sdd/import-openspec.d.ts +31 -0
- package/dist/core/sdd/import-openspec.js +232 -0
- package/dist/core/sdd/init.d.ts +36 -0
- package/dist/core/sdd/init.js +65 -0
- package/dist/core/sdd/json-schema.d.ts +6 -0
- package/dist/core/sdd/json-schema.js +59 -0
- package/dist/core/sdd/legacy-operations.d.ts +286 -0
- package/dist/core/sdd/legacy-operations.js +2175 -0
- package/dist/core/sdd/lenses.d.ts +14 -0
- package/dist/core/sdd/lenses.js +97 -0
- package/dist/core/sdd/merge-catalog.d.ts +9 -0
- package/dist/core/sdd/merge-catalog.js +70 -0
- package/dist/core/sdd/migrate-workspace.d.ts +36 -0
- package/dist/core/sdd/migrate-workspace.js +344 -0
- package/dist/core/sdd/migrate.d.ts +24 -0
- package/dist/core/sdd/migrate.js +385 -0
- package/dist/core/sdd/resolve-project-root.d.ts +15 -0
- package/dist/core/sdd/resolve-project-root.js +46 -0
- package/dist/core/sdd/root-resolver.d.ts +16 -0
- package/dist/core/sdd/root-resolver.js +62 -0
- package/dist/core/sdd/sanitize.d.ts +35 -0
- package/dist/core/sdd/sanitize.js +750 -0
- package/dist/core/sdd/services/approve.service.d.ts +20 -0
- package/dist/core/sdd/services/approve.service.js +82 -0
- package/dist/core/sdd/services/audit.service.d.ts +53 -0
- package/dist/core/sdd/services/audit.service.js +136 -0
- package/dist/core/sdd/services/breakdown.service.d.ts +35 -0
- package/dist/core/sdd/services/breakdown.service.js +185 -0
- package/dist/core/sdd/services/context.service.d.ts +346 -0
- package/dist/core/sdd/services/context.service.js +278 -0
- package/dist/core/sdd/services/debate.service.d.ts +16 -0
- package/dist/core/sdd/services/debate.service.js +73 -0
- package/dist/core/sdd/services/decide.service.d.ts +23 -0
- package/dist/core/sdd/services/decide.service.js +81 -0
- package/dist/core/sdd/services/dedup-apply.service.d.ts +39 -0
- package/dist/core/sdd/services/dedup-apply.service.js +259 -0
- package/dist/core/sdd/services/feature-lint.service.d.ts +29 -0
- package/dist/core/sdd/services/feature-lint.service.js +146 -0
- package/dist/core/sdd/services/finalize.service.d.ts +33 -0
- package/dist/core/sdd/services/finalize.service.js +707 -0
- package/dist/core/sdd/services/frontend-gap.service.d.ts +23 -0
- package/dist/core/sdd/services/frontend-gap.service.js +117 -0
- package/dist/core/sdd/services/frontend-impact.service.d.ts +19 -0
- package/dist/core/sdd/services/frontend-impact.service.js +46 -0
- package/dist/core/sdd/services/ingest-deposito.service.d.ts +32 -0
- package/dist/core/sdd/services/ingest-deposito.service.js +231 -0
- package/dist/core/sdd/services/insight.service.d.ts +21 -0
- package/dist/core/sdd/services/insight.service.js +81 -0
- package/dist/core/sdd/services/legacy-capability.service.d.ts +24 -0
- package/dist/core/sdd/services/legacy-capability.service.js +59 -0
- package/dist/core/sdd/services/mcp-runtime.service.d.ts +42 -0
- package/dist/core/sdd/services/mcp-runtime.service.js +144 -0
- package/dist/core/sdd/services/metrics.service.d.ts +49 -0
- package/dist/core/sdd/services/metrics.service.js +181 -0
- package/dist/core/sdd/services/next.service.d.ts +35 -0
- package/dist/core/sdd/services/next.service.js +54 -0
- package/dist/core/sdd/services/onboard.service.d.ts +9 -0
- package/dist/core/sdd/services/onboard.service.js +165 -0
- package/dist/core/sdd/services/rebuild.service.d.ts +31 -0
- package/dist/core/sdd/services/rebuild.service.js +482 -0
- package/dist/core/sdd/services/scan-naming.service.d.ts +43 -0
- package/dist/core/sdd/services/scan-naming.service.js +246 -0
- package/dist/core/sdd/services/skills-invoke.service.d.ts +24 -0
- package/dist/core/sdd/services/skills-invoke.service.js +63 -0
- package/dist/core/sdd/services/skills-sync.service.d.ts +15 -0
- package/dist/core/sdd/services/skills-sync.service.js +117 -0
- package/dist/core/sdd/services/start.service.d.ts +26 -0
- package/dist/core/sdd/services/start.service.js +237 -0
- package/dist/core/sdd/skills.d.ts +15 -0
- package/dist/core/sdd/skills.js +46 -0
- package/dist/core/sdd/state-lock.d.ts +19 -0
- package/dist/core/sdd/state-lock.js +144 -0
- package/dist/core/sdd/state.d.ts +155 -0
- package/dist/core/sdd/state.js +1000 -0
- package/dist/core/sdd/store/in-memory-adapter.d.ts +12 -0
- package/dist/core/sdd/store/in-memory-adapter.js +27 -0
- package/dist/core/sdd/store/index.d.ts +5 -0
- package/dist/core/sdd/store/index.js +5 -0
- package/dist/core/sdd/store/sdd-stores.d.ts +25 -0
- package/dist/core/sdd/store/sdd-stores.js +59 -0
- package/dist/core/sdd/store/state-store.d.ts +32 -0
- package/dist/core/sdd/store/state-store.js +2 -0
- package/dist/core/sdd/store/yaml-file-adapter.d.ts +12 -0
- package/dist/core/sdd/store/yaml-file-adapter.js +43 -0
- package/dist/core/sdd/structural-health.d.ts +557 -0
- package/dist/core/sdd/structural-health.js +187 -0
- package/dist/core/sdd/transaction.d.ts +14 -0
- package/dist/core/sdd/transaction.js +100 -0
- package/dist/core/sdd/types.d.ts +1570 -0
- package/dist/core/sdd/types.js +617 -0
- package/dist/core/sdd/views.d.ts +3 -0
- package/dist/core/sdd/views.js +560 -0
- package/dist/core/sdd/workspace-schemas.d.ts +620 -0
- package/dist/core/sdd/workspace-schemas.js +254 -0
- package/dist/core/sdd/write-manifest.d.ts +25 -0
- package/dist/core/sdd/write-manifest.js +353 -0
- package/dist/core/shared/index.d.ts +8 -0
- package/dist/core/shared/index.js +8 -0
- package/dist/core/shared/skill-generation.d.ts +49 -0
- package/dist/core/shared/skill-generation.js +106 -0
- package/dist/core/shared/tool-detection.d.ts +71 -0
- package/dist/core/shared/tool-detection.js +158 -0
- package/dist/core/specs-apply.d.ts +73 -0
- package/dist/core/specs-apply.js +385 -0
- package/dist/core/styles/palette.d.ts +7 -0
- package/dist/core/styles/palette.js +8 -0
- package/dist/core/templates/index.d.ts +8 -0
- package/dist/core/templates/index.js +9 -0
- package/dist/core/templates/skill-templates.d.ts +20 -0
- package/dist/core/templates/skill-templates.js +19 -0
- package/dist/core/templates/types.d.ts +19 -0
- package/dist/core/templates/types.js +5 -0
- package/dist/core/templates/workflows/apply-change.d.ts +10 -0
- package/dist/core/templates/workflows/apply-change.js +308 -0
- package/dist/core/templates/workflows/archive-change.d.ts +10 -0
- package/dist/core/templates/workflows/archive-change.js +277 -0
- package/dist/core/templates/workflows/bulk-archive-change.d.ts +10 -0
- package/dist/core/templates/workflows/bulk-archive-change.js +502 -0
- package/dist/core/templates/workflows/continue-change.d.ts +10 -0
- package/dist/core/templates/workflows/continue-change.js +232 -0
- package/dist/core/templates/workflows/explore.d.ts +10 -0
- package/dist/core/templates/workflows/explore.js +475 -0
- package/dist/core/templates/workflows/feedback.d.ts +9 -0
- package/dist/core/templates/workflows/feedback.js +108 -0
- package/dist/core/templates/workflows/ff-change.d.ts +10 -0
- package/dist/core/templates/workflows/ff-change.js +206 -0
- package/dist/core/templates/workflows/new-change.d.ts +10 -0
- package/dist/core/templates/workflows/new-change.js +151 -0
- package/dist/core/templates/workflows/onboard.d.ts +10 -0
- package/dist/core/templates/workflows/onboard.js +573 -0
- package/dist/core/templates/workflows/propose.d.ts +10 -0
- package/dist/core/templates/workflows/propose.js +224 -0
- package/dist/core/templates/workflows/sdd.d.ts +10 -0
- package/dist/core/templates/workflows/sdd.js +107 -0
- package/dist/core/templates/workflows/sync-specs.d.ts +10 -0
- package/dist/core/templates/workflows/sync-specs.js +286 -0
- package/dist/core/templates/workflows/verify-change.d.ts +10 -0
- package/dist/core/templates/workflows/verify-change.js +346 -0
- package/dist/core/update.d.ts +77 -0
- package/dist/core/update.js +538 -0
- package/dist/core/validation/constants.d.ts +34 -0
- package/dist/core/validation/constants.js +40 -0
- package/dist/core/validation/types.d.ts +18 -0
- package/dist/core/validation/types.js +2 -0
- package/dist/core/validation/validator.d.ts +33 -0
- package/dist/core/validation/validator.js +409 -0
- package/dist/core/view.d.ts +8 -0
- package/dist/core/view.js +170 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/prompts/searchable-multi-select.d.ts +28 -0
- package/dist/prompts/searchable-multi-select.js +159 -0
- package/dist/telemetry/config.d.ts +32 -0
- package/dist/telemetry/config.js +68 -0
- package/dist/telemetry/index.d.ts +44 -0
- package/dist/telemetry/index.js +207 -0
- package/dist/ui/ascii-patterns.d.ts +16 -0
- package/dist/ui/ascii-patterns.js +133 -0
- package/dist/ui/welcome-screen.d.ts +10 -0
- package/dist/ui/welcome-screen.js +146 -0
- package/dist/utils/change-metadata.d.ts +51 -0
- package/dist/utils/change-metadata.js +147 -0
- package/dist/utils/change-utils.d.ts +62 -0
- package/dist/utils/change-utils.js +121 -0
- package/dist/utils/command-references.d.ts +18 -0
- package/dist/utils/command-references.js +20 -0
- package/dist/utils/file-system.d.ts +36 -0
- package/dist/utils/file-system.js +281 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/interactive.d.ts +18 -0
- package/dist/utils/interactive.js +21 -0
- package/dist/utils/item-discovery.d.ts +4 -0
- package/dist/utils/item-discovery.js +73 -0
- package/dist/utils/match.d.ts +3 -0
- package/dist/utils/match.js +22 -0
- package/dist/utils/openspec-compat.d.ts +2 -0
- package/dist/utils/openspec-compat.js +2 -0
- package/dist/utils/shell-detection.d.ts +20 -0
- package/dist/utils/shell-detection.js +41 -0
- package/dist/utils/task-progress.d.ts +8 -0
- package/dist/utils/task-progress.js +36 -0
- package/package.json +111 -0
- package/schemas/sdd/1-spec.schema.json +221 -0
- package/schemas/sdd/2-plan.schema.json +199 -0
- package/schemas/sdd/3-tasks.schema.json +102 -0
- package/schemas/sdd/4-changelog.schema.json +55 -0
- package/schemas/sdd/5-quality.schema.json +427 -0
- package/schemas/sdd/workspace-catalog.schema.json +1012 -0
- package/schemas/spec-driven/schema.yaml +153 -0
- package/schemas/spec-driven/templates/design.md +19 -0
- package/schemas/spec-driven/templates/proposal.md +23 -0
- package/schemas/spec-driven/templates/spec.md +8 -0
- package/schemas/spec-driven/templates/tasks.md +9 -0
|
@@ -0,0 +1,1012 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"schema_version": 1,
|
|
4
|
+
"contract": "opensdd-workspace-documents",
|
|
5
|
+
"generated_from": "src/core/sdd/workspace-schemas.ts",
|
|
6
|
+
"documents": {
|
|
7
|
+
"1-spec.yaml": {
|
|
8
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"schema_version": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"const": 1
|
|
14
|
+
},
|
|
15
|
+
"feature_id": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"pattern": "^FEAT-\\d{4}$"
|
|
18
|
+
},
|
|
19
|
+
"title": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 10
|
|
22
|
+
},
|
|
23
|
+
"origin": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"type": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"epic",
|
|
30
|
+
"radar",
|
|
31
|
+
"direct",
|
|
32
|
+
"fgap",
|
|
33
|
+
"td"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"ref": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"type",
|
|
42
|
+
"ref"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
},
|
|
46
|
+
"objective": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 100
|
|
49
|
+
},
|
|
50
|
+
"expected_outcome": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 50
|
|
53
|
+
},
|
|
54
|
+
"system_impact": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"minLength": 30
|
|
57
|
+
},
|
|
58
|
+
"acceptance_refs": {
|
|
59
|
+
"minItems": 1,
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"gates": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"properties": {
|
|
68
|
+
"proposta": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"status": {
|
|
72
|
+
"default": "rascunho",
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"nao_exigida",
|
|
76
|
+
"rascunho",
|
|
77
|
+
"pronta",
|
|
78
|
+
"aprovada"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"approved_at": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"approved_by": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"note": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [
|
|
92
|
+
"status"
|
|
93
|
+
],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
"planejamento": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"status": {
|
|
100
|
+
"default": "rascunho",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": [
|
|
103
|
+
"nao_exigida",
|
|
104
|
+
"rascunho",
|
|
105
|
+
"pronta",
|
|
106
|
+
"aprovada"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"approved_at": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"approved_by": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"note": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"status"
|
|
121
|
+
],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
},
|
|
124
|
+
"tarefas": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"status": {
|
|
128
|
+
"default": "rascunho",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"nao_exigida",
|
|
132
|
+
"rascunho",
|
|
133
|
+
"pronta",
|
|
134
|
+
"aprovada"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"approved_at": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"approved_by": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"note": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"status"
|
|
149
|
+
],
|
|
150
|
+
"additionalProperties": false
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"proposta",
|
|
155
|
+
"planejamento",
|
|
156
|
+
"tarefas"
|
|
157
|
+
],
|
|
158
|
+
"additionalProperties": false
|
|
159
|
+
},
|
|
160
|
+
"compliance_context": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"jurisdictions": {
|
|
164
|
+
"default": [],
|
|
165
|
+
"type": "array",
|
|
166
|
+
"items": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"data_classes": {
|
|
171
|
+
"default": [],
|
|
172
|
+
"type": "array",
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"source_refs": {
|
|
178
|
+
"default": [],
|
|
179
|
+
"type": "array",
|
|
180
|
+
"items": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"legal_review_required": {
|
|
185
|
+
"default": false,
|
|
186
|
+
"type": "boolean"
|
|
187
|
+
},
|
|
188
|
+
"legal_review_notes": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"required": [
|
|
193
|
+
"jurisdictions",
|
|
194
|
+
"data_classes",
|
|
195
|
+
"source_refs",
|
|
196
|
+
"legal_review_required"
|
|
197
|
+
],
|
|
198
|
+
"additionalProperties": false
|
|
199
|
+
},
|
|
200
|
+
"created_at": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"format": "date-time",
|
|
203
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
204
|
+
},
|
|
205
|
+
"updated_at": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"format": "date-time",
|
|
208
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"required": [
|
|
212
|
+
"schema_version",
|
|
213
|
+
"feature_id",
|
|
214
|
+
"title",
|
|
215
|
+
"origin",
|
|
216
|
+
"objective",
|
|
217
|
+
"expected_outcome",
|
|
218
|
+
"system_impact",
|
|
219
|
+
"acceptance_refs",
|
|
220
|
+
"gates",
|
|
221
|
+
"created_at",
|
|
222
|
+
"updated_at"
|
|
223
|
+
],
|
|
224
|
+
"additionalProperties": false,
|
|
225
|
+
"title": "OpenSDD Workspace Spec",
|
|
226
|
+
"description": "Machine-readable contract for the active/planned/archived FEAT spec workspace document."
|
|
227
|
+
},
|
|
228
|
+
"2-plan.yaml": {
|
|
229
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
230
|
+
"type": "object",
|
|
231
|
+
"properties": {
|
|
232
|
+
"schema_version": {
|
|
233
|
+
"type": "number",
|
|
234
|
+
"const": 1
|
|
235
|
+
},
|
|
236
|
+
"feature_id": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"pattern": "^FEAT-\\d{4}$"
|
|
239
|
+
},
|
|
240
|
+
"architectural_impact": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"description": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"affected_modules": {
|
|
247
|
+
"type": "array",
|
|
248
|
+
"items": {
|
|
249
|
+
"type": "string"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"description",
|
|
255
|
+
"affected_modules"
|
|
256
|
+
],
|
|
257
|
+
"additionalProperties": false
|
|
258
|
+
},
|
|
259
|
+
"frontend_impact": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"properties": {
|
|
262
|
+
"status": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"enum": [
|
|
265
|
+
"unknown",
|
|
266
|
+
"none",
|
|
267
|
+
"required"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"description": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"required": [
|
|
275
|
+
"status",
|
|
276
|
+
"description"
|
|
277
|
+
],
|
|
278
|
+
"additionalProperties": false
|
|
279
|
+
},
|
|
280
|
+
"affected_contracts": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"items": {
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"name": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"change_type": {
|
|
289
|
+
"type": "string"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"required": [
|
|
293
|
+
"name",
|
|
294
|
+
"change_type"
|
|
295
|
+
],
|
|
296
|
+
"additionalProperties": false
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"quality_strategy": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"unit_target": {
|
|
303
|
+
"type": "number"
|
|
304
|
+
},
|
|
305
|
+
"integration_target": {
|
|
306
|
+
"type": "number"
|
|
307
|
+
},
|
|
308
|
+
"approach": {
|
|
309
|
+
"type": "string"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": [
|
|
313
|
+
"unit_target",
|
|
314
|
+
"integration_target",
|
|
315
|
+
"approach"
|
|
316
|
+
],
|
|
317
|
+
"additionalProperties": false
|
|
318
|
+
},
|
|
319
|
+
"suggested_skills": {
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"privacy_controls": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"source_registry_refs": {
|
|
329
|
+
"default": [],
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"jurisdiction_profiles": {
|
|
336
|
+
"default": [],
|
|
337
|
+
"type": "array",
|
|
338
|
+
"items": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"control_ids": {
|
|
343
|
+
"default": [],
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"legal_review_gate": {
|
|
350
|
+
"default": "conditional",
|
|
351
|
+
"type": "string",
|
|
352
|
+
"enum": [
|
|
353
|
+
"required",
|
|
354
|
+
"conditional",
|
|
355
|
+
"not_required"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"unresolved_legal_questions": {
|
|
359
|
+
"default": [],
|
|
360
|
+
"type": "array",
|
|
361
|
+
"items": {
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"required": [
|
|
367
|
+
"source_registry_refs",
|
|
368
|
+
"jurisdiction_profiles",
|
|
369
|
+
"control_ids",
|
|
370
|
+
"legal_review_gate",
|
|
371
|
+
"unresolved_legal_questions"
|
|
372
|
+
],
|
|
373
|
+
"additionalProperties": false
|
|
374
|
+
},
|
|
375
|
+
"skill_conformance": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"properties": {
|
|
378
|
+
"selected_skills": {
|
|
379
|
+
"default": [],
|
|
380
|
+
"type": "array",
|
|
381
|
+
"items": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"required_skills": {
|
|
386
|
+
"default": [],
|
|
387
|
+
"type": "array",
|
|
388
|
+
"items": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"detected_conflicts": {
|
|
393
|
+
"default": [],
|
|
394
|
+
"type": "array",
|
|
395
|
+
"items": {
|
|
396
|
+
"type": "string"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"resolution_adr_ref": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"architecture_tree_ascii": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"required": [
|
|
407
|
+
"selected_skills",
|
|
408
|
+
"required_skills",
|
|
409
|
+
"detected_conflicts"
|
|
410
|
+
],
|
|
411
|
+
"additionalProperties": false
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"required": [
|
|
415
|
+
"schema_version",
|
|
416
|
+
"feature_id",
|
|
417
|
+
"architectural_impact",
|
|
418
|
+
"frontend_impact",
|
|
419
|
+
"affected_contracts",
|
|
420
|
+
"quality_strategy",
|
|
421
|
+
"suggested_skills"
|
|
422
|
+
],
|
|
423
|
+
"additionalProperties": false,
|
|
424
|
+
"title": "OpenSDD Workspace Plan",
|
|
425
|
+
"description": "Machine-readable contract for the FEAT execution plan workspace document."
|
|
426
|
+
},
|
|
427
|
+
"3-tasks.yaml": {
|
|
428
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
429
|
+
"type": "object",
|
|
430
|
+
"properties": {
|
|
431
|
+
"schema_version": {
|
|
432
|
+
"type": "number",
|
|
433
|
+
"const": 1
|
|
434
|
+
},
|
|
435
|
+
"feature_id": {
|
|
436
|
+
"type": "string",
|
|
437
|
+
"pattern": "^FEAT-\\d{4}$"
|
|
438
|
+
},
|
|
439
|
+
"tasks": {
|
|
440
|
+
"minItems": 5,
|
|
441
|
+
"type": "array",
|
|
442
|
+
"items": {
|
|
443
|
+
"type": "object",
|
|
444
|
+
"properties": {
|
|
445
|
+
"id": {
|
|
446
|
+
"type": "string"
|
|
447
|
+
},
|
|
448
|
+
"phase": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"enum": [
|
|
451
|
+
"preparation",
|
|
452
|
+
"implementation",
|
|
453
|
+
"testing",
|
|
454
|
+
"documentation",
|
|
455
|
+
"finalization"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"title": {
|
|
459
|
+
"type": "string"
|
|
460
|
+
},
|
|
461
|
+
"description": {
|
|
462
|
+
"type": "string"
|
|
463
|
+
},
|
|
464
|
+
"files_touched": {
|
|
465
|
+
"type": "array",
|
|
466
|
+
"items": {
|
|
467
|
+
"type": "string"
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"test_scripts": {
|
|
471
|
+
"type": "array",
|
|
472
|
+
"items": {
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"command": {
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"type": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"expected": {
|
|
482
|
+
"type": "string"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"required": [
|
|
486
|
+
"command",
|
|
487
|
+
"type",
|
|
488
|
+
"expected"
|
|
489
|
+
],
|
|
490
|
+
"additionalProperties": false
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
"acceptance": {
|
|
494
|
+
"type": "string"
|
|
495
|
+
},
|
|
496
|
+
"status": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"enum": [
|
|
499
|
+
"pending",
|
|
500
|
+
"in_progress",
|
|
501
|
+
"done",
|
|
502
|
+
"skipped"
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"required": [
|
|
507
|
+
"id",
|
|
508
|
+
"phase",
|
|
509
|
+
"title",
|
|
510
|
+
"description",
|
|
511
|
+
"files_touched",
|
|
512
|
+
"test_scripts",
|
|
513
|
+
"acceptance",
|
|
514
|
+
"status"
|
|
515
|
+
],
|
|
516
|
+
"additionalProperties": false
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": [
|
|
521
|
+
"schema_version",
|
|
522
|
+
"feature_id",
|
|
523
|
+
"tasks"
|
|
524
|
+
],
|
|
525
|
+
"additionalProperties": false,
|
|
526
|
+
"title": "OpenSDD Workspace Tasks",
|
|
527
|
+
"description": "Machine-readable contract for the phased FEAT task roadmap workspace document."
|
|
528
|
+
},
|
|
529
|
+
"4-changelog.yaml": {
|
|
530
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"schema_version": {
|
|
534
|
+
"type": "number",
|
|
535
|
+
"const": 1
|
|
536
|
+
},
|
|
537
|
+
"feature_id": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"pattern": "^FEAT-\\d{4}$"
|
|
540
|
+
},
|
|
541
|
+
"entries": {
|
|
542
|
+
"type": "array",
|
|
543
|
+
"items": {
|
|
544
|
+
"type": "object",
|
|
545
|
+
"properties": {
|
|
546
|
+
"timestamp": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"format": "date-time",
|
|
549
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
550
|
+
},
|
|
551
|
+
"action": {
|
|
552
|
+
"type": "string"
|
|
553
|
+
},
|
|
554
|
+
"details": {
|
|
555
|
+
"type": "string"
|
|
556
|
+
},
|
|
557
|
+
"refs": {
|
|
558
|
+
"default": [],
|
|
559
|
+
"type": "array",
|
|
560
|
+
"items": {
|
|
561
|
+
"type": "string"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"required": [
|
|
566
|
+
"timestamp",
|
|
567
|
+
"action",
|
|
568
|
+
"details",
|
|
569
|
+
"refs"
|
|
570
|
+
],
|
|
571
|
+
"additionalProperties": false
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"required": [
|
|
576
|
+
"schema_version",
|
|
577
|
+
"feature_id",
|
|
578
|
+
"entries"
|
|
579
|
+
],
|
|
580
|
+
"additionalProperties": false,
|
|
581
|
+
"title": "OpenSDD Workspace Changelog",
|
|
582
|
+
"description": "Machine-readable contract for the FEAT execution changelog workspace document."
|
|
583
|
+
},
|
|
584
|
+
"5-quality.yaml": {
|
|
585
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
586
|
+
"type": "object",
|
|
587
|
+
"properties": {
|
|
588
|
+
"schema_version": {
|
|
589
|
+
"type": "number",
|
|
590
|
+
"const": 1
|
|
591
|
+
},
|
|
592
|
+
"feature_id": {
|
|
593
|
+
"type": "string",
|
|
594
|
+
"pattern": "^FEAT-\\d{4}$"
|
|
595
|
+
},
|
|
596
|
+
"coverage_targets": {
|
|
597
|
+
"type": "object",
|
|
598
|
+
"properties": {
|
|
599
|
+
"unit": {
|
|
600
|
+
"type": "number"
|
|
601
|
+
},
|
|
602
|
+
"integration": {
|
|
603
|
+
"type": "number"
|
|
604
|
+
},
|
|
605
|
+
"modules": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"propertyNames": {
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"additionalProperties": {
|
|
611
|
+
"type": "number"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"required": [
|
|
616
|
+
"unit",
|
|
617
|
+
"integration"
|
|
618
|
+
],
|
|
619
|
+
"additionalProperties": false
|
|
620
|
+
},
|
|
621
|
+
"validation_strategies": {
|
|
622
|
+
"type": "array",
|
|
623
|
+
"items": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"name": {
|
|
627
|
+
"type": "string"
|
|
628
|
+
},
|
|
629
|
+
"command": {
|
|
630
|
+
"type": "string"
|
|
631
|
+
},
|
|
632
|
+
"expected": {
|
|
633
|
+
"type": "string"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"required": [
|
|
637
|
+
"name",
|
|
638
|
+
"command",
|
|
639
|
+
"expected"
|
|
640
|
+
],
|
|
641
|
+
"additionalProperties": false
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
"evidence_log": {
|
|
645
|
+
"type": "array",
|
|
646
|
+
"items": {
|
|
647
|
+
"type": "object",
|
|
648
|
+
"properties": {
|
|
649
|
+
"timestamp": {
|
|
650
|
+
"type": "string"
|
|
651
|
+
},
|
|
652
|
+
"kind": {
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
"result": {
|
|
656
|
+
"type": "string"
|
|
657
|
+
},
|
|
658
|
+
"artifact": {
|
|
659
|
+
"type": "string"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
"required": [
|
|
663
|
+
"timestamp",
|
|
664
|
+
"kind",
|
|
665
|
+
"result"
|
|
666
|
+
],
|
|
667
|
+
"additionalProperties": false
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"skill_evidence": {
|
|
671
|
+
"default": {
|
|
672
|
+
"required_skill_ids": [],
|
|
673
|
+
"evidence": [],
|
|
674
|
+
"verification_rule": "No skill evidence required for this feature."
|
|
675
|
+
},
|
|
676
|
+
"type": "object",
|
|
677
|
+
"properties": {
|
|
678
|
+
"required_skill_ids": {
|
|
679
|
+
"type": "array",
|
|
680
|
+
"items": {
|
|
681
|
+
"type": "string"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"evidence": {
|
|
685
|
+
"type": "array",
|
|
686
|
+
"items": {
|
|
687
|
+
"type": "object",
|
|
688
|
+
"properties": {
|
|
689
|
+
"skill_id": {
|
|
690
|
+
"type": "string",
|
|
691
|
+
"minLength": 1
|
|
692
|
+
},
|
|
693
|
+
"note": {
|
|
694
|
+
"type": "string",
|
|
695
|
+
"minLength": 10
|
|
696
|
+
},
|
|
697
|
+
"source": {
|
|
698
|
+
"default": "manual",
|
|
699
|
+
"type": "string",
|
|
700
|
+
"enum": [
|
|
701
|
+
"manual",
|
|
702
|
+
"tooling",
|
|
703
|
+
"quality_artifact"
|
|
704
|
+
]
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
"required": [
|
|
708
|
+
"skill_id",
|
|
709
|
+
"note",
|
|
710
|
+
"source"
|
|
711
|
+
],
|
|
712
|
+
"additionalProperties": false
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
"verification_rule": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"minLength": 1
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"required": [
|
|
721
|
+
"required_skill_ids",
|
|
722
|
+
"evidence",
|
|
723
|
+
"verification_rule"
|
|
724
|
+
],
|
|
725
|
+
"additionalProperties": false
|
|
726
|
+
},
|
|
727
|
+
"acceptance_matrix": {
|
|
728
|
+
"type": "array",
|
|
729
|
+
"items": {
|
|
730
|
+
"type": "object",
|
|
731
|
+
"properties": {
|
|
732
|
+
"criterion": {
|
|
733
|
+
"type": "string"
|
|
734
|
+
},
|
|
735
|
+
"status": {
|
|
736
|
+
"type": "string",
|
|
737
|
+
"enum": [
|
|
738
|
+
"met",
|
|
739
|
+
"not_met",
|
|
740
|
+
"na"
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
"evidence": {
|
|
744
|
+
"type": "string"
|
|
745
|
+
}
|
|
746
|
+
},
|
|
747
|
+
"required": [
|
|
748
|
+
"criterion",
|
|
749
|
+
"status",
|
|
750
|
+
"evidence"
|
|
751
|
+
],
|
|
752
|
+
"additionalProperties": false
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
"exceptions": {
|
|
756
|
+
"type": "array",
|
|
757
|
+
"items": {
|
|
758
|
+
"type": "object",
|
|
759
|
+
"properties": {
|
|
760
|
+
"scope": {
|
|
761
|
+
"type": "string"
|
|
762
|
+
},
|
|
763
|
+
"reason": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"accepted_risk": {
|
|
767
|
+
"type": "string"
|
|
768
|
+
},
|
|
769
|
+
"compensating_control": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"scope",
|
|
775
|
+
"reason",
|
|
776
|
+
"accepted_risk",
|
|
777
|
+
"compensating_control"
|
|
778
|
+
],
|
|
779
|
+
"additionalProperties": false
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"remediation_policy": {
|
|
783
|
+
"type": "object",
|
|
784
|
+
"properties": {
|
|
785
|
+
"on_coverage_miss": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"enum": [
|
|
788
|
+
"re_task",
|
|
789
|
+
"exception",
|
|
790
|
+
"block"
|
|
791
|
+
]
|
|
792
|
+
},
|
|
793
|
+
"max_rounds": {
|
|
794
|
+
"default": 3,
|
|
795
|
+
"type": "number"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"required": [
|
|
799
|
+
"on_coverage_miss",
|
|
800
|
+
"max_rounds"
|
|
801
|
+
],
|
|
802
|
+
"additionalProperties": false
|
|
803
|
+
},
|
|
804
|
+
"traceability": {
|
|
805
|
+
"default": {
|
|
806
|
+
"spec_anchor": {
|
|
807
|
+
"spec_updated_at": "",
|
|
808
|
+
"changelog_refs": []
|
|
809
|
+
},
|
|
810
|
+
"requirements": []
|
|
811
|
+
},
|
|
812
|
+
"type": "object",
|
|
813
|
+
"properties": {
|
|
814
|
+
"spec_anchor": {
|
|
815
|
+
"type": "object",
|
|
816
|
+
"properties": {
|
|
817
|
+
"spec_updated_at": {
|
|
818
|
+
"default": "",
|
|
819
|
+
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
"changelog_refs": {
|
|
822
|
+
"default": [],
|
|
823
|
+
"type": "array",
|
|
824
|
+
"items": {
|
|
825
|
+
"type": "string",
|
|
826
|
+
"minLength": 1
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"required": [
|
|
831
|
+
"spec_updated_at",
|
|
832
|
+
"changelog_refs"
|
|
833
|
+
],
|
|
834
|
+
"additionalProperties": false
|
|
835
|
+
},
|
|
836
|
+
"requirements": {
|
|
837
|
+
"default": [],
|
|
838
|
+
"type": "array",
|
|
839
|
+
"items": {
|
|
840
|
+
"type": "object",
|
|
841
|
+
"properties": {
|
|
842
|
+
"requirement_ref": {
|
|
843
|
+
"type": "string",
|
|
844
|
+
"minLength": 1
|
|
845
|
+
},
|
|
846
|
+
"requirement": {
|
|
847
|
+
"type": "string",
|
|
848
|
+
"minLength": 10
|
|
849
|
+
},
|
|
850
|
+
"code_refs": {
|
|
851
|
+
"minItems": 1,
|
|
852
|
+
"type": "array",
|
|
853
|
+
"items": {
|
|
854
|
+
"type": "object",
|
|
855
|
+
"properties": {
|
|
856
|
+
"path": {
|
|
857
|
+
"type": "string",
|
|
858
|
+
"minLength": 1
|
|
859
|
+
},
|
|
860
|
+
"symbols": {
|
|
861
|
+
"default": [],
|
|
862
|
+
"type": "array",
|
|
863
|
+
"items": {
|
|
864
|
+
"type": "string"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"note": {
|
|
868
|
+
"type": "string"
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"required": [
|
|
872
|
+
"path",
|
|
873
|
+
"symbols"
|
|
874
|
+
],
|
|
875
|
+
"additionalProperties": false
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"test_refs": {
|
|
879
|
+
"minItems": 1,
|
|
880
|
+
"type": "array",
|
|
881
|
+
"items": {
|
|
882
|
+
"type": "object",
|
|
883
|
+
"properties": {
|
|
884
|
+
"id": {
|
|
885
|
+
"type": "string",
|
|
886
|
+
"minLength": 1
|
|
887
|
+
},
|
|
888
|
+
"path": {
|
|
889
|
+
"type": "string"
|
|
890
|
+
},
|
|
891
|
+
"kind": {
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
894
|
+
"note": {
|
|
895
|
+
"type": "string"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"required": [
|
|
899
|
+
"id"
|
|
900
|
+
],
|
|
901
|
+
"additionalProperties": false
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"semantic_coverage": {
|
|
905
|
+
"default": "covered",
|
|
906
|
+
"type": "string",
|
|
907
|
+
"enum": [
|
|
908
|
+
"covered",
|
|
909
|
+
"partial",
|
|
910
|
+
"not_covered",
|
|
911
|
+
"not_applicable"
|
|
912
|
+
]
|
|
913
|
+
},
|
|
914
|
+
"changelog_refs": {
|
|
915
|
+
"minItems": 1,
|
|
916
|
+
"type": "array",
|
|
917
|
+
"items": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"minLength": 1
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"evidence_refs": {
|
|
923
|
+
"minItems": 1,
|
|
924
|
+
"type": "array",
|
|
925
|
+
"items": {
|
|
926
|
+
"type": "string",
|
|
927
|
+
"minLength": 1
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"requirement_ref",
|
|
933
|
+
"requirement",
|
|
934
|
+
"code_refs",
|
|
935
|
+
"test_refs",
|
|
936
|
+
"semantic_coverage",
|
|
937
|
+
"changelog_refs",
|
|
938
|
+
"evidence_refs"
|
|
939
|
+
],
|
|
940
|
+
"additionalProperties": false
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"required": [
|
|
945
|
+
"spec_anchor",
|
|
946
|
+
"requirements"
|
|
947
|
+
],
|
|
948
|
+
"additionalProperties": false
|
|
949
|
+
},
|
|
950
|
+
"security_integrity": {
|
|
951
|
+
"type": "object",
|
|
952
|
+
"properties": {
|
|
953
|
+
"endpoint_auth_review": {
|
|
954
|
+
"default": "pending",
|
|
955
|
+
"type": "string",
|
|
956
|
+
"enum": [
|
|
957
|
+
"not_applicable",
|
|
958
|
+
"pending",
|
|
959
|
+
"passed",
|
|
960
|
+
"failed"
|
|
961
|
+
]
|
|
962
|
+
},
|
|
963
|
+
"sensitive_data_exposure_review": {
|
|
964
|
+
"default": "pending",
|
|
965
|
+
"type": "string",
|
|
966
|
+
"enum": [
|
|
967
|
+
"not_applicable",
|
|
968
|
+
"pending",
|
|
969
|
+
"passed",
|
|
970
|
+
"failed"
|
|
971
|
+
]
|
|
972
|
+
},
|
|
973
|
+
"incident_response_review": {
|
|
974
|
+
"default": "pending",
|
|
975
|
+
"type": "string",
|
|
976
|
+
"enum": [
|
|
977
|
+
"not_applicable",
|
|
978
|
+
"pending",
|
|
979
|
+
"passed",
|
|
980
|
+
"failed"
|
|
981
|
+
]
|
|
982
|
+
},
|
|
983
|
+
"notes": {
|
|
984
|
+
"type": "string"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"required": [
|
|
988
|
+
"endpoint_auth_review",
|
|
989
|
+
"sensitive_data_exposure_review",
|
|
990
|
+
"incident_response_review"
|
|
991
|
+
],
|
|
992
|
+
"additionalProperties": false
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"required": [
|
|
996
|
+
"schema_version",
|
|
997
|
+
"feature_id",
|
|
998
|
+
"coverage_targets",
|
|
999
|
+
"validation_strategies",
|
|
1000
|
+
"evidence_log",
|
|
1001
|
+
"skill_evidence",
|
|
1002
|
+
"acceptance_matrix",
|
|
1003
|
+
"exceptions",
|
|
1004
|
+
"remediation_policy",
|
|
1005
|
+
"traceability"
|
|
1006
|
+
],
|
|
1007
|
+
"additionalProperties": false,
|
|
1008
|
+
"title": "OpenSDD Workspace Quality",
|
|
1009
|
+
"description": "Machine-readable contract for the FEAT quality evidence and remediation workspace document."
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|