@planu/cli 5.7.20 → 5.7.21
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 +14 -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/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/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/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/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-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-ecosystem-detectors.d.ts +0 -8
- package/dist/engine/detectors/otel-ecosystem-detectors.js +4 -8
- 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/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/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 +0 -1
- 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/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/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 +0 -1
- package/dist/engine/safety/lock-lease-store.d.ts +4 -3
- 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 +1 -2
- 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/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/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/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/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/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/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-session-safeguard-hook.d.ts +1 -1
- 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 +0 -2
- 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 +0 -70
- package/dist/types/token-ledger.js +8 -0
- 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
|
@@ -20,7 +20,7 @@ export interface DiscoveryEvidence {
|
|
|
20
20
|
meaning: string;
|
|
21
21
|
}[];
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
type TaskPlanGeneratedBy = 'planu-evidence-skeleton';
|
|
24
24
|
export interface TaskPlanEvidence {
|
|
25
25
|
version: 1;
|
|
26
26
|
provenance?: ValidationArtifactProvenance;
|
|
@@ -90,4 +90,5 @@ export interface EvidenceGateResult {
|
|
|
90
90
|
issues: EvidenceGateIssue[];
|
|
91
91
|
requiredContractKinds: ContractValidationEvidence['kind'][];
|
|
92
92
|
}
|
|
93
|
+
export {};
|
|
93
94
|
//# sourceMappingURL=evidence-gates.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type EvidenceRecordKind = 'scenario' | 'test' | 'contract' | 'manual' | 'changed-file' | 'validation' | 'reviewer';
|
|
2
|
+
type EvidenceRecordStatus = 'valid' | 'stale' | 'invalid' | 'missing';
|
|
3
3
|
export type EvidencePathField = 'testEvidence' | 'contractEvidence' | 'changedFiles' | 'contractValidation.reportPath';
|
|
4
4
|
export interface EvidenceRecord {
|
|
5
5
|
kind: EvidenceRecordKind;
|
|
@@ -22,4 +22,5 @@ export interface SpecEvidenceIndex {
|
|
|
22
22
|
criteria: CriterionEvidenceIndexEntry[];
|
|
23
23
|
diagnostics: string[];
|
|
24
24
|
}
|
|
25
|
+
export {};
|
|
25
26
|
//# sourceMappingURL=evidence-index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExperienceLevel, SddPhase
|
|
1
|
+
import type { ExperienceLevel, SddPhase } from './common/index.js';
|
|
2
2
|
export interface ExecutionPlan {
|
|
3
3
|
phases: ExecutionPhase[];
|
|
4
4
|
totalSteps: number;
|
|
@@ -9,7 +9,7 @@ export interface ExecutionPhase {
|
|
|
9
9
|
name: string;
|
|
10
10
|
steps: ExecutionStep[];
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
interface PlanCycle {
|
|
13
13
|
red: string;
|
|
14
14
|
green: string;
|
|
15
15
|
verify: string;
|
|
@@ -26,7 +26,7 @@ export interface ExecutionStep {
|
|
|
26
26
|
parallelizable?: boolean;
|
|
27
27
|
cycle?: PlanCycle;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
type ExecutionPlanGraphViolationCode = 'SELF_DEPENDENT_STEP' | 'INVALID_STEP_DEPENDENCY' | 'CYCLIC_STEP_DEPENDENCIES';
|
|
30
30
|
export interface ExecutionPlanGraphViolation {
|
|
31
31
|
code: ExecutionPlanGraphViolationCode;
|
|
32
32
|
message: string;
|
|
@@ -59,50 +59,10 @@ export interface GenerateExecutionPlanInput {
|
|
|
59
59
|
projectId: string;
|
|
60
60
|
}
|
|
61
61
|
/** Result of a complete tool chain execution. */
|
|
62
|
-
export interface ChainResult {
|
|
63
|
-
chainId: string;
|
|
64
|
-
intent: string;
|
|
65
|
-
steps: ChainStepResult[];
|
|
66
|
-
summary: string;
|
|
67
|
-
globalProgress: number;
|
|
68
|
-
totalElapsed: number;
|
|
69
|
-
status: 'completed' | 'partial' | 'failed';
|
|
70
|
-
stoppedAt?: string;
|
|
71
|
-
}
|
|
72
62
|
/** Result of a single step within a chain. */
|
|
73
|
-
export interface ChainStepResult {
|
|
74
|
-
tool: string;
|
|
75
|
-
status: 'success' | 'skipped' | 'failed';
|
|
76
|
-
result?: unknown;
|
|
77
|
-
error?: string;
|
|
78
|
-
phaseEvent: PhaseEvent;
|
|
79
|
-
elapsed: number;
|
|
80
|
-
}
|
|
81
63
|
/** Predefined tool chain definition. */
|
|
82
|
-
export interface ToolChainDefinition {
|
|
83
|
-
id: string;
|
|
84
|
-
name: string;
|
|
85
|
-
triggers: string[];
|
|
86
|
-
steps: ToolChainStep[];
|
|
87
|
-
}
|
|
88
64
|
/** A single step within a tool chain definition. */
|
|
89
|
-
export interface ToolChainStep {
|
|
90
|
-
tool: string;
|
|
91
|
-
condition?: string;
|
|
92
|
-
paramMapping: Record<string, string>;
|
|
93
|
-
optional: boolean;
|
|
94
|
-
}
|
|
95
65
|
/** Callback that executes a tool by name with given params. Injected by chain-executor caller. */
|
|
96
|
-
export type ToolRunner = (tool: string, params: Record<string, unknown>) => Promise<ToolResult>;
|
|
97
|
-
export type ClaudeOutputFormat = 'text' | 'json' | 'stream-json';
|
|
98
|
-
export type ClaudePermissionMode = 'plan' | 'acceptEdits' | 'auto' | 'dontAsk' | 'bypassPermissions' | 'default';
|
|
99
|
-
export interface ClaudeCommandOptions {
|
|
100
|
-
prompt: string;
|
|
101
|
-
outputFormat?: ClaudeOutputFormat;
|
|
102
|
-
permissionMode?: ClaudePermissionMode;
|
|
103
|
-
allowedTools?: string[];
|
|
104
|
-
nonInteractive?: boolean;
|
|
105
|
-
}
|
|
106
66
|
export type RequestExecutionPhase = 'running' | 'committed' | 'acknowledged' | 'cancelled';
|
|
107
67
|
export interface RequestExecutionState {
|
|
108
68
|
phase: RequestExecutionPhase;
|
|
@@ -148,4 +108,5 @@ export interface BudgetExecution<T> {
|
|
|
148
108
|
timeoutMs: number;
|
|
149
109
|
dispose: () => void;
|
|
150
110
|
}
|
|
111
|
+
export {};
|
|
151
112
|
//# sourceMappingURL=execution.d.ts.map
|
|
@@ -17,7 +17,7 @@ export interface AmbiguityScore {
|
|
|
17
17
|
dimensions: Record<AmbiguityDimension, number>;
|
|
18
18
|
}
|
|
19
19
|
/** Scenario detected by the facilitate tool. */
|
|
20
|
-
|
|
20
|
+
type FacilitateScenario = 'new_project' | 'existing_project' | 'concrete_problem';
|
|
21
21
|
/** Accumulated state during a facilitate session. */
|
|
22
22
|
export interface FacilitateContext {
|
|
23
23
|
scenario: FacilitateScenario;
|
|
@@ -162,4 +162,5 @@ export interface FacilitatorSpecFrontmatter {
|
|
|
162
162
|
title?: string;
|
|
163
163
|
status?: string;
|
|
164
164
|
}
|
|
165
|
+
export {};
|
|
165
166
|
//# sourceMappingURL=facilitator.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { HookTemplateName, NotificationMatcher } from './hooks.js';
|
|
2
1
|
export type WatcherEventType = 'create' | 'modify' | 'delete';
|
|
3
2
|
export interface WatcherEvent {
|
|
4
3
|
/** Type of file system event */
|
|
@@ -27,14 +26,6 @@ export interface FileHookConfig {
|
|
|
27
26
|
/** Per-hook-type configuration */
|
|
28
27
|
hooks: Record<string, FileHookTypeConfig>;
|
|
29
28
|
}
|
|
30
|
-
export interface DebouncerOptions {
|
|
31
|
-
/** Debounce window in milliseconds (default: 300) */
|
|
32
|
-
debounceMs?: number;
|
|
33
|
-
/** Rate limit per file in milliseconds (default: 5000) */
|
|
34
|
-
rateLimitPerFileMs?: number;
|
|
35
|
-
/** Rate limit per spec for auto-reconcile in milliseconds (default: 300000) */
|
|
36
|
-
rateLimitPerSpecMs?: number;
|
|
37
|
-
}
|
|
38
29
|
export interface DebouncerConfig {
|
|
39
30
|
/** Debounce window in ms (default: 300) */
|
|
40
31
|
debounceMs: number;
|
|
@@ -57,71 +48,37 @@ export interface FileWatcherOptions {
|
|
|
57
48
|
/** Glob patterns to exclude (always includes data/ and node_modules/) */
|
|
58
49
|
exclude?: string[];
|
|
59
50
|
}
|
|
60
|
-
|
|
61
|
-
/** Absolute path to project root */
|
|
62
|
-
projectRoot: string;
|
|
63
|
-
/** Set of known spec IDs (e.g. from spec store) */
|
|
64
|
-
knownSpecs: Set<string>;
|
|
65
|
-
}
|
|
66
|
-
export interface SpecFilePlan {
|
|
67
|
-
/** Spec ID (e.g. "SPEC-042") */
|
|
68
|
-
specId: string;
|
|
69
|
-
/** Glob patterns of files planned in this spec */
|
|
70
|
-
plannedFiles: string[];
|
|
71
|
-
}
|
|
72
|
-
export interface OnCreateContext {
|
|
73
|
-
/** Active specs with their file plans */
|
|
74
|
-
specFilePlans: SpecFilePlan[];
|
|
75
|
-
}
|
|
76
|
-
export interface SpecAnnotationIndex {
|
|
77
|
-
/** Spec ID */
|
|
78
|
-
specId: string;
|
|
79
|
-
/** Files that reference this spec via @spec annotations */
|
|
80
|
-
annotatedFiles: string[];
|
|
81
|
-
}
|
|
82
|
-
export interface OnDeleteContext {
|
|
83
|
-
/** Index of specs and their annotated files */
|
|
84
|
-
specAnnotations: SpecAnnotationIndex[];
|
|
85
|
-
}
|
|
86
|
-
export interface OnSaveHookResult {
|
|
51
|
+
interface OnSaveHookResult {
|
|
87
52
|
hook: 'on-save';
|
|
88
53
|
specId: string | null;
|
|
89
54
|
driftDelta: number;
|
|
90
55
|
hashChanged: boolean;
|
|
91
56
|
annotationsValid: boolean;
|
|
92
57
|
}
|
|
93
|
-
|
|
58
|
+
interface OnCreateHookResult {
|
|
94
59
|
hook: 'on-create';
|
|
95
60
|
path: string;
|
|
96
61
|
matchedSpecs: string[];
|
|
97
62
|
suggestedAnnotations: string[];
|
|
98
63
|
}
|
|
99
|
-
|
|
64
|
+
interface OnDeleteHookResult {
|
|
100
65
|
hook: 'on-delete';
|
|
101
66
|
path: string;
|
|
102
67
|
affectedSpecs: string[];
|
|
103
68
|
brokenAnnotations: string[];
|
|
104
69
|
}
|
|
105
|
-
|
|
70
|
+
type FileHookResult = OnSaveHookResult | OnCreateHookResult | OnDeleteHookResult;
|
|
106
71
|
export type ConfigChangeCallback = (config: FileHookConfig) => void;
|
|
107
72
|
export type DebouncedCallback = (event: WatcherEvent) => void;
|
|
108
73
|
/** Result from on-test-pass handler */
|
|
109
|
-
|
|
74
|
+
interface OnTestPassHookResult {
|
|
110
75
|
hook: 'on-test-pass';
|
|
111
76
|
coverageDelta: Record<string, number>;
|
|
112
77
|
specsUpdated: string[];
|
|
113
78
|
}
|
|
114
79
|
/** Context for on-test-pass handler */
|
|
115
|
-
export interface OnTestPassContext {
|
|
116
|
-
/** Path to coverage-summary.json */
|
|
117
|
-
coveragePath: string;
|
|
118
|
-
/** Mapping of file patterns to spec IDs via annotations */
|
|
119
|
-
specAnnotationIndex: SpecAnnotationIndex[];
|
|
120
|
-
/** Previous coverage data for delta computation */
|
|
121
|
-
previousCoverage?: Record<string, number>;
|
|
122
|
-
}
|
|
123
80
|
/** Result from on-commit handler */
|
|
124
|
-
|
|
81
|
+
interface OnCommitHookResult {
|
|
125
82
|
hook: 'on-commit';
|
|
126
83
|
commitHash: string;
|
|
127
84
|
reconciledSpecs: string[];
|
|
@@ -133,12 +90,6 @@ export interface OnCommitHookResult {
|
|
|
133
90
|
driftWarnings?: string[];
|
|
134
91
|
}
|
|
135
92
|
/** Context for on-commit handler */
|
|
136
|
-
export interface OnCommitContext {
|
|
137
|
-
/** Absolute path to project root */
|
|
138
|
-
projectRoot: string;
|
|
139
|
-
/** Set of known spec IDs */
|
|
140
|
-
knownSpecs: Set<string>;
|
|
141
|
-
}
|
|
142
93
|
/** Plugin handler for custom hooks */
|
|
143
94
|
export interface HookPluginHandler {
|
|
144
95
|
/** Unique name for the handler */
|
|
@@ -190,128 +141,16 @@ export interface EventBusEvent {
|
|
|
190
141
|
data: Record<string, unknown>;
|
|
191
142
|
}
|
|
192
143
|
/** Extended hook result union including SPEC-130 types */
|
|
193
|
-
export interface CoverageMetric {
|
|
194
|
-
total: number;
|
|
195
|
-
covered: number;
|
|
196
|
-
skipped: number;
|
|
197
|
-
pct: number;
|
|
198
|
-
}
|
|
199
|
-
export interface FileCoverage {
|
|
200
|
-
lines: CoverageMetric;
|
|
201
|
-
statements: CoverageMetric;
|
|
202
|
-
functions: CoverageMetric;
|
|
203
|
-
branches: CoverageMetric;
|
|
204
|
-
}
|
|
205
|
-
export type CoverageSummary = Record<string, FileCoverage>;
|
|
206
144
|
export type ExtendedHookResult = FileHookResult | OnTestPassHookResult | OnCommitHookResult;
|
|
145
|
+
export {};
|
|
207
146
|
/** Minimal spec info needed to run living-spec analysis without loading the full store */
|
|
208
|
-
export interface MinimalAnalyzableSpec {
|
|
209
|
-
/** Spec ID (e.g. "SPEC-042") */
|
|
210
|
-
id: string;
|
|
211
|
-
/** Spec title */
|
|
212
|
-
title: string;
|
|
213
|
-
/** Current status */
|
|
214
|
-
status: string;
|
|
215
|
-
/** Absolute path to progress.md (optional) */
|
|
216
|
-
progressPath?: string;
|
|
217
|
-
/** Glob patterns of files in the spec implementation plan */
|
|
218
|
-
criterionPaths?: string[];
|
|
219
|
-
}
|
|
220
147
|
/** Result of analyzing a single criterion after an implementation change */
|
|
221
|
-
export interface ImplChangeCriterionResult {
|
|
222
|
-
/** Criterion text */
|
|
223
|
-
criterion: string;
|
|
224
|
-
/** Whether criterion was met */
|
|
225
|
-
met: boolean;
|
|
226
|
-
/** Evidence found (or reason for not met) */
|
|
227
|
-
evidence: string;
|
|
228
|
-
}
|
|
229
148
|
/** Per-spec result after analyzing implementation changes */
|
|
230
|
-
export interface ImplChangeSpecResult {
|
|
231
|
-
/** Spec ID */
|
|
232
|
-
specId: string;
|
|
233
|
-
/** Completion percentage 0-100 */
|
|
234
|
-
completionPct: number;
|
|
235
|
-
/** Whether progress.md was updated */
|
|
236
|
-
progressUpdated: boolean;
|
|
237
|
-
/** Criterion-level results */
|
|
238
|
-
criterionResults: ImplChangeCriterionResult[];
|
|
239
|
-
}
|
|
240
149
|
/** Result of handling an impl-change event */
|
|
241
|
-
export interface ImplChangeAnalysisResult {
|
|
242
|
-
/** Path that triggered the analysis */
|
|
243
|
-
changedFile: string;
|
|
244
|
-
/** Specs analyzed */
|
|
245
|
-
specsAnalyzed: ImplChangeSpecResult[];
|
|
246
|
-
/** Whether any spec reached 100% and was auto-reconciled */
|
|
247
|
-
autoReconciled: boolean;
|
|
248
|
-
}
|
|
249
150
|
/** Payload emitted when a spec status changes */
|
|
250
|
-
export interface SpecStatusChangePayload {
|
|
251
|
-
/** Spec ID that changed status */
|
|
252
|
-
specId: string;
|
|
253
|
-
/** Previous status */
|
|
254
|
-
oldStatus: string;
|
|
255
|
-
/** New status */
|
|
256
|
-
newStatus: string;
|
|
257
|
-
/** Project identifier (hash or path) */
|
|
258
|
-
projectId: string;
|
|
259
|
-
}
|
|
260
151
|
/** Result of handling a spec status change event */
|
|
261
|
-
export interface StatusChangeResult {
|
|
262
|
-
/** Spec ID processed */
|
|
263
|
-
specId: string;
|
|
264
|
-
/** Whether the dashboard was regenerated */
|
|
265
|
-
dashboardRegenerated: boolean;
|
|
266
|
-
/** Reason for not regenerating (if applicable) */
|
|
267
|
-
reason?: string;
|
|
268
|
-
}
|
|
269
152
|
/** Function type for triggering dashboard regeneration */
|
|
270
|
-
export type DashboardRegenFn = (projectId: string) => Promise<boolean>;
|
|
271
153
|
/** Per-criterion result returned by AnalyzeSpecFn — unified alias for ImplChangeCriterionResult. */
|
|
272
|
-
export type AnalyzeCriterionResult = ImplChangeCriterionResult;
|
|
273
154
|
/** Return type for AnalyzeSpecFn */
|
|
274
|
-
export interface AnalyzeSpecFnResult {
|
|
275
|
-
completionPct: number;
|
|
276
|
-
progressUpdated: boolean;
|
|
277
|
-
criterionResults: AnalyzeCriterionResult[];
|
|
278
|
-
}
|
|
279
155
|
/** Function that analyzes a MinimalAnalyzableSpec and returns completion data */
|
|
280
|
-
export type AnalyzeSpecFn = (spec: MinimalAnalyzableSpec, projectPath: string) => Promise<AnalyzeSpecFnResult>;
|
|
281
|
-
export interface StartHooksInput {
|
|
282
|
-
/** Absolute path to the project root directory to watch */
|
|
283
|
-
projectPath: string;
|
|
284
|
-
/** Hook types to enable */
|
|
285
|
-
hooks?: string[];
|
|
286
|
-
}
|
|
287
|
-
export interface StopHooksInput {
|
|
288
|
-
/** Optional reason for stopping the hook engine */
|
|
289
|
-
reason?: string;
|
|
290
|
-
}
|
|
291
|
-
export interface HookStatusInput {
|
|
292
|
-
/** Absolute path to the project root, used to look up its diagnostic snapshot */
|
|
293
|
-
projectPath?: string;
|
|
294
|
-
}
|
|
295
|
-
export interface ConfigureHooksInput {
|
|
296
|
-
/** Absolute path to the project root directory */
|
|
297
|
-
projectPath: string;
|
|
298
|
-
/** Master switch for all hooks */
|
|
299
|
-
enabled?: boolean;
|
|
300
|
-
/** Debounce window in milliseconds */
|
|
301
|
-
debounceMs?: number;
|
|
302
|
-
/** Rate limit per file in milliseconds */
|
|
303
|
-
rateLimitPerFileMs?: number;
|
|
304
|
-
/** Per-hook-type configuration overrides */
|
|
305
|
-
hooks?: Record<string, {
|
|
306
|
-
enabled?: boolean;
|
|
307
|
-
include?: string[];
|
|
308
|
-
exclude?: string[];
|
|
309
|
-
}>;
|
|
310
|
-
/** SPEC-258: Generate a Claude Code hook template (notification, debug, permission) */
|
|
311
|
-
template?: HookTemplateName;
|
|
312
|
-
/** SPEC-258: Notification event matcher for notification templates */
|
|
313
|
-
notificationMatcher?: NotificationMatcher;
|
|
314
|
-
/** SPEC-262: Special action for configure_hooks (e.g. enable-plan-mode-integration) */
|
|
315
|
-
action?: 'enable-plan-mode-integration';
|
|
316
|
-
}
|
|
317
156
|
//# sourceMappingURL=file-hooks.d.ts.map
|
package/dist/types/file-hooks.js
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
+
// types/file-hooks.ts — Domain types for File Event Hooks (SPEC-129)
|
|
1
2
|
export {};
|
|
3
|
+
// ---------------------------------------------------------------------------
|
|
4
|
+
// SPEC-130 — Tool input types
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// ---------------------------------------------------------------------------
|
|
7
|
+
// SPEC-137 — Auto-reconcile and progress tracking via hooks
|
|
8
|
+
// ---------------------------------------------------------------------------
|
|
9
|
+
/** Minimal spec info needed to run living-spec analysis without loading the full store */
|
|
10
|
+
/** Result of analyzing a single criterion after an implementation change */
|
|
11
|
+
/** Per-spec result after analyzing implementation changes */
|
|
12
|
+
/** Result of handling an impl-change event */
|
|
13
|
+
/** Payload emitted when a spec status changes */
|
|
14
|
+
/** Result of handling a spec status change event */
|
|
15
|
+
/** Function type for triggering dashboard regeneration */
|
|
16
|
+
/** Per-criterion result returned by AnalyzeSpecFn — unified alias for ImplChangeCriterionResult. */
|
|
17
|
+
/** Return type for AnalyzeSpecFn */
|
|
18
|
+
/** Function that analyzes a MinimalAnalyzableSpec and returns completion data */
|
|
2
19
|
//# sourceMappingURL=file-hooks.js.map
|
package/dist/types/git.d.ts
CHANGED
|
@@ -24,14 +24,14 @@ export interface GitConfig {
|
|
|
24
24
|
/** worktree-cleanup: name of a specific worktree to remove */
|
|
25
25
|
name?: string;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
interface PrTemplate {
|
|
28
28
|
title: string;
|
|
29
29
|
body: string;
|
|
30
30
|
labels: string[];
|
|
31
31
|
reviewers?: string[];
|
|
32
32
|
linkedIssues?: string[];
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
interface LinkedCommit {
|
|
35
35
|
hash: string;
|
|
36
36
|
message: string;
|
|
37
37
|
specId: string;
|
|
@@ -39,7 +39,7 @@ export interface LinkedCommit {
|
|
|
39
39
|
date: string;
|
|
40
40
|
filesChanged: string[];
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
interface GitSpecStatus {
|
|
43
43
|
currentBranch: string;
|
|
44
44
|
linkedSpec?: string;
|
|
45
45
|
uncommittedChanges: number;
|
|
@@ -47,7 +47,7 @@ export interface GitSpecStatus {
|
|
|
47
47
|
specsCoveredByCommits: string[];
|
|
48
48
|
specsInProgress: string[];
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
interface SessionResumeInfo {
|
|
51
51
|
command: string;
|
|
52
52
|
description: string;
|
|
53
53
|
prNumber?: number;
|
|
@@ -63,84 +63,8 @@ export interface ManageGitResult {
|
|
|
63
63
|
message: string;
|
|
64
64
|
sessionResume?: SessionResumeInfo;
|
|
65
65
|
}
|
|
66
|
-
export interface PreCommitHookConfig {
|
|
67
|
-
validateSpecExists: boolean;
|
|
68
|
-
validateBranchName: boolean;
|
|
69
|
-
runLinting: boolean;
|
|
70
|
-
runTests: boolean;
|
|
71
|
-
checkEnvSecrets: boolean;
|
|
72
|
-
maxFilesPerCommit?: number;
|
|
73
|
-
}
|
|
74
|
-
export interface ManageGitInput {
|
|
75
|
-
projectId: string;
|
|
76
|
-
action: GitAction;
|
|
77
|
-
specId?: string;
|
|
78
|
-
config?: GitConfig;
|
|
79
|
-
files?: string[];
|
|
80
|
-
}
|
|
81
|
-
export type ChangelogFormat = 'technical' | 'user-facing';
|
|
82
66
|
export type HookManager = 'husky' | 'lefthook' | 'simple-git-hooks' | 'native';
|
|
83
67
|
export type GitFlowType = 'gitflow' | 'github-flow' | 'trunk-based';
|
|
84
|
-
export type BreakingChangeType = 'breaking' | 'non-breaking' | 'deprecation';
|
|
85
|
-
export interface BranchConvention {
|
|
86
|
-
prefix: string;
|
|
87
|
-
specId: string;
|
|
88
|
-
slug: string;
|
|
89
|
-
fullName: string;
|
|
90
|
-
}
|
|
91
|
-
export interface GitChangelogEntry {
|
|
92
|
-
type: string;
|
|
93
|
-
specId?: string;
|
|
94
|
-
description: string;
|
|
95
|
-
commits: string[];
|
|
96
|
-
version?: string;
|
|
97
|
-
}
|
|
98
|
-
export interface HookConfig {
|
|
99
|
-
type: 'commit-msg' | 'pre-commit' | 'pre-push';
|
|
100
|
-
manager: HookManager;
|
|
101
|
-
script: string;
|
|
102
|
-
enabled: boolean;
|
|
103
|
-
}
|
|
104
|
-
export interface GitStatusView {
|
|
105
|
-
specsInProgress: string[];
|
|
106
|
-
activeBranches: string[];
|
|
107
|
-
unmergedChanges: number;
|
|
108
|
-
branchesCommitsBehind: Record<string, number>;
|
|
109
|
-
}
|
|
110
|
-
export interface BreakingChange {
|
|
111
|
-
type: BreakingChangeType;
|
|
112
|
-
description: string;
|
|
113
|
-
file?: string;
|
|
114
|
-
consumers?: string[];
|
|
115
|
-
migrationPlan?: string;
|
|
116
|
-
}
|
|
117
|
-
export interface ReleaseInfo {
|
|
118
|
-
version: string;
|
|
119
|
-
bumpType: 'major' | 'minor' | 'patch';
|
|
120
|
-
tagName: string;
|
|
121
|
-
releaseBranch?: string;
|
|
122
|
-
releaseNotes: string;
|
|
123
|
-
mergeInstructions: string[];
|
|
124
|
-
}
|
|
125
|
-
export interface SyncBranchResult {
|
|
126
|
-
commitsBehinds: number;
|
|
127
|
-
strategy: 'rebase' | 'merge';
|
|
128
|
-
gitFlowType: GitFlowType;
|
|
129
|
-
conflictingFiles?: string[];
|
|
130
|
-
message: string;
|
|
131
|
-
}
|
|
132
|
-
export interface BreakingCheckResult {
|
|
133
|
-
hasBreakingChanges: boolean;
|
|
134
|
-
changes: BreakingChange[];
|
|
135
|
-
summary: string;
|
|
136
|
-
}
|
|
137
|
-
export interface OrphanCommit {
|
|
138
|
-
hash: string;
|
|
139
|
-
message: string;
|
|
140
|
-
author: string;
|
|
141
|
-
date: string;
|
|
142
|
-
suggestedSpecId?: string;
|
|
143
|
-
}
|
|
144
68
|
export interface GitSetupResult {
|
|
145
69
|
data: Record<string, unknown>;
|
|
146
70
|
branch: string;
|
|
@@ -174,10 +98,10 @@ export interface CleanupReport {
|
|
|
174
98
|
message: string;
|
|
175
99
|
autoCompleted?: string[];
|
|
176
100
|
}
|
|
177
|
-
|
|
101
|
+
type CleanupProposalKind = 'worktree' | 'local-branch' | 'remote-branch';
|
|
178
102
|
export type CleanupMergedState = 'merged' | 'not_merged' | 'unknown';
|
|
179
|
-
|
|
180
|
-
|
|
103
|
+
type CleanupSuggestedAction = 'delete' | 'keep' | 'inspect';
|
|
104
|
+
interface SpecDoneCleanupProposal {
|
|
181
105
|
kind: CleanupProposalKind;
|
|
182
106
|
ref: string;
|
|
183
107
|
worktreeClean: boolean | null;
|
|
@@ -198,100 +122,6 @@ export interface DoneSideEffectsReport {
|
|
|
198
122
|
housekeepingProposal: HousekeepingReport;
|
|
199
123
|
planuLayoutOffenders: string[];
|
|
200
124
|
}
|
|
201
|
-
export interface GitHubIssueImportResult {
|
|
202
|
-
action: 'import-issue';
|
|
203
|
-
specId: string;
|
|
204
|
-
issueNumber: number;
|
|
205
|
-
issueUrl: string;
|
|
206
|
-
specPath: string;
|
|
207
|
-
message: string;
|
|
208
|
-
}
|
|
209
|
-
export interface GitHubIssueExportResult {
|
|
210
|
-
action: 'export-to-issue';
|
|
211
|
-
specId: string;
|
|
212
|
-
issueNumber: number;
|
|
213
|
-
issueUrl: string;
|
|
214
|
-
message: string;
|
|
215
|
-
}
|
|
216
|
-
export interface GitHubIssueSyncResult {
|
|
217
|
-
action: 'sync-issue';
|
|
218
|
-
specId: string;
|
|
219
|
-
issueNumber: number;
|
|
220
|
-
issueUrl: string;
|
|
221
|
-
syncedAction: 'closed' | 'commented' | 'none';
|
|
222
|
-
message: string;
|
|
223
|
-
}
|
|
224
|
-
export interface GitHubIssueShape {
|
|
225
|
-
number: number;
|
|
226
|
-
title: string;
|
|
227
|
-
body: string | null;
|
|
228
|
-
html_url: string;
|
|
229
|
-
state: 'open' | 'closed';
|
|
230
|
-
labels: {
|
|
231
|
-
name: string;
|
|
232
|
-
}[];
|
|
233
|
-
}
|
|
234
|
-
export interface GitHubIssueCreatePayload {
|
|
235
|
-
title: string;
|
|
236
|
-
body: string;
|
|
237
|
-
labels?: string[];
|
|
238
|
-
}
|
|
239
|
-
export interface GitHubIssuePatchPayload {
|
|
240
|
-
state?: 'open' | 'closed';
|
|
241
|
-
}
|
|
242
|
-
export interface GitHubIssueComment {
|
|
243
|
-
body: string;
|
|
244
|
-
}
|
|
245
|
-
export interface DiffStats {
|
|
246
|
-
/** Number of files changed in the diff */
|
|
247
|
-
filesChanged: number;
|
|
248
|
-
/** Total lines added */
|
|
249
|
-
linesAdded: number;
|
|
250
|
-
/** Total lines removed */
|
|
251
|
-
linesRemoved: number;
|
|
252
|
-
/** List of changed file paths */
|
|
253
|
-
files: string[];
|
|
254
|
-
}
|
|
255
|
-
export interface AssessMergeRiskOptions {
|
|
256
|
-
/** Branch to assess (default: current branch) */
|
|
257
|
-
branch?: string;
|
|
258
|
-
/** Base branch to compare against (default: main) */
|
|
259
|
-
baseBranch?: string;
|
|
260
|
-
/** Description of the change for spec compliance check */
|
|
261
|
-
context?: string;
|
|
262
|
-
}
|
|
263
|
-
export interface AnalyzerResult {
|
|
264
|
-
/** Risk score for this category (0-100) */
|
|
265
|
-
score: number;
|
|
266
|
-
/** Human-readable explanation */
|
|
267
|
-
reason: string;
|
|
268
|
-
}
|
|
269
|
-
export interface RiskBreakdown {
|
|
270
|
-
/** Category name (e.g. "Security Surface") */
|
|
271
|
-
category: string;
|
|
272
|
-
/** Score for this category (0-100) */
|
|
273
|
-
score: number;
|
|
274
|
-
/** Weight contribution to final score (all weights sum to 1.0) */
|
|
275
|
-
weight: number;
|
|
276
|
-
/** Human-readable explanation of the score */
|
|
277
|
-
reason: string;
|
|
278
|
-
}
|
|
279
|
-
export interface MergeRiskResult {
|
|
280
|
-
/** Weighted composite risk score (0-100) */
|
|
281
|
-
riskScore: number;
|
|
282
|
-
/** Merge recommendation based on risk score */
|
|
283
|
-
recommendation: 'auto-merge' | 'human-review' | 'block';
|
|
284
|
-
/** Per-category breakdown of the risk score */
|
|
285
|
-
breakdown: RiskBreakdown[];
|
|
286
|
-
/** Number of files changed in the diff */
|
|
287
|
-
filesChanged: number;
|
|
288
|
-
/** Lines added in the diff */
|
|
289
|
-
linesAdded: number;
|
|
290
|
-
/** Lines removed in the diff */
|
|
291
|
-
linesRemoved: number;
|
|
292
|
-
/** Plain-language summary for humans */
|
|
293
|
-
humanSummary: string;
|
|
294
|
-
}
|
|
295
125
|
export type HookSystem = 'husky' | 'lefthook' | 'simple-git-hooks' | 'native' | 'none';
|
|
296
126
|
export interface PlanuAutoStageResult {
|
|
297
127
|
injected: boolean;
|
|
@@ -300,14 +130,6 @@ export interface PlanuAutoStageResult {
|
|
|
300
130
|
alreadyPresent: boolean;
|
|
301
131
|
manualInstructions?: string;
|
|
302
132
|
}
|
|
303
|
-
export interface PrDescriptionResult {
|
|
304
|
-
specId: string;
|
|
305
|
-
specTitle: string;
|
|
306
|
-
markdown: string;
|
|
307
|
-
titleSuggestion: string;
|
|
308
|
-
labels: string[];
|
|
309
|
-
generatedAt: string;
|
|
310
|
-
}
|
|
311
133
|
export interface PrLink {
|
|
312
134
|
specId: string;
|
|
313
135
|
prUrl: string;
|
|
@@ -315,25 +137,7 @@ export interface PrLink {
|
|
|
315
137
|
platform: 'github' | 'gitlab' | 'linear' | 'other';
|
|
316
138
|
linkedAt: string;
|
|
317
139
|
}
|
|
318
|
-
|
|
319
|
-
projectPath: string;
|
|
320
|
-
specId: string;
|
|
321
|
-
platform?: 'github' | 'gitlab' | 'linear';
|
|
322
|
-
audience?: 'developer' | 'reviewer' | 'stakeholder';
|
|
323
|
-
includeChecklist?: boolean;
|
|
324
|
-
}
|
|
325
|
-
export interface LinkPrToSpecInput {
|
|
326
|
-
projectPath: string;
|
|
327
|
-
specId: string;
|
|
328
|
-
prUrl: string;
|
|
329
|
-
prNumber?: number;
|
|
330
|
-
platform?: 'github' | 'gitlab' | 'linear' | 'other';
|
|
331
|
-
}
|
|
332
|
-
export interface ListSpecPrsInput {
|
|
333
|
-
projectPath: string;
|
|
334
|
-
specId?: string;
|
|
335
|
-
}
|
|
336
|
-
export type PlanuAutocommitSkipReason = 'disabled' | 'no-staged-changes' | 'mid-merge' | 'detached-head';
|
|
140
|
+
type PlanuAutocommitSkipReason = 'disabled' | 'no-staged-changes' | 'mid-merge' | 'detached-head';
|
|
337
141
|
export type PlanuAutocommitReason = 'mark-done' | 'sync-release' | 'status-update' | 'session-checkpoint';
|
|
338
142
|
export interface PlanuAutocommitResult {
|
|
339
143
|
committed: boolean;
|
|
@@ -349,4 +153,5 @@ export interface PlanuAutocommitOptions {
|
|
|
349
153
|
/** Determines the commit message template. */
|
|
350
154
|
reason: PlanuAutocommitReason;
|
|
351
155
|
}
|
|
156
|
+
export {};
|
|
352
157
|
//# sourceMappingURL=git.d.ts.map
|