@planu/cli 5.7.20 → 5.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (924) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/.planu-build.json +1 -1
  3. package/dist/cli/commands/doctor.d.ts +1 -6
  4. package/dist/cli/commands/doctor.js +1 -1
  5. package/dist/config/version-defaults.d.ts +0 -8
  6. package/dist/config/version-defaults.js +0 -28
  7. package/dist/core/index.d.ts +1 -15
  8. package/dist/core/index.js +3 -12
  9. package/dist/core/spec-validator.d.ts +1 -1
  10. package/dist/engine/audit-trail/index.d.ts +0 -6
  11. package/dist/engine/audit-trail/index.js +0 -5
  12. package/dist/engine/audit-trail/logger.d.ts +0 -1
  13. package/dist/engine/audit-trail/logger.js +0 -1
  14. package/dist/engine/auto-updater/config-patcher.d.ts +0 -1
  15. package/dist/engine/auto-updater/config-patcher.js +1 -1
  16. package/dist/engine/auto-updater/upgrade-lock.d.ts +0 -4
  17. package/dist/engine/auto-updater/upgrade-lock.js +1 -1
  18. package/dist/engine/best-practices-library.d.ts +0 -6
  19. package/dist/engine/best-practices-library.js +2 -3
  20. package/dist/engine/build-freshness.d.ts +0 -2
  21. package/dist/engine/build-freshness.js +2 -2
  22. package/dist/engine/bump-carrier-binding.d.ts +0 -1
  23. package/dist/engine/bump-carrier-binding.js +1 -1
  24. package/dist/engine/code-scanner/gap-scorer.d.ts +2 -2
  25. package/dist/engine/code-scanner/index.d.ts +1 -5
  26. package/dist/engine/code-scanner/index.js +0 -4
  27. package/dist/engine/compact/metrics.d.ts +0 -3
  28. package/dist/engine/compact/metrics.js +0 -8
  29. package/dist/engine/compact/registry-loader.d.ts +0 -1
  30. package/dist/engine/compact/registry-loader.js +0 -3
  31. package/dist/engine/compact/state-store.d.ts +2 -1
  32. package/dist/engine/compact/state-store.js +1 -1
  33. package/dist/engine/complexity-budget/index.d.ts +0 -3
  34. package/dist/engine/complexity-budget/index.js +0 -3
  35. package/dist/engine/constitution/sdd-rules-registry.d.ts +1 -2
  36. package/dist/engine/constitution/sdd-rules-registry.js +1 -1
  37. package/dist/engine/context-intelligence/compression-guards.d.ts +0 -1
  38. package/dist/engine/context-intelligence/compression-guards.js +1 -1
  39. package/dist/engine/core-bridge-project-graph.d.ts +0 -4
  40. package/dist/engine/core-bridge-project-graph.js +1 -1
  41. package/dist/engine/core-bridge.d.ts +2 -14
  42. package/dist/engine/core-bridge.js +0 -9
  43. package/dist/engine/crash-shield/file-collector.d.ts +0 -5
  44. package/dist/engine/crash-shield/file-collector.js +1 -10
  45. package/dist/engine/crash-shield/index.d.ts +0 -1
  46. package/dist/engine/crash-shield/index.js +0 -1
  47. package/dist/engine/dependency-evaluator.d.ts +4 -3
  48. package/dist/engine/detectors/library-detector-node.d.ts +0 -1
  49. package/dist/engine/detectors/library-detector-node.js +1 -1
  50. package/dist/engine/detectors/library-detector-python.d.ts +0 -1
  51. package/dist/engine/detectors/library-detector-python.js +1 -1
  52. package/dist/engine/detectors/library-detector.d.ts +0 -6
  53. package/dist/engine/detectors/library-detector.js +0 -6
  54. package/dist/engine/detectors/llm-detector/index.d.ts +0 -6
  55. package/dist/engine/detectors/llm-detector/index.js +0 -6
  56. package/dist/engine/detectors/otel-ecosystem-detectors.d.ts +0 -8
  57. package/dist/engine/detectors/otel-ecosystem-detectors.js +4 -8
  58. package/dist/engine/doc-generator/portal/index.d.ts +1 -21
  59. package/dist/engine/doc-generator/portal/index.js +1 -19
  60. package/dist/engine/doctor/npm-cache-check.d.ts +0 -3
  61. package/dist/engine/doctor/npm-cache-check.js +3 -3
  62. package/dist/engine/dora-metrics/calculations.d.ts +1 -4
  63. package/dist/engine/dora-metrics/calculations.js +2 -2
  64. package/dist/engine/ears-gate.d.ts +2 -2
  65. package/dist/engine/ears-gate.js +1 -1
  66. package/dist/engine/errors/registry-loader.d.ts +0 -1
  67. package/dist/engine/errors/registry-loader.js +1 -1
  68. package/dist/engine/estimator/calculations.d.ts +1 -4
  69. package/dist/engine/estimator/calculations.js +2 -17
  70. package/dist/engine/estimator/constants.d.ts +1 -3
  71. package/dist/engine/estimator/constants.js +0 -8
  72. package/dist/engine/evidence-gates/evidence-autofill.d.ts +0 -8
  73. package/dist/engine/evidence-gates/evidence-autofill.js +4 -4
  74. package/dist/engine/evidence-gates/lifecycle-gate.d.ts +0 -2
  75. package/dist/engine/evidence-gates/lifecycle-gate.js +2 -2
  76. package/dist/engine/execution/deadline-io.d.ts +0 -1
  77. package/dist/engine/execution/deadline-io.js +1 -16
  78. package/dist/engine/execution/operation-journal.d.ts +3 -2
  79. package/dist/engine/execution-plan/plan-utils.d.ts +1 -2
  80. package/dist/engine/execution-plan/plan-utils.js +0 -15
  81. package/dist/engine/frontmatter-sha/frozen-fields.d.ts +0 -1
  82. package/dist/engine/frontmatter-sha/index.d.ts +0 -6
  83. package/dist/engine/frontmatter-sha/index.js +0 -3
  84. package/dist/engine/frontmatter-sha/verify-terminal.d.ts +4 -3
  85. package/dist/engine/git/exec-git.d.ts +0 -2
  86. package/dist/engine/git/exec-git.js +2 -2
  87. package/dist/engine/git/planu-autocommit.d.ts +0 -1
  88. package/dist/engine/git/planu-autocommit.js +1 -1
  89. package/dist/engine/handoff-artifacts/io.d.ts +2 -1
  90. package/dist/engine/handoff-artifacts/schemas.d.ts +0 -232
  91. package/dist/engine/handoff-artifacts/schemas.js +5 -5
  92. package/dist/engine/handoff-artifacts/version-policy.d.ts +3 -2
  93. package/dist/engine/handoff-packager.d.ts +2 -1
  94. package/dist/engine/handoff-packager.js +1 -1
  95. package/dist/engine/host-rules-templates/index.d.ts +0 -1
  96. package/dist/engine/host-tool-filter.d.ts +2 -2
  97. package/dist/engine/housekeeping/find-stale-branches.d.ts +2 -1
  98. package/dist/engine/housekeeping/index.d.ts +0 -6
  99. package/dist/engine/housekeeping/index.js +0 -6
  100. package/dist/engine/keyword-matcher/index.d.ts +0 -1
  101. package/dist/engine/keyword-matcher/index.js +1 -0
  102. package/dist/engine/llm-runtime/index.d.ts +1 -2
  103. package/dist/engine/llm-runtime/index.js +1 -1
  104. package/dist/engine/llm-runtime/pricing-resolver.d.ts +1 -6
  105. package/dist/engine/llm-runtime/pricing-resolver.js +1 -1
  106. package/dist/engine/minimality/index.d.ts +0 -1
  107. package/dist/engine/minimality/index.js +0 -1
  108. package/dist/engine/mobile-detector-android.d.ts +0 -1
  109. package/dist/engine/mobile-detector-android.js +1 -1
  110. package/dist/engine/model-tier-resolver.d.ts +0 -1
  111. package/dist/engine/model-tier-resolver.js +0 -1
  112. package/dist/engine/multi-app-detector/app-type.d.ts +0 -3
  113. package/dist/engine/multi-app-detector/app-type.js +3 -3
  114. package/dist/engine/multi-app-detector/core.d.ts +1 -4
  115. package/dist/engine/multi-app-detector/core.js +1 -6
  116. package/dist/engine/network-policy.d.ts +0 -17
  117. package/dist/engine/network-policy.js +3 -19
  118. package/dist/engine/next-spec-resolver/orchestration-planner.d.ts +1 -1
  119. package/dist/engine/next-spec-resolver/session-writer.d.ts +0 -9
  120. package/dist/engine/next-spec-resolver/session-writer.js +3 -3
  121. package/dist/engine/onboarding/new-project-resolver.d.ts +1 -2
  122. package/dist/engine/onboarding/new-project-resolver.js +1 -1
  123. package/dist/engine/permissions-merger/stack-detectors.d.ts +0 -3
  124. package/dist/engine/permissions-merger/stack-detectors.js +0 -8
  125. package/dist/engine/plugin-installer/index.d.ts +2 -5
  126. package/dist/engine/plugin-installer/index.js +2 -5
  127. package/dist/engine/plugin-installer/stack-matcher.d.ts +0 -2
  128. package/dist/engine/plugin-installer/stack-matcher.js +0 -3
  129. package/dist/engine/plugins/index.d.ts +6 -9
  130. package/dist/engine/plugins/index.js +6 -9
  131. package/dist/engine/prior-decisions/index.d.ts +0 -1
  132. package/dist/engine/prior-decisions/index.js +0 -1
  133. package/dist/engine/project-graph/index.d.ts +0 -5
  134. package/dist/engine/project-graph/index.js +0 -5
  135. package/dist/engine/project-health-checker.d.ts +2 -2
  136. package/dist/engine/project-scanner/index.d.ts +1 -4
  137. package/dist/engine/project-scanner/index.js +0 -3
  138. package/dist/engine/reconcile/apply-changes.d.ts +1 -1
  139. package/dist/engine/reviewer-tokens/index.d.ts +2 -3
  140. package/dist/engine/reviewer-tokens/index.js +2 -3
  141. package/dist/engine/reviewer-tokens/types.d.ts +1 -1
  142. package/dist/engine/reviewer-tokens/verifier.d.ts +0 -4
  143. package/dist/engine/reviewer-tokens/verifier.js +0 -19
  144. package/dist/engine/safety/cross-process-lock.d.ts +0 -2
  145. package/dist/engine/safety/cross-process-lock.js +0 -1
  146. package/dist/engine/safety/lock-lease-store.d.ts +4 -3
  147. package/dist/engine/sdd-model-routing.d.ts +0 -1
  148. package/dist/engine/sdd-model-routing.js +1 -1
  149. package/dist/engine/security-analyzer.d.ts +0 -1
  150. package/dist/engine/security-analyzer.js +0 -1
  151. package/dist/engine/session/session-tracker.d.ts +2 -2
  152. package/dist/engine/session/session-tracker.js +2 -2
  153. package/dist/engine/skill-adapter/index.d.ts +1 -4
  154. package/dist/engine/skill-adapter/index.js +0 -44
  155. package/dist/engine/skill-discovery/index.d.ts +1 -5
  156. package/dist/engine/skill-discovery/index.js +0 -20
  157. package/dist/engine/skill-discovery/source-adapter.d.ts +1 -7
  158. package/dist/engine/skill-discovery/source-adapter.js +0 -28
  159. package/dist/engine/skill-generator/sections.d.ts +1 -1
  160. package/dist/engine/skill-generator/sections.js +1 -1
  161. package/dist/engine/skill-generator/skill-definitions.d.ts +0 -1
  162. package/dist/engine/skill-generator/skill-definitions.js +1 -0
  163. package/dist/engine/skill-generator/skills.d.ts +0 -1
  164. package/dist/engine/skill-generator/skills.js +0 -1
  165. package/dist/engine/skill-generator.d.ts +0 -1
  166. package/dist/engine/skill-generator.js +0 -1
  167. package/dist/engine/skill-registry/index.d.ts +1 -9
  168. package/dist/engine/skill-registry/index.js +1 -9
  169. package/dist/engine/skill-registry/skill-security-scanner.d.ts +0 -3
  170. package/dist/engine/skill-registry/skill-security-scanner.js +1 -1
  171. package/dist/engine/spec-format/bdd-parser.d.ts +2 -9
  172. package/dist/engine/spec-format/bdd-parser.js +1 -1
  173. package/dist/engine/spec-format/copula-blacklist.d.ts +2 -5
  174. package/dist/engine/spec-format/copula-blacklist.js +2 -2
  175. package/dist/engine/spec-format/criteria-drift.d.ts +0 -1
  176. package/dist/engine/spec-format/criteria-drift.js +1 -1
  177. package/dist/engine/spec-format/lean-spec-generator.d.ts +1 -1
  178. package/dist/engine/spec-format/spec-id.d.ts +0 -2
  179. package/dist/engine/spec-format/spec-id.js +2 -2
  180. package/dist/engine/spec-generator/index.d.ts +0 -3
  181. package/dist/engine/spec-generator/index.js +0 -3
  182. package/dist/engine/spec-grounding/contract.d.ts +0 -2
  183. package/dist/engine/spec-grounding/contract.js +1 -2
  184. package/dist/engine/spec-migrator/folder-operations.d.ts +0 -2
  185. package/dist/engine/spec-migrator/folder-operations.js +1 -2
  186. package/dist/engine/spec-migrator/index.d.ts +2 -9
  187. package/dist/engine/spec-migrator/index.js +2 -9
  188. package/dist/engine/spec-migrator/strict-planu-cleanup.d.ts +1 -2
  189. package/dist/engine/spec-migrator/strict-planu-cleanup.js +2 -2
  190. package/dist/engine/spec-state-machine/transition-spec.d.ts +3 -2
  191. package/dist/engine/spec-versioning/bump-version.d.ts +0 -2
  192. package/dist/engine/spec-versioning/bump-version.js +1 -2
  193. package/dist/engine/stack-auditor/manifest-reader.d.ts +0 -2
  194. package/dist/engine/stack-auditor/manifest-reader.js +0 -1
  195. package/dist/engine/supply-chain/index.d.ts +0 -5
  196. package/dist/engine/supply-chain/index.js +0 -4
  197. package/dist/engine/team-planner/index.d.ts +0 -2
  198. package/dist/engine/team-planner/index.js +0 -2
  199. package/dist/engine/test-selection/policy.d.ts +0 -1
  200. package/dist/engine/test-selection/policy.js +1 -1
  201. package/dist/engine/test-spec-generator/index.d.ts +0 -3
  202. package/dist/engine/test-spec-generator/index.js +0 -3
  203. package/dist/engine/test-spec-generator/labels.d.ts +0 -1
  204. package/dist/engine/test-spec-generator/labels.js +1 -1
  205. package/dist/engine/timing/budget.d.ts +2 -2
  206. package/dist/engine/timing/structured-log.d.ts +0 -8
  207. package/dist/engine/timing/structured-log.js +1 -14
  208. package/dist/engine/token-optimizer/autopilot.d.ts +0 -2
  209. package/dist/engine/token-optimizer/autopilot.js +1 -27
  210. package/dist/engine/token-optimizer/index.d.ts +1 -13
  211. package/dist/engine/token-optimizer/index.js +1 -12
  212. package/dist/engine/universal-rules/user-edit-detector.d.ts +0 -1
  213. package/dist/engine/universal-rules/user-edit-detector.js +0 -18
  214. package/dist/engine/usage-tracker/index.d.ts +1 -2
  215. package/dist/engine/usage-tracker/index.js +1 -2
  216. package/dist/engine/validation/durable-validation.d.ts +1 -1
  217. package/dist/engine/validation/durable-validation.js +1 -1
  218. package/dist/engine/validation/validation-submission.d.ts +0 -2
  219. package/dist/engine/validation/validation-submission.js +1 -1
  220. package/dist/engine/validation-evidence-ledger.d.ts +0 -1
  221. package/dist/engine/validation-evidence-ledger.js +1 -1
  222. package/dist/engine/validator/analyzer.d.ts +0 -1
  223. package/dist/engine/validator/analyzer.js +0 -3
  224. package/dist/engine/validator/checklist.d.ts +1 -5
  225. package/dist/engine/validator/checklist.js +1 -1
  226. package/dist/engine/validator/deep-code-checker.d.ts +0 -2
  227. package/dist/engine/validator/deep-code-checker.js +1 -1
  228. package/dist/engine/validator/extractors.d.ts +0 -1
  229. package/dist/engine/validator/extractors.js +0 -1
  230. package/dist/engine/validator/gates/index.d.ts +0 -1
  231. package/dist/engine/validator/gates/index.js +1 -0
  232. package/dist/engine/validator/holistic-report.d.ts +1 -3
  233. package/dist/engine/validator/holistic-report.js +2 -0
  234. package/dist/engine/validator/negative-predicate.d.ts +0 -1
  235. package/dist/engine/validator/negative-predicate.js +1 -1
  236. package/dist/engine/validator/reliability-gate.d.ts +2 -2
  237. package/dist/engine/validator/scope-resolver.d.ts +3 -2
  238. package/dist/engine/validator/spec-compliance-runner.d.ts +0 -5
  239. package/dist/engine/validator/spec-compliance-runner.js +1 -1
  240. package/dist/engine/validator.d.ts +0 -4
  241. package/dist/engine/validator.js +1 -2
  242. package/dist/engine/verifier/criterion-matcher.d.ts +0 -17
  243. package/dist/engine/verifier/criterion-matcher.js +2 -9
  244. package/dist/engine/web-fetcher/registry-loader.d.ts +0 -1
  245. package/dist/engine/web-fetcher/registry-loader.js +0 -3
  246. package/dist/engine/workers/index.d.ts +1 -11
  247. package/dist/engine/workers/index.js +1 -10
  248. package/dist/engine/workers/schema.d.ts +0 -28
  249. package/dist/engine/workers/schema.js +2 -2
  250. package/dist/errors/error-taxonomy.d.ts +0 -1
  251. package/dist/errors/error-taxonomy.js +0 -3
  252. package/dist/hosts/claude-code/coach.d.ts +0 -2
  253. package/dist/hosts/claude-code/coach.js +0 -18
  254. package/dist/hosts/claude-code/ux/skills-writer.d.ts +1 -2
  255. package/dist/hosts/claude-code/ux/skills-writer.js +1 -0
  256. package/dist/hosts/claude-code/ux/subagent-publisher.d.ts +0 -4
  257. package/dist/hosts/claude-code/ux/subagent-publisher.js +1 -1
  258. package/dist/hosts/gemini/index.d.ts +1 -3
  259. package/dist/hosts/gemini/index.js +1 -3
  260. package/dist/server/router.d.ts +2 -2
  261. package/dist/storage/approval-operation-lock.d.ts +0 -3
  262. package/dist/storage/approval-operation-lock.js +1 -1
  263. package/dist/storage/compliance-gate-config-store.d.ts +0 -1
  264. package/dist/storage/compliance-gate-config-store.js +2 -7
  265. package/dist/storage/force-analytics-store.d.ts +0 -2
  266. package/dist/storage/force-analytics-store.js +2 -2
  267. package/dist/storage/global-projects-store.d.ts +2 -1
  268. package/dist/storage/project-identity.d.ts +5 -4
  269. package/dist/storage/retention.d.ts +0 -1
  270. package/dist/storage/retention.js +1 -1
  271. package/dist/storage/runtime-db.d.ts +8 -8
  272. package/dist/storage/runtime-db.js +1 -1
  273. package/dist/storage/skill-bootstrap-store.d.ts +1 -3
  274. package/dist/storage/skill-bootstrap-store.js +1 -14
  275. package/dist/storage/spec-index.d.ts +0 -1
  276. package/dist/storage/spec-index.js +1 -4
  277. package/dist/storage/spec-store.d.ts +2 -1
  278. package/dist/storage/status-store/file-lock.d.ts +0 -2
  279. package/dist/storage/status-store/file-lock.js +2 -2
  280. package/dist/storage/storage-bundle.d.ts +3 -2
  281. package/dist/storage/storage-catalog.d.ts +1 -1
  282. package/dist/storage/storage-layout.d.ts +4 -3
  283. package/dist/tools/challenge-spec/challenge-report.d.ts +0 -1
  284. package/dist/tools/challenge-spec/challenge-report.js +1 -1
  285. package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.d.ts +0 -5
  286. package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.js +5 -5
  287. package/dist/tools/challenge-spec/resilience-challenge-scenarios.d.ts +1 -2
  288. package/dist/tools/challenge-spec/resilience-challenge-scenarios.js +1 -2
  289. package/dist/tools/challenge-spec/scenarios-utils.d.ts +1 -1
  290. package/dist/tools/challenge-spec/scenarios-utils.js +1 -1
  291. package/dist/tools/challenge-spec-helpers.d.ts +2 -1
  292. package/dist/tools/configure-permissions.d.ts +2 -1
  293. package/dist/tools/create-spec/adapters/velocity-estimation.d.ts +2 -1
  294. package/dist/tools/create-spec-tech.d.ts +1 -1
  295. package/dist/tools/create-spec-tech.js +1 -1
  296. package/dist/tools/domain-criteria-handler.d.ts +4 -4
  297. package/dist/tools/domain-criteria-handler.js +3 -0
  298. package/dist/tools/generate-teammate-prompt.d.ts +0 -4
  299. package/dist/tools/generate-teammate-prompt.js +0 -26
  300. package/dist/tools/git/auto-complete-ops.d.ts +2 -1
  301. package/dist/tools/git/branch-ops.d.ts +0 -1
  302. package/dist/tools/git/branch-ops.js +1 -48
  303. package/dist/tools/git/git-helpers.d.ts +2 -4
  304. package/dist/tools/git/git-helpers.js +1 -12
  305. package/dist/tools/init-constitution/principle-detector.d.ts +0 -1
  306. package/dist/tools/init-constitution/principle-detector.js +1 -1
  307. package/dist/tools/init-project/agents-md-writer.d.ts +2 -1
  308. package/dist/tools/init-project/config-builder.d.ts +2 -1
  309. package/dist/tools/init-project/helpers.d.ts +0 -1
  310. package/dist/tools/init-project/helpers.js +1 -1
  311. package/dist/tools/init-project/host-assets-writer.d.ts +3 -9
  312. package/dist/tools/init-project/host-assets-writer.js +2 -2
  313. package/dist/tools/init-project/legacy-root-migration.d.ts +2 -1
  314. package/dist/tools/init-project/lifecycle-helpers.d.ts +2 -6
  315. package/dist/tools/init-project/lifecycle-helpers.js +1 -1
  316. package/dist/tools/init-project/migration-runner.d.ts +2 -2
  317. package/dist/tools/init-project/per-client-files-writer.d.ts +2 -1
  318. package/dist/tools/init-project/portable-index-reconciler.d.ts +1 -5
  319. package/dist/tools/init-project/portable-index-reconciler.js +2 -2
  320. package/dist/tools/init-project/rules-writer.d.ts +2 -1
  321. package/dist/tools/init-project/scaffold-verifier.d.ts +0 -1
  322. package/dist/tools/init-project/scaffold-verifier.js +1 -1
  323. package/dist/tools/init-project/scaffold-writer.d.ts +2 -1
  324. package/dist/tools/init-project/stack-detector.d.ts +2 -1
  325. package/dist/tools/jobs/handlers.d.ts +2 -1
  326. package/dist/tools/output-compressor.d.ts +2 -1
  327. package/dist/tools/output-integrity-guard.d.ts +0 -8
  328. package/dist/tools/output-integrity-guard.js +1 -1
  329. package/dist/tools/package-handoff.d.ts +0 -1
  330. package/dist/tools/package-handoff.js +0 -1
  331. package/dist/tools/reconcile-interactive-question-hooks.d.ts +2 -1
  332. package/dist/tools/reconcile-session-safeguard-hook.d.ts +1 -1
  333. package/dist/tools/resolve-project-id.d.ts +2 -1
  334. package/dist/tools/response-helpers.d.ts +0 -23
  335. package/dist/tools/response-helpers.js +0 -37
  336. package/dist/tools/schemas/index.d.ts +3 -19
  337. package/dist/tools/schemas/index.js +3 -19
  338. package/dist/tools/schemas/infra.d.ts +0 -8
  339. package/dist/tools/schemas/infra.js +0 -3
  340. package/dist/tools/schemas/output-schemas.d.ts +1 -92
  341. package/dist/tools/schemas/output-schemas.js +0 -2
  342. package/dist/tools/schemas/spec-id.d.ts +1 -1
  343. package/dist/tools/schemas/spec-id.js +1 -1
  344. package/dist/tools/storage-paths-handler.d.ts +2 -1
  345. package/dist/tools/suggest-tooling/skills-fetcher.d.ts +1 -1
  346. package/dist/tools/suggest-tooling/skills-fetcher.js +1 -1
  347. package/dist/tools/tool-entry.d.ts +2 -1
  348. package/dist/tools/update-status/dod-gates.d.ts +2 -2
  349. package/dist/tools/update-status/done-receipt-verifier.d.ts +1 -1
  350. package/dist/tools/update-status/gate-harness.d.ts +2 -1
  351. package/dist/tools/update-status/transition-guard.d.ts +1 -2
  352. package/dist/tools/validate.d.ts +1 -4
  353. package/dist/tools/validate.js +0 -2
  354. package/dist/types/actionable-spec-metrics.d.ts +2 -1
  355. package/dist/types/actuals-tracking.d.ts +0 -44
  356. package/dist/types/actuals-tracking.js +5 -0
  357. package/dist/types/actuals.d.ts +0 -5
  358. package/dist/types/actuals.js +1 -0
  359. package/dist/types/advanced-framework.d.ts +0 -31
  360. package/dist/types/advanced-framework.js +1 -0
  361. package/dist/types/agent-orchestration.d.ts +0 -60
  362. package/dist/types/agent-team.d.ts +2 -19
  363. package/dist/types/ai-assurance.d.ts +2 -1
  364. package/dist/types/ai-native.d.ts +5 -4
  365. package/dist/types/ai-tool-rules.d.ts +3 -2
  366. package/dist/types/analysis-detection.d.ts +0 -54
  367. package/dist/types/analysis-detection.js +1 -0
  368. package/dist/types/analysis-frontend.d.ts +0 -17
  369. package/dist/types/analysis-frontend.js +3 -0
  370. package/dist/types/analysis.d.ts +8 -250
  371. package/dist/types/analysis.js +1 -0
  372. package/dist/types/analytics.d.ts +0 -146
  373. package/dist/types/approval.d.ts +0 -1
  374. package/dist/types/architecture.d.ts +3 -49
  375. package/dist/types/audit-trail.d.ts +0 -5
  376. package/dist/types/audit.d.ts +0 -26
  377. package/dist/types/audit.js +1 -0
  378. package/dist/types/auto-checkpoint.d.ts +0 -5
  379. package/dist/types/auto-checkpoint.js +1 -0
  380. package/dist/types/auto-update.d.ts +0 -28
  381. package/dist/types/autopilot-summary.d.ts +0 -3
  382. package/dist/types/autopilot.d.ts +3 -19
  383. package/dist/types/build-freshness.d.ts +2 -1
  384. package/dist/types/cascade-hooks.d.ts +2 -1
  385. package/dist/types/clarification.d.ts +0 -10
  386. package/dist/types/common/index.d.ts +0 -1
  387. package/dist/types/common/index.js +0 -1
  388. package/dist/types/common/learning.d.ts +1 -37
  389. package/dist/types/common/tech-enums.d.ts +0 -11
  390. package/dist/types/context-manager.d.ts +2 -1
  391. package/dist/types/context.d.ts +3 -17
  392. package/dist/types/conventions.d.ts +4 -88
  393. package/dist/types/core-bridge.d.ts +2 -8
  394. package/dist/types/cost-guardrails.d.ts +0 -17
  395. package/dist/types/cost-ledger.d.ts +0 -5
  396. package/dist/types/crash-shield-framework-rules.d.ts +4 -3
  397. package/dist/types/cross-repo-search.d.ts +0 -54
  398. package/dist/types/cross-repo-search.js +7 -0
  399. package/dist/types/dashboard.d.ts +0 -11
  400. package/dist/types/data-gc.d.ts +2 -1
  401. package/dist/types/decisions.d.ts +3 -42
  402. package/dist/types/decisions.js +1 -0
  403. package/dist/types/docs.d.ts +2 -385
  404. package/dist/types/docs.js +1 -0
  405. package/dist/types/domain-criteria.d.ts +2 -1
  406. package/dist/types/drift-monitor-types.d.ts +0 -65
  407. package/dist/types/durable-job.d.ts +2 -1
  408. package/dist/types/durable-validation.d.ts +2 -2
  409. package/dist/types/edge-db.d.ts +3 -37
  410. package/dist/types/edge-db.js +6 -0
  411. package/dist/types/elicitation.d.ts +2 -121
  412. package/dist/types/elicitation.js +10 -0
  413. package/dist/types/env.d.ts +6 -88
  414. package/dist/types/env.js +1 -0
  415. package/dist/types/errors/structured-error.d.ts +0 -2
  416. package/dist/types/escalator.d.ts +3 -2
  417. package/dist/types/estimation.d.ts +2 -81
  418. package/dist/types/estimation.js +2 -0
  419. package/dist/types/events.d.ts +2 -187
  420. package/dist/types/evidence-autofill.d.ts +0 -2
  421. package/dist/types/evidence-autofill.js +1 -0
  422. package/dist/types/evidence-gates.d.ts +2 -1
  423. package/dist/types/evidence-index.d.ts +3 -2
  424. package/dist/types/execution.d.ts +4 -43
  425. package/dist/types/facilitator.d.ts +2 -1
  426. package/dist/types/file-hooks.d.ts +7 -168
  427. package/dist/types/file-hooks.js +17 -0
  428. package/dist/types/git.d.ts +9 -204
  429. package/dist/types/github.d.ts +2 -89
  430. package/dist/types/github.js +12 -0
  431. package/dist/types/handoff-artifacts.d.ts +11 -10
  432. package/dist/types/health.d.ts +0 -11
  433. package/dist/types/hooks.d.ts +11 -79
  434. package/dist/types/hooks.js +17 -0
  435. package/dist/types/housekeeping.d.ts +3 -2
  436. package/dist/types/ide.d.ts +0 -56
  437. package/dist/types/ide.js +10 -0
  438. package/dist/types/index.d.ts +2 -128
  439. package/dist/types/index.js +0 -125
  440. package/dist/types/infrastructure.d.ts +4 -70
  441. package/dist/types/installation.d.ts +2 -1
  442. package/dist/types/keyword-matcher.d.ts +0 -8
  443. package/dist/types/legacy-guidance.d.ts +2 -1
  444. package/dist/types/legal.d.ts +2 -20
  445. package/dist/types/legal.js +2 -0
  446. package/dist/types/lessons.d.ts +3 -30
  447. package/dist/types/lifecycle.d.ts +0 -111
  448. package/dist/types/lifecycle.js +12 -0
  449. package/dist/types/living-spec/annotations.d.ts +3 -85
  450. package/dist/types/living-spec/annotations.js +6 -0
  451. package/dist/types/living-spec/dashboard-and-sync.d.ts +5 -159
  452. package/dist/types/living-spec/dashboard-and-sync.js +1 -0
  453. package/dist/types/living-spec.d.ts +0 -1
  454. package/dist/types/living-spec.js +0 -1
  455. package/dist/types/llm-security.d.ts +0 -39
  456. package/dist/types/local-first.d.ts +0 -41
  457. package/dist/types/local-first.js +7 -0
  458. package/dist/types/mcp-config.d.ts +3 -2
  459. package/dist/types/mcp.d.ts +0 -159
  460. package/dist/types/mcp.js +1 -0
  461. package/dist/types/migration/canonical-storage.d.ts +3 -2
  462. package/dist/types/minimal-implementation-gate.d.ts +6 -5
  463. package/dist/types/model-routing.d.ts +2 -48
  464. package/dist/types/model-routing.js +2 -0
  465. package/dist/types/multi-agent.d.ts +0 -158
  466. package/dist/types/multi-agent.js +15 -0
  467. package/dist/types/oauth.d.ts +0 -42
  468. package/dist/types/oauth.js +1 -0
  469. package/dist/types/observability.d.ts +0 -92
  470. package/dist/types/observability.js +14 -0
  471. package/dist/types/opencode.d.ts +0 -23
  472. package/dist/types/orchestration/index.d.ts +1 -4
  473. package/dist/types/orchestration/nli.d.ts +3 -74
  474. package/dist/types/outbox-worker.d.ts +2 -1
  475. package/dist/types/paradigm.d.ts +5 -17
  476. package/dist/types/paradigm.js +3 -0
  477. package/dist/types/parallel-safety-types.d.ts +0 -17
  478. package/dist/types/parallel-safety-types.js +4 -0
  479. package/dist/types/permissions-config.d.ts +2 -1
  480. package/dist/types/plugin-configs.d.ts +2 -59
  481. package/dist/types/plugin-configs.js +6 -0
  482. package/dist/types/plugin-install.d.ts +0 -1
  483. package/dist/types/plugins.d.ts +5 -22
  484. package/dist/types/portal.d.ts +2 -60
  485. package/dist/types/portal.js +1 -0
  486. package/dist/types/privacy.d.ts +3 -33
  487. package/dist/types/privacy.js +6 -0
  488. package/dist/types/product-public.d.ts +5 -4
  489. package/dist/types/project/inputs.d.ts +0 -29
  490. package/dist/types/project/inputs.js +3 -0
  491. package/dist/types/project/library-groups.d.ts +0 -6
  492. package/dist/types/project/mfe-detection.d.ts +5 -4
  493. package/dist/types/project/planu-config.d.ts +2 -1
  494. package/dist/types/project/platform-mobile.d.ts +0 -1
  495. package/dist/types/project/platform-specialty.d.ts +3 -12
  496. package/dist/types/project-knowledge-graph.d.ts +7 -6
  497. package/dist/types/proposal.d.ts +0 -65
  498. package/dist/types/proposal.js +1 -0
  499. package/dist/types/rbac.d.ts +0 -33
  500. package/dist/types/rbac.js +6 -0
  501. package/dist/types/readiness.d.ts +0 -2
  502. package/dist/types/readiness.js +4 -0
  503. package/dist/types/reconcile.d.ts +0 -11
  504. package/dist/types/registry.d.ts +3 -64
  505. package/dist/types/registry.js +8 -0
  506. package/dist/types/release-pipeline.d.ts +0 -5
  507. package/dist/types/reviewer-tokens.d.ts +0 -7
  508. package/dist/types/safety-scanner.d.ts +2 -18
  509. package/dist/types/safety.d.ts +0 -50
  510. package/dist/types/scan-project.d.ts +0 -95
  511. package/dist/types/schema-parity.d.ts +0 -66
  512. package/dist/types/schema-parity.js +7 -0
  513. package/dist/types/scope-boundaries.d.ts +2 -1
  514. package/dist/types/scope.d.ts +2 -67
  515. package/dist/types/sdd-flow.d.ts +7 -84
  516. package/dist/types/security.d.ts +3 -67
  517. package/dist/types/self-healing.d.ts +3 -2
  518. package/dist/types/session-checkpoint.d.ts +0 -26
  519. package/dist/types/skill-adapter.d.ts +0 -6
  520. package/dist/types/skill-adapter.js +1 -0
  521. package/dist/types/skill-bootstrap.d.ts +3 -38
  522. package/dist/types/skill-generation.d.ts +0 -94
  523. package/dist/types/skill-generation.js +3 -0
  524. package/dist/types/skill-registry.d.ts +4 -11
  525. package/dist/types/slack.d.ts +2 -17
  526. package/dist/types/slack.js +3 -0
  527. package/dist/types/spec/canonical-repair.d.ts +2 -1
  528. package/dist/types/spec/clarification.d.ts +2 -23
  529. package/dist/types/spec/core.d.ts +10 -18
  530. package/dist/types/spec/health-score.d.ts +2 -1
  531. package/dist/types/spec/index.d.ts +0 -2
  532. package/dist/types/spec/index.js +0 -2
  533. package/dist/types/spec/inputs.d.ts +1 -56
  534. package/dist/types/spec/inputs.js +1 -0
  535. package/dist/types/spec/versioning.d.ts +2 -1
  536. package/dist/types/spec-format.d.ts +2 -9
  537. package/dist/types/spec-generator.d.ts +0 -5
  538. package/dist/types/spec-language-translation.d.ts +2 -1
  539. package/dist/types/spec-lint.d.ts +2 -1
  540. package/dist/types/spec-lock.d.ts +0 -28
  541. package/dist/types/spec-lock.js +5 -0
  542. package/dist/types/spec-observability.d.ts +0 -54
  543. package/dist/types/spec-observability.js +8 -0
  544. package/dist/types/spec-quality.d.ts +0 -26
  545. package/dist/types/spec-quality.js +3 -0
  546. package/dist/types/stack/audit.d.ts +2 -86
  547. package/dist/types/stack/build-tool.d.ts +4 -15
  548. package/dist/types/stack/build-tool.js +2 -0
  549. package/dist/types/stack/index.d.ts +3 -5
  550. package/dist/types/stack/recommend.d.ts +6 -132
  551. package/dist/types/status.d.ts +2 -1
  552. package/dist/types/storage-catalog.d.ts +5 -4
  553. package/dist/types/supply-chain.d.ts +3 -17
  554. package/dist/types/tdd-enforcement.d.ts +0 -6
  555. package/dist/types/team-planner.d.ts +3 -70
  556. package/dist/types/team-planner.js +2 -0
  557. package/dist/types/technology-registry.d.ts +4 -3
  558. package/dist/types/technology-selection.d.ts +4 -3
  559. package/dist/types/telemetry.d.ts +2 -27
  560. package/dist/types/testing.d.ts +0 -108
  561. package/dist/types/timing.d.ts +3 -2
  562. package/dist/types/token-ledger.d.ts +0 -70
  563. package/dist/types/token-ledger.js +8 -0
  564. package/dist/types/token-optimization.d.ts +0 -6
  565. package/dist/types/token-waste-autopilot.d.ts +4 -3
  566. package/dist/types/tooling/audit.d.ts +2 -67
  567. package/dist/types/tooling/audit.js +3 -0
  568. package/dist/types/tooling/database.d.ts +0 -62
  569. package/dist/types/tooling/database.js +1 -0
  570. package/dist/types/tooling/index.d.ts +2 -7
  571. package/dist/types/transition-log.d.ts +2 -1
  572. package/dist/types/transport.d.ts +2 -1
  573. package/dist/types/ui.d.ts +0 -49
  574. package/dist/types/ui.js +1 -1
  575. package/dist/types/universal-rules/index.d.ts +0 -27
  576. package/dist/types/universal-rules/index.js +1 -0
  577. package/dist/types/usage.d.ts +0 -20
  578. package/dist/types/usage.js +3 -0
  579. package/dist/types/validation-evidence.d.ts +6 -5
  580. package/dist/types/validation-loop.d.ts +2 -1
  581. package/dist/types/validation-receipt.d.ts +3 -15
  582. package/dist/types/vector-store.d.ts +2 -62
  583. package/dist/types/vector-store.js +7 -0
  584. package/dist/types/velocity.d.ts +0 -12
  585. package/dist/types/verifiable-criteria.d.ts +2 -21
  586. package/dist/types/verifiable-criteria.js +7 -0
  587. package/dist/types/workers.d.ts +5 -44
  588. package/dist/types/workflow.d.ts +0 -68
  589. package/dist/types/workflow.js +3 -0
  590. package/dist/types/workspace-dashboard-types.d.ts +0 -6
  591. package/dist/types/workspace-overview.d.ts +0 -93
  592. package/dist/types/workspace-overview.js +9 -0
  593. package/package.json +2 -2
  594. package/planu-plugin.json +1 -1
  595. package/dist/engine/coach/types.d.ts +0 -2
  596. package/dist/engine/coach/types.js +0 -2
  597. package/dist/engine/frontmatter-sha/reseal.d.ts +0 -25
  598. package/dist/engine/frontmatter-sha/reseal.js +0 -29
  599. package/dist/engine/handoff-artifacts/index.d.ts +0 -6
  600. package/dist/engine/handoff-artifacts/index.js +0 -4
  601. package/dist/tools/schemas/delete.d.ts +0 -19
  602. package/dist/tools/schemas/delete.js +0 -12
  603. package/dist/tools/schemas/ecosystem-schemas.d.ts +0 -6
  604. package/dist/tools/schemas/ecosystem-schemas.js +0 -10
  605. package/dist/tools/schemas/github.d.ts +0 -56
  606. package/dist/tools/schemas/github.js +0 -78
  607. package/dist/tools/schemas/ide-config.d.ts +0 -38
  608. package/dist/tools/schemas/ide-config.js +0 -28
  609. package/dist/tools/schemas/llm-provider-schemas.d.ts +0 -26
  610. package/dist/tools/schemas/llm-provider-schemas.js +0 -16
  611. package/dist/tools/schemas/plugins-schemas.d.ts +0 -46
  612. package/dist/tools/schemas/plugins-schemas.js +0 -52
  613. package/dist/tools/schemas/project-graph.d.ts +0 -18
  614. package/dist/tools/schemas/project-graph.js +0 -8
  615. package/dist/tools/schemas/reconcile-skills-schemas.d.ts +0 -8
  616. package/dist/tools/schemas/reconcile-skills-schemas.js +0 -23
  617. package/dist/tools/schemas/registry.d.ts +0 -41
  618. package/dist/tools/schemas/registry.js +0 -79
  619. package/dist/tools/schemas/runtime-security.d.ts +0 -12
  620. package/dist/tools/schemas/runtime-security.js +0 -9
  621. package/dist/tools/schemas/session.d.ts +0 -34
  622. package/dist/tools/schemas/session.js +0 -52
  623. package/dist/tools/schemas/skill-registry-schemas.d.ts +0 -15
  624. package/dist/tools/schemas/skill-registry-schemas.js +0 -45
  625. package/dist/tools/schemas/spec-registry-schemas.d.ts +0 -39
  626. package/dist/tools/schemas/spec-registry-schemas.js +0 -75
  627. package/dist/tools/schemas/token-intelligence.d.ts +0 -23
  628. package/dist/tools/schemas/token-intelligence.js +0 -20
  629. package/dist/tools/schemas/token-optimization.d.ts +0 -12
  630. package/dist/tools/schemas/token-optimization.js +0 -9
  631. package/dist/tools/schemas/workers-schema.d.ts +0 -21
  632. package/dist/tools/schemas/workers-schema.js +0 -42
  633. package/dist/types/ac-gap.d.ts +0 -57
  634. package/dist/types/ac-gap.js +0 -3
  635. package/dist/types/agent-frameworks.d.ts +0 -62
  636. package/dist/types/agent-frameworks.js +0 -3
  637. package/dist/types/agent-memory.d.ts +0 -20
  638. package/dist/types/agent-memory.js +0 -3
  639. package/dist/types/agent-ready.d.ts +0 -58
  640. package/dist/types/agent-ready.js +0 -3
  641. package/dist/types/agent-role-mapper.d.ts +0 -32
  642. package/dist/types/agent-role-mapper.js +0 -2
  643. package/dist/types/agent-roles.d.ts +0 -21
  644. package/dist/types/agent-roles.js +0 -2
  645. package/dist/types/agent-spawner.d.ts +0 -30
  646. package/dist/types/agent-spawner.js +0 -3
  647. package/dist/types/agent-squad.d.ts +0 -57
  648. package/dist/types/agent-squad.js +0 -3
  649. package/dist/types/agent-telemetry.d.ts +0 -27
  650. package/dist/types/agent-telemetry.js +0 -3
  651. package/dist/types/agents-md.d.ts +0 -20
  652. package/dist/types/agents-md.js +0 -3
  653. package/dist/types/ai-cost.d.ts +0 -98
  654. package/dist/types/ai-cost.js +0 -4
  655. package/dist/types/ai-integration.d.ts +0 -65
  656. package/dist/types/ai-integration.js +0 -3
  657. package/dist/types/api-contract.d.ts +0 -219
  658. package/dist/types/api-contract.js +0 -3
  659. package/dist/types/architecture-lint.d.ts +0 -71
  660. package/dist/types/architecture-lint.js +0 -3
  661. package/dist/types/auth.d.ts +0 -82
  662. package/dist/types/auth.js +0 -3
  663. package/dist/types/auto-promoter.d.ts +0 -26
  664. package/dist/types/auto-promoter.js +0 -3
  665. package/dist/types/autopilot-config.d.ts +0 -22
  666. package/dist/types/autopilot-config.js +0 -14
  667. package/dist/types/batch-script.d.ts +0 -36
  668. package/dist/types/batch-script.js +0 -3
  669. package/dist/types/browser-validator.d.ts +0 -42
  670. package/dist/types/browser-validator.js +0 -3
  671. package/dist/types/ci.d.ts +0 -164
  672. package/dist/types/ci.js +0 -3
  673. package/dist/types/cline-integration.d.ts +0 -30
  674. package/dist/types/cline-integration.js +0 -3
  675. package/dist/types/coach.d.ts +0 -13
  676. package/dist/types/coach.js +0 -3
  677. package/dist/types/code-graph-integration.d.ts +0 -22
  678. package/dist/types/code-graph-integration.js +0 -3
  679. package/dist/types/code-impact.d.ts +0 -57
  680. package/dist/types/code-impact.js +0 -3
  681. package/dist/types/code-transforms.d.ts +0 -114
  682. package/dist/types/code-transforms.js +0 -11
  683. package/dist/types/codex-integration.d.ts +0 -55
  684. package/dist/types/codex-integration.js +0 -3
  685. package/dist/types/comments.d.ts +0 -68
  686. package/dist/types/comments.js +0 -3
  687. package/dist/types/common/context.d.ts +0 -29
  688. package/dist/types/common/context.js +0 -3
  689. package/dist/types/compliance-audit.d.ts +0 -55
  690. package/dist/types/compliance-audit.js +0 -3
  691. package/dist/types/compliance-tests.d.ts +0 -41
  692. package/dist/types/compliance-tests.js +0 -3
  693. package/dist/types/compliance.d.ts +0 -44
  694. package/dist/types/compliance.js +0 -3
  695. package/dist/types/concurrency.d.ts +0 -198
  696. package/dist/types/concurrency.js +0 -3
  697. package/dist/types/context-budget.d.ts +0 -90
  698. package/dist/types/context-budget.js +0 -3
  699. package/dist/types/context-profile.d.ts +0 -22
  700. package/dist/types/context-profile.js +0 -2
  701. package/dist/types/coverage.d.ts +0 -95
  702. package/dist/types/coverage.js +0 -4
  703. package/dist/types/css-framework.d.ts +0 -110
  704. package/dist/types/css-framework.js +0 -3
  705. package/dist/types/delete-first.d.ts +0 -118
  706. package/dist/types/delete-first.js +0 -3
  707. package/dist/types/delete.d.ts +0 -68
  708. package/dist/types/delete.js +0 -3
  709. package/dist/types/dependency-impact.d.ts +0 -45
  710. package/dist/types/dependency-impact.js +0 -3
  711. package/dist/types/deploy.d.ts +0 -73
  712. package/dist/types/deploy.js +0 -3
  713. package/dist/types/design-to-spec.d.ts +0 -100
  714. package/dist/types/design-to-spec.js +0 -3
  715. package/dist/types/diagram.d.ts +0 -73
  716. package/dist/types/diagram.js +0 -2
  717. package/dist/types/diff-spec-types.d.ts +0 -39
  718. package/dist/types/diff-spec-types.js +0 -3
  719. package/dist/types/discovery.d.ts +0 -22
  720. package/dist/types/discovery.js +0 -3
  721. package/dist/types/dogfooding.d.ts +0 -34
  722. package/dist/types/dogfooding.js +0 -2
  723. package/dist/types/drift-watcher.d.ts +0 -35
  724. package/dist/types/drift-watcher.js +0 -3
  725. package/dist/types/dynamic-knowledge.d.ts +0 -47
  726. package/dist/types/dynamic-knowledge.js +0 -11
  727. package/dist/types/dynamic-migration.d.ts +0 -68
  728. package/dist/types/dynamic-migration.js +0 -3
  729. package/dist/types/e2e-test-generator.d.ts +0 -27
  730. package/dist/types/e2e-test-generator.js +0 -3
  731. package/dist/types/ecosystem.d.ts +0 -45
  732. package/dist/types/ecosystem.js +0 -3
  733. package/dist/types/elicit-schema.d.ts +0 -20
  734. package/dist/types/elicit-schema.js +0 -3
  735. package/dist/types/export.d.ts +0 -28
  736. package/dist/types/export.js +0 -3
  737. package/dist/types/feedback.d.ts +0 -113
  738. package/dist/types/feedback.js +0 -3
  739. package/dist/types/figma.d.ts +0 -257
  740. package/dist/types/figma.js +0 -3
  741. package/dist/types/filesystem-hooks.d.ts +0 -30
  742. package/dist/types/filesystem-hooks.js +0 -3
  743. package/dist/types/gherkin.d.ts +0 -19
  744. package/dist/types/gherkin.js +0 -3
  745. package/dist/types/github-copilot-integration.d.ts +0 -30
  746. package/dist/types/github-copilot-integration.js +0 -3
  747. package/dist/types/global-rules-types.d.ts +0 -31
  748. package/dist/types/global-rules-types.js +0 -3
  749. package/dist/types/hook-generator.d.ts +0 -49
  750. package/dist/types/hook-generator.js +0 -3
  751. package/dist/types/ideas.d.ts +0 -37
  752. package/dist/types/ideas.js +0 -3
  753. package/dist/types/impact-detection.d.ts +0 -28
  754. package/dist/types/impact-detection.js +0 -3
  755. package/dist/types/import-spec.d.ts +0 -123
  756. package/dist/types/import-spec.js +0 -3
  757. package/dist/types/incoming-webhook.d.ts +0 -40
  758. package/dist/types/incoming-webhook.js +0 -3
  759. package/dist/types/living-spec/auto-update-and-merge.d.ts +0 -101
  760. package/dist/types/living-spec/auto-update-and-merge.js +0 -3
  761. package/dist/types/living-specs.d.ts +0 -35
  762. package/dist/types/living-specs.js +0 -3
  763. package/dist/types/llm-providers.d.ts +0 -140
  764. package/dist/types/llm-providers.js +0 -3
  765. package/dist/types/marketplace-fetcher.d.ts +0 -42
  766. package/dist/types/marketplace-fetcher.js +0 -3
  767. package/dist/types/mcp-recommendation.d.ts +0 -47
  768. package/dist/types/mcp-recommendation.js +0 -3
  769. package/dist/types/migration/analysis.d.ts +0 -79
  770. package/dist/types/migration/analysis.js +0 -3
  771. package/dist/types/migration/database.d.ts +0 -70
  772. package/dist/types/migration/database.js +0 -3
  773. package/dist/types/migration/index.d.ts +0 -6
  774. package/dist/types/migration/index.js +0 -3
  775. package/dist/types/migration/io.d.ts +0 -29
  776. package/dist/types/migration/io.js +0 -3
  777. package/dist/types/migration/planning.d.ts +0 -104
  778. package/dist/types/migration/planning.js +0 -3
  779. package/dist/types/migration-advanced.d.ts +0 -235
  780. package/dist/types/migration-advanced.js +0 -4
  781. package/dist/types/multi-agent-review.d.ts +0 -54
  782. package/dist/types/multi-agent-review.js +0 -3
  783. package/dist/types/observatory.d.ts +0 -26
  784. package/dist/types/observatory.js +0 -2
  785. package/dist/types/onboarding-types.d.ts +0 -69
  786. package/dist/types/onboarding-types.js +0 -3
  787. package/dist/types/orchestration/mcp-hub.d.ts +0 -29
  788. package/dist/types/orchestration/mcp-hub.js +0 -3
  789. package/dist/types/orchestration/pm.d.ts +0 -71
  790. package/dist/types/orchestration/pm.js +0 -3
  791. package/dist/types/orchestration/session.d.ts +0 -152
  792. package/dist/types/orchestration/session.js +0 -2
  793. package/dist/types/orchestration-runtime.d.ts +0 -198
  794. package/dist/types/orchestration-runtime.js +0 -4
  795. package/dist/types/orphan-spec-refs.d.ts +0 -37
  796. package/dist/types/orphan-spec-refs.js +0 -3
  797. package/dist/types/outbound-webhook.d.ts +0 -55
  798. package/dist/types/outbound-webhook.js +0 -3
  799. package/dist/types/performance-analysis.d.ts +0 -33
  800. package/dist/types/performance-analysis.js +0 -3
  801. package/dist/types/plan-mode.d.ts +0 -27
  802. package/dist/types/plan-mode.js +0 -3
  803. package/dist/types/platform-engineering.d.ts +0 -21
  804. package/dist/types/platform-engineering.js +0 -3
  805. package/dist/types/plugin-manifest.d.ts +0 -58
  806. package/dist/types/plugin-manifest.js +0 -4
  807. package/dist/types/project-dna.d.ts +0 -46
  808. package/dist/types/project-dna.js +0 -4
  809. package/dist/types/project-drift.d.ts +0 -29
  810. package/dist/types/project-drift.js +0 -3
  811. package/dist/types/property-testing.d.ts +0 -50
  812. package/dist/types/property-testing.js +0 -3
  813. package/dist/types/provider-adapter.d.ts +0 -61
  814. package/dist/types/provider-adapter.js +0 -9
  815. package/dist/types/red-team.d.ts +0 -29
  816. package/dist/types/red-team.js +0 -3
  817. package/dist/types/registry-publishers.d.ts +0 -63
  818. package/dist/types/registry-publishers.js +0 -4
  819. package/dist/types/release/stuck-spec.d.ts +0 -10
  820. package/dist/types/release/stuck-spec.js +0 -3
  821. package/dist/types/resources.d.ts +0 -20
  822. package/dist/types/resources.js +0 -3
  823. package/dist/types/reverse-engineer.d.ts +0 -90
  824. package/dist/types/reverse-engineer.js +0 -3
  825. package/dist/types/risk.d.ts +0 -90
  826. package/dist/types/risk.js +0 -2
  827. package/dist/types/runtime-security.d.ts +0 -110
  828. package/dist/types/runtime-security.js +0 -4
  829. package/dist/types/schema-generator.d.ts +0 -61
  830. package/dist/types/schema-generator.js +0 -3
  831. package/dist/types/schema.d.ts +0 -125
  832. package/dist/types/schema.js +0 -2
  833. package/dist/types/security/cve-refresh-log.d.ts +0 -11
  834. package/dist/types/security/cve-refresh-log.js +0 -2
  835. package/dist/types/security/index.d.ts +0 -2
  836. package/dist/types/security/index.js +0 -2
  837. package/dist/types/sentry.d.ts +0 -50
  838. package/dist/types/sentry.js +0 -3
  839. package/dist/types/skill-eval.d.ts +0 -41
  840. package/dist/types/skill-eval.js +0 -3
  841. package/dist/types/solid-check.d.ts +0 -78
  842. package/dist/types/solid-check.js +0 -3
  843. package/dist/types/source-resolution.d.ts +0 -49
  844. package/dist/types/source-resolution.js +0 -10
  845. package/dist/types/spec/agent.d.ts +0 -111
  846. package/dist/types/spec/agent.js +0 -3
  847. package/dist/types/spec/repair.d.ts +0 -33
  848. package/dist/types/spec/repair.js +0 -3
  849. package/dist/types/spec-cookbook-types.d.ts +0 -45
  850. package/dist/types/spec-cookbook-types.js +0 -3
  851. package/dist/types/spec-decomposer.d.ts +0 -125
  852. package/dist/types/spec-decomposer.js +0 -4
  853. package/dist/types/spec-dependency-graph.d.ts +0 -21
  854. package/dist/types/spec-dependency-graph.js +0 -2
  855. package/dist/types/spec-diff-visual-types.d.ts +0 -75
  856. package/dist/types/spec-diff-visual-types.js +0 -3
  857. package/dist/types/spec-effectiveness.d.ts +0 -63
  858. package/dist/types/spec-effectiveness.js +0 -3
  859. package/dist/types/spec-elicitation.d.ts +0 -26
  860. package/dist/types/spec-elicitation.js +0 -3
  861. package/dist/types/spec-export.d.ts +0 -18
  862. package/dist/types/spec-export.js +0 -3
  863. package/dist/types/spec-from-issue.d.ts +0 -37
  864. package/dist/types/spec-from-issue.js +0 -3
  865. package/dist/types/spec-hooks.d.ts +0 -62
  866. package/dist/types/spec-hooks.js +0 -3
  867. package/dist/types/spec-marketplace.d.ts +0 -31
  868. package/dist/types/spec-marketplace.js +0 -3
  869. package/dist/types/spec-obesity-healer.d.ts +0 -32
  870. package/dist/types/spec-obesity-healer.js +0 -3
  871. package/dist/types/spec-registry.d.ts +0 -194
  872. package/dist/types/spec-registry.js +0 -3
  873. package/dist/types/spec-scheduler.d.ts +0 -58
  874. package/dist/types/spec-scheduler.js +0 -3
  875. package/dist/types/spec-source-types.d.ts +0 -37
  876. package/dist/types/spec-source-types.js +0 -3
  877. package/dist/types/spec-templates.d.ts +0 -135
  878. package/dist/types/spec-templates.js +0 -3
  879. package/dist/types/spec-versioning.d.ts +0 -152
  880. package/dist/types/spec-versioning.js +0 -3
  881. package/dist/types/stack/deprecation.d.ts +0 -38
  882. package/dist/types/stack/deprecation.js +0 -3
  883. package/dist/types/stack/react.d.ts +0 -11
  884. package/dist/types/stack/react.js +0 -3
  885. package/dist/types/steering.d.ts +0 -40
  886. package/dist/types/steering.js +0 -3
  887. package/dist/types/storage.d.ts +0 -16
  888. package/dist/types/storage.js +0 -3
  889. package/dist/types/storybook.d.ts +0 -27
  890. package/dist/types/storybook.js +0 -3
  891. package/dist/types/structural-memory.d.ts +0 -138
  892. package/dist/types/structural-memory.js +0 -2
  893. package/dist/types/supabase.d.ts +0 -108
  894. package/dist/types/supabase.js +0 -3
  895. package/dist/types/tdd-strict.d.ts +0 -54
  896. package/dist/types/tdd-strict.js +0 -3
  897. package/dist/types/team-analytics.d.ts +0 -52
  898. package/dist/types/team-analytics.js +0 -3
  899. package/dist/types/tech-debt.d.ts +0 -66
  900. package/dist/types/tech-debt.js +0 -3
  901. package/dist/types/test-reverse-engineer.d.ts +0 -32
  902. package/dist/types/test-reverse-engineer.js +0 -3
  903. package/dist/types/tool-tier.d.ts +0 -16
  904. package/dist/types/tool-tier.js +0 -3
  905. package/dist/types/tooling/assessment.d.ts +0 -87
  906. package/dist/types/tooling/assessment.js +0 -2
  907. package/dist/types/tooling/bundles.d.ts +0 -34
  908. package/dist/types/tooling/bundles.js +0 -3
  909. package/dist/types/tooling/catalog.d.ts +0 -134
  910. package/dist/types/tooling/catalog.js +0 -3
  911. package/dist/types/tooling/memory-config.d.ts +0 -25
  912. package/dist/types/tooling/memory-config.js +0 -3
  913. package/dist/types/tooling/token-optimizer.d.ts +0 -42
  914. package/dist/types/tooling/token-optimizer.js +0 -3
  915. package/dist/types/type-safety-gate.d.ts +0 -21
  916. package/dist/types/type-safety-gate.js +0 -3
  917. package/dist/types/verify-integrations.d.ts +0 -80
  918. package/dist/types/verify-integrations.js +0 -3
  919. package/dist/types/version-resolution.d.ts +0 -23
  920. package/dist/types/version-resolution.js +0 -3
  921. package/dist/types/well-known.d.ts +0 -70
  922. package/dist/types/well-known.js +0 -3
  923. package/dist/types/workflow-checkpoint.d.ts +0 -66
  924. package/dist/types/workflow-checkpoint.js +0 -4
