@planu/cli 6.1.0 → 7.1.0
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/dist/index.d.ts +1 -2
- package/dist/index.js +1 -112
- package/dist/sdd-engine/contracts.d.ts +76 -0
- package/dist/sdd-engine/contracts.js +60 -0
- package/dist/sdd-engine/index.d.ts +5 -0
- package/dist/sdd-engine/index.js +5 -0
- package/dist/sdd-engine/patch-sandbox.d.ts +14 -0
- package/dist/sdd-engine/patch-sandbox.js +173 -0
- package/dist/sdd-engine/server.d.ts +5 -0
- package/dist/sdd-engine/server.js +30 -0
- package/dist/sdd-engine/task-window.d.ts +9 -0
- package/dist/sdd-engine/task-window.js +153 -0
- package/dist/sdd-engine/tools/execution-tools.d.ts +5 -0
- package/dist/sdd-engine/tools/execution-tools.js +138 -0
- package/dist/sdd-engine/tools/format-result.d.ts +4 -0
- package/dist/sdd-engine/tools/format-result.js +22 -0
- package/dist/sdd-engine/tools/workspace-tools.d.ts +3 -0
- package/dist/sdd-engine/tools/workspace-tools.js +193 -0
- package/dist/sdd-engine/tools.d.ts +3 -0
- package/dist/sdd-engine/tools.js +13 -0
- package/dist/types/sdd-engine.d.ts +91 -0
- package/dist/types/sdd-engine.js +2 -0
- package/package.json +2 -2
- package/dist/.planu-build.json +0 -1
- package/dist/cli/colors.d.ts +0 -14
- package/dist/cli/colors.js +0 -26
- package/dist/cli/commands/doctor.d.ts +0 -12
- package/dist/cli/commands/doctor.js +0 -91
- package/dist/cli/commands/init.d.ts +0 -3
- package/dist/cli/commands/init.js +0 -37
- package/dist/cli/commands/job.d.ts +0 -3
- package/dist/cli/commands/job.js +0 -112
- package/dist/cli/commands/list.d.ts +0 -3
- package/dist/cli/commands/list.js +0 -39
- package/dist/cli/commands/package-handoff.d.ts +0 -3
- package/dist/cli/commands/package-handoff.js +0 -75
- package/dist/cli/commands/spec.d.ts +0 -3
- package/dist/cli/commands/spec.js +0 -156
- package/dist/cli/commands/status.d.ts +0 -3
- package/dist/cli/commands/status.js +0 -113
- package/dist/cli/commands/validate.d.ts +0 -3
- package/dist/cli/commands/validate.js +0 -39
- package/dist/cli/formatter.d.ts +0 -26
- package/dist/cli/formatter.js +0 -126
- package/dist/cli/index.d.ts +0 -3
- package/dist/cli/index.js +0 -29
- package/dist/cli/project-detector.d.ts +0 -6
- package/dist/cli/project-detector.js +0 -12
- package/dist/cli/router.d.ts +0 -6
- package/dist/cli/router.js +0 -142
- package/dist/config/architecture-patterns.json +0 -324
- package/dist/config/detection-signals.json +0 -256
- package/dist/config/docs-registry.json +0 -94
- package/dist/config/dor-dod-items.json +0 -194
- package/dist/config/drift-severity.json +0 -22
- package/dist/config/event-brokers.json +0 -63
- package/dist/config/framework-registry/csharp-aspnet.json +0 -67
- package/dist/config/framework-registry/dart-flutter.json +0 -61
- package/dist/config/framework-registry/go-gin.json +0 -62
- package/dist/config/framework-registry/index.json +0 -164
- package/dist/config/framework-registry/java-springboot.json +0 -67
- package/dist/config/framework-registry/php-laravel.json +0 -67
- package/dist/config/framework-registry/python-django.json +0 -72
- package/dist/config/framework-registry/python-fastapi.json +0 -72
- package/dist/config/framework-registry/ruby-rails.json +0 -67
- package/dist/config/framework-registry/rust-actix.json +0 -61
- package/dist/config/framework-registry/swift-swiftui.json +0 -67
- package/dist/config/framework-registry/typescript-angular.json +0 -67
- package/dist/config/framework-registry/typescript-astro.json +0 -61
- package/dist/config/framework-registry/typescript-express.json +0 -67
- package/dist/config/framework-registry/typescript-nestjs.json +0 -62
- package/dist/config/framework-registry/typescript-nextjs.json +0 -82
- package/dist/config/framework-registry/typescript-nuxt.json +0 -67
- package/dist/config/framework-registry/typescript-react.json +0 -77
- package/dist/config/framework-registry/typescript-remix.json +0 -61
- package/dist/config/framework-registry/typescript-sveltekit.json +0 -67
- package/dist/config/framework-registry/typescript-vue.json +0 -72
- package/dist/config/hook-templates/planu-force-ask-user-question.sh +0 -14
- package/dist/config/hook-templates/planu-spec-sanctity.sh +0 -128
- package/dist/config/legacy-artifacts.json +0 -26
- package/dist/config/minimal-implementation-gate.json +0 -149
- package/dist/config/negative-predicate-phrases.json +0 -33
- package/dist/config/official-sdd-tools.d.ts +0 -7
- package/dist/config/official-sdd-tools.js +0 -44
- package/dist/config/out-of-scope-suggestions.json +0 -190
- package/dist/config/paradigm-registry.json +0 -380
- package/dist/config/project-knowledge-graph.json +0 -170
- package/dist/config/readiness-config.json +0 -22
- package/dist/config/registries/error-recovery.json +0 -114
- package/dist/config/registries/legacy-guidance.json +0 -118
- package/dist/config/registries/spec-folder-sanctity.json +0 -4
- package/dist/config/runtime-policy.json +0 -66
- package/dist/config/server-instructions.d.ts +0 -2
- package/dist/config/server-instructions.js +0 -18
- package/dist/config/skill-templates/planu-dogfood-bug.md +0 -43
- package/dist/config/skill-templates/planu-implement.md +0 -42
- package/dist/config/skill-templates/planu-native.md +0 -30
- package/dist/config/skill-templates/planu-new-spec.md +0 -56
- package/dist/config/skill-templates/planu-resume-work.md +0 -51
- package/dist/config/skill-templates/planu-review.md +0 -47
- package/dist/config/skill-templates/planu-validate.md +0 -59
- package/dist/config/stack-signatures.json +0 -793
- package/dist/config/subagent-templates/planu-challenger.md +0 -49
- package/dist/config/subagent-templates/planu-readiness-auditor.md +0 -51
- package/dist/config/subagent-templates/planu-spec-implementer.md +0 -50
- package/dist/config/subagent-templates/planu-validator.md +0 -56
- package/dist/config/technology-registry.json +0 -120
- package/dist/config/version.d.ts +0 -2
- package/dist/config/version.js +0 -20
- package/dist/core/shared/fs.d.ts +0 -10
- package/dist/core/shared/fs.js +0 -89
- package/dist/core/shared/object.d.ts +0 -3
- package/dist/core/shared/object.js +0 -12
- package/dist/core/shared/strings.d.ts +0 -3
- package/dist/core/shared/strings.js +0 -13
- package/dist/core/spec-validator.d.ts +0 -12
- package/dist/core/spec-validator.js +0 -250
- package/dist/engine/abortable-process-runner.d.ts +0 -26
- package/dist/engine/abortable-process-runner.js +0 -308
- package/dist/engine/ai-assurance/index.d.ts +0 -4
- package/dist/engine/ai-assurance/index.js +0 -3
- package/dist/engine/ai-assurance/new-code-gate.d.ts +0 -3
- package/dist/engine/ai-assurance/new-code-gate.js +0 -39
- package/dist/engine/ai-assurance/spec-assurance.d.ts +0 -3
- package/dist/engine/ai-assurance/spec-assurance.js +0 -138
- package/dist/engine/ai-integration/codex/agent-roles-generator.d.ts +0 -12
- package/dist/engine/ai-integration/codex/agent-roles-generator.js +0 -62
- package/dist/engine/ambiguity-scorer.d.ts +0 -13
- package/dist/engine/ambiguity-scorer.js +0 -155
- package/dist/engine/approval-workflow.d.ts +0 -21
- package/dist/engine/approval-workflow.js +0 -82
- package/dist/engine/audit-trail/hasher.d.ts +0 -18
- package/dist/engine/audit-trail/hasher.js +0 -46
- package/dist/engine/auditor-scoring.d.ts +0 -7
- package/dist/engine/auditor-scoring.js +0 -76
- package/dist/engine/build-freshness.d.ts +0 -4
- package/dist/engine/build-freshness.js +0 -170
- package/dist/engine/challenge-prioritizer.d.ts +0 -17
- package/dist/engine/challenge-prioritizer.js +0 -78
- package/dist/engine/clarification-gate/error-builder.d.ts +0 -12
- package/dist/engine/clarification-gate/error-builder.js +0 -33
- package/dist/engine/clarification-gate/gate.d.ts +0 -15
- package/dist/engine/clarification-gate/gate.js +0 -41
- package/dist/engine/clarification-gate/token-store.d.ts +0 -28
- package/dist/engine/clarification-gate/token-store.js +0 -67
- package/dist/engine/coach/i18n.d.ts +0 -11
- package/dist/engine/coach/i18n.js +0 -78
- package/dist/engine/code-scanner/gap-scorer.d.ts +0 -9
- package/dist/engine/code-scanner/gap-scorer.js +0 -89
- package/dist/engine/code-scanner/index.d.ts +0 -9
- package/dist/engine/code-scanner/index.js +0 -15
- package/dist/engine/code-scanner/keyword-extractor.d.ts +0 -11
- package/dist/engine/code-scanner/keyword-extractor.js +0 -88
- package/dist/engine/code-scanner/layer-scanner.d.ts +0 -24
- package/dist/engine/code-scanner/layer-scanner.js +0 -135
- package/dist/engine/compact/tool-list-compactor.d.ts +0 -7
- package/dist/engine/compact/tool-list-compactor.js +0 -87
- package/dist/engine/compact-obj.d.ts +0 -7
- package/dist/engine/compact-obj.js +0 -28
- package/dist/engine/complexity-budget/index.d.ts +0 -2
- package/dist/engine/complexity-budget/index.js +0 -3
- package/dist/engine/complexity-budget/trivial-detector.d.ts +0 -7
- package/dist/engine/complexity-budget/trivial-detector.js +0 -69
- package/dist/engine/config-loader.d.ts +0 -73
- package/dist/engine/config-loader.js +0 -239
- package/dist/engine/constitution/sdd-rules-registry.d.ts +0 -11
- package/dist/engine/constitution/sdd-rules-registry.js +0 -109
- package/dist/engine/context-merger.d.ts +0 -23
- package/dist/engine/context-merger.js +0 -197
- package/dist/engine/contradiction-detector.d.ts +0 -16
- package/dist/engine/contradiction-detector.js +0 -406
- package/dist/engine/convention-scanner/codebase-scanner.d.ts +0 -7
- package/dist/engine/convention-scanner/codebase-scanner.js +0 -390
- package/dist/engine/convention-scanner/convention-parser.d.ts +0 -7
- package/dist/engine/convention-scanner/convention-parser.js +0 -189
- package/dist/engine/convention-scanner/index.d.ts +0 -3
- package/dist/engine/convention-scanner/index.js +0 -5
- package/dist/engine/conventions-ttl.d.ts +0 -8
- package/dist/engine/conventions-ttl.js +0 -75
- package/dist/engine/core-bridge-duplicate-blocks.d.ts +0 -3
- package/dist/engine/core-bridge-duplicate-blocks.js +0 -56
- package/dist/engine/core-bridge-gaps.d.ts +0 -4
- package/dist/engine/core-bridge-gaps.js +0 -75
- package/dist/engine/core-bridge-project-graph.d.ts +0 -9
- package/dist/engine/core-bridge-project-graph.js +0 -499
- package/dist/engine/core-bridge.d.ts +0 -34
- package/dist/engine/core-bridge.js +0 -392
- package/dist/engine/criteria-quality-checker.d.ts +0 -8
- package/dist/engine/criteria-quality-checker.js +0 -55
- package/dist/engine/criterion-identity.d.ts +0 -7
- package/dist/engine/criterion-identity.js +0 -70
- package/dist/engine/data-projects-gc/pattern-matcher.d.ts +0 -21
- package/dist/engine/data-projects-gc/pattern-matcher.js +0 -68
- package/dist/engine/dep-guard/cycle-detector.d.ts +0 -29
- package/dist/engine/dep-guard/cycle-detector.js +0 -83
- package/dist/engine/dep-guard/index.d.ts +0 -3
- package/dist/engine/dep-guard/index.js +0 -3
- package/dist/engine/dependency-evaluator.d.ts +0 -15
- package/dist/engine/dependency-evaluator.js +0 -81
- package/dist/engine/detection-utils.d.ts +0 -13
- package/dist/engine/detection-utils.js +0 -255
- package/dist/engine/dor-dod/dod.d.ts +0 -17
- package/dist/engine/dor-dod/dod.js +0 -98
- package/dist/engine/dor-dod/dor.d.ts +0 -21
- package/dist/engine/dor-dod/dor.js +0 -149
- package/dist/engine/dor-dod/index.d.ts +0 -4
- package/dist/engine/dor-dod/index.js +0 -5
- package/dist/engine/dor-dod/items-loader.d.ts +0 -18
- package/dist/engine/dor-dod/items-loader.js +0 -55
- package/dist/engine/dor-dod/plan.d.ts +0 -8
- package/dist/engine/dor-dod/plan.js +0 -50
- package/dist/engine/dor-dod.d.ts +0 -2
- package/dist/engine/dor-dod.js +0 -4
- package/dist/engine/ears-gate.d.ts +0 -19
- package/dist/engine/ears-gate.js +0 -120
- package/dist/engine/elicitation/answer-extractor.d.ts +0 -4
- package/dist/engine/elicitation/answer-extractor.js +0 -225
- package/dist/engine/elicitation/capability.d.ts +0 -9
- package/dist/engine/elicitation/capability.js +0 -48
- package/dist/engine/elicitation/decision-gap-detector.d.ts +0 -3
- package/dist/engine/elicitation/decision-gap-detector.js +0 -142
- package/dist/engine/elicitation/elicit-helper.d.ts +0 -36
- package/dist/engine/elicitation/elicit-helper.js +0 -113
- package/dist/engine/elicitation/question-grounding-gate.d.ts +0 -3
- package/dist/engine/elicitation/question-grounding-gate.js +0 -103
- package/dist/engine/errors/error-result.d.ts +0 -4
- package/dist/engine/errors/error-result.js +0 -16
- package/dist/engine/errors/error-wrapper.d.ts +0 -4
- package/dist/engine/errors/error-wrapper.js +0 -82
- package/dist/engine/errors/recovery-registry.d.ts +0 -13
- package/dist/engine/errors/recovery-registry.js +0 -96
- package/dist/engine/errors/registry-loader.d.ts +0 -3
- package/dist/engine/errors/registry-loader.js +0 -22
- package/dist/engine/event-detector.d.ts +0 -33
- package/dist/engine/event-detector.js +0 -97
- package/dist/engine/evidence-gates/artifact-reader.d.ts +0 -133
- package/dist/engine/evidence-gates/artifact-reader.js +0 -387
- package/dist/engine/evidence-gates/evidence-autofill.d.ts +0 -15
- package/dist/engine/evidence-gates/evidence-autofill.js +0 -255
- package/dist/engine/evidence-gates/evidence-skeletons.d.ts +0 -19
- package/dist/engine/evidence-gates/evidence-skeletons.js +0 -78
- package/dist/engine/evidence-gates/lifecycle-gate.d.ts +0 -12
- package/dist/engine/evidence-gates/lifecycle-gate.js +0 -293
- package/dist/engine/evidence-gates/reconciliation-freshness.d.ts +0 -11
- package/dist/engine/evidence-gates/reconciliation-freshness.js +0 -73
- package/dist/engine/evidence-index/done-drift.d.ts +0 -7
- package/dist/engine/evidence-index/done-drift.js +0 -91
- package/dist/engine/evidence-index/index-builder.d.ts +0 -10
- package/dist/engine/evidence-index/index-builder.js +0 -202
- package/dist/engine/execution/context.d.ts +0 -19
- package/dist/engine/execution/context.js +0 -130
- package/dist/engine/execution/deadline-io.d.ts +0 -20
- package/dist/engine/execution/deadline-io.js +0 -30
- package/dist/engine/execution/durable-job-heartbeat-runtime.d.ts +0 -4
- package/dist/engine/execution/durable-job-heartbeat-runtime.js +0 -401
- package/dist/engine/execution/job-runtime.d.ts +0 -101
- package/dist/engine/execution/job-runtime.js +0 -319
- package/dist/engine/execution/operation-journal.d.ts +0 -67
- package/dist/engine/execution/operation-journal.js +0 -266
- package/dist/engine/execution/package-handoff-job-executor.d.ts +0 -22
- package/dist/engine/execution/package-handoff-job-executor.js +0 -510
- package/dist/engine/execution/public-job-sanitizer.d.ts +0 -4
- package/dist/engine/execution/public-job-sanitizer.js +0 -31
- package/dist/engine/execution/startup-recovery.d.ts +0 -3
- package/dist/engine/execution/startup-recovery.js +0 -15
- package/dist/engine/execution/validate-job-executor.d.ts +0 -37
- package/dist/engine/execution/validate-job-executor.js +0 -900
- package/dist/engine/execution/validate-job-payload.d.ts +0 -5
- package/dist/engine/execution/validate-job-payload.js +0 -145
- package/dist/engine/execution/validate-job-recovery.d.ts +0 -4
- package/dist/engine/execution/validate-job-recovery.js +0 -47
- package/dist/engine/execution/validate-worker-runtime.d.ts +0 -10
- package/dist/engine/execution/validate-worker-runtime.js +0 -188
- package/dist/engine/execution/validate-worker-thread.d.ts +0 -2
- package/dist/engine/execution/validate-worker-thread.js +0 -65
- package/dist/engine/framework-detector.d.ts +0 -35
- package/dist/engine/framework-detector.js +0 -268
- package/dist/engine/freeze/freeze-checker.d.ts +0 -14
- package/dist/engine/freeze/freeze-checker.js +0 -28
- package/dist/engine/freeze/unlock-token.d.ts +0 -17
- package/dist/engine/freeze/unlock-token.js +0 -30
- package/dist/engine/frontmatter-parser.d.ts +0 -32
- package/dist/engine/frontmatter-parser.js +0 -157
- package/dist/engine/frontmatter-sha/canonicalize.d.ts +0 -9
- package/dist/engine/frontmatter-sha/canonicalize.js +0 -20
- package/dist/engine/frontmatter-sha/compute-sha.d.ts +0 -8
- package/dist/engine/frontmatter-sha/compute-sha.js +0 -14
- package/dist/engine/frontmatter-sha/frozen-fields.d.ts +0 -6
- package/dist/engine/frontmatter-sha/frozen-fields.js +0 -14
- package/dist/engine/frontmatter-sha/index.d.ts +0 -2
- package/dist/engine/frontmatter-sha/index.js +0 -3
- package/dist/engine/git/branch-detector.d.ts +0 -7
- package/dist/engine/git/branch-detector.js +0 -45
- package/dist/engine/git/exec-git.d.ts +0 -2
- package/dist/engine/git/exec-git.js +0 -14
- package/dist/engine/git/git-command-guard.d.ts +0 -2
- package/dist/engine/git/git-command-guard.js +0 -43
- package/dist/engine/git/repository-probe.d.ts +0 -3
- package/dist/engine/git/repository-probe.js +0 -13
- package/dist/engine/handoff-artifacts/implementation-review-reader.d.ts +0 -4
- package/dist/engine/handoff-artifacts/implementation-review-reader.js +0 -86
- package/dist/engine/handoff-artifacts/io.d.ts +0 -51
- package/dist/engine/handoff-artifacts/io.js +0 -200
- package/dist/engine/handoff-artifacts/schema-skeleton.d.ts +0 -5
- package/dist/engine/handoff-artifacts/schema-skeleton.js +0 -108
- package/dist/engine/handoff-artifacts/schemas.d.ts +0 -164
- package/dist/engine/handoff-artifacts/schemas.js +0 -242
- package/dist/engine/handoff-artifacts/validation-result.d.ts +0 -18
- package/dist/engine/handoff-artifacts/validation-result.js +0 -3
- package/dist/engine/handoff-artifacts/version-policy.d.ts +0 -18
- package/dist/engine/handoff-artifacts/version-policy.js +0 -35
- package/dist/engine/handoff-format.d.ts +0 -26
- package/dist/engine/handoff-format.js +0 -253
- package/dist/engine/handoff-packager.d.ts +0 -30
- package/dist/engine/handoff-packager.js +0 -864
- package/dist/engine/host-detection/detect-host.d.ts +0 -10
- package/dist/engine/host-detection/detect-host.js +0 -34
- package/dist/engine/host-rules-templates/index.d.ts +0 -3
- package/dist/engine/host-rules-templates/index.js +0 -4
- package/dist/engine/host-rules-templates/inject-rules-block.d.ts +0 -3
- package/dist/engine/host-rules-templates/inject-rules-block.js +0 -29
- package/dist/engine/host-rules-templates/templates.d.ts +0 -12
- package/dist/engine/host-rules-templates/templates.js +0 -111
- package/dist/engine/host-tool-filter.d.ts +0 -28
- package/dist/engine/host-tool-filter.js +0 -162
- package/dist/engine/human-summary.d.ts +0 -18
- package/dist/engine/human-summary.js +0 -114
- package/dist/engine/implementation-contract/common.d.ts +0 -22
- package/dist/engine/implementation-contract/common.js +0 -47
- package/dist/engine/implementation-contract/evaluator.d.ts +0 -3
- package/dist/engine/implementation-contract/evaluator.js +0 -192
- package/dist/engine/implementation-contract/index.d.ts +0 -4
- package/dist/engine/implementation-contract/index.js +0 -4
- package/dist/engine/implementation-contract/renderer.d.ts +0 -4
- package/dist/engine/implementation-contract/renderer.js +0 -114
- package/dist/engine/keyword-matcher/boundary.d.ts +0 -18
- package/dist/engine/keyword-matcher/boundary.js +0 -30
- package/dist/engine/keyword-matcher/extractor.d.ts +0 -14
- package/dist/engine/keyword-matcher/extractor.js +0 -85
- package/dist/engine/keyword-matcher/index.d.ts +0 -5
- package/dist/engine/keyword-matcher/index.js +0 -11
- package/dist/engine/keyword-matcher/matcher.d.ts +0 -28
- package/dist/engine/keyword-matcher/matcher.js +0 -79
- package/dist/engine/keyword-matcher/stopwords.d.ts +0 -26
- package/dist/engine/keyword-matcher/stopwords.js +0 -100
- package/dist/engine/lifecycle-hints.d.ts +0 -12
- package/dist/engine/lifecycle-hints.js +0 -61
- package/dist/engine/lifecycle-reconciliation-io.d.ts +0 -11
- package/dist/engine/lifecycle-reconciliation-io.js +0 -181
- package/dist/engine/lifecycle-reconciliation.d.ts +0 -16
- package/dist/engine/lifecycle-reconciliation.js +0 -460
- package/dist/engine/living-spec-analyzer.d.ts +0 -10
- package/dist/engine/living-spec-analyzer.js +0 -397
- package/dist/engine/minimality/analyzer.d.ts +0 -3
- package/dist/engine/minimality/analyzer.js +0 -182
- package/dist/engine/minimality/formatter.d.ts +0 -3
- package/dist/engine/minimality/formatter.js +0 -25
- package/dist/engine/minimality/index.d.ts +0 -3
- package/dist/engine/minimality/index.js +0 -3
- package/dist/engine/minimality/policy-loader.d.ts +0 -3
- package/dist/engine/minimality/policy-loader.js +0 -364
- package/dist/engine/model-tier-resolver.d.ts +0 -4
- package/dist/engine/model-tier-resolver.js +0 -15
- package/dist/engine/network-policy.d.ts +0 -4
- package/dist/engine/network-policy.js +0 -96
- package/dist/engine/onboarding/new-project-resolver.d.ts +0 -6
- package/dist/engine/onboarding/new-project-resolver.js +0 -265
- package/dist/engine/opencode/config-scaffold.d.ts +0 -3
- package/dist/engine/opencode/config-scaffold.js +0 -99
- package/dist/engine/paradigm-detector.d.ts +0 -12
- package/dist/engine/paradigm-detector.js +0 -236
- package/dist/engine/paradigm-registry.d.ts +0 -20
- package/dist/engine/paradigm-registry.js +0 -44
- package/dist/engine/phase-tracker.d.ts +0 -41
- package/dist/engine/phase-tracker.js +0 -89
- package/dist/engine/planu-config-writer.d.ts +0 -33
- package/dist/engine/planu-config-writer.js +0 -68
- package/dist/engine/project-command-runtime.d.ts +0 -5
- package/dist/engine/project-command-runtime.js +0 -87
- package/dist/engine/project-graph/builder.d.ts +0 -7
- package/dist/engine/project-graph/builder.js +0 -320
- package/dist/engine/project-graph/cache.d.ts +0 -47
- package/dist/engine/project-graph/cache.js +0 -739
- package/dist/engine/project-graph/extractors/decision-store-extractor.d.ts +0 -3
- package/dist/engine/project-graph/extractors/decision-store-extractor.js +0 -58
- package/dist/engine/project-graph/extractors/git-extractor.d.ts +0 -7
- package/dist/engine/project-graph/extractors/git-extractor.js +0 -89
- package/dist/engine/project-graph/extractors/handoff-extractor.d.ts +0 -3
- package/dist/engine/project-graph/extractors/handoff-extractor.js +0 -55
- package/dist/engine/project-graph/extractors/spec-extractor.d.ts +0 -3
- package/dist/engine/project-graph/extractors/spec-extractor.js +0 -189
- package/dist/engine/project-graph/extractors/validation-extractor.d.ts +0 -3
- package/dist/engine/project-graph/extractors/validation-extractor.js +0 -36
- package/dist/engine/project-graph/freshness-projection.d.ts +0 -16
- package/dist/engine/project-graph/freshness-projection.js +0 -98
- package/dist/engine/project-graph/index.d.ts +0 -2
- package/dist/engine/project-graph/index.js +0 -2
- package/dist/engine/project-graph/native.d.ts +0 -3
- package/dist/engine/project-graph/native.js +0 -36
- package/dist/engine/project-graph/query.d.ts +0 -8
- package/dist/engine/project-graph/query.js +0 -193
- package/dist/engine/project-graph/redaction.d.ts +0 -4
- package/dist/engine/project-graph/redaction.js +0 -11
- package/dist/engine/project-scanner/convention-detector.d.ts +0 -3
- package/dist/engine/project-scanner/convention-detector.js +0 -149
- package/dist/engine/project-scanner/index.d.ts +0 -4
- package/dist/engine/project-scanner/index.js +0 -18
- package/dist/engine/project-scanner/quality-baseline.d.ts +0 -3
- package/dist/engine/project-scanner/quality-baseline.js +0 -72
- package/dist/engine/project-scanner/stack-detector.d.ts +0 -3
- package/dist/engine/project-scanner/stack-detector.js +0 -128
- package/dist/engine/readiness-checker.d.ts +0 -56
- package/dist/engine/readiness-checker.js +0 -566
- package/dist/engine/readiness-config-loader.d.ts +0 -23
- package/dist/engine/readiness-config-loader.js +0 -63
- package/dist/engine/reconcile/apply-changes.d.ts +0 -4
- package/dist/engine/reconcile/apply-changes.js +0 -117
- package/dist/engine/reconcile/propagate-mirrors.d.ts +0 -3
- package/dist/engine/reconcile/propagate-mirrors.js +0 -376
- package/dist/engine/reconcile/verify-write.d.ts +0 -10
- package/dist/engine/reconcile/verify-write.js +0 -49
- package/dist/engine/registry-extender.d.ts +0 -25
- package/dist/engine/registry-extender.js +0 -60
- package/dist/engine/reviewer-tokens/issuer.d.ts +0 -29
- package/dist/engine/reviewer-tokens/issuer.js +0 -88
- package/dist/engine/reviewer-tokens/signer.d.ts +0 -17
- package/dist/engine/reviewer-tokens/signer.js +0 -51
- package/dist/engine/reviewer-tokens/types.d.ts +0 -2
- package/dist/engine/reviewer-tokens/types.js +0 -2
- package/dist/engine/runtime-policy.d.ts +0 -9
- package/dist/engine/runtime-policy.js +0 -163
- package/dist/engine/safety/atomic-write-file.d.ts +0 -47
- package/dist/engine/safety/atomic-write-file.js +0 -232
- package/dist/engine/safety/atomic-writer.d.ts +0 -22
- package/dist/engine/safety/atomic-writer.js +0 -97
- package/dist/engine/safety/contained-project-file.d.ts +0 -3
- package/dist/engine/safety/contained-project-file.js +0 -23
- package/dist/engine/safety/cross-process-lock.d.ts +0 -13
- package/dist/engine/safety/cross-process-lock.js +0 -318
- package/dist/engine/safety/file-mutex.d.ts +0 -6
- package/dist/engine/safety/file-mutex.js +0 -182
- package/dist/engine/safety/lock-lease-store.d.ts +0 -84
- package/dist/engine/safety/lock-lease-store.js +0 -383
- package/dist/engine/safety/lock-scavenger.d.ts +0 -8
- package/dist/engine/safety/lock-scavenger.js +0 -198
- package/dist/engine/safety/lock-staleness.d.ts +0 -33
- package/dist/engine/safety/lock-staleness.js +0 -76
- package/dist/engine/safety/obsolete-lock-guard.d.ts +0 -8
- package/dist/engine/safety/obsolete-lock-guard.js +0 -31
- package/dist/engine/scope-boundaries/contradiction-checker.d.ts +0 -7
- package/dist/engine/scope-boundaries/contradiction-checker.js +0 -276
- package/dist/engine/scope-boundaries/index.d.ts +0 -4
- package/dist/engine/scope-boundaries/index.js +0 -5
- package/dist/engine/scope-boundaries/scope-validator.d.ts +0 -7
- package/dist/engine/scope-boundaries/scope-validator.js +0 -114
- package/dist/engine/scope-boundaries/suggester.d.ts +0 -8
- package/dist/engine/scope-boundaries/suggester.js +0 -27
- package/dist/engine/score-to-grade.d.ts +0 -2
- package/dist/engine/score-to-grade.js +0 -16
- package/dist/engine/sdd-model-routing.d.ts +0 -15
- package/dist/engine/sdd-model-routing.js +0 -200
- package/dist/engine/spec-dependency-graph.d.ts +0 -33
- package/dist/engine/spec-dependency-graph.js +0 -243
- package/dist/engine/spec-difficulty.d.ts +0 -3
- package/dist/engine/spec-difficulty.js +0 -17
- package/dist/engine/spec-folder-sanctity.d.ts +0 -5
- package/dist/engine/spec-folder-sanctity.js +0 -32
- package/dist/engine/spec-format/acceptance-criteria.d.ts +0 -10
- package/dist/engine/spec-format/acceptance-criteria.js +0 -157
- package/dist/engine/spec-format/bdd-parser.d.ts +0 -19
- package/dist/engine/spec-format/bdd-parser.js +0 -224
- package/dist/engine/spec-format/copula-blacklist.d.ts +0 -15
- package/dist/engine/spec-format/copula-blacklist.js +0 -31
- package/dist/engine/spec-format/criteria-drift.d.ts +0 -3
- package/dist/engine/spec-format/criteria-drift.js +0 -36
- package/dist/engine/spec-format/executable-test-path.d.ts +0 -2
- package/dist/engine/spec-format/executable-test-path.js +0 -5
- package/dist/engine/spec-format/lean-spec-generator.d.ts +0 -8
- package/dist/engine/spec-format/lean-spec-generator.js +0 -236
- package/dist/engine/spec-format/lean-technical-generator.d.ts +0 -5
- package/dist/engine/spec-format/lean-technical-generator.js +0 -45
- package/dist/engine/spec-format/markdown-sections.d.ts +0 -14
- package/dist/engine/spec-format/markdown-sections.js +0 -105
- package/dist/engine/spec-format/metadata-value-policy.d.ts +0 -156
- package/dist/engine/spec-format/metadata-value-policy.js +0 -86
- package/dist/engine/spec-format/read-technical-section.d.ts +0 -25
- package/dist/engine/spec-format/read-technical-section.js +0 -99
- package/dist/engine/spec-format/replace-section.d.ts +0 -17
- package/dist/engine/spec-format/replace-section.js +0 -79
- package/dist/engine/spec-format/retired-scaffold.d.ts +0 -3
- package/dist/engine/spec-format/retired-scaffold.js +0 -5
- package/dist/engine/spec-format/spec-id.d.ts +0 -8
- package/dist/engine/spec-format/spec-id.js +0 -25
- package/dist/engine/spec-format/technical-md-populator.d.ts +0 -17
- package/dist/engine/spec-format/technical-md-populator.js +0 -321
- package/dist/engine/spec-format/text-fences.d.ts +0 -6
- package/dist/engine/spec-format/text-fences.js +0 -28
- package/dist/engine/spec-format/unified-spec-builder.d.ts +0 -25
- package/dist/engine/spec-format/unified-spec-builder.js +0 -400
- package/dist/engine/spec-generator/fallback-generator.d.ts +0 -5
- package/dist/engine/spec-generator/fallback-generator.js +0 -41
- package/dist/engine/spec-generator/index.d.ts +0 -2
- package/dist/engine/spec-generator/index.js +0 -2
- package/dist/engine/spec-grounding/contract.d.ts +0 -24
- package/dist/engine/spec-grounding/contract.js +0 -278
- package/dist/engine/spec-grounding/grounding-entry-parser.d.ts +0 -4
- package/dist/engine/spec-grounding/grounding-entry-parser.js +0 -184
- package/dist/engine/spec-health-scorer.d.ts +0 -7
- package/dist/engine/spec-health-scorer.js +0 -134
- package/dist/engine/spec-language/english-only.d.ts +0 -30
- package/dist/engine/spec-language/english-only.js +0 -224
- package/dist/engine/spec-migrator/criteria-scanner.d.ts +0 -7
- package/dist/engine/spec-migrator/criteria-scanner.js +0 -113
- package/dist/engine/spec-migrator/drift-detector.d.ts +0 -10
- package/dist/engine/spec-migrator/drift-detector.js +0 -142
- package/dist/engine/spec-migrator/filesystem-import.d.ts +0 -10
- package/dist/engine/spec-migrator/filesystem-import.js +0 -205
- package/dist/engine/spec-migrator/flatten-specs.d.ts +0 -12
- package/dist/engine/spec-migrator/flatten-specs.js +0 -111
- package/dist/engine/spec-migrator/folder-operations.d.ts +0 -7
- package/dist/engine/spec-migrator/folder-operations.js +0 -109
- package/dist/engine/spec-migrator/frontmatter-parser.d.ts +0 -11
- package/dist/engine/spec-migrator/frontmatter-parser.js +0 -111
- package/dist/engine/spec-migrator/git-aware-fs.d.ts +0 -9
- package/dist/engine/spec-migrator/git-aware-fs.js +0 -20
- package/dist/engine/spec-migrator/index.d.ts +0 -10
- package/dist/engine/spec-migrator/index.js +0 -23
- package/dist/engine/spec-migrator/lean-migration.d.ts +0 -8
- package/dist/engine/spec-migrator/lean-migration.js +0 -405
- package/dist/engine/spec-migrator/legacy-classifier.d.ts +0 -4
- package/dist/engine/spec-migrator/legacy-classifier.js +0 -70
- package/dist/engine/spec-migrator/legacy-migration.d.ts +0 -13
- package/dist/engine/spec-migrator/legacy-migration.js +0 -88
- package/dist/engine/spec-migrator/path-utils.d.ts +0 -13
- package/dist/engine/spec-migrator/path-utils.js +0 -40
- package/dist/engine/spec-migrator/planu-canonical-policy.d.ts +0 -18
- package/dist/engine/spec-migrator/planu-canonical-policy.js +0 -105
- package/dist/engine/spec-migrator/prefix-migration.d.ts +0 -11
- package/dist/engine/spec-migrator/prefix-migration.js +0 -85
- package/dist/engine/spec-migrator/reconcile-paths.d.ts +0 -12
- package/dist/engine/spec-migrator/reconcile-paths.js +0 -77
- package/dist/engine/spec-migrator/strict-planu-cleanup.d.ts +0 -7
- package/dist/engine/spec-migrator/strict-planu-cleanup.js +0 -308
- package/dist/engine/spec-migrator/version-detection.d.ts +0 -5
- package/dist/engine/spec-migrator/version-detection.js +0 -19
- package/dist/engine/spec-migrator.d.ts +0 -2
- package/dist/engine/spec-migrator.js +0 -3
- package/dist/engine/spec-quality/generic-output-gate.d.ts +0 -9
- package/dist/engine/spec-quality/generic-output-gate.js +0 -350
- package/dist/engine/spec-quality-scorer.d.ts +0 -4
- package/dist/engine/spec-quality-scorer.js +0 -423
- package/dist/engine/spec-reader.d.ts +0 -7
- package/dist/engine/spec-reader.js +0 -23
- package/dist/engine/spec-state-machine/transition-spec.d.ts +0 -56
- package/dist/engine/spec-state-machine/transition-spec.js +0 -59
- package/dist/engine/spec-versioner.d.ts +0 -28
- package/dist/engine/spec-versioner.js +0 -92
- package/dist/engine/spec-versioning/bump-version.d.ts +0 -17
- package/dist/engine/spec-versioning/bump-version.js +0 -199
- package/dist/engine/spec-versioning/migrate-format.d.ts +0 -23
- package/dist/engine/spec-versioning/migrate-format.js +0 -96
- package/dist/engine/spec-versioning/render-history.d.ts +0 -14
- package/dist/engine/spec-versioning/render-history.js +0 -31
- package/dist/engine/technology-registry.d.ts +0 -11
- package/dist/engine/technology-registry.js +0 -142
- package/dist/engine/test-selection/policy.d.ts +0 -9
- package/dist/engine/test-selection/policy.js +0 -192
- package/dist/engine/text-signal-boundaries.d.ts +0 -8
- package/dist/engine/text-signal-boundaries.js +0 -122
- package/dist/engine/time/relative-date.d.ts +0 -3
- package/dist/engine/time/relative-date.js +0 -16
- package/dist/engine/timing/budget.d.ts +0 -29
- package/dist/engine/timing/budget.js +0 -129
- package/dist/engine/universal-rules/catalog.d.ts +0 -7
- package/dist/engine/universal-rules/catalog.js +0 -25
- package/dist/engine/universal-rules/host-writer.d.ts +0 -7
- package/dist/engine/universal-rules/host-writer.js +0 -113
- package/dist/engine/universal-rules/installer.d.ts +0 -5
- package/dist/engine/universal-rules/installer.js +0 -236
- package/dist/engine/universal-rules/rules/planu-approval-gates.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-approval-gates.js +0 -48
- package/dist/engine/universal-rules/rules/planu-bdd-criteria.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-bdd-criteria.js +0 -44
- package/dist/engine/universal-rules/rules/planu-dogfood-bugs.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-dogfood-bugs.js +0 -70
- package/dist/engine/universal-rules/rules/planu-english-specs.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-english-specs.js +0 -41
- package/dist/engine/universal-rules/rules/planu-minimal-change.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-minimal-change.js +0 -42
- package/dist/engine/universal-rules/rules/planu-modes.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-modes.js +0 -57
- package/dist/engine/universal-rules/rules/planu-sdd-model-routing.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-sdd-model-routing.js +0 -50
- package/dist/engine/universal-rules/rules/planu-workflow.d.ts +0 -3
- package/dist/engine/universal-rules/rules/planu-workflow.js +0 -92
- package/dist/engine/universal-rules/user-edit-detector.d.ts +0 -21
- package/dist/engine/universal-rules/user-edit-detector.js +0 -46
- package/dist/engine/validation/durable-validation.d.ts +0 -44
- package/dist/engine/validation/durable-validation.js +0 -344
- package/dist/engine/validation/validation-freshness.d.ts +0 -73
- package/dist/engine/validation/validation-freshness.js +0 -777
- package/dist/engine/validation/validation-receipt-codec.d.ts +0 -13
- package/dist/engine/validation/validation-receipt-codec.js +0 -184
- package/dist/engine/validation/validation-receipt.d.ts +0 -67
- package/dist/engine/validation/validation-receipt.js +0 -342
- package/dist/engine/validation/validation-source-digest.d.ts +0 -2
- package/dist/engine/validation/validation-source-digest.js +0 -86
- package/dist/engine/validation/validation-source-policy.d.ts +0 -4
- package/dist/engine/validation/validation-source-policy.js +0 -17
- package/dist/engine/validation/validation-submission.d.ts +0 -35
- package/dist/engine/validation/validation-submission.js +0 -142
- package/dist/engine/validation/validation-worktree.d.ts +0 -21
- package/dist/engine/validation/validation-worktree.js +0 -294
- package/dist/engine/validation-evidence-digest.d.ts +0 -4
- package/dist/engine/validation-evidence-digest.js +0 -83
- package/dist/engine/validation-evidence-ledger.d.ts +0 -30
- package/dist/engine/validation-evidence-ledger.js +0 -328
- package/dist/engine/validation-impact-planner.d.ts +0 -14
- package/dist/engine/validation-impact-planner.js +0 -74
- package/dist/engine/validation-loop.d.ts +0 -12
- package/dist/engine/validation-loop.js +0 -216
- package/dist/engine/validator/analyzer.d.ts +0 -23
- package/dist/engine/validator/analyzer.js +0 -495
- package/dist/engine/validator/blast-radius-gate.d.ts +0 -3
- package/dist/engine/validator/blast-radius-gate.js +0 -305
- package/dist/engine/validator/checklist.d.ts +0 -6
- package/dist/engine/validator/checklist.js +0 -147
- package/dist/engine/validator/deep-code-checker.d.ts +0 -49
- package/dist/engine/validator/deep-code-checker.js +0 -410
- package/dist/engine/validator/dor-dod.d.ts +0 -11
- package/dist/engine/validator/dor-dod.js +0 -338
- package/dist/engine/validator/executable-evidence.d.ts +0 -18
- package/dist/engine/validator/executable-evidence.js +0 -104
- package/dist/engine/validator/extractors.d.ts +0 -16
- package/dist/engine/validator/extractors.js +0 -105
- package/dist/engine/validator/gates/code-gates.d.ts +0 -14
- package/dist/engine/validator/gates/code-gates.js +0 -87
- package/dist/engine/validator/gates/convention-gates.d.ts +0 -13
- package/dist/engine/validator/gates/convention-gates.js +0 -84
- package/dist/engine/validator/gates/index.d.ts +0 -8
- package/dist/engine/validator/gates/index.js +0 -63
- package/dist/engine/validator/gates/test-gates.d.ts +0 -12
- package/dist/engine/validator/gates/test-gates.js +0 -105
- package/dist/engine/validator/holistic-report.d.ts +0 -11
- package/dist/engine/validator/holistic-report.js +0 -34
- package/dist/engine/validator/negative-predicate.d.ts +0 -17
- package/dist/engine/validator/negative-predicate.js +0 -240
- package/dist/engine/validator/package-json-evidence.d.ts +0 -3
- package/dist/engine/validator/package-json-evidence.js +0 -97
- package/dist/engine/validator/reliability-gate.d.ts +0 -4
- package/dist/engine/validator/reliability-gate.js +0 -81
- package/dist/engine/validator/scope-resolver.d.ts +0 -30
- package/dist/engine/validator/scope-resolver.js +0 -67
- package/dist/engine/validator/spec-compliance-runner.d.ts +0 -9
- package/dist/engine/validator/spec-compliance-runner.js +0 -849
- package/dist/engine/validator/test-evidence-grounding.d.ts +0 -64
- package/dist/engine/validator/test-evidence-grounding.js +0 -221
- package/dist/engine/validator/validation-report-writer.d.ts +0 -27
- package/dist/engine/validator/validation-report-writer.js +0 -208
- package/dist/engine/validator.d.ts +0 -19
- package/dist/engine/validator.js +0 -244
- package/dist/engine/verifier/bdd-entity-extractor.d.ts +0 -23
- package/dist/engine/verifier/bdd-entity-extractor.js +0 -227
- package/dist/engine/verifier/compliance-scorer.d.ts +0 -17
- package/dist/engine/verifier/compliance-scorer.js +0 -131
- package/dist/engine/verifier/criterion-matcher.d.ts +0 -22
- package/dist/engine/verifier/criterion-matcher.js +0 -309
- package/dist/engine/web-fetcher/registry-loader.d.ts +0 -7
- package/dist/engine/web-fetcher/registry-loader.js +0 -44
- package/dist/engine/whats-new.d.ts +0 -2
- package/dist/engine/whats-new.js +0 -42
- package/dist/errors/classified-degradation.d.ts +0 -3
- package/dist/errors/classified-degradation.js +0 -10
- package/dist/errors/degradation-sink.d.ts +0 -3
- package/dist/errors/degradation-sink.js +0 -5
- package/dist/errors/error-taxonomy.d.ts +0 -11
- package/dist/errors/error-taxonomy.js +0 -59
- package/dist/hosts/claude-code/coach.d.ts +0 -6
- package/dist/hosts/claude-code/coach.js +0 -10
- package/dist/hosts/claude-code/ux/subagent-publisher.d.ts +0 -20
- package/dist/hosts/claude-code/ux/subagent-publisher.js +0 -117
- package/dist/hosts/codex/config-scaffold.d.ts +0 -10
- package/dist/hosts/codex/config-scaffold.js +0 -102
- package/dist/hosts/codex/workspace-scope.d.ts +0 -43
- package/dist/hosts/codex/workspace-scope.js +0 -89
- package/dist/hosts/gemini/config-scaffold.d.ts +0 -14
- package/dist/hosts/gemini/config-scaffold.js +0 -165
- package/dist/i18n/index.d.ts +0 -61
- package/dist/i18n/index.js +0 -288
- package/dist/prompts/index.d.ts +0 -6
- package/dist/prompts/index.js +0 -121
- package/dist/resources/process.d.ts +0 -11
- package/dist/resources/process.js +0 -80
- package/dist/resources/registry.d.ts +0 -6
- package/dist/resources/registry.js +0 -16
- package/dist/resources/specs.d.ts +0 -11
- package/dist/resources/specs.js +0 -58
- package/dist/security/adapters/environment.d.ts +0 -12
- package/dist/security/adapters/environment.js +0 -25
- package/dist/security/adapters/local-file.d.ts +0 -12
- package/dist/security/adapters/local-file.js +0 -56
- package/dist/security/adapters/macos-keychain.d.ts +0 -20
- package/dist/security/adapters/macos-keychain.js +0 -151
- package/dist/security/redactor.d.ts +0 -5
- package/dist/security/redactor.js +0 -58
- package/dist/security/secret-provider.d.ts +0 -22
- package/dist/security/secret-provider.js +0 -107
- package/dist/storage/approval-operation-lock.d.ts +0 -7
- package/dist/storage/approval-operation-lock.js +0 -47
- package/dist/storage/approval-store.d.ts +0 -14
- package/dist/storage/approval-store.js +0 -117
- package/dist/storage/audit-trail-store.d.ts +0 -20
- package/dist/storage/audit-trail-store.js +0 -83
- package/dist/storage/base-store.d.ts +0 -69
- package/dist/storage/base-store.js +0 -195
- package/dist/storage/compliance-gate-config-store.d.ts +0 -4
- package/dist/storage/compliance-gate-config-store.js +0 -20
- package/dist/storage/convention-baseline.d.ts +0 -20
- package/dist/storage/convention-baseline.js +0 -62
- package/dist/storage/current-project.d.ts +0 -3
- package/dist/storage/current-project.js +0 -21
- package/dist/storage/file-mutex.d.ts +0 -14
- package/dist/storage/file-mutex.js +0 -47
- package/dist/storage/global-projects-store.d.ts +0 -53
- package/dist/storage/global-projects-store.js +0 -181
- package/dist/storage/global-store.d.ts +0 -82
- package/dist/storage/global-store.js +0 -246
- package/dist/storage/index.d.ts +0 -15
- package/dist/storage/index.js +0 -16
- package/dist/storage/knowledge-store/knowledge.d.ts +0 -25
- package/dist/storage/knowledge-store/knowledge.js +0 -112
- package/dist/storage/knowledge-store/sessions.d.ts +0 -16
- package/dist/storage/knowledge-store/sessions.js +0 -155
- package/dist/storage/knowledge-store.d.ts +0 -3
- package/dist/storage/knowledge-store.js +0 -8
- package/dist/storage/migrations/canonical-storage.d.ts +0 -15
- package/dist/storage/migrations/canonical-storage.js +0 -754
- package/dist/storage/migrations/sdd-core-v6.d.ts +0 -11
- package/dist/storage/migrations/sdd-core-v6.js +0 -873
- package/dist/storage/pattern-store.d.ts +0 -38
- package/dist/storage/pattern-store.js +0 -136
- package/dist/storage/project-identity.d.ts +0 -60
- package/dist/storage/project-identity.js +0 -454
- package/dist/storage/project-resolver.d.ts +0 -17
- package/dist/storage/project-resolver.js +0 -134
- package/dist/storage/retention.d.ts +0 -13
- package/dist/storage/retention.js +0 -383
- package/dist/storage/runtime-db.d.ts +0 -207
- package/dist/storage/runtime-db.js +0 -1313
- package/dist/storage/schema-registry.d.ts +0 -5
- package/dist/storage/schema-registry.js +0 -74
- package/dist/storage/spec-index.d.ts +0 -23
- package/dist/storage/spec-index.js +0 -117
- package/dist/storage/spec-lock-store.d.ts +0 -22
- package/dist/storage/spec-lock-store.js +0 -99
- package/dist/storage/spec-store.d.ts +0 -170
- package/dist/storage/spec-store.js +0 -968
- package/dist/storage/storage-bundle.d.ts +0 -16
- package/dist/storage/storage-bundle.js +0 -117
- package/dist/storage/storage-catalog-validation.d.ts +0 -3
- package/dist/storage/storage-catalog-validation.js +0 -20
- package/dist/storage/storage-catalog.d.ts +0 -25
- package/dist/storage/storage-catalog.js +0 -421
- package/dist/storage/storage-layout.d.ts +0 -40
- package/dist/storage/storage-layout.js +0 -117
- package/dist/storage/technology-selection-store.d.ts +0 -5
- package/dist/storage/technology-selection-store.js +0 -46
- package/dist/storage/transition-log.d.ts +0 -11
- package/dist/storage/transition-log.js +0 -234
- package/dist/tools/bump-spec-version.d.ts +0 -31
- package/dist/tools/bump-spec-version.js +0 -132
- package/dist/tools/challenge-spec/agent-challenge-scenarios.d.ts +0 -12
- package/dist/tools/challenge-spec/agent-challenge-scenarios.js +0 -129
- package/dist/tools/challenge-spec/architecture-challenge-scenarios.d.ts +0 -12
- package/dist/tools/challenge-spec/architecture-challenge-scenarios.js +0 -113
- package/dist/tools/challenge-spec/challenge-report.d.ts +0 -26
- package/dist/tools/challenge-spec/challenge-report.js +0 -221
- package/dist/tools/challenge-spec/event-challenge-scenarios.d.ts +0 -14
- package/dist/tools/challenge-spec/event-challenge-scenarios.js +0 -68
- package/dist/tools/challenge-spec/implementation-contract-challenge-scenarios.d.ts +0 -3
- package/dist/tools/challenge-spec/implementation-contract-challenge-scenarios.js +0 -51
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b.d.ts +0 -7
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b.js +0 -48
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b1.d.ts +0 -4
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b1.js +0 -109
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b2.d.ts +0 -5
- package/dist/tools/challenge-spec/platform-challenge-scenarios-b2.js +0 -191
- package/dist/tools/challenge-spec/platform-challenge-scenarios.d.ts +0 -7
- package/dist/tools/challenge-spec/platform-challenge-scenarios.js +0 -224
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.d.ts +0 -28
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.js +0 -183
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-b.d.ts +0 -14
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-b.js +0 -144
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.d.ts +0 -8
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.js +0 -37
- package/dist/tools/challenge-spec/scenario-collector.d.ts +0 -13
- package/dist/tools/challenge-spec/scenario-collector.js +0 -84
- package/dist/tools/challenge-spec/scenarios-data.d.ts +0 -3
- package/dist/tools/challenge-spec/scenarios-data.js +0 -73
- package/dist/tools/challenge-spec/scenarios-desktop.d.ts +0 -7
- package/dist/tools/challenge-spec/scenarios-desktop.js +0 -91
- package/dist/tools/challenge-spec/scenarios-failure.d.ts +0 -3
- package/dist/tools/challenge-spec/scenarios-failure.js +0 -136
- package/dist/tools/challenge-spec/scenarios-game.d.ts +0 -6
- package/dist/tools/challenge-spec/scenarios-game.js +0 -71
- package/dist/tools/challenge-spec/scenarios-scale.d.ts +0 -3
- package/dist/tools/challenge-spec/scenarios-scale.js +0 -37
- package/dist/tools/challenge-spec/scenarios-security.d.ts +0 -3
- package/dist/tools/challenge-spec/scenarios-security.js +0 -85
- package/dist/tools/challenge-spec/scenarios-utils.d.ts +0 -42
- package/dist/tools/challenge-spec/scenarios-utils.js +0 -250
- package/dist/tools/challenge-spec-helpers.d.ts +0 -16
- package/dist/tools/challenge-spec-helpers.js +0 -152
- package/dist/tools/challenge-spec-scenarios.d.ts +0 -7
- package/dist/tools/challenge-spec-scenarios.js +0 -9
- package/dist/tools/challenge-spec.d.ts +0 -4
- package/dist/tools/challenge-spec.js +0 -448
- package/dist/tools/check-readiness.d.ts +0 -5
- package/dist/tools/check-readiness.js +0 -343
- package/dist/tools/claude-settings-file.d.ts +0 -3
- package/dist/tools/claude-settings-file.js +0 -19
- package/dist/tools/create-skill.d.ts +0 -4
- package/dist/tools/create-skill.js +0 -151
- package/dist/tools/create-spec/autopilot-analyzer.d.ts +0 -33
- package/dist/tools/create-spec/autopilot-analyzer.js +0 -171
- package/dist/tools/create-spec/constitution-validator.d.ts +0 -4
- package/dist/tools/create-spec/constitution-validator.js +0 -31
- package/dist/tools/create-spec/question-generator.d.ts +0 -4
- package/dist/tools/create-spec/question-generator.js +0 -25
- package/dist/tools/create-spec/relevance-scorer.d.ts +0 -18
- package/dist/tools/create-spec/relevance-scorer.js +0 -156
- package/dist/tools/create-spec/spec-builder.d.ts +0 -20
- package/dist/tools/create-spec/spec-builder.js +0 -274
- package/dist/tools/create-spec-helpers.d.ts +0 -4
- package/dist/tools/create-spec-helpers.js +0 -24
- package/dist/tools/create-spec-tech/constitution.d.ts +0 -7
- package/dist/tools/create-spec-tech/constitution.js +0 -79
- package/dist/tools/create-spec-tech.d.ts +0 -2
- package/dist/tools/create-spec-tech.js +0 -3
- package/dist/tools/create-spec.d.ts +0 -25
- package/dist/tools/create-spec.js +0 -1698
- package/dist/tools/git/git-helpers.d.ts +0 -20
- package/dist/tools/git/git-helpers.js +0 -33
- package/dist/tools/init-project/agents-md-writer.d.ts +0 -18
- package/dist/tools/init-project/agents-md-writer.js +0 -123
- package/dist/tools/init-project/config-builder.d.ts +0 -14
- package/dist/tools/init-project/config-builder.js +0 -19
- package/dist/tools/init-project/conventions-writer.d.ts +0 -11
- package/dist/tools/init-project/conventions-writer.js +0 -61
- package/dist/tools/init-project/handler.d.ts +0 -4
- package/dist/tools/init-project/handler.js +0 -463
- package/dist/tools/init-project/helpers.d.ts +0 -31
- package/dist/tools/init-project/helpers.js +0 -223
- package/dist/tools/init-project/host-assets-writer.d.ts +0 -28
- package/dist/tools/init-project/host-assets-writer.js +0 -240
- package/dist/tools/init-project/legacy-guidance-scanner.d.ts +0 -9
- package/dist/tools/init-project/legacy-guidance-scanner.js +0 -218
- package/dist/tools/init-project/legacy-root-migration.d.ts +0 -16
- package/dist/tools/init-project/legacy-root-migration.js +0 -213
- package/dist/tools/init-project/lifecycle-helpers.d.ts +0 -12
- package/dist/tools/init-project/lifecycle-helpers.js +0 -37
- package/dist/tools/init-project/managed-guidance-refresher.d.ts +0 -9
- package/dist/tools/init-project/managed-guidance-refresher.js +0 -65
- package/dist/tools/init-project/migration-runner.d.ts +0 -43
- package/dist/tools/init-project/migration-runner.js +0 -227
- package/dist/tools/init-project/portable-index-reconciler.d.ts +0 -32
- package/dist/tools/init-project/portable-index-reconciler.js +0 -278
- package/dist/tools/init-project/result-builder.d.ts +0 -4
- package/dist/tools/init-project/result-builder.js +0 -272
- package/dist/tools/init-project/scaffold-verifier.d.ts +0 -6
- package/dist/tools/init-project/scaffold-verifier.js +0 -97
- package/dist/tools/init-project/scaffold-writer.d.ts +0 -49
- package/dist/tools/init-project/scaffold-writer.js +0 -50
- package/dist/tools/init-project.d.ts +0 -2
- package/dist/tools/init-project.js +0 -4
- package/dist/tools/jobs/handlers.d.ts +0 -11
- package/dist/tools/jobs/handlers.js +0 -152
- package/dist/tools/list-specs.d.ts +0 -3
- package/dist/tools/list-specs.js +0 -323
- package/dist/tools/output-formatter.d.ts +0 -34
- package/dist/tools/output-formatter.js +0 -171
- package/dist/tools/output-integrity-guard.d.ts +0 -3
- package/dist/tools/output-integrity-guard.js +0 -53
- package/dist/tools/package-handoff.d.ts +0 -4
- package/dist/tools/package-handoff.js +0 -215
- package/dist/tools/reconcile-spec-sanctity-hook.d.ts +0 -3
- package/dist/tools/reconcile-spec-sanctity-hook.js +0 -55
- package/dist/tools/reconcile-spec.d.ts +0 -4
- package/dist/tools/reconcile-spec.js +0 -572
- package/dist/tools/register-sdd-tools.d.ts +0 -4
- package/dist/tools/register-sdd-tools.js +0 -13
- package/dist/tools/resolve-project-id.d.ts +0 -58
- package/dist/tools/resolve-project-id.js +0 -103
- package/dist/tools/resolve-project-path.d.ts +0 -27
- package/dist/tools/resolve-project-path.js +0 -172
- package/dist/tools/response-helpers.d.ts +0 -70
- package/dist/tools/response-helpers.js +0 -139
- package/dist/tools/safe-handler.d.ts +0 -36
- package/dist/tools/safe-handler.js +0 -283
- package/dist/tools/sanitize-path.d.ts +0 -13
- package/dist/tools/sanitize-path.js +0 -60
- package/dist/tools/schemas/agents.d.ts +0 -21
- package/dist/tools/schemas/agents.js +0 -9
- package/dist/tools/schemas/analysis.d.ts +0 -28
- package/dist/tools/schemas/analysis.js +0 -22
- package/dist/tools/schemas/index.d.ts +0 -8
- package/dist/tools/schemas/index.js +0 -9
- package/dist/tools/schemas/infra.d.ts +0 -19
- package/dist/tools/schemas/infra.js +0 -18
- package/dist/tools/schemas/lifecycle.d.ts +0 -88
- package/dist/tools/schemas/lifecycle.js +0 -85
- package/dist/tools/schemas/output-schemas.d.ts +0 -115
- package/dist/tools/schemas/output-schemas.js +0 -136
- package/dist/tools/schemas/package-handoff-output-schema.d.ts +0 -41
- package/dist/tools/schemas/package-handoff-output-schema.js +0 -70
- package/dist/tools/schemas/spec-id.d.ts +0 -2
- package/dist/tools/schemas/spec-id.js +0 -2
- package/dist/tools/schemas/spec.d.ts +0 -51
- package/dist/tools/schemas/spec.js +0 -41
- package/dist/tools/schemas/validate-output-schema.d.ts +0 -276
- package/dist/tools/schemas/validate-output-schema.js +0 -225
- package/dist/tools/status-handler.d.ts +0 -3
- package/dist/tools/status-handler.js +0 -242
- package/dist/tools/tool-entry.d.ts +0 -52
- package/dist/tools/tool-entry.js +0 -46
- package/dist/tools/tool-registry/core-tools.d.ts +0 -4
- package/dist/tools/tool-registry/core-tools.js +0 -581
- package/dist/tools/tool-registry/inventory.d.ts +0 -2
- package/dist/tools/tool-registry/inventory.js +0 -2
- package/dist/tools/tool-registry-helpers.d.ts +0 -34
- package/dist/tools/tool-registry-helpers.js +0 -45
- package/dist/tools/update-status/approval-gates.d.ts +0 -13
- package/dist/tools/update-status/approval-gates.js +0 -108
- package/dist/tools/update-status/batch.d.ts +0 -7
- package/dist/tools/update-status/batch.js +0 -176
- package/dist/tools/update-status/dod-gates.d.ts +0 -117
- package/dist/tools/update-status/dod-gates.js +0 -847
- package/dist/tools/update-status/done-receipt-verifier.d.ts +0 -38
- package/dist/tools/update-status/done-receipt-verifier.js +0 -208
- package/dist/tools/update-status/evidence-gate.d.ts +0 -16
- package/dist/tools/update-status/evidence-gate.js +0 -361
- package/dist/tools/update-status/evidence-payload.d.ts +0 -180
- package/dist/tools/update-status/evidence-payload.js +0 -79
- package/dist/tools/update-status/file-sync.d.ts +0 -37
- package/dist/tools/update-status/file-sync.js +0 -223
- package/dist/tools/update-status/gate-harness.d.ts +0 -8
- package/dist/tools/update-status/gate-harness.js +0 -8
- package/dist/tools/update-status/index.d.ts +0 -25
- package/dist/tools/update-status/index.js +0 -1487
- package/dist/tools/update-status/response-builder.d.ts +0 -17
- package/dist/tools/update-status/response-builder.js +0 -297
- package/dist/tools/update-status/side-effects.d.ts +0 -16
- package/dist/tools/update-status/side-effects.js +0 -117
- package/dist/tools/update-status/transition-guard.d.ts +0 -85
- package/dist/tools/update-status/transition-guard.js +0 -752
- package/dist/tools/update-status-actions.d.ts +0 -6
- package/dist/tools/update-status-actions.js +0 -19
- package/dist/tools/update-status-convention-gate.d.ts +0 -9
- package/dist/tools/update-status-convention-gate.js +0 -330
- package/dist/tools/update-status.d.ts +0 -2
- package/dist/tools/update-status.js +0 -3
- package/dist/tools/validate-assurance.d.ts +0 -6
- package/dist/tools/validate-assurance.js +0 -55
- package/dist/tools/validate-graph-coverage.d.ts +0 -8
- package/dist/tools/validate-graph-coverage.js +0 -54
- package/dist/tools/validate-helpers.d.ts +0 -10
- package/dist/tools/validate-helpers.js +0 -65
- package/dist/tools/validate-lint.d.ts +0 -9
- package/dist/tools/validate-lint.js +0 -170
- package/dist/tools/validate-minimality.d.ts +0 -16
- package/dist/tools/validate-minimality.js +0 -22
- package/dist/tools/validate-structured-compat.d.ts +0 -19
- package/dist/tools/validate-structured-compat.js +0 -14
- package/dist/tools/validate.d.ts +0 -8
- package/dist/tools/validate.js +0 -1039
- package/dist/transports/transport-factory.d.ts +0 -5
- package/dist/transports/transport-factory.js +0 -182
- package/dist/types/abortable-process.d.ts +0 -29
- package/dist/types/abortable-process.js +0 -2
- package/dist/types/agent-team.d.ts +0 -17
- package/dist/types/agent-team.js +0 -3
- package/dist/types/ai-assurance.d.ts +0 -32
- package/dist/types/ai-assurance.js +0 -2
- package/dist/types/ai-native.d.ts +0 -16
- package/dist/types/ai-native.js +0 -3
- package/dist/types/analysis.d.ts +0 -238
- package/dist/types/analysis.js +0 -3
- package/dist/types/approval.d.ts +0 -66
- package/dist/types/approval.js +0 -6
- package/dist/types/architecture.d.ts +0 -101
- package/dist/types/architecture.js +0 -4
- package/dist/types/audit.d.ts +0 -38
- package/dist/types/audit.js +0 -4
- package/dist/types/build-freshness.d.ts +0 -11
- package/dist/types/build-freshness.js +0 -2
- package/dist/types/clarification-token.d.ts +0 -46
- package/dist/types/clarification-token.js +0 -2
- package/dist/types/clarification.d.ts +0 -23
- package/dist/types/clarification.js +0 -5
- package/dist/types/claude-code-runtime.d.ts +0 -91
- package/dist/types/claude-code-runtime.js +0 -5
- package/dist/types/claude-code-ux.d.ts +0 -62
- package/dist/types/claude-code-ux.js +0 -5
- package/dist/types/cli.d.ts +0 -40
- package/dist/types/cli.js +0 -3
- package/dist/types/codex.d.ts +0 -108
- package/dist/types/codex.js +0 -3
- package/dist/types/common/index.d.ts +0 -4
- package/dist/types/common/index.js +0 -6
- package/dist/types/common/learning.d.ts +0 -43
- package/dist/types/common/learning.js +0 -3
- package/dist/types/common/tech-enums.d.ts +0 -8
- package/dist/types/common/tech-enums.js +0 -2
- package/dist/types/complexity-budget.d.ts +0 -17
- package/dist/types/complexity-budget.js +0 -5
- package/dist/types/compliance-gate.d.ts +0 -5
- package/dist/types/compliance-gate.js +0 -3
- package/dist/types/context.d.ts +0 -52
- package/dist/types/context.js +0 -4
- package/dist/types/conventions.d.ts +0 -135
- package/dist/types/conventions.js +0 -5
- package/dist/types/core-bridge.d.ts +0 -130
- package/dist/types/core-bridge.js +0 -3
- package/dist/types/criterion-identity.d.ts +0 -12
- package/dist/types/criterion-identity.js +0 -2
- package/dist/types/cross-repo-search.d.ts +0 -81
- package/dist/types/cross-repo-search.js +0 -9
- package/dist/types/decisions.d.ts +0 -19
- package/dist/types/decisions.js +0 -4
- package/dist/types/durable-job.d.ts +0 -119
- package/dist/types/durable-job.js +0 -10
- package/dist/types/durable-validation.d.ts +0 -158
- package/dist/types/durable-validation.js +0 -166
- package/dist/types/edge-db.d.ts +0 -21
- package/dist/types/edge-db.js +0 -9
- package/dist/types/elicitation.d.ts +0 -115
- package/dist/types/elicitation.js +0 -13
- package/dist/types/env.d.ts +0 -94
- package/dist/types/env.js +0 -3
- package/dist/types/errors/structured-error.d.ts +0 -37
- package/dist/types/errors/structured-error.js +0 -3
- package/dist/types/estimation.d.ts +0 -29
- package/dist/types/estimation.js +0 -5
- package/dist/types/events.d.ts +0 -18
- package/dist/types/events.js +0 -4
- package/dist/types/evidence-autofill.d.ts +0 -40
- package/dist/types/evidence-autofill.js +0 -3
- package/dist/types/evidence-gates.d.ts +0 -103
- package/dist/types/evidence-gates.js +0 -2
- package/dist/types/evidence-index.d.ts +0 -26
- package/dist/types/evidence-index.js +0 -2
- package/dist/types/execution.d.ts +0 -103
- package/dist/types/execution.js +0 -2
- package/dist/types/frontmatter.d.ts +0 -5
- package/dist/types/frontmatter.js +0 -2
- package/dist/types/gemini.d.ts +0 -124
- package/dist/types/gemini.js +0 -3
- package/dist/types/handoff-artifacts.d.ts +0 -182
- package/dist/types/handoff-artifacts.js +0 -3
- package/dist/types/host-rules.d.ts +0 -10
- package/dist/types/host-rules.js +0 -3
- package/dist/types/host-tool-filter.d.ts +0 -31
- package/dist/types/host-tool-filter.js +0 -3
- package/dist/types/housekeeping.d.ts +0 -8
- package/dist/types/housekeeping.js +0 -22
- package/dist/types/index.d.ts +0 -81
- package/dist/types/index.js +0 -94
- package/dist/types/interactive-question.d.ts +0 -19
- package/dist/types/interactive-question.js +0 -3
- package/dist/types/keyword-matcher.d.ts +0 -38
- package/dist/types/keyword-matcher.js +0 -3
- package/dist/types/legacy-guidance.d.ts +0 -24
- package/dist/types/legacy-guidance.js +0 -3
- package/dist/types/legal.d.ts +0 -44
- package/dist/types/legal.js +0 -5
- package/dist/types/living-spec/annotations.d.ts +0 -36
- package/dist/types/living-spec/annotations.js +0 -23
- package/dist/types/living-spec.d.ts +0 -2
- package/dist/types/living-spec.js +0 -6
- package/dist/types/llm-security.d.ts +0 -19
- package/dist/types/llm-security.js +0 -4
- package/dist/types/local-first.d.ts +0 -25
- package/dist/types/local-first.js +0 -10
- package/dist/types/mcp.d.ts +0 -34
- package/dist/types/mcp.js +0 -4
- package/dist/types/migration/canonical-storage.d.ts +0 -38
- package/dist/types/migration/canonical-storage.js +0 -2
- package/dist/types/minimal-implementation-gate.d.ts +0 -98
- package/dist/types/minimal-implementation-gate.js +0 -2
- package/dist/types/model-routing.d.ts +0 -25
- package/dist/types/model-routing.js +0 -26
- package/dist/types/multi-agent.d.ts +0 -18
- package/dist/types/multi-agent.js +0 -18
- package/dist/types/nli-context.d.ts +0 -25
- package/dist/types/nli-context.js +0 -2
- package/dist/types/opencode.d.ts +0 -4
- package/dist/types/opencode.js +0 -3
- package/dist/types/paradigm.d.ts +0 -99
- package/dist/types/paradigm.js +0 -11
- package/dist/types/privacy.d.ts +0 -81
- package/dist/types/privacy.js +0 -25
- package/dist/types/project/agent.d.ts +0 -13
- package/dist/types/project/agent.js +0 -3
- package/dist/types/project/architecture-detection.d.ts +0 -24
- package/dist/types/project/architecture-detection.js +0 -2
- package/dist/types/project/config-metrics.d.ts +0 -10
- package/dist/types/project/config-metrics.js +0 -2
- package/dist/types/project/constitution.d.ts +0 -26
- package/dist/types/project/constitution.js +0 -3
- package/dist/types/project/core.d.ts +0 -137
- package/dist/types/project/core.js +0 -7
- package/dist/types/project/health-checker.d.ts +0 -13
- package/dist/types/project/health-checker.js +0 -3
- package/dist/types/project/inputs.d.ts +0 -39
- package/dist/types/project/inputs.js +0 -5
- package/dist/types/project/legacy-artifacts.d.ts +0 -7
- package/dist/types/project/legacy-artifacts.js +0 -2
- package/dist/types/project/library-groups.d.ts +0 -112
- package/dist/types/project/library-groups.js +0 -4
- package/dist/types/project/mfe-detection.d.ts +0 -19
- package/dist/types/project/mfe-detection.js +0 -3
- package/dist/types/project/planu-config.d.ts +0 -142
- package/dist/types/project/planu-config.js +0 -2
- package/dist/types/project/platform-exotic.d.ts +0 -108
- package/dist/types/project/platform-exotic.js +0 -3
- package/dist/types/project/platform-mobile.d.ts +0 -7
- package/dist/types/project/platform-mobile.js +0 -3
- package/dist/types/project/platform-specialty.d.ts +0 -17
- package/dist/types/project/platform-specialty.js +0 -3
- package/dist/types/project/scaffold-verification.d.ts +0 -15
- package/dist/types/project/scaffold-verification.js +0 -2
- package/dist/types/project-knowledge-graph.d.ts +0 -227
- package/dist/types/project-knowledge-graph.js +0 -2
- package/dist/types/project.d.ts +0 -11
- package/dist/types/project.js +0 -13
- package/dist/types/readiness.d.ts +0 -82
- package/dist/types/readiness.js +0 -7
- package/dist/types/reconcile.d.ts +0 -41
- package/dist/types/reconcile.js +0 -9
- package/dist/types/retention.d.ts +0 -12
- package/dist/types/retention.js +0 -3
- package/dist/types/reviewer-tokens.d.ts +0 -58
- package/dist/types/reviewer-tokens.js +0 -4
- package/dist/types/runtime-database.d.ts +0 -10
- package/dist/types/runtime-database.js +0 -2
- package/dist/types/runtime-policy.d.ts +0 -62
- package/dist/types/runtime-policy.js +0 -2
- package/dist/types/safe-schemas.d.ts +0 -12
- package/dist/types/safe-schemas.js +0 -27
- package/dist/types/safety.d.ts +0 -42
- package/dist/types/safety.js +0 -3
- package/dist/types/scan-project.d.ts +0 -20
- package/dist/types/scan-project.js +0 -4
- package/dist/types/schema-registry.d.ts +0 -12
- package/dist/types/schema-registry.js +0 -2
- package/dist/types/scope-boundaries.d.ts +0 -62
- package/dist/types/scope-boundaries.js +0 -3
- package/dist/types/scope.d.ts +0 -89
- package/dist/types/scope.js +0 -3
- package/dist/types/sdd-constitution.d.ts +0 -27
- package/dist/types/sdd-constitution.js +0 -2
- package/dist/types/sdd-core-v6.d.ts +0 -62
- package/dist/types/sdd-core-v6.js +0 -2
- package/dist/types/sdd-flow.d.ts +0 -3
- package/dist/types/sdd-flow.js +0 -3
- package/dist/types/sdd-model-routing.d.ts +0 -22
- package/dist/types/sdd-model-routing.js +0 -2
- package/dist/types/security.d.ts +0 -20
- package/dist/types/security.js +0 -4
- package/dist/types/skill-bootstrap.d.ts +0 -7
- package/dist/types/skill-bootstrap.js +0 -3
- package/dist/types/spec/clarification.d.ts +0 -86
- package/dist/types/spec/clarification.js +0 -2
- package/dist/types/spec/core.d.ts +0 -414
- package/dist/types/spec/core.js +0 -3
- package/dist/types/spec/health-score.d.ts +0 -25
- package/dist/types/spec/health-score.js +0 -2
- package/dist/types/spec/index-cache.d.ts +0 -25
- package/dist/types/spec/index-cache.js +0 -3
- package/dist/types/spec/index.d.ts +0 -7
- package/dist/types/spec/index.js +0 -9
- package/dist/types/spec/inputs.d.ts +0 -250
- package/dist/types/spec/inputs.js +0 -7
- package/dist/types/spec/versioning.d.ts +0 -39
- package/dist/types/spec/versioning.js +0 -3
- package/dist/types/spec-format.d.ts +0 -211
- package/dist/types/spec-format.js +0 -3
- package/dist/types/spec-generator.d.ts +0 -32
- package/dist/types/spec-generator.js +0 -2
- package/dist/types/spec-grounding.d.ts +0 -48
- package/dist/types/spec-grounding.js +0 -2
- package/dist/types/spec-language-translation.d.ts +0 -19
- package/dist/types/spec-language-translation.js +0 -5
- package/dist/types/spec-language.d.ts +0 -8
- package/dist/types/spec-language.js +0 -2
- package/dist/types/spec-lock-v2.d.ts +0 -66
- package/dist/types/spec-lock-v2.js +0 -4
- package/dist/types/spec-lock.d.ts +0 -14
- package/dist/types/spec-lock.js +0 -8
- package/dist/types/spec-quality.d.ts +0 -82
- package/dist/types/spec-quality.js +0 -6
- package/dist/types/stack/build-tool.d.ts +0 -13
- package/dist/types/stack/build-tool.js +0 -5
- package/dist/types/stack/hypermedia.d.ts +0 -4
- package/dist/types/stack/hypermedia.js +0 -3
- package/dist/types/stack/index.d.ts +0 -4
- package/dist/types/stack/index.js +0 -4
- package/dist/types/stack/recommend.d.ts +0 -38
- package/dist/types/stack/recommend.js +0 -3
- package/dist/types/status.d.ts +0 -27
- package/dist/types/status.js +0 -6
- package/dist/types/storage-catalog.d.ts +0 -21
- package/dist/types/storage-catalog.js +0 -2
- package/dist/types/supply-chain.d.ts +0 -49
- package/dist/types/supply-chain.js +0 -25
- package/dist/types/technology-registry.d.ts +0 -36
- package/dist/types/technology-registry.js +0 -2
- package/dist/types/technology-selection.d.ts +0 -78
- package/dist/types/technology-selection.js +0 -3
- package/dist/types/technology-symbols.generated.d.ts +0 -117
- package/dist/types/technology-symbols.generated.js +0 -2
- package/dist/types/testing.d.ts +0 -17
- package/dist/types/testing.js +0 -10
- package/dist/types/timing.d.ts +0 -18
- package/dist/types/timing.js +0 -3
- package/dist/types/transition-log.d.ts +0 -78
- package/dist/types/transition-log.js +0 -4
- package/dist/types/transport.d.ts +0 -6
- package/dist/types/transport.js +0 -4
- package/dist/types/universal-rules/index.d.ts +0 -69
- package/dist/types/universal-rules/index.js +0 -4
- package/dist/types/validate-worker.d.ts +0 -50
- package/dist/types/validate-worker.js +0 -2
- package/dist/types/validation-config.d.ts +0 -36
- package/dist/types/validation-config.js +0 -2
- package/dist/types/validation-evidence.d.ts +0 -177
- package/dist/types/validation-evidence.js +0 -2
- package/dist/types/validation-loop.d.ts +0 -26
- package/dist/types/validation-loop.js +0 -3
- package/dist/types/validation-receipt.d.ts +0 -126
- package/dist/types/validation-receipt.js +0 -2
- package/dist/types/validation.d.ts +0 -67
- package/dist/types/validation.js +0 -3
- package/dist/types/verifiable-criteria.d.ts +0 -31
- package/dist/types/verifiable-criteria.js +0 -10
- package/src/i18n/messages/en.json +0 -184
- package/src/i18n/messages/es.json +0 -184
- package/src/i18n/messages/pt.json +0 -184
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { ReadinessReport } from './readiness.js';
|
|
2
|
-
import type { SpecQualityReport } from './spec-quality.js';
|
|
3
|
-
/**
|
|
4
|
-
* Origin validator that produced the issue.
|
|
5
|
-
*/
|
|
6
|
-
export type ValidationSource = 'frontmatter' | 'unified-format' | 'readiness' | 'quality' | 'registry' | 'ears-gate' | 'specificity-gate';
|
|
7
|
-
/**
|
|
8
|
-
* A hard blocking error. Callers must resolve all errors before the spec
|
|
9
|
-
* can transition to 'approved' or have a PR created.
|
|
10
|
-
*/
|
|
11
|
-
export interface ValidationError {
|
|
12
|
-
/** Stable code, screaming_snake_case (e.g. MISSING_FRONTMATTER_FIELD). */
|
|
13
|
-
code: string;
|
|
14
|
-
/** Human-readable description. */
|
|
15
|
-
message: string;
|
|
16
|
-
/** Dotted path inside the spec where the issue lives, e.g. 'frontmatter.id'. */
|
|
17
|
-
path: string;
|
|
18
|
-
/** Origin validator. */
|
|
19
|
-
source: ValidationSource;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* A non-blocking issue. Same shape as ValidationError; severity is implicit
|
|
23
|
-
* from array placement in SpecValidationResult.
|
|
24
|
-
*/
|
|
25
|
-
export type ValidationWarning = ValidationError;
|
|
26
|
-
/**
|
|
27
|
-
* Unified result returned by validateSpecFormat().
|
|
28
|
-
*/
|
|
29
|
-
export interface SpecValidationResult {
|
|
30
|
-
valid: boolean;
|
|
31
|
-
errors: ValidationError[];
|
|
32
|
-
warnings: ValidationWarning[];
|
|
33
|
-
/** Optional summary metrics for callers that want them without re-running scorers. */
|
|
34
|
-
metrics?: {
|
|
35
|
-
readinessScore: number;
|
|
36
|
-
qualityScore?: number;
|
|
37
|
-
qualityGrade?: 'A' | 'B' | 'C' | 'D' | 'F';
|
|
38
|
-
bddScenarioCount: number;
|
|
39
|
-
criteriaCount: number;
|
|
40
|
-
};
|
|
41
|
-
/** Readiness evidence generated during this validation invocation. */
|
|
42
|
-
readinessReport?: ReadinessReport;
|
|
43
|
-
/** Quality evidence generated during this validation invocation, when available. */
|
|
44
|
-
qualityReport?: SpecQualityReport;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Options for validateSpecFormat().
|
|
48
|
-
*/
|
|
49
|
-
export interface ValidateSpecFormatOptions {
|
|
50
|
-
/** Exact spec.md snapshot supplied by a caller that already performed the bounded read. */
|
|
51
|
-
rawSpec?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
* When true, runs only fast structural checks (frontmatter shape, required
|
|
54
|
-
* sections). Skips quality scoring.
|
|
55
|
-
*/
|
|
56
|
-
fast?: boolean;
|
|
57
|
-
/** Mode passed through to readiness-checker. Defaults to 'strict'. */
|
|
58
|
-
readinessMode?: 'strict' | 'lenient';
|
|
59
|
-
/** When true, skip quality scorer (e.g. for pre-commit speed). Defaults to false. */
|
|
60
|
-
skipQuality?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Optional reason for bypassing hard blockers. When set, all errors
|
|
63
|
-
* are moved to warnings.
|
|
64
|
-
*/
|
|
65
|
-
bypassReason?: string;
|
|
66
|
-
}
|
|
67
|
-
//# sourceMappingURL=validation.d.ts.map
|
package/dist/types/validation.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** The verification strategy to apply to a single acceptance criterion. */
|
|
2
|
-
type VerifyType = 'grep_present' | 'grep_absent' | 'metric_max' | 'metric_min' | 'file_exists' | 'command' | 'manual';
|
|
3
|
-
/**
|
|
4
|
-
* A machine-verifiable check block attached to an acceptance criterion.
|
|
5
|
-
* Stored as an HTML comment in spec.md for backward-compatible rendering.
|
|
6
|
-
*/
|
|
7
|
-
export interface VerifyBlock {
|
|
8
|
-
/** Verification strategy. */
|
|
9
|
-
type: VerifyType;
|
|
10
|
-
/** Regex pattern for grep_present / grep_absent checks. */
|
|
11
|
-
pattern?: string;
|
|
12
|
-
/** Glob pattern scoping the check (e.g. "src/**\/*.tsx"). */
|
|
13
|
-
scope?: string;
|
|
14
|
-
/** Glob pattern to exclude from the check. */
|
|
15
|
-
exclude?: string;
|
|
16
|
-
/** Expected numeric value — 0 for absent, N for counts or thresholds. */
|
|
17
|
-
expected?: number;
|
|
18
|
-
/** Shell command to run for 'command' type verifications. */
|
|
19
|
-
command?: string;
|
|
20
|
-
/** Human-readable description of what is being verified. */
|
|
21
|
-
description: string;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
24
|
-
/**
|
|
25
|
-
* An acceptance criterion enriched with a machine-verifiable check block.
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* A template that maps keyword triggers in criterion text to a verification strategy.
|
|
29
|
-
* Used internally by the criterion enricher to auto-classify criteria.
|
|
30
|
-
*/
|
|
31
|
-
//# sourceMappingURL=verifiable-criteria.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// types/verifiable-criteria.ts — Types for machine-verifiable acceptance criteria (SPEC-186)
|
|
2
|
-
export {};
|
|
3
|
-
/**
|
|
4
|
-
* An acceptance criterion enriched with a machine-verifiable check block.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* A template that maps keyword triggers in criterion text to a verification strategy.
|
|
8
|
-
* Used internally by the criterion enricher to auto-classify criteria.
|
|
9
|
-
*/
|
|
10
|
-
//# sourceMappingURL=verifiable-criteria.js.map
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"created": "Spec {id} created successfully",
|
|
4
|
-
"updated": "Spec {id} status updated to {status}",
|
|
5
|
-
"notFound": "Spec {id} not found",
|
|
6
|
-
"invalidTransition": "Invalid transition from {from} to {to}. Valid from {from}: {valid}.",
|
|
7
|
-
"duplicateTitle": "A spec with title '{title}' already exists. Using slug: {slug}"
|
|
8
|
-
},
|
|
9
|
-
"project": {
|
|
10
|
-
"initialized": "Project initialized: {language} / {framework} detected",
|
|
11
|
-
"notFound": "Project not found. Run init_project first",
|
|
12
|
-
"alreadyExists": "Project already initialized. Updating knowledge...",
|
|
13
|
-
"emptyProject": "Empty project detected. Use create_spec to define your first feature and Planu will guide you through setup.",
|
|
14
|
-
"unknownLanguage": "Could not detect language. Set manually via learn_pattern"
|
|
15
|
-
},
|
|
16
|
-
"locale": {
|
|
17
|
-
"changed": "Locale changed to {locale}",
|
|
18
|
-
"unsupported": "Unsupported locale '{locale}'. Available: {available}. Add new locales in templates/ and i18n/messages/",
|
|
19
|
-
"globalChanged": "Default locale changed to {locale}"
|
|
20
|
-
},
|
|
21
|
-
"reverseEngineer": {
|
|
22
|
-
"analyzing": "Analyzing {count} files...",
|
|
23
|
-
"completed": "Spec draft generated from {count} files. Marked as draft — review required",
|
|
24
|
-
"pathNotFound": "Path not found: {path}",
|
|
25
|
-
"tooLarge": "Directory has {count} files. Use depth: 'deep' for full analysis"
|
|
26
|
-
},
|
|
27
|
-
"validate": {
|
|
28
|
-
"score": "Implementation coverage: {score}%",
|
|
29
|
-
"allGood": "All spec files accounted for",
|
|
30
|
-
"missing": "{count} files from spec not found in implementation"
|
|
31
|
-
},
|
|
32
|
-
"docs": {
|
|
33
|
-
"found": "Documentation found for {framework}: {topic}",
|
|
34
|
-
"notFound": "No documentation found for '{topic}' in {framework}",
|
|
35
|
-
"registryMissing": "Framework '{framework}' not in docs registry. Add it to config/docs-registry.json"
|
|
36
|
-
},
|
|
37
|
-
"mcps": {
|
|
38
|
-
"discovered": "Found {count} MCP servers",
|
|
39
|
-
"configNotFound": "Config file not found at {path}",
|
|
40
|
-
"noneFound": "No MCP servers configured"
|
|
41
|
-
},
|
|
42
|
-
"sections": {
|
|
43
|
-
"metadata": "Metadata",
|
|
44
|
-
"postImplementation": "Post-implementation (fill on completion)",
|
|
45
|
-
"interfaces": "Interfaces / Types",
|
|
46
|
-
"models": "Models / Types",
|
|
47
|
-
"structs": "Structs / Interfaces",
|
|
48
|
-
"schemaDb": "Database Schema",
|
|
49
|
-
"behavior": "Behavior",
|
|
50
|
-
"happyPath": "Happy Path",
|
|
51
|
-
"edgeCases": "Edge Cases",
|
|
52
|
-
"dataFlow": "Data Flow",
|
|
53
|
-
"files": "Files",
|
|
54
|
-
"toCreate": "To create",
|
|
55
|
-
"toModify": "To modify",
|
|
56
|
-
"verification": "Verification Criteria",
|
|
57
|
-
"technicalNotes": "Technical Notes",
|
|
58
|
-
"availableMcps": "Available MCPs (auto-detected)"
|
|
59
|
-
},
|
|
60
|
-
"tools": {
|
|
61
|
-
"init_project": {
|
|
62
|
-
"description": "Initialize a project — detects language, framework, architecture, and stores project knowledge. IMPORTANT: Only call this tool if planu/ does NOT exist in the project directory. If it already exists, use list_specs instead to get the projectId. Before running this, explain to the user: 'First, I need to scan your project so Planu understands what you are building — the language, framework, and structure. This only takes a few seconds and everything stays on your machine.' Then ask about their role (developer, product owner, designer, or non-technical) to set userProfile. After initialization, summarize what was detected in plain language: 'I found a [language] project using [framework]. Your project ID is [id] — I will use this from now on. You are ready to start creating specs!' If the response contains autopilotSummary[], mention those actions to the user in your reply so they know what Planu did automatically. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
63
|
-
"success": "Project initialized at {projectPath}",
|
|
64
|
-
"notImplemented": "init_project is not yet implemented"
|
|
65
|
-
},
|
|
66
|
-
"create_spec": {
|
|
67
|
-
"description": "Create a full SDD spec from a description. Call this directly. CRITICAL — INTERACTIVE QUESTIONS: If the response contains needsClarification: true and a questions[] array, you MUST present those questions using your native interactive UI (AskUserQuestion in Claude Code or equivalent submit component). DO NOT display the JSON as text. Each question has: question, header, options[] (with label + description), multiSelect. After the user answers, call create_spec AGAIN with an enriched description. IMPORTANT — UX behavior: When the user describes something broad (e.g. 'build me a billing system', 'I want an e-commerce app'), DO NOT create a single spec. Instead: 1) Break it down into multiple specs (authentication, products, cart, payments, etc.). 2) Present the plan BEFORE creating anything: 'Based on what you told me, I am going to create X specs to cover everything you need: [list each spec with a one-line summary]. Each spec is a detailed plan with acceptance criteria — think of it as a checklist of what done looks like. Shall I go ahead?' 3) Wait for confirmation, then call create_spec once per feature. 4) After creating all specs, summarize: what was created, estimated total effort, and suggested order of implementation. 5) ALWAYS suggest creating a git branch for implementation: 'Now I recommend creating a branch to work on this safely: git checkout -b feat/SPEC-XXX-feature-name. This keeps your main code protected while you build.' For small/single features, explain briefly what the spec will contain and create it directly. Always be friendly and use plain language. If the response contains autopilotSummary[], mention those actions to the user in your reply so they know what Planu did automatically.",
|
|
68
|
-
"success": "Spec {id} created: {title}",
|
|
69
|
-
"notImplemented": "create_spec is not yet implemented"
|
|
70
|
-
},
|
|
71
|
-
"list_specs": {
|
|
72
|
-
"description": "Show all the plans (specs) in your project. You can filter by status — for example, only show plans that are still in draft, or only the ones already approved and ready to build. If the response contains autopilotSummary[], mention those actions to the user in your reply so they know what Planu did automatically. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
73
|
-
"success": "Found {count} specs",
|
|
74
|
-
"notImplemented": "list_specs is not yet implemented"
|
|
75
|
-
},
|
|
76
|
-
"update_status": {
|
|
77
|
-
"description": "Move a plan forward in its lifecycle. Plans go through these stages: draft (work in progress) → review (ready for someone to check) → approved (ready to build) → implementing (being built) → done (finished and verified). IMPORTANT: When moving to 'implementing', ALWAYS suggest creating a dedicated git branch: 'Before you start building, let me create a branch for this spec so your changes are isolated: git checkout -b feat/SPEC-XXX-name.' When moving to 'done', suggest merging: 'This feature is complete! You can now merge your branch back and create a pull request.' If the response contains autopilotSummary[], mention those actions to the user in your reply so they know what Planu did automatically. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
78
|
-
"success": "Spec {specId} status updated to {status}",
|
|
79
|
-
"notImplemented": "update_status is not yet implemented"
|
|
80
|
-
},
|
|
81
|
-
"validate": {
|
|
82
|
-
"description": "Check how much of a plan has actually been built. Compares the blueprint (spec) with the real code and tells you: what percentage is done, what files are missing, and whether the code matches the plan. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
83
|
-
"success": "Validation complete: {score}% coverage",
|
|
84
|
-
"notImplemented": "validate is not yet implemented"
|
|
85
|
-
},
|
|
86
|
-
"reconcile_spec": {
|
|
87
|
-
"description": "Update a plan to match what was actually built. When the code changes during development, this tool brings the plan back in sync with reality. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
88
|
-
"success": "Spec {specId} reconciled with {count} changes",
|
|
89
|
-
"notImplemented": "reconcile_spec is not yet implemented"
|
|
90
|
-
},
|
|
91
|
-
"challenge_spec": {
|
|
92
|
-
"description": "Stress-test a plan by simulating failures, high traffic, and edge cases. Finds weak spots before you start building — like a fire drill for your feature design. If the response contains interactiveQuestions[], present them to the user using AskUserQuestion (Claude Code) or equivalent interactive UI. DO NOT display the JSON as text.",
|
|
93
|
-
"success": "Challenge complete: {scenarioCount} failure scenarios analyzed",
|
|
94
|
-
"notImplemented": "challenge_spec is not yet implemented"
|
|
95
|
-
},
|
|
96
|
-
"check_readiness": {
|
|
97
|
-
"description": "Check if a plan has enough detail to start building. Verifies that the description is complete, acceptance criteria are clear, and all dependencies are met. Tells you if the plan is ready or what is missing."
|
|
98
|
-
},
|
|
99
|
-
"package_handoff": {
|
|
100
|
-
"description": "Submit a durable job that builds a complete instruction package so an AI agent can implement a feature. Returns an acknowledgment immediately; poll get_job for the completed package (objective, acceptance criteria, file list, what is out of scope, and any constraints)."
|
|
101
|
-
},
|
|
102
|
-
"response": {
|
|
103
|
-
"nextSteps": "🚀 **Next Steps**",
|
|
104
|
-
"suggestions": "💡 **Suggestions**",
|
|
105
|
-
"error": "❌ **Error:** {message}",
|
|
106
|
-
"howToFix": "💡 **How to fix:** {fix}",
|
|
107
|
-
"tip": "💡 **Tip:** {message}",
|
|
108
|
-
"summary": "📋 **Summary**",
|
|
109
|
-
"noIssues": "✅ No issues found",
|
|
110
|
-
"issuesFound": "⚠️ {count} issue(s) found",
|
|
111
|
-
"healthy": "✅ Healthy",
|
|
112
|
-
"degraded": "⚠️ Degraded",
|
|
113
|
-
"down": "❌ Down",
|
|
114
|
-
"stopped": "⏹️ Stopped",
|
|
115
|
-
"active": "✅ Active",
|
|
116
|
-
"pending": "🔄 Pending",
|
|
117
|
-
"sessionsFound": "📋 Found {count} session(s)",
|
|
118
|
-
"noSessions": "📋 No sessions found",
|
|
119
|
-
"statsTitle": "📊 **Usage Statistics**",
|
|
120
|
-
"accuracyTitle": "Spec Accuracy Report",
|
|
121
|
-
"reconcileTitle": "Spec Reconciled",
|
|
122
|
-
"statusTitle": "✅ **Status Updated**",
|
|
123
|
-
"workerTitle": "⚙️ **Worker Status**",
|
|
124
|
-
"swarmTitle": "🐝 **Agent Swarm Status**",
|
|
125
|
-
"sessionsTitle": "📋 **Sessions**"
|
|
126
|
-
},
|
|
127
|
-
"reconcileSpec": {
|
|
128
|
-
"description": "Reconcile a spec with the current implementation state",
|
|
129
|
-
"specId": "Spec ID",
|
|
130
|
-
"totalChanges": "Total Changes",
|
|
131
|
-
"approvedChanges": "Approved Changes",
|
|
132
|
-
"pendingChanges": "Pending Changes",
|
|
133
|
-
"versionCreated": "Version Created",
|
|
134
|
-
"livingSpec": "Living Spec",
|
|
135
|
-
"coverage": "coverage",
|
|
136
|
-
"nextValidate": "Run `validate` to check implementation coverage",
|
|
137
|
-
"nextDrift": "Run `detect_drift` to check for recent divergence"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"resources": {
|
|
141
|
-
"process": {
|
|
142
|
-
"description": "SDD methodology process steps and workflow",
|
|
143
|
-
"notFound": "Process information not available"
|
|
144
|
-
},
|
|
145
|
-
"specs": {
|
|
146
|
-
"description": "Current project specs list",
|
|
147
|
-
"notFound": "No specs found. Use create_spec or init_project first"
|
|
148
|
-
},
|
|
149
|
-
"templates": {
|
|
150
|
-
"description": "Available spec templates",
|
|
151
|
-
"notFound": "No templates found"
|
|
152
|
-
},
|
|
153
|
-
"patterns": {
|
|
154
|
-
"description": "Learned project patterns",
|
|
155
|
-
"notFound": "No patterns learned yet. Use learn_pattern to add patterns"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"errors": {
|
|
159
|
-
"notImplemented": "Tool '{tool}' is not yet implemented",
|
|
160
|
-
"invalidInput": "Invalid input: {details}",
|
|
161
|
-
"projectRequired": "Project ID is required. Run init_project first",
|
|
162
|
-
"specRequired": "Spec ID is required",
|
|
163
|
-
"unknownTool": "Unknown tool: {tool}",
|
|
164
|
-
"internalError": "Internal error: {message}"
|
|
165
|
-
},
|
|
166
|
-
"prompts": {
|
|
167
|
-
"createFeature": {
|
|
168
|
-
"description": "Guided workflow to create a new feature spec — asks for title, description, type, and scope",
|
|
169
|
-
"message": "I want to create a new {type} spec.\n\nTitle: {title}\nDescription: {description}\nScope: {scope}\n\nPlease:\n1. Run init_project if no project is initialized yet\n2. Use create_spec to create the spec with the details above\n3. Present the spec summary for my review\n4. Ask if I approve or want changes before proceeding"
|
|
170
|
-
},
|
|
171
|
-
"reviewSpec": {
|
|
172
|
-
"description": "Review a spec before approval — shows a quality checklist and asks for feedback",
|
|
173
|
-
"message": "I want to review spec {specId} before approving it.\n\nPlease:\n1. Fetch the spec details using the specs resource or get tools\n2. Check this quality checklist:\n - Does the title clearly describe the feature?\n - Is the description complete and unambiguous?\n - Are acceptance criteria measurable and testable?\n - Are dependencies identified?\n - Is the scope appropriate (not too large, not too small)?\n - Are edge cases and error scenarios covered?\n3. Present the spec with your assessment for each checklist item\n4. Ask if I want to approve, request changes, or reject"
|
|
174
|
-
},
|
|
175
|
-
"implementSpec": {
|
|
176
|
-
"description": "Start implementing a spec — generates an implementation handoff with all context needed",
|
|
177
|
-
"message": "I want to start implementing spec {specId}.\n\nPlease:\n1. Fetch the spec details and verify it is in 'approved' status\n2. If not approved, warn me and ask if I want to approve it first\n3. Update the spec status to 'implementing'\n4. Generate an implementation handoff that includes:\n - Acceptance criteria as a checklist\n - Technical approach and file changes needed\n - Dependencies and prerequisites\n - Testing strategy\n5. Present the handoff so I can start working"
|
|
178
|
-
},
|
|
179
|
-
"projectStatus": {
|
|
180
|
-
"description": "Get a complete overview of a project — specs, progress, and health metrics",
|
|
181
|
-
"message": "Give me a complete status overview for project {projectId}.\n\nPlease:\n1. List all specs grouped by status (draft, review, approved, implementing, done)\n2. Show overall progress (how many specs are done vs total)\n3. Highlight any specs that might need attention:\n - Specs stuck in 'implementing' for a long time\n - Specs in 'draft' that haven't been reviewed\n - Any specs with drift detected\n4. Summarize the project health in plain language"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spec": {
|
|
3
|
-
"created": "Spec {id} creada exitosamente",
|
|
4
|
-
"updated": "Spec {id} actualizada a estado {status}",
|
|
5
|
-
"notFound": "Spec {id} no encontrada",
|
|
6
|
-
"invalidTransition": "Transición inválida de {from} a {to}. Válido desde {from}: {valid}.",
|
|
7
|
-
"duplicateTitle": "Ya existe una spec con título '{title}'. Usando slug: {slug}"
|
|
8
|
-
},
|
|
9
|
-
"project": {
|
|
10
|
-
"initialized": "Proyecto inicializado: {language} / {framework} detectado",
|
|
11
|
-
"notFound": "Proyecto no encontrado. Ejecuta init_project primero",
|
|
12
|
-
"alreadyExists": "Proyecto ya inicializado. Actualizando knowledge...",
|
|
13
|
-
"emptyProject": "Proyecto vacio detectado. Usa create_spec para definir tu primera feature y Planu te guiara en el setup.",
|
|
14
|
-
"unknownLanguage": "No se pudo detectar el lenguaje. Configúralo manualmente con learn_pattern"
|
|
15
|
-
},
|
|
16
|
-
"locale": {
|
|
17
|
-
"changed": "Idioma cambiado a {locale}",
|
|
18
|
-
"unsupported": "Idioma '{locale}' no soportado. Disponibles: {available}. Agrega nuevos idiomas en templates/ e i18n/messages/",
|
|
19
|
-
"globalChanged": "Idioma por defecto cambiado a {locale}"
|
|
20
|
-
},
|
|
21
|
-
"reverseEngineer": {
|
|
22
|
-
"analyzing": "Analizando {count} archivos...",
|
|
23
|
-
"completed": "Spec draft generada desde {count} archivos. Marcada como draft — requiere revisión",
|
|
24
|
-
"pathNotFound": "Path no encontrado: {path}",
|
|
25
|
-
"tooLarge": "Directorio tiene {count} archivos. Usa depth: 'deep' para análisis completo"
|
|
26
|
-
},
|
|
27
|
-
"validate": {
|
|
28
|
-
"score": "Cobertura de implementación: {score}%",
|
|
29
|
-
"allGood": "Todos los archivos de la spec están implementados",
|
|
30
|
-
"missing": "{count} archivos de la spec no encontrados en la implementación"
|
|
31
|
-
},
|
|
32
|
-
"docs": {
|
|
33
|
-
"found": "Documentación encontrada para {framework}: {topic}",
|
|
34
|
-
"notFound": "No se encontró documentación para '{topic}' en {framework}",
|
|
35
|
-
"registryMissing": "Framework '{framework}' no está en el registry de docs. Agrégalo en config/docs-registry.json"
|
|
36
|
-
},
|
|
37
|
-
"mcps": {
|
|
38
|
-
"discovered": "Se encontraron {count} MCP servers",
|
|
39
|
-
"configNotFound": "Archivo de configuración no encontrado en {path}",
|
|
40
|
-
"noneFound": "No hay MCP servers configurados"
|
|
41
|
-
},
|
|
42
|
-
"sections": {
|
|
43
|
-
"metadata": "Metadata",
|
|
44
|
-
"postImplementation": "Post-implementación (llenar al completar)",
|
|
45
|
-
"interfaces": "Interfaces / Types",
|
|
46
|
-
"models": "Modelos / Types",
|
|
47
|
-
"structs": "Structs / Interfaces",
|
|
48
|
-
"schemaDb": "Schema de Base de Datos",
|
|
49
|
-
"behavior": "Comportamiento",
|
|
50
|
-
"happyPath": "Camino Feliz",
|
|
51
|
-
"edgeCases": "Casos Borde",
|
|
52
|
-
"dataFlow": "Flujo de Datos",
|
|
53
|
-
"files": "Archivos",
|
|
54
|
-
"toCreate": "A crear",
|
|
55
|
-
"toModify": "A modificar",
|
|
56
|
-
"verification": "Criterios de Verificación",
|
|
57
|
-
"technicalNotes": "Notas Técnicas",
|
|
58
|
-
"availableMcps": "MCPs Disponibles (auto-detectados)"
|
|
59
|
-
},
|
|
60
|
-
"tools": {
|
|
61
|
-
"init_project": {
|
|
62
|
-
"description": "Inicializar un proyecto — detecta lenguaje, framework, arquitectura y almacena conocimiento del proyecto. IMPORTANTE: Solo llama a este tool si planu/ NO existe en el directorio del proyecto. Si ya existe, usa list_specs para obtener el projectId. Antes de ejecutar esto, explícale al usuario: 'Primero necesito escanear tu proyecto para que Planu entienda qué estás construyendo — el lenguaje, framework y estructura. Solo toma unos segundos y todo queda en tu máquina.' Luego pregunta su rol (desarrollador, product owner, diseñador, o no técnico) para configurar userProfile. Después de inicializar, resume lo detectado en lenguaje simple: 'Encontré un proyecto en [lenguaje] usando [framework]. Tu ID de proyecto es [id] — lo usaré de ahora en adelante. ¡Ya puedes empezar a crear specs!' Si la respuesta contiene autopilotSummary[], menciona esas acciones al usuario para que sepa qué hizo Planu automáticamente. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
63
|
-
"success": "Proyecto inicializado en {projectPath}",
|
|
64
|
-
"notImplemented": "init_project aún no está implementado"
|
|
65
|
-
},
|
|
66
|
-
"create_spec": {
|
|
67
|
-
"description": "Crear una spec SDD completa desde una descripción. Llamar directamente. IMPORTANTE — Comportamiento UX: Cuando el usuario describe algo amplio (ej: 'hazme un sistema de facturación', 'quiero una app de e-commerce'), NO crees una sola spec. En su lugar: 1) Descompón en múltiples specs (autenticación, productos, carrito, pagos, etc.). 2) Presenta el plan ANTES de crear nada: 'Basándome en lo que me contaste, voy a crear X specs para cubrir todo lo que necesitas: [lista cada spec con un resumen de una línea]. Cada spec es un plan detallado con criterios de aceptación — piénsalo como una checklist de qué significa que esté terminado. ¿Le damos?' 3) Espera confirmación, luego llama create_spec una vez por feature. 4) Después de crear todas, resume: qué se creó, esfuerzo total estimado y orden sugerido de implementación. 5) SIEMPRE sugiere crear una rama git para implementar: 'Ahora te recomiendo crear una rama para trabajar de forma segura: git checkout -b feat/SPEC-XXX-nombre-feature. Así tu código principal queda protegido mientras construyes.' Para features pequeñas/individuales, explica brevemente qué contendrá la spec y créala directamente. Siempre sé amigable y usa lenguaje simple. Si la respuesta contiene autopilotSummary[], menciona esas acciones al usuario para que sepa qué hizo Planu automáticamente.",
|
|
68
|
-
"success": "Spec {id} creada: {title}",
|
|
69
|
-
"notImplemented": "create_spec aún no está implementado"
|
|
70
|
-
},
|
|
71
|
-
"list_specs": {
|
|
72
|
-
"description": "Mostrar todos los planes (specs) de tu proyecto. Puedes filtrar por estado — por ejemplo, solo mostrar planes que aún están en borrador, o solo los que ya fueron aprobados y listos para construir. Si la respuesta contiene autopilotSummary[], menciona esas acciones al usuario para que sepa qué hizo Planu automáticamente. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
73
|
-
"success": "Se encontraron {count} specs",
|
|
74
|
-
"notImplemented": "list_specs aún no está implementado"
|
|
75
|
-
},
|
|
76
|
-
"update_status": {
|
|
77
|
-
"description": "Mover un plan hacia adelante en su ciclo de vida. Los planes pasan por estas etapas: borrador (trabajo en progreso) → revisión (listo para que alguien lo revise) → aprobado (listo para construir) → implementando (se está construyendo) → terminado (completado y verificado). IMPORTANTE: Al mover a 'implementando', SIEMPRE sugiere crear una rama git dedicada: 'Antes de empezar a construir, vamos a crear una rama para esta spec así tus cambios quedan aislados: git checkout -b feat/SPEC-XXX-nombre.' Al mover a 'terminado', sugiere mergear: '¡Esta feature está completa! Ahora puedes mergear tu rama y crear un pull request.' Si la respuesta contiene autopilotSummary[], menciona esas acciones al usuario para que sepa qué hizo Planu automáticamente. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
78
|
-
"success": "Spec {specId} actualizada a estado {status}",
|
|
79
|
-
"notImplemented": "update_status aún no está implementado"
|
|
80
|
-
},
|
|
81
|
-
"validate": {
|
|
82
|
-
"description": "Verificar cuánto de un plan se ha construido realmente. Compara el plano (spec) con el código real y te dice: qué porcentaje está hecho, qué archivos faltan, y si el código coincide con el plan. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
83
|
-
"success": "Validación completa: {score}% de cobertura",
|
|
84
|
-
"notImplemented": "validate aún no está implementado"
|
|
85
|
-
},
|
|
86
|
-
"reconcile_spec": {
|
|
87
|
-
"description": "Actualizar un plan para que coincida con lo que realmente se construyó. Cuando el código cambia durante el desarrollo, esta herramienta sincroniza el plan con la realidad. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
88
|
-
"success": "Spec {specId} reconciliada con {count} cambios",
|
|
89
|
-
"notImplemented": "reconcile_spec aún no está implementado"
|
|
90
|
-
},
|
|
91
|
-
"challenge_spec": {
|
|
92
|
-
"description": "Poner a prueba un plan simulando fallos, alto tráfico y casos extremos. Encuentra puntos débiles antes de empezar a construir — como un simulacro de incendio para el diseño de tu feature. Si la respuesta contiene interactiveQuestions[], preséntalas al usuario usando AskUserQuestion (Claude Code) o interfaz interactiva equivalente. NO muestres el JSON como texto.",
|
|
93
|
-
"success": "Challenge completo: {scenarioCount} escenarios de fallo analizados",
|
|
94
|
-
"notImplemented": "challenge_spec aún no está implementado"
|
|
95
|
-
},
|
|
96
|
-
"check_readiness": {
|
|
97
|
-
"description": "Verificar si un plan tiene suficiente detalle para empezar a construir. Verifica que la descripción esté completa, los criterios de aceptación sean claros y todas las dependencias estén cumplidas. Te dice si el plan está listo o qué falta."
|
|
98
|
-
},
|
|
99
|
-
"package_handoff": {
|
|
100
|
-
"description": "Enviar un job durable que construye un paquete completo de instrucciones para que un agente de IA implemente una feature. Devuelve un acuse de recibo de inmediato; usa get_job para obtener el paquete completado (objetivo, criterios de aceptación, lista de archivos, qué está fuera de scope y cualquier restricción)."
|
|
101
|
-
},
|
|
102
|
-
"response": {
|
|
103
|
-
"nextSteps": "🚀 **Próximos Pasos**",
|
|
104
|
-
"suggestions": "💡 **Sugerencias**",
|
|
105
|
-
"error": "❌ **Error:** {message}",
|
|
106
|
-
"howToFix": "💡 **Cómo solucionarlo:** {fix}",
|
|
107
|
-
"tip": "💡 **Consejo:** {message}",
|
|
108
|
-
"summary": "📋 **Resumen**",
|
|
109
|
-
"noIssues": "✅ Sin problemas encontrados",
|
|
110
|
-
"issuesFound": "⚠️ {count} problema(s) encontrado(s)",
|
|
111
|
-
"healthy": "✅ Saludable",
|
|
112
|
-
"degraded": "⚠️ Degradado",
|
|
113
|
-
"down": "❌ Caído",
|
|
114
|
-
"stopped": "⏹️ Detenido",
|
|
115
|
-
"active": "✅ Activo",
|
|
116
|
-
"pending": "🔄 Pendiente",
|
|
117
|
-
"sessionsFound": "📋 Se encontraron {count} sesión(es)",
|
|
118
|
-
"noSessions": "📋 No se encontraron sesiones",
|
|
119
|
-
"statsTitle": "📊 **Estadísticas de Uso**",
|
|
120
|
-
"accuracyTitle": "Reporte de Precisión de Spec",
|
|
121
|
-
"reconcileTitle": "Spec Reconciliada",
|
|
122
|
-
"statusTitle": "✅ **Estado Actualizado**",
|
|
123
|
-
"workerTitle": "⚙️ **Estado de Workers**",
|
|
124
|
-
"swarmTitle": "🐝 **Estado del Enjambre de Agentes**",
|
|
125
|
-
"sessionsTitle": "📋 **Sesiones**"
|
|
126
|
-
},
|
|
127
|
-
"reconcileSpec": {
|
|
128
|
-
"description": "Reconcilia una spec con el estado actual de la implementación",
|
|
129
|
-
"specId": "ID de Spec",
|
|
130
|
-
"totalChanges": "Total de Cambios",
|
|
131
|
-
"approvedChanges": "Cambios Aprobados",
|
|
132
|
-
"pendingChanges": "Cambios Pendientes",
|
|
133
|
-
"versionCreated": "Versión Creada",
|
|
134
|
-
"livingSpec": "Spec Viva",
|
|
135
|
-
"coverage": "cobertura",
|
|
136
|
-
"nextValidate": "Ejecuta `validate` para verificar la cobertura de implementación",
|
|
137
|
-
"nextDrift": "Ejecuta `detect_drift` para verificar divergencia reciente"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"resources": {
|
|
141
|
-
"process": {
|
|
142
|
-
"description": "Pasos y flujo del proceso de la metodología SDD",
|
|
143
|
-
"notFound": "Información del proceso no disponible"
|
|
144
|
-
},
|
|
145
|
-
"specs": {
|
|
146
|
-
"description": "Lista de specs del proyecto actual",
|
|
147
|
-
"notFound": "No se encontraron specs. Usa create_spec o init_project primero"
|
|
148
|
-
},
|
|
149
|
-
"templates": {
|
|
150
|
-
"description": "Plantillas de specs disponibles",
|
|
151
|
-
"notFound": "No se encontraron plantillas"
|
|
152
|
-
},
|
|
153
|
-
"patterns": {
|
|
154
|
-
"description": "Patrones aprendidos del proyecto",
|
|
155
|
-
"notFound": "Aún no se han aprendido patrones. Usa learn_pattern para agregar patrones"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"errors": {
|
|
159
|
-
"notImplemented": "La herramienta '{tool}' aún no está implementada",
|
|
160
|
-
"invalidInput": "Entrada inválida: {details}",
|
|
161
|
-
"projectRequired": "Se requiere ID de proyecto. Ejecuta init_project primero",
|
|
162
|
-
"specRequired": "Se requiere ID de spec",
|
|
163
|
-
"unknownTool": "Herramienta desconocida: {tool}",
|
|
164
|
-
"internalError": "Error interno: {message}"
|
|
165
|
-
},
|
|
166
|
-
"prompts": {
|
|
167
|
-
"createFeature": {
|
|
168
|
-
"description": "Flujo guiado para crear una nueva spec de funcionalidad — pide titulo, descripcion, tipo y alcance",
|
|
169
|
-
"message": "Quiero crear una nueva spec de tipo {type}.\n\nTitulo: {title}\nDescripcion: {description}\nAlcance: {scope}\n\nPor favor:\n1. Ejecuta init_project si no hay un proyecto inicializado\n2. Usa create_spec para crear la spec con los datos anteriores\n3. Presenta el resumen de la spec para mi revision\n4. Pregunta si la apruebo o quiero cambios antes de continuar"
|
|
170
|
-
},
|
|
171
|
-
"reviewSpec": {
|
|
172
|
-
"description": "Revisar una spec antes de aprobarla — muestra un checklist de calidad y pide retroalimentacion",
|
|
173
|
-
"message": "Quiero revisar la spec {specId} antes de aprobarla.\n\nPor favor:\n1. Obtén los detalles de la spec\n2. Verifica este checklist de calidad:\n - ¿El titulo describe claramente la funcionalidad?\n - ¿La descripcion es completa y sin ambiguedades?\n - ¿Los criterios de aceptacion son medibles y comprobables?\n - ¿Se identificaron las dependencias?\n - ¿El alcance es apropiado (ni muy grande, ni muy pequeno)?\n - ¿Se cubren casos borde y escenarios de error?\n3. Presenta la spec con tu evaluacion para cada punto del checklist\n4. Pregunta si quiero aprobar, pedir cambios o rechazar"
|
|
174
|
-
},
|
|
175
|
-
"implementSpec": {
|
|
176
|
-
"description": "Comenzar a implementar una spec — genera un handoff con todo el contexto necesario",
|
|
177
|
-
"message": "Quiero comenzar a implementar la spec {specId}.\n\nPor favor:\n1. Obtén los detalles de la spec y verifica que esté en estado 'approved'\n2. Si no está aprobada, advierte y pregunta si quiero aprobarla primero\n3. Actualiza el estado de la spec a 'implementing'\n4. Genera un handoff de implementacion que incluya:\n - Criterios de aceptacion como checklist\n - Enfoque tecnico y cambios de archivos necesarios\n - Dependencias y prerequisitos\n - Estrategia de testing\n5. Presenta el handoff para que pueda comenzar a trabajar"
|
|
178
|
-
},
|
|
179
|
-
"projectStatus": {
|
|
180
|
-
"description": "Obtener una vista completa del proyecto — specs, progreso y metricas de salud",
|
|
181
|
-
"message": "Dame una vista completa del estado del proyecto {projectId}.\n\nPor favor:\n1. Lista todas las specs agrupadas por estado (draft, review, approved, implementing, done)\n2. Muestra el progreso general (cuantas specs estan terminadas vs total)\n3. Resalta specs que podrian necesitar atencion:\n - Specs estancadas en 'implementing' por mucho tiempo\n - Specs en 'draft' que no han sido revisadas\n - Specs con drift detectado\n4. Resume la salud del proyecto en lenguaje simple"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|