@planu/cli 5.7.20 → 5.7.22
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/CHANGELOG.md +41 -0
- package/dist/.planu-build.json +1 -1
- package/dist/cli/commands/doctor.d.ts +1 -6
- package/dist/cli/commands/doctor.js +1 -1
- package/dist/cli/commands/spec.js +2 -32
- package/dist/config/version-defaults.d.ts +0 -8
- package/dist/config/version-defaults.js +0 -28
- package/dist/core/index.d.ts +1 -15
- package/dist/core/index.js +3 -12
- package/dist/core/shared/object.d.ts +3 -0
- package/dist/core/shared/object.js +12 -0
- package/dist/core/spec-validator.d.ts +1 -1
- package/dist/engine/audit-trail/index.d.ts +0 -6
- package/dist/engine/audit-trail/index.js +0 -5
- package/dist/engine/audit-trail/logger.d.ts +0 -1
- package/dist/engine/audit-trail/logger.js +0 -1
- package/dist/engine/auto-updater/config-patcher.d.ts +0 -1
- package/dist/engine/auto-updater/config-patcher.js +1 -1
- package/dist/engine/auto-updater/upgrade-lock.d.ts +0 -4
- package/dist/engine/auto-updater/upgrade-lock.js +1 -1
- package/dist/engine/best-practices-library.d.ts +0 -6
- package/dist/engine/best-practices-library.js +2 -3
- package/dist/engine/build-freshness.d.ts +0 -2
- package/dist/engine/build-freshness.js +2 -2
- package/dist/engine/bump-carrier-binding.d.ts +0 -1
- package/dist/engine/bump-carrier-binding.js +1 -1
- package/dist/engine/code-scanner/gap-scorer.d.ts +2 -2
- package/dist/engine/code-scanner/index.d.ts +1 -5
- package/dist/engine/code-scanner/index.js +0 -4
- package/dist/engine/compact/metrics.d.ts +0 -3
- package/dist/engine/compact/metrics.js +0 -8
- package/dist/engine/compact/registry-loader.d.ts +0 -1
- package/dist/engine/compact/registry-loader.js +0 -3
- package/dist/engine/compact/state-store.d.ts +2 -1
- package/dist/engine/compact/state-store.js +1 -1
- package/dist/engine/complexity-budget/index.d.ts +0 -3
- package/dist/engine/complexity-budget/index.js +0 -3
- package/dist/engine/config-loader.js +24 -32
- package/dist/engine/constitution/sdd-rules-registry.d.ts +1 -2
- package/dist/engine/constitution/sdd-rules-registry.js +1 -1
- package/dist/engine/context-intelligence/compression-guards.d.ts +0 -1
- package/dist/engine/context-intelligence/compression-guards.js +1 -1
- package/dist/engine/conventions-ttl.d.ts +2 -0
- package/dist/engine/conventions-ttl.js +1 -1
- package/dist/engine/core-bridge-project-graph.d.ts +0 -4
- package/dist/engine/core-bridge-project-graph.js +1 -1
- package/dist/engine/core-bridge.d.ts +2 -14
- package/dist/engine/core-bridge.js +0 -9
- package/dist/engine/crash-shield/file-collector.d.ts +0 -5
- package/dist/engine/crash-shield/file-collector.js +1 -10
- package/dist/engine/crash-shield/index.d.ts +0 -1
- package/dist/engine/crash-shield/index.js +0 -1
- package/dist/engine/dependency-evaluator.d.ts +4 -3
- package/dist/engine/detectors/library-detector-langs3b.d.ts +0 -5
- package/dist/engine/detectors/library-detector-langs3b.js +2 -16
- package/dist/engine/detectors/library-detector-langs5.d.ts +0 -1
- package/dist/engine/detectors/library-detector-langs5.js +2 -16
- package/dist/engine/detectors/library-detector-node.d.ts +0 -1
- package/dist/engine/detectors/library-detector-node.js +1 -1
- package/dist/engine/detectors/library-detector-python.d.ts +0 -1
- package/dist/engine/detectors/library-detector-python.js +1 -1
- package/dist/engine/detectors/library-detector.d.ts +0 -6
- package/dist/engine/detectors/library-detector.js +0 -6
- package/dist/engine/detectors/llm-detector/index.d.ts +0 -6
- package/dist/engine/detectors/llm-detector/index.js +0 -6
- package/dist/engine/detectors/otel-detector.js +4 -3
- package/dist/engine/detectors/otel-ecosystem-detectors.d.ts +0 -12
- package/dist/engine/detectors/otel-ecosystem-detectors.js +6 -22
- package/dist/engine/detectors/toml-dependencies.d.ts +2 -0
- package/dist/engine/detectors/toml-dependencies.js +16 -0
- package/dist/engine/doc-generator/portal/index.d.ts +1 -21
- package/dist/engine/doc-generator/portal/index.js +1 -19
- package/dist/engine/doctor/npm-cache-check.d.ts +0 -3
- package/dist/engine/doctor/npm-cache-check.js +3 -3
- package/dist/engine/dora-metrics/calculations.d.ts +1 -4
- package/dist/engine/dora-metrics/calculations.js +2 -2
- package/dist/engine/drift-detection/release-status-drift.js +2 -17
- package/dist/engine/ears-gate.d.ts +2 -2
- package/dist/engine/ears-gate.js +1 -1
- package/dist/engine/errors/registry-loader.d.ts +0 -1
- package/dist/engine/errors/registry-loader.js +1 -1
- package/dist/engine/estimator/calculations.d.ts +1 -4
- package/dist/engine/estimator/calculations.js +2 -17
- package/dist/engine/estimator/constants.d.ts +1 -3
- package/dist/engine/estimator/constants.js +0 -8
- package/dist/engine/evidence-gates/evidence-autofill.d.ts +0 -8
- package/dist/engine/evidence-gates/evidence-autofill.js +4 -4
- package/dist/engine/evidence-gates/lifecycle-gate.d.ts +0 -2
- package/dist/engine/evidence-gates/lifecycle-gate.js +2 -2
- package/dist/engine/execution/deadline-io.d.ts +0 -1
- package/dist/engine/execution/deadline-io.js +1 -16
- package/dist/engine/execution/operation-journal.d.ts +3 -2
- package/dist/engine/execution-plan/plan-utils.d.ts +1 -2
- package/dist/engine/execution-plan/plan-utils.js +0 -15
- package/dist/engine/frontmatter-sha/frozen-fields.d.ts +0 -1
- package/dist/engine/frontmatter-sha/index.d.ts +0 -6
- package/dist/engine/frontmatter-sha/index.js +0 -3
- package/dist/engine/frontmatter-sha/verify-terminal.d.ts +4 -3
- package/dist/engine/git/exec-git.d.ts +0 -2
- package/dist/engine/git/exec-git.js +2 -2
- package/dist/engine/git/planu-autocommit.d.ts +0 -1
- package/dist/engine/git/planu-autocommit.js +1 -1
- package/dist/engine/handoff-artifacts/io.d.ts +2 -1
- package/dist/engine/handoff-artifacts/schemas.d.ts +0 -232
- package/dist/engine/handoff-artifacts/schemas.js +5 -5
- package/dist/engine/handoff-artifacts/version-policy.d.ts +3 -2
- package/dist/engine/handoff-packager.d.ts +2 -1
- package/dist/engine/handoff-packager.js +1 -1
- package/dist/engine/host-rules-templates/index.d.ts +0 -1
- package/dist/engine/host-tool-filter.d.ts +2 -2
- package/dist/engine/housekeeping/find-stale-branches.d.ts +2 -1
- package/dist/engine/housekeeping/index.d.ts +0 -6
- package/dist/engine/housekeeping/index.js +0 -6
- package/dist/engine/keyword-matcher/index.d.ts +0 -1
- package/dist/engine/keyword-matcher/index.js +1 -0
- package/dist/engine/llm-runtime/index.d.ts +1 -2
- package/dist/engine/llm-runtime/index.js +1 -1
- package/dist/engine/llm-runtime/pricing-resolver.d.ts +1 -6
- package/dist/engine/llm-runtime/pricing-resolver.js +1 -1
- package/dist/engine/minimality/index.d.ts +0 -1
- package/dist/engine/minimality/index.js +0 -1
- package/dist/engine/minimality/policy-loader.js +1 -11
- package/dist/engine/mobile-detector-android.d.ts +0 -1
- package/dist/engine/mobile-detector-android.js +1 -1
- package/dist/engine/model-tier-resolver.d.ts +0 -1
- package/dist/engine/model-tier-resolver.js +3 -12
- package/dist/engine/multi-app-detector/app-type.d.ts +0 -3
- package/dist/engine/multi-app-detector/app-type.js +3 -3
- package/dist/engine/multi-app-detector/core.d.ts +1 -4
- package/dist/engine/multi-app-detector/core.js +1 -6
- package/dist/engine/network-policy.d.ts +0 -17
- package/dist/engine/network-policy.js +3 -19
- package/dist/engine/next-spec-resolver/orchestration-planner.d.ts +1 -1
- package/dist/engine/next-spec-resolver/session-writer.d.ts +0 -9
- package/dist/engine/next-spec-resolver/session-writer.js +3 -3
- package/dist/engine/onboarding/new-project-resolver.d.ts +1 -2
- package/dist/engine/onboarding/new-project-resolver.js +1 -1
- package/dist/engine/permissions-merger/stack-detectors.d.ts +0 -3
- package/dist/engine/permissions-merger/stack-detectors.js +0 -8
- package/dist/engine/platform-detector/desktop.js +3 -13
- package/dist/engine/platform-detector/games.js +3 -13
- package/dist/engine/plugin-installer/index.d.ts +2 -5
- package/dist/engine/plugin-installer/index.js +2 -5
- package/dist/engine/plugin-installer/stack-matcher.d.ts +0 -2
- package/dist/engine/plugin-installer/stack-matcher.js +0 -3
- package/dist/engine/plugins/index.d.ts +6 -9
- package/dist/engine/plugins/index.js +6 -9
- package/dist/engine/prior-decisions/index.d.ts +0 -1
- package/dist/engine/prior-decisions/index.js +0 -1
- package/dist/engine/project-graph/index.d.ts +0 -5
- package/dist/engine/project-graph/index.js +0 -5
- package/dist/engine/project-health-checker.d.ts +2 -2
- package/dist/engine/project-scanner/index.d.ts +1 -4
- package/dist/engine/project-scanner/index.js +0 -3
- package/dist/engine/reconcile/apply-changes.d.ts +1 -1
- package/dist/engine/release-pipeline/release-spec-closer.d.ts +1 -0
- package/dist/engine/release-pipeline/release-spec-closer.js +1 -1
- package/dist/engine/reviewer-tokens/index.d.ts +2 -3
- package/dist/engine/reviewer-tokens/index.js +2 -3
- package/dist/engine/reviewer-tokens/types.d.ts +1 -1
- package/dist/engine/reviewer-tokens/verifier.d.ts +0 -4
- package/dist/engine/reviewer-tokens/verifier.js +0 -19
- package/dist/engine/safety/cross-process-lock.d.ts +0 -2
- package/dist/engine/safety/cross-process-lock.js +6 -22
- package/dist/engine/safety/lock-lease-store.d.ts +4 -3
- package/dist/engine/safety/lock-scavenger.d.ts +3 -1
- package/dist/engine/safety/lock-scavenger.js +3 -3
- package/dist/engine/score-to-grade.d.ts +2 -0
- package/dist/engine/score-to-grade.js +16 -0
- package/dist/engine/sdd-model-routing.d.ts +0 -1
- package/dist/engine/sdd-model-routing.js +1 -1
- package/dist/engine/security-analyzer.d.ts +0 -1
- package/dist/engine/security-analyzer.js +0 -1
- package/dist/engine/session/session-tracker.d.ts +2 -2
- package/dist/engine/session/session-tracker.js +2 -2
- package/dist/engine/skill-adapter/index.d.ts +1 -4
- package/dist/engine/skill-adapter/index.js +0 -44
- package/dist/engine/skill-discovery/index.d.ts +1 -5
- package/dist/engine/skill-discovery/index.js +0 -20
- package/dist/engine/skill-discovery/source-adapter.d.ts +1 -7
- package/dist/engine/skill-discovery/source-adapter.js +0 -28
- package/dist/engine/skill-generator/sections.d.ts +1 -1
- package/dist/engine/skill-generator/sections.js +1 -1
- package/dist/engine/skill-generator/skill-definitions.d.ts +0 -1
- package/dist/engine/skill-generator/skill-definitions.js +1 -0
- package/dist/engine/skill-generator/skills.d.ts +0 -1
- package/dist/engine/skill-generator/skills.js +0 -1
- package/dist/engine/skill-generator.d.ts +0 -1
- package/dist/engine/skill-generator.js +0 -1
- package/dist/engine/skill-registry/index.d.ts +1 -9
- package/dist/engine/skill-registry/index.js +1 -9
- package/dist/engine/skill-registry/skill-security-scanner.d.ts +0 -3
- package/dist/engine/skill-registry/skill-security-scanner.js +1 -1
- package/dist/engine/spec-format/bdd-parser.d.ts +2 -9
- package/dist/engine/spec-format/bdd-parser.js +1 -1
- package/dist/engine/spec-format/copula-blacklist.d.ts +2 -5
- package/dist/engine/spec-format/copula-blacklist.js +2 -2
- package/dist/engine/spec-format/criteria-drift.d.ts +0 -1
- package/dist/engine/spec-format/criteria-drift.js +1 -1
- package/dist/engine/spec-format/lean-spec-generator.d.ts +1 -1
- package/dist/engine/spec-format/spec-id.d.ts +0 -2
- package/dist/engine/spec-format/spec-id.js +2 -2
- package/dist/engine/spec-generator/index.d.ts +0 -3
- package/dist/engine/spec-generator/index.js +0 -3
- package/dist/engine/spec-grounding/contract.d.ts +0 -2
- package/dist/engine/spec-grounding/contract.js +3 -3
- package/dist/engine/spec-grounding/grounding-entry-parser.d.ts +0 -1
- package/dist/engine/spec-grounding/grounding-entry-parser.js +1 -3
- package/dist/engine/spec-migrator/folder-operations.d.ts +0 -2
- package/dist/engine/spec-migrator/folder-operations.js +1 -2
- package/dist/engine/spec-migrator/index.d.ts +2 -9
- package/dist/engine/spec-migrator/index.js +2 -9
- package/dist/engine/spec-migrator/strict-planu-cleanup.d.ts +1 -2
- package/dist/engine/spec-migrator/strict-planu-cleanup.js +2 -2
- package/dist/engine/spec-state-machine/transition-spec.d.ts +3 -2
- package/dist/engine/spec-versioning/bump-version.d.ts +0 -2
- package/dist/engine/spec-versioning/bump-version.js +1 -2
- package/dist/engine/stack-auditor/manifest-reader.d.ts +0 -2
- package/dist/engine/stack-auditor/manifest-reader.js +0 -1
- package/dist/engine/supply-chain/index.d.ts +0 -5
- package/dist/engine/supply-chain/index.js +0 -4
- package/dist/engine/team-planner/index.d.ts +0 -2
- package/dist/engine/team-planner/index.js +0 -2
- package/dist/engine/telemetry/health-checker.js +1 -19
- package/dist/engine/telemetry/telemetry-client.d.ts +1 -0
- package/dist/engine/telemetry/telemetry-client.js +1 -1
- package/dist/engine/test-scaffold-generator/advanced-scaffold.js +1 -24
- package/dist/engine/test-selection/policy.d.ts +0 -1
- package/dist/engine/test-selection/policy.js +1 -1
- package/dist/engine/test-spec-generator/index.d.ts +0 -3
- package/dist/engine/test-spec-generator/index.js +0 -3
- package/dist/engine/test-spec-generator/labels.d.ts +0 -1
- package/dist/engine/test-spec-generator/labels.js +1 -1
- package/dist/engine/timing/budget.d.ts +2 -2
- package/dist/engine/timing/structured-log.d.ts +0 -8
- package/dist/engine/timing/structured-log.js +1 -14
- package/dist/engine/token-optimizer/analytics.d.ts +1 -1
- package/dist/engine/token-optimizer/analytics.js +2 -22
- package/dist/engine/token-optimizer/autopilot.d.ts +0 -2
- package/dist/engine/token-optimizer/autopilot.js +1 -27
- package/dist/engine/token-optimizer/index.d.ts +1 -13
- package/dist/engine/token-optimizer/index.js +1 -12
- package/dist/engine/token-optimizer/policy-loader.js +1 -11
- package/dist/engine/universal-rules/user-edit-detector.d.ts +0 -1
- package/dist/engine/universal-rules/user-edit-detector.js +0 -18
- package/dist/engine/usage-tracker/index.d.ts +1 -2
- package/dist/engine/usage-tracker/index.js +1 -2
- package/dist/engine/validation/durable-validation.d.ts +1 -1
- package/dist/engine/validation/durable-validation.js +1 -1
- package/dist/engine/validation/validation-submission.d.ts +0 -2
- package/dist/engine/validation/validation-submission.js +1 -1
- package/dist/engine/validation-evidence-ledger.d.ts +0 -1
- package/dist/engine/validation-evidence-ledger.js +1 -1
- package/dist/engine/validator/analyzer.d.ts +0 -1
- package/dist/engine/validator/analyzer.js +0 -3
- package/dist/engine/validator/checklist.d.ts +1 -5
- package/dist/engine/validator/checklist.js +1 -1
- package/dist/engine/validator/deep-code-checker.d.ts +0 -2
- package/dist/engine/validator/deep-code-checker.js +1 -1
- package/dist/engine/validator/extractors.d.ts +0 -1
- package/dist/engine/validator/extractors.js +0 -1
- package/dist/engine/validator/gates/index.d.ts +0 -1
- package/dist/engine/validator/gates/index.js +1 -0
- package/dist/engine/validator/holistic-report.d.ts +1 -3
- package/dist/engine/validator/holistic-report.js +2 -0
- package/dist/engine/validator/negative-predicate.d.ts +0 -1
- package/dist/engine/validator/negative-predicate.js +1 -1
- package/dist/engine/validator/reliability-gate.d.ts +2 -2
- package/dist/engine/validator/scope-resolver.d.ts +3 -2
- package/dist/engine/validator/spec-compliance-runner.d.ts +0 -5
- package/dist/engine/validator/spec-compliance-runner.js +1 -1
- package/dist/engine/validator.d.ts +0 -4
- package/dist/engine/validator.js +1 -2
- package/dist/engine/verifier/criterion-matcher.d.ts +0 -17
- package/dist/engine/verifier/criterion-matcher.js +2 -9
- package/dist/engine/web-fetcher/registry-loader.d.ts +0 -1
- package/dist/engine/web-fetcher/registry-loader.js +0 -3
- package/dist/engine/workers/handlers/code-map.js +4 -46
- package/dist/engine/workers/handlers/collect-files.d.ts +3 -0
- package/dist/engine/workers/handlers/collect-files.js +53 -0
- package/dist/engine/workers/handlers/documentation.js +4 -49
- package/dist/engine/workers/handlers/optimization.js +4 -46
- package/dist/engine/workers/handlers/security-audit.js +4 -45
- package/dist/engine/workers/index.d.ts +1 -11
- package/dist/engine/workers/index.js +1 -10
- package/dist/engine/workers/schema.d.ts +0 -28
- package/dist/engine/workers/schema.js +2 -2
- package/dist/errors/error-taxonomy.d.ts +0 -1
- package/dist/errors/error-taxonomy.js +0 -3
- package/dist/hosts/claude-code/coach.d.ts +0 -2
- package/dist/hosts/claude-code/coach.js +0 -18
- package/dist/hosts/claude-code/ux/skills-writer.d.ts +1 -2
- package/dist/hosts/claude-code/ux/skills-writer.js +1 -0
- package/dist/hosts/claude-code/ux/subagent-publisher.d.ts +0 -4
- package/dist/hosts/claude-code/ux/subagent-publisher.js +1 -1
- package/dist/hosts/gemini/index.d.ts +1 -3
- package/dist/hosts/gemini/index.js +1 -3
- package/dist/server/router.d.ts +2 -2
- package/dist/storage/approval-operation-lock.d.ts +0 -3
- package/dist/storage/approval-operation-lock.js +1 -1
- package/dist/storage/compliance-gate-config-store.d.ts +0 -1
- package/dist/storage/compliance-gate-config-store.js +2 -7
- package/dist/storage/force-analytics-store.d.ts +0 -2
- package/dist/storage/force-analytics-store.js +2 -2
- package/dist/storage/global-projects-store.d.ts +2 -1
- package/dist/storage/project-identity.d.ts +5 -4
- package/dist/storage/retention.d.ts +0 -1
- package/dist/storage/retention.js +1 -1
- package/dist/storage/runtime-db.d.ts +8 -8
- package/dist/storage/runtime-db.js +1 -1
- package/dist/storage/skill-bootstrap-store.d.ts +1 -3
- package/dist/storage/skill-bootstrap-store.js +1 -14
- package/dist/storage/spec-index.d.ts +0 -1
- package/dist/storage/spec-index.js +1 -4
- package/dist/storage/spec-store.d.ts +2 -1
- package/dist/storage/status-store/file-lock.d.ts +0 -2
- package/dist/storage/status-store/file-lock.js +2 -2
- package/dist/storage/storage-bundle.d.ts +3 -2
- package/dist/storage/storage-catalog.d.ts +1 -1
- package/dist/storage/storage-layout.d.ts +4 -3
- package/dist/storage/token-ledger-store.d.ts +1 -1
- package/dist/storage/token-ledger-store.js +2 -22
- package/dist/tools/audit.js +1 -15
- package/dist/tools/challenge-spec/challenge-report.d.ts +0 -1
- package/dist/tools/challenge-spec/challenge-report.js +1 -1
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.d.ts +0 -5
- package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.js +5 -5
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.d.ts +1 -2
- package/dist/tools/challenge-spec/resilience-challenge-scenarios.js +1 -2
- package/dist/tools/challenge-spec/scenarios-utils.d.ts +1 -1
- package/dist/tools/challenge-spec/scenarios-utils.js +1 -1
- package/dist/tools/challenge-spec-helpers.d.ts +2 -1
- package/dist/tools/claude-settings-file.d.ts +3 -0
- package/dist/tools/claude-settings-file.js +19 -0
- package/dist/tools/configure-permissions.d.ts +2 -1
- package/dist/tools/create-spec/adapters/velocity-estimation.d.ts +2 -1
- package/dist/tools/create-spec-tech.d.ts +1 -1
- package/dist/tools/create-spec-tech.js +1 -1
- package/dist/tools/domain-criteria-handler.d.ts +4 -4
- package/dist/tools/domain-criteria-handler.js +3 -0
- package/dist/tools/generate-teammate-prompt.d.ts +0 -4
- package/dist/tools/generate-teammate-prompt.js +0 -26
- package/dist/tools/git/auto-complete-ops.d.ts +2 -1
- package/dist/tools/git/branch-ops.d.ts +0 -1
- package/dist/tools/git/branch-ops.js +1 -48
- package/dist/tools/git/git-helpers.d.ts +2 -4
- package/dist/tools/git/git-helpers.js +1 -12
- package/dist/tools/init-constitution/principle-detector.d.ts +0 -1
- package/dist/tools/init-constitution/principle-detector.js +1 -1
- package/dist/tools/init-project/agents-md-writer.d.ts +2 -1
- package/dist/tools/init-project/config-builder.d.ts +2 -1
- package/dist/tools/init-project/helpers.d.ts +0 -1
- package/dist/tools/init-project/helpers.js +1 -1
- package/dist/tools/init-project/host-assets-writer.d.ts +3 -9
- package/dist/tools/init-project/host-assets-writer.js +2 -2
- package/dist/tools/init-project/legacy-root-migration.d.ts +2 -1
- package/dist/tools/init-project/lifecycle-helpers.d.ts +2 -6
- package/dist/tools/init-project/lifecycle-helpers.js +1 -1
- package/dist/tools/init-project/migration-runner.d.ts +2 -2
- package/dist/tools/init-project/per-client-files-writer.d.ts +2 -1
- package/dist/tools/init-project/portable-index-reconciler.d.ts +1 -5
- package/dist/tools/init-project/portable-index-reconciler.js +2 -2
- package/dist/tools/init-project/rules-writer.d.ts +2 -1
- package/dist/tools/init-project/scaffold-verifier.d.ts +0 -1
- package/dist/tools/init-project/scaffold-verifier.js +1 -1
- package/dist/tools/init-project/scaffold-writer.d.ts +2 -1
- package/dist/tools/init-project/stack-detector.d.ts +2 -1
- package/dist/tools/jobs/handlers.d.ts +2 -1
- package/dist/tools/output-compressor.d.ts +2 -1
- package/dist/tools/output-integrity-guard.d.ts +0 -8
- package/dist/tools/output-integrity-guard.js +1 -1
- package/dist/tools/package-handoff.d.ts +0 -1
- package/dist/tools/package-handoff.js +0 -1
- package/dist/tools/reconcile-interactive-question-hooks.d.ts +2 -1
- package/dist/tools/reconcile-interactive-question-hooks.js +3 -18
- package/dist/tools/reconcile-session-safeguard-hook.d.ts +1 -1
- package/dist/tools/reconcile-session-safeguard-hook.js +3 -18
- package/dist/tools/reconcile-spec-sanctity-hook.js +4 -19
- package/dist/tools/resolve-project-id.d.ts +2 -1
- package/dist/tools/response-helpers.d.ts +0 -23
- package/dist/tools/response-helpers.js +0 -37
- package/dist/tools/schemas/index.d.ts +3 -19
- package/dist/tools/schemas/index.js +3 -19
- package/dist/tools/schemas/infra.d.ts +0 -8
- package/dist/tools/schemas/infra.js +0 -3
- package/dist/tools/schemas/output-schemas.d.ts +1 -92
- package/dist/tools/schemas/output-schemas.js +0 -2
- package/dist/tools/schemas/spec-id.d.ts +1 -1
- package/dist/tools/schemas/spec-id.js +1 -1
- package/dist/tools/storage-paths-handler.d.ts +2 -1
- package/dist/tools/suggest-tooling/skills-fetcher.d.ts +1 -1
- package/dist/tools/suggest-tooling/skills-fetcher.js +1 -1
- package/dist/tools/tool-entry.d.ts +2 -1
- package/dist/tools/update-status/dod-gates.d.ts +2 -2
- package/dist/tools/update-status/done-receipt-verifier.d.ts +1 -1
- package/dist/tools/update-status/gate-harness.d.ts +2 -1
- package/dist/tools/update-status/transition-guard.d.ts +1 -2
- package/dist/tools/validate.d.ts +1 -4
- package/dist/tools/validate.js +1 -17
- package/dist/types/actionable-spec-metrics.d.ts +2 -1
- package/dist/types/actuals-tracking.d.ts +0 -44
- package/dist/types/actuals-tracking.js +5 -0
- package/dist/types/actuals.d.ts +0 -5
- package/dist/types/actuals.js +1 -0
- package/dist/types/advanced-framework.d.ts +0 -31
- package/dist/types/advanced-framework.js +1 -0
- package/dist/types/agent-orchestration.d.ts +0 -60
- package/dist/types/agent-team.d.ts +2 -19
- package/dist/types/ai-assurance.d.ts +2 -1
- package/dist/types/ai-native.d.ts +5 -4
- package/dist/types/ai-tool-rules.d.ts +3 -2
- package/dist/types/analysis-detection.d.ts +0 -54
- package/dist/types/analysis-detection.js +1 -0
- package/dist/types/analysis-frontend.d.ts +0 -17
- package/dist/types/analysis-frontend.js +3 -0
- package/dist/types/analysis.d.ts +8 -250
- package/dist/types/analysis.js +1 -0
- package/dist/types/analytics.d.ts +0 -146
- package/dist/types/approval.d.ts +0 -1
- package/dist/types/architecture.d.ts +3 -49
- package/dist/types/audit-trail.d.ts +0 -5
- package/dist/types/audit.d.ts +0 -26
- package/dist/types/audit.js +1 -0
- package/dist/types/auto-checkpoint.d.ts +0 -5
- package/dist/types/auto-checkpoint.js +1 -0
- package/dist/types/auto-update.d.ts +0 -28
- package/dist/types/autopilot-summary.d.ts +0 -3
- package/dist/types/autopilot.d.ts +3 -19
- package/dist/types/build-freshness.d.ts +2 -1
- package/dist/types/cascade-hooks.d.ts +2 -1
- package/dist/types/clarification.d.ts +0 -10
- package/dist/types/common/index.d.ts +0 -1
- package/dist/types/common/index.js +0 -1
- package/dist/types/common/learning.d.ts +1 -37
- package/dist/types/common/tech-enums.d.ts +0 -11
- package/dist/types/context-manager.d.ts +2 -1
- package/dist/types/context.d.ts +3 -17
- package/dist/types/conventions.d.ts +4 -88
- package/dist/types/core-bridge.d.ts +2 -8
- package/dist/types/cost-guardrails.d.ts +0 -17
- package/dist/types/cost-ledger.d.ts +0 -5
- package/dist/types/crash-shield-framework-rules.d.ts +4 -3
- package/dist/types/cross-repo-search.d.ts +0 -54
- package/dist/types/cross-repo-search.js +7 -0
- package/dist/types/dashboard.d.ts +0 -11
- package/dist/types/data-gc.d.ts +2 -1
- package/dist/types/decisions.d.ts +3 -42
- package/dist/types/decisions.js +1 -0
- package/dist/types/docs.d.ts +2 -385
- package/dist/types/docs.js +1 -0
- package/dist/types/domain-criteria.d.ts +2 -1
- package/dist/types/drift-monitor-types.d.ts +0 -65
- package/dist/types/durable-job.d.ts +2 -1
- package/dist/types/durable-validation.d.ts +2 -2
- package/dist/types/edge-db.d.ts +3 -37
- package/dist/types/edge-db.js +6 -0
- package/dist/types/elicitation.d.ts +2 -121
- package/dist/types/elicitation.js +10 -0
- package/dist/types/env.d.ts +6 -88
- package/dist/types/env.js +1 -0
- package/dist/types/errors/structured-error.d.ts +0 -2
- package/dist/types/escalator.d.ts +3 -2
- package/dist/types/estimation.d.ts +2 -81
- package/dist/types/estimation.js +2 -0
- package/dist/types/events.d.ts +2 -187
- package/dist/types/evidence-autofill.d.ts +0 -2
- package/dist/types/evidence-autofill.js +1 -0
- package/dist/types/evidence-gates.d.ts +2 -1
- package/dist/types/evidence-index.d.ts +3 -2
- package/dist/types/execution.d.ts +4 -43
- package/dist/types/facilitator.d.ts +2 -1
- package/dist/types/file-hooks.d.ts +7 -168
- package/dist/types/file-hooks.js +17 -0
- package/dist/types/git.d.ts +9 -204
- package/dist/types/github.d.ts +2 -89
- package/dist/types/github.js +12 -0
- package/dist/types/handoff-artifacts.d.ts +11 -10
- package/dist/types/health.d.ts +0 -11
- package/dist/types/hooks.d.ts +11 -79
- package/dist/types/hooks.js +17 -0
- package/dist/types/housekeeping.d.ts +3 -2
- package/dist/types/ide.d.ts +0 -56
- package/dist/types/ide.js +10 -0
- package/dist/types/index.d.ts +2 -128
- package/dist/types/index.js +0 -125
- package/dist/types/infrastructure.d.ts +4 -70
- package/dist/types/installation.d.ts +2 -1
- package/dist/types/keyword-matcher.d.ts +0 -8
- package/dist/types/legacy-guidance.d.ts +2 -1
- package/dist/types/legal.d.ts +2 -20
- package/dist/types/legal.js +2 -0
- package/dist/types/lessons.d.ts +3 -30
- package/dist/types/lifecycle.d.ts +0 -111
- package/dist/types/lifecycle.js +12 -0
- package/dist/types/living-spec/annotations.d.ts +3 -85
- package/dist/types/living-spec/annotations.js +6 -0
- package/dist/types/living-spec/dashboard-and-sync.d.ts +5 -159
- package/dist/types/living-spec/dashboard-and-sync.js +1 -0
- package/dist/types/living-spec.d.ts +0 -1
- package/dist/types/living-spec.js +0 -1
- package/dist/types/llm-security.d.ts +0 -39
- package/dist/types/local-first.d.ts +0 -41
- package/dist/types/local-first.js +7 -0
- package/dist/types/mcp-config.d.ts +3 -2
- package/dist/types/mcp.d.ts +0 -159
- package/dist/types/mcp.js +1 -0
- package/dist/types/migration/canonical-storage.d.ts +3 -2
- package/dist/types/minimal-implementation-gate.d.ts +6 -5
- package/dist/types/model-routing.d.ts +2 -48
- package/dist/types/model-routing.js +2 -0
- package/dist/types/multi-agent.d.ts +0 -158
- package/dist/types/multi-agent.js +15 -0
- package/dist/types/oauth.d.ts +0 -42
- package/dist/types/oauth.js +1 -0
- package/dist/types/observability.d.ts +0 -92
- package/dist/types/observability.js +14 -0
- package/dist/types/opencode.d.ts +0 -23
- package/dist/types/orchestration/index.d.ts +1 -4
- package/dist/types/orchestration/nli.d.ts +3 -74
- package/dist/types/outbox-worker.d.ts +2 -1
- package/dist/types/paradigm.d.ts +5 -17
- package/dist/types/paradigm.js +3 -0
- package/dist/types/parallel-safety-types.d.ts +0 -17
- package/dist/types/parallel-safety-types.js +4 -0
- package/dist/types/permissions-config.d.ts +2 -1
- package/dist/types/plugin-configs.d.ts +2 -59
- package/dist/types/plugin-configs.js +6 -0
- package/dist/types/plugin-install.d.ts +0 -1
- package/dist/types/plugins.d.ts +5 -22
- package/dist/types/portal.d.ts +2 -60
- package/dist/types/portal.js +1 -0
- package/dist/types/privacy.d.ts +3 -33
- package/dist/types/privacy.js +6 -0
- package/dist/types/product-public.d.ts +5 -4
- package/dist/types/project/inputs.d.ts +0 -29
- package/dist/types/project/inputs.js +3 -0
- package/dist/types/project/library-groups.d.ts +0 -6
- package/dist/types/project/mfe-detection.d.ts +5 -4
- package/dist/types/project/planu-config.d.ts +2 -1
- package/dist/types/project/platform-mobile.d.ts +0 -1
- package/dist/types/project/platform-specialty.d.ts +3 -12
- package/dist/types/project-knowledge-graph.d.ts +7 -6
- package/dist/types/proposal.d.ts +0 -65
- package/dist/types/proposal.js +1 -0
- package/dist/types/rbac.d.ts +0 -33
- package/dist/types/rbac.js +6 -0
- package/dist/types/readiness.d.ts +0 -2
- package/dist/types/readiness.js +4 -0
- package/dist/types/reconcile.d.ts +0 -11
- package/dist/types/registry.d.ts +3 -64
- package/dist/types/registry.js +8 -0
- package/dist/types/release-pipeline.d.ts +0 -5
- package/dist/types/reviewer-tokens.d.ts +0 -7
- package/dist/types/safety-scanner.d.ts +2 -18
- package/dist/types/safety.d.ts +0 -50
- package/dist/types/scan-project.d.ts +0 -95
- package/dist/types/schema-parity.d.ts +0 -66
- package/dist/types/schema-parity.js +7 -0
- package/dist/types/scope-boundaries.d.ts +2 -1
- package/dist/types/scope.d.ts +2 -67
- package/dist/types/sdd-flow.d.ts +7 -84
- package/dist/types/security.d.ts +3 -67
- package/dist/types/self-healing.d.ts +3 -2
- package/dist/types/session-checkpoint.d.ts +0 -26
- package/dist/types/skill-adapter.d.ts +0 -6
- package/dist/types/skill-adapter.js +1 -0
- package/dist/types/skill-bootstrap.d.ts +3 -38
- package/dist/types/skill-generation.d.ts +0 -94
- package/dist/types/skill-generation.js +3 -0
- package/dist/types/skill-registry.d.ts +4 -11
- package/dist/types/slack.d.ts +2 -17
- package/dist/types/slack.js +3 -0
- package/dist/types/spec/canonical-repair.d.ts +2 -1
- package/dist/types/spec/clarification.d.ts +2 -23
- package/dist/types/spec/core.d.ts +10 -18
- package/dist/types/spec/health-score.d.ts +2 -1
- package/dist/types/spec/index.d.ts +0 -2
- package/dist/types/spec/index.js +0 -2
- package/dist/types/spec/inputs.d.ts +1 -56
- package/dist/types/spec/inputs.js +1 -0
- package/dist/types/spec/versioning.d.ts +2 -1
- package/dist/types/spec-format.d.ts +2 -9
- package/dist/types/spec-generator.d.ts +0 -5
- package/dist/types/spec-language-translation.d.ts +2 -1
- package/dist/types/spec-lint.d.ts +2 -1
- package/dist/types/spec-lock.d.ts +0 -28
- package/dist/types/spec-lock.js +5 -0
- package/dist/types/spec-observability.d.ts +0 -54
- package/dist/types/spec-observability.js +8 -0
- package/dist/types/spec-quality.d.ts +0 -26
- package/dist/types/spec-quality.js +3 -0
- package/dist/types/stack/audit.d.ts +2 -86
- package/dist/types/stack/build-tool.d.ts +4 -15
- package/dist/types/stack/build-tool.js +2 -0
- package/dist/types/stack/index.d.ts +3 -5
- package/dist/types/stack/recommend.d.ts +6 -132
- package/dist/types/status.d.ts +2 -1
- package/dist/types/storage-catalog.d.ts +5 -4
- package/dist/types/supply-chain.d.ts +3 -17
- package/dist/types/tdd-enforcement.d.ts +0 -6
- package/dist/types/team-planner.d.ts +3 -70
- package/dist/types/team-planner.js +2 -0
- package/dist/types/technology-registry.d.ts +4 -3
- package/dist/types/technology-selection.d.ts +4 -3
- package/dist/types/telemetry.d.ts +2 -27
- package/dist/types/testing.d.ts +0 -108
- package/dist/types/timing.d.ts +3 -2
- package/dist/types/token-ledger.d.ts +1 -70
- package/dist/types/token-ledger.js +29 -1
- package/dist/types/token-optimization.d.ts +0 -6
- package/dist/types/token-waste-autopilot.d.ts +4 -3
- package/dist/types/tooling/audit.d.ts +2 -67
- package/dist/types/tooling/audit.js +3 -0
- package/dist/types/tooling/database.d.ts +0 -62
- package/dist/types/tooling/database.js +1 -0
- package/dist/types/tooling/index.d.ts +2 -7
- package/dist/types/transition-log.d.ts +2 -1
- package/dist/types/transport.d.ts +2 -1
- package/dist/types/ui.d.ts +0 -49
- package/dist/types/ui.js +1 -1
- package/dist/types/universal-rules/index.d.ts +0 -27
- package/dist/types/universal-rules/index.js +1 -0
- package/dist/types/usage.d.ts +0 -20
- package/dist/types/usage.js +3 -0
- package/dist/types/validation-evidence.d.ts +6 -5
- package/dist/types/validation-loop.d.ts +2 -1
- package/dist/types/validation-receipt.d.ts +3 -15
- package/dist/types/vector-store.d.ts +2 -62
- package/dist/types/vector-store.js +7 -0
- package/dist/types/velocity.d.ts +0 -12
- package/dist/types/verifiable-criteria.d.ts +2 -21
- package/dist/types/verifiable-criteria.js +7 -0
- package/dist/types/workers.d.ts +5 -44
- package/dist/types/workflow.d.ts +0 -68
- package/dist/types/workflow.js +3 -0
- package/dist/types/workspace-dashboard-types.d.ts +0 -6
- package/dist/types/workspace-overview.d.ts +0 -93
- package/dist/types/workspace-overview.js +9 -0
- package/package.json +2 -2
- package/planu-plugin.json +1 -1
- package/dist/engine/coach/types.d.ts +0 -2
- package/dist/engine/coach/types.js +0 -2
- package/dist/engine/frontmatter-sha/reseal.d.ts +0 -25
- package/dist/engine/frontmatter-sha/reseal.js +0 -29
- package/dist/engine/handoff-artifacts/index.d.ts +0 -6
- package/dist/engine/handoff-artifacts/index.js +0 -4
- package/dist/tools/schemas/delete.d.ts +0 -19
- package/dist/tools/schemas/delete.js +0 -12
- package/dist/tools/schemas/ecosystem-schemas.d.ts +0 -6
- package/dist/tools/schemas/ecosystem-schemas.js +0 -10
- package/dist/tools/schemas/github.d.ts +0 -56
- package/dist/tools/schemas/github.js +0 -78
- package/dist/tools/schemas/ide-config.d.ts +0 -38
- package/dist/tools/schemas/ide-config.js +0 -28
- package/dist/tools/schemas/llm-provider-schemas.d.ts +0 -26
- package/dist/tools/schemas/llm-provider-schemas.js +0 -16
- package/dist/tools/schemas/plugins-schemas.d.ts +0 -46
- package/dist/tools/schemas/plugins-schemas.js +0 -52
- package/dist/tools/schemas/project-graph.d.ts +0 -18
- package/dist/tools/schemas/project-graph.js +0 -8
- package/dist/tools/schemas/reconcile-skills-schemas.d.ts +0 -8
- package/dist/tools/schemas/reconcile-skills-schemas.js +0 -23
- package/dist/tools/schemas/registry.d.ts +0 -41
- package/dist/tools/schemas/registry.js +0 -79
- package/dist/tools/schemas/runtime-security.d.ts +0 -12
- package/dist/tools/schemas/runtime-security.js +0 -9
- package/dist/tools/schemas/session.d.ts +0 -34
- package/dist/tools/schemas/session.js +0 -52
- package/dist/tools/schemas/skill-registry-schemas.d.ts +0 -15
- package/dist/tools/schemas/skill-registry-schemas.js +0 -45
- package/dist/tools/schemas/spec-registry-schemas.d.ts +0 -39
- package/dist/tools/schemas/spec-registry-schemas.js +0 -75
- package/dist/tools/schemas/token-intelligence.d.ts +0 -23
- package/dist/tools/schemas/token-intelligence.js +0 -20
- package/dist/tools/schemas/token-optimization.d.ts +0 -12
- package/dist/tools/schemas/token-optimization.js +0 -9
- package/dist/tools/schemas/workers-schema.d.ts +0 -21
- package/dist/tools/schemas/workers-schema.js +0 -42
- package/dist/types/ac-gap.d.ts +0 -57
- package/dist/types/ac-gap.js +0 -3
- package/dist/types/agent-frameworks.d.ts +0 -62
- package/dist/types/agent-frameworks.js +0 -3
- package/dist/types/agent-memory.d.ts +0 -20
- package/dist/types/agent-memory.js +0 -3
- package/dist/types/agent-ready.d.ts +0 -58
- package/dist/types/agent-ready.js +0 -3
- package/dist/types/agent-role-mapper.d.ts +0 -32
- package/dist/types/agent-role-mapper.js +0 -2
- package/dist/types/agent-roles.d.ts +0 -21
- package/dist/types/agent-roles.js +0 -2
- package/dist/types/agent-spawner.d.ts +0 -30
- package/dist/types/agent-spawner.js +0 -3
- package/dist/types/agent-squad.d.ts +0 -57
- package/dist/types/agent-squad.js +0 -3
- package/dist/types/agent-telemetry.d.ts +0 -27
- package/dist/types/agent-telemetry.js +0 -3
- package/dist/types/agents-md.d.ts +0 -20
- package/dist/types/agents-md.js +0 -3
- package/dist/types/ai-cost.d.ts +0 -98
- package/dist/types/ai-cost.js +0 -4
- package/dist/types/ai-integration.d.ts +0 -65
- package/dist/types/ai-integration.js +0 -3
- package/dist/types/api-contract.d.ts +0 -219
- package/dist/types/api-contract.js +0 -3
- package/dist/types/architecture-lint.d.ts +0 -71
- package/dist/types/architecture-lint.js +0 -3
- package/dist/types/auth.d.ts +0 -82
- package/dist/types/auth.js +0 -3
- package/dist/types/auto-promoter.d.ts +0 -26
- package/dist/types/auto-promoter.js +0 -3
- package/dist/types/autopilot-config.d.ts +0 -22
- package/dist/types/autopilot-config.js +0 -14
- package/dist/types/batch-script.d.ts +0 -36
- package/dist/types/batch-script.js +0 -3
- package/dist/types/browser-validator.d.ts +0 -42
- package/dist/types/browser-validator.js +0 -3
- package/dist/types/ci.d.ts +0 -164
- package/dist/types/ci.js +0 -3
- package/dist/types/cline-integration.d.ts +0 -30
- package/dist/types/cline-integration.js +0 -3
- package/dist/types/coach.d.ts +0 -13
- package/dist/types/coach.js +0 -3
- package/dist/types/code-graph-integration.d.ts +0 -22
- package/dist/types/code-graph-integration.js +0 -3
- package/dist/types/code-impact.d.ts +0 -57
- package/dist/types/code-impact.js +0 -3
- package/dist/types/code-transforms.d.ts +0 -114
- package/dist/types/code-transforms.js +0 -11
- package/dist/types/codex-integration.d.ts +0 -55
- package/dist/types/codex-integration.js +0 -3
- package/dist/types/comments.d.ts +0 -68
- package/dist/types/comments.js +0 -3
- package/dist/types/common/context.d.ts +0 -29
- package/dist/types/common/context.js +0 -3
- package/dist/types/compliance-audit.d.ts +0 -55
- package/dist/types/compliance-audit.js +0 -3
- package/dist/types/compliance-tests.d.ts +0 -41
- package/dist/types/compliance-tests.js +0 -3
- package/dist/types/compliance.d.ts +0 -44
- package/dist/types/compliance.js +0 -3
- package/dist/types/concurrency.d.ts +0 -198
- package/dist/types/concurrency.js +0 -3
- package/dist/types/context-budget.d.ts +0 -90
- package/dist/types/context-budget.js +0 -3
- package/dist/types/context-profile.d.ts +0 -22
- package/dist/types/context-profile.js +0 -2
- package/dist/types/coverage.d.ts +0 -95
- package/dist/types/coverage.js +0 -4
- package/dist/types/css-framework.d.ts +0 -110
- package/dist/types/css-framework.js +0 -3
- package/dist/types/delete-first.d.ts +0 -118
- package/dist/types/delete-first.js +0 -3
- package/dist/types/delete.d.ts +0 -68
- package/dist/types/delete.js +0 -3
- package/dist/types/dependency-impact.d.ts +0 -45
- package/dist/types/dependency-impact.js +0 -3
- package/dist/types/deploy.d.ts +0 -73
- package/dist/types/deploy.js +0 -3
- package/dist/types/design-to-spec.d.ts +0 -100
- package/dist/types/design-to-spec.js +0 -3
- package/dist/types/diagram.d.ts +0 -73
- package/dist/types/diagram.js +0 -2
- package/dist/types/diff-spec-types.d.ts +0 -39
- package/dist/types/diff-spec-types.js +0 -3
- package/dist/types/discovery.d.ts +0 -22
- package/dist/types/discovery.js +0 -3
- package/dist/types/dogfooding.d.ts +0 -34
- package/dist/types/dogfooding.js +0 -2
- package/dist/types/drift-watcher.d.ts +0 -35
- package/dist/types/drift-watcher.js +0 -3
- package/dist/types/dynamic-knowledge.d.ts +0 -47
- package/dist/types/dynamic-knowledge.js +0 -11
- package/dist/types/dynamic-migration.d.ts +0 -68
- package/dist/types/dynamic-migration.js +0 -3
- package/dist/types/e2e-test-generator.d.ts +0 -27
- package/dist/types/e2e-test-generator.js +0 -3
- package/dist/types/ecosystem.d.ts +0 -45
- package/dist/types/ecosystem.js +0 -3
- package/dist/types/elicit-schema.d.ts +0 -20
- package/dist/types/elicit-schema.js +0 -3
- package/dist/types/export.d.ts +0 -28
- package/dist/types/export.js +0 -3
- package/dist/types/feedback.d.ts +0 -113
- package/dist/types/feedback.js +0 -3
- package/dist/types/figma.d.ts +0 -257
- package/dist/types/figma.js +0 -3
- package/dist/types/filesystem-hooks.d.ts +0 -30
- package/dist/types/filesystem-hooks.js +0 -3
- package/dist/types/gherkin.d.ts +0 -19
- package/dist/types/gherkin.js +0 -3
- package/dist/types/github-copilot-integration.d.ts +0 -30
- package/dist/types/github-copilot-integration.js +0 -3
- package/dist/types/global-rules-types.d.ts +0 -31
- package/dist/types/global-rules-types.js +0 -3
- package/dist/types/hook-generator.d.ts +0 -49
- package/dist/types/hook-generator.js +0 -3
- package/dist/types/ideas.d.ts +0 -37
- package/dist/types/ideas.js +0 -3
- package/dist/types/impact-detection.d.ts +0 -28
- package/dist/types/impact-detection.js +0 -3
- package/dist/types/import-spec.d.ts +0 -123
- package/dist/types/import-spec.js +0 -3
- package/dist/types/incoming-webhook.d.ts +0 -40
- package/dist/types/incoming-webhook.js +0 -3
- package/dist/types/living-spec/auto-update-and-merge.d.ts +0 -101
- package/dist/types/living-spec/auto-update-and-merge.js +0 -3
- package/dist/types/living-specs.d.ts +0 -35
- package/dist/types/living-specs.js +0 -3
- package/dist/types/llm-providers.d.ts +0 -140
- package/dist/types/llm-providers.js +0 -3
- package/dist/types/marketplace-fetcher.d.ts +0 -42
- package/dist/types/marketplace-fetcher.js +0 -3
- package/dist/types/mcp-recommendation.d.ts +0 -47
- package/dist/types/mcp-recommendation.js +0 -3
- package/dist/types/migration/analysis.d.ts +0 -79
- package/dist/types/migration/analysis.js +0 -3
- package/dist/types/migration/database.d.ts +0 -70
- package/dist/types/migration/database.js +0 -3
- package/dist/types/migration/index.d.ts +0 -6
- package/dist/types/migration/index.js +0 -3
- package/dist/types/migration/io.d.ts +0 -29
- package/dist/types/migration/io.js +0 -3
- package/dist/types/migration/planning.d.ts +0 -104
- package/dist/types/migration/planning.js +0 -3
- package/dist/types/migration-advanced.d.ts +0 -235
- package/dist/types/migration-advanced.js +0 -4
- package/dist/types/multi-agent-review.d.ts +0 -54
- package/dist/types/multi-agent-review.js +0 -3
- package/dist/types/observatory.d.ts +0 -26
- package/dist/types/observatory.js +0 -2
- package/dist/types/onboarding-types.d.ts +0 -69
- package/dist/types/onboarding-types.js +0 -3
- package/dist/types/orchestration/mcp-hub.d.ts +0 -29
- package/dist/types/orchestration/mcp-hub.js +0 -3
- package/dist/types/orchestration/pm.d.ts +0 -71
- package/dist/types/orchestration/pm.js +0 -3
- package/dist/types/orchestration/session.d.ts +0 -152
- package/dist/types/orchestration/session.js +0 -2
- package/dist/types/orchestration-runtime.d.ts +0 -198
- package/dist/types/orchestration-runtime.js +0 -4
- package/dist/types/orphan-spec-refs.d.ts +0 -37
- package/dist/types/orphan-spec-refs.js +0 -3
- package/dist/types/outbound-webhook.d.ts +0 -55
- package/dist/types/outbound-webhook.js +0 -3
- package/dist/types/performance-analysis.d.ts +0 -33
- package/dist/types/performance-analysis.js +0 -3
- package/dist/types/plan-mode.d.ts +0 -27
- package/dist/types/plan-mode.js +0 -3
- package/dist/types/platform-engineering.d.ts +0 -21
- package/dist/types/platform-engineering.js +0 -3
- package/dist/types/plugin-manifest.d.ts +0 -58
- package/dist/types/plugin-manifest.js +0 -4
- package/dist/types/project-dna.d.ts +0 -46
- package/dist/types/project-dna.js +0 -4
- package/dist/types/project-drift.d.ts +0 -29
- package/dist/types/project-drift.js +0 -3
- package/dist/types/property-testing.d.ts +0 -50
- package/dist/types/property-testing.js +0 -3
- package/dist/types/provider-adapter.d.ts +0 -61
- package/dist/types/provider-adapter.js +0 -9
- package/dist/types/red-team.d.ts +0 -29
- package/dist/types/red-team.js +0 -3
- package/dist/types/registry-publishers.d.ts +0 -63
- package/dist/types/registry-publishers.js +0 -4
- package/dist/types/release/stuck-spec.d.ts +0 -10
- package/dist/types/release/stuck-spec.js +0 -3
- package/dist/types/resources.d.ts +0 -20
- package/dist/types/resources.js +0 -3
- package/dist/types/reverse-engineer.d.ts +0 -90
- package/dist/types/reverse-engineer.js +0 -3
- package/dist/types/risk.d.ts +0 -90
- package/dist/types/risk.js +0 -2
- package/dist/types/runtime-security.d.ts +0 -110
- package/dist/types/runtime-security.js +0 -4
- package/dist/types/schema-generator.d.ts +0 -61
- package/dist/types/schema-generator.js +0 -3
- package/dist/types/schema.d.ts +0 -125
- package/dist/types/schema.js +0 -2
- package/dist/types/security/cve-refresh-log.d.ts +0 -11
- package/dist/types/security/cve-refresh-log.js +0 -2
- package/dist/types/security/index.d.ts +0 -2
- package/dist/types/security/index.js +0 -2
- package/dist/types/sentry.d.ts +0 -50
- package/dist/types/sentry.js +0 -3
- package/dist/types/skill-eval.d.ts +0 -41
- package/dist/types/skill-eval.js +0 -3
- package/dist/types/solid-check.d.ts +0 -78
- package/dist/types/solid-check.js +0 -3
- package/dist/types/source-resolution.d.ts +0 -49
- package/dist/types/source-resolution.js +0 -10
- package/dist/types/spec/agent.d.ts +0 -111
- package/dist/types/spec/agent.js +0 -3
- package/dist/types/spec/repair.d.ts +0 -33
- package/dist/types/spec/repair.js +0 -3
- package/dist/types/spec-cookbook-types.d.ts +0 -45
- package/dist/types/spec-cookbook-types.js +0 -3
- package/dist/types/spec-decomposer.d.ts +0 -125
- package/dist/types/spec-decomposer.js +0 -4
- package/dist/types/spec-dependency-graph.d.ts +0 -21
- package/dist/types/spec-dependency-graph.js +0 -2
- package/dist/types/spec-diff-visual-types.d.ts +0 -75
- package/dist/types/spec-diff-visual-types.js +0 -3
- package/dist/types/spec-effectiveness.d.ts +0 -63
- package/dist/types/spec-effectiveness.js +0 -3
- package/dist/types/spec-elicitation.d.ts +0 -26
- package/dist/types/spec-elicitation.js +0 -3
- package/dist/types/spec-export.d.ts +0 -18
- package/dist/types/spec-export.js +0 -3
- package/dist/types/spec-from-issue.d.ts +0 -37
- package/dist/types/spec-from-issue.js +0 -3
- package/dist/types/spec-hooks.d.ts +0 -62
- package/dist/types/spec-hooks.js +0 -3
- package/dist/types/spec-marketplace.d.ts +0 -31
- package/dist/types/spec-marketplace.js +0 -3
- package/dist/types/spec-obesity-healer.d.ts +0 -32
- package/dist/types/spec-obesity-healer.js +0 -3
- package/dist/types/spec-registry.d.ts +0 -194
- package/dist/types/spec-registry.js +0 -3
- package/dist/types/spec-scheduler.d.ts +0 -58
- package/dist/types/spec-scheduler.js +0 -3
- package/dist/types/spec-source-types.d.ts +0 -37
- package/dist/types/spec-source-types.js +0 -3
- package/dist/types/spec-templates.d.ts +0 -135
- package/dist/types/spec-templates.js +0 -3
- package/dist/types/spec-versioning.d.ts +0 -152
- package/dist/types/spec-versioning.js +0 -3
- package/dist/types/stack/deprecation.d.ts +0 -38
- package/dist/types/stack/deprecation.js +0 -3
- package/dist/types/stack/react.d.ts +0 -11
- package/dist/types/stack/react.js +0 -3
- package/dist/types/steering.d.ts +0 -40
- package/dist/types/steering.js +0 -3
- package/dist/types/storage.d.ts +0 -16
- package/dist/types/storage.js +0 -3
- package/dist/types/storybook.d.ts +0 -27
- package/dist/types/storybook.js +0 -3
- package/dist/types/structural-memory.d.ts +0 -138
- package/dist/types/structural-memory.js +0 -2
- package/dist/types/supabase.d.ts +0 -108
- package/dist/types/supabase.js +0 -3
- package/dist/types/tdd-strict.d.ts +0 -54
- package/dist/types/tdd-strict.js +0 -3
- package/dist/types/team-analytics.d.ts +0 -52
- package/dist/types/team-analytics.js +0 -3
- package/dist/types/tech-debt.d.ts +0 -66
- package/dist/types/tech-debt.js +0 -3
- package/dist/types/test-reverse-engineer.d.ts +0 -32
- package/dist/types/test-reverse-engineer.js +0 -3
- package/dist/types/tool-tier.d.ts +0 -16
- package/dist/types/tool-tier.js +0 -3
- package/dist/types/tooling/assessment.d.ts +0 -87
- package/dist/types/tooling/assessment.js +0 -2
- package/dist/types/tooling/bundles.d.ts +0 -34
- package/dist/types/tooling/bundles.js +0 -3
- package/dist/types/tooling/catalog.d.ts +0 -134
- package/dist/types/tooling/catalog.js +0 -3
- package/dist/types/tooling/memory-config.d.ts +0 -25
- package/dist/types/tooling/memory-config.js +0 -3
- package/dist/types/tooling/token-optimizer.d.ts +0 -42
- package/dist/types/tooling/token-optimizer.js +0 -3
- package/dist/types/type-safety-gate.d.ts +0 -21
- package/dist/types/type-safety-gate.js +0 -3
- package/dist/types/verify-integrations.d.ts +0 -80
- package/dist/types/verify-integrations.js +0 -3
- package/dist/types/version-resolution.d.ts +0 -23
- package/dist/types/version-resolution.js +0 -3
- package/dist/types/well-known.d.ts +0 -70
- package/dist/types/well-known.js +0 -3
- package/dist/types/workflow-checkpoint.d.ts +0 -66
- package/dist/types/workflow-checkpoint.js +0 -4
|
@@ -89,98 +89,7 @@ export declare const ListSpecsOutputSchema: {
|
|
|
89
89
|
nextAction: z.ZodString;
|
|
90
90
|
}, z.core.$strip>>>;
|
|
91
91
|
};
|
|
92
|
-
|
|
93
|
-
export declare const ListSpecsOutputObjectSchema: z.ZodObject<{
|
|
94
|
-
projectId: z.ZodString;
|
|
95
|
-
filters: z.ZodObject<{
|
|
96
|
-
status: z.ZodString;
|
|
97
|
-
type: z.ZodString;
|
|
98
|
-
}, z.core.$strip>;
|
|
99
|
-
count: z.ZodNumber;
|
|
100
|
-
totalCount: z.ZodNumber;
|
|
101
|
-
specs: z.ZodArray<z.ZodObject<{
|
|
102
|
-
id: z.ZodString;
|
|
103
|
-
title: z.ZodString;
|
|
104
|
-
type: z.ZodString;
|
|
105
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
106
|
-
status: z.ZodString;
|
|
107
|
-
difficulty: z.ZodOptional<z.ZodString>;
|
|
108
|
-
risk: z.ZodOptional<z.ZodString>;
|
|
109
|
-
target: z.ZodOptional<z.ZodString>;
|
|
110
|
-
tags: z.ZodArray<z.ZodString>;
|
|
111
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
112
|
-
estimation: z.ZodOptional<z.ZodObject<{
|
|
113
|
-
devHours: z.ZodNumber;
|
|
114
|
-
totalCostUsd: z.ZodNumber;
|
|
115
|
-
}, z.core.$strip>>;
|
|
116
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
117
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
118
|
-
lastModified: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$strip>>;
|
|
120
|
-
summary: z.ZodObject<{
|
|
121
|
-
byStatus: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
122
|
-
byType: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
123
|
-
totalDevHours: z.ZodNumber;
|
|
124
|
-
totalReviewHours: z.ZodNumber;
|
|
125
|
-
totalCostUsd: z.ZodNumber;
|
|
126
|
-
}, z.core.$strip>;
|
|
127
|
-
message: z.ZodString;
|
|
128
|
-
humanSummary: z.ZodOptional<z.ZodString>;
|
|
129
|
-
branchInfo: z.ZodOptional<z.ZodObject<{
|
|
130
|
-
current: z.ZodString;
|
|
131
|
-
all: z.ZodArray<z.ZodString>;
|
|
132
|
-
count: z.ZodNumber;
|
|
133
|
-
}, z.core.$strip>>;
|
|
134
|
-
autopilotSummary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
-
migrationIssues: z.ZodOptional<z.ZodObject<{
|
|
136
|
-
ambiguousCriteria: z.ZodArray<z.ZodObject<{
|
|
137
|
-
specId: z.ZodString;
|
|
138
|
-
specTitle: z.ZodString;
|
|
139
|
-
specContext: z.ZodString;
|
|
140
|
-
criterionText: z.ZodString;
|
|
141
|
-
score: z.ZodNumber;
|
|
142
|
-
reason: z.ZodString;
|
|
143
|
-
}, z.core.$strip>>;
|
|
144
|
-
}, z.core.$strip>>;
|
|
145
|
-
interactiveQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
146
|
-
question: z.ZodString;
|
|
147
|
-
header: z.ZodString;
|
|
148
|
-
options: z.ZodArray<z.ZodObject<{
|
|
149
|
-
label: z.ZodString;
|
|
150
|
-
description: z.ZodString;
|
|
151
|
-
}, z.core.$strip>>;
|
|
152
|
-
multiSelect: z.ZodBoolean;
|
|
153
|
-
}, z.core.$strip>>>;
|
|
154
|
-
staleStatusWarnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
155
|
-
specId: z.ZodString;
|
|
156
|
-
currentStatus: z.ZodString;
|
|
157
|
-
releasedInVersion: z.ZodString;
|
|
158
|
-
commitSha: z.ZodString;
|
|
159
|
-
suggestedAction: z.ZodLiteral<"auto-fix-available">;
|
|
160
|
-
}, z.core.$strip>>>;
|
|
161
|
-
legacyMigrationDirectives: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
162
|
-
specId: z.ZodString;
|
|
163
|
-
legacyFiles: z.ZodArray<z.ZodObject<{
|
|
164
|
-
path: z.ZodString;
|
|
165
|
-
classification: z.ZodEnum<{
|
|
166
|
-
"content-bearing": "content-bearing";
|
|
167
|
-
transient: "transient";
|
|
168
|
-
}>;
|
|
169
|
-
targetSection: z.ZodOptional<z.ZodString>;
|
|
170
|
-
inlinedContent: z.ZodOptional<z.ZodString>;
|
|
171
|
-
}, z.core.$strip>>;
|
|
172
|
-
directive: z.ZodLiteral<"migrate_legacy_spec">;
|
|
173
|
-
}, z.core.$strip>>>;
|
|
174
|
-
nextAction: z.ZodOptional<z.ZodString>;
|
|
175
|
-
ghosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
176
|
-
id: z.ZodString;
|
|
177
|
-
title: z.ZodString;
|
|
178
|
-
status: z.ZodString;
|
|
179
|
-
specPath: z.ZodString;
|
|
180
|
-
nextAction: z.ZodString;
|
|
181
|
-
}, z.core.$strip>>>;
|
|
182
|
-
}, z.core.$strip>;
|
|
183
|
-
export type ListSpecsStructuredContent = z.infer<typeof ListSpecsOutputObjectSchema>;
|
|
92
|
+
export type ListSpecsStructuredContent = z.infer<z.ZodObject<typeof ListSpecsOutputSchema>>;
|
|
184
93
|
export declare const EstimateOutputSchema: {
|
|
185
94
|
specId: z.ZodString;
|
|
186
95
|
difficulty: z.ZodNumber;
|
|
@@ -109,8 +109,6 @@ export const ListSpecsOutputSchema = {
|
|
|
109
109
|
.optional()
|
|
110
110
|
.describe('Store entries whose spec.md is missing or empty on disk, excluded from the normal listing.'),
|
|
111
111
|
};
|
|
112
|
-
/** Canonical DTO inferred from the exact MCP output contract. */
|
|
113
|
-
export const ListSpecsOutputObjectSchema = z.object(ListSpecsOutputSchema);
|
|
114
112
|
// ── estimate ────────────────────────────────────────────────────────────────
|
|
115
113
|
export const EstimateOutputSchema = {
|
|
116
114
|
specId: z.string(),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { SpecIdSchema, SpecDirNameSchema, isCanonicalSpecId, } from '../../engine/spec-format/spec-id.js';
|
|
2
2
|
//# sourceMappingURL=spec-id.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { SpecIdSchema, SpecDirNameSchema, isCanonicalSpecId, } from '../../engine/spec-format/spec-id.js';
|
|
2
2
|
//# sourceMappingURL=spec-id.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ToolResult } from '../types/index.js';
|
|
2
|
-
|
|
2
|
+
interface StoragePathsInput {
|
|
3
3
|
projectPath?: string;
|
|
4
4
|
logicalProjectId?: string;
|
|
5
5
|
workspaceKeyHash?: string;
|
|
6
6
|
}
|
|
7
7
|
/** Read-only MCP view over the same catalog used by the CLI. */
|
|
8
8
|
export declare function handleStoragePaths(input: StoragePathsInput): ToolResult;
|
|
9
|
+
export {};
|
|
9
10
|
//# sourceMappingURL=storage-paths-handler.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { fetchRecommendedSkills
|
|
1
|
+
export { fetchRecommendedSkills } from '../../engine/skills/skills-fetcher.js';
|
|
2
2
|
//# sourceMappingURL=skills-fetcher.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// tools/suggest-tooling/skills-fetcher.ts — Re-export from engine
|
|
2
2
|
// Business logic lives in engine/ so engine/ can import it without architecture violations.
|
|
3
|
-
export { fetchRecommendedSkills
|
|
3
|
+
export { fetchRecommendedSkills } from '../../engine/skills/skills-fetcher.js';
|
|
4
4
|
//# sourceMappingURL=skills-fetcher.js.map
|
|
@@ -5,7 +5,7 @@ import type { ToolResult } from '../types/index.js';
|
|
|
5
5
|
* A Zod raw shape — map of field names to Zod types.
|
|
6
6
|
* Matches ZodRawShapeCompat from the MCP SDK (Record<string, AnySchema>).
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type ToolInputSchema = Record<string, ZodType>;
|
|
9
9
|
/**
|
|
10
10
|
* A fully-declarative description of one MCP tool.
|
|
11
11
|
*
|
|
@@ -48,4 +48,5 @@ export interface McpToolEntry {
|
|
|
48
48
|
* Drop-in replacement for calling register*Tools(server) on each migrated file.
|
|
49
49
|
*/
|
|
50
50
|
export declare function registerFromEntries(server: McpServer, entries: McpToolEntry[]): void;
|
|
51
|
+
export {};
|
|
51
52
|
//# sourceMappingURL=tool-entry.d.ts.map
|
|
@@ -35,7 +35,7 @@ export type ValidateGateResult = {
|
|
|
35
35
|
forcedReason: string;
|
|
36
36
|
scoreSource: 'forced-best-effort-validateSpec';
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
type ValidationReportGateResult = {
|
|
39
39
|
ok: true;
|
|
40
40
|
score: number | null;
|
|
41
41
|
} | {
|
|
@@ -76,7 +76,7 @@ export declare function checkDodGate(spec: Spec, specId: string, projectId: stri
|
|
|
76
76
|
*/
|
|
77
77
|
export declare function checkSecurityGate(projectPath: string | undefined, specId: string, force?: boolean): Promise<ToolResult | null>;
|
|
78
78
|
/** Return value for checkDoneGates — separates blocking errors from force-bypass warnings. */
|
|
79
|
-
|
|
79
|
+
interface DoneGateResult {
|
|
80
80
|
/** Non-null means gate blocked — caller MUST return this as an error response. */
|
|
81
81
|
blocked: ToolResult | null;
|
|
82
82
|
/**
|
|
@@ -4,7 +4,7 @@ import type { ValidationReceipt, ValidationReceiptBindings, ValidationReceiptVer
|
|
|
4
4
|
import { ValidationReceiptStore } from '../../engine/validation/validation-receipt.js';
|
|
5
5
|
import { type ValidationFreshnessLease } from '../../engine/validation/validation-freshness.js';
|
|
6
6
|
export { doneReceiptBindingsDifferOnlyInEvidence } from '../../engine/validation/durable-validation.js';
|
|
7
|
-
|
|
7
|
+
type CurrentBindingsResolution = {
|
|
8
8
|
ok: true;
|
|
9
9
|
currentBindings: ValidationReceiptBindings;
|
|
10
10
|
verification: ValidationReceiptVerification;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type UpdateStatusGate = 'evidence' | 'routing' | 'strict-layout';
|
|
2
2
|
/**
|
|
3
3
|
* Production gates are never disabled by process environment. Legacy tests that
|
|
4
4
|
* need isolation must replace this module through their test runner.
|
|
5
5
|
*/
|
|
6
6
|
export declare function shouldSkipGateForExplicitLegacyHarness(_gate: UpdateStatusGate): boolean;
|
|
7
|
+
export {};
|
|
7
8
|
//# sourceMappingURL=gate-harness.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SpecStatus,
|
|
1
|
+
import type { SpecStatus, ToolResult } from '../../types/index.js';
|
|
2
2
|
import type { ReadinessGateOutput } from '../../types/spec/inputs.js';
|
|
3
3
|
import type { Spec } from '../../types/spec/core.js';
|
|
4
4
|
/**
|
|
@@ -82,5 +82,4 @@ export declare function checkReadinessGate(spec: Spec, newStatus: SpecStatus, fo
|
|
|
82
82
|
* - High-risk specs (high/critical) require all 5 focus areas
|
|
83
83
|
*/
|
|
84
84
|
export declare function checkChallengeGate(spec: Spec, newStatus: SpecStatus): ToolResult | null;
|
|
85
|
-
export type { UpdateStatusInput };
|
|
86
85
|
//# sourceMappingURL=transition-guard.d.ts.map
|
package/dist/tools/validate.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import {
|
|
3
|
-
import type { ValidateInput, ToolResult, ContractSpec, ContractValidation } from '../types/index.js';
|
|
2
|
+
import type { ValidateInput, ToolResult } from '../types/index.js';
|
|
4
3
|
import type { ValidateWorkerProgress } from '../types/validate-worker.js';
|
|
5
|
-
export { validateContractCompliance };
|
|
6
|
-
export type { ContractSpec, ContractValidation };
|
|
7
4
|
export declare function createValidationStageRunner(onProgress?: (progress: ValidateWorkerProgress) => void): <T>(phase: string, command: string, work: () => T | Promise<T>, deadlineMs?: number) => Promise<T>;
|
|
8
5
|
/** Public MCP boundary: persist and acknowledge validation work without running it inline. */
|
|
9
6
|
export declare function handleValidate(args: ValidateInput): Promise<ToolResult>;
|
package/dist/tools/validate.js
CHANGED
|
@@ -62,10 +62,10 @@ import { scanCodeForSpec } from '../engine/validator/analyzer.js';
|
|
|
62
62
|
import { isBlockingQualitySeverity } from '../engine/validator/dor-dod.js';
|
|
63
63
|
import { readVerifiedImplementationReview } from '../engine/handoff-artifacts/implementation-review-reader.js';
|
|
64
64
|
import { calcQualityScore } from '../engine/auditor-scoring.js';
|
|
65
|
+
import { scoreToGrade } from '../engine/score-to-grade.js';
|
|
65
66
|
import { dispatchFeedbackEvent } from './learn.js';
|
|
66
67
|
import { t, ti } from '../i18n/index.js';
|
|
67
68
|
import { createBasicPhaseEvent } from '../engine/phase-tracker.js';
|
|
68
|
-
import { validateContractCompliance } from '../engine/test-scaffold-generator.js';
|
|
69
69
|
import { parseConventions, scanConventions } from '../engine/convention-scanner/index.js';
|
|
70
70
|
import { validateScopeCompliance } from '../engine/scope-boundaries/index.js';
|
|
71
71
|
import { compareWithBaseline } from '../storage/convention-baseline.js';
|
|
@@ -93,7 +93,6 @@ import { getRuntimePolicy } from '../engine/runtime-policy.js';
|
|
|
93
93
|
import { PROCESS_TERMINATION_GRACE_MS, PROCESS_TREE_EXTINCTION_TIMEOUT_MS, PROCESS_CHILD_CLOSE_TIMEOUT_MS, } from '../engine/abortable-process-runner.js';
|
|
94
94
|
import { resolveValidationWorktree, ValidationWorktreeError, } from '../engine/validation/validation-worktree.js';
|
|
95
95
|
// Re-export for external use (SPEC-018)
|
|
96
|
-
export { validateContractCompliance };
|
|
97
96
|
const VALIDATION_GATE_TOTAL = 11;
|
|
98
97
|
const GATE_DEADLINE_EXEMPT_PHASES = new Set(['lint', 'compliance']);
|
|
99
98
|
const BLAST_RADIUS_TERMINATION_MARGIN_MS = PROCESS_TERMINATION_GRACE_MS +
|
|
@@ -1087,19 +1086,4 @@ function buildCompactValidateText(args) {
|
|
|
1087
1086
|
const summaryLine = `❌ Validate: ${String(score)}/100 — failing; ${String(failedCount)} failing criteria: [${failNames}${remainingCount + shownFailures.length > 3 ? '...' : ''}]${gateSuffix}`;
|
|
1088
1087
|
return summaryLine + '\n' + failureList + moreLine + commitReminder + planuReminder;
|
|
1089
1088
|
}
|
|
1090
|
-
function scoreToGrade(score) {
|
|
1091
|
-
if (score >= 90) {
|
|
1092
|
-
return 'A';
|
|
1093
|
-
}
|
|
1094
|
-
if (score >= 80) {
|
|
1095
|
-
return 'B';
|
|
1096
|
-
}
|
|
1097
|
-
if (score >= 70) {
|
|
1098
|
-
return 'C';
|
|
1099
|
-
}
|
|
1100
|
-
if (score >= 60) {
|
|
1101
|
-
return 'D';
|
|
1102
|
-
}
|
|
1103
|
-
return 'F';
|
|
1104
|
-
}
|
|
1105
1089
|
//# sourceMappingURL=validate.js.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type ActionableSpecMetricName = 'groundingCoverage' | 'verificationCoverage' | 'ambiguityCount' | 'driftRisk';
|
|
2
2
|
export interface ActionableSpecMetric {
|
|
3
3
|
name: ActionableSpecMetricName;
|
|
4
4
|
value: number | 'none' | 'low' | 'medium' | 'high';
|
|
5
5
|
inputs: string[];
|
|
6
6
|
nextAction: string;
|
|
7
7
|
}
|
|
8
|
+
export {};
|
|
8
9
|
//# sourceMappingURL=actionable-spec-metrics.d.ts.map
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
import type { Actuals } from './estimation.js';
|
|
2
1
|
/** Actuals derived from git log analysis */
|
|
3
|
-
export interface DerivedActuals {
|
|
4
|
-
devHours: number;
|
|
5
|
-
reviewHours: number;
|
|
6
|
-
commitCount: number;
|
|
7
|
-
linesChanged: number;
|
|
8
|
-
firstCommitDate: string;
|
|
9
|
-
lastCommitDate: string;
|
|
10
|
-
completedAt: string;
|
|
11
|
-
source: 'git-log';
|
|
12
|
-
}
|
|
13
2
|
/** Work-in-progress actuals persisted during implementation */
|
|
14
|
-
export interface ActualsWip {
|
|
15
|
-
specId: string;
|
|
16
|
-
startedAt: string;
|
|
17
|
-
tokensOpus: number;
|
|
18
|
-
tokensSonnet: number;
|
|
19
|
-
apiCostAccumulated: number;
|
|
20
|
-
lastUpdated: string;
|
|
21
|
-
notes: string;
|
|
22
|
-
}
|
|
23
3
|
/** Actuals extracted from progress.md metrics table */
|
|
24
4
|
export interface ProgressActuals {
|
|
25
5
|
devHours?: number;
|
|
@@ -29,31 +9,7 @@ export interface ProgressActuals {
|
|
|
29
9
|
status?: string;
|
|
30
10
|
}
|
|
31
11
|
/** Result of consolidating multiple actuals sources */
|
|
32
|
-
export interface ConsolidatedActuals extends Actuals {
|
|
33
|
-
source: 'explicit' | 'progress' | 'wip' | 'git-derived';
|
|
34
|
-
confidence: 'high' | 'medium' | 'low';
|
|
35
|
-
}
|
|
36
12
|
/** Single parsed git commit for analysis */
|
|
37
|
-
export interface GitCommitInfo {
|
|
38
|
-
hash: string;
|
|
39
|
-
timestamp: string;
|
|
40
|
-
message: string;
|
|
41
|
-
insertions: number;
|
|
42
|
-
deletions: number;
|
|
43
|
-
}
|
|
44
13
|
/** Single backfill result entry */
|
|
45
|
-
export interface BackfillResult {
|
|
46
|
-
specId: string;
|
|
47
|
-
actuals: ConsolidatedActuals;
|
|
48
|
-
}
|
|
49
14
|
/** Report from backfill operation */
|
|
50
|
-
export interface BackfillReport {
|
|
51
|
-
totalSpecs: number;
|
|
52
|
-
populated: number;
|
|
53
|
-
skipped: number;
|
|
54
|
-
noGitData: number;
|
|
55
|
-
alreadyHadActuals: number;
|
|
56
|
-
totalDerivedHours: number;
|
|
57
|
-
results: BackfillResult[];
|
|
58
|
-
}
|
|
59
15
|
//# sourceMappingURL=actuals-tracking.d.ts.map
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
// Planu — Actuals tracking types
|
|
1
2
|
export {};
|
|
3
|
+
/** Result of consolidating multiple actuals sources */
|
|
4
|
+
/** Single parsed git commit for analysis */
|
|
5
|
+
/** Single backfill result entry */
|
|
6
|
+
/** Report from backfill operation */
|
|
2
7
|
//# sourceMappingURL=actuals-tracking.js.map
|
package/dist/types/actuals.d.ts
CHANGED
|
@@ -119,9 +119,4 @@ export interface CalibrateInput {
|
|
|
119
119
|
minSamples?: number;
|
|
120
120
|
}
|
|
121
121
|
/** Result of enriching a base estimate with persisted calibration data (SPEC-506) */
|
|
122
|
-
export interface CalibrationEstimationEnrichment {
|
|
123
|
-
calibratedHours: number;
|
|
124
|
-
applied: boolean;
|
|
125
|
-
calibrationNote: string | null;
|
|
126
|
-
}
|
|
127
122
|
//# sourceMappingURL=actuals.d.ts.map
|
package/dist/types/actuals.js
CHANGED
|
@@ -1,34 +1,12 @@
|
|
|
1
1
|
/** Modern frontend frameworks (Islands, server-centric, resumability, signals) */
|
|
2
|
-
export type ModernFramework = 'astro' | 'fresh' | 'htmx' | 'qwik' | 'solid-start' | 'tanstack-start' | 'remix-v7';
|
|
3
2
|
/** Frontend architecture paradigm */
|
|
4
|
-
export type FrontendArchitecture = 'islands' | 'htmx' | 'spa' | 'ssr' | 'micro-frontend' | 'resumability';
|
|
5
3
|
/** Legacy frontend frameworks still common in production */
|
|
6
|
-
export type LegacyFramework = 'jquery' | 'backbone' | 'knockout' | 'ember' | 'extjs' | 'angularjs-1';
|
|
7
4
|
/** Micro-frontend orchestration strategy */
|
|
8
|
-
export type MicroFrontendStrategy = 'module-federation' | 'single-spa' | 'nx-mfe';
|
|
9
5
|
/** Enterprise design system */
|
|
10
|
-
export type EnterpriseDesignSystem = 'carbon' | 'polaris' | 'fluent-ui' | 'radix-ui' | 'arco-design' | 'ark-ui' | 'naive-ui' | 'vuetify' | 'quasar';
|
|
11
6
|
/** CSS-in-JS zero-runtime and modern CSS approaches */
|
|
12
|
-
export type CSSInJSApproach = 'vanilla-extract' | 'panda-css' | 'stylex' | 'unocss' | 'open-props' | 'css-layers';
|
|
13
7
|
/** Modern state management libraries */
|
|
14
|
-
export type StateManagementLib = 'tanstack-query' | 'zustand' | 'jotai' | 'xstate' | 'signals' | 'nanostores';
|
|
15
8
|
/** Detected advanced framework with category and metadata */
|
|
16
|
-
export interface AdvancedFrameworkDetection {
|
|
17
|
-
modernFramework: ModernFramework | null;
|
|
18
|
-
architecture: FrontendArchitecture | null;
|
|
19
|
-
legacyFrameworks: LegacyFramework[];
|
|
20
|
-
microFrontend: MicroFrontendStrategy | null;
|
|
21
|
-
enterpriseDesignSystem: EnterpriseDesignSystem | null;
|
|
22
|
-
cssInJS: CSSInJSApproach | null;
|
|
23
|
-
stateManagement: StateManagementLib[];
|
|
24
|
-
antDesignVersion: '4' | '5' | null;
|
|
25
|
-
signals: string[];
|
|
26
|
-
}
|
|
27
9
|
/** Internal: result of modern framework detection with architecture paradigm */
|
|
28
|
-
export interface ModernFrameworkResult {
|
|
29
|
-
framework: ModernFramework | null;
|
|
30
|
-
architecture: FrontendArchitecture | null;
|
|
31
|
-
}
|
|
32
10
|
/** Internal: parsed package.json structure for dependency analysis */
|
|
33
11
|
export interface PackageJsonDeps {
|
|
34
12
|
dependencies?: Record<string, string>;
|
|
@@ -36,13 +14,4 @@ export interface PackageJsonDeps {
|
|
|
36
14
|
peerDependencies?: Record<string, string>;
|
|
37
15
|
}
|
|
38
16
|
/** Contract hints generated from advanced framework detection */
|
|
39
|
-
export interface AdvancedFrameworkHints {
|
|
40
|
-
architectureParadigm?: string;
|
|
41
|
-
hydrationNotes?: string;
|
|
42
|
-
stateStrategyNotes?: string;
|
|
43
|
-
legacyRisks?: string[];
|
|
44
|
-
designSystemTokens?: string[];
|
|
45
|
-
cssPatterns?: string[];
|
|
46
|
-
migrationCriteria?: string;
|
|
47
|
-
}
|
|
48
17
|
//# sourceMappingURL=advanced-framework.d.ts.map
|
|
@@ -1,70 +1,10 @@
|
|
|
1
|
-
export type OrchestratorAgentRoleKind = 'coordinator' | 'specialist' | 'verifier';
|
|
2
|
-
export interface OrchestratorAgentRole {
|
|
3
|
-
/** Role category */
|
|
4
|
-
role: OrchestratorAgentRoleKind;
|
|
5
|
-
/** Human-readable name, e.g. "Specialist-1: Storage Layer" */
|
|
6
|
-
name: string;
|
|
7
|
-
/** Files exclusively owned by this agent (empty for coordinator) */
|
|
8
|
-
files: string[];
|
|
9
|
-
/** Fully self-contained prompt the user pastes to launch this agent */
|
|
10
|
-
prompt: string;
|
|
11
|
-
/** Execution wave: 1=coordinator, 2=specialists (parallel), 3=verifier */
|
|
12
|
-
wave: 1 | 2 | 3;
|
|
13
|
-
}
|
|
14
|
-
export interface OrchestrationPlan {
|
|
15
|
-
specId: string;
|
|
16
|
-
specTitle: string;
|
|
17
|
-
agentCount: number;
|
|
18
|
-
totalWaves: 3;
|
|
19
|
-
roles: OrchestratorAgentRole[];
|
|
20
|
-
/** Markdown guide explaining how to launch each wave */
|
|
21
|
-
executionGuide: string;
|
|
22
|
-
}
|
|
23
1
|
export interface OrchestrateAgentsPlanInput {
|
|
24
2
|
specId: string;
|
|
25
3
|
projectPath: string;
|
|
26
4
|
agentCount?: number;
|
|
27
5
|
}
|
|
28
|
-
import type { Spec } from './spec/core.js';
|
|
29
|
-
export interface CoordinatorPromptInput {
|
|
30
|
-
spec: Spec;
|
|
31
|
-
specContent: string;
|
|
32
|
-
technicalContent: string;
|
|
33
|
-
count: number;
|
|
34
|
-
}
|
|
35
|
-
export interface SpecialistPromptInput {
|
|
36
|
-
spec: Spec;
|
|
37
|
-
specContent: string;
|
|
38
|
-
index: number;
|
|
39
|
-
label: string;
|
|
40
|
-
files: string[];
|
|
41
|
-
criteria: string[];
|
|
42
|
-
totalSpecialists: number;
|
|
43
|
-
}
|
|
44
|
-
export interface VerifierPromptInput {
|
|
45
|
-
spec: Spec;
|
|
46
|
-
criteria: string[];
|
|
47
|
-
allFiles: string[];
|
|
48
|
-
}
|
|
49
|
-
export interface ExecutionGuideInput {
|
|
50
|
-
spec: Spec;
|
|
51
|
-
count: number;
|
|
52
|
-
roles: OrchestratorAgentRole[];
|
|
53
|
-
}
|
|
54
6
|
/** SPEC-638: Internal registry entry for a role definition. */
|
|
55
|
-
export interface AgentRoleRegistryEntry {
|
|
56
|
-
roleId: string;
|
|
57
|
-
name: string;
|
|
58
|
-
model: 'haiku' | 'sonnet' | 'opus';
|
|
59
|
-
tags: string[];
|
|
60
|
-
fileOwnership: string[];
|
|
61
|
-
alwaysInclude?: boolean;
|
|
62
|
-
runAfterWorkers?: boolean;
|
|
63
|
-
}
|
|
64
7
|
/** SPEC-638: Shape of src/config/agent-role-registry.json. */
|
|
65
|
-
export interface AgentRoleRegistryConfig {
|
|
66
|
-
roles: AgentRoleRegistryEntry[];
|
|
67
|
-
}
|
|
68
8
|
/** SPEC-694: Compact orchestration plan summary included in update_status(approved) response. */
|
|
69
9
|
export interface OrchestrationPlanSummary {
|
|
70
10
|
/** Ordered wave labels: ["Wave 1: Coordinator", "Wave 2: Specialist-1, Specialist-2", ...] */
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
/** Internal config entry for a role in agent-team-roles.json */
|
|
2
|
-
export interface AgentTeamRoleEntry extends Omit<AgentTeamRole, 'investigationPrompt'> {
|
|
3
|
-
frameworkId: string;
|
|
4
|
-
alwaysInclude?: boolean;
|
|
5
|
-
}
|
|
6
2
|
/** Internal config structure of agent-team-roles.json */
|
|
7
|
-
export interface AgentTeamRolesConfig {
|
|
8
|
-
schemaVersion: number;
|
|
9
|
-
roles: AgentTeamRoleEntry[];
|
|
10
|
-
}
|
|
11
3
|
/** Input for building an agent investigation prompt */
|
|
12
|
-
|
|
13
|
-
role: Omit<AgentTeamRole, 'investigationPrompt'>;
|
|
14
|
-
specTitle: string;
|
|
15
|
-
specDescription: string;
|
|
16
|
-
projectPath: string;
|
|
17
|
-
}
|
|
18
|
-
export interface AgentTeamRole {
|
|
4
|
+
interface AgentTeamRole {
|
|
19
5
|
role: string;
|
|
20
6
|
label: string;
|
|
21
7
|
investigationPrompt: string;
|
|
@@ -31,8 +17,5 @@ export interface AgentFinding {
|
|
|
31
17
|
role: string;
|
|
32
18
|
findings: string;
|
|
33
19
|
}
|
|
34
|
-
export
|
|
35
|
-
specId: string;
|
|
36
|
-
results: AgentFinding[];
|
|
37
|
-
}
|
|
20
|
+
export {};
|
|
38
21
|
//# sourceMappingURL=agent-team.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type SpecAssuranceSeverity = 'error' | 'warning';
|
|
2
2
|
export interface SpecAssuranceFinding {
|
|
3
3
|
rule: string;
|
|
4
4
|
severity: SpecAssuranceSeverity;
|
|
@@ -28,4 +28,5 @@ export interface NewCodeGateResult {
|
|
|
28
28
|
passed: boolean;
|
|
29
29
|
findings: NewCodeGateFinding[];
|
|
30
30
|
}
|
|
31
|
+
export {};
|
|
31
32
|
//# sourceMappingURL=ai-assurance.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
type AiInferenceMode = 'online' | 'offline' | 'hybrid' | 'none';
|
|
2
|
+
type AiOrchestrationFramework = 'langchain' | 'llamaindex' | 'haystack' | 'dspy' | 'instructor';
|
|
3
|
+
type AiMemoryPattern = 'short-term' | 'long-term' | 'semantic';
|
|
4
|
+
type AiAgenticPattern = 'react' | 'plan-execute' | 'cot' | 'tool-use' | 'multi-agent';
|
|
5
5
|
export interface AiNativeDetectionResult {
|
|
6
6
|
isAiNative: boolean;
|
|
7
7
|
isAiBoltedOn: boolean;
|
|
@@ -12,4 +12,5 @@ export interface AiNativeDetectionResult {
|
|
|
12
12
|
isMultiModal: boolean;
|
|
13
13
|
aiDeps: string[];
|
|
14
14
|
}
|
|
15
|
+
export {};
|
|
15
16
|
//# sourceMappingURL=ai-native.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type AiToolId = 'claude' | 'cursor' | 'copilot' | 'windsurf' | 'aider';
|
|
2
2
|
export interface AiToolDetection {
|
|
3
3
|
toolId: AiToolId;
|
|
4
4
|
name: string;
|
|
@@ -9,7 +9,7 @@ export interface AiToolDetection {
|
|
|
9
9
|
rulesPath: string;
|
|
10
10
|
supportsSkills: boolean;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
interface ArchitectureLayer {
|
|
13
13
|
name: string;
|
|
14
14
|
path: string;
|
|
15
15
|
responsibility: string;
|
|
@@ -38,4 +38,5 @@ export interface AiToolConfig {
|
|
|
38
38
|
rulesFormat: 'markdown' | 'yaml' | 'json';
|
|
39
39
|
supportsSkills: boolean;
|
|
40
40
|
}
|
|
41
|
+
export {};
|
|
41
42
|
//# sourceMappingURL=ai-tool-rules.d.ts.map
|
|
@@ -25,26 +25,6 @@ export interface SolidityAuditResult {
|
|
|
25
25
|
lowCount: number;
|
|
26
26
|
summary: string;
|
|
27
27
|
}
|
|
28
|
-
export interface DXGap {
|
|
29
|
-
area: 'documentation' | 'scripts' | 'dev-environment' | 'ci' | 'observability';
|
|
30
|
-
severity: 'warning' | 'info';
|
|
31
|
-
message: string;
|
|
32
|
-
fix: string;
|
|
33
|
-
}
|
|
34
|
-
export interface DXBreakdown {
|
|
35
|
-
readmeGettingStarted: boolean;
|
|
36
|
-
standardScripts: boolean;
|
|
37
|
-
devCompose: boolean;
|
|
38
|
-
ciConfigured: boolean;
|
|
39
|
-
observabilityBasic: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface DeveloperExperienceScore {
|
|
42
|
-
score: number;
|
|
43
|
-
breakdown: DXBreakdown;
|
|
44
|
-
platformEngineeringCandidate: boolean;
|
|
45
|
-
gaps: DXGap[];
|
|
46
|
-
}
|
|
47
|
-
export type OtelServiceType = 'http-api' | 'queue-worker' | 'grpc-service' | 'generic';
|
|
48
28
|
export type OtelSignal = 'traces' | 'metrics' | 'logs';
|
|
49
29
|
export type TelemetryBackend = 'jaeger' | 'grafana-tempo' | 'honeycomb' | 'datadog' | 'newrelic' | 'grafana-cloud' | 'local-collector';
|
|
50
30
|
export interface OtelDetectionResult {
|
|
@@ -57,38 +37,4 @@ export interface OtelDetectionResult {
|
|
|
57
37
|
needsOtel: boolean;
|
|
58
38
|
sdkLanguage: string | null;
|
|
59
39
|
}
|
|
60
|
-
export interface SloConfig {
|
|
61
|
-
availabilityTarget: number;
|
|
62
|
-
p99LatencyMs: number;
|
|
63
|
-
errorRatePercent: number;
|
|
64
|
-
windowMinutes: number;
|
|
65
|
-
}
|
|
66
|
-
export type ConfigHealthChecker = 'ts-coverage' | 'vitest-schema' | 'jest-schema' | 'husky-scripts' | 'package-scripts' | 'pyproject-schema' | 'mypy-config' | 'go-mod-imports' | 'golangci-config' | 'cargo-features' | 'clippy-config' | 'ci-commands' | 'build-artifacts' | 'mcp-config' | 'otel-version' | 'build-tool';
|
|
67
|
-
export interface ConfigHealthFinding {
|
|
68
|
-
severity: 'error' | 'warning' | 'info';
|
|
69
|
-
checker: ConfigHealthChecker;
|
|
70
|
-
file: string;
|
|
71
|
-
line?: number;
|
|
72
|
-
message: string;
|
|
73
|
-
fix: string;
|
|
74
|
-
}
|
|
75
|
-
export interface JsonMcpHealthEntry {
|
|
76
|
-
command?: string;
|
|
77
|
-
args?: string[];
|
|
78
|
-
startup_timeout_sec?: number;
|
|
79
|
-
}
|
|
80
|
-
export interface McpConfigCheckOptions {
|
|
81
|
-
homePath?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface ConfigHealthReport {
|
|
84
|
-
summary: {
|
|
85
|
-
errors: number;
|
|
86
|
-
warnings: number;
|
|
87
|
-
info: number;
|
|
88
|
-
};
|
|
89
|
-
findings: ConfigHealthFinding[];
|
|
90
|
-
blocksDoR: boolean;
|
|
91
|
-
}
|
|
92
|
-
export type ConfigHealthCheckGroup = 'ts' | 'python' | 'go' | 'rust' | 'ci' | 'build-tool' | 'mcp';
|
|
93
|
-
export type ConfigHealthSeverityFilter = 'error' | 'warning' | 'info';
|
|
94
40
|
//# sourceMappingURL=analysis-detection.d.ts.map
|