@@ -1,5 +1,5 @@
1
1
  /** Event types recorded in the transition log. */
2
- export type TransitionEventType = 'transitioned_to_terminal' | 'frontmatter_resealed' | 'reopen' | 'terminal_drift_detected' | 'transition' | 'handoff.intake' | 'handoff.spec.lock' | 'handoff.review_feedback' | 'handoff.implementation-report' | 'handoff.validation-report' | 'handoff.implementation_review' | 'retro_audit' | 'tdd_red_locked' | 'tdd_green_achieved' | 'status_reconciled' | 'housekeeping' | 'ghost_spec_quarantined';
2
+ type TransitionEventType = 'transitioned_to_terminal' | 'frontmatter_resealed' | 'reopen' | 'terminal_drift_detected' | 'transition' | 'handoff.intake' | 'handoff.spec.lock' | 'handoff.review_feedback' | 'handoff.implementation-report' | 'handoff.validation-report' | 'handoff.implementation_review' | 'retro_audit' | 'tdd_red_locked' | 'tdd_green_achieved' | 'status_reconciled' | 'housekeeping' | 'ghost_spec_quarantined';
3
3
  /** SPEC-734: Outcome of a gate execution in a transition. */
4
4
  export type GateOutcome = 'pass' | 'fail' | 'skip' | 'forced';
