@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,620 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const workspaceFeatureIdSchema: z.ZodString;
|
|
3
|
+
export declare const workspaceGateSchema: z.ZodObject<{
|
|
4
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
nao_exigida: "nao_exigida";
|
|
6
|
+
rascunho: "rascunho";
|
|
7
|
+
pronta: "pronta";
|
|
8
|
+
aprovada: "aprovada";
|
|
9
|
+
}>>;
|
|
10
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
11
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
12
|
+
note: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export declare const workspaceSpecSchema: z.ZodObject<{
|
|
15
|
+
schema_version: z.ZodLiteral<1>;
|
|
16
|
+
feature_id: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
origin: z.ZodObject<{
|
|
19
|
+
type: z.ZodEnum<{
|
|
20
|
+
radar: "radar";
|
|
21
|
+
epic: "epic";
|
|
22
|
+
direct: "direct";
|
|
23
|
+
fgap: "fgap";
|
|
24
|
+
td: "td";
|
|
25
|
+
}>;
|
|
26
|
+
ref: z.ZodString;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
objective: z.ZodString;
|
|
29
|
+
expected_outcome: z.ZodString;
|
|
30
|
+
system_impact: z.ZodString;
|
|
31
|
+
acceptance_refs: z.ZodArray<z.ZodString>;
|
|
32
|
+
gates: z.ZodObject<{
|
|
33
|
+
proposta: z.ZodObject<{
|
|
34
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
nao_exigida: "nao_exigida";
|
|
36
|
+
rascunho: "rascunho";
|
|
37
|
+
pronta: "pronta";
|
|
38
|
+
aprovada: "aprovada";
|
|
39
|
+
}>>;
|
|
40
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
41
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
42
|
+
note: z.ZodOptional<z.ZodString>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
planejamento: z.ZodObject<{
|
|
45
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
nao_exigida: "nao_exigida";
|
|
47
|
+
rascunho: "rascunho";
|
|
48
|
+
pronta: "pronta";
|
|
49
|
+
aprovada: "aprovada";
|
|
50
|
+
}>>;
|
|
51
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
52
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
53
|
+
note: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
tarefas: z.ZodObject<{
|
|
56
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
57
|
+
nao_exigida: "nao_exigida";
|
|
58
|
+
rascunho: "rascunho";
|
|
59
|
+
pronta: "pronta";
|
|
60
|
+
aprovada: "aprovada";
|
|
61
|
+
}>>;
|
|
62
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
63
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
64
|
+
note: z.ZodOptional<z.ZodString>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
}, z.core.$strip>;
|
|
67
|
+
compliance_context: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
jurisdictions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
69
|
+
data_classes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
70
|
+
source_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
71
|
+
legal_review_required: z.ZodDefault<z.ZodBoolean>;
|
|
72
|
+
legal_review_notes: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
created_at: z.ZodString;
|
|
75
|
+
updated_at: z.ZodString;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const workspacePlanSchema: z.ZodObject<{
|
|
78
|
+
schema_version: z.ZodLiteral<1>;
|
|
79
|
+
feature_id: z.ZodString;
|
|
80
|
+
architectural_impact: z.ZodObject<{
|
|
81
|
+
description: z.ZodString;
|
|
82
|
+
affected_modules: z.ZodArray<z.ZodString>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
frontend_impact: z.ZodObject<{
|
|
85
|
+
status: z.ZodEnum<{
|
|
86
|
+
unknown: "unknown";
|
|
87
|
+
none: "none";
|
|
88
|
+
required: "required";
|
|
89
|
+
}>;
|
|
90
|
+
description: z.ZodString;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
affected_contracts: z.ZodArray<z.ZodObject<{
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
change_type: z.ZodString;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
quality_strategy: z.ZodObject<{
|
|
97
|
+
unit_target: z.ZodNumber;
|
|
98
|
+
integration_target: z.ZodNumber;
|
|
99
|
+
approach: z.ZodString;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
suggested_skills: z.ZodArray<z.ZodString>;
|
|
102
|
+
privacy_controls: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
source_registry_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
104
|
+
jurisdiction_profiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
105
|
+
control_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
106
|
+
legal_review_gate: z.ZodDefault<z.ZodEnum<{
|
|
107
|
+
required: "required";
|
|
108
|
+
conditional: "conditional";
|
|
109
|
+
not_required: "not_required";
|
|
110
|
+
}>>;
|
|
111
|
+
unresolved_legal_questions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
skill_conformance: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
selected_skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
115
|
+
required_skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
116
|
+
detected_conflicts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
117
|
+
resolution_adr_ref: z.ZodOptional<z.ZodString>;
|
|
118
|
+
architecture_tree_ascii: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
export declare const workspaceTaskSchema: z.ZodObject<{
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
phase: z.ZodEnum<{
|
|
124
|
+
documentation: "documentation";
|
|
125
|
+
preparation: "preparation";
|
|
126
|
+
implementation: "implementation";
|
|
127
|
+
testing: "testing";
|
|
128
|
+
finalization: "finalization";
|
|
129
|
+
}>;
|
|
130
|
+
title: z.ZodString;
|
|
131
|
+
description: z.ZodString;
|
|
132
|
+
files_touched: z.ZodArray<z.ZodString>;
|
|
133
|
+
test_scripts: z.ZodArray<z.ZodObject<{
|
|
134
|
+
command: z.ZodString;
|
|
135
|
+
type: z.ZodString;
|
|
136
|
+
expected: z.ZodString;
|
|
137
|
+
}, z.core.$strip>>;
|
|
138
|
+
acceptance: z.ZodString;
|
|
139
|
+
status: z.ZodEnum<{
|
|
140
|
+
done: "done";
|
|
141
|
+
in_progress: "in_progress";
|
|
142
|
+
pending: "pending";
|
|
143
|
+
skipped: "skipped";
|
|
144
|
+
}>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
export declare const workspaceTasksSchema: z.ZodObject<{
|
|
147
|
+
schema_version: z.ZodLiteral<1>;
|
|
148
|
+
feature_id: z.ZodString;
|
|
149
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
150
|
+
id: z.ZodString;
|
|
151
|
+
phase: z.ZodEnum<{
|
|
152
|
+
documentation: "documentation";
|
|
153
|
+
preparation: "preparation";
|
|
154
|
+
implementation: "implementation";
|
|
155
|
+
testing: "testing";
|
|
156
|
+
finalization: "finalization";
|
|
157
|
+
}>;
|
|
158
|
+
title: z.ZodString;
|
|
159
|
+
description: z.ZodString;
|
|
160
|
+
files_touched: z.ZodArray<z.ZodString>;
|
|
161
|
+
test_scripts: z.ZodArray<z.ZodObject<{
|
|
162
|
+
command: z.ZodString;
|
|
163
|
+
type: z.ZodString;
|
|
164
|
+
expected: z.ZodString;
|
|
165
|
+
}, z.core.$strip>>;
|
|
166
|
+
acceptance: z.ZodString;
|
|
167
|
+
status: z.ZodEnum<{
|
|
168
|
+
done: "done";
|
|
169
|
+
in_progress: "in_progress";
|
|
170
|
+
pending: "pending";
|
|
171
|
+
skipped: "skipped";
|
|
172
|
+
}>;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
export declare const workspaceChangelogSchema: z.ZodObject<{
|
|
176
|
+
schema_version: z.ZodLiteral<1>;
|
|
177
|
+
feature_id: z.ZodString;
|
|
178
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
179
|
+
timestamp: z.ZodString;
|
|
180
|
+
action: z.ZodString;
|
|
181
|
+
details: z.ZodString;
|
|
182
|
+
refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
export declare const workspaceTraceabilityCodeRefSchema: z.ZodObject<{
|
|
186
|
+
path: z.ZodString;
|
|
187
|
+
symbols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
188
|
+
note: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strip>;
|
|
190
|
+
export declare const workspaceTraceabilityTestRefSchema: z.ZodObject<{
|
|
191
|
+
id: z.ZodString;
|
|
192
|
+
path: z.ZodOptional<z.ZodString>;
|
|
193
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
194
|
+
note: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export declare const workspaceTraceabilityRequirementSchema: z.ZodObject<{
|
|
197
|
+
requirement_ref: z.ZodString;
|
|
198
|
+
requirement: z.ZodString;
|
|
199
|
+
code_refs: z.ZodArray<z.ZodObject<{
|
|
200
|
+
path: z.ZodString;
|
|
201
|
+
symbols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
202
|
+
note: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
test_refs: z.ZodArray<z.ZodObject<{
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
path: z.ZodOptional<z.ZodString>;
|
|
207
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
208
|
+
note: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
semantic_coverage: z.ZodDefault<z.ZodEnum<{
|
|
211
|
+
partial: "partial";
|
|
212
|
+
covered: "covered";
|
|
213
|
+
not_covered: "not_covered";
|
|
214
|
+
not_applicable: "not_applicable";
|
|
215
|
+
}>>;
|
|
216
|
+
changelog_refs: z.ZodArray<z.ZodString>;
|
|
217
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
export declare const workspaceTraceabilitySchema: z.ZodObject<{
|
|
220
|
+
spec_anchor: z.ZodObject<{
|
|
221
|
+
spec_updated_at: z.ZodDefault<z.ZodString>;
|
|
222
|
+
changelog_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
225
|
+
requirement_ref: z.ZodString;
|
|
226
|
+
requirement: z.ZodString;
|
|
227
|
+
code_refs: z.ZodArray<z.ZodObject<{
|
|
228
|
+
path: z.ZodString;
|
|
229
|
+
symbols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
230
|
+
note: z.ZodOptional<z.ZodString>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
test_refs: z.ZodArray<z.ZodObject<{
|
|
233
|
+
id: z.ZodString;
|
|
234
|
+
path: z.ZodOptional<z.ZodString>;
|
|
235
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
236
|
+
note: z.ZodOptional<z.ZodString>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
semantic_coverage: z.ZodDefault<z.ZodEnum<{
|
|
239
|
+
partial: "partial";
|
|
240
|
+
covered: "covered";
|
|
241
|
+
not_covered: "not_covered";
|
|
242
|
+
not_applicable: "not_applicable";
|
|
243
|
+
}>>;
|
|
244
|
+
changelog_refs: z.ZodArray<z.ZodString>;
|
|
245
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
246
|
+
}, z.core.$strip>>>;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
export declare const workspaceQualitySchema: z.ZodObject<{
|
|
249
|
+
schema_version: z.ZodLiteral<1>;
|
|
250
|
+
feature_id: z.ZodString;
|
|
251
|
+
coverage_targets: z.ZodObject<{
|
|
252
|
+
unit: z.ZodNumber;
|
|
253
|
+
integration: z.ZodNumber;
|
|
254
|
+
modules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
validation_strategies: z.ZodArray<z.ZodObject<{
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
command: z.ZodString;
|
|
259
|
+
expected: z.ZodString;
|
|
260
|
+
}, z.core.$strip>>;
|
|
261
|
+
evidence_log: z.ZodArray<z.ZodObject<{
|
|
262
|
+
timestamp: z.ZodString;
|
|
263
|
+
kind: z.ZodString;
|
|
264
|
+
result: z.ZodString;
|
|
265
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
skill_evidence: z.ZodDefault<z.ZodObject<{
|
|
268
|
+
required_skill_ids: z.ZodArray<z.ZodString>;
|
|
269
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
270
|
+
skill_id: z.ZodString;
|
|
271
|
+
note: z.ZodString;
|
|
272
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
273
|
+
manual: "manual";
|
|
274
|
+
tooling: "tooling";
|
|
275
|
+
quality_artifact: "quality_artifact";
|
|
276
|
+
}>>;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
verification_rule: z.ZodString;
|
|
279
|
+
}, z.core.$strip>>;
|
|
280
|
+
acceptance_matrix: z.ZodArray<z.ZodObject<{
|
|
281
|
+
criterion: z.ZodString;
|
|
282
|
+
status: z.ZodEnum<{
|
|
283
|
+
met: "met";
|
|
284
|
+
not_met: "not_met";
|
|
285
|
+
na: "na";
|
|
286
|
+
}>;
|
|
287
|
+
evidence: z.ZodString;
|
|
288
|
+
}, z.core.$strip>>;
|
|
289
|
+
exceptions: z.ZodArray<z.ZodObject<{
|
|
290
|
+
scope: z.ZodString;
|
|
291
|
+
reason: z.ZodString;
|
|
292
|
+
accepted_risk: z.ZodString;
|
|
293
|
+
compensating_control: z.ZodString;
|
|
294
|
+
}, z.core.$strip>>;
|
|
295
|
+
remediation_policy: z.ZodObject<{
|
|
296
|
+
on_coverage_miss: z.ZodEnum<{
|
|
297
|
+
block: "block";
|
|
298
|
+
re_task: "re_task";
|
|
299
|
+
exception: "exception";
|
|
300
|
+
}>;
|
|
301
|
+
max_rounds: z.ZodDefault<z.ZodNumber>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
traceability: z.ZodDefault<z.ZodObject<{
|
|
304
|
+
spec_anchor: z.ZodObject<{
|
|
305
|
+
spec_updated_at: z.ZodDefault<z.ZodString>;
|
|
306
|
+
changelog_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
309
|
+
requirement_ref: z.ZodString;
|
|
310
|
+
requirement: z.ZodString;
|
|
311
|
+
code_refs: z.ZodArray<z.ZodObject<{
|
|
312
|
+
path: z.ZodString;
|
|
313
|
+
symbols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
314
|
+
note: z.ZodOptional<z.ZodString>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
316
|
+
test_refs: z.ZodArray<z.ZodObject<{
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
path: z.ZodOptional<z.ZodString>;
|
|
319
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
320
|
+
note: z.ZodOptional<z.ZodString>;
|
|
321
|
+
}, z.core.$strip>>;
|
|
322
|
+
semantic_coverage: z.ZodDefault<z.ZodEnum<{
|
|
323
|
+
partial: "partial";
|
|
324
|
+
covered: "covered";
|
|
325
|
+
not_covered: "not_covered";
|
|
326
|
+
not_applicable: "not_applicable";
|
|
327
|
+
}>>;
|
|
328
|
+
changelog_refs: z.ZodArray<z.ZodString>;
|
|
329
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
330
|
+
}, z.core.$strip>>>;
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
security_integrity: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
endpoint_auth_review: z.ZodDefault<z.ZodEnum<{
|
|
334
|
+
pending: "pending";
|
|
335
|
+
not_applicable: "not_applicable";
|
|
336
|
+
passed: "passed";
|
|
337
|
+
failed: "failed";
|
|
338
|
+
}>>;
|
|
339
|
+
sensitive_data_exposure_review: z.ZodDefault<z.ZodEnum<{
|
|
340
|
+
pending: "pending";
|
|
341
|
+
not_applicable: "not_applicable";
|
|
342
|
+
passed: "passed";
|
|
343
|
+
failed: "failed";
|
|
344
|
+
}>>;
|
|
345
|
+
incident_response_review: z.ZodDefault<z.ZodEnum<{
|
|
346
|
+
pending: "pending";
|
|
347
|
+
not_applicable: "not_applicable";
|
|
348
|
+
passed: "passed";
|
|
349
|
+
failed: "failed";
|
|
350
|
+
}>>;
|
|
351
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
export declare const workspaceDocumentSchemas: {
|
|
355
|
+
readonly '1-spec.yaml': z.ZodObject<{
|
|
356
|
+
schema_version: z.ZodLiteral<1>;
|
|
357
|
+
feature_id: z.ZodString;
|
|
358
|
+
title: z.ZodString;
|
|
359
|
+
origin: z.ZodObject<{
|
|
360
|
+
type: z.ZodEnum<{
|
|
361
|
+
radar: "radar";
|
|
362
|
+
epic: "epic";
|
|
363
|
+
direct: "direct";
|
|
364
|
+
fgap: "fgap";
|
|
365
|
+
td: "td";
|
|
366
|
+
}>;
|
|
367
|
+
ref: z.ZodString;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
objective: z.ZodString;
|
|
370
|
+
expected_outcome: z.ZodString;
|
|
371
|
+
system_impact: z.ZodString;
|
|
372
|
+
acceptance_refs: z.ZodArray<z.ZodString>;
|
|
373
|
+
gates: z.ZodObject<{
|
|
374
|
+
proposta: z.ZodObject<{
|
|
375
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
376
|
+
nao_exigida: "nao_exigida";
|
|
377
|
+
rascunho: "rascunho";
|
|
378
|
+
pronta: "pronta";
|
|
379
|
+
aprovada: "aprovada";
|
|
380
|
+
}>>;
|
|
381
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
382
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
383
|
+
note: z.ZodOptional<z.ZodString>;
|
|
384
|
+
}, z.core.$strip>;
|
|
385
|
+
planejamento: z.ZodObject<{
|
|
386
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
387
|
+
nao_exigida: "nao_exigida";
|
|
388
|
+
rascunho: "rascunho";
|
|
389
|
+
pronta: "pronta";
|
|
390
|
+
aprovada: "aprovada";
|
|
391
|
+
}>>;
|
|
392
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
393
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
394
|
+
note: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
tarefas: z.ZodObject<{
|
|
397
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
398
|
+
nao_exigida: "nao_exigida";
|
|
399
|
+
rascunho: "rascunho";
|
|
400
|
+
pronta: "pronta";
|
|
401
|
+
aprovada: "aprovada";
|
|
402
|
+
}>>;
|
|
403
|
+
approved_at: z.ZodOptional<z.ZodString>;
|
|
404
|
+
approved_by: z.ZodOptional<z.ZodString>;
|
|
405
|
+
note: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
}, z.core.$strip>;
|
|
408
|
+
compliance_context: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
jurisdictions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
410
|
+
data_classes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
411
|
+
source_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
412
|
+
legal_review_required: z.ZodDefault<z.ZodBoolean>;
|
|
413
|
+
legal_review_notes: z.ZodOptional<z.ZodString>;
|
|
414
|
+
}, z.core.$strip>>;
|
|
415
|
+
created_at: z.ZodString;
|
|
416
|
+
updated_at: z.ZodString;
|
|
417
|
+
}, z.core.$strip>;
|
|
418
|
+
readonly '2-plan.yaml': z.ZodObject<{
|
|
419
|
+
schema_version: z.ZodLiteral<1>;
|
|
420
|
+
feature_id: z.ZodString;
|
|
421
|
+
architectural_impact: z.ZodObject<{
|
|
422
|
+
description: z.ZodString;
|
|
423
|
+
affected_modules: z.ZodArray<z.ZodString>;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
frontend_impact: z.ZodObject<{
|
|
426
|
+
status: z.ZodEnum<{
|
|
427
|
+
unknown: "unknown";
|
|
428
|
+
none: "none";
|
|
429
|
+
required: "required";
|
|
430
|
+
}>;
|
|
431
|
+
description: z.ZodString;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
affected_contracts: z.ZodArray<z.ZodObject<{
|
|
434
|
+
name: z.ZodString;
|
|
435
|
+
change_type: z.ZodString;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
quality_strategy: z.ZodObject<{
|
|
438
|
+
unit_target: z.ZodNumber;
|
|
439
|
+
integration_target: z.ZodNumber;
|
|
440
|
+
approach: z.ZodString;
|
|
441
|
+
}, z.core.$strip>;
|
|
442
|
+
suggested_skills: z.ZodArray<z.ZodString>;
|
|
443
|
+
privacy_controls: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
source_registry_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
445
|
+
jurisdiction_profiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
446
|
+
control_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
447
|
+
legal_review_gate: z.ZodDefault<z.ZodEnum<{
|
|
448
|
+
required: "required";
|
|
449
|
+
conditional: "conditional";
|
|
450
|
+
not_required: "not_required";
|
|
451
|
+
}>>;
|
|
452
|
+
unresolved_legal_questions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
453
|
+
}, z.core.$strip>>;
|
|
454
|
+
skill_conformance: z.ZodOptional<z.ZodObject<{
|
|
455
|
+
selected_skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
456
|
+
required_skills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
457
|
+
detected_conflicts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
458
|
+
resolution_adr_ref: z.ZodOptional<z.ZodString>;
|
|
459
|
+
architecture_tree_ascii: z.ZodOptional<z.ZodString>;
|
|
460
|
+
}, z.core.$strip>>;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
readonly '3-tasks.yaml': z.ZodObject<{
|
|
463
|
+
schema_version: z.ZodLiteral<1>;
|
|
464
|
+
feature_id: z.ZodString;
|
|
465
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
466
|
+
id: z.ZodString;
|
|
467
|
+
phase: z.ZodEnum<{
|
|
468
|
+
documentation: "documentation";
|
|
469
|
+
preparation: "preparation";
|
|
470
|
+
implementation: "implementation";
|
|
471
|
+
testing: "testing";
|
|
472
|
+
finalization: "finalization";
|
|
473
|
+
}>;
|
|
474
|
+
title: z.ZodString;
|
|
475
|
+
description: z.ZodString;
|
|
476
|
+
files_touched: z.ZodArray<z.ZodString>;
|
|
477
|
+
test_scripts: z.ZodArray<z.ZodObject<{
|
|
478
|
+
command: z.ZodString;
|
|
479
|
+
type: z.ZodString;
|
|
480
|
+
expected: z.ZodString;
|
|
481
|
+
}, z.core.$strip>>;
|
|
482
|
+
acceptance: z.ZodString;
|
|
483
|
+
status: z.ZodEnum<{
|
|
484
|
+
done: "done";
|
|
485
|
+
in_progress: "in_progress";
|
|
486
|
+
pending: "pending";
|
|
487
|
+
skipped: "skipped";
|
|
488
|
+
}>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
readonly '4-changelog.yaml': z.ZodObject<{
|
|
492
|
+
schema_version: z.ZodLiteral<1>;
|
|
493
|
+
feature_id: z.ZodString;
|
|
494
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
495
|
+
timestamp: z.ZodString;
|
|
496
|
+
action: z.ZodString;
|
|
497
|
+
details: z.ZodString;
|
|
498
|
+
refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
500
|
+
}, z.core.$strip>;
|
|
501
|
+
readonly '5-quality.yaml': z.ZodObject<{
|
|
502
|
+
schema_version: z.ZodLiteral<1>;
|
|
503
|
+
feature_id: z.ZodString;
|
|
504
|
+
coverage_targets: z.ZodObject<{
|
|
505
|
+
unit: z.ZodNumber;
|
|
506
|
+
integration: z.ZodNumber;
|
|
507
|
+
modules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
508
|
+
}, z.core.$strip>;
|
|
509
|
+
validation_strategies: z.ZodArray<z.ZodObject<{
|
|
510
|
+
name: z.ZodString;
|
|
511
|
+
command: z.ZodString;
|
|
512
|
+
expected: z.ZodString;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
evidence_log: z.ZodArray<z.ZodObject<{
|
|
515
|
+
timestamp: z.ZodString;
|
|
516
|
+
kind: z.ZodString;
|
|
517
|
+
result: z.ZodString;
|
|
518
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
skill_evidence: z.ZodDefault<z.ZodObject<{
|
|
521
|
+
required_skill_ids: z.ZodArray<z.ZodString>;
|
|
522
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
523
|
+
skill_id: z.ZodString;
|
|
524
|
+
note: z.ZodString;
|
|
525
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
526
|
+
manual: "manual";
|
|
527
|
+
tooling: "tooling";
|
|
528
|
+
quality_artifact: "quality_artifact";
|
|
529
|
+
}>>;
|
|
530
|
+
}, z.core.$strip>>;
|
|
531
|
+
verification_rule: z.ZodString;
|
|
532
|
+
}, z.core.$strip>>;
|
|
533
|
+
acceptance_matrix: z.ZodArray<z.ZodObject<{
|
|
534
|
+
criterion: z.ZodString;
|
|
535
|
+
status: z.ZodEnum<{
|
|
536
|
+
met: "met";
|
|
537
|
+
not_met: "not_met";
|
|
538
|
+
na: "na";
|
|
539
|
+
}>;
|
|
540
|
+
evidence: z.ZodString;
|
|
541
|
+
}, z.core.$strip>>;
|
|
542
|
+
exceptions: z.ZodArray<z.ZodObject<{
|
|
543
|
+
scope: z.ZodString;
|
|
544
|
+
reason: z.ZodString;
|
|
545
|
+
accepted_risk: z.ZodString;
|
|
546
|
+
compensating_control: z.ZodString;
|
|
547
|
+
}, z.core.$strip>>;
|
|
548
|
+
remediation_policy: z.ZodObject<{
|
|
549
|
+
on_coverage_miss: z.ZodEnum<{
|
|
550
|
+
block: "block";
|
|
551
|
+
re_task: "re_task";
|
|
552
|
+
exception: "exception";
|
|
553
|
+
}>;
|
|
554
|
+
max_rounds: z.ZodDefault<z.ZodNumber>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
traceability: z.ZodDefault<z.ZodObject<{
|
|
557
|
+
spec_anchor: z.ZodObject<{
|
|
558
|
+
spec_updated_at: z.ZodDefault<z.ZodString>;
|
|
559
|
+
changelog_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
562
|
+
requirement_ref: z.ZodString;
|
|
563
|
+
requirement: z.ZodString;
|
|
564
|
+
code_refs: z.ZodArray<z.ZodObject<{
|
|
565
|
+
path: z.ZodString;
|
|
566
|
+
symbols: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
567
|
+
note: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
test_refs: z.ZodArray<z.ZodObject<{
|
|
570
|
+
id: z.ZodString;
|
|
571
|
+
path: z.ZodOptional<z.ZodString>;
|
|
572
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
573
|
+
note: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
575
|
+
semantic_coverage: z.ZodDefault<z.ZodEnum<{
|
|
576
|
+
partial: "partial";
|
|
577
|
+
covered: "covered";
|
|
578
|
+
not_covered: "not_covered";
|
|
579
|
+
not_applicable: "not_applicable";
|
|
580
|
+
}>>;
|
|
581
|
+
changelog_refs: z.ZodArray<z.ZodString>;
|
|
582
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
583
|
+
}, z.core.$strip>>>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
security_integrity: z.ZodOptional<z.ZodObject<{
|
|
586
|
+
endpoint_auth_review: z.ZodDefault<z.ZodEnum<{
|
|
587
|
+
pending: "pending";
|
|
588
|
+
not_applicable: "not_applicable";
|
|
589
|
+
passed: "passed";
|
|
590
|
+
failed: "failed";
|
|
591
|
+
}>>;
|
|
592
|
+
sensitive_data_exposure_review: z.ZodDefault<z.ZodEnum<{
|
|
593
|
+
pending: "pending";
|
|
594
|
+
not_applicable: "not_applicable";
|
|
595
|
+
passed: "passed";
|
|
596
|
+
failed: "failed";
|
|
597
|
+
}>>;
|
|
598
|
+
incident_response_review: z.ZodDefault<z.ZodEnum<{
|
|
599
|
+
pending: "pending";
|
|
600
|
+
not_applicable: "not_applicable";
|
|
601
|
+
passed: "passed";
|
|
602
|
+
failed: "failed";
|
|
603
|
+
}>>;
|
|
604
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>>;
|
|
606
|
+
}, z.core.$strip>;
|
|
607
|
+
};
|
|
608
|
+
export type WorkspaceDocumentFileName = keyof typeof workspaceDocumentSchemas;
|
|
609
|
+
export declare class WorkspaceYamlError extends Error {
|
|
610
|
+
constructor(message: string);
|
|
611
|
+
}
|
|
612
|
+
export declare function workspaceSchemaForFile(fileName: string): (typeof workspaceDocumentSchemas)[WorkspaceDocumentFileName] | undefined;
|
|
613
|
+
export declare function parseWorkspaceYamlDocument(fileName: WorkspaceDocumentFileName, content: string): unknown;
|
|
614
|
+
export declare function stringifyWorkspaceYamlDocument(fileName: WorkspaceDocumentFileName, value: unknown): string;
|
|
615
|
+
export type WorkspaceSpecDocument = z.infer<typeof workspaceSpecSchema>;
|
|
616
|
+
export type WorkspacePlanDocument = z.infer<typeof workspacePlanSchema>;
|
|
617
|
+
export type WorkspaceTasksDocument = z.infer<typeof workspaceTasksSchema>;
|
|
618
|
+
export type WorkspaceChangelogDocument = z.infer<typeof workspaceChangelogSchema>;
|
|
619
|
+
export type WorkspaceQualityDocument = z.infer<typeof workspaceQualitySchema>;
|
|
620
|
+
//# sourceMappingURL=workspace-schemas.d.ts.map
|