@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
|
@@ -7,21 +7,4 @@ export interface CveFinding {
|
|
|
7
7
|
fixedIn: string | null;
|
|
8
8
|
}
|
|
9
9
|
/** Result of running a pre-spec dependency check before spec creation. */
|
|
10
|
-
export interface PreSpecDepResult {
|
|
11
|
-
hasWarnings: boolean;
|
|
12
|
-
criticalCount: number;
|
|
13
|
-
highCount: number;
|
|
14
|
-
abandonedCount: number;
|
|
15
|
-
warningLines: string[];
|
|
16
|
-
}
|
|
17
|
-
export interface FrontendPerfDetectionResult {
|
|
18
|
-
hasPerformanceBudget: boolean;
|
|
19
|
-
hasWebVitals: boolean;
|
|
20
|
-
hasSsr: boolean;
|
|
21
|
-
ssrFramework: string | null;
|
|
22
|
-
hasDesignSystem: boolean;
|
|
23
|
-
hasE2eFramework: boolean;
|
|
24
|
-
hasStorybook: boolean;
|
|
25
|
-
hasMfe: boolean;
|
|
26
|
-
}
|
|
27
10
|
//# sourceMappingURL=analysis-frontend.d.ts.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// Planu — Analysis frontend and security types (split from analysis.ts)
|
|
2
2
|
// Covers: CVE/pre-spec dependency results and frontend performance detection.
|
|
3
3
|
export {};
|
|
4
|
+
// === SPEC-025 tech debt: Pre-spec dep check result ===
|
|
5
|
+
/** Result of running a pre-spec dependency check before spec creation. */
|
|
6
|
+
// === SPEC-057: Frontend Performance Detection ===
|
|
4
7
|
//# sourceMappingURL=analysis-frontend.js.map
|
package/dist/types/analysis.d.ts
CHANGED
|
@@ -106,44 +106,29 @@ export interface QualityScore {
|
|
|
106
106
|
customRules: CustomRuleResult[];
|
|
107
107
|
generatedAt: string;
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
file: string;
|
|
111
|
-
type: 'anti-pattern' | 'code-smell' | 'outdated-dep' | 'missing-tests' | 'complexity';
|
|
112
|
-
description: string;
|
|
113
|
-
severity: 'low' | 'medium' | 'high';
|
|
114
|
-
effort: 'trivial' | 'small' | 'medium' | 'large';
|
|
115
|
-
suggestion: string;
|
|
116
|
-
}
|
|
117
|
-
export interface VisualValidation {
|
|
109
|
+
interface VisualValidation {
|
|
118
110
|
screenshots: VisualScreenshot[];
|
|
119
111
|
designComparison?: VisualComparison;
|
|
120
112
|
visualScore: number;
|
|
121
113
|
issues: VisualIssue[];
|
|
122
114
|
}
|
|
123
|
-
|
|
115
|
+
interface VisualScreenshot {
|
|
124
116
|
name: string;
|
|
125
117
|
path: string;
|
|
126
118
|
source: 'puppeteer' | 'playwright' | 'manual' | 'figma' | 'pencil';
|
|
127
119
|
viewport: string;
|
|
128
120
|
}
|
|
129
|
-
|
|
121
|
+
interface VisualComparison {
|
|
130
122
|
designSource: 'figma' | 'pencil' | 'screenshot-reference';
|
|
131
123
|
matchPercentage: number;
|
|
132
124
|
differences: string[];
|
|
133
125
|
}
|
|
134
|
-
|
|
126
|
+
interface VisualIssue {
|
|
135
127
|
severity: 'critical' | 'warning' | 'info';
|
|
136
128
|
element: string;
|
|
137
129
|
issue: string;
|
|
138
130
|
screenshot?: string;
|
|
139
131
|
}
|
|
140
|
-
export interface DetectDriftInput {
|
|
141
|
-
specId: string;
|
|
142
|
-
projectId: string;
|
|
143
|
-
mode?: 'full' | 'quick';
|
|
144
|
-
outputFormat?: 'report' | 'ci-json' | 'github-annotations';
|
|
145
|
-
threshold?: number;
|
|
146
|
-
}
|
|
147
132
|
export interface AuditInput {
|
|
148
133
|
path: string;
|
|
149
134
|
projectId: string;
|
|
@@ -153,9 +138,9 @@ export interface AuditInput {
|
|
|
153
138
|
/** Dimensions that can be evaluated holistically. */
|
|
154
139
|
export type HolisticDimension = 'tests' | 'lint' | 'typecheck' | 'security-scan' | 'spec-compliance';
|
|
155
140
|
/** Reason a dimension was skipped for a given spec. */
|
|
156
|
-
|
|
141
|
+
type HolisticSkipReason = 'doc-only-scope' | 'meta-target' | 'no-source-files' | 'spec-config';
|
|
157
142
|
/** A dimension that was excluded from holistic scoring with its reason. */
|
|
158
|
-
|
|
143
|
+
interface HolisticSkippedDimension {
|
|
159
144
|
dimension: HolisticDimension;
|
|
160
145
|
reason: HolisticSkipReason;
|
|
161
146
|
}
|
|
@@ -200,7 +185,7 @@ export interface ValidateResult {
|
|
|
200
185
|
*/
|
|
201
186
|
holisticReport?: HolisticValidateReport;
|
|
202
187
|
}
|
|
203
|
-
|
|
188
|
+
type CriterionEvidenceStatus = 'proven' | 'missing' | 'indeterminate';
|
|
204
189
|
export interface CriterionEvidenceResult {
|
|
205
190
|
status: CriterionEvidenceStatus;
|
|
206
191
|
/** SPEC-1367: citation for how the status was grounded (e.g. probe runner output, matched literal). */
|
|
@@ -217,39 +202,7 @@ export interface FunctionInfo {
|
|
|
217
202
|
length: number;
|
|
218
203
|
}
|
|
219
204
|
/** A single pattern entry — correct, deprecated, or common mistake. */
|
|
220
|
-
export interface FrameworkPattern {
|
|
221
|
-
/** Human-readable description of the pattern. */
|
|
222
|
-
pattern: string;
|
|
223
|
-
/** Optional code example illustrating the pattern. */
|
|
224
|
-
example?: string;
|
|
225
|
-
/** Framework version since which this pattern applies (for correctPatterns). */
|
|
226
|
-
since?: string;
|
|
227
|
-
/** The replacement for deprecated/mistake patterns. */
|
|
228
|
-
replacedBy?: string;
|
|
229
|
-
/** Severity when the pattern is problematic (deprecated / mistake). */
|
|
230
|
-
severity?: 'error' | 'warning';
|
|
231
|
-
}
|
|
232
205
|
/** Full registry entry for one framework. */
|
|
233
|
-
export interface RegistryEntry {
|
|
234
|
-
/** Unique machine-friendly ID, e.g. "nextjs". */
|
|
235
|
-
framework: string;
|
|
236
|
-
/** Human-readable name, e.g. "Next.js". */
|
|
237
|
-
displayName: string;
|
|
238
|
-
/** Reference version range, e.g. "14.x". */
|
|
239
|
-
frameworkVersion: string;
|
|
240
|
-
/** ISO date of last manual update. */
|
|
241
|
-
lastUpdated: string;
|
|
242
|
-
/** Language/platform ecosystem, e.g. "typescript", "python". */
|
|
243
|
-
ecosystem: string;
|
|
244
|
-
/** Patterns that are correct and recommended in this version. */
|
|
245
|
-
correctPatterns: FrameworkPattern[];
|
|
246
|
-
/** Patterns that are outdated / removed. */
|
|
247
|
-
deprecatedPatterns: FrameworkPattern[];
|
|
248
|
-
/** Common LLM hallucinations or misuses. */
|
|
249
|
-
commonMistakes: FrameworkPattern[];
|
|
250
|
-
/** true when added by the user via update_registry, not shipped with Planu. */
|
|
251
|
-
customEntry: boolean;
|
|
252
|
-
}
|
|
253
206
|
/** A single accuracy problem detected in a spec. */
|
|
254
207
|
export interface SpecAccuracyIssue {
|
|
255
208
|
/** Category of the problem. */
|
|
@@ -264,59 +217,6 @@ export interface SpecAccuracyIssue {
|
|
|
264
217
|
severity: 'error' | 'warning' | 'info';
|
|
265
218
|
}
|
|
266
219
|
/** Full accuracy report returned by check_spec_accuracy. */
|
|
267
|
-
export interface SpecAccuracyReport {
|
|
268
|
-
/** Confidence score 0-100 (100 = all references validated). */
|
|
269
|
-
score: number;
|
|
270
|
-
/** All detected issues. */
|
|
271
|
-
issues: SpecAccuracyIssue[];
|
|
272
|
-
/** Framework IDs auto-detected in the spec text. */
|
|
273
|
-
frameworksDetected: string[];
|
|
274
|
-
/** Framework names mentioned in the spec that are not in the registry. */
|
|
275
|
-
frameworksNotInRegistry: string[];
|
|
276
|
-
/** Total number of API/pattern references examined. */
|
|
277
|
-
totalReferencesChecked: number;
|
|
278
|
-
/** How many of those references were found in the registry. */
|
|
279
|
-
validatedReferences: number;
|
|
280
|
-
/** Framework IDs whose registry entry is older than 180 days. */
|
|
281
|
-
staleRegistryEntries: string[];
|
|
282
|
-
}
|
|
283
|
-
export type ConfigFindingSeverity = 'info' | 'warn' | 'critical';
|
|
284
|
-
export interface ConfigFinding {
|
|
285
|
-
/** SPEC-255: Machine-readable finding code for programmatic filtering */
|
|
286
|
-
code?: string;
|
|
287
|
-
area: string;
|
|
288
|
-
severity: ConfigFindingSeverity;
|
|
289
|
-
message: string;
|
|
290
|
-
suggestion: string;
|
|
291
|
-
docsRef: string;
|
|
292
|
-
}
|
|
293
|
-
export interface ConfigAuditResult {
|
|
294
|
-
score: number;
|
|
295
|
-
grade: 'A' | 'B' | 'C' | 'D' | 'F';
|
|
296
|
-
findings: ConfigFinding[];
|
|
297
|
-
quickWins: ConfigFinding[];
|
|
298
|
-
summary: string;
|
|
299
|
-
}
|
|
300
|
-
export interface AuditClaudeConfigInput {
|
|
301
|
-
projectPath: string;
|
|
302
|
-
includeGlobal?: boolean;
|
|
303
|
-
/** SPEC-724: When 'core-rules', assert the 3 core rule files for each detected host. */
|
|
304
|
-
gate?: 'core-rules';
|
|
305
|
-
}
|
|
306
|
-
export type ConfigFindingCode = 'LINE_COUNT_WARN' | 'LINE_COUNT_CRITICAL' | 'REDUNDANT_INSTRUCTION' | 'AMBIGUOUS_INSTRUCTION' | 'AGENTS_MD_NOT_IMPORTED' | 'RULE_MISSING_PATHS' | 'RULE_DEAD_PATH' | 'AUTO_MODE_ENV_MISSING' | 'BYPASS_PERMISSIONS_NO_ISOLATION';
|
|
307
|
-
export interface SettingsJson {
|
|
308
|
-
permissions?: {
|
|
309
|
-
allow?: string[];
|
|
310
|
-
deny?: string[];
|
|
311
|
-
defaultMode?: string;
|
|
312
|
-
};
|
|
313
|
-
autoMemoryEnabled?: boolean;
|
|
314
|
-
autoMode?: {
|
|
315
|
-
environment?: string;
|
|
316
|
-
[key: string]: unknown;
|
|
317
|
-
};
|
|
318
|
-
[key: string]: unknown;
|
|
319
|
-
}
|
|
320
220
|
export type DeepCheckType = 'grep_absent' | 'grep_present' | 'metric_max' | 'file_exists' | 'coverage' | 'manual';
|
|
321
221
|
export interface DeepCheckResult {
|
|
322
222
|
criterionText: string;
|
|
@@ -353,107 +253,9 @@ export interface DeepCheckConfig {
|
|
|
353
253
|
exclude?: string;
|
|
354
254
|
expected: number;
|
|
355
255
|
}
|
|
356
|
-
export interface QualityGate {
|
|
357
|
-
id: string;
|
|
358
|
-
category: 'security' | 'testing' | 'architecture' | 'performance';
|
|
359
|
-
title: string;
|
|
360
|
-
stacks: string[];
|
|
361
|
-
riskLevels: string[];
|
|
362
|
-
specTypes: string[];
|
|
363
|
-
}
|
|
364
|
-
export interface QualityGateInjectionResult {
|
|
365
|
-
gates: QualityGate[];
|
|
366
|
-
markdownSection: string;
|
|
367
|
-
count: number;
|
|
368
|
-
categoryCounts: {
|
|
369
|
-
security: number;
|
|
370
|
-
testing: number;
|
|
371
|
-
architecture: number;
|
|
372
|
-
performance: number;
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
export interface QualityGateEvaluation {
|
|
376
|
-
total: number;
|
|
377
|
-
passed: number;
|
|
378
|
-
failed: number;
|
|
379
|
-
failedGates: {
|
|
380
|
-
id: string;
|
|
381
|
-
title: string;
|
|
382
|
-
category: string;
|
|
383
|
-
}[];
|
|
384
|
-
score: number;
|
|
385
|
-
}
|
|
386
256
|
/** Internal: spec frontmatter read by path-analyzer. */
|
|
387
|
-
export interface SpecMetaForPath {
|
|
388
|
-
id: string;
|
|
389
|
-
estimatedHours: number;
|
|
390
|
-
dependencies: string[];
|
|
391
|
-
status: string;
|
|
392
|
-
}
|
|
393
257
|
/** Internal: flattened spec entry for similarity search. */
|
|
394
|
-
export interface SpecEntryForSimilarity {
|
|
395
|
-
specId: string;
|
|
396
|
-
title: string;
|
|
397
|
-
tags: string[];
|
|
398
|
-
projectPath: string;
|
|
399
|
-
tokens: string[];
|
|
400
|
-
}
|
|
401
258
|
/** Internal: MCP catalog entry for SPEC-405 catalog advisor. */
|
|
402
|
-
export interface McpCatalogAdvisorEntry {
|
|
403
|
-
name: string;
|
|
404
|
-
description: string;
|
|
405
|
-
keywords: string[];
|
|
406
|
-
install: string;
|
|
407
|
-
useCases: string[];
|
|
408
|
-
}
|
|
409
|
-
export interface ApiChange {
|
|
410
|
-
type: 'removed' | 'added' | 'modified';
|
|
411
|
-
item: string;
|
|
412
|
-
severity: 'breaking' | 'additive' | 'informational';
|
|
413
|
-
}
|
|
414
|
-
export interface ApiCompatibilityResult {
|
|
415
|
-
compatible: boolean;
|
|
416
|
-
specId1: string;
|
|
417
|
-
specId2: string;
|
|
418
|
-
breakingChanges: ApiChange[];
|
|
419
|
-
additiveChanges: ApiChange[];
|
|
420
|
-
score: number;
|
|
421
|
-
}
|
|
422
|
-
export interface Spec405CriticalPathResult {
|
|
423
|
-
criticalPath: string[];
|
|
424
|
-
totalHours: number;
|
|
425
|
-
parallelizableSpecs: string[];
|
|
426
|
-
bottlenecks: string[];
|
|
427
|
-
}
|
|
428
|
-
export interface SimilarSpec {
|
|
429
|
-
specId: string;
|
|
430
|
-
title: string;
|
|
431
|
-
projectPath: string;
|
|
432
|
-
similarityScore: number;
|
|
433
|
-
keyMatches: string[];
|
|
434
|
-
}
|
|
435
|
-
export interface SimilarProblemsResult {
|
|
436
|
-
query: string;
|
|
437
|
-
results: SimilarSpec[];
|
|
438
|
-
totalSearched: number;
|
|
439
|
-
}
|
|
440
|
-
export interface McpSuggestion {
|
|
441
|
-
name: string;
|
|
442
|
-
description: string;
|
|
443
|
-
installCommand: string;
|
|
444
|
-
rationale: string;
|
|
445
|
-
useCases: string[];
|
|
446
|
-
}
|
|
447
|
-
export interface McpSuggestionResult {
|
|
448
|
-
suggestions: McpSuggestion[];
|
|
449
|
-
query: string;
|
|
450
|
-
}
|
|
451
|
-
export interface VerifierScanResult {
|
|
452
|
-
specId: string;
|
|
453
|
-
filesFound: string[];
|
|
454
|
-
gitCommitsFound: string[];
|
|
455
|
-
testFilesFound: string[];
|
|
456
|
-
}
|
|
457
259
|
export interface CriterionMatch {
|
|
458
260
|
criterion: string;
|
|
459
261
|
status: 'verified' | 'partial' | 'unverified';
|
|
@@ -471,49 +273,5 @@ export interface SpecComplianceScore {
|
|
|
471
273
|
criteriaDetails: CriterionMatch[];
|
|
472
274
|
checkedAt: string;
|
|
473
275
|
}
|
|
474
|
-
export
|
|
475
|
-
projectPath: string;
|
|
476
|
-
overallAverage: number;
|
|
477
|
-
totalSpecs: number;
|
|
478
|
-
compliantCount: number;
|
|
479
|
-
partialCount: number;
|
|
480
|
-
nonCompliantCount: number;
|
|
481
|
-
scores: SpecComplianceScore[];
|
|
482
|
-
generatedAt: string;
|
|
483
|
-
}
|
|
484
|
-
export interface DuplicateFileLocation {
|
|
485
|
-
path: string;
|
|
486
|
-
startLine: number;
|
|
487
|
-
endLine: number;
|
|
488
|
-
}
|
|
489
|
-
export interface DuplicateCluster {
|
|
490
|
-
id: string;
|
|
491
|
-
files: DuplicateFileLocation[];
|
|
492
|
-
similarity: number;
|
|
493
|
-
lineCount: number;
|
|
494
|
-
severity: 'info' | 'warning' | 'error';
|
|
495
|
-
suggestion: string;
|
|
496
|
-
}
|
|
497
|
-
export interface DuplicateDetectionResult {
|
|
498
|
-
clusters: DuplicateCluster[];
|
|
499
|
-
totalClusters: number;
|
|
500
|
-
totalFilesAffected: number;
|
|
501
|
-
severity: 'info' | 'warning' | 'error';
|
|
502
|
-
}
|
|
503
|
-
export interface DetectDuplicationInput {
|
|
504
|
-
projectPath: string;
|
|
505
|
-
minLines?: number;
|
|
506
|
-
exclude?: string[];
|
|
507
|
-
languages?: string[];
|
|
508
|
-
}
|
|
509
|
-
export interface DuplicateBlockLocation {
|
|
510
|
-
path: string;
|
|
511
|
-
startLine: number;
|
|
512
|
-
endLine: number;
|
|
513
|
-
lines: string[];
|
|
514
|
-
}
|
|
515
|
-
export interface DuplicateRawBlock {
|
|
516
|
-
hash: string;
|
|
517
|
-
locations: DuplicateBlockLocation[];
|
|
518
|
-
}
|
|
276
|
+
export {};
|
|
519
277
|
//# sourceMappingURL=analysis.d.ts.map
|
package/dist/types/analysis.js
CHANGED
|
@@ -1,201 +1,55 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Analytics provider detected or configured in the project.
|
|
3
3
|
*/
|
|
4
|
-
export type AnalyticsProvider = 'ga4' | 'firebase' | 'mixpanel' | 'amplitude' | 'segment' | 'posthog' | 'heap' | 'hotjar' | 'plausible' | 'umami' | 'unknown';
|
|
5
4
|
/**
|
|
6
5
|
* A/B testing and feature flag provider.
|
|
7
6
|
*/
|
|
8
|
-
export type ABTestingProvider = 'optimizely' | 'launchdarkly' | 'split' | 'statsig' | 'growthbook' | 'none';
|
|
9
7
|
/**
|
|
10
8
|
* How the analytics provider is integrated into the project.
|
|
11
9
|
*/
|
|
12
|
-
export type IntegrationMethod = 'sdk' | 'pixel' | 'gtm';
|
|
13
10
|
/**
|
|
14
11
|
* Naming convention used for analytics events.
|
|
15
12
|
*/
|
|
16
|
-
export type NamingConvention = 'object_action' | 'camelCase' | 'module_prefixed' | 'custom';
|
|
17
13
|
/**
|
|
18
14
|
* Data type for an event property.
|
|
19
15
|
*/
|
|
20
|
-
export type PropertyType = 'string' | 'number' | 'boolean' | 'array';
|
|
21
16
|
/**
|
|
22
17
|
* A single property attached to an analytics event.
|
|
23
18
|
*/
|
|
24
|
-
export interface EventProperty {
|
|
25
|
-
/** Property name in snake_case */
|
|
26
|
-
name: string;
|
|
27
|
-
/** Data type of the property */
|
|
28
|
-
type: PropertyType;
|
|
29
|
-
/** Description of the data it represents and why it is needed */
|
|
30
|
-
description: string;
|
|
31
|
-
/** Example value for documentation and tests */
|
|
32
|
-
example?: string;
|
|
33
|
-
/** Whether this property contains or derives from personally identifiable information */
|
|
34
|
-
pii?: boolean;
|
|
35
|
-
/** Whether the property is required or may be omitted in some contexts */
|
|
36
|
-
required: boolean;
|
|
37
|
-
}
|
|
38
19
|
/**
|
|
39
20
|
* An analytics event defined in a spec.
|
|
40
21
|
* Minimum required fields: name, trigger, properties (at least one), businessGoal.
|
|
41
22
|
*/
|
|
42
|
-
export interface AnalyticsEvent {
|
|
43
|
-
/** Event name in snake_case following the project convention: [object]_[action] */
|
|
44
|
-
name: string;
|
|
45
|
-
/** Natural language description of when the event is fired */
|
|
46
|
-
trigger: string;
|
|
47
|
-
/** Properties accompanying the event */
|
|
48
|
-
properties: EventProperty[];
|
|
49
|
-
/** Business question this event helps answer */
|
|
50
|
-
businessGoal: string;
|
|
51
|
-
/** Whether any property of the event includes or derives from PII */
|
|
52
|
-
includesPII: boolean;
|
|
53
|
-
/** Whether the event must be conditioned on user consent (GDPR/CCPA) */
|
|
54
|
-
consentRequired: boolean;
|
|
55
|
-
/** ID of the spec that introduced this event for the first time */
|
|
56
|
-
introducedBySpec?: string;
|
|
57
|
-
}
|
|
58
23
|
/**
|
|
59
24
|
* A user funnel defined in a spec (ordered sequence of steps).
|
|
60
25
|
*/
|
|
61
|
-
export interface AnalyticsFunnel {
|
|
62
|
-
/** Descriptive name of the funnel: "Checkout Funnel", "Onboarding Flow" */
|
|
63
|
-
name: string;
|
|
64
|
-
/** Description of the funnel's final conversion goal */
|
|
65
|
-
conversionGoal: string;
|
|
66
|
-
/** Events in order that compose the funnel, each representing a step */
|
|
67
|
-
steps: AnalyticsEvent[];
|
|
68
|
-
/** Target conversion rate for the full funnel (0–1) */
|
|
69
|
-
targetConversionRate?: number;
|
|
70
|
-
/** Current conversion rate as baseline, if available */
|
|
71
|
-
baselineConversionRate?: number;
|
|
72
|
-
}
|
|
73
26
|
/**
|
|
74
27
|
* An A/B experiment defined in a spec.
|
|
75
28
|
*/
|
|
76
|
-
export interface ABTest {
|
|
77
|
-
/** Identifier name of the experiment: "checkout-cta-color-test" */
|
|
78
|
-
name: string;
|
|
79
|
-
/** Hypothesis in format: "If [change], then [result] because [reason]" */
|
|
80
|
-
hypothesis: string;
|
|
81
|
-
/** List of variants including the control: ["control", "variant_a", "variant_b"] */
|
|
82
|
-
variants: string[];
|
|
83
|
-
/** Primary metric that determines the experiment winner */
|
|
84
|
-
primaryMetric: string;
|
|
85
|
-
/** Guard metrics that MUST NOT degrade during the experiment */
|
|
86
|
-
guardMetrics: string[];
|
|
87
|
-
/** Estimated sample size per variant for 80% statistical power and alpha 0.05 */
|
|
88
|
-
estimatedSampleSize: number;
|
|
89
|
-
/** Estimated experiment duration given expected traffic */
|
|
90
|
-
estimatedDuration: string;
|
|
91
|
-
/** Guard metric degradation threshold that triggers automatic stop (default: 0.05 = 5%) */
|
|
92
|
-
guardThreshold: number;
|
|
93
|
-
/** A/B testing provider that will run the experiment */
|
|
94
|
-
provider?: ABTestingProvider;
|
|
95
|
-
}
|
|
96
29
|
/**
|
|
97
30
|
* Complete analytics spec artifact for a feature.
|
|
98
31
|
*/
|
|
99
|
-
export interface AnalyticsSpec {
|
|
100
|
-
/** Analytics provider detected or configured for the project */
|
|
101
|
-
provider: AnalyticsProvider;
|
|
102
|
-
/** Integration method of the provider */
|
|
103
|
-
integrationMethod: IntegrationMethod;
|
|
104
|
-
/** Event naming convention of the project */
|
|
105
|
-
namingConvention: NamingConvention;
|
|
106
|
-
/** Events to track in the feature */
|
|
107
|
-
events: AnalyticsEvent[];
|
|
108
|
-
/** Funnels defined by the feature, if applicable */
|
|
109
|
-
funnels: AnalyticsFunnel[];
|
|
110
|
-
/** Planned A/B experiments, if applicable */
|
|
111
|
-
experiments: ABTest[];
|
|
112
|
-
/** ID of the spec that owns this analytics artifact */
|
|
113
|
-
specId: string;
|
|
114
|
-
}
|
|
115
32
|
/**
|
|
116
33
|
* Project-level analytics stack stored in knowledge.json under "analyticsStack".
|
|
117
34
|
*/
|
|
118
|
-
export interface AnalyticsStack {
|
|
119
|
-
/** Analytics provider detected in the project */
|
|
120
|
-
provider: AnalyticsProvider;
|
|
121
|
-
/** Detected integration method */
|
|
122
|
-
integrationMethod: IntegrationMethod;
|
|
123
|
-
/** Whether the project already has custom events configured */
|
|
124
|
-
hasCustomEvents: boolean;
|
|
125
|
-
/** Whether a dashboard configuration file exists in the project */
|
|
126
|
-
hasDashboards: boolean;
|
|
127
|
-
/** A/B testing provider detected */
|
|
128
|
-
abTestingProvider: ABTestingProvider;
|
|
129
|
-
/** Naming convention detected in existing events */
|
|
130
|
-
namingConvention: NamingConvention;
|
|
131
|
-
/** Custom naming pattern, if namingConvention is "custom" */
|
|
132
|
-
customNamingPattern?: string;
|
|
133
|
-
}
|
|
134
35
|
/**
|
|
135
36
|
* Project-level event taxonomy stored in .planu/event-taxonomy.json.
|
|
136
37
|
*/
|
|
137
|
-
export interface AnalyticsTaxonomy {
|
|
138
|
-
/** Version of the taxonomy, increments with each new event added */
|
|
139
|
-
version: string;
|
|
140
|
-
/** Last update date (ISO 8601) */
|
|
141
|
-
updatedAt: string;
|
|
142
|
-
/** All events defined in the project, indexed by name */
|
|
143
|
-
events: Record<string, AnalyticsEvent>;
|
|
144
|
-
/** Active naming convention of the project */
|
|
145
|
-
namingConvention: NamingConvention;
|
|
146
|
-
}
|
|
147
38
|
/**
|
|
148
39
|
* Gap in event properties relative to business goals.
|
|
149
40
|
*/
|
|
150
|
-
export interface AnalyticsPropertyGap {
|
|
151
|
-
/** Name of the event with insufficient properties */
|
|
152
|
-
eventName: string;
|
|
153
|
-
/** Business question from the spec that cannot be answered with current properties */
|
|
154
|
-
businessQuestion: string;
|
|
155
|
-
/** Specific properties missing to answer the question */
|
|
156
|
-
missingProperties: string[];
|
|
157
|
-
}
|
|
158
41
|
/**
|
|
159
42
|
* Gap in analytics coverage for a production spec.
|
|
160
43
|
*/
|
|
161
|
-
export interface AnalyticsCoverageGap {
|
|
162
|
-
/** ID of the spec without analytics coverage */
|
|
163
|
-
specId: string;
|
|
164
|
-
/** Title of the feature */
|
|
165
|
-
featureTitle: string;
|
|
166
|
-
/** Status of the spec (should be "produccion" to be a reportable gap) */
|
|
167
|
-
specStatus: string;
|
|
168
|
-
}
|
|
169
44
|
/**
|
|
170
45
|
* Single analytics provider configuration entry.
|
|
171
46
|
*/
|
|
172
|
-
export interface AnalyticsProviderConfig {
|
|
173
|
-
id: AnalyticsProvider;
|
|
174
|
-
displayName: string;
|
|
175
|
-
trackingFunctionSignatures: string[];
|
|
176
|
-
detectionPatterns: string[];
|
|
177
|
-
integrationMethods: IntegrationMethod[];
|
|
178
|
-
sdkPackages: string[];
|
|
179
|
-
supportsCustomEvents: boolean;
|
|
180
|
-
}
|
|
181
47
|
/**
|
|
182
48
|
* Single A/B testing provider configuration entry.
|
|
183
49
|
*/
|
|
184
|
-
export interface ABTestingProviderConfig {
|
|
185
|
-
id: ABTestingProvider;
|
|
186
|
-
displayName: string;
|
|
187
|
-
detectionPatterns: string[];
|
|
188
|
-
}
|
|
189
50
|
/**
|
|
190
51
|
* Full structure of analytics-providers.json.
|
|
191
52
|
*/
|
|
192
|
-
export interface AnalyticsProvidersFile {
|
|
193
|
-
providers: AnalyticsProviderConfig[];
|
|
194
|
-
abTestingProviders: ABTestingProviderConfig[];
|
|
195
|
-
funnelVocabulary: string[];
|
|
196
|
-
abTestVocabulary: string[];
|
|
197
|
-
userInteractionVocabulary: string[];
|
|
198
|
-
}
|
|
199
53
|
export interface ForceTransitionEntry {
|
|
200
54
|
specId: string;
|
|
201
55
|
type: 'forceStatus' | 'forceApprove';
|
package/dist/types/approval.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ReviewerIdentity } from './reviewer-tokens.js';
|
|
2
|
-
export type { ReviewerIdentity };
|
|
3
2
|
/** Policy defining how many approvals a spec needs before being approved. */
|
|
4
3
|
export interface ApprovalPolicy {
|
|
5
4
|
/** Minimum number of approvals required to pass the approval gate. */
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/** Proceso agil detectado o configurado en el proyecto */
|
|
2
2
|
export type AgileProcess = 'scrum' | 'kanban' | 'shape-up' | 'safe' | 'xp' | 'dual-track' | 'unknown';
|
|
3
3
|
/** Clase de servicio Kanban — determina el nivel de urgencia y el DoR requerido */
|
|
4
|
-
export type ServiceClass = 'expedite' | 'fixed-date' | 'standard' | 'intangible';
|
|
5
4
|
/** Nivel de performance segun los benchmarks del State of DevOps report */
|
|
6
5
|
export type DoraPerformanceTier = 'elite' | 'high' | 'medium' | 'low';
|
|
7
6
|
/** Tipo de relacion entre bounded contexts en un Context Map de DDD */
|
|
8
|
-
|
|
7
|
+
type BoundedContextRelationType = 'upstream-downstream' | 'acl' | 'published-language' | 'shared-kernel' | 'conformist' | 'partnership';
|
|
9
8
|
/** Appetite de Shape Up — restriccion de tiempo, no estimacion */
|
|
10
|
-
export type ShapeUpAppetite = 'small-batch' | 'big-batch';
|
|
11
9
|
/** Configuracion de la metodologia agil detectada o configurada en el proyecto */
|
|
12
10
|
export interface AgileConfig {
|
|
13
11
|
/** Proceso agil detectado */
|
|
@@ -72,7 +70,7 @@ export interface DoraMetrics {
|
|
|
72
70
|
commitsAnalyzed: number;
|
|
73
71
|
}
|
|
74
72
|
/** Relacion entre dos bounded contexts en el context map */
|
|
75
|
-
|
|
73
|
+
interface BoundedContextRelation {
|
|
76
74
|
/** Nombre del bounded context upstream (proveedor de datos o modelo) */
|
|
77
75
|
upstream: string;
|
|
78
76
|
/** Nombre del bounded context downstream (consumidor de datos o modelo) */
|
|
@@ -107,54 +105,9 @@ export interface DddConfig {
|
|
|
107
105
|
contextMap?: BoundedContextMap;
|
|
108
106
|
}
|
|
109
107
|
/** Especificacion de una Activity dentro de un Temporal workflow */
|
|
110
|
-
export interface TemporalActivitySpec {
|
|
111
|
-
name: string;
|
|
112
|
-
description: string;
|
|
113
|
-
scheduleToCloseTimeoutSeconds: number;
|
|
114
|
-
startToCloseTimeoutSeconds: number;
|
|
115
|
-
maxAttempts: number;
|
|
116
|
-
backoffCoefficient: number;
|
|
117
|
-
}
|
|
118
108
|
/** Especificacion de un Workflow de Temporal/durable execution */
|
|
119
|
-
export interface TemporalWorkflowSpec {
|
|
120
|
-
/** Nombre del workflow */
|
|
121
|
-
workflowName: string;
|
|
122
|
-
/** Descripcion de la secuencia de steps del workflow */
|
|
123
|
-
steps: string[];
|
|
124
|
-
/** Activities del workflow — operaciones con side effects */
|
|
125
|
-
activities: TemporalActivitySpec[];
|
|
126
|
-
/** Criterio de idempotencia: ejecutar dos veces con mismo input debe dar mismo resultado */
|
|
127
|
-
idempotencyGuarantee: string;
|
|
128
|
-
}
|
|
129
109
|
/** Contrato de un actor en un sistema de Actor Model */
|
|
130
|
-
export interface ActorContractSpec {
|
|
131
|
-
/** Tipo o nombre del actor */
|
|
132
|
-
actorType: string;
|
|
133
|
-
/** Mensajes que el actor puede recibir y procesar */
|
|
134
|
-
receiveMessages: string[];
|
|
135
|
-
/** Estado interno que el actor mantiene y puede modificar */
|
|
136
|
-
internalState: string;
|
|
137
|
-
/** Mensajes que el actor emite como respuesta o efecto */
|
|
138
|
-
emittedMessages: string[];
|
|
139
|
-
/** Estrategia de supervision ante crash del actor */
|
|
140
|
-
supervisionStrategy: 'one-for-one' | 'all-for-one' | 'rest-for-one' | 'custom';
|
|
141
|
-
}
|
|
142
110
|
/** Pitch de Shape Up — formato alternativo al spec estandar */
|
|
143
|
-
export interface ShapeUpPitch {
|
|
144
|
-
/** Que esta roto o que falta actualmente, con ejemplos concretos */
|
|
145
|
-
problem: string;
|
|
146
|
-
/** Restriccion de tiempo declarada como compromiso, no como estimacion */
|
|
147
|
-
appetite: ShapeUpAppetite;
|
|
148
|
-
/**
|
|
149
|
-
* Descripcion verbal de la UI o logica usando fat marker sketches
|
|
150
|
-
* — sin mockups detallados, lo suficiente para que el equipo entienda la direccion
|
|
151
|
-
*/
|
|
152
|
-
solution: string;
|
|
153
|
-
/** Problemas tecnicos o de diseno que el equipo debe evitar activamente */
|
|
154
|
-
rabbitHoles: string[];
|
|
155
|
-
/** Que queda explicitamente fuera del scope en este ciclo */
|
|
156
|
-
noGos: string[];
|
|
157
|
-
}
|
|
158
111
|
/** Git commit entry used for DORA metrics calculation */
|
|
159
112
|
export interface GitCommitEntry {
|
|
160
113
|
hash: string;
|
|
@@ -169,4 +122,5 @@ export interface AgileProcessDetection {
|
|
|
169
122
|
indicators: string[];
|
|
170
123
|
agileConfig: AgileConfig;
|
|
171
124
|
}
|
|
125
|
+
export {};
|
|
172
126
|
//# sourceMappingURL=architecture.d.ts.map
|
|
@@ -53,12 +53,7 @@ export interface ChainVerificationResult {
|
|
|
53
53
|
message: string;
|
|
54
54
|
}
|
|
55
55
|
/** Input for audit_trail tool — alias for AuditQuery for tool-handler consumers. */
|
|
56
|
-
export type AuditTrailInput = AuditQuery;
|
|
57
56
|
/** Input for generate_attestation tool. */
|
|
58
|
-
export interface GenerateAttestationInput {
|
|
59
|
-
projectId: string;
|
|
60
|
-
specId: string;
|
|
61
|
-
}
|
|
62
57
|
/** Structured attestation document (SPEC-167 — JSON, not actual PDF). */
|
|
63
58
|
export interface AttestationData {
|
|
64
59
|
attestationId: string;
|