5
5
  /** SPEC-734: Result of verifying the hash chain integrity of a project's transition log. */
@@ -74,4 +74,5 @@ export interface AppendTransitionEventInput {
74
74
  [key: string]: unknown;
75
75
  };
76
76
  }
77
+ export {};
77
78
  //# sourceMappingURL=transition-log.d.ts.map
@@ -1,4 +1,4 @@
1
- export type TransportType = 'stdio' | 'http';
1
+ type TransportType = 'stdio' | 'http';
2
2
  export interface HttpSessionContext {
3
3
  /** MCP session ID */
4
4
  sessionId: string;
@@ -12,4 +12,5 @@ export interface TransportConfig {
12
12
  corsOrigin?: string;
13
13
  insecure?: boolean;
14
14
  }
15
+ export {};
15
16
  //# sourceMappingURL=transport.d.ts.map
@@ -1,52 +1,3 @@
1
1
  export * from './dashboard.js';
2
- export * from './css-framework.js';
3
2
  export * from './advanced-framework.js';
4
- export interface UIContract {
5
- componentTree: ComponentNode[];
6
- dataFlow: UIDataFlow[];
7
- loadingStates: LoadingState[];
8
- errorStates: ErrorState[];
9
- }
10
- export interface ComponentNode {
11
- name: string;
12
- type: 'server' | 'client';
13
- justification: string;
14
- props: PropDefinition[];
15
- children: ComponentNode[];
16
- stateManagement?: string;
17
- dataSource?: string;
18
- }
19
- export interface PropDefinition {
20
- name: string;
21
- type: string;
22
- required: boolean;
23
- description: string;
24
- }
25
- export interface UIDataFlow {
26
- from: string;
27
- to: string;
28
- data: string;
29
- method: string;
30
- }
31
- export interface LoadingState {
32
- component: string;
33
- trigger: string;
34
- ui: string;
35
- }
36
- export interface ErrorState {
37
- component: string;
38
- trigger: string;
39
- ui: string;
40
- recovery: string;
41
- }
42
- export interface DefineUIContractInput {
43
- specId: string;
44
- projectId: string;
45
- screens?: string[];
46
- }
47
- export interface InteractionContract {
48
- channels: ('chat' | 'email' | 'dashboard' | 'notifications')[];
49
- responseFormat: Record<string, string>;
50
- escalationRules: string[];
51
- }
52
3
  //# sourceMappingURL=ui.d.ts.map
package/dist/types/ui.js CHANGED
@@ -3,6 +3,6 @@
3
3
  // CSS framework types → ./css-framework.ts
4
4
  // Advanced framework types → ./advanced-framework.ts
5
5
  export * from './dashboard.js';
6
- export * from './css-framework.js';
7
6
  export * from './advanced-framework.js';
7
+ // SPEC-016a: Interaction Contract for AI agents
8
8
  //# sourceMappingURL=ui.js.map
@@ -53,30 +53,8 @@ export interface UniversalRulesInstallResult {
53
53
  }[];
54
54
  }
