@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
|
@@ -1,99 +1,4 @@
|
|
|
1
|
-
import type { DeepAnalysisResult } from './reverse-engineer.js';
|
|
2
|
-
export interface DiscoveredModule {
|
|
3
|
-
name: string;
|
|
4
|
-
path: string;
|
|
5
|
-
estimatedFiles: number;
|
|
6
|
-
language: string;
|
|
7
|
-
detectionMethod: 'directory' | 'package' | 'framework' | 'monorepo' | 'manual';
|
|
8
|
-
}
|
|
9
|
-
export interface ModuleAnalysisResult {
|
|
10
|
-
module: DiscoveredModule;
|
|
11
|
-
analysis: DeepAnalysisResult;
|
|
12
|
-
error?: string;
|
|
13
|
-
status: 'success' | 'failed' | 'skipped';
|
|
14
|
-
}
|
|
15
|
-
export interface CrossModuleDependency {
|
|
16
|
-
from: string;
|
|
17
|
-
to: string;
|
|
18
|
-
type: 'import' | 'runtime';
|
|
19
|
-
files: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface CrossModuleAntipattern {
|
|
22
|
-
description: string;
|
|
23
|
-
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
24
|
-
modules: string[];
|
|
25
|
-
suggestion: string;
|
|
26
|
-
}
|
|
27
|
-
export interface CrossModuleAnalysis {
|
|
28
|
-
dependencies: CrossModuleDependency[];
|
|
29
|
-
circularDeps: string[][];
|
|
30
|
-
antipatterns: CrossModuleAntipattern[];
|
|
31
|
-
duplications: {
|
|
32
|
-
signature: string;
|
|
33
|
-
modules: string[];
|
|
34
|
-
}[];
|
|
35
|
-
orphanModules: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface HealthBreakdown {
|
|
38
|
-
testCoverage: number;
|
|
39
|
-
techDebt: number;
|
|
40
|
-
archConsistency: number;
|
|
41
|
-
depHealth: number;
|
|
42
|
-
}
|
|
43
1
|
export type HealthGrade = 'A' | 'B' | 'C' | 'D' | 'F';
|
|
44
|
-
export interface ScanHealthScore {
|
|
45
|
-
score: number;
|
|
46
|
-
breakdown: HealthBreakdown;
|
|
47
|
-
grade: HealthGrade;
|
|
48
|
-
}
|
|
49
|
-
export interface TopoEntry {
|
|
50
|
-
name: string;
|
|
51
|
-
deps: string[];
|
|
52
|
-
}
|
|
53
|
-
export interface TopoResult {
|
|
54
|
-
sorted: TopoEntry[];
|
|
55
|
-
cycleNote: string;
|
|
56
|
-
}
|
|
57
|
-
export interface ScanTeamPlan {
|
|
58
|
-
teamSize: number;
|
|
59
|
-
phases: {
|
|
60
|
-
phase: number;
|
|
61
|
-
teammates: string[];
|
|
62
|
-
parallel: boolean;
|
|
63
|
-
}[];
|
|
64
|
-
estimatedDuration: string;
|
|
65
|
-
teammatePrompts: {
|
|
66
|
-
name: string;
|
|
67
|
-
specId: string;
|
|
68
|
-
model: string;
|
|
69
|
-
}[];
|
|
70
|
-
}
|
|
71
|
-
export interface ScanProjectInput {
|
|
72
|
-
path: string;
|
|
73
|
-
projectId: string;
|
|
74
|
-
depth?: 'shallow' | 'deep' | 'deep-v2';
|
|
75
|
-
modules?: string[];
|
|
76
|
-
concurrency?: number;
|
|
77
|
-
generateOverview?: boolean;
|
|
78
|
-
generateTeamPlan?: boolean;
|
|
79
|
-
}
|
|
80
|
-
export interface ScanProjectOutput {
|
|
81
|
-
modulesDiscovered: number;
|
|
82
|
-
modules: {
|
|
83
|
-
name: string;
|
|
84
|
-
path: string;
|
|
85
|
-
files: number;
|
|
86
|
-
language: string;
|
|
87
|
-
}[];
|
|
88
|
-
projectHealth: ScanHealthScore;
|
|
89
|
-
specsGenerated: string[];
|
|
90
|
-
overviewSpecId: string;
|
|
91
|
-
crossModuleDeps: CrossModuleDependency[];
|
|
92
|
-
antipatterns: CrossModuleAntipattern[];
|
|
93
|
-
teamPlan?: ScanTeamPlan;
|
|
94
|
-
analysisTimeMs: number;
|
|
95
|
-
concurrencyUsed: number;
|
|
96
|
-
}
|
|
97
2
|
export interface LayerScanResult {
|
|
98
3
|
files: string[];
|
|
99
4
|
symbols: string[];
|
|
@@ -10,76 +10,10 @@ export interface ZodOptionalField {
|
|
|
10
10
|
zodType: string;
|
|
11
11
|
}
|
|
12
12
|
/** Result of checking if a TypeScript type has "?" for an optional field */
|
|
13
|
-
export interface TypeCheckResult {
|
|
14
|
-
/** Whether the field was found in any type file */
|
|
15
|
-
found: boolean;
|
|
16
|
-
/** Whether the field has "?" in the type definition */
|
|
17
|
-
hasOptionalMark: boolean;
|
|
18
|
-
/** The type file where the field was found (if found) */
|
|
19
|
-
typeFile: string;
|
|
20
|
-
}
|
|
21
13
|
/** Result of checking if a handler uses safe access patterns for an optional field */
|
|
22
|
-
export interface HandlerCheckResult {
|
|
23
|
-
/** The handler file that was checked */
|
|
24
|
-
handlerFile: string;
|
|
25
|
-
/** Whether any unsafe access (field.xxx without guard) was found */
|
|
26
|
-
hasUnsafeAccess: boolean;
|
|
27
|
-
/** Whether handler uses "field ?? " pattern */
|
|
28
|
-
hasNullishCoalescing: boolean;
|
|
29
|
-
/** Whether handler uses "if (field)" pattern */
|
|
30
|
-
hasIfCheck: boolean;
|
|
31
|
-
}
|
|
32
14
|
/** A single discrepancy between Zod schema and TypeScript type */
|
|
33
|
-
export interface ParityDiscrepancy {
|
|
34
|
-
/** Absolute path to the register-*.ts file */
|
|
35
|
-
registerFile: string;
|
|
36
|
-
/** Name of the field that is optional in Zod but possibly required in TS */
|
|
37
|
-
fieldName: string;
|
|
38
|
-
/** Name of the tool */
|
|
39
|
-
toolName: string;
|
|
40
|
-
/** The TypeScript type file where the discrepancy was found */
|
|
41
|
-
typeFile: string;
|
|
42
|
-
/** True when the TypeScript type is missing "?" for this field */
|
|
43
|
-
hasMissingOptionalInType: boolean;
|
|
44
|
-
/** True when the handler accesses the field without a null check */
|
|
45
|
-
hasUnsafeAccess: boolean;
|
|
46
|
-
/** "critical" = unsafe access in handler; "warning" = only missing "?" in type */
|
|
47
|
-
severity: 'critical' | 'warning';
|
|
48
|
-
/** Human-readable fix suggestion */
|
|
49
|
-
suggestedFix: string;
|
|
50
|
-
}
|
|
51
15
|
/** Result returned by auditSchemaParity() */
|
|
52
|
-
export interface ParityAuditResult {
|
|
53
|
-
/** Total number of optional fields scanned */
|
|
54
|
-
totalOptionalFields: number;
|
|
55
|
-
/** List of detected discrepancies */
|
|
56
|
-
discrepancies: ParityDiscrepancy[];
|
|
57
|
-
/** Human-readable summary */
|
|
58
|
-
summary: string;
|
|
59
|
-
}
|
|
60
16
|
/** Input for fix_schema_type_parity tool */
|
|
61
|
-
export interface ParityFixInput {
|
|
62
|
-
/** Root path of the project to fix */
|
|
63
|
-
projectPath: string;
|
|
64
|
-
/** When true, shows changes without applying them */
|
|
65
|
-
dryRun: boolean;
|
|
66
|
-
}
|
|
67
17
|
/** A single fix applied (or to be applied) by fixSchemaParity() */
|
|
68
|
-
export interface ParityFix {
|
|
69
|
-
/** The file that was (or would be) modified */
|
|
70
|
-
file: string;
|
|
71
|
-
/** Short description of what changed */
|
|
72
|
-
description: string;
|
|
73
|
-
/** When dryRun=true, the diff preview */
|
|
74
|
-
preview?: string;
|
|
75
|
-
}
|
|
76
18
|
/** Result returned by fixSchemaParity() */
|
|
77
|
-
export interface ParityFixResult {
|
|
78
|
-
/** Whether this was a dry run */
|
|
79
|
-
dryRun: boolean;
|
|
80
|
-
/** List of fixes applied or previewed */
|
|
81
|
-
fixes: ParityFix[];
|
|
82
|
-
/** Human-readable summary */
|
|
83
|
-
summary: string;
|
|
84
|
-
}
|
|
85
19
|
//# sourceMappingURL=schema-parity.d.ts.map
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
// types/schema-parity.ts — Domain types for SPEC-449 Zod/TS Optional Parity Auditor
|
|
2
2
|
export {};
|
|
3
|
+
/** Result of checking if a TypeScript type has "?" for an optional field */
|
|
4
|
+
/** Result of checking if a handler uses safe access patterns for an optional field */
|
|
5
|
+
/** A single discrepancy between Zod schema and TypeScript type */
|
|
6
|
+
/** Result returned by auditSchemaParity() */
|
|
7
|
+
/** Input for fix_schema_type_parity tool */
|
|
8
|
+
/** A single fix applied (or to be applied) by fixSchemaParity() */
|
|
9
|
+
/** Result returned by fixSchemaParity() */
|
|
3
10
|
//# sourceMappingURL=schema-parity.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Entry in the out-of-scope suggestions registry (JSON). */
|
|
2
|
-
|
|
2
|
+
interface TopicEntry {
|
|
3
3
|
keywords: string[];
|
|
4
4
|
suggestions: string[];
|
|
5
5
|
}
|
|
@@ -58,4 +58,5 @@ export interface ScopeValidationResult {
|
|
|
58
58
|
/** Human-readable summary. */
|
|
59
59
|
summary: string;
|
|
60
60
|
}
|
|
61
|
+
export {};
|
|
61
62
|
//# sourceMappingURL=scope-boundaries.d.ts.map
|
package/dist/types/scope.d.ts
CHANGED
|
@@ -1,55 +1,11 @@
|
|
|
1
1
|
/** Classification of a requirement or spec relative to the defined project scope. */
|
|
2
|
-
export type ScopeClassification = 'in_scope' | 'backlog' | 'out_of_project';
|
|
3
2
|
/** Severity level of a detected contradiction between specs. */
|
|
4
|
-
|
|
3
|
+
type ConflictSeverity = 'blocker' | 'warning' | 'info';
|
|
5
4
|
/** Operation for the manage_scope tool. */
|
|
6
|
-
export type ManageScopeOperation = 'view' | 'add_to_backlog' | 'propose_change' | 'list_backlog';
|
|
7
5
|
/** The project scope definition — platforms, users, and the core problem. */
|
|
8
|
-
export interface ScopeDefinition {
|
|
9
|
-
/** Target platforms (e.g., 'ios', 'android', 'web'). */
|
|
10
|
-
platforms: string[];
|
|
11
|
-
/** Target user types (e.g., 'end-user', 'admin', 'developer'). */
|
|
12
|
-
targetUsers: string[];
|
|
13
|
-
/** The primary problem the project solves. */
|
|
14
|
-
primaryProblem: string;
|
|
15
|
-
/** ISO timestamp when this scope was defined. */
|
|
16
|
-
definedAt: string;
|
|
17
|
-
/** Change history for audit trail. */
|
|
18
|
-
changeHistory?: ScopeDecision[];
|
|
19
|
-
}
|
|
20
6
|
/** An item deferred to the backlog instead of the current project scope. */
|
|
21
|
-
export interface BacklogItem {
|
|
22
|
-
/** Unique identifier for the backlog item. */
|
|
23
|
-
id: string;
|
|
24
|
-
/** Human-readable description of the idea or requirement. */
|
|
25
|
-
description: string;
|
|
26
|
-
/** Associated spec ID if one exists. */
|
|
27
|
-
specId?: string;
|
|
28
|
-
/** ISO timestamp when the item was added. */
|
|
29
|
-
dateAdded: string;
|
|
30
|
-
/** Why this was not included in the current scope. */
|
|
31
|
-
exclusionReason: string;
|
|
32
|
-
}
|
|
33
7
|
/** A formal scope change decision with audit trail. */
|
|
34
|
-
export interface ScopeDecision {
|
|
35
|
-
/** Type of change: expanding, narrowing, or removing from scope. */
|
|
36
|
-
type: 'change' | 'add' | 'remove';
|
|
37
|
-
/** Business reason for the change. */
|
|
38
|
-
reason: string;
|
|
39
|
-
/** ISO timestamp of the decision. */
|
|
40
|
-
date: string;
|
|
41
|
-
/** Who approved the change. */
|
|
42
|
-
approvedBy: string;
|
|
43
|
-
}
|
|
44
8
|
/** Result of evaluating a requirement against the current scope. */
|
|
45
|
-
export interface ScopeEvaluation {
|
|
46
|
-
/** How the requirement classifies relative to the project scope. */
|
|
47
|
-
classification: ScopeClassification;
|
|
48
|
-
/** Human-readable explanation of the classification. */
|
|
49
|
-
reason: string;
|
|
50
|
-
/** Optional suggested next action (add to backlog, create new project, etc.). */
|
|
51
|
-
suggestion?: string;
|
|
52
|
-
}
|
|
53
9
|
/** A semantic contradiction detected between two specs. */
|
|
54
10
|
export interface Contradiction {
|
|
55
11
|
/** ID of the first spec in the conflict. */
|
|
@@ -79,29 +35,7 @@ export interface ConflictReport {
|
|
|
79
35
|
warningCount: number;
|
|
80
36
|
}
|
|
81
37
|
/** Input for the manage_scope MCP tool. */
|
|
82
|
-
export interface ManageScopeInput {
|
|
83
|
-
/** Project ID. */
|
|
84
|
-
projectId: string;
|
|
85
|
-
/** Operation to perform. */
|
|
86
|
-
operation: ManageScopeOperation;
|
|
87
|
-
/** Description of the item to add to the backlog (required for add_to_backlog). */
|
|
88
|
-
itemDescription?: string;
|
|
89
|
-
/** Exclusion reason (required for add_to_backlog). */
|
|
90
|
-
exclusionReason?: string;
|
|
91
|
-
/** Spec ID to associate with the backlog item (optional for add_to_backlog). */
|
|
92
|
-
specId?: string;
|
|
93
|
-
/** New scope definition (required for propose_change). */
|
|
94
|
-
newScope?: Partial<ScopeDefinition>;
|
|
95
|
-
/** Reason for scope change (required for propose_change). */
|
|
96
|
-
changeReason?: string;
|
|
97
|
-
/** Who is approving the change (required for propose_change). */
|
|
98
|
-
approvedBy?: string;
|
|
99
|
-
}
|
|
100
38
|
/** Input for the detect_contradictions MCP tool. */
|
|
101
|
-
export interface DetectContradictionsInput {
|
|
102
|
-
/** Project ID to analyze. */
|
|
103
|
-
projectId: string;
|
|
104
|
-
}
|
|
105
39
|
/** Input spec for contradiction detection analysis. */
|
|
106
40
|
export interface SpecAnalysisInput {
|
|
107
41
|
/** Spec ID. */
|
|
@@ -151,4 +85,5 @@ export interface CrossSpecPremiseFinding {
|
|
|
151
85
|
/** File path shared between both specs' ## Files sections, evidencing the same subject. */
|
|
152
86
|
sharedFilePath: string;
|
|
153
87
|
}
|
|
88
|
+
export {};
|
|
154
89
|
//# sourceMappingURL=scope.d.ts.map
|
package/dist/types/sdd-flow.d.ts
CHANGED
|
@@ -1,50 +1,28 @@
|
|
|
1
1
|
import type { InteractiveQuestion } from './clarification.js';
|
|
2
2
|
import type { ModelName } from './workflow.js';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type StageStatus = 'pending' | 'in-progress' | 'completed' | 'failed';
|
|
7
|
-
export type GateAction = 'proceed' | 'pause' | 'exit';
|
|
8
|
-
export interface TeammateInfo {
|
|
3
|
+
type StageName = 'planner' | 'reviewer' | 'executor' | 'validator' | 'merger' | 'releaser';
|
|
4
|
+
type ControlMode = 'full-auto' | 'interactive' | 'preview';
|
|
5
|
+
interface TeammateInfo {
|
|
9
6
|
specId: string;
|
|
10
7
|
model: ModelName;
|
|
11
8
|
worktree: string;
|
|
12
9
|
status: 'pending' | 'running' | 'completed' | 'failed' | 'rolled-back';
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
name: StageName;
|
|
16
|
-
status: StageStatus;
|
|
17
|
-
startedAt?: string;
|
|
18
|
-
completedAt?: string;
|
|
19
|
-
inputs: unknown;
|
|
20
|
-
outputs: unknown;
|
|
21
|
-
teammates?: TeammateInfo[];
|
|
22
|
-
}
|
|
23
|
-
export interface SddFlowState {
|
|
24
|
-
runId: string;
|
|
25
|
-
startedAt: string;
|
|
26
|
-
projectPath: string;
|
|
27
|
-
controlMode: ControlMode;
|
|
28
|
-
specIds: string[];
|
|
29
|
-
stages: StageRecord[];
|
|
30
|
-
currentStage: number;
|
|
31
|
-
pendingQuestions?: InteractiveQuestion[];
|
|
32
|
-
}
|
|
33
|
-
export interface WaveTeammate {
|
|
11
|
+
interface WaveTeammate {
|
|
34
12
|
specId: string;
|
|
35
13
|
model: ModelName;
|
|
36
14
|
}
|
|
37
|
-
|
|
15
|
+
interface Wave {
|
|
38
16
|
index: number;
|
|
39
17
|
specIds: string[];
|
|
40
18
|
teammates: WaveTeammate[];
|
|
41
19
|
}
|
|
42
|
-
|
|
20
|
+
interface WavePlan {
|
|
43
21
|
waves: Wave[];
|
|
44
22
|
totalTeammates: number;
|
|
45
23
|
estimatedCost: number;
|
|
46
24
|
}
|
|
47
|
-
|
|
25
|
+
interface ModelRouting {
|
|
48
26
|
planner: ModelName;
|
|
49
27
|
reviewer: ModelName;
|
|
50
28
|
executor: ModelName;
|
|
@@ -52,61 +30,6 @@ export interface ModelRouting {
|
|
|
52
30
|
merger: ModelName;
|
|
53
31
|
releaser: ModelName;
|
|
54
32
|
}
|
|
55
|
-
export interface GateDecision {
|
|
56
|
-
action: GateAction;
|
|
57
|
-
questions?: InteractiveQuestion[];
|
|
58
|
-
reason?: string;
|
|
59
|
-
/** SPEC-587: Plan mode hint forwarded to MCP response layer for Claude Code hosts. */
|
|
60
|
-
modeHint?: 'plan';
|
|
61
|
-
}
|
|
62
|
-
export interface PlannerOutput {
|
|
63
|
-
wavePlan: WavePlan;
|
|
64
|
-
modelRouting: ModelRouting;
|
|
65
|
-
perTeammateModels: Record<string, ModelName>;
|
|
66
|
-
}
|
|
67
|
-
export interface ValidatorOutput {
|
|
68
|
-
passed: string[];
|
|
69
|
-
failed: string[];
|
|
70
|
-
rolledBack: string[];
|
|
71
|
-
}
|
|
72
|
-
export interface SddFlowInput {
|
|
73
|
-
specIds?: string[];
|
|
74
|
-
projectPath?: string;
|
|
75
|
-
controlMode?: ControlMode;
|
|
76
|
-
maxTeammates?: number;
|
|
77
|
-
modelStrategy?: ModelStrategy;
|
|
78
|
-
qualityGates?: string[];
|
|
79
|
-
resumeFrom?: string;
|
|
80
|
-
}
|
|
81
|
-
export interface SddFlowResult {
|
|
82
|
-
runId: string;
|
|
83
|
-
status: 'completed' | 'paused' | 'preview' | 'failed';
|
|
84
|
-
currentStage?: StageName;
|
|
85
|
-
interactiveQuestions?: InteractiveQuestion[];
|
|
86
|
-
wavePlan?: WavePlan;
|
|
87
|
-
summary?: string;
|
|
88
|
-
merged?: string[];
|
|
89
|
-
released?: boolean;
|
|
90
|
-
}
|
|
91
|
-
export interface SafetyWave {
|
|
92
|
-
specIds: string[];
|
|
93
|
-
}
|
|
94
|
-
export interface PipelineInput {
|
|
95
|
-
state: SddFlowState;
|
|
96
|
-
perTeammateOverrides?: Record<string, ModelName>;
|
|
97
|
-
maxTeammates?: number;
|
|
98
|
-
parallelSafetyResult?: {
|
|
99
|
-
waves: SafetyWave[];
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
export interface PipelineOutput {
|
|
103
|
-
state: SddFlowState;
|
|
104
|
-
interactiveQuestions?: InteractiveQuestion[];
|
|
105
|
-
status: 'completed' | 'paused' | 'preview' | 'failed';
|
|
106
|
-
wavePlan?: WavePlan;
|
|
107
|
-
merged?: string[];
|
|
108
|
-
released?: boolean;
|
|
109
|
-
}
|
|
110
33
|
export interface GateContext {
|
|
111
34
|
stage: StageName;
|
|
112
35
|
controlMode: ControlMode;
|
package/dist/types/security.d.ts
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
export type OWASPCategory = 'A01-broken-access-control' | 'A02-cryptographic-failures' | 'A03-injection' | 'A04-insecure-design' | 'A05-security-misconfiguration' | 'A06-vulnerable-components' | 'A07-auth-failures' | 'A08-data-integrity' | 'A09-logging' | 'A10-ssrf';
|
|
2
2
|
export type FeatureSecurityProfile = 'public-api' | 'auth' | 'db-access' | 'file-upload' | 'html-render' | 'internal-service' | 'pii-data';
|
|
3
|
-
|
|
3
|
+
type InsecurePatternSeverity = 'critical' | 'high' | 'medium' | 'low';
|
|
4
4
|
export type AuthMechanism = 'jwt' | 'oauth2' | 'api-key' | 'session' | 'basic' | 'none';
|
|
5
5
|
export type ComplianceFramework = 'hipaa' | 'pci-dss' | 'fedramp' | 'soc2' | 'gdpr';
|
|
6
|
-
export type ZeroTrustMaturityLevel = 'none' | 'basic' | 'intermediate' | 'advanced';
|
|
7
6
|
export type SecurityGrade = 'A' | 'B' | 'C' | 'D' | 'F';
|
|
8
7
|
export type StrideCategory = 'spoofing' | 'tampering' | 'repudiation' | 'information-disclosure' | 'denial-of-service' | 'elevation-of-privilege';
|
|
9
|
-
export type SecurityCheckSubcommand = 'analyze' | 'score' | 'drift';
|
|
10
8
|
export interface SecurityCriterion {
|
|
11
9
|
owasp: OWASPCategory;
|
|
12
10
|
description: string;
|
|
13
11
|
rationale: string;
|
|
14
12
|
verificationStatus: 'missing' | 'present' | 'partial';
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
interface InsecurePattern {
|
|
17
15
|
id: string;
|
|
18
16
|
name: string;
|
|
19
17
|
regex: string;
|
|
@@ -45,41 +43,6 @@ export interface StrideThreat {
|
|
|
45
43
|
cvssRange: string;
|
|
46
44
|
mitigation: string;
|
|
47
45
|
}
|
|
48
|
-
export interface SecuritySection {
|
|
49
|
-
owaspCategories: OWASPCategory[];
|
|
50
|
-
criteria: string[];
|
|
51
|
-
authMechanism?: AuthMechanism;
|
|
52
|
-
stridThreats?: StrideThreat[];
|
|
53
|
-
complianceItems?: string[];
|
|
54
|
-
}
|
|
55
|
-
export interface SecurityCheckInput {
|
|
56
|
-
specId: string;
|
|
57
|
-
projectId: string;
|
|
58
|
-
subcommand?: SecurityCheckSubcommand;
|
|
59
|
-
codeFiles?: string[];
|
|
60
|
-
}
|
|
61
|
-
export interface ComplianceDetectionResult {
|
|
62
|
-
frameworks: ComplianceFramework[];
|
|
63
|
-
criteria: string[];
|
|
64
|
-
principles: string[];
|
|
65
|
-
}
|
|
66
|
-
export interface SastToolDetection {
|
|
67
|
-
tool: string;
|
|
68
|
-
configured: boolean;
|
|
69
|
-
configFile?: string;
|
|
70
|
-
}
|
|
71
|
-
export interface ZeroTrustDetection {
|
|
72
|
-
maturityLevel: ZeroTrustMaturityLevel;
|
|
73
|
-
indicators: string[];
|
|
74
|
-
roadmapPhases?: string[];
|
|
75
|
-
}
|
|
76
|
-
export interface SupplyChainDetection {
|
|
77
|
-
hasSlsa: boolean;
|
|
78
|
-
hasSbom: boolean;
|
|
79
|
-
hasSigning: boolean;
|
|
80
|
-
hasDependencyPinning: boolean;
|
|
81
|
-
details: string[];
|
|
82
|
-
}
|
|
83
46
|
export interface SecurityPatternsConfig {
|
|
84
47
|
insecurePatterns: InsecurePattern[];
|
|
85
48
|
owaspCriteriaByProfile: Record<string, {
|
|
@@ -115,32 +78,5 @@ export interface SecretStoreAdapter {
|
|
|
115
78
|
set(id: string, value: string): Promise<void>;
|
|
116
79
|
delete(id: string): Promise<void>;
|
|
117
80
|
}
|
|
118
|
-
export
|
|
119
|
-
readonly jsonPath: readonly string[];
|
|
120
|
-
readonly secretId: string;
|
|
121
|
-
readonly purpose: SecretPurpose;
|
|
122
|
-
}
|
|
123
|
-
export interface SecretMigrationTarget {
|
|
124
|
-
readonly sourcePath: string;
|
|
125
|
-
readonly bindings: readonly SecretMigrationBinding[];
|
|
126
|
-
}
|
|
127
|
-
export interface SecretMigrationFinding {
|
|
128
|
-
readonly sourcePath: string;
|
|
129
|
-
readonly destination: string;
|
|
130
|
-
readonly jsonPath: string;
|
|
131
|
-
readonly state: 'pending' | 'migrated' | 'already-secure' | 'missing';
|
|
132
|
-
}
|
|
133
|
-
export interface SecretMigrationReport {
|
|
134
|
-
readonly schemaVersion: 1;
|
|
135
|
-
readonly mode: 'dry-run' | 'apply';
|
|
136
|
-
readonly findings: readonly SecretMigrationFinding[];
|
|
137
|
-
}
|
|
138
|
-
export interface SecretMigrationOptions {
|
|
139
|
-
readonly mode: 'dry-run' | 'apply';
|
|
140
|
-
readonly provider: {
|
|
141
|
-
reference(id: string, purpose: SecretPurpose): SecretReference;
|
|
142
|
-
store(reference: SecretReference, value: string): Promise<void>;
|
|
143
|
-
};
|
|
144
|
-
readonly journalPath: string;
|
|
145
|
-
}
|
|
81
|
+
export {};
|
|
146
82
|
//# sourceMappingURL=security.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type FixStrategyName = 'typescript' | 'lint' | 'tests' | 'coverage';
|
|
2
|
-
|
|
2
|
+
type HealingFailureType = 'typecheck' | 'lint' | 'test' | 'coverage';
|
|
3
3
|
export interface HealingFailureContext {
|
|
4
4
|
type: HealingFailureType;
|
|
5
5
|
details: string;
|
|
@@ -39,7 +39,7 @@ export interface UncoveredFile {
|
|
|
39
39
|
stmtCount: number;
|
|
40
40
|
}
|
|
41
41
|
/** Shape of a single file entry in coverage/coverage-final.json (v8/istanbul). */
|
|
42
|
-
|
|
42
|
+
interface CoverageFileSummary {
|
|
43
43
|
/** Statement hit counts keyed by statement index. */
|
|
44
44
|
s: Record<string, number>;
|
|
45
45
|
/** Branch hit counts keyed by branch index. */
|
|
@@ -62,4 +62,5 @@ export interface RunHealingLoopInput {
|
|
|
62
62
|
failureDetails: string;
|
|
63
63
|
maxAttempts?: number;
|
|
64
64
|
}
|
|
65
|
+
export {};
|
|
65
66
|
//# sourceMappingURL=self-healing.d.ts.map
|
|
@@ -16,17 +16,7 @@ export interface HandoffData {
|
|
|
16
16
|
nextStep: string | null;
|
|
17
17
|
}
|
|
18
18
|
/** Input for the session_handoff tool (SPEC-398). */
|
|
19
|
-
export interface SessionHandoffInput {
|
|
20
|
-
projectPath: string;
|
|
21
|
-
projectId?: string;
|
|
22
|
-
}
|
|
23
19
|
/** Input for the session_checkpoint tool. */
|
|
24
|
-
export interface SessionCheckpointInput {
|
|
25
|
-
projectPath: string;
|
|
26
|
-
projectId: string;
|
|
27
|
-
decisions?: string[];
|
|
28
|
-
nextSteps?: string[];
|
|
29
|
-
}
|
|
30
20
|
/** SPEC-633: Per-spec session state stored in planu/state/session-{specId}.json. */
|
|
31
21
|
export interface SpecSessionState {
|
|
32
22
|
specId: string;
|
|
@@ -75,24 +65,8 @@ export interface PreparedSessionArtifact {
|
|
|
75
65
|
previous: string | null;
|
|
76
66
|
}
|
|
77
67
|
/** SPEC-639: Status of a single agent worker in the handoff.json protocol. */
|
|
78
|
-
export type AgentHandoffStatus = 'pending' | 'done' | 'failed';
|
|
79
68
|
/** SPEC-639: Entry written by a worker agent when it completes its work. */
|
|
80
|
-
export interface AgentHandoffEntry {
|
|
81
|
-
agentId: string;
|
|
82
|
-
status: AgentHandoffStatus;
|
|
83
|
-
filesCreated: string[];
|
|
84
|
-
filesModified: string[];
|
|
85
|
-
summary: string;
|
|
86
|
-
error?: string;
|
|
87
|
-
updatedAt: string;
|
|
88
|
-
}
|
|
89
69
|
/** SPEC-639: Content of .planu/team/{specId}/handoff.json. */
|
|
90
|
-
export interface AgentTeamHandoff {
|
|
91
|
-
specId: string;
|
|
92
|
-
createdAt: string;
|
|
93
|
-
updatedAt: string;
|
|
94
|
-
agents: Record<string, AgentHandoffEntry>;
|
|
95
|
-
}
|
|
96
70
|
/** Persistent session handoff state stored in planu/session-state.json. */
|
|
97
71
|
export interface SessionCheckpointState {
|
|
98
72
|
/** ISO timestamp when this checkpoint was created. */
|
|
@@ -20,10 +20,4 @@ export interface PlaceholderDefinition {
|
|
|
20
20
|
derive?: (k: ProjectKnowledge) => string | null;
|
|
21
21
|
}
|
|
22
22
|
/** Rule for rewriting package manager or test runner commands in skill content. */
|
|
23
|
-
export interface RewriteRule {
|
|
24
|
-
/** Package manager or runner to replace FROM (e.g. 'npm', 'jest') */
|
|
25
|
-
from: string;
|
|
26
|
-
/** Package manager or runner to replace TO (e.g. 'pnpm', 'vitest') */
|
|
27
|
-
to: string;
|
|
28
|
-
}
|
|
29
23
|
//# sourceMappingURL=skill-adapter.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type BootstrapRegistryType = 'awesome-cursorrules' | 'skills-sh' | 'github-custom';
|
|
2
|
+
type SkillTargetFile = 'cursorrules' | 'windsurfrules' | 'claude-md' | 'kiro-steering' | 'agents-md' | 'clinerules';
|
|
3
3
|
export interface BootstrapRegistrySource {
|
|
4
4
|
type: BootstrapRegistryType;
|
|
5
5
|
name: string;
|
|
@@ -15,52 +15,17 @@ export interface DiscoveredSkill {
|
|
|
15
15
|
fetchedAt: string;
|
|
16
16
|
url: string;
|
|
17
17
|
}
|
|
18
|
-
export interface SkillBootstrapResult {
|
|
19
|
-
detectedStack: string[];
|
|
20
|
-
discoveredSkills: DiscoveredSkill[];
|
|
21
|
-
installedFiles: {
|
|
22
|
-
target: SkillTargetFile;
|
|
23
|
-
path: string;
|
|
24
|
-
skillsCount: number;
|
|
25
|
-
}[];
|
|
26
|
-
skippedSources: string[];
|
|
27
|
-
bootstrappedAt: string;
|
|
28
|
-
}
|
|
29
18
|
export interface SkillBootstrapConfig {
|
|
30
19
|
sources: BootstrapRegistrySource[];
|
|
31
20
|
targets: SkillTargetFile[];
|
|
32
21
|
autoMerge: boolean;
|
|
33
22
|
configuredAt: string;
|
|
34
23
|
}
|
|
35
|
-
export interface DiscoverSkillsInput {
|
|
36
|
-
projectPath: string;
|
|
37
|
-
stack?: string[];
|
|
38
|
-
sources?: BootstrapRegistryType[];
|
|
39
|
-
}
|
|
40
|
-
export interface BootstrapSkillsInput {
|
|
41
|
-
projectPath: string;
|
|
42
|
-
stack?: string[];
|
|
43
|
-
targets?: SkillTargetFile[];
|
|
44
|
-
dryRun?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export interface ConfigureSkillRegistriesInput {
|
|
47
|
-
projectPath: string;
|
|
48
|
-
addSource?: {
|
|
49
|
-
type: 'github-custom';
|
|
50
|
-
name: string;
|
|
51
|
-
repo: string;
|
|
52
|
-
subdir?: string;
|
|
53
|
-
};
|
|
54
|
-
removeSource?: string;
|
|
55
|
-
enableSource?: string;
|
|
56
|
-
disableSource?: string;
|
|
57
|
-
setTargets?: SkillTargetFile[];
|
|
58
|
-
setAutoMerge?: boolean;
|
|
59
|
-
}
|
|
60
24
|
/** SPEC-451: Lightweight skill discovery result surfaced in init_project response */
|
|
61
25
|
export interface DiscoveredRegistrySkill {
|
|
62
26
|
tech: string;
|
|
63
27
|
sourceName: string;
|
|
64
28
|
url: string;
|
|
65
29
|
}
|
|
30
|
+
export {};
|
|
66
31
|
//# sourceMappingURL=skill-bootstrap.d.ts.map
|