@devtrack-solution/codesdd 1.2.2 → 1.2.4-rc3
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 +17 -17
- package/.sdd/skills/curated/devtrack-api/SKILL.md +170 -31
- package/.sdd/skills/curated/devtrack-api/agents/claude-code.yaml +8 -0
- package/.sdd/skills/curated/devtrack-api/agents/codex.yaml +8 -0
- package/.sdd/skills/curated/devtrack-api/agents/cursor.yaml +8 -0
- package/.sdd/skills/curated/devtrack-api/agents/gemini.yaml +8 -0
- package/.sdd/skills/curated/devtrack-api/agents/kimi.yaml +8 -0
- package/.sdd/skills/curated/devtrack-api/agents/openai.yaml +4 -2
- package/.sdd/skills/curated/devtrack-api/agents/opencode.yaml +10 -0
- package/.sdd/skills/curated/devtrack-api/references/application-presentation.md +2 -2
- package/.sdd/skills/curated/devtrack-api/references/architecture-governance.md +8 -7
- package/.sdd/skills/curated/devtrack-api/references/consumer-sync-policy.md +93 -0
- package/.sdd/skills/curated/devtrack-api/references/contract-pack.yaml +372 -0
- package/.sdd/skills/curated/devtrack-api/references/domain-modeling.md +13 -13
- package/.sdd/skills/curated/devtrack-api/references/field-validation-protocol.md +95 -0
- package/.sdd/skills/curated/devtrack-api/references/foundation-layout.md +294 -0
- package/.sdd/skills/curated/devtrack-api/references/implementation-checklist.md +5 -5
- package/.sdd/skills/curated/devtrack-api/references/imports-lint.md +4 -0
- package/.sdd/skills/curated/devtrack-api/references/portable-agent-contract.md +41 -0
- package/.sdd/skills/curated/devtrack-api/references/testing-validation.md +2 -2
- package/.sdd/skills/curated/devtrack-api/references/typeorm-infrastructure.md +7 -9
- package/LICENSE +1 -1
- package/README.md +399 -53
- package/bin/codesdd.js +3 -2
- package/dist/applications/sdd/index.d.ts +16 -0
- package/dist/applications/sdd/index.js +16 -0
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +11 -558
- package/dist/cli/program.d.ts +14 -0
- package/dist/cli/program.js +645 -0
- package/dist/commands/change.js +5 -5
- package/dist/commands/completion.d.ts +1 -1
- package/dist/commands/completion.js +9 -2
- package/dist/commands/config.js +320 -20
- package/dist/commands/feedback.js +1 -1
- package/dist/commands/schema.d.ts +63 -0
- package/dist/commands/schema.js +12 -12
- package/dist/commands/sdd/backlog.d.ts +3 -0
- package/dist/commands/sdd/backlog.js +54 -0
- package/dist/commands/sdd/execution.js +489 -28
- package/dist/commands/sdd/plugin.d.ts +3 -0
- package/dist/commands/sdd/plugin.js +158 -0
- package/dist/commands/sdd/shared.d.ts +1 -0
- package/dist/commands/sdd/shared.js +11 -22
- package/dist/commands/sdd/skills.js +7 -0
- package/dist/commands/sdd.js +107 -15
- package/dist/commands/spec.js +9 -9
- package/dist/commands/validate.js +6 -6
- package/dist/commands/workflow/instructions.js +6 -6
- package/dist/commands/workflow/new-change.js +3 -3
- package/dist/commands/workflow/shared.d.ts +1 -1
- package/dist/commands/workflow/shared.js +4 -4
- package/dist/core/archive.js +15 -5
- package/dist/core/artifact-graph/instruction-loader.d.ts +1 -1
- package/dist/core/artifact-graph/instruction-loader.js +3 -3
- package/dist/core/artifact-graph/resolver.d.ts +4 -4
- package/dist/core/artifact-graph/resolver.js +6 -6
- package/dist/core/branding.js +3 -3
- package/dist/core/cli/command-matrix.js +19 -1
- package/dist/core/cli-command-quality.d.ts +27 -0
- package/dist/core/cli-command-quality.js +180 -0
- package/dist/core/command-generation/adapters/costrict.d.ts +1 -1
- package/dist/core/command-generation/adapters/costrict.js +2 -2
- package/dist/core/command-generation/types.d.ts +1 -1
- package/dist/core/completions/command-registry.d.ts +1 -1
- package/dist/core/completions/command-registry.js +200 -12
- package/dist/core/completions/completion-provider.d.ts +14 -1
- package/dist/core/completions/completion-provider.js +29 -1
- package/dist/core/completions/generators/bash-generator.d.ts +1 -1
- package/dist/core/completions/generators/bash-generator.js +20 -12
- package/dist/core/completions/generators/fish-generator.d.ts +9 -1
- package/dist/core/completions/generators/fish-generator.js +39 -25
- package/dist/core/completions/generators/powershell-generator.d.ts +1 -1
- package/dist/core/completions/generators/powershell-generator.js +21 -11
- package/dist/core/completions/generators/zsh-generator.d.ts +3 -6
- package/dist/core/completions/generators/zsh-generator.js +21 -42
- package/dist/core/completions/installers/bash-installer.js +6 -6
- package/dist/core/completions/installers/fish-installer.js +1 -1
- package/dist/core/completions/installers/powershell-installer.js +14 -14
- package/dist/core/completions/installers/zsh-installer.d.ts +7 -1
- package/dist/core/completions/installers/zsh-installer.js +36 -8
- package/dist/core/completions/templates/bash-templates.d.ts +1 -1
- package/dist/core/completions/templates/bash-templates.js +12 -6
- package/dist/core/completions/templates/fish-templates.d.ts +2 -2
- package/dist/core/completions/templates/fish-templates.js +20 -9
- package/dist/core/completions/templates/powershell-templates.d.ts +1 -1
- package/dist/core/completions/templates/powershell-templates.js +13 -4
- package/dist/core/completions/templates/zsh-templates.d.ts +1 -1
- package/dist/core/completions/templates/zsh-templates.js +18 -9
- package/dist/core/config-schema.d.ts +20 -1
- package/dist/core/config-schema.js +70 -2
- package/dist/core/config.d.ts +3 -3
- package/dist/core/config.js +4 -4
- package/dist/core/global-config.d.ts +57 -12
- package/dist/core/global-config.js +344 -27
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/init.d.ts +6 -1
- package/dist/core/init.js +99 -77
- package/dist/core/legacy-cleanup.d.ts +17 -17
- package/dist/core/legacy-cleanup.js +96 -79
- package/dist/core/list.js +18 -4
- package/dist/core/migration.d.ts +3 -1
- package/dist/core/migration.js +7 -8
- package/dist/core/parsers/change-parser.js +1 -1
- package/dist/core/parsers/markdown-parser.js +2 -2
- package/dist/core/profile-sync-drift.d.ts +1 -1
- package/dist/core/profile-sync-drift.js +13 -13
- package/dist/core/project-config.d.ts +4 -4
- package/dist/core/project-config.js +11 -11
- package/dist/core/schemas/change.schema.d.ts +1 -1
- package/dist/core/schemas/change.schema.js +1 -1
- package/dist/core/schemas/spec.schema.d.ts +1 -1
- package/dist/core/schemas/spec.schema.js +1 -1
- package/dist/core/sdd/adr.js +23 -1
- package/dist/core/sdd/agent-binding.d.ts +346 -0
- package/dist/core/sdd/agent-binding.js +343 -0
- package/dist/core/sdd/agent-runtime-contract.d.ts +204 -0
- package/dist/core/sdd/agent-runtime-contract.js +200 -0
- package/dist/core/sdd/backlog-cli.d.ts +16 -0
- package/dist/core/sdd/backlog-cli.js +146 -0
- package/dist/core/sdd/backlog-conflict-policy.d.ts +58 -0
- package/dist/core/sdd/backlog-conflict-policy.js +230 -0
- package/dist/core/sdd/backlog-projection.d.ts +8 -0
- package/dist/core/sdd/backlog-projection.js +89 -0
- package/dist/core/sdd/backlog-provider-contract.d.ts +252 -0
- package/dist/core/sdd/backlog-provider-contract.js +158 -0
- package/dist/core/sdd/bootstrap.js +2 -2
- package/dist/core/sdd/check.d.ts +44 -0
- package/dist/core/sdd/check.js +62 -24
- package/dist/core/sdd/contract.d.ts +13 -0
- package/dist/core/sdd/contract.js +36 -0
- package/dist/core/sdd/coordination/coordination-adapters.d.ts +53 -8
- package/dist/core/sdd/coordination/coordination-adapters.js +182 -16
- package/dist/core/sdd/coordination/index.d.ts +1 -0
- package/dist/core/sdd/coordination/index.js +1 -0
- package/dist/core/sdd/coordination/redis-runtime.d.ts +131 -0
- package/dist/core/sdd/coordination/redis-runtime.js +698 -0
- package/dist/core/sdd/deepagent-contracts.d.ts +370 -0
- package/dist/core/sdd/deepagent-contracts.js +235 -0
- package/dist/core/sdd/deepagents/adr-governor.d.ts +2 -0
- package/dist/core/sdd/deepagents/adr-governor.js +30 -0
- package/dist/core/sdd/deepagents/backend.d.ts +63 -0
- package/dist/core/sdd/deepagents/backend.js +174 -0
- package/dist/core/sdd/deepagents/codesdd-tools.d.ts +39 -0
- package/dist/core/sdd/deepagents/codesdd-tools.js +83 -0
- package/dist/core/sdd/deepagents/evidence-mapper.d.ts +86 -0
- package/dist/core/sdd/deepagents/evidence-mapper.js +178 -0
- package/dist/core/sdd/deepagents/model-provider.d.ts +53 -0
- package/dist/core/sdd/deepagents/model-provider.js +379 -0
- package/dist/core/sdd/deepagents/policy-enforcement.d.ts +30 -0
- package/dist/core/sdd/deepagents/policy-enforcement.js +90 -0
- package/dist/core/sdd/deepagents/policy.d.ts +75 -0
- package/dist/core/sdd/deepagents/policy.js +358 -0
- package/dist/core/sdd/deepagents/quality-witness.d.ts +3 -0
- package/dist/core/sdd/deepagents/quality-witness.js +77 -0
- package/dist/core/sdd/deepagents/reversa-subagents.d.ts +75 -0
- package/dist/core/sdd/deepagents/reversa-subagents.js +182 -0
- package/dist/core/sdd/deepagents/runtime-factory.d.ts +90 -0
- package/dist/core/sdd/deepagents/runtime-factory.js +231 -0
- package/dist/core/sdd/deepagents/runtime-loader.d.ts +16 -0
- package/dist/core/sdd/deepagents/runtime-loader.js +65 -0
- package/dist/core/sdd/default-bootstrap-files.d.ts +3 -3
- package/dist/core/sdd/default-bootstrap-files.js +50 -10
- package/dist/core/sdd/default-skills.d.ts +30 -0
- package/dist/core/sdd/default-skills.js +288 -8
- package/dist/core/sdd/devtrack-api-appliance.d.ts +91 -0
- package/dist/core/sdd/devtrack-api-appliance.js +280 -0
- package/dist/core/sdd/devtrack-api-architecture.d.ts +31 -0
- package/dist/core/sdd/devtrack-api-architecture.js +608 -0
- package/dist/core/sdd/devtrack-api-import-boundary.d.ts +19 -0
- package/dist/core/sdd/devtrack-api-import-boundary.js +32 -0
- package/dist/core/sdd/diagnose.d.ts +59 -0
- package/dist/core/sdd/diagnose.js +37 -37
- package/dist/core/sdd/docs-sync.js +54 -20
- package/dist/core/sdd/domain/capability-diff.d.ts +63 -0
- package/dist/core/sdd/domain/capability-diff.js +200 -0
- package/dist/core/sdd/domain/change-safety-guardrails.d.ts +74 -0
- package/dist/core/sdd/domain/change-safety-guardrails.js +333 -0
- package/dist/core/sdd/domain/post-active-validation.d.ts +7 -0
- package/dist/core/sdd/domain/post-active-validation.js +61 -0
- package/dist/core/sdd/domain/semantic-intent-classifier.d.ts +29 -0
- package/dist/core/sdd/domain/semantic-intent-classifier.js +117 -0
- package/dist/core/sdd/domain/transition-engine.js +1 -0
- package/dist/core/sdd/entity-reference.d.ts +5 -0
- package/dist/core/sdd/entity-reference.js +22 -0
- package/dist/core/sdd/foundation-artifact-map-validator.d.ts +16 -0
- package/dist/core/sdd/foundation-artifact-map-validator.js +71 -0
- package/dist/core/sdd/foundation-layer-manifest.d.ts +24 -0
- package/dist/core/sdd/foundation-layer-manifest.js +117 -0
- package/dist/core/sdd/governance-backfill.d.ts +31 -0
- package/dist/core/sdd/governance-backfill.js +359 -0
- package/dist/core/sdd/governance-parser.d.ts +21 -0
- package/dist/core/sdd/governance-parser.js +91 -0
- package/dist/core/sdd/governance-schemas.d.ts +245 -0
- package/dist/core/sdd/governance-schemas.js +143 -0
- package/dist/core/sdd/{import-openspec.d.ts → import-legacy-spec.d.ts} +7 -7
- package/dist/core/sdd/{import-openspec.js → import-legacy-spec.js} +21 -29
- package/dist/core/sdd/init.d.ts +3 -0
- package/dist/core/sdd/init.js +6 -3
- package/dist/core/sdd/intent-guard.d.ts +22 -0
- package/dist/core/sdd/intent-guard.js +67 -0
- package/dist/core/sdd/json-schema.js +108 -6
- package/dist/core/sdd/knowledge-graph.d.ts +45 -0
- package/dist/core/sdd/knowledge-graph.js +288 -0
- package/dist/core/sdd/legacy-operations.js +507 -44
- package/dist/core/sdd/lenses.d.ts +1 -0
- package/dist/core/sdd/lenses.js +29 -1
- package/dist/core/sdd/migrate-workspace.js +95 -2
- package/dist/core/sdd/migrate.d.ts +1 -1
- package/dist/core/sdd/migrate.js +36 -2
- package/dist/core/sdd/package-security-gates.d.ts +21 -0
- package/dist/core/sdd/package-security-gates.js +119 -0
- package/dist/core/sdd/package-structure-gate.d.ts +83 -0
- package/dist/core/sdd/package-structure-gate.js +357 -0
- package/dist/core/sdd/parallel-feat-automation.d.ts +330 -0
- package/dist/core/sdd/parallel-feat-automation.js +424 -0
- package/dist/core/sdd/plugin-broker.d.ts +777 -0
- package/dist/core/sdd/plugin-broker.js +492 -0
- package/dist/core/sdd/plugin-certification.d.ts +79 -0
- package/dist/core/sdd/plugin-certification.js +453 -0
- package/dist/core/sdd/plugin-cli.d.ts +139 -0
- package/dist/core/sdd/plugin-cli.js +265 -0
- package/dist/core/sdd/plugin-evidence.d.ts +348 -0
- package/dist/core/sdd/plugin-evidence.js +307 -0
- package/dist/core/sdd/plugin-manifest.d.ts +232 -0
- package/dist/core/sdd/plugin-manifest.js +225 -0
- package/dist/core/sdd/plugin-policy-pack.d.ts +88 -0
- package/dist/core/sdd/plugin-policy-pack.js +236 -0
- package/dist/core/sdd/plugin-policy.d.ts +68 -0
- package/dist/core/sdd/plugin-policy.js +212 -0
- package/dist/core/sdd/plugin-registry.d.ts +447 -0
- package/dist/core/sdd/plugin-registry.js +138 -0
- package/dist/core/sdd/plugin-sdk-contract.d.ts +363 -0
- package/dist/core/sdd/plugin-sdk-contract.js +268 -0
- package/dist/core/sdd/plugin-skill-binding.d.ts +151 -0
- package/dist/core/sdd/plugin-skill-binding.js +339 -0
- package/dist/core/sdd/quality-artifact-manifest-validator.d.ts +28 -0
- package/dist/core/sdd/quality-artifact-manifest-validator.js +167 -0
- package/dist/core/sdd/quality-evidence-renderer.d.ts +65 -0
- package/dist/core/sdd/quality-evidence-renderer.js +218 -0
- package/dist/core/sdd/quality-scenario-runner.d.ts +42 -0
- package/dist/core/sdd/quality-scenario-runner.js +613 -0
- package/dist/core/sdd/quality-validation.d.ts +620 -0
- package/dist/core/sdd/quality-validation.js +239 -0
- package/dist/core/sdd/release-readiness.d.ts +19 -0
- package/dist/core/sdd/release-readiness.js +472 -0
- package/dist/core/sdd/resolve-project-root.d.ts +2 -2
- package/dist/core/sdd/resolve-project-root.js +11 -5
- package/dist/core/sdd/runtime-boundary-contract.d.ts +45 -0
- package/dist/core/sdd/runtime-boundary-contract.js +90 -0
- package/dist/core/sdd/sanitize.d.ts +30 -1
- package/dist/core/sdd/sanitize.js +23 -23
- package/dist/core/sdd/sdk-agent-plugin-quality-gates.d.ts +150 -0
- package/dist/core/sdd/sdk-agent-plugin-quality-gates.js +258 -0
- package/dist/core/sdd/services/agent-run.service.d.ts +97 -0
- package/dist/core/sdd/services/agent-run.service.js +261 -0
- package/dist/core/sdd/services/breakdown.service.js +2 -1
- package/dist/core/sdd/services/capability-diff.service.d.ts +18 -0
- package/dist/core/sdd/services/capability-diff.service.js +26 -0
- package/dist/core/sdd/services/change-safety-preflight.service.d.ts +17 -0
- package/dist/core/sdd/services/change-safety-preflight.service.js +17 -0
- package/dist/core/sdd/services/context.service.d.ts +43 -340
- package/dist/core/sdd/services/context.service.js +341 -25
- package/dist/core/sdd/services/debate.service.js +15 -2
- package/dist/core/sdd/services/feature-lint.service.d.ts +22 -0
- package/dist/core/sdd/services/feature-lint.service.js +105 -5
- package/dist/core/sdd/services/finalize.service.d.ts +105 -0
- package/dist/core/sdd/services/finalize.service.js +499 -38
- package/dist/core/sdd/services/frontend-gap.service.js +22 -7
- package/dist/core/sdd/services/frontend-impact.service.d.ts +1 -1
- package/dist/core/sdd/services/governance-control-plane-runtime-adapters.d.ts +17 -0
- package/dist/core/sdd/services/governance-control-plane-runtime-adapters.js +38 -0
- package/dist/core/sdd/services/governance-control-plane.service.d.ts +66 -0
- package/dist/core/sdd/services/governance-control-plane.service.js +134 -0
- package/dist/core/sdd/services/ingest-deposito.service.js +1 -1
- package/dist/core/sdd/services/legacy-capability.service.d.ts +10 -7
- package/dist/core/sdd/services/legacy-capability.service.js +38 -21
- package/dist/core/sdd/services/mcp-runtime.service.d.ts +123 -8
- package/dist/core/sdd/services/mcp-runtime.service.js +1085 -33
- package/dist/core/sdd/services/onboard.service.js +2 -1
- package/dist/core/sdd/services/rebuild.service.js +6 -1
- package/dist/core/sdd/services/semantic-intent-classifier.service.d.ts +6 -0
- package/dist/core/sdd/services/semantic-intent-classifier.service.js +7 -0
- package/dist/core/sdd/services/skills-sync.service.d.ts +17 -5
- package/dist/core/sdd/services/skills-sync.service.js +55 -2
- package/dist/core/sdd/services/start.service.js +6 -4
- package/dist/core/sdd/skill-bundles-curation-schema.d.ts +66 -0
- package/dist/core/sdd/skill-bundles-curation-schema.js +52 -0
- package/dist/core/sdd/skill-evidence.d.ts +19 -0
- package/dist/core/sdd/skill-evidence.js +38 -0
- package/dist/core/sdd/skill-policy-pool.d.ts +46 -0
- package/dist/core/sdd/skill-policy-pool.js +185 -0
- package/dist/core/sdd/state.d.ts +23 -0
- package/dist/core/sdd/state.js +313 -66
- package/dist/core/sdd/store/sdd-stores.js +2 -2
- package/dist/core/sdd/structural-health.d.ts +55 -55
- package/dist/core/sdd/types.d.ts +60 -19
- package/dist/core/sdd/types.js +21 -0
- package/dist/core/sdd/upgrade-to-codesdd.d.ts +45 -0
- package/dist/core/sdd/upgrade-to-codesdd.js +179 -0
- package/dist/core/sdd/views.js +17 -0
- package/dist/core/sdd/workspace-schemas.d.ts +670 -19
- package/dist/core/sdd/workspace-schemas.js +285 -5
- package/dist/core/sdd/write-manifest.js +22 -4
- package/dist/core/shared/skill-generation.d.ts +1 -1
- package/dist/core/shared/skill-generation.js +15 -15
- package/dist/core/shared/tool-detection.d.ts +3 -3
- package/dist/core/shared/tool-detection.js +14 -14
- package/dist/core/specs-apply.js +6 -6
- package/dist/core/templates/index.d.ts +1 -1
- package/dist/core/templates/index.js +1 -1
- package/dist/core/templates/workflows/apply-change.js +14 -14
- package/dist/core/templates/workflows/archive-change.js +32 -32
- package/dist/core/templates/workflows/bulk-archive-change.js +25 -25
- package/dist/core/templates/workflows/continue-change.js +12 -12
- package/dist/core/templates/workflows/explore.js +29 -29
- package/dist/core/templates/workflows/feedback.js +6 -6
- package/dist/core/templates/workflows/ff-change.js +24 -24
- package/dist/core/templates/workflows/new-change.js +20 -20
- package/dist/core/templates/workflows/onboard.js +33 -33
- package/dist/core/templates/workflows/propose.js +23 -23
- package/dist/core/templates/workflows/sdd.js +8 -8
- package/dist/core/templates/workflows/sync-specs.js +19 -19
- package/dist/core/templates/workflows/verify-change.js +17 -17
- package/dist/core/update.d.ts +2 -2
- package/dist/core/update.js +16 -15
- package/dist/core/validation/constants.d.ts +1 -1
- package/dist/core/validation/constants.js +1 -1
- package/dist/core/view.js +11 -11
- package/dist/domains/sdd/index.d.ts +6 -0
- package/dist/domains/sdd/index.js +6 -0
- package/dist/infrastructures/sdd/index.d.ts +7 -0
- package/dist/infrastructures/sdd/index.js +6 -0
- package/dist/presentations/cli/sdd/index.d.ts +3 -0
- package/dist/presentations/cli/sdd/index.js +3 -0
- package/dist/shared/sdd/index.d.ts +3 -0
- package/dist/shared/sdd/index.js +2 -0
- package/dist/telemetry/config.d.ts +2 -1
- package/dist/telemetry/config.js +17 -8
- package/dist/telemetry/index.d.ts +10 -2
- package/dist/telemetry/index.js +40 -7
- package/dist/ui/ascii-patterns.d.ts +2 -2
- package/dist/ui/ascii-patterns.js +2 -2
- package/dist/ui/welcome-screen.js +2 -2
- package/dist/utils/change-metadata.d.ts +4 -4
- package/dist/utils/change-metadata.js +6 -6
- package/dist/utils/change-utils.d.ts +3 -3
- package/dist/utils/change-utils.js +5 -5
- package/dist/utils/file-system.js +1 -1
- package/dist/utils/interactive.js +1 -1
- package/dist/utils/item-discovery.js +4 -4
- package/dist/utils/legacy-spec-compat.d.ts +2 -0
- package/dist/utils/legacy-spec-compat.js +2 -0
- package/dist/utils/shell-detection.d.ts +1 -0
- package/dist/utils/shell-detection.js +16 -0
- package/package.json +34 -21
- package/schemas/sdd/1-spec.schema.json +1 -1
- package/schemas/sdd/2-plan.schema.json +280 -3
- package/schemas/sdd/3-tasks.schema.json +73 -1
- package/schemas/sdd/4-changelog.schema.json +1 -1
- package/schemas/sdd/5-quality.schema.json +701 -5
- package/schemas/sdd/adr.schema.json +148 -0
- package/schemas/sdd/agent-binding-adapter.schema.json +210 -0
- package/schemas/sdd/agent-binding-resolution.schema.json +338 -0
- package/schemas/sdd/agent-runtime-command-plan.schema.json +212 -0
- package/schemas/sdd/agent-runtime-opencode-run-evidence.schema.json +270 -0
- package/schemas/sdd/backlog-projection-plan.schema.json +180 -0
- package/schemas/sdd/backlog-provider-contract.schema.json +260 -0
- package/schemas/sdd/codesdd-plugin.schema.json +645 -0
- package/schemas/sdd/debate.schema.json +244 -0
- package/schemas/sdd/deepagent-decision-evidence.schema.json +58 -0
- package/schemas/sdd/deepagent-env-contract.schema.json +143 -0
- package/schemas/sdd/deepagent-quality-evidence.schema.json +108 -0
- package/schemas/sdd/deepagent-run-evidence.schema.json +192 -0
- package/schemas/sdd/deepagent-run-plan.schema.json +197 -0
- package/schemas/sdd/deepagent-run-request.schema.json +637 -0
- package/schemas/sdd/deepagent-subagent-evidence.schema.json +110 -0
- package/schemas/sdd/deepagent-tool-call-evidence.schema.json +78 -0
- package/schemas/sdd/discarded.schema.json +127 -0
- package/schemas/sdd/epic.schema.json +147 -0
- package/schemas/sdd/insight.schema.json +136 -0
- package/schemas/sdd/parallel-feat-automation-plan.schema.json +304 -0
- package/schemas/sdd/parallel-feat-automation-request.schema.json +109 -0
- package/schemas/sdd/parallel-feat-scheduler-request.schema.json +116 -0
- package/schemas/sdd/parallel-feat-scheduler-result.schema.json +404 -0
- package/schemas/sdd/plugin-artifact-manifest.schema.json +259 -0
- package/schemas/sdd/plugin-artifact-map.schema.json +223 -0
- package/schemas/sdd/plugin-compliance-index.schema.json +136 -0
- package/schemas/sdd/plugin-dry-run-plan.schema.json +260 -0
- package/schemas/sdd/plugin-evidence-manifest.schema.json +678 -0
- package/schemas/sdd/plugin-language-runtime.schema.json +103 -0
- package/schemas/sdd/plugin-package-governance.schema.json +74 -0
- package/schemas/sdd/plugin-policy-evaluation.schema.json +92 -0
- package/schemas/sdd/plugin-policy-pack-evaluation.schema.json +94 -0
- package/schemas/sdd/plugin-policy-pack.schema.json +196 -0
- package/schemas/sdd/plugin-registry.schema.json +729 -0
- package/schemas/sdd/plugin-rollback-manifest.schema.json +87 -0
- package/schemas/sdd/plugin-runtime-invocation-plan.schema.json +954 -0
- package/schemas/sdd/plugin-skill-binding-resolution.schema.json +305 -0
- package/schemas/sdd/plugin-skill-binding.schema.json +88 -0
- package/schemas/sdd/plugin-validation-manifest.schema.json +123 -0
- package/schemas/sdd/quality-architecture-schema.schema.json +216 -0
- package/schemas/sdd/quality-evidence-bundle.schema.json +1337 -0
- package/schemas/sdd/quality-run.schema.json +197 -0
- package/schemas/sdd/quality-scenario.schema.json +252 -0
- package/schemas/sdd/sdk-agent-plugin-quality-gate-input.schema.json +168 -0
- package/schemas/sdd/sdk-agent-plugin-quality-gate-report.schema.json +160 -0
- package/schemas/sdd/workspace-catalog.schema.json +13232 -35
- package/schemas/spec-driven/schema.yaml +4 -4
- package/schemas/spec-driven/templates/proposal.md +1 -1
- package/dist/utils/openspec-compat.d.ts +0 -2
- package/dist/utils/openspec-compat.js +0 -2
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const qualityAuthorityRefSchema: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
schema: "schema";
|
|
5
|
+
epic: "epic";
|
|
6
|
+
feature: "feature";
|
|
7
|
+
foundation: "foundation";
|
|
8
|
+
debate: "debate";
|
|
9
|
+
adr: "adr";
|
|
10
|
+
skill: "skill";
|
|
11
|
+
}>;
|
|
12
|
+
ref: z.ZodString;
|
|
13
|
+
path: z.ZodOptional<z.ZodString>;
|
|
14
|
+
version: z.ZodOptional<z.ZodString>;
|
|
15
|
+
update_policy: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const qualityGateRefSchema: z.ZodObject<{
|
|
18
|
+
id: z.ZodString;
|
|
19
|
+
type: z.ZodEnum<{
|
|
20
|
+
filesystem: "filesystem";
|
|
21
|
+
schema: "schema";
|
|
22
|
+
runtime: "runtime";
|
|
23
|
+
evidence: "evidence";
|
|
24
|
+
import: "import";
|
|
25
|
+
certification: "certification";
|
|
26
|
+
drift: "drift";
|
|
27
|
+
}>;
|
|
28
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
29
|
+
fail: "fail";
|
|
30
|
+
warn: "warn";
|
|
31
|
+
}>>;
|
|
32
|
+
issue_codes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
33
|
+
remediation: z.ZodString;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export declare const qualityScenarioExpectedArtifactSchema: z.ZodObject<{
|
|
36
|
+
path_pattern: z.ZodString;
|
|
37
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
38
|
+
artifact_class: z.ZodString;
|
|
39
|
+
checksum_required: z.ZodDefault<z.ZodBoolean>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const qualityScenarioSchema: z.ZodObject<{
|
|
42
|
+
schema_version: z.ZodLiteral<1>;
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
title: z.ZodString;
|
|
45
|
+
feature_ref: z.ZodOptional<z.ZodString>;
|
|
46
|
+
mode: z.ZodEnum<{
|
|
47
|
+
runtime: "runtime";
|
|
48
|
+
traceability: "traceability";
|
|
49
|
+
dry_run: "dry_run";
|
|
50
|
+
apply_sandbox: "apply_sandbox";
|
|
51
|
+
}>;
|
|
52
|
+
intent: z.ZodString;
|
|
53
|
+
authority: z.ZodArray<z.ZodObject<{
|
|
54
|
+
type: z.ZodEnum<{
|
|
55
|
+
schema: "schema";
|
|
56
|
+
epic: "epic";
|
|
57
|
+
feature: "feature";
|
|
58
|
+
foundation: "foundation";
|
|
59
|
+
debate: "debate";
|
|
60
|
+
adr: "adr";
|
|
61
|
+
skill: "skill";
|
|
62
|
+
}>;
|
|
63
|
+
ref: z.ZodString;
|
|
64
|
+
path: z.ZodOptional<z.ZodString>;
|
|
65
|
+
version: z.ZodOptional<z.ZodString>;
|
|
66
|
+
update_policy: z.ZodString;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
input: z.ZodObject<{
|
|
69
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
70
|
+
fixture_path: z.ZodOptional<z.ZodString>;
|
|
71
|
+
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
expected_artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
74
|
+
path_pattern: z.ZodString;
|
|
75
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
76
|
+
artifact_class: z.ZodString;
|
|
77
|
+
checksum_required: z.ZodDefault<z.ZodBoolean>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
gates: z.ZodArray<z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
type: z.ZodEnum<{
|
|
82
|
+
filesystem: "filesystem";
|
|
83
|
+
schema: "schema";
|
|
84
|
+
runtime: "runtime";
|
|
85
|
+
evidence: "evidence";
|
|
86
|
+
import: "import";
|
|
87
|
+
certification: "certification";
|
|
88
|
+
drift: "drift";
|
|
89
|
+
}>;
|
|
90
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
91
|
+
fail: "fail";
|
|
92
|
+
warn: "warn";
|
|
93
|
+
}>>;
|
|
94
|
+
issue_codes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
95
|
+
remediation: z.ZodString;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
negative_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
description: z.ZodString;
|
|
100
|
+
expected_issue_codes: z.ZodArray<z.ZodString>;
|
|
101
|
+
}, z.core.$strip>>>;
|
|
102
|
+
allowed_nondeterminism: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
103
|
+
required_evidence: z.ZodArray<z.ZodString>;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
export declare const architectureLayerRuleSchema: z.ZodObject<{
|
|
106
|
+
path_patterns: z.ZodArray<z.ZodString>;
|
|
107
|
+
allowed_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
108
|
+
forbidden_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
109
|
+
allowed_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
110
|
+
forbidden_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
111
|
+
required_evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export declare const qualityArchitectureSchema: z.ZodObject<{
|
|
114
|
+
schema_version: z.ZodLiteral<1>;
|
|
115
|
+
id: z.ZodString;
|
|
116
|
+
title: z.ZodString;
|
|
117
|
+
stack: z.ZodString;
|
|
118
|
+
authority: z.ZodArray<z.ZodObject<{
|
|
119
|
+
type: z.ZodEnum<{
|
|
120
|
+
schema: "schema";
|
|
121
|
+
epic: "epic";
|
|
122
|
+
feature: "feature";
|
|
123
|
+
foundation: "foundation";
|
|
124
|
+
debate: "debate";
|
|
125
|
+
adr: "adr";
|
|
126
|
+
skill: "skill";
|
|
127
|
+
}>;
|
|
128
|
+
ref: z.ZodString;
|
|
129
|
+
path: z.ZodOptional<z.ZodString>;
|
|
130
|
+
version: z.ZodOptional<z.ZodString>;
|
|
131
|
+
update_policy: z.ZodString;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
applies_to: z.ZodObject<{
|
|
134
|
+
plugin: z.ZodOptional<z.ZodString>;
|
|
135
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
136
|
+
project_kind: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
layers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
139
|
+
path_patterns: z.ZodArray<z.ZodString>;
|
|
140
|
+
allowed_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
141
|
+
forbidden_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
142
|
+
allowed_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
143
|
+
forbidden_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
144
|
+
required_evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
146
|
+
exceptions: z.ZodObject<{
|
|
147
|
+
require_adr: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
+
require_expiration: z.ZodDefault<z.ZodBoolean>;
|
|
149
|
+
allowed_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
update_policy: z.ZodObject<{
|
|
152
|
+
owner: z.ZodString;
|
|
153
|
+
review_trigger: z.ZodString;
|
|
154
|
+
stale_after_days: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
export declare const qualityRunFindingSchema: z.ZodObject<{
|
|
158
|
+
code: z.ZodString;
|
|
159
|
+
severity: z.ZodEnum<{
|
|
160
|
+
error: "error";
|
|
161
|
+
info: "info";
|
|
162
|
+
warn: "warn";
|
|
163
|
+
blocker: "blocker";
|
|
164
|
+
}>;
|
|
165
|
+
message: z.ZodString;
|
|
166
|
+
remediation: z.ZodString;
|
|
167
|
+
path: z.ZodOptional<z.ZodString>;
|
|
168
|
+
gate_id: z.ZodOptional<z.ZodString>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
export declare const qualityRunSchema: z.ZodObject<{
|
|
171
|
+
schema_version: z.ZodLiteral<1>;
|
|
172
|
+
run_id: z.ZodString;
|
|
173
|
+
scenario_ref: z.ZodString;
|
|
174
|
+
feature_ref: z.ZodString;
|
|
175
|
+
started_at: z.ZodString;
|
|
176
|
+
finished_at: z.ZodOptional<z.ZodString>;
|
|
177
|
+
mode: z.ZodEnum<{
|
|
178
|
+
runtime: "runtime";
|
|
179
|
+
traceability: "traceability";
|
|
180
|
+
dry_run: "dry_run";
|
|
181
|
+
apply_sandbox: "apply_sandbox";
|
|
182
|
+
}>;
|
|
183
|
+
status: z.ZodEnum<{
|
|
184
|
+
blocked: "blocked";
|
|
185
|
+
warning: "warning";
|
|
186
|
+
failed: "failed";
|
|
187
|
+
passed: "passed";
|
|
188
|
+
}>;
|
|
189
|
+
plugin_ref: z.ZodOptional<z.ZodObject<{
|
|
190
|
+
id: z.ZodString;
|
|
191
|
+
version: z.ZodString;
|
|
192
|
+
capability: z.ZodString;
|
|
193
|
+
}, z.core.$strip>>;
|
|
194
|
+
command: z.ZodObject<{
|
|
195
|
+
argv: z.ZodArray<z.ZodString>;
|
|
196
|
+
cwd: z.ZodDefault<z.ZodString>;
|
|
197
|
+
env_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
schema_versions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
200
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
201
|
+
findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
202
|
+
code: z.ZodString;
|
|
203
|
+
severity: z.ZodEnum<{
|
|
204
|
+
error: "error";
|
|
205
|
+
info: "info";
|
|
206
|
+
warn: "warn";
|
|
207
|
+
blocker: "blocker";
|
|
208
|
+
}>;
|
|
209
|
+
message: z.ZodString;
|
|
210
|
+
remediation: z.ZodString;
|
|
211
|
+
path: z.ZodOptional<z.ZodString>;
|
|
212
|
+
gate_id: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
214
|
+
evidence_bundle_path: z.ZodOptional<z.ZodString>;
|
|
215
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
export declare const qualityFilesystemSnapshotSchema: z.ZodObject<{
|
|
218
|
+
root: z.ZodDefault<z.ZodString>;
|
|
219
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
220
|
+
path: z.ZodString;
|
|
221
|
+
size_bytes: z.ZodNumber;
|
|
222
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
export declare const qualityImportGraphSchema: z.ZodObject<{
|
|
226
|
+
nodes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
227
|
+
edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
|
+
from: z.ZodString;
|
|
229
|
+
to: z.ZodString;
|
|
230
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
231
|
+
package: "package";
|
|
232
|
+
alias: "alias";
|
|
233
|
+
relative: "relative";
|
|
234
|
+
}>>;
|
|
235
|
+
}, z.core.$strip>>>;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
export declare const qualityEvidenceBundleSchema: z.ZodObject<{
|
|
238
|
+
schema_version: z.ZodLiteral<1>;
|
|
239
|
+
run: z.ZodObject<{
|
|
240
|
+
schema_version: z.ZodLiteral<1>;
|
|
241
|
+
run_id: z.ZodString;
|
|
242
|
+
scenario_ref: z.ZodString;
|
|
243
|
+
feature_ref: z.ZodString;
|
|
244
|
+
started_at: z.ZodString;
|
|
245
|
+
finished_at: z.ZodOptional<z.ZodString>;
|
|
246
|
+
mode: z.ZodEnum<{
|
|
247
|
+
runtime: "runtime";
|
|
248
|
+
traceability: "traceability";
|
|
249
|
+
dry_run: "dry_run";
|
|
250
|
+
apply_sandbox: "apply_sandbox";
|
|
251
|
+
}>;
|
|
252
|
+
status: z.ZodEnum<{
|
|
253
|
+
blocked: "blocked";
|
|
254
|
+
warning: "warning";
|
|
255
|
+
failed: "failed";
|
|
256
|
+
passed: "passed";
|
|
257
|
+
}>;
|
|
258
|
+
plugin_ref: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
version: z.ZodString;
|
|
261
|
+
capability: z.ZodString;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
command: z.ZodObject<{
|
|
264
|
+
argv: z.ZodArray<z.ZodString>;
|
|
265
|
+
cwd: z.ZodDefault<z.ZodString>;
|
|
266
|
+
env_keys: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
schema_versions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
269
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
270
|
+
findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
271
|
+
code: z.ZodString;
|
|
272
|
+
severity: z.ZodEnum<{
|
|
273
|
+
error: "error";
|
|
274
|
+
info: "info";
|
|
275
|
+
warn: "warn";
|
|
276
|
+
blocker: "blocker";
|
|
277
|
+
}>;
|
|
278
|
+
message: z.ZodString;
|
|
279
|
+
remediation: z.ZodString;
|
|
280
|
+
path: z.ZodOptional<z.ZodString>;
|
|
281
|
+
gate_id: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strip>>>;
|
|
283
|
+
evidence_bundle_path: z.ZodOptional<z.ZodString>;
|
|
284
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
scenario: z.ZodObject<{
|
|
287
|
+
schema_version: z.ZodLiteral<1>;
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
title: z.ZodString;
|
|
290
|
+
feature_ref: z.ZodOptional<z.ZodString>;
|
|
291
|
+
mode: z.ZodEnum<{
|
|
292
|
+
runtime: "runtime";
|
|
293
|
+
traceability: "traceability";
|
|
294
|
+
dry_run: "dry_run";
|
|
295
|
+
apply_sandbox: "apply_sandbox";
|
|
296
|
+
}>;
|
|
297
|
+
intent: z.ZodString;
|
|
298
|
+
authority: z.ZodArray<z.ZodObject<{
|
|
299
|
+
type: z.ZodEnum<{
|
|
300
|
+
schema: "schema";
|
|
301
|
+
epic: "epic";
|
|
302
|
+
feature: "feature";
|
|
303
|
+
foundation: "foundation";
|
|
304
|
+
debate: "debate";
|
|
305
|
+
adr: "adr";
|
|
306
|
+
skill: "skill";
|
|
307
|
+
}>;
|
|
308
|
+
ref: z.ZodString;
|
|
309
|
+
path: z.ZodOptional<z.ZodString>;
|
|
310
|
+
version: z.ZodOptional<z.ZodString>;
|
|
311
|
+
update_policy: z.ZodString;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
input: z.ZodObject<{
|
|
314
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
315
|
+
fixture_path: z.ZodOptional<z.ZodString>;
|
|
316
|
+
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
expected_artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
319
|
+
path_pattern: z.ZodString;
|
|
320
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
321
|
+
artifact_class: z.ZodString;
|
|
322
|
+
checksum_required: z.ZodDefault<z.ZodBoolean>;
|
|
323
|
+
}, z.core.$strip>>>;
|
|
324
|
+
gates: z.ZodArray<z.ZodObject<{
|
|
325
|
+
id: z.ZodString;
|
|
326
|
+
type: z.ZodEnum<{
|
|
327
|
+
filesystem: "filesystem";
|
|
328
|
+
schema: "schema";
|
|
329
|
+
runtime: "runtime";
|
|
330
|
+
evidence: "evidence";
|
|
331
|
+
import: "import";
|
|
332
|
+
certification: "certification";
|
|
333
|
+
drift: "drift";
|
|
334
|
+
}>;
|
|
335
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
336
|
+
fail: "fail";
|
|
337
|
+
warn: "warn";
|
|
338
|
+
}>>;
|
|
339
|
+
issue_codes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
340
|
+
remediation: z.ZodString;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
negative_variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
description: z.ZodString;
|
|
345
|
+
expected_issue_codes: z.ZodArray<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>>>;
|
|
347
|
+
allowed_nondeterminism: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
348
|
+
required_evidence: z.ZodArray<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
architecture_schema: z.ZodOptional<z.ZodObject<{
|
|
351
|
+
schema_version: z.ZodLiteral<1>;
|
|
352
|
+
id: z.ZodString;
|
|
353
|
+
title: z.ZodString;
|
|
354
|
+
stack: z.ZodString;
|
|
355
|
+
authority: z.ZodArray<z.ZodObject<{
|
|
356
|
+
type: z.ZodEnum<{
|
|
357
|
+
schema: "schema";
|
|
358
|
+
epic: "epic";
|
|
359
|
+
feature: "feature";
|
|
360
|
+
foundation: "foundation";
|
|
361
|
+
debate: "debate";
|
|
362
|
+
adr: "adr";
|
|
363
|
+
skill: "skill";
|
|
364
|
+
}>;
|
|
365
|
+
ref: z.ZodString;
|
|
366
|
+
path: z.ZodOptional<z.ZodString>;
|
|
367
|
+
version: z.ZodOptional<z.ZodString>;
|
|
368
|
+
update_policy: z.ZodString;
|
|
369
|
+
}, z.core.$strip>>;
|
|
370
|
+
applies_to: z.ZodObject<{
|
|
371
|
+
plugin: z.ZodOptional<z.ZodString>;
|
|
372
|
+
capability: z.ZodOptional<z.ZodString>;
|
|
373
|
+
project_kind: z.ZodOptional<z.ZodString>;
|
|
374
|
+
}, z.core.$strip>;
|
|
375
|
+
layers: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
376
|
+
path_patterns: z.ZodArray<z.ZodString>;
|
|
377
|
+
allowed_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
378
|
+
forbidden_file_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
379
|
+
allowed_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
380
|
+
forbidden_imports: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
381
|
+
required_evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
exceptions: z.ZodObject<{
|
|
384
|
+
require_adr: z.ZodDefault<z.ZodBoolean>;
|
|
385
|
+
require_expiration: z.ZodDefault<z.ZodBoolean>;
|
|
386
|
+
allowed_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
update_policy: z.ZodObject<{
|
|
389
|
+
owner: z.ZodString;
|
|
390
|
+
review_trigger: z.ZodString;
|
|
391
|
+
stale_after_days: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
artifact_manifest: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
schema_version: z.ZodLiteral<1>;
|
|
396
|
+
operation_id: z.ZodString;
|
|
397
|
+
generated_at: z.ZodString;
|
|
398
|
+
feature_ref: z.ZodString;
|
|
399
|
+
plugin_ref: z.ZodObject<{
|
|
400
|
+
id: z.ZodString;
|
|
401
|
+
version: z.ZodString;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
capability: z.ZodString;
|
|
404
|
+
mode: z.ZodEnum<{
|
|
405
|
+
apply: "apply";
|
|
406
|
+
"dry-run": "dry-run";
|
|
407
|
+
rollback: "rollback";
|
|
408
|
+
}>;
|
|
409
|
+
status: z.ZodEnum<{
|
|
410
|
+
planned: "planned";
|
|
411
|
+
applied: "applied";
|
|
412
|
+
rolled_back: "rolled_back";
|
|
413
|
+
failed: "failed";
|
|
414
|
+
}>;
|
|
415
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
416
|
+
path: z.ZodString;
|
|
417
|
+
operation: z.ZodEnum<{
|
|
418
|
+
created: "created";
|
|
419
|
+
planned: "planned";
|
|
420
|
+
modified: "modified";
|
|
421
|
+
deleted: "deleted";
|
|
422
|
+
unchanged: "unchanged";
|
|
423
|
+
validated: "validated";
|
|
424
|
+
}>;
|
|
425
|
+
reason: z.ZodString;
|
|
426
|
+
checksum_before: z.ZodOptional<z.ZodString>;
|
|
427
|
+
checksum_after: z.ZodOptional<z.ZodString>;
|
|
428
|
+
content_type: z.ZodOptional<z.ZodString>;
|
|
429
|
+
artifact_kind: z.ZodOptional<z.ZodEnum<{
|
|
430
|
+
documentation: "documentation";
|
|
431
|
+
schema: "schema";
|
|
432
|
+
configuration: "configuration";
|
|
433
|
+
source: "source";
|
|
434
|
+
migration: "migration";
|
|
435
|
+
evidence: "evidence";
|
|
436
|
+
test: "test";
|
|
437
|
+
asset: "asset";
|
|
438
|
+
"package-metadata": "package-metadata";
|
|
439
|
+
}>>;
|
|
440
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
documentation: "documentation";
|
|
442
|
+
type: "type";
|
|
443
|
+
validator: "validator";
|
|
444
|
+
evidence: "evidence";
|
|
445
|
+
test: "test";
|
|
446
|
+
interface: "interface";
|
|
447
|
+
implementation: "implementation";
|
|
448
|
+
abstraction: "abstraction";
|
|
449
|
+
"business-object": "business-object";
|
|
450
|
+
"value-object": "value-object";
|
|
451
|
+
entity: "entity";
|
|
452
|
+
"repository-port": "repository-port";
|
|
453
|
+
"use-case": "use-case";
|
|
454
|
+
service: "service";
|
|
455
|
+
handler: "handler";
|
|
456
|
+
adapter: "adapter";
|
|
457
|
+
mapper: "mapper";
|
|
458
|
+
module: "module";
|
|
459
|
+
controller: "controller";
|
|
460
|
+
dto: "dto";
|
|
461
|
+
policy: "policy";
|
|
462
|
+
manifest: "manifest";
|
|
463
|
+
fixture: "fixture";
|
|
464
|
+
}>>;
|
|
465
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
sdd: "sdd";
|
|
467
|
+
config: "config";
|
|
468
|
+
domain: "domain";
|
|
469
|
+
docs: "docs";
|
|
470
|
+
root: "root";
|
|
471
|
+
application: "application";
|
|
472
|
+
infrastructure: "infrastructure";
|
|
473
|
+
presentation: "presentation";
|
|
474
|
+
shared: "shared";
|
|
475
|
+
tests: "tests";
|
|
476
|
+
assets: "assets";
|
|
477
|
+
}>>;
|
|
478
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
shell: "shell";
|
|
480
|
+
other: "other";
|
|
481
|
+
typescript: "typescript";
|
|
482
|
+
javascript: "javascript";
|
|
483
|
+
python: "python";
|
|
484
|
+
java: "java";
|
|
485
|
+
go: "go";
|
|
486
|
+
rust: "rust";
|
|
487
|
+
csharp: "csharp";
|
|
488
|
+
php: "php";
|
|
489
|
+
ruby: "ruby";
|
|
490
|
+
}>>;
|
|
491
|
+
context: z.ZodOptional<z.ZodString>;
|
|
492
|
+
implementation: z.ZodOptional<z.ZodEnum<{
|
|
493
|
+
contract: "contract";
|
|
494
|
+
manual: "manual";
|
|
495
|
+
concrete: "concrete";
|
|
496
|
+
abstract: "abstract";
|
|
497
|
+
generated: "generated";
|
|
498
|
+
}>>;
|
|
499
|
+
decision_refs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
500
|
+
source_refs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
501
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
502
|
+
}, z.core.$strip>>>;
|
|
503
|
+
validation_evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
504
|
+
command: z.ZodString;
|
|
505
|
+
status: z.ZodEnum<{
|
|
506
|
+
failed: "failed";
|
|
507
|
+
pending: "pending";
|
|
508
|
+
passed: "passed";
|
|
509
|
+
skipped: "skipped";
|
|
510
|
+
}>;
|
|
511
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
512
|
+
}, z.core.$strip>>>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
514
|
+
validation_manifest: z.ZodOptional<z.ZodObject<{
|
|
515
|
+
schema_version: z.ZodLiteral<1>;
|
|
516
|
+
operation_id: z.ZodString;
|
|
517
|
+
generated_at: z.ZodString;
|
|
518
|
+
feature_ref: z.ZodString;
|
|
519
|
+
plugin_ref: z.ZodObject<{
|
|
520
|
+
id: z.ZodString;
|
|
521
|
+
version: z.ZodString;
|
|
522
|
+
}, z.core.$strip>;
|
|
523
|
+
capability: z.ZodString;
|
|
524
|
+
status: z.ZodEnum<{
|
|
525
|
+
partial: "partial";
|
|
526
|
+
failed: "failed";
|
|
527
|
+
pending: "pending";
|
|
528
|
+
passed: "passed";
|
|
529
|
+
}>;
|
|
530
|
+
validations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
531
|
+
command: z.ZodString;
|
|
532
|
+
status: z.ZodEnum<{
|
|
533
|
+
failed: "failed";
|
|
534
|
+
pending: "pending";
|
|
535
|
+
passed: "passed";
|
|
536
|
+
skipped: "skipped";
|
|
537
|
+
}>;
|
|
538
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
539
|
+
coverage: z.ZodOptional<z.ZodObject<{
|
|
540
|
+
statements: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
branches: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
functions: z.ZodOptional<z.ZodNumber>;
|
|
543
|
+
lines: z.ZodOptional<z.ZodNumber>;
|
|
544
|
+
}, z.core.$strip>>;
|
|
545
|
+
}, z.core.$strip>>>;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
compliance_index: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
schema_version: z.ZodLiteral<1>;
|
|
549
|
+
generated_at: z.ZodString;
|
|
550
|
+
feature_ref: z.ZodString;
|
|
551
|
+
operation_id: z.ZodString;
|
|
552
|
+
plugin_ref: z.ZodObject<{
|
|
553
|
+
id: z.ZodString;
|
|
554
|
+
version: z.ZodString;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
capability: z.ZodString;
|
|
557
|
+
score: z.ZodNumber;
|
|
558
|
+
decision: z.ZodEnum<{
|
|
559
|
+
warning: "warning";
|
|
560
|
+
compliant: "compliant";
|
|
561
|
+
"non-compliant": "non-compliant";
|
|
562
|
+
}>;
|
|
563
|
+
criteria: z.ZodArray<z.ZodObject<{
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
label: z.ZodString;
|
|
566
|
+
status: z.ZodEnum<{
|
|
567
|
+
pass: "pass";
|
|
568
|
+
fail: "fail";
|
|
569
|
+
warn: "warn";
|
|
570
|
+
}>;
|
|
571
|
+
score: z.ZodNumber;
|
|
572
|
+
max_score: z.ZodNumber;
|
|
573
|
+
evidence: z.ZodString;
|
|
574
|
+
issues: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
575
|
+
}, z.core.$strip>>;
|
|
576
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
filesystem_snapshot: z.ZodObject<{
|
|
579
|
+
root: z.ZodDefault<z.ZodString>;
|
|
580
|
+
files: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
581
|
+
path: z.ZodString;
|
|
582
|
+
size_bytes: z.ZodNumber;
|
|
583
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
584
|
+
}, z.core.$strip>>>;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
import_graph: z.ZodObject<{
|
|
587
|
+
nodes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
588
|
+
edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
589
|
+
from: z.ZodString;
|
|
590
|
+
to: z.ZodString;
|
|
591
|
+
kind: z.ZodDefault<z.ZodEnum<{
|
|
592
|
+
package: "package";
|
|
593
|
+
alias: "alias";
|
|
594
|
+
relative: "relative";
|
|
595
|
+
}>>;
|
|
596
|
+
}, z.core.$strip>>>;
|
|
597
|
+
}, z.core.$strip>;
|
|
598
|
+
command_log_ref: z.ZodOptional<z.ZodString>;
|
|
599
|
+
exceptions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
600
|
+
ref: z.ZodString;
|
|
601
|
+
reason: z.ZodString;
|
|
602
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
603
|
+
compensating_control: z.ZodString;
|
|
604
|
+
}, z.core.$strip>>>;
|
|
605
|
+
checksums: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
606
|
+
path: z.ZodString;
|
|
607
|
+
sha256: z.ZodString;
|
|
608
|
+
}, z.core.$strip>>>;
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
export type QualityScenario = z.infer<typeof qualityScenarioSchema>;
|
|
611
|
+
export type QualityArchitectureSchema = z.infer<typeof qualityArchitectureSchema>;
|
|
612
|
+
export type QualityRun = z.infer<typeof qualityRunSchema>;
|
|
613
|
+
export type QualityFilesystemSnapshot = z.infer<typeof qualityFilesystemSnapshotSchema>;
|
|
614
|
+
export type QualityImportGraph = z.infer<typeof qualityImportGraphSchema>;
|
|
615
|
+
export type QualityEvidenceBundle = z.infer<typeof qualityEvidenceBundleSchema>;
|
|
616
|
+
export declare function parseQualityScenario(value: unknown): QualityScenario;
|
|
617
|
+
export declare function parseQualityArchitectureSchema(value: unknown): QualityArchitectureSchema;
|
|
618
|
+
export declare function parseQualityRun(value: unknown): QualityRun;
|
|
619
|
+
export declare function parseQualityEvidenceBundle(value: unknown): QualityEvidenceBundle;
|
|
620
|
+
//# sourceMappingURL=quality-validation.d.ts.map
|