@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,557 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const STRUCTURAL_HEALTH_TOKENS: {
|
|
3
|
+
readonly lifecycleDirectories: readonly ["planned", "active", "archived"];
|
|
4
|
+
readonly generatedDirectories: readonly ["planning", "core"];
|
|
5
|
+
readonly commandNames: readonly ["diagnose", "sanitize", "check", "audit"];
|
|
6
|
+
readonly findingSeverities: readonly ["info", "warning", "error", "blocker"];
|
|
7
|
+
readonly findingCategories: readonly ["lifecycle", "references", "integrity", "boundary", "render", "metadata", "naming"];
|
|
8
|
+
readonly sanitizerDispositions: readonly ["safe", "manual", "blocked", "noop"];
|
|
9
|
+
readonly lifecycleStates: readonly ["planned", "ready", "blocked", "in_progress", "done", "archived"];
|
|
10
|
+
readonly navigationNodeKinds: readonly ["insight", "debate", "epic", "feature", "frontend_gap", "tech_debt", "other"];
|
|
11
|
+
readonly navigationEdgeKinds: readonly ["origin", "depends_on", "produces", "consumes", "related"];
|
|
12
|
+
readonly boundaryViolations: readonly ["none", "path_traversal", "symlink_escape", "absolute_escape", "out_of_root"];
|
|
13
|
+
};
|
|
14
|
+
export declare const StructuralLifecycleDirectoryTokenSchema: z.ZodEnum<{
|
|
15
|
+
active: "active";
|
|
16
|
+
planned: "planned";
|
|
17
|
+
archived: "archived";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const StructuralGeneratedDirectoryTokenSchema: z.ZodEnum<{
|
|
20
|
+
core: "core";
|
|
21
|
+
planning: "planning";
|
|
22
|
+
}>;
|
|
23
|
+
export declare const StructuralCommandNameTokenSchema: z.ZodEnum<{
|
|
24
|
+
check: "check";
|
|
25
|
+
diagnose: "diagnose";
|
|
26
|
+
sanitize: "sanitize";
|
|
27
|
+
audit: "audit";
|
|
28
|
+
}>;
|
|
29
|
+
export declare const StructuralFindingSeveritySchema: z.ZodEnum<{
|
|
30
|
+
error: "error";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
info: "info";
|
|
33
|
+
blocker: "blocker";
|
|
34
|
+
}>;
|
|
35
|
+
export declare const StructuralFindingCategorySchema: z.ZodEnum<{
|
|
36
|
+
metadata: "metadata";
|
|
37
|
+
lifecycle: "lifecycle";
|
|
38
|
+
render: "render";
|
|
39
|
+
references: "references";
|
|
40
|
+
integrity: "integrity";
|
|
41
|
+
boundary: "boundary";
|
|
42
|
+
naming: "naming";
|
|
43
|
+
}>;
|
|
44
|
+
export declare const StructuralSanitizerDispositionSchema: z.ZodEnum<{
|
|
45
|
+
manual: "manual";
|
|
46
|
+
safe: "safe";
|
|
47
|
+
blocked: "blocked";
|
|
48
|
+
noop: "noop";
|
|
49
|
+
}>;
|
|
50
|
+
export declare const StructuralLifecycleStateTokenSchema: z.ZodEnum<{
|
|
51
|
+
done: "done";
|
|
52
|
+
planned: "planned";
|
|
53
|
+
in_progress: "in_progress";
|
|
54
|
+
archived: "archived";
|
|
55
|
+
blocked: "blocked";
|
|
56
|
+
ready: "ready";
|
|
57
|
+
}>;
|
|
58
|
+
export declare const StructuralNavigationNodeKindSchema: z.ZodEnum<{
|
|
59
|
+
epic: "epic";
|
|
60
|
+
frontend_gap: "frontend_gap";
|
|
61
|
+
tech_debt: "tech_debt";
|
|
62
|
+
feature: "feature";
|
|
63
|
+
other: "other";
|
|
64
|
+
insight: "insight";
|
|
65
|
+
debate: "debate";
|
|
66
|
+
}>;
|
|
67
|
+
export declare const StructuralNavigationEdgeKindSchema: z.ZodEnum<{
|
|
68
|
+
produces: "produces";
|
|
69
|
+
consumes: "consumes";
|
|
70
|
+
depends_on: "depends_on";
|
|
71
|
+
origin: "origin";
|
|
72
|
+
related: "related";
|
|
73
|
+
}>;
|
|
74
|
+
export declare const StructuralBoundaryViolationSchema: z.ZodEnum<{
|
|
75
|
+
none: "none";
|
|
76
|
+
path_traversal: "path_traversal";
|
|
77
|
+
symlink_escape: "symlink_escape";
|
|
78
|
+
absolute_escape: "absolute_escape";
|
|
79
|
+
out_of_root: "out_of_root";
|
|
80
|
+
}>;
|
|
81
|
+
export declare const StructuralTokenRegistrySchema: z.ZodObject<{
|
|
82
|
+
lifecycle_directories: z.ZodArray<z.ZodEnum<{
|
|
83
|
+
active: "active";
|
|
84
|
+
planned: "planned";
|
|
85
|
+
archived: "archived";
|
|
86
|
+
}>>;
|
|
87
|
+
generated_directories: z.ZodArray<z.ZodEnum<{
|
|
88
|
+
core: "core";
|
|
89
|
+
planning: "planning";
|
|
90
|
+
}>>;
|
|
91
|
+
command_names: z.ZodArray<z.ZodEnum<{
|
|
92
|
+
check: "check";
|
|
93
|
+
diagnose: "diagnose";
|
|
94
|
+
sanitize: "sanitize";
|
|
95
|
+
audit: "audit";
|
|
96
|
+
}>>;
|
|
97
|
+
finding_severities: z.ZodArray<z.ZodEnum<{
|
|
98
|
+
error: "error";
|
|
99
|
+
warning: "warning";
|
|
100
|
+
info: "info";
|
|
101
|
+
blocker: "blocker";
|
|
102
|
+
}>>;
|
|
103
|
+
finding_categories: z.ZodArray<z.ZodEnum<{
|
|
104
|
+
metadata: "metadata";
|
|
105
|
+
lifecycle: "lifecycle";
|
|
106
|
+
render: "render";
|
|
107
|
+
references: "references";
|
|
108
|
+
integrity: "integrity";
|
|
109
|
+
boundary: "boundary";
|
|
110
|
+
naming: "naming";
|
|
111
|
+
}>>;
|
|
112
|
+
sanitizer_dispositions: z.ZodArray<z.ZodEnum<{
|
|
113
|
+
manual: "manual";
|
|
114
|
+
safe: "safe";
|
|
115
|
+
blocked: "blocked";
|
|
116
|
+
noop: "noop";
|
|
117
|
+
}>>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
export declare const StructuralBoundaryPathSchema: z.ZodObject<{
|
|
120
|
+
root_path: z.ZodString;
|
|
121
|
+
candidate_path: z.ZodString;
|
|
122
|
+
normalized_path: z.ZodString;
|
|
123
|
+
real_path: z.ZodString;
|
|
124
|
+
is_within_root: z.ZodBoolean;
|
|
125
|
+
violation: z.ZodDefault<z.ZodEnum<{
|
|
126
|
+
none: "none";
|
|
127
|
+
path_traversal: "path_traversal";
|
|
128
|
+
symlink_escape: "symlink_escape";
|
|
129
|
+
absolute_escape: "absolute_escape";
|
|
130
|
+
out_of_root: "out_of_root";
|
|
131
|
+
}>>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
export declare const StructuralCommandInvocationSchema: z.ZodObject<{
|
|
134
|
+
command: z.ZodEnum<{
|
|
135
|
+
check: "check";
|
|
136
|
+
diagnose: "diagnose";
|
|
137
|
+
sanitize: "sanitize";
|
|
138
|
+
audit: "audit";
|
|
139
|
+
}>;
|
|
140
|
+
mode: z.ZodEnum<{
|
|
141
|
+
apply: "apply";
|
|
142
|
+
dry_run: "dry_run";
|
|
143
|
+
read: "read";
|
|
144
|
+
}>;
|
|
145
|
+
args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
export declare const StructuralFindingSchema: z.ZodObject<{
|
|
148
|
+
finding_id: z.ZodString;
|
|
149
|
+
rule_id: z.ZodString;
|
|
150
|
+
category: z.ZodEnum<{
|
|
151
|
+
metadata: "metadata";
|
|
152
|
+
lifecycle: "lifecycle";
|
|
153
|
+
render: "render";
|
|
154
|
+
references: "references";
|
|
155
|
+
integrity: "integrity";
|
|
156
|
+
boundary: "boundary";
|
|
157
|
+
naming: "naming";
|
|
158
|
+
}>;
|
|
159
|
+
severity: z.ZodEnum<{
|
|
160
|
+
error: "error";
|
|
161
|
+
warning: "warning";
|
|
162
|
+
info: "info";
|
|
163
|
+
blocker: "blocker";
|
|
164
|
+
}>;
|
|
165
|
+
summary: z.ZodString;
|
|
166
|
+
evidence: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
167
|
+
location: z.ZodOptional<z.ZodString>;
|
|
168
|
+
sanitizer: z.ZodObject<{
|
|
169
|
+
disposition: z.ZodEnum<{
|
|
170
|
+
manual: "manual";
|
|
171
|
+
safe: "safe";
|
|
172
|
+
blocked: "blocked";
|
|
173
|
+
noop: "noop";
|
|
174
|
+
}>;
|
|
175
|
+
reason: z.ZodString;
|
|
176
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
export declare const StructuralDiagnosticReportSchema: z.ZodObject<{
|
|
180
|
+
report_version: z.ZodLiteral<1>;
|
|
181
|
+
generated_at: z.ZodString;
|
|
182
|
+
root_path: z.ZodString;
|
|
183
|
+
strict: z.ZodDefault<z.ZodBoolean>;
|
|
184
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
185
|
+
finding_id: z.ZodString;
|
|
186
|
+
rule_id: z.ZodString;
|
|
187
|
+
category: z.ZodEnum<{
|
|
188
|
+
metadata: "metadata";
|
|
189
|
+
lifecycle: "lifecycle";
|
|
190
|
+
render: "render";
|
|
191
|
+
references: "references";
|
|
192
|
+
integrity: "integrity";
|
|
193
|
+
boundary: "boundary";
|
|
194
|
+
naming: "naming";
|
|
195
|
+
}>;
|
|
196
|
+
severity: z.ZodEnum<{
|
|
197
|
+
error: "error";
|
|
198
|
+
warning: "warning";
|
|
199
|
+
info: "info";
|
|
200
|
+
blocker: "blocker";
|
|
201
|
+
}>;
|
|
202
|
+
summary: z.ZodString;
|
|
203
|
+
evidence: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
204
|
+
location: z.ZodOptional<z.ZodString>;
|
|
205
|
+
sanitizer: z.ZodObject<{
|
|
206
|
+
disposition: z.ZodEnum<{
|
|
207
|
+
manual: "manual";
|
|
208
|
+
safe: "safe";
|
|
209
|
+
blocked: "blocked";
|
|
210
|
+
noop: "noop";
|
|
211
|
+
}>;
|
|
212
|
+
reason: z.ZodString;
|
|
213
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
}, z.core.$strip>>;
|
|
216
|
+
summary: z.ZodObject<{
|
|
217
|
+
total: z.ZodNumber;
|
|
218
|
+
by_severity: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
219
|
+
error: "error";
|
|
220
|
+
warning: "warning";
|
|
221
|
+
info: "info";
|
|
222
|
+
blocker: "blocker";
|
|
223
|
+
}> & z.core.$partial, z.ZodNumber>>;
|
|
224
|
+
by_category: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
225
|
+
metadata: "metadata";
|
|
226
|
+
lifecycle: "lifecycle";
|
|
227
|
+
render: "render";
|
|
228
|
+
references: "references";
|
|
229
|
+
integrity: "integrity";
|
|
230
|
+
boundary: "boundary";
|
|
231
|
+
naming: "naming";
|
|
232
|
+
}> & z.core.$partial, z.ZodNumber>>;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
export declare const StructuralSanitizerActionSchema: z.ZodObject<{
|
|
236
|
+
action_id: z.ZodString;
|
|
237
|
+
finding_id: z.ZodString;
|
|
238
|
+
disposition: z.ZodEnum<{
|
|
239
|
+
manual: "manual";
|
|
240
|
+
safe: "safe";
|
|
241
|
+
blocked: "blocked";
|
|
242
|
+
noop: "noop";
|
|
243
|
+
}>;
|
|
244
|
+
operation: z.ZodEnum<{
|
|
245
|
+
mkdir: "mkdir";
|
|
246
|
+
render: "render";
|
|
247
|
+
move: "move";
|
|
248
|
+
register: "register";
|
|
249
|
+
manual_review: "manual_review";
|
|
250
|
+
skip: "skip";
|
|
251
|
+
}>;
|
|
252
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
253
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
254
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export declare const StructuralSanitizerRollbackOperationSchema: z.ZodObject<{
|
|
257
|
+
operation: z.ZodEnum<{
|
|
258
|
+
noop: "noop";
|
|
259
|
+
move: "move";
|
|
260
|
+
delete_path: "delete_path";
|
|
261
|
+
restore_backup: "restore_backup";
|
|
262
|
+
}>;
|
|
263
|
+
path: z.ZodOptional<z.ZodString>;
|
|
264
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
265
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
266
|
+
backup_path: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
export declare const StructuralSanitizerTransactionOperationSchema: z.ZodObject<{
|
|
269
|
+
transaction_action_id: z.ZodString;
|
|
270
|
+
action_id: z.ZodString;
|
|
271
|
+
finding_id: z.ZodString;
|
|
272
|
+
disposition: z.ZodEnum<{
|
|
273
|
+
manual: "manual";
|
|
274
|
+
safe: "safe";
|
|
275
|
+
blocked: "blocked";
|
|
276
|
+
noop: "noop";
|
|
277
|
+
}>;
|
|
278
|
+
operation: z.ZodEnum<{
|
|
279
|
+
mkdir: "mkdir";
|
|
280
|
+
render: "render";
|
|
281
|
+
move: "move";
|
|
282
|
+
register: "register";
|
|
283
|
+
manual_review: "manual_review";
|
|
284
|
+
skip: "skip";
|
|
285
|
+
}>;
|
|
286
|
+
status: z.ZodEnum<{
|
|
287
|
+
skipped: "skipped";
|
|
288
|
+
failed: "failed";
|
|
289
|
+
applied: "applied";
|
|
290
|
+
rolled_back: "rolled_back";
|
|
291
|
+
}>;
|
|
292
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
293
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
294
|
+
before_hash: z.ZodOptional<z.ZodString>;
|
|
295
|
+
after_hash: z.ZodOptional<z.ZodString>;
|
|
296
|
+
error: z.ZodOptional<z.ZodString>;
|
|
297
|
+
rollback: z.ZodObject<{
|
|
298
|
+
operation: z.ZodEnum<{
|
|
299
|
+
noop: "noop";
|
|
300
|
+
move: "move";
|
|
301
|
+
delete_path: "delete_path";
|
|
302
|
+
restore_backup: "restore_backup";
|
|
303
|
+
}>;
|
|
304
|
+
path: z.ZodOptional<z.ZodString>;
|
|
305
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
306
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
307
|
+
backup_path: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
export declare const StructuralSanitizerTransactionSummarySchema: z.ZodObject<{
|
|
311
|
+
applied: z.ZodNumber;
|
|
312
|
+
skipped: z.ZodNumber;
|
|
313
|
+
failed: z.ZodNumber;
|
|
314
|
+
rolled_back: z.ZodNumber;
|
|
315
|
+
}, z.core.$strip>;
|
|
316
|
+
export declare const StructuralSanitizerTransactionManifestSchema: z.ZodObject<{
|
|
317
|
+
report_version: z.ZodLiteral<1>;
|
|
318
|
+
transaction_id: z.ZodString;
|
|
319
|
+
generated_at: z.ZodString;
|
|
320
|
+
source_report_id: z.ZodString;
|
|
321
|
+
root_path: z.ZodString;
|
|
322
|
+
mode: z.ZodLiteral<"apply">;
|
|
323
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
324
|
+
transaction_action_id: z.ZodString;
|
|
325
|
+
action_id: z.ZodString;
|
|
326
|
+
finding_id: z.ZodString;
|
|
327
|
+
disposition: z.ZodEnum<{
|
|
328
|
+
manual: "manual";
|
|
329
|
+
safe: "safe";
|
|
330
|
+
blocked: "blocked";
|
|
331
|
+
noop: "noop";
|
|
332
|
+
}>;
|
|
333
|
+
operation: z.ZodEnum<{
|
|
334
|
+
mkdir: "mkdir";
|
|
335
|
+
render: "render";
|
|
336
|
+
move: "move";
|
|
337
|
+
register: "register";
|
|
338
|
+
manual_review: "manual_review";
|
|
339
|
+
skip: "skip";
|
|
340
|
+
}>;
|
|
341
|
+
status: z.ZodEnum<{
|
|
342
|
+
skipped: "skipped";
|
|
343
|
+
failed: "failed";
|
|
344
|
+
applied: "applied";
|
|
345
|
+
rolled_back: "rolled_back";
|
|
346
|
+
}>;
|
|
347
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
348
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
349
|
+
before_hash: z.ZodOptional<z.ZodString>;
|
|
350
|
+
after_hash: z.ZodOptional<z.ZodString>;
|
|
351
|
+
error: z.ZodOptional<z.ZodString>;
|
|
352
|
+
rollback: z.ZodObject<{
|
|
353
|
+
operation: z.ZodEnum<{
|
|
354
|
+
noop: "noop";
|
|
355
|
+
move: "move";
|
|
356
|
+
delete_path: "delete_path";
|
|
357
|
+
restore_backup: "restore_backup";
|
|
358
|
+
}>;
|
|
359
|
+
path: z.ZodOptional<z.ZodString>;
|
|
360
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
361
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
362
|
+
backup_path: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
summary: z.ZodObject<{
|
|
366
|
+
applied: z.ZodNumber;
|
|
367
|
+
skipped: z.ZodNumber;
|
|
368
|
+
failed: z.ZodNumber;
|
|
369
|
+
rolled_back: z.ZodNumber;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
audit_log_path: z.ZodString;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
export declare const StructuralSanitizerReportSchema: z.ZodObject<{
|
|
374
|
+
report_version: z.ZodLiteral<1>;
|
|
375
|
+
generated_at: z.ZodString;
|
|
376
|
+
source_report_id: z.ZodString;
|
|
377
|
+
mode: z.ZodEnum<{
|
|
378
|
+
apply: "apply";
|
|
379
|
+
dry_run: "dry_run";
|
|
380
|
+
}>;
|
|
381
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
382
|
+
action_id: z.ZodString;
|
|
383
|
+
finding_id: z.ZodString;
|
|
384
|
+
disposition: z.ZodEnum<{
|
|
385
|
+
manual: "manual";
|
|
386
|
+
safe: "safe";
|
|
387
|
+
blocked: "blocked";
|
|
388
|
+
noop: "noop";
|
|
389
|
+
}>;
|
|
390
|
+
operation: z.ZodEnum<{
|
|
391
|
+
mkdir: "mkdir";
|
|
392
|
+
render: "render";
|
|
393
|
+
move: "move";
|
|
394
|
+
register: "register";
|
|
395
|
+
manual_review: "manual_review";
|
|
396
|
+
skip: "skip";
|
|
397
|
+
}>;
|
|
398
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
399
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
400
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
401
|
+
}, z.core.$strip>>;
|
|
402
|
+
blocked_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
403
|
+
action_id: z.ZodString;
|
|
404
|
+
finding_id: z.ZodString;
|
|
405
|
+
disposition: z.ZodEnum<{
|
|
406
|
+
manual: "manual";
|
|
407
|
+
safe: "safe";
|
|
408
|
+
blocked: "blocked";
|
|
409
|
+
noop: "noop";
|
|
410
|
+
}>;
|
|
411
|
+
operation: z.ZodEnum<{
|
|
412
|
+
mkdir: "mkdir";
|
|
413
|
+
render: "render";
|
|
414
|
+
move: "move";
|
|
415
|
+
register: "register";
|
|
416
|
+
manual_review: "manual_review";
|
|
417
|
+
skip: "skip";
|
|
418
|
+
}>;
|
|
419
|
+
from_path: z.ZodOptional<z.ZodString>;
|
|
420
|
+
to_path: z.ZodOptional<z.ZodString>;
|
|
421
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>>>;
|
|
423
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
424
|
+
manifest_path: z.ZodOptional<z.ZodString>;
|
|
425
|
+
audit_log_path: z.ZodOptional<z.ZodString>;
|
|
426
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
427
|
+
applied: z.ZodNumber;
|
|
428
|
+
skipped: z.ZodNumber;
|
|
429
|
+
failed: z.ZodNumber;
|
|
430
|
+
rolled_back: z.ZodNumber;
|
|
431
|
+
}, z.core.$strip>>;
|
|
432
|
+
}, z.core.$strip>;
|
|
433
|
+
export declare const StructuralLifecycleEntrySchema: z.ZodObject<{
|
|
434
|
+
entity_id: z.ZodString;
|
|
435
|
+
expected_root: z.ZodEnum<{
|
|
436
|
+
active: "active";
|
|
437
|
+
planned: "planned";
|
|
438
|
+
archived: "archived";
|
|
439
|
+
}>;
|
|
440
|
+
actual_root: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
active: "active";
|
|
442
|
+
planned: "planned";
|
|
443
|
+
archived: "archived";
|
|
444
|
+
}>>;
|
|
445
|
+
state_token: z.ZodEnum<{
|
|
446
|
+
done: "done";
|
|
447
|
+
planned: "planned";
|
|
448
|
+
in_progress: "in_progress";
|
|
449
|
+
archived: "archived";
|
|
450
|
+
blocked: "blocked";
|
|
451
|
+
ready: "ready";
|
|
452
|
+
}>;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
export declare const StructuralDirectoryStateMappingSchema: z.ZodObject<{
|
|
455
|
+
version: z.ZodLiteral<1>;
|
|
456
|
+
lifecycle_roots: z.ZodRecord<z.ZodEnum<{
|
|
457
|
+
active: "active";
|
|
458
|
+
planned: "planned";
|
|
459
|
+
archived: "archived";
|
|
460
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
461
|
+
done: "done";
|
|
462
|
+
planned: "planned";
|
|
463
|
+
in_progress: "in_progress";
|
|
464
|
+
archived: "archived";
|
|
465
|
+
blocked: "blocked";
|
|
466
|
+
ready: "ready";
|
|
467
|
+
}>>>;
|
|
468
|
+
state_to_root: z.ZodRecord<z.ZodEnum<{
|
|
469
|
+
done: "done";
|
|
470
|
+
planned: "planned";
|
|
471
|
+
in_progress: "in_progress";
|
|
472
|
+
archived: "archived";
|
|
473
|
+
blocked: "blocked";
|
|
474
|
+
ready: "ready";
|
|
475
|
+
}>, z.ZodEnum<{
|
|
476
|
+
active: "active";
|
|
477
|
+
planned: "planned";
|
|
478
|
+
archived: "archived";
|
|
479
|
+
}>>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
export declare const StructuralNavigationNodeSchema: z.ZodObject<{
|
|
482
|
+
node_id: z.ZodString;
|
|
483
|
+
kind: z.ZodEnum<{
|
|
484
|
+
epic: "epic";
|
|
485
|
+
frontend_gap: "frontend_gap";
|
|
486
|
+
tech_debt: "tech_debt";
|
|
487
|
+
feature: "feature";
|
|
488
|
+
other: "other";
|
|
489
|
+
insight: "insight";
|
|
490
|
+
debate: "debate";
|
|
491
|
+
}>;
|
|
492
|
+
ref: z.ZodString;
|
|
493
|
+
status: z.ZodOptional<z.ZodString>;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
export declare const StructuralNavigationEdgeSchema: z.ZodObject<{
|
|
496
|
+
from: z.ZodString;
|
|
497
|
+
to: z.ZodString;
|
|
498
|
+
kind: z.ZodEnum<{
|
|
499
|
+
produces: "produces";
|
|
500
|
+
consumes: "consumes";
|
|
501
|
+
depends_on: "depends_on";
|
|
502
|
+
origin: "origin";
|
|
503
|
+
related: "related";
|
|
504
|
+
}>;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
export declare const StructuralNavigationGraphSchema: z.ZodObject<{
|
|
507
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
508
|
+
node_id: z.ZodString;
|
|
509
|
+
kind: z.ZodEnum<{
|
|
510
|
+
epic: "epic";
|
|
511
|
+
frontend_gap: "frontend_gap";
|
|
512
|
+
tech_debt: "tech_debt";
|
|
513
|
+
feature: "feature";
|
|
514
|
+
other: "other";
|
|
515
|
+
insight: "insight";
|
|
516
|
+
debate: "debate";
|
|
517
|
+
}>;
|
|
518
|
+
ref: z.ZodString;
|
|
519
|
+
status: z.ZodOptional<z.ZodString>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
522
|
+
from: z.ZodString;
|
|
523
|
+
to: z.ZodString;
|
|
524
|
+
kind: z.ZodEnum<{
|
|
525
|
+
produces: "produces";
|
|
526
|
+
consumes: "consumes";
|
|
527
|
+
depends_on: "depends_on";
|
|
528
|
+
origin: "origin";
|
|
529
|
+
related: "related";
|
|
530
|
+
}>;
|
|
531
|
+
}, z.core.$strip>>;
|
|
532
|
+
}, z.core.$strip>;
|
|
533
|
+
export declare const StructuralFixtureRootSchema: z.ZodObject<{
|
|
534
|
+
fixture_id: z.ZodString;
|
|
535
|
+
lifecycle_directories: z.ZodArray<z.ZodEnum<{
|
|
536
|
+
active: "active";
|
|
537
|
+
planned: "planned";
|
|
538
|
+
archived: "archived";
|
|
539
|
+
}>>;
|
|
540
|
+
generated_directories: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
541
|
+
core: "core";
|
|
542
|
+
planning: "planning";
|
|
543
|
+
}>>>;
|
|
544
|
+
state_files: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
545
|
+
translated_directories: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
546
|
+
}, z.core.$strip>;
|
|
547
|
+
export type StructuralDiagnosticReport = z.infer<typeof StructuralDiagnosticReportSchema>;
|
|
548
|
+
export type StructuralSanitizerReport = z.infer<typeof StructuralSanitizerReportSchema>;
|
|
549
|
+
export type StructuralSanitizerTransactionManifest = z.infer<typeof StructuralSanitizerTransactionManifestSchema>;
|
|
550
|
+
export type StructuralSanitizerTransactionOperation = z.infer<typeof StructuralSanitizerTransactionOperationSchema>;
|
|
551
|
+
export type StructuralCommandInvocation = z.infer<typeof StructuralCommandInvocationSchema>;
|
|
552
|
+
export type StructuralLifecycleEntry = z.infer<typeof StructuralLifecycleEntrySchema>;
|
|
553
|
+
export type StructuralDirectoryStateMapping = z.infer<typeof StructuralDirectoryStateMappingSchema>;
|
|
554
|
+
export type StructuralNavigationGraph = z.infer<typeof StructuralNavigationGraphSchema>;
|
|
555
|
+
export type StructuralBoundaryPath = z.infer<typeof StructuralBoundaryPathSchema>;
|
|
556
|
+
export type StructuralFixtureRoot = z.infer<typeof StructuralFixtureRootSchema>;
|
|
557
|
+
//# sourceMappingURL=structural-health.d.ts.map
|