55
55
  /** Result of reconcile_universal_rules. */
56
- export interface ReconcileResult {
57
- added: string[];
58
- skipped: {
59
- id: string;
60
- reason: 'already-installed' | 'user-modified' | 'not-applicable-for-host';
61
- }[];
62
- failed: {
63
- id: string;
64
- error: string;
65
- }[];
66
- }
67
56
  /** Input for the create_rule MCP tool handler. */
68
- export interface CreateRuleInput {
69
- projectPath: string;
70
- name: string;
71
- content: string;
72
- host: HostId | 'auto';
73
- overwriteExisting?: boolean;
74
- }
75
57
  /** Result of the create_rule MCP tool handler. */
76
- export interface CreateRuleResult {
77
- path: string;
78
- host: HostId;
79
- }
80
58
  /** Input for the create_skill MCP tool handler. */
81
59
  export interface CreateSkillInput {
82
60
  projectPath: string;
@@ -88,9 +66,4 @@ export interface CreateSkillInput {
88
66
  managedByPlanu?: boolean;
89
67
  }
90
68
  /** Result of the create_skill MCP tool handler. */
91
- export interface CreateSkillResult {
92
- dirPath: string;
93
- skillFilePath: string;
94
- host: HostId;
95
- }
96
69
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,4 @@
1
1
  // types/universal-rules/index.ts — SPEC-779: Universal rules catalog types
2
2
  export {};
3
+ /** Result of the create_skill MCP tool handler. */
3
4
  //# sourceMappingURL=index.js.map
@@ -37,24 +37,4 @@ export interface UsageStats {
37
37
  /** Tool names with 0 calls in the reporting period (candidates for removal) */
38
38
  readonly deadTools: readonly string[];
39
39
  }
40
- export interface UsageStatsInput {
41
- readonly period?: '7d' | '30d' | 'all';
42
- }
43
- export interface UsageReportInput {
44
- readonly format?: 'json' | 'markdown';
45
- }
46
- export interface ToolUsageReportInput {
47
- readonly days?: number;
48
- readonly projectPath?: string;
49
- }
50
- export interface ToolUsageTopEntry {
51
- readonly name: string;
52
- readonly count: number;
53
- readonly trend: '↑' | '↓' | '→';
54
- }
55
- export interface ToolUsageSequence {
56
- readonly from: string;
57
- readonly to: string;
58
- readonly count: number;
59
- }
60
40
  //# sourceMappingURL=usage.d.ts.map
@@ -1,4 +1,7 @@
1
1
  // types/usage.ts — Usage tracking and analytics types for Planu SDD MCP Server.
2
2
  // Supports neutral local telemetry and usage reporting.
3
3
  export {};
4
+ // ---------------------------------------------------------------------------
5
+ // Tool inputs
6
+ // ---------------------------------------------------------------------------
4
7
  //# sourceMappingURL=usage.js.map
@@ -2,7 +2,7 @@ import type { AbortableProcessOptions, AbortableProcessResult } from './abortabl
2
2
  import type { BuildFreshnessResult } from './build-freshness.js';
3
3
  export declare const VALIDATION_EVIDENCE_SCHEMA_VERSION: '1.0.0';
4
4
  export type ValidationGateCapability = 'typecheck' | 'lint' | 'test-related' | 'test-full' | 'contract' | 'coverage' | 'migration' | 'fault-injection' | 'security' | 'native' | 'website' | 'reproducibility';
5
- export type ValidationEvidenceStatus = 'passed' | 'failed' | 'cancelled' | 'invalidated';
5
+ type ValidationEvidenceStatus = 'passed' | 'failed' | 'cancelled' | 'invalidated';
6
6
  export interface ValidationEvidenceKeyInput {
7
7
  projectPath: string;
8
8
  capability: ValidationGateCapability;
@@ -113,7 +113,7 @@ export interface DoneDriftMissingFileFinding {
113
113
  specId: string;
114
114
  missingPath: string;
115
115
  }
116
- export interface SpecComplianceRunnerFailure {
116
+ interface SpecComplianceRunnerFailure {
117
117
  kind: 'runner-output-unparseable';
118
118
  detail: string;
119
119
  indeterminateScenarios: number;
@@ -134,7 +134,7 @@ export interface EvidenceScenario {
134
134
  title: string;
135
135
  tests: EvidenceTestLink[];
136
136
  }
137
- export type ExecutableEvidenceSource = 'frontmatter' | 'criteria' | 'none';
137
+ type ExecutableEvidenceSource = 'frontmatter' | 'criteria' | 'none';
138
138
  export interface ExecutableEvidence {
139
139
  source: ExecutableEvidenceSource;
140
140
  scenarios: EvidenceScenario[];
@@ -157,7 +157,7 @@ export interface ReliabilityGateResult {
157
157
  warnings: ReliabilityGateViolation[];
158
158
  executionError?: string;
159
159
  }
160
- export interface BlastRadiusGateFailure {
160
+ interface BlastRadiusGateFailure {
161
161
  file: string;
162
162
  message: string;
163
163
  }
@@ -177,7 +177,7 @@ export interface RunBlastRadiusGateOptions {
177
177
  runProcess?: (command: string, args: string[], options: AbortableProcessOptions) => Promise<AbortableProcessResult>;
178
178
  checkBuildFreshness?: (distRoot: string) => BuildFreshnessResult;
179
179
  }
180
- export type StrictAuditsSkipReason = 'no-strict-scripts' | 'deadline-exceeded';
180
+ type StrictAuditsSkipReason = 'no-strict-scripts' | 'deadline-exceeded';
181
181
  export interface StrictAuditsGateFinding {
182
182
  script: string;
183
183
  line: string;
@@ -197,4 +197,5 @@ export interface RunStrictAuditsGateOptions {
197
197
  signal?: AbortSignal;
198
198
  runProcess?: (command: string, args: string[], options: AbortableProcessOptions) => Promise<AbortableProcessResult>;
199
199
  }
200
+ export {};
200
201
  //# sourceMappingURL=validation-evidence.d.ts.map
@@ -26,7 +26,7 @@ export interface RunValidationLoopInput {
26
26
  testCommand?: string;
27
27
  autoFix?: boolean;
28
28
  }
29
- export type ValidationLoopStatus = 'passed' | 'failed' | 'partial';
29
+ type ValidationLoopStatus = 'passed' | 'failed' | 'partial';
30
30
  export interface ValidationLoopResult {
31
31
  iterations: number;
32
32
  finalStatus: ValidationLoopStatus;
@@ -38,4 +38,5 @@ export interface ValidationStepPlan {
38
38
  steps: string[];
39
39
  expectedOutcome: string;
40
40
  }
41
+ export {};
41
42
  //# sourceMappingURL=validation-loop.d.ts.map
@@ -1,4 +1,3 @@
1
- import type { FSWatcher } from 'node:fs';
2
1
  export interface ValidationReceiptBindings {
3
2
  readonly projectId: string;
4
3
  readonly specId: string;
@@ -38,7 +37,7 @@ export interface ValidationFreshnessLease {
38
37
  readonly epoch: string;
39
38
  readonly generation: number;
40
39
  }
41
- export type ValidationFreshnessBarrierReason = 'lease-superseded' | 'invalidation-drain-failed' | 'evidence-check-failed' | 'evidence-changed' | 'source-changed' | 'source-check-failed' | 'state-lost' | 'lease-expired' | 'bindings-mismatch';
40
+ type ValidationFreshnessBarrierReason = 'lease-superseded' | 'invalidation-drain-failed' | 'evidence-check-failed' | 'evidence-changed' | 'source-changed' | 'source-check-failed' | 'state-lost' | 'lease-expired' | 'bindings-mismatch';
42
41
  export type ValidationFreshnessBarrierResult = {
43
42
  readonly fresh: true;
44
43
  } | {
@@ -46,7 +45,7 @@ export type ValidationFreshnessBarrierResult = {
46
45
  readonly reason: ValidationFreshnessBarrierReason;
47
46
  readonly changedInput?: string;
48
47
  };
49
- export type ValidationFreshnessRebaselineReason = 'lease-expired' | 'recompute-failed' | 'bindings-mismatch' | 'lease-unstable';
48
+ type ValidationFreshnessRebaselineReason = 'lease-expired' | 'recompute-failed' | 'bindings-mismatch' | 'lease-unstable';
50
49
  export type ValidationFreshnessRebaselineResult = {
51
50
  readonly lease: ValidationFreshnessLease;
52
51
  } | {
@@ -62,18 +61,6 @@ export type ValidationFreshnessRebaselineResult = {
62
61
  * ambiguous filename-less event that needs authoritative verification.
63
62
  */
64
63
  export type ValidationWatchEventClassification = 'direct-relevant' | 'ignored' | 'synthetic' | 'ambiguous';
65
- export interface ValidationFreshnessWatchState {
66
- readonly epoch: string;
67
- readonly expiresAt: number;
68
- readonly generation: number;
69
- readonly healthy: boolean;
70
- readonly projectPath: string;
71
- readonly handoffPath: string;
72
- readonly evidenceFingerprint: string;
73
- readonly bindings?: ValidationReceiptBindings;
74
- readonly invalidating: Promise<void>;
75
- readonly watchers: readonly FSWatcher[];
76
- }
77
64
  export interface ValidationCommandInput {
78
65
  readonly executable: string;
79
66
  readonly args?: readonly string[];
@@ -135,4 +122,5 @@ export interface ValidationReceiptVerification {
135
122
  readonly valid: boolean;
136
123
  readonly reason?: 'invalid-schema' | 'unsupported-version' | 'unknown-issuer' | 'invalid-authenticity' | 'stale-bindings' | 'missing-receipt' | 'missing-log' | 'invalid-log';
137
124
  }
125
+ export {};
138
126
  //# sourceMappingURL=validation-receipt.d.ts.map
@@ -40,12 +40,6 @@ export interface PersistedSemanticIndex {
40
40
  tfidfState: TFIDFExportedState;
41
41
  }
42
42
  /** Configuration for the HNSW index. */
43
- export interface HNSWConfig {
44
- M: number;
45
- efConstruction: number;
46
- efSearch: number;
47
- flatSearchThreshold: number;
48
- }
49
43
  /** Abstract storage backend interface (SQLite or JSON fallback). */
50
44
  export interface StorageBackend {
51
45
  insert(entry: VectorEntry): Promise<void>;
@@ -57,21 +51,8 @@ export interface StorageBackend {
57
51
  close?(): void;
58
52
  }
59
53
  /** Result of a JSON-to-SQLite migration. */
60
- export interface MigrationResult {
61
- documentsProcessed: number;
62
- durationMs: number;
63
- errors: string[];
64
- }
65
54
  /** Scope parameter for semantic_search tool. */
66
- export type VectorSearchScope = VectorEntryType | 'all';
67
55
  /** Input args for semantic_search tool handler. */
68
- export interface SemanticSearchArgs {
69
- projectId: string;
70
- query: string;
71
- scope?: VectorSearchScope;
72
- topK?: number;
73
- threshold?: number;
74
- }
75
56
  /** Internal JSON storage shape for vector store data. */
76
57
  export interface VectorStoreData {
77
58
  entries: VectorEntry[];
@@ -94,7 +75,7 @@ export interface BetterSqlite3Database {
94
75
  close(): void;
95
76
  }
96
77
  /** Prepared statement from better-sqlite3. */
97
- export interface BetterSqlite3Statement {
78
+ interface BetterSqlite3Statement {
98
79
  run(...params: unknown[]): {
99
80
  changes: number;
100
81
  };
@@ -110,53 +91,12 @@ export interface DedupWarning {
110
91
  similarity: number;
111
92
  threshold: number;
112
93
  }
94
+ export {};
113
95
  /** Legacy pattern shape for migration. */
114
- export interface LegacyPattern {
115
- pattern: string;
116
- category?: string;
117
- usageCount?: number;
118
- [key: string]: unknown;
119
- }
120
96
  /** Legacy knowledge shape for migration. */
121
- export interface LegacyKnowledge {
122
- key: string;
123
- value: string;
124
- source?: string;
125
- [key: string]: unknown;
126
- }
127
97
  /** Collected text item ready for embedding during migration. */
128
- export interface MigrationTextItem {
129
- type: VectorEntryType;
130
- id: string;
131
- text: string;
132
- meta: Record<string, unknown>;
133
- }
134
98
  /** Legacy decision shape for migration. */
135
- export interface LegacyDecision {
136
- decision: string;
137
- rationale?: string;
138
- specId?: string;
139
- [key: string]: unknown;
140
- }
141
99
  /** Internal node in the HNSW graph. */
142
- export interface HNSWNode {
143
- id: string;
144
- vector: number[];
145
- layers: Map<string, number>[];
146
- }
147
100
  /** Candidate returned from HNSW search. */
148
- export interface HNSWSearchCandidate {
149
- id: string;
150
- similarity: number;
151
- }
152
101
  /** Serialized HNSW state for persistence. */
153
- export interface HNSWSerializedState {
154
- nodes: {
155
- id: string;
156
- vector: number[];
157
- layers: [string, number][][];
158
- }[];
159
- entryPoint: string | null;
160
- maxLayer: number;
161
- }
162
102
  //# sourceMappingURL=vector-store.d.ts.map
@@ -1,3 +1,10 @@
1
1
  // types/vector-store.ts — Domain types for vector memory (SPEC-075).
2
2
  export {};
3
+ /** Legacy pattern shape for migration. */
4
+ /** Legacy knowledge shape for migration. */
5
+ /** Collected text item ready for embedding during migration. */
6
+ /** Legacy decision shape for migration. */
7
+ /** Internal node in the HNSW graph. */
8
+ /** Candidate returned from HNSW search. */
9
+ /** Serialized HNSW state for persistence. */
3
10
  //# sourceMappingURL=vector-store.js.map
@@ -131,19 +131,7 @@ export interface VelocityFilters {
131
131
  type?: SpecType;
132
132
  }
133
133
  /** Input args for velocity_report tool */
134
- export interface VelocityReportInput {
135
- projectPath: string;
136
- weeks?: number;
137
- scope?: SpecScope;
138
- type?: SpecType;
139
- }
140
134
  /** Input args for velocity_trend tool */
141
- export interface VelocityTrendInput {
142
- projectPath: string;
143
- compareWeeks?: number;
144
- scope?: SpecScope;
145
- type?: SpecType;
146
- }
147
135
  /**
148
136
  * Velocity profile derived from recent spec actuals.
149
137
  * Used to convert devHours estimates into real calendar days.
@@ -1,5 +1,5 @@
1
1
  /** The verification strategy to apply to a single acceptance criterion. */
2
- export type VerifyType = 'grep_present' | 'grep_absent' | 'metric_max' | 'metric_min' | 'file_exists' | 'command' | 'manual';
2
+ type VerifyType = 'grep_present' | 'grep_absent' | 'metric_max' | 'metric_min' | 'file_exists' | 'command' | 'manual';
3
3
  /**
4
4
  * A machine-verifiable check block attached to an acceptance criterion.
5
5
  * Stored as an HTML comment in spec.md for backward-compatible rendering.
@@ -20,31 +20,12 @@ export interface VerifyBlock {
20
20
  /** Human-readable description of what is being verified. */
21
21
  description: string;
22
22
  }
23
+ export {};
23
24
  /**
24
25
  * An acceptance criterion enriched with a machine-verifiable check block.
25
26
  */
26
- export interface VerifiableCriterion {
27
- /** The original acceptance criterion text (without markdown list prefix). */
28
- text: string;
29
- /** The machine-verifiable check block. */
30
- verify: VerifyBlock;
31
- }
32
27
  /**
33
28
  * A template that maps keyword triggers in criterion text to a verification strategy.
34
29
  * Used internally by the criterion enricher to auto-classify criteria.
35
30
  */
36
- export interface VerifyTemplate {
37
- /** Keywords (any match) that trigger this template. */
38
- keywords: string[];
39
- /** Verification type this template applies. */
40
- type: VerifyType;
41
- /** Pattern with optional {placeholder} substitution. */
42
- patternTemplate?: string;
43
- /** Scope glob with optional {placeholder} substitution. */
44
- scopeTemplate?: string;
45
- /** Default expected value for metric checks (e.g. line count threshold). */
46
- expected?: number;
47
- /** Human-readable description for the generated verify block. */
48
- description: string;
49
- }
50
31
  //# sourceMappingURL=verifiable-criteria.d.ts.map
@@ -1,3 +1,10 @@
1
1
  // types/verifiable-criteria.ts — Types for machine-verifiable acceptance criteria (SPEC-186)
2
2
  export {};
3
+ /**
4
+ * An acceptance criterion enriched with a machine-verifiable check block.
5
+ */
6
+ /**
7
+ * A template that maps keyword triggers in criterion text to a verification strategy.
8
+ * Used internally by the criterion enricher to auto-classify criteria.
9
+ */
3
10
  //# sourceMappingURL=verifiable-criteria.js.map
@@ -1,5 +1,5 @@
1
- export type WorkerTriggerType = 'file-change' | 'event' | 'schedule';
2
- export interface WorkerTrigger {
1
+ type WorkerTriggerType = 'file-change' | 'event' | 'schedule';
2
+ interface WorkerTrigger {
3
3
  type: WorkerTriggerType;
4
4
  /** Glob patterns for file-change triggers */
5
5
  patterns?: string[];
@@ -19,7 +19,7 @@ export interface WorkerDefinition {
19
19
  cooldownMs: number;
20
20
  enabled: boolean;
21
21
  }
22
- export type WorkerFindingSeverity = 'critical' | 'high' | 'medium' | 'low' | 'warning' | 'info';
22
+ type WorkerFindingSeverity = 'critical' | 'high' | 'medium' | 'low' | 'warning' | 'info';
23
23
  export interface WorkerFinding {
24
24
  severity: WorkerFindingSeverity;
25
25
  file: string;
@@ -28,7 +28,7 @@ export interface WorkerFinding {
28
28
  suggestion?: string;
29
29
  category: string;
30
30
  }
31
- export type WorkerRunStatus = 'success' | 'error' | 'skipped';
31
+ type WorkerRunStatus = 'success' | 'error' | 'skipped';
32
32
  export interface WorkerRunResult {
33
33
  workerName: string;
34
34
  startedAt: string;
@@ -65,31 +65,6 @@ export interface WorkerOverride {
65
65
  cooldownMs?: number;
66
66
  priority?: number;
67
67
  }
68
- export interface WorkerProjectConfig {
69
- overrides: Record<string, WorkerConfigOverride>;
70
- lastUpdated: string;
71
- }
72
- export interface WorkerHistoryEntry {
73
- workerName: string;
74
- runAt: string;
75
- durationMs: number;
76
- status: WorkerRunStatus;
77
- findingsCount: number;
78
- findings: WorkerFinding[];
79
- }
80
- export interface WorkerSummary {
81
- workers: {
82
- name: string;
83
- enabled: boolean;
84
- lastRun?: {
85
- runAt: string;
86
- durationMs: number;
87
- status: WorkerRunStatus;
88
- findingsCount: number;
89
- };
90
- }[];
91
- lastUpdated: string;
92
- }
93
68
  export type WorkerHandlerFn = (projectDir: string, changedFiles?: string[]) => Promise<WorkerRunResult>;
94
69
  export interface TestConvention {
95
70
  extensions: string[];
@@ -122,17 +97,6 @@ export interface CodeMapImportPattern {
122
97
  transform?: (match: string) => string;
123
98
  filter?: (match: string) => boolean;
124
99
  }
125
- export interface WorkerStatusInput {
126
- projectId: string;
127
- workerName?: string;
128
- }
129
- export type ConfigureWorkersAction = 'enable' | 'disable' | 'set-cooldown' | 'set-priority' | 'add-pattern' | 'remove-pattern' | 'enable-auto-memory';
130
- export interface ConfigureWorkersInput {
131
- projectId: string;
132
- workerName: string;
133
- action: ConfigureWorkersAction;
134
- value?: string | number;
135
- }
136
100
  export interface WorkerCrashMetrics {
137
101
  workerName: string;
138
102
  restartCount: number;
@@ -140,10 +104,6 @@ export interface WorkerCrashMetrics {
140
104
  lastRestartAt: string | null;
141
105
  status: 'healthy' | 'recovering' | 'dead';
142
106
  }
143
- export interface WorkerMetricsData {
144
- workers: Record<string, WorkerCrashMetrics>;
145
- lastUpdated: string;
146
- }
147
107
  /**
148
108
  * A single cached auto-drift scan result for one spec.
149
109
  * shown=false means the banner warning has not been displayed yet.
@@ -162,4 +122,5 @@ export interface AutoDriftCacheEntry {
162
122
  export interface AutoDriftCacheData {
163
123
  entries: Record<string, AutoDriftCacheEntry>;
164
124
  }
125
+ export {};
165
126
  //# sourceMappingURL=workers.d.ts.map
@@ -1,71 +1,3 @@
1
- export type GitFlowViolationType = 'uncommitted-on-main' | 'feature-from-main' | 'develop-behind-main';
2
- export interface GitFlowViolation {
3
- type: GitFlowViolationType;
4
- message: string;
5
- suggestion: string;
6
- }
7
- export interface GitFlowResult {
8
- valid: boolean;
9
- violations: GitFlowViolation[];
10
- }
11
- export type McpViolationType = 'missing-describe' | 'missing-readonly-hint' | 'missing-destructive-hint' | 'missing-action-hint';
12
- export interface McpConventionViolation {
13
- file: string;
14
- line: number;
15
- violationType: McpViolationType;
16
- suggestion: string;
17
- }
18
- export interface McpAuditResult {
19
- violations: McpConventionViolation[];
20
- totalChecked: number;
21
- }
22
- export interface WorkflowScript {
23
- name: string;
24
- purpose: string;
25
- triggerCondition: string;
26
- expectedOutput: string;
27
- preConditions?: string[];
28
- whenToUse?: string;
29
- }
30
- export interface WorkflowCatalog {
31
- scripts: Record<string, WorkflowScript>;
32
- modelSelectionRules: ModelSelectionRules;
33
- integrationSequence: string[];
34
- }
35
1
  export type ModelName = 'haiku' | 'sonnet' | 'opus';
36
- export interface ModelSelectionRules {
37
- haiku: string[];
38
- sonnet: string[];
39
- opus: string[];
40
- }
41
- export interface ModelSuggestion {
42
- model: ModelName;
43
- reason: string;
44
- confidence: 'high' | 'medium' | 'low';
45
- }
46
- export interface WorktreeValidationResult {
47
- valid: boolean;
48
- baseBranch: string;
49
- message: string;
50
- suggestion?: string;
51
- }
52
- export interface IntegrationReadinessResult {
53
- ready: boolean;
54
- typecheckPassed: boolean;
55
- lintPassed: boolean;
56
- issues: string[];
57
- }
58
- export type ValidateWorkflowAction = 'suggest-model' | 'check-git-flow' | 'check-mcp-conventions' | 'check-worktree' | 'full-audit';
59
2
  /** Input for the validate_workflow MCP tool. */
60
- export interface ValidateWorkflowInput {
61
- action: ValidateWorkflowAction;
62
- /** Absolute path to the project root (defaults to cwd) */
63
- projectPath?: string;
64
- /** suggest-model: natural-language task description to score */
65
- taskDescription?: string;
66
- /** check-mcp-conventions: directory containing MCP tool *.ts files */
67
- toolsDir?: string;
68
- /** check-worktree: path of the worktree to validate */
69
- worktreePath?: string;
70
- }
71
3
  //# sourceMappingURL=workflow.d.ts.map
@@ -1,4 +1,7 @@
1
1
  // Planu — Workflow types (SPEC-053)
2
2
  // Developer workflow conventions: git flow, MCP tool auditing, scripts, model selection.
3
3
  export {};
4
+ // === Worktree Protocol ===
5
+ // === validate_workflow MCP tool I/O ===
6
+ /** Input for the validate_workflow MCP tool. */
4
7
  //# sourceMappingURL=workflow.js.map
@@ -50,9 +50,6 @@ export interface WorkspaceSearchResult {
50
50
  matchedIn: 'title' | 'id';
51
51
  status: string;
52
52
  }
53
- export interface WorkspaceOverviewInput {
54
- healthThreshold?: number;
55
- }
56
53
  export interface WorkspaceHealthInput {
57
54
  healthThreshold?: number;
58
55
  }
@@ -61,9 +58,6 @@ export interface BulkProjectOperationsInput {
61
58
  projectPaths?: string[];
62
59
  dryRun?: boolean;
63
60
  }
64
- export interface WorkspaceReportInput {
65
- includeCharts?: boolean;
66
- }
67
61
  export interface WorkspaceSearchInput {
68
62
  query: string;
69
63
  maxResults?: number;