@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.
Files changed (970) hide show
  1. package/CHANGELOG.md +41 -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/cli/commands/spec.js +2 -32
  6. package/dist/config/version-defaults.d.ts +0 -8
  7. package/dist/config/version-defaults.js +0 -28
  8. package/dist/core/index.d.ts +1 -15
  9. package/dist/core/index.js +3 -12
  10. package/dist/core/shared/object.d.ts +3 -0
  11. package/dist/core/shared/object.js +12 -0
  12. package/dist/core/spec-validator.d.ts +1 -1
  13. package/dist/engine/audit-trail/index.d.ts +0 -6
  14. package/dist/engine/audit-trail/index.js +0 -5
  15. package/dist/engine/audit-trail/logger.d.ts +0 -1
  16. package/dist/engine/audit-trail/logger.js +0 -1
  17. package/dist/engine/auto-updater/config-patcher.d.ts +0 -1
  18. package/dist/engine/auto-updater/config-patcher.js +1 -1
  19. package/dist/engine/auto-updater/upgrade-lock.d.ts +0 -4
  20. package/dist/engine/auto-updater/upgrade-lock.js +1 -1
  21. package/dist/engine/best-practices-library.d.ts +0 -6
  22. package/dist/engine/best-practices-library.js +2 -3
  23. package/dist/engine/build-freshness.d.ts +0 -2
  24. package/dist/engine/build-freshness.js +2 -2
  25. package/dist/engine/bump-carrier-binding.d.ts +0 -1
  26. package/dist/engine/bump-carrier-binding.js +1 -1
  27. package/dist/engine/code-scanner/gap-scorer.d.ts +2 -2
  28. package/dist/engine/code-scanner/index.d.ts +1 -5
  29. package/dist/engine/code-scanner/index.js +0 -4
  30. package/dist/engine/compact/metrics.d.ts +0 -3
  31. package/dist/engine/compact/metrics.js +0 -8
  32. package/dist/engine/compact/registry-loader.d.ts +0 -1
  33. package/dist/engine/compact/registry-loader.js +0 -3
  34. package/dist/engine/compact/state-store.d.ts +2 -1
  35. package/dist/engine/compact/state-store.js +1 -1
  36. package/dist/engine/complexity-budget/index.d.ts +0 -3
  37. package/dist/engine/complexity-budget/index.js +0 -3
  38. package/dist/engine/config-loader.js +24 -32
  39. package/dist/engine/constitution/sdd-rules-registry.d.ts +1 -2
  40. package/dist/engine/constitution/sdd-rules-registry.js +1 -1
  41. package/dist/engine/context-intelligence/compression-guards.d.ts +0 -1
  42. package/dist/engine/context-intelligence/compression-guards.js +1 -1
  43. package/dist/engine/conventions-ttl.d.ts +2 -0
  44. package/dist/engine/conventions-ttl.js +1 -1
  45. package/dist/engine/core-bridge-project-graph.d.ts +0 -4
  46. package/dist/engine/core-bridge-project-graph.js +1 -1
  47. package/dist/engine/core-bridge.d.ts +2 -14
  48. package/dist/engine/core-bridge.js +0 -9
  49. package/dist/engine/crash-shield/file-collector.d.ts +0 -5
  50. package/dist/engine/crash-shield/file-collector.js +1 -10
  51. package/dist/engine/crash-shield/index.d.ts +0 -1
  52. package/dist/engine/crash-shield/index.js +0 -1
  53. package/dist/engine/dependency-evaluator.d.ts +4 -3
  54. package/dist/engine/detectors/library-detector-langs3b.d.ts +0 -5
  55. package/dist/engine/detectors/library-detector-langs3b.js +2 -16
  56. package/dist/engine/detectors/library-detector-langs5.d.ts +0 -1
  57. package/dist/engine/detectors/library-detector-langs5.js +2 -16
  58. package/dist/engine/detectors/library-detector-node.d.ts +0 -1
  59. package/dist/engine/detectors/library-detector-node.js +1 -1
  60. package/dist/engine/detectors/library-detector-python.d.ts +0 -1
  61. package/dist/engine/detectors/library-detector-python.js +1 -1
  62. package/dist/engine/detectors/library-detector.d.ts +0 -6
  63. package/dist/engine/detectors/library-detector.js +0 -6
  64. package/dist/engine/detectors/llm-detector/index.d.ts +0 -6
  65. package/dist/engine/detectors/llm-detector/index.js +0 -6
  66. package/dist/engine/detectors/otel-detector.js +4 -3
  67. package/dist/engine/detectors/otel-ecosystem-detectors.d.ts +0 -12
  68. package/dist/engine/detectors/otel-ecosystem-detectors.js +6 -22
  69. package/dist/engine/detectors/toml-dependencies.d.ts +2 -0
  70. package/dist/engine/detectors/toml-dependencies.js +16 -0
  71. package/dist/engine/doc-generator/portal/index.d.ts +1 -21
  72. package/dist/engine/doc-generator/portal/index.js +1 -19
  73. package/dist/engine/doctor/npm-cache-check.d.ts +0 -3
  74. package/dist/engine/doctor/npm-cache-check.js +3 -3
  75. package/dist/engine/dora-metrics/calculations.d.ts +1 -4
  76. package/dist/engine/dora-metrics/calculations.js +2 -2
  77. package/dist/engine/drift-detection/release-status-drift.js +2 -17
  78. package/dist/engine/ears-gate.d.ts +2 -2
  79. package/dist/engine/ears-gate.js +1 -1
  80. package/dist/engine/errors/registry-loader.d.ts +0 -1
  81. package/dist/engine/errors/registry-loader.js +1 -1
  82. package/dist/engine/estimator/calculations.d.ts +1 -4
  83. package/dist/engine/estimator/calculations.js +2 -17
  84. package/dist/engine/estimator/constants.d.ts +1 -3
  85. package/dist/engine/estimator/constants.js +0 -8
  86. package/dist/engine/evidence-gates/evidence-autofill.d.ts +0 -8
  87. package/dist/engine/evidence-gates/evidence-autofill.js +4 -4
  88. package/dist/engine/evidence-gates/lifecycle-gate.d.ts +0 -2
  89. package/dist/engine/evidence-gates/lifecycle-gate.js +2 -2
  90. package/dist/engine/execution/deadline-io.d.ts +0 -1
  91. package/dist/engine/execution/deadline-io.js +1 -16
  92. package/dist/engine/execution/operation-journal.d.ts +3 -2
  93. package/dist/engine/execution-plan/plan-utils.d.ts +1 -2
  94. package/dist/engine/execution-plan/plan-utils.js +0 -15
  95. package/dist/engine/frontmatter-sha/frozen-fields.d.ts +0 -1
  96. package/dist/engine/frontmatter-sha/index.d.ts +0 -6
  97. package/dist/engine/frontmatter-sha/index.js +0 -3
  98. package/dist/engine/frontmatter-sha/verify-terminal.d.ts +4 -3
  99. package/dist/engine/git/exec-git.d.ts +0 -2
  100. package/dist/engine/git/exec-git.js +2 -2
  101. package/dist/engine/git/planu-autocommit.d.ts +0 -1
  102. package/dist/engine/git/planu-autocommit.js +1 -1
  103. package/dist/engine/handoff-artifacts/io.d.ts +2 -1
  104. package/dist/engine/handoff-artifacts/schemas.d.ts +0 -232
  105. package/dist/engine/handoff-artifacts/schemas.js +5 -5
  106. package/dist/engine/handoff-artifacts/version-policy.d.ts +3 -2
  107. package/dist/engine/handoff-packager.d.ts +2 -1
  108. package/dist/engine/handoff-packager.js +1 -1
  109. package/dist/engine/host-rules-templates/index.d.ts +0 -1
  110. package/dist/engine/host-tool-filter.d.ts +2 -2
  111. package/dist/engine/housekeeping/find-stale-branches.d.ts +2 -1
  112. package/dist/engine/housekeeping/index.d.ts +0 -6
  113. package/dist/engine/housekeeping/index.js +0 -6
  114. package/dist/engine/keyword-matcher/index.d.ts +0 -1
  115. package/dist/engine/keyword-matcher/index.js +1 -0
  116. package/dist/engine/llm-runtime/index.d.ts +1 -2
  117. package/dist/engine/llm-runtime/index.js +1 -1
  118. package/dist/engine/llm-runtime/pricing-resolver.d.ts +1 -6
  119. package/dist/engine/llm-runtime/pricing-resolver.js +1 -1
  120. package/dist/engine/minimality/index.d.ts +0 -1
  121. package/dist/engine/minimality/index.js +0 -1
  122. package/dist/engine/minimality/policy-loader.js +1 -11
  123. package/dist/engine/mobile-detector-android.d.ts +0 -1
  124. package/dist/engine/mobile-detector-android.js +1 -1
  125. package/dist/engine/model-tier-resolver.d.ts +0 -1
  126. package/dist/engine/model-tier-resolver.js +3 -12
  127. package/dist/engine/multi-app-detector/app-type.d.ts +0 -3
  128. package/dist/engine/multi-app-detector/app-type.js +3 -3
  129. package/dist/engine/multi-app-detector/core.d.ts +1 -4
  130. package/dist/engine/multi-app-detector/core.js +1 -6
  131. package/dist/engine/network-policy.d.ts +0 -17
  132. package/dist/engine/network-policy.js +3 -19
  133. package/dist/engine/next-spec-resolver/orchestration-planner.d.ts +1 -1
  134. package/dist/engine/next-spec-resolver/session-writer.d.ts +0 -9
  135. package/dist/engine/next-spec-resolver/session-writer.js +3 -3
  136. package/dist/engine/onboarding/new-project-resolver.d.ts +1 -2
  137. package/dist/engine/onboarding/new-project-resolver.js +1 -1
  138. package/dist/engine/permissions-merger/stack-detectors.d.ts +0 -3
  139. package/dist/engine/permissions-merger/stack-detectors.js +0 -8
  140. package/dist/engine/platform-detector/desktop.js +3 -13
  141. package/dist/engine/platform-detector/games.js +3 -13
  142. package/dist/engine/plugin-installer/index.d.ts +2 -5
  143. package/dist/engine/plugin-installer/index.js +2 -5
  144. package/dist/engine/plugin-installer/stack-matcher.d.ts +0 -2
  145. package/dist/engine/plugin-installer/stack-matcher.js +0 -3
  146. package/dist/engine/plugins/index.d.ts +6 -9
  147. package/dist/engine/plugins/index.js +6 -9
  148. package/dist/engine/prior-decisions/index.d.ts +0 -1
  149. package/dist/engine/prior-decisions/index.js +0 -1
  150. package/dist/engine/project-graph/index.d.ts +0 -5
  151. package/dist/engine/project-graph/index.js +0 -5
  152. package/dist/engine/project-health-checker.d.ts +2 -2
  153. package/dist/engine/project-scanner/index.d.ts +1 -4
  154. package/dist/engine/project-scanner/index.js +0 -3
  155. package/dist/engine/reconcile/apply-changes.d.ts +1 -1
  156. package/dist/engine/release-pipeline/release-spec-closer.d.ts +1 -0
  157. package/dist/engine/release-pipeline/release-spec-closer.js +1 -1
  158. package/dist/engine/reviewer-tokens/index.d.ts +2 -3
  159. package/dist/engine/reviewer-tokens/index.js +2 -3
  160. package/dist/engine/reviewer-tokens/types.d.ts +1 -1
  161. package/dist/engine/reviewer-tokens/verifier.d.ts +0 -4
  162. package/dist/engine/reviewer-tokens/verifier.js +0 -19
  163. package/dist/engine/safety/cross-process-lock.d.ts +0 -2
  164. package/dist/engine/safety/cross-process-lock.js +6 -22
  165. package/dist/engine/safety/lock-lease-store.d.ts +4 -3
  166. package/dist/engine/safety/lock-scavenger.d.ts +3 -1
  167. package/dist/engine/safety/lock-scavenger.js +3 -3
  168. package/dist/engine/score-to-grade.d.ts +2 -0
  169. package/dist/engine/score-to-grade.js +16 -0
  170. package/dist/engine/sdd-model-routing.d.ts +0 -1
  171. package/dist/engine/sdd-model-routing.js +1 -1
  172. package/dist/engine/security-analyzer.d.ts +0 -1
  173. package/dist/engine/security-analyzer.js +0 -1
  174. package/dist/engine/session/session-tracker.d.ts +2 -2
  175. package/dist/engine/session/session-tracker.js +2 -2
  176. package/dist/engine/skill-adapter/index.d.ts +1 -4
  177. package/dist/engine/skill-adapter/index.js +0 -44
  178. package/dist/engine/skill-discovery/index.d.ts +1 -5
  179. package/dist/engine/skill-discovery/index.js +0 -20
  180. package/dist/engine/skill-discovery/source-adapter.d.ts +1 -7
  181. package/dist/engine/skill-discovery/source-adapter.js +0 -28
  182. package/dist/engine/skill-generator/sections.d.ts +1 -1
  183. package/dist/engine/skill-generator/sections.js +1 -1
  184. package/dist/engine/skill-generator/skill-definitions.d.ts +0 -1
  185. package/dist/engine/skill-generator/skill-definitions.js +1 -0
  186. package/dist/engine/skill-generator/skills.d.ts +0 -1
  187. package/dist/engine/skill-generator/skills.js +0 -1
  188. package/dist/engine/skill-generator.d.ts +0 -1
  189. package/dist/engine/skill-generator.js +0 -1
  190. package/dist/engine/skill-registry/index.d.ts +1 -9
  191. package/dist/engine/skill-registry/index.js +1 -9
  192. package/dist/engine/skill-registry/skill-security-scanner.d.ts +0 -3
  193. package/dist/engine/skill-registry/skill-security-scanner.js +1 -1
  194. package/dist/engine/spec-format/bdd-parser.d.ts +2 -9
  195. package/dist/engine/spec-format/bdd-parser.js +1 -1
  196. package/dist/engine/spec-format/copula-blacklist.d.ts +2 -5
  197. package/dist/engine/spec-format/copula-blacklist.js +2 -2
  198. package/dist/engine/spec-format/criteria-drift.d.ts +0 -1
  199. package/dist/engine/spec-format/criteria-drift.js +1 -1
  200. package/dist/engine/spec-format/lean-spec-generator.d.ts +1 -1
  201. package/dist/engine/spec-format/spec-id.d.ts +0 -2
  202. package/dist/engine/spec-format/spec-id.js +2 -2
  203. package/dist/engine/spec-generator/index.d.ts +0 -3
  204. package/dist/engine/spec-generator/index.js +0 -3
  205. package/dist/engine/spec-grounding/contract.d.ts +0 -2
  206. package/dist/engine/spec-grounding/contract.js +3 -3
  207. package/dist/engine/spec-grounding/grounding-entry-parser.d.ts +0 -1
  208. package/dist/engine/spec-grounding/grounding-entry-parser.js +1 -3
  209. package/dist/engine/spec-migrator/folder-operations.d.ts +0 -2
  210. package/dist/engine/spec-migrator/folder-operations.js +1 -2
  211. package/dist/engine/spec-migrator/index.d.ts +2 -9
  212. package/dist/engine/spec-migrator/index.js +2 -9
  213. package/dist/engine/spec-migrator/strict-planu-cleanup.d.ts +1 -2
  214. package/dist/engine/spec-migrator/strict-planu-cleanup.js +2 -2
  215. package/dist/engine/spec-state-machine/transition-spec.d.ts +3 -2
  216. package/dist/engine/spec-versioning/bump-version.d.ts +0 -2
  217. package/dist/engine/spec-versioning/bump-version.js +1 -2
  218. package/dist/engine/stack-auditor/manifest-reader.d.ts +0 -2
  219. package/dist/engine/stack-auditor/manifest-reader.js +0 -1
  220. package/dist/engine/supply-chain/index.d.ts +0 -5
  221. package/dist/engine/supply-chain/index.js +0 -4
  222. package/dist/engine/team-planner/index.d.ts +0 -2
  223. package/dist/engine/team-planner/index.js +0 -2
  224. package/dist/engine/telemetry/health-checker.js +1 -19
  225. package/dist/engine/telemetry/telemetry-client.d.ts +1 -0
  226. package/dist/engine/telemetry/telemetry-client.js +1 -1
  227. package/dist/engine/test-scaffold-generator/advanced-scaffold.js +1 -24
  228. package/dist/engine/test-selection/policy.d.ts +0 -1
  229. package/dist/engine/test-selection/policy.js +1 -1
  230. package/dist/engine/test-spec-generator/index.d.ts +0 -3
  231. package/dist/engine/test-spec-generator/index.js +0 -3
  232. package/dist/engine/test-spec-generator/labels.d.ts +0 -1
  233. package/dist/engine/test-spec-generator/labels.js +1 -1
  234. package/dist/engine/timing/budget.d.ts +2 -2
  235. package/dist/engine/timing/structured-log.d.ts +0 -8
  236. package/dist/engine/timing/structured-log.js +1 -14
  237. package/dist/engine/token-optimizer/analytics.d.ts +1 -1
  238. package/dist/engine/token-optimizer/analytics.js +2 -22
  239. package/dist/engine/token-optimizer/autopilot.d.ts +0 -2
  240. package/dist/engine/token-optimizer/autopilot.js +1 -27
  241. package/dist/engine/token-optimizer/index.d.ts +1 -13
  242. package/dist/engine/token-optimizer/index.js +1 -12
  243. package/dist/engine/token-optimizer/policy-loader.js +1 -11
  244. package/dist/engine/universal-rules/user-edit-detector.d.ts +0 -1
  245. package/dist/engine/universal-rules/user-edit-detector.js +0 -18
  246. package/dist/engine/usage-tracker/index.d.ts +1 -2
  247. package/dist/engine/usage-tracker/index.js +1 -2
  248. package/dist/engine/validation/durable-validation.d.ts +1 -1
  249. package/dist/engine/validation/durable-validation.js +1 -1
  250. package/dist/engine/validation/validation-submission.d.ts +0 -2
  251. package/dist/engine/validation/validation-submission.js +1 -1
  252. package/dist/engine/validation-evidence-ledger.d.ts +0 -1
  253. package/dist/engine/validation-evidence-ledger.js +1 -1
  254. package/dist/engine/validator/analyzer.d.ts +0 -1
  255. package/dist/engine/validator/analyzer.js +0 -3
  256. package/dist/engine/validator/checklist.d.ts +1 -5
  257. package/dist/engine/validator/checklist.js +1 -1
  258. package/dist/engine/validator/deep-code-checker.d.ts +0 -2
  259. package/dist/engine/validator/deep-code-checker.js +1 -1
  260. package/dist/engine/validator/extractors.d.ts +0 -1
  261. package/dist/engine/validator/extractors.js +0 -1
  262. package/dist/engine/validator/gates/index.d.ts +0 -1
  263. package/dist/engine/validator/gates/index.js +1 -0
  264. package/dist/engine/validator/holistic-report.d.ts +1 -3
  265. package/dist/engine/validator/holistic-report.js +2 -0
  266. package/dist/engine/validator/negative-predicate.d.ts +0 -1
  267. package/dist/engine/validator/negative-predicate.js +1 -1
  268. package/dist/engine/validator/reliability-gate.d.ts +2 -2
  269. package/dist/engine/validator/scope-resolver.d.ts +3 -2
  270. package/dist/engine/validator/spec-compliance-runner.d.ts +0 -5
  271. package/dist/engine/validator/spec-compliance-runner.js +1 -1
  272. package/dist/engine/validator.d.ts +0 -4
  273. package/dist/engine/validator.js +1 -2
  274. package/dist/engine/verifier/criterion-matcher.d.ts +0 -17
  275. package/dist/engine/verifier/criterion-matcher.js +2 -9
  276. package/dist/engine/web-fetcher/registry-loader.d.ts +0 -1
  277. package/dist/engine/web-fetcher/registry-loader.js +0 -3
  278. package/dist/engine/workers/handlers/code-map.js +4 -46
  279. package/dist/engine/workers/handlers/collect-files.d.ts +3 -0
  280. package/dist/engine/workers/handlers/collect-files.js +53 -0
  281. package/dist/engine/workers/handlers/documentation.js +4 -49
  282. package/dist/engine/workers/handlers/optimization.js +4 -46
  283. package/dist/engine/workers/handlers/security-audit.js +4 -45
  284. package/dist/engine/workers/index.d.ts +1 -11
  285. package/dist/engine/workers/index.js +1 -10
  286. package/dist/engine/workers/schema.d.ts +0 -28
  287. package/dist/engine/workers/schema.js +2 -2
  288. package/dist/errors/error-taxonomy.d.ts +0 -1
  289. package/dist/errors/error-taxonomy.js +0 -3
  290. package/dist/hosts/claude-code/coach.d.ts +0 -2
  291. package/dist/hosts/claude-code/coach.js +0 -18
  292. package/dist/hosts/claude-code/ux/skills-writer.d.ts +1 -2
  293. package/dist/hosts/claude-code/ux/skills-writer.js +1 -0
  294. package/dist/hosts/claude-code/ux/subagent-publisher.d.ts +0 -4
  295. package/dist/hosts/claude-code/ux/subagent-publisher.js +1 -1
  296. package/dist/hosts/gemini/index.d.ts +1 -3
  297. package/dist/hosts/gemini/index.js +1 -3
  298. package/dist/server/router.d.ts +2 -2
  299. package/dist/storage/approval-operation-lock.d.ts +0 -3
  300. package/dist/storage/approval-operation-lock.js +1 -1
  301. package/dist/storage/compliance-gate-config-store.d.ts +0 -1
  302. package/dist/storage/compliance-gate-config-store.js +2 -7
  303. package/dist/storage/force-analytics-store.d.ts +0 -2
  304. package/dist/storage/force-analytics-store.js +2 -2
  305. package/dist/storage/global-projects-store.d.ts +2 -1
  306. package/dist/storage/project-identity.d.ts +5 -4
  307. package/dist/storage/retention.d.ts +0 -1
  308. package/dist/storage/retention.js +1 -1
  309. package/dist/storage/runtime-db.d.ts +8 -8
  310. package/dist/storage/runtime-db.js +1 -1
  311. package/dist/storage/skill-bootstrap-store.d.ts +1 -3
  312. package/dist/storage/skill-bootstrap-store.js +1 -14
  313. package/dist/storage/spec-index.d.ts +0 -1
  314. package/dist/storage/spec-index.js +1 -4
  315. package/dist/storage/spec-store.d.ts +2 -1
  316. package/dist/storage/status-store/file-lock.d.ts +0 -2
  317. package/dist/storage/status-store/file-lock.js +2 -2
  318. package/dist/storage/storage-bundle.d.ts +3 -2
  319. package/dist/storage/storage-catalog.d.ts +1 -1
  320. package/dist/storage/storage-layout.d.ts +4 -3
  321. package/dist/storage/token-ledger-store.d.ts +1 -1
  322. package/dist/storage/token-ledger-store.js +2 -22
  323. package/dist/tools/audit.js +1 -15
  324. package/dist/tools/challenge-spec/challenge-report.d.ts +0 -1
  325. package/dist/tools/challenge-spec/challenge-report.js +1 -1
  326. package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.d.ts +0 -5
  327. package/dist/tools/challenge-spec/resilience-challenge-scenarios-a.js +5 -5
  328. package/dist/tools/challenge-spec/resilience-challenge-scenarios.d.ts +1 -2
  329. package/dist/tools/challenge-spec/resilience-challenge-scenarios.js +1 -2
  330. package/dist/tools/challenge-spec/scenarios-utils.d.ts +1 -1
  331. package/dist/tools/challenge-spec/scenarios-utils.js +1 -1
  332. package/dist/tools/challenge-spec-helpers.d.ts +2 -1
  333. package/dist/tools/claude-settings-file.d.ts +3 -0
  334. package/dist/tools/claude-settings-file.js +19 -0
  335. package/dist/tools/configure-permissions.d.ts +2 -1
  336. package/dist/tools/create-spec/adapters/velocity-estimation.d.ts +2 -1
  337. package/dist/tools/create-spec-tech.d.ts +1 -1
  338. package/dist/tools/create-spec-tech.js +1 -1
  339. package/dist/tools/domain-criteria-handler.d.ts +4 -4
  340. package/dist/tools/domain-criteria-handler.js +3 -0
  341. package/dist/tools/generate-teammate-prompt.d.ts +0 -4
  342. package/dist/tools/generate-teammate-prompt.js +0 -26
  343. package/dist/tools/git/auto-complete-ops.d.ts +2 -1
  344. package/dist/tools/git/branch-ops.d.ts +0 -1
  345. package/dist/tools/git/branch-ops.js +1 -48
  346. package/dist/tools/git/git-helpers.d.ts +2 -4
  347. package/dist/tools/git/git-helpers.js +1 -12
  348. package/dist/tools/init-constitution/principle-detector.d.ts +0 -1
  349. package/dist/tools/init-constitution/principle-detector.js +1 -1
  350. package/dist/tools/init-project/agents-md-writer.d.ts +2 -1
  351. package/dist/tools/init-project/config-builder.d.ts +2 -1
  352. package/dist/tools/init-project/helpers.d.ts +0 -1
  353. package/dist/tools/init-project/helpers.js +1 -1
  354. package/dist/tools/init-project/host-assets-writer.d.ts +3 -9
  355. package/dist/tools/init-project/host-assets-writer.js +2 -2
  356. package/dist/tools/init-project/legacy-root-migration.d.ts +2 -1
  357. package/dist/tools/init-project/lifecycle-helpers.d.ts +2 -6
  358. package/dist/tools/init-project/lifecycle-helpers.js +1 -1
  359. package/dist/tools/init-project/migration-runner.d.ts +2 -2
  360. package/dist/tools/init-project/per-client-files-writer.d.ts +2 -1
  361. package/dist/tools/init-project/portable-index-reconciler.d.ts +1 -5
  362. package/dist/tools/init-project/portable-index-reconciler.js +2 -2
  363. package/dist/tools/init-project/rules-writer.d.ts +2 -1
  364. package/dist/tools/init-project/scaffold-verifier.d.ts +0 -1
  365. package/dist/tools/init-project/scaffold-verifier.js +1 -1
  366. package/dist/tools/init-project/scaffold-writer.d.ts +2 -1
  367. package/dist/tools/init-project/stack-detector.d.ts +2 -1
  368. package/dist/tools/jobs/handlers.d.ts +2 -1
  369. package/dist/tools/output-compressor.d.ts +2 -1
  370. package/dist/tools/output-integrity-guard.d.ts +0 -8
  371. package/dist/tools/output-integrity-guard.js +1 -1
  372. package/dist/tools/package-handoff.d.ts +0 -1
  373. package/dist/tools/package-handoff.js +0 -1
  374. package/dist/tools/reconcile-interactive-question-hooks.d.ts +2 -1
  375. package/dist/tools/reconcile-interactive-question-hooks.js +3 -18
  376. package/dist/tools/reconcile-session-safeguard-hook.d.ts +1 -1
  377. package/dist/tools/reconcile-session-safeguard-hook.js +3 -18
  378. package/dist/tools/reconcile-spec-sanctity-hook.js +4 -19
  379. package/dist/tools/resolve-project-id.d.ts +2 -1
  380. package/dist/tools/response-helpers.d.ts +0 -23
  381. package/dist/tools/response-helpers.js +0 -37
  382. package/dist/tools/schemas/index.d.ts +3 -19
  383. package/dist/tools/schemas/index.js +3 -19
  384. package/dist/tools/schemas/infra.d.ts +0 -8
  385. package/dist/tools/schemas/infra.js +0 -3
  386. package/dist/tools/schemas/output-schemas.d.ts +1 -92
  387. package/dist/tools/schemas/output-schemas.js +0 -2
  388. package/dist/tools/schemas/spec-id.d.ts +1 -1
  389. package/dist/tools/schemas/spec-id.js +1 -1
  390. package/dist/tools/storage-paths-handler.d.ts +2 -1
  391. package/dist/tools/suggest-tooling/skills-fetcher.d.ts +1 -1
  392. package/dist/tools/suggest-tooling/skills-fetcher.js +1 -1
  393. package/dist/tools/tool-entry.d.ts +2 -1
  394. package/dist/tools/update-status/dod-gates.d.ts +2 -2
  395. package/dist/tools/update-status/done-receipt-verifier.d.ts +1 -1
  396. package/dist/tools/update-status/gate-harness.d.ts +2 -1
  397. package/dist/tools/update-status/transition-guard.d.ts +1 -2
  398. package/dist/tools/validate.d.ts +1 -4
  399. package/dist/tools/validate.js +1 -17
  400. package/dist/types/actionable-spec-metrics.d.ts +2 -1
  401. package/dist/types/actuals-tracking.d.ts +0 -44
  402. package/dist/types/actuals-tracking.js +5 -0
  403. package/dist/types/actuals.d.ts +0 -5
  404. package/dist/types/actuals.js +1 -0
  405. package/dist/types/advanced-framework.d.ts +0 -31
  406. package/dist/types/advanced-framework.js +1 -0
  407. package/dist/types/agent-orchestration.d.ts +0 -60
  408. package/dist/types/agent-team.d.ts +2 -19
  409. package/dist/types/ai-assurance.d.ts +2 -1
  410. package/dist/types/ai-native.d.ts +5 -4
  411. package/dist/types/ai-tool-rules.d.ts +3 -2
  412. package/dist/types/analysis-detection.d.ts +0 -54
  413. package/dist/types/analysis-detection.js +1 -0
  414. package/dist/types/analysis-frontend.d.ts +0 -17
  415. package/dist/types/analysis-frontend.js +3 -0
  416. package/dist/types/analysis.d.ts +8 -250
  417. package/dist/types/analysis.js +1 -0
  418. package/dist/types/analytics.d.ts +0 -146
  419. package/dist/types/approval.d.ts +0 -1
  420. package/dist/types/architecture.d.ts +3 -49
  421. package/dist/types/audit-trail.d.ts +0 -5
  422. package/dist/types/audit.d.ts +0 -26
  423. package/dist/types/audit.js +1 -0
  424. package/dist/types/auto-checkpoint.d.ts +0 -5
  425. package/dist/types/auto-checkpoint.js +1 -0
  426. package/dist/types/auto-update.d.ts +0 -28
  427. package/dist/types/autopilot-summary.d.ts +0 -3
  428. package/dist/types/autopilot.d.ts +3 -19
  429. package/dist/types/build-freshness.d.ts +2 -1
  430. package/dist/types/cascade-hooks.d.ts +2 -1
  431. package/dist/types/clarification.d.ts +0 -10
  432. package/dist/types/common/index.d.ts +0 -1
  433. package/dist/types/common/index.js +0 -1
  434. package/dist/types/common/learning.d.ts +1 -37
  435. package/dist/types/common/tech-enums.d.ts +0 -11
  436. package/dist/types/context-manager.d.ts +2 -1
  437. package/dist/types/context.d.ts +3 -17
  438. package/dist/types/conventions.d.ts +4 -88
  439. package/dist/types/core-bridge.d.ts +2 -8
  440. package/dist/types/cost-guardrails.d.ts +0 -17
  441. package/dist/types/cost-ledger.d.ts +0 -5
  442. package/dist/types/crash-shield-framework-rules.d.ts +4 -3
  443. package/dist/types/cross-repo-search.d.ts +0 -54
  444. package/dist/types/cross-repo-search.js +7 -0
  445. package/dist/types/dashboard.d.ts +0 -11
  446. package/dist/types/data-gc.d.ts +2 -1
  447. package/dist/types/decisions.d.ts +3 -42
  448. package/dist/types/decisions.js +1 -0
  449. package/dist/types/docs.d.ts +2 -385
  450. package/dist/types/docs.js +1 -0
  451. package/dist/types/domain-criteria.d.ts +2 -1
  452. package/dist/types/drift-monitor-types.d.ts +0 -65
  453. package/dist/types/durable-job.d.ts +2 -1
  454. package/dist/types/durable-validation.d.ts +2 -2
  455. package/dist/types/edge-db.d.ts +3 -37
  456. package/dist/types/edge-db.js +6 -0
  457. package/dist/types/elicitation.d.ts +2 -121
  458. package/dist/types/elicitation.js +10 -0
  459. package/dist/types/env.d.ts +6 -88
  460. package/dist/types/env.js +1 -0
  461. package/dist/types/errors/structured-error.d.ts +0 -2
  462. package/dist/types/escalator.d.ts +3 -2
  463. package/dist/types/estimation.d.ts +2 -81
  464. package/dist/types/estimation.js +2 -0
  465. package/dist/types/events.d.ts +2 -187
  466. package/dist/types/evidence-autofill.d.ts +0 -2
  467. package/dist/types/evidence-autofill.js +1 -0
  468. package/dist/types/evidence-gates.d.ts +2 -1
  469. package/dist/types/evidence-index.d.ts +3 -2
  470. package/dist/types/execution.d.ts +4 -43
  471. package/dist/types/facilitator.d.ts +2 -1
  472. package/dist/types/file-hooks.d.ts +7 -168
  473. package/dist/types/file-hooks.js +17 -0
  474. package/dist/types/git.d.ts +9 -204
  475. package/dist/types/github.d.ts +2 -89
  476. package/dist/types/github.js +12 -0
  477. package/dist/types/handoff-artifacts.d.ts +11 -10
  478. package/dist/types/health.d.ts +0 -11
  479. package/dist/types/hooks.d.ts +11 -79
  480. package/dist/types/hooks.js +17 -0
  481. package/dist/types/housekeeping.d.ts +3 -2
  482. package/dist/types/ide.d.ts +0 -56
  483. package/dist/types/ide.js +10 -0
  484. package/dist/types/index.d.ts +2 -128
  485. package/dist/types/index.js +0 -125
  486. package/dist/types/infrastructure.d.ts +4 -70
  487. package/dist/types/installation.d.ts +2 -1
  488. package/dist/types/keyword-matcher.d.ts +0 -8
  489. package/dist/types/legacy-guidance.d.ts +2 -1
  490. package/dist/types/legal.d.ts +2 -20
  491. package/dist/types/legal.js +2 -0
  492. package/dist/types/lessons.d.ts +3 -30
  493. package/dist/types/lifecycle.d.ts +0 -111
  494. package/dist/types/lifecycle.js +12 -0
  495. package/dist/types/living-spec/annotations.d.ts +3 -85
  496. package/dist/types/living-spec/annotations.js +6 -0
  497. package/dist/types/living-spec/dashboard-and-sync.d.ts +5 -159
  498. package/dist/types/living-spec/dashboard-and-sync.js +1 -0
  499. package/dist/types/living-spec.d.ts +0 -1
  500. package/dist/types/living-spec.js +0 -1
  501. package/dist/types/llm-security.d.ts +0 -39
  502. package/dist/types/local-first.d.ts +0 -41
  503. package/dist/types/local-first.js +7 -0
  504. package/dist/types/mcp-config.d.ts +3 -2
  505. package/dist/types/mcp.d.ts +0 -159
  506. package/dist/types/mcp.js +1 -0
  507. package/dist/types/migration/canonical-storage.d.ts +3 -2
  508. package/dist/types/minimal-implementation-gate.d.ts +6 -5
  509. package/dist/types/model-routing.d.ts +2 -48
  510. package/dist/types/model-routing.js +2 -0
  511. package/dist/types/multi-agent.d.ts +0 -158
  512. package/dist/types/multi-agent.js +15 -0
  513. package/dist/types/oauth.d.ts +0 -42
  514. package/dist/types/oauth.js +1 -0
  515. package/dist/types/observability.d.ts +0 -92
  516. package/dist/types/observability.js +14 -0
  517. package/dist/types/opencode.d.ts +0 -23
  518. package/dist/types/orchestration/index.d.ts +1 -4
  519. package/dist/types/orchestration/nli.d.ts +3 -74
  520. package/dist/types/outbox-worker.d.ts +2 -1
  521. package/dist/types/paradigm.d.ts +5 -17
  522. package/dist/types/paradigm.js +3 -0
  523. package/dist/types/parallel-safety-types.d.ts +0 -17
  524. package/dist/types/parallel-safety-types.js +4 -0
  525. package/dist/types/permissions-config.d.ts +2 -1
  526. package/dist/types/plugin-configs.d.ts +2 -59
  527. package/dist/types/plugin-configs.js +6 -0
  528. package/dist/types/plugin-install.d.ts +0 -1
  529. package/dist/types/plugins.d.ts +5 -22
  530. package/dist/types/portal.d.ts +2 -60
  531. package/dist/types/portal.js +1 -0
  532. package/dist/types/privacy.d.ts +3 -33
  533. package/dist/types/privacy.js +6 -0
  534. package/dist/types/product-public.d.ts +5 -4
  535. package/dist/types/project/inputs.d.ts +0 -29
  536. package/dist/types/project/inputs.js +3 -0
  537. package/dist/types/project/library-groups.d.ts +0 -6
  538. package/dist/types/project/mfe-detection.d.ts +5 -4
  539. package/dist/types/project/planu-config.d.ts +2 -1
  540. package/dist/types/project/platform-mobile.d.ts +0 -1
  541. package/dist/types/project/platform-specialty.d.ts +3 -12
  542. package/dist/types/project-knowledge-graph.d.ts +7 -6
  543. package/dist/types/proposal.d.ts +0 -65
  544. package/dist/types/proposal.js +1 -0
  545. package/dist/types/rbac.d.ts +0 -33
  546. package/dist/types/rbac.js +6 -0
  547. package/dist/types/readiness.d.ts +0 -2
  548. package/dist/types/readiness.js +4 -0
  549. package/dist/types/reconcile.d.ts +0 -11
  550. package/dist/types/registry.d.ts +3 -64
  551. package/dist/types/registry.js +8 -0
  552. package/dist/types/release-pipeline.d.ts +0 -5
  553. package/dist/types/reviewer-tokens.d.ts +0 -7
  554. package/dist/types/safety-scanner.d.ts +2 -18
  555. package/dist/types/safety.d.ts +0 -50
  556. package/dist/types/scan-project.d.ts +0 -95
  557. package/dist/types/schema-parity.d.ts +0 -66
  558. package/dist/types/schema-parity.js +7 -0
  559. package/dist/types/scope-boundaries.d.ts +2 -1
  560. package/dist/types/scope.d.ts +2 -67
  561. package/dist/types/sdd-flow.d.ts +7 -84
  562. package/dist/types/security.d.ts +3 -67
  563. package/dist/types/self-healing.d.ts +3 -2
  564. package/dist/types/session-checkpoint.d.ts +0 -26
  565. package/dist/types/skill-adapter.d.ts +0 -6
  566. package/dist/types/skill-adapter.js +1 -0
  567. package/dist/types/skill-bootstrap.d.ts +3 -38
  568. package/dist/types/skill-generation.d.ts +0 -94
  569. package/dist/types/skill-generation.js +3 -0
  570. package/dist/types/skill-registry.d.ts +4 -11
  571. package/dist/types/slack.d.ts +2 -17
  572. package/dist/types/slack.js +3 -0
  573. package/dist/types/spec/canonical-repair.d.ts +2 -1
  574. package/dist/types/spec/clarification.d.ts +2 -23
  575. package/dist/types/spec/core.d.ts +10 -18
  576. package/dist/types/spec/health-score.d.ts +2 -1
  577. package/dist/types/spec/index.d.ts +0 -2
  578. package/dist/types/spec/index.js +0 -2
  579. package/dist/types/spec/inputs.d.ts +1 -56
  580. package/dist/types/spec/inputs.js +1 -0
  581. package/dist/types/spec/versioning.d.ts +2 -1
  582. package/dist/types/spec-format.d.ts +2 -9
  583. package/dist/types/spec-generator.d.ts +0 -5
  584. package/dist/types/spec-language-translation.d.ts +2 -1
  585. package/dist/types/spec-lint.d.ts +2 -1
  586. package/dist/types/spec-lock.d.ts +0 -28
  587. package/dist/types/spec-lock.js +5 -0
  588. package/dist/types/spec-observability.d.ts +0 -54
  589. package/dist/types/spec-observability.js +8 -0
  590. package/dist/types/spec-quality.d.ts +0 -26
  591. package/dist/types/spec-quality.js +3 -0
  592. package/dist/types/stack/audit.d.ts +2 -86
  593. package/dist/types/stack/build-tool.d.ts +4 -15
  594. package/dist/types/stack/build-tool.js +2 -0
  595. package/dist/types/stack/index.d.ts +3 -5
  596. package/dist/types/stack/recommend.d.ts +6 -132
  597. package/dist/types/status.d.ts +2 -1
  598. package/dist/types/storage-catalog.d.ts +5 -4
  599. package/dist/types/supply-chain.d.ts +3 -17
  600. package/dist/types/tdd-enforcement.d.ts +0 -6
  601. package/dist/types/team-planner.d.ts +3 -70
  602. package/dist/types/team-planner.js +2 -0
  603. package/dist/types/technology-registry.d.ts +4 -3
  604. package/dist/types/technology-selection.d.ts +4 -3
  605. package/dist/types/telemetry.d.ts +2 -27
  606. package/dist/types/testing.d.ts +0 -108
  607. package/dist/types/timing.d.ts +3 -2
  608. package/dist/types/token-ledger.d.ts +1 -70
  609. package/dist/types/token-ledger.js +29 -1
  610. package/dist/types/token-optimization.d.ts +0 -6
  611. package/dist/types/token-waste-autopilot.d.ts +4 -3
  612. package/dist/types/tooling/audit.d.ts +2 -67
  613. package/dist/types/tooling/audit.js +3 -0
  614. package/dist/types/tooling/database.d.ts +0 -62
  615. package/dist/types/tooling/database.js +1 -0
  616. package/dist/types/tooling/index.d.ts +2 -7
  617. package/dist/types/transition-log.d.ts +2 -1
  618. package/dist/types/transport.d.ts +2 -1
  619. package/dist/types/ui.d.ts +0 -49
  620. package/dist/types/ui.js +1 -1
  621. package/dist/types/universal-rules/index.d.ts +0 -27
  622. package/dist/types/universal-rules/index.js +1 -0
  623. package/dist/types/usage.d.ts +0 -20
  624. package/dist/types/usage.js +3 -0
  625. package/dist/types/validation-evidence.d.ts +6 -5
  626. package/dist/types/validation-loop.d.ts +2 -1
  627. package/dist/types/validation-receipt.d.ts +3 -15
  628. package/dist/types/vector-store.d.ts +2 -62
  629. package/dist/types/vector-store.js +7 -0
  630. package/dist/types/velocity.d.ts +0 -12
  631. package/dist/types/verifiable-criteria.d.ts +2 -21
  632. package/dist/types/verifiable-criteria.js +7 -0
  633. package/dist/types/workers.d.ts +5 -44
  634. package/dist/types/workflow.d.ts +0 -68
  635. package/dist/types/workflow.js +3 -0
  636. package/dist/types/workspace-dashboard-types.d.ts +0 -6
  637. package/dist/types/workspace-overview.d.ts +0 -93
  638. package/dist/types/workspace-overview.js +9 -0
  639. package/package.json +2 -2
  640. package/planu-plugin.json +1 -1
  641. package/dist/engine/coach/types.d.ts +0 -2
  642. package/dist/engine/coach/types.js +0 -2
  643. package/dist/engine/frontmatter-sha/reseal.d.ts +0 -25
  644. package/dist/engine/frontmatter-sha/reseal.js +0 -29
  645. package/dist/engine/handoff-artifacts/index.d.ts +0 -6
  646. package/dist/engine/handoff-artifacts/index.js +0 -4
  647. package/dist/tools/schemas/delete.d.ts +0 -19
  648. package/dist/tools/schemas/delete.js +0 -12
  649. package/dist/tools/schemas/ecosystem-schemas.d.ts +0 -6
  650. package/dist/tools/schemas/ecosystem-schemas.js +0 -10
  651. package/dist/tools/schemas/github.d.ts +0 -56
  652. package/dist/tools/schemas/github.js +0 -78
  653. package/dist/tools/schemas/ide-config.d.ts +0 -38
  654. package/dist/tools/schemas/ide-config.js +0 -28
  655. package/dist/tools/schemas/llm-provider-schemas.d.ts +0 -26
  656. package/dist/tools/schemas/llm-provider-schemas.js +0 -16
  657. package/dist/tools/schemas/plugins-schemas.d.ts +0 -46
  658. package/dist/tools/schemas/plugins-schemas.js +0 -52
  659. package/dist/tools/schemas/project-graph.d.ts +0 -18
  660. package/dist/tools/schemas/project-graph.js +0 -8
  661. package/dist/tools/schemas/reconcile-skills-schemas.d.ts +0 -8
  662. package/dist/tools/schemas/reconcile-skills-schemas.js +0 -23
  663. package/dist/tools/schemas/registry.d.ts +0 -41
  664. package/dist/tools/schemas/registry.js +0 -79
  665. package/dist/tools/schemas/runtime-security.d.ts +0 -12
  666. package/dist/tools/schemas/runtime-security.js +0 -9
  667. package/dist/tools/schemas/session.d.ts +0 -34
  668. package/dist/tools/schemas/session.js +0 -52
  669. package/dist/tools/schemas/skill-registry-schemas.d.ts +0 -15
  670. package/dist/tools/schemas/skill-registry-schemas.js +0 -45
  671. package/dist/tools/schemas/spec-registry-schemas.d.ts +0 -39
  672. package/dist/tools/schemas/spec-registry-schemas.js +0 -75
  673. package/dist/tools/schemas/token-intelligence.d.ts +0 -23
  674. package/dist/tools/schemas/token-intelligence.js +0 -20
  675. package/dist/tools/schemas/token-optimization.d.ts +0 -12
  676. package/dist/tools/schemas/token-optimization.js +0 -9
  677. package/dist/tools/schemas/workers-schema.d.ts +0 -21
  678. package/dist/tools/schemas/workers-schema.js +0 -42
  679. package/dist/types/ac-gap.d.ts +0 -57
  680. package/dist/types/ac-gap.js +0 -3
  681. package/dist/types/agent-frameworks.d.ts +0 -62
  682. package/dist/types/agent-frameworks.js +0 -3
  683. package/dist/types/agent-memory.d.ts +0 -20
  684. package/dist/types/agent-memory.js +0 -3
  685. package/dist/types/agent-ready.d.ts +0 -58
  686. package/dist/types/agent-ready.js +0 -3
  687. package/dist/types/agent-role-mapper.d.ts +0 -32
  688. package/dist/types/agent-role-mapper.js +0 -2
  689. package/dist/types/agent-roles.d.ts +0 -21
  690. package/dist/types/agent-roles.js +0 -2
  691. package/dist/types/agent-spawner.d.ts +0 -30
  692. package/dist/types/agent-spawner.js +0 -3
  693. package/dist/types/agent-squad.d.ts +0 -57
  694. package/dist/types/agent-squad.js +0 -3
  695. package/dist/types/agent-telemetry.d.ts +0 -27
  696. package/dist/types/agent-telemetry.js +0 -3
  697. package/dist/types/agents-md.d.ts +0 -20
  698. package/dist/types/agents-md.js +0 -3
  699. package/dist/types/ai-cost.d.ts +0 -98
  700. package/dist/types/ai-cost.js +0 -4
  701. package/dist/types/ai-integration.d.ts +0 -65
  702. package/dist/types/ai-integration.js +0 -3
  703. package/dist/types/api-contract.d.ts +0 -219
  704. package/dist/types/api-contract.js +0 -3
  705. package/dist/types/architecture-lint.d.ts +0 -71
  706. package/dist/types/architecture-lint.js +0 -3
  707. package/dist/types/auth.d.ts +0 -82
  708. package/dist/types/auth.js +0 -3
  709. package/dist/types/auto-promoter.d.ts +0 -26
  710. package/dist/types/auto-promoter.js +0 -3
  711. package/dist/types/autopilot-config.d.ts +0 -22
  712. package/dist/types/autopilot-config.js +0 -14
  713. package/dist/types/batch-script.d.ts +0 -36
  714. package/dist/types/batch-script.js +0 -3
  715. package/dist/types/browser-validator.d.ts +0 -42
  716. package/dist/types/browser-validator.js +0 -3
  717. package/dist/types/ci.d.ts +0 -164
  718. package/dist/types/ci.js +0 -3
  719. package/dist/types/cline-integration.d.ts +0 -30
  720. package/dist/types/cline-integration.js +0 -3
  721. package/dist/types/coach.d.ts +0 -13
  722. package/dist/types/coach.js +0 -3
  723. package/dist/types/code-graph-integration.d.ts +0 -22
  724. package/dist/types/code-graph-integration.js +0 -3
  725. package/dist/types/code-impact.d.ts +0 -57
  726. package/dist/types/code-impact.js +0 -3
  727. package/dist/types/code-transforms.d.ts +0 -114
  728. package/dist/types/code-transforms.js +0 -11
  729. package/dist/types/codex-integration.d.ts +0 -55
  730. package/dist/types/codex-integration.js +0 -3
  731. package/dist/types/comments.d.ts +0 -68
  732. package/dist/types/comments.js +0 -3
  733. package/dist/types/common/context.d.ts +0 -29
  734. package/dist/types/common/context.js +0 -3
  735. package/dist/types/compliance-audit.d.ts +0 -55
  736. package/dist/types/compliance-audit.js +0 -3
  737. package/dist/types/compliance-tests.d.ts +0 -41
  738. package/dist/types/compliance-tests.js +0 -3
  739. package/dist/types/compliance.d.ts +0 -44
  740. package/dist/types/compliance.js +0 -3
  741. package/dist/types/concurrency.d.ts +0 -198
  742. package/dist/types/concurrency.js +0 -3
  743. package/dist/types/context-budget.d.ts +0 -90
  744. package/dist/types/context-budget.js +0 -3
  745. package/dist/types/context-profile.d.ts +0 -22
  746. package/dist/types/context-profile.js +0 -2
  747. package/dist/types/coverage.d.ts +0 -95
  748. package/dist/types/coverage.js +0 -4
  749. package/dist/types/css-framework.d.ts +0 -110
  750. package/dist/types/css-framework.js +0 -3
  751. package/dist/types/delete-first.d.ts +0 -118
  752. package/dist/types/delete-first.js +0 -3
  753. package/dist/types/delete.d.ts +0 -68
  754. package/dist/types/delete.js +0 -3
  755. package/dist/types/dependency-impact.d.ts +0 -45
  756. package/dist/types/dependency-impact.js +0 -3
  757. package/dist/types/deploy.d.ts +0 -73
  758. package/dist/types/deploy.js +0 -3
  759. package/dist/types/design-to-spec.d.ts +0 -100
  760. package/dist/types/design-to-spec.js +0 -3
  761. package/dist/types/diagram.d.ts +0 -73
  762. package/dist/types/diagram.js +0 -2
  763. package/dist/types/diff-spec-types.d.ts +0 -39
  764. package/dist/types/diff-spec-types.js +0 -3
  765. package/dist/types/discovery.d.ts +0 -22
  766. package/dist/types/discovery.js +0 -3
  767. package/dist/types/dogfooding.d.ts +0 -34
  768. package/dist/types/dogfooding.js +0 -2
  769. package/dist/types/drift-watcher.d.ts +0 -35
  770. package/dist/types/drift-watcher.js +0 -3
  771. package/dist/types/dynamic-knowledge.d.ts +0 -47
  772. package/dist/types/dynamic-knowledge.js +0 -11
  773. package/dist/types/dynamic-migration.d.ts +0 -68
  774. package/dist/types/dynamic-migration.js +0 -3
  775. package/dist/types/e2e-test-generator.d.ts +0 -27
  776. package/dist/types/e2e-test-generator.js +0 -3
  777. package/dist/types/ecosystem.d.ts +0 -45
  778. package/dist/types/ecosystem.js +0 -3
  779. package/dist/types/elicit-schema.d.ts +0 -20
  780. package/dist/types/elicit-schema.js +0 -3
  781. package/dist/types/export.d.ts +0 -28
  782. package/dist/types/export.js +0 -3
  783. package/dist/types/feedback.d.ts +0 -113
  784. package/dist/types/feedback.js +0 -3
  785. package/dist/types/figma.d.ts +0 -257
  786. package/dist/types/figma.js +0 -3
  787. package/dist/types/filesystem-hooks.d.ts +0 -30
  788. package/dist/types/filesystem-hooks.js +0 -3
  789. package/dist/types/gherkin.d.ts +0 -19
  790. package/dist/types/gherkin.js +0 -3
  791. package/dist/types/github-copilot-integration.d.ts +0 -30
  792. package/dist/types/github-copilot-integration.js +0 -3
  793. package/dist/types/global-rules-types.d.ts +0 -31
  794. package/dist/types/global-rules-types.js +0 -3
  795. package/dist/types/hook-generator.d.ts +0 -49
  796. package/dist/types/hook-generator.js +0 -3
  797. package/dist/types/ideas.d.ts +0 -37
  798. package/dist/types/ideas.js +0 -3
  799. package/dist/types/impact-detection.d.ts +0 -28
  800. package/dist/types/impact-detection.js +0 -3
  801. package/dist/types/import-spec.d.ts +0 -123
  802. package/dist/types/import-spec.js +0 -3
  803. package/dist/types/incoming-webhook.d.ts +0 -40
  804. package/dist/types/incoming-webhook.js +0 -3
  805. package/dist/types/living-spec/auto-update-and-merge.d.ts +0 -101
  806. package/dist/types/living-spec/auto-update-and-merge.js +0 -3
  807. package/dist/types/living-specs.d.ts +0 -35
  808. package/dist/types/living-specs.js +0 -3
  809. package/dist/types/llm-providers.d.ts +0 -140
  810. package/dist/types/llm-providers.js +0 -3
  811. package/dist/types/marketplace-fetcher.d.ts +0 -42
  812. package/dist/types/marketplace-fetcher.js +0 -3
  813. package/dist/types/mcp-recommendation.d.ts +0 -47
  814. package/dist/types/mcp-recommendation.js +0 -3
  815. package/dist/types/migration/analysis.d.ts +0 -79
  816. package/dist/types/migration/analysis.js +0 -3
  817. package/dist/types/migration/database.d.ts +0 -70
  818. package/dist/types/migration/database.js +0 -3
  819. package/dist/types/migration/index.d.ts +0 -6
  820. package/dist/types/migration/index.js +0 -3
  821. package/dist/types/migration/io.d.ts +0 -29
  822. package/dist/types/migration/io.js +0 -3
  823. package/dist/types/migration/planning.d.ts +0 -104
  824. package/dist/types/migration/planning.js +0 -3
  825. package/dist/types/migration-advanced.d.ts +0 -235
  826. package/dist/types/migration-advanced.js +0 -4
  827. package/dist/types/multi-agent-review.d.ts +0 -54
  828. package/dist/types/multi-agent-review.js +0 -3
  829. package/dist/types/observatory.d.ts +0 -26
  830. package/dist/types/observatory.js +0 -2
  831. package/dist/types/onboarding-types.d.ts +0 -69
  832. package/dist/types/onboarding-types.js +0 -3
  833. package/dist/types/orchestration/mcp-hub.d.ts +0 -29
  834. package/dist/types/orchestration/mcp-hub.js +0 -3
  835. package/dist/types/orchestration/pm.d.ts +0 -71
  836. package/dist/types/orchestration/pm.js +0 -3
  837. package/dist/types/orchestration/session.d.ts +0 -152
  838. package/dist/types/orchestration/session.js +0 -2
  839. package/dist/types/orchestration-runtime.d.ts +0 -198
  840. package/dist/types/orchestration-runtime.js +0 -4
  841. package/dist/types/orphan-spec-refs.d.ts +0 -37
  842. package/dist/types/orphan-spec-refs.js +0 -3
  843. package/dist/types/outbound-webhook.d.ts +0 -55
  844. package/dist/types/outbound-webhook.js +0 -3
  845. package/dist/types/performance-analysis.d.ts +0 -33
  846. package/dist/types/performance-analysis.js +0 -3
  847. package/dist/types/plan-mode.d.ts +0 -27
  848. package/dist/types/plan-mode.js +0 -3
  849. package/dist/types/platform-engineering.d.ts +0 -21
  850. package/dist/types/platform-engineering.js +0 -3
  851. package/dist/types/plugin-manifest.d.ts +0 -58
  852. package/dist/types/plugin-manifest.js +0 -4
  853. package/dist/types/project-dna.d.ts +0 -46
  854. package/dist/types/project-dna.js +0 -4
  855. package/dist/types/project-drift.d.ts +0 -29
  856. package/dist/types/project-drift.js +0 -3
  857. package/dist/types/property-testing.d.ts +0 -50
  858. package/dist/types/property-testing.js +0 -3
  859. package/dist/types/provider-adapter.d.ts +0 -61
  860. package/dist/types/provider-adapter.js +0 -9
  861. package/dist/types/red-team.d.ts +0 -29
  862. package/dist/types/red-team.js +0 -3
  863. package/dist/types/registry-publishers.d.ts +0 -63
  864. package/dist/types/registry-publishers.js +0 -4
  865. package/dist/types/release/stuck-spec.d.ts +0 -10
  866. package/dist/types/release/stuck-spec.js +0 -3
  867. package/dist/types/resources.d.ts +0 -20
  868. package/dist/types/resources.js +0 -3
  869. package/dist/types/reverse-engineer.d.ts +0 -90
  870. package/dist/types/reverse-engineer.js +0 -3
  871. package/dist/types/risk.d.ts +0 -90
  872. package/dist/types/risk.js +0 -2
  873. package/dist/types/runtime-security.d.ts +0 -110
  874. package/dist/types/runtime-security.js +0 -4
  875. package/dist/types/schema-generator.d.ts +0 -61
  876. package/dist/types/schema-generator.js +0 -3
  877. package/dist/types/schema.d.ts +0 -125
  878. package/dist/types/schema.js +0 -2
  879. package/dist/types/security/cve-refresh-log.d.ts +0 -11
  880. package/dist/types/security/cve-refresh-log.js +0 -2
  881. package/dist/types/security/index.d.ts +0 -2
  882. package/dist/types/security/index.js +0 -2
  883. package/dist/types/sentry.d.ts +0 -50
  884. package/dist/types/sentry.js +0 -3
  885. package/dist/types/skill-eval.d.ts +0 -41
  886. package/dist/types/skill-eval.js +0 -3
  887. package/dist/types/solid-check.d.ts +0 -78
  888. package/dist/types/solid-check.js +0 -3
  889. package/dist/types/source-resolution.d.ts +0 -49
  890. package/dist/types/source-resolution.js +0 -10
  891. package/dist/types/spec/agent.d.ts +0 -111
  892. package/dist/types/spec/agent.js +0 -3
  893. package/dist/types/spec/repair.d.ts +0 -33
  894. package/dist/types/spec/repair.js +0 -3
  895. package/dist/types/spec-cookbook-types.d.ts +0 -45
  896. package/dist/types/spec-cookbook-types.js +0 -3
  897. package/dist/types/spec-decomposer.d.ts +0 -125
  898. package/dist/types/spec-decomposer.js +0 -4
  899. package/dist/types/spec-dependency-graph.d.ts +0 -21
  900. package/dist/types/spec-dependency-graph.js +0 -2
  901. package/dist/types/spec-diff-visual-types.d.ts +0 -75
  902. package/dist/types/spec-diff-visual-types.js +0 -3
  903. package/dist/types/spec-effectiveness.d.ts +0 -63
  904. package/dist/types/spec-effectiveness.js +0 -3
  905. package/dist/types/spec-elicitation.d.ts +0 -26
  906. package/dist/types/spec-elicitation.js +0 -3
  907. package/dist/types/spec-export.d.ts +0 -18
  908. package/dist/types/spec-export.js +0 -3
  909. package/dist/types/spec-from-issue.d.ts +0 -37
  910. package/dist/types/spec-from-issue.js +0 -3
  911. package/dist/types/spec-hooks.d.ts +0 -62
  912. package/dist/types/spec-hooks.js +0 -3
  913. package/dist/types/spec-marketplace.d.ts +0 -31
  914. package/dist/types/spec-marketplace.js +0 -3
  915. package/dist/types/spec-obesity-healer.d.ts +0 -32
  916. package/dist/types/spec-obesity-healer.js +0 -3
  917. package/dist/types/spec-registry.d.ts +0 -194
  918. package/dist/types/spec-registry.js +0 -3
  919. package/dist/types/spec-scheduler.d.ts +0 -58
  920. package/dist/types/spec-scheduler.js +0 -3
  921. package/dist/types/spec-source-types.d.ts +0 -37
  922. package/dist/types/spec-source-types.js +0 -3
  923. package/dist/types/spec-templates.d.ts +0 -135
  924. package/dist/types/spec-templates.js +0 -3
  925. package/dist/types/spec-versioning.d.ts +0 -152
  926. package/dist/types/spec-versioning.js +0 -3
  927. package/dist/types/stack/deprecation.d.ts +0 -38
  928. package/dist/types/stack/deprecation.js +0 -3
  929. package/dist/types/stack/react.d.ts +0 -11
  930. package/dist/types/stack/react.js +0 -3
  931. package/dist/types/steering.d.ts +0 -40
  932. package/dist/types/steering.js +0 -3
  933. package/dist/types/storage.d.ts +0 -16
  934. package/dist/types/storage.js +0 -3
  935. package/dist/types/storybook.d.ts +0 -27
  936. package/dist/types/storybook.js +0 -3
  937. package/dist/types/structural-memory.d.ts +0 -138
  938. package/dist/types/structural-memory.js +0 -2
  939. package/dist/types/supabase.d.ts +0 -108
  940. package/dist/types/supabase.js +0 -3
  941. package/dist/types/tdd-strict.d.ts +0 -54
  942. package/dist/types/tdd-strict.js +0 -3
  943. package/dist/types/team-analytics.d.ts +0 -52
  944. package/dist/types/team-analytics.js +0 -3
  945. package/dist/types/tech-debt.d.ts +0 -66
  946. package/dist/types/tech-debt.js +0 -3
  947. package/dist/types/test-reverse-engineer.d.ts +0 -32
  948. package/dist/types/test-reverse-engineer.js +0 -3
  949. package/dist/types/tool-tier.d.ts +0 -16
  950. package/dist/types/tool-tier.js +0 -3
  951. package/dist/types/tooling/assessment.d.ts +0 -87
  952. package/dist/types/tooling/assessment.js +0 -2
  953. package/dist/types/tooling/bundles.d.ts +0 -34
  954. package/dist/types/tooling/bundles.js +0 -3
  955. package/dist/types/tooling/catalog.d.ts +0 -134
  956. package/dist/types/tooling/catalog.js +0 -3
  957. package/dist/types/tooling/memory-config.d.ts +0 -25
  958. package/dist/types/tooling/memory-config.js +0 -3
  959. package/dist/types/tooling/token-optimizer.d.ts +0 -42
  960. package/dist/types/tooling/token-optimizer.js +0 -3
  961. package/dist/types/type-safety-gate.d.ts +0 -21
  962. package/dist/types/type-safety-gate.js +0 -3
  963. package/dist/types/verify-integrations.d.ts +0 -80
  964. package/dist/types/verify-integrations.js +0 -3
  965. package/dist/types/version-resolution.d.ts +0 -23
  966. package/dist/types/version-resolution.js +0 -3
  967. package/dist/types/well-known.d.ts +0 -70
  968. package/dist/types/well-known.js +0 -3
  969. package/dist/types/workflow-checkpoint.d.ts +0 -66
  970. package/dist/types/workflow-checkpoint.js +0 -4
@@ -8,64 +8,10 @@ export interface SpecUsageEvent {
8
8
  /** Optional: acceptance criterion referenced (e.g. "AC-3") */
9
9
  readonly acRef?: string;
10
10
  }
11
- export interface SpecUsageMetrics {
12
- /** Spec identifier */
13
- readonly specId: string;
14
- /** Total number of accesses in the period */
15
- readonly totalAccesses: number;
16
- /** Distinct tools that referenced this spec */
17
- readonly toolsUsed: readonly string[];
18
- /** Map of toolName -> count */
19
- readonly toolMatrix: Record<string, number>;
20
- /** Most referenced acceptance criteria */
21
- readonly hotAcs: readonly {
22
- readonly acRef: string;
23
- readonly count: number;
24
- }[];
25
- /** ISO 8601 timestamp of first access */
26
- readonly firstAccessAt: string;
27
- /** ISO 8601 timestamp of most recent access */
28
- readonly lastAccessAt: string;
29
- }
30
- export interface SpecObservabilityReport {
31
- /** Project ID */
32
- readonly projectId: string;
33
- /** Period used to filter events */
34
- readonly period: 'day' | 'week' | 'month' | 'all';
35
- /** ISO 8601 timestamp of report generation */
36
- readonly generatedAt: string;
37
- /** Total spec access events in period */
38
- readonly totalEvents: number;
39
- /** Hot specs: most frequently accessed */
40
- readonly hotSpecs: readonly SpecUsageMetrics[];
41
- /** Cold specs: approved but never accessed in the period (specIds only) */
42
- readonly coldSpecs: readonly string[];
43
- /** Metrics per spec (all specs that had at least one event) */
44
- readonly specMetrics: readonly SpecUsageMetrics[];
45
- /** Tool-level summary: which tools generated the most spec references */
46
- readonly topTools: readonly {
47
- readonly toolName: string;
48
- readonly count: number;
49
- }[];
50
- }
51
11
  export interface SpecUsageLog {
52
12
  /** Append-only event list */
53
13
  readonly events: readonly SpecUsageEvent[];
54
14
  }
55
- export interface SpecUsageReportInput {
56
- readonly projectId: string;
57
- readonly specId?: string;
58
- readonly period?: 'day' | 'week' | 'month' | 'all';
59
- }
60
15
  /** Time period for filtering usage events. */
61
- export type Period = 'day' | 'week' | 'month' | 'all';
62
16
  /** Options for building an observability report. */
63
- export interface BuildReportOptions {
64
- projectId: string;
65
- period: Period;
66
- events: readonly SpecUsageEvent[];
67
- allKnownSpecIds?: readonly string[];
68
- /** Filter to a single spec when specId is provided */
69
- filterSpecId?: string;
70
- }
71
17
  //# sourceMappingURL=spec-observability.d.ts.map
@@ -1,4 +1,12 @@
1
1
  // types/spec-observability.ts — Spec observability types (SPEC-158)
2
2
  // Tracks which specs are actively used by agents: access patterns, hot/cold specs, tool matrix.
3
3
  export {};
4
+ // ---------------------------------------------------------------------------
5
+ // Tool input
6
+ // ---------------------------------------------------------------------------
7
+ // ---------------------------------------------------------------------------
8
+ // Metrics module helpers
9
+ // ---------------------------------------------------------------------------
10
+ /** Time period for filtering usage events. */
11
+ /** Options for building an observability report. */
4
12
  //# sourceMappingURL=spec-observability.js.map
@@ -13,10 +13,6 @@ export interface SpecQualityScore {
13
13
  /** Letter grade derived from total */
14
14
  grade: QualityGrade;
15
15
  }
16
- export interface SpecQualityInput {
17
- specId: string;
18
- projectPath: string;
19
- }
20
16
  export interface QualityDimensionDetail {
21
17
  score: number;
22
18
  maxScore: number;
@@ -101,28 +97,6 @@ export interface MigrationIssuesResult {
101
97
  ambiguousCriteria: AmbiguousCriterion[];
102
98
  }
103
99
  /** Result of the automatic post-creation pipeline (challenge + readiness). SPEC-445 */
104
- export interface AutoPipelineResult {
105
- /** Short summary of challenge gaps found, or null if pipeline failed */
106
- challengeSummary: string | null;
107
- /** Readiness score 0-100, or null if pipeline failed */
108
- readinessScore: number | null;
109
- /** Human-readable readiness suggestion, or null if pipeline failed */
110
- readinessSuggestion: string | null;
111
- /** SPEC-501: Warning when ACs have testability score < 7 — includes rewrite suggestions */
112
- acTestabilityWarning?: string | null;
113
- /** SPEC-506: Top 3 relevant lessons from project history matching spec tags */
114
- relevantLessons?: string[] | null;
115
- /** SPEC-664: Resolved package versions found in spec text, e.g. ["next@15.2.0"] */
116
- resolvedVersions?: string[] | null;
117
- /** Error description if the pipeline timed out or threw */
118
- error?: string;
119
- }
120
100
  /** SPEC-664: Cache entry for a resolved package version. */
121
- export interface SpecVersionEntry {
122
- version: string;
123
- resolvedAt: string;
124
- registry: string;
125
- }
126
101
  /** SPEC-664: Per-project package version cache keyed by package name. */
127
- export type SpecVersionCache = Record<string, SpecVersionEntry>;
128
102
  //# sourceMappingURL=spec-quality.d.ts.map
@@ -1,3 +1,6 @@
1
1
  // types/spec-quality.ts — Quality score types for SPEC-314
2
2
  export {};
3
+ /** Result of the automatic post-creation pipeline (challenge + readiness). SPEC-445 */
4
+ /** SPEC-664: Cache entry for a resolved package version. */
5
+ /** SPEC-664: Per-project package version cache keyed by package name. */
3
6
  //# sourceMappingURL=spec-quality.js.map
@@ -1,30 +1,4 @@
1
- export type DependencyStatusCode = 'up_to_date' | 'outdated_patch' | 'outdated_minor' | 'outdated_major' | 'vulnerable' | 'unmaintained';
2
- export type DepSeverity = 'info' | 'warning' | 'critical';
3
- export interface AuditedDependency {
4
- name: string;
5
- currentVersion: string;
6
- latestStableVersion: string;
7
- statusCode: DependencyStatusCode;
8
- severity: DepSeverity;
9
- cves: string[];
10
- dependencyChain?: string;
11
- isTransitive: boolean;
12
- }
13
- export interface StackHealthScore {
14
- score: number;
15
- totalDeps: number;
16
- byStatus: Record<DependencyStatusCode, number>;
17
- topActions: string[];
18
- }
19
- export interface StackAuditResult {
20
- projectId: string;
21
- timestamp: string;
22
- ecosystem: string;
23
- dependencies: AuditedDependency[];
24
- healthScore: StackHealthScore;
25
- runtimeVersions: RuntimeVersionStatus[];
26
- deltaFromLast?: StackAuditDelta;
27
- }
1
+ type DependencyStatusCode = 'up_to_date' | 'outdated_patch' | 'outdated_minor' | 'outdated_major' | 'vulnerable' | 'unmaintained';
28
2
  export interface RuntimeVersionStatus {
29
3
  runtime: string;
30
4
  currentVersion: string;
@@ -32,69 +6,11 @@ export interface RuntimeVersionStatus {
32
6
  statusCode: Omit<DependencyStatusCode, 'vulnerable' | 'unmaintained'>;
33
7
  source: string;
34
8
  }
35
- export interface StackAuditDelta {
36
- newVulnerabilities: AuditedDependency[];
37
- resolved: string[];
38
- worsened: AuditedDependency[];
39
- }
40
- export type UpgradeRiskLevel = 'low' | 'medium' | 'high' | 'breaking';
41
- export interface UpgradeBreakingChange {
42
- description: string;
43
- affectedPattern: string;
44
- migrationAction: string;
45
- impact: 'impacted' | 'not_impacted' | 'unknown';
46
- }
47
- export interface UpgradePlan {
48
- packageName: string;
49
- fromVersion: string;
50
- toVersion: string;
51
- riskLevel: UpgradeRiskLevel;
52
- estimatedEffortHours: number;
53
- isAutoSafe: boolean;
54
- breakingChanges: UpgradeBreakingChange[];
55
- steps: string[];
56
- rollbackProcedure: string;
57
- testingChecklist: string[];
58
- }
59
- export interface StackAuditConfig {
60
- ignore: string[];
61
- allowedMajorLag: number;
62
- scanPaths: string[];
63
- deprecationPatternSets: string[];
64
- }
65
9
  export interface ManifestData {
66
10
  ecosystem: string;
67
11
  directDependencies: Record<string, string>;
68
12
  lockfileVersions: Map<string, string>;
69
13
  runtimeVersions: RuntimeVersionStatus[];
70
14
  }
71
- export interface AuditStackOptions {
72
- deltaMode?: boolean;
73
- lastAudit?: StackAuditResult;
74
- }
75
- export interface AuditStackInput {
76
- projectId: string;
77
- projectPath: string;
78
- format?: 'summary' | 'json';
79
- since?: string;
80
- failOn?: 'none' | 'warning' | 'critical';
81
- ci?: boolean;
82
- }
83
- export interface PlanUpgradeInput {
84
- projectId: string;
85
- projectPath: string;
86
- packageName: string;
87
- fromVersion: string;
88
- targetVersion: string;
89
- changelogText?: string;
90
- format?: 'summary' | 'json';
91
- }
92
- export interface VulnerableRange {
93
- minVersion: string;
94
- maxVersion: string;
95
- cves: string[];
96
- }
97
- export interface KnownVulnerablePackage {
98
- ranges: VulnerableRange[];
99
- }
15
+ export {};
100
16
  //# sourceMappingURL=audit.d.ts.map
@@ -1,6 +1,6 @@
1
- export type BuildTool = 'vite' | 'webpack' | 'turbopack' | 'esbuild' | 'rollup' | 'parcel' | 'rspack' | 'unknown';
2
- export type Bundler = 'rolldown' | 'rollup' | 'esbuild' | 'webpack' | 'unknown';
3
- export type BrowserTarget = 'baseline-widely-available' | 'legacy' | 'modern' | 'unknown';
1
+ type BuildTool = 'vite' | 'webpack' | 'turbopack' | 'esbuild' | 'rollup' | 'parcel' | 'rspack' | 'unknown';
2
+ type Bundler = 'rolldown' | 'rollup' | 'esbuild' | 'webpack' | 'unknown';
3
+ type BrowserTarget = 'baseline-widely-available' | 'legacy' | 'modern' | 'unknown';
4
4
  export interface BuildToolDetectionResult {
5
5
  buildTool: BuildTool;
6
6
  version?: string;
@@ -8,17 +8,6 @@ export interface BuildToolDetectionResult {
8
8
  browserTarget?: BrowserTarget;
9
9
  configFile?: string;
10
10
  }
11
+ export {};
11
12
  /** Internal shape of package.json used by build tool detection. */
12
- export interface BuildToolPackageJson {
13
- devDependencies?: Record<string, string>;
14
- dependencies?: Record<string, string>;
15
- }
16
- export interface BuildToolFinding {
17
- id: string;
18
- severity: 'high' | 'medium' | 'low' | 'info';
19
- category: string;
20
- title: string;
21
- description: string;
22
- fix: string;
23
- }
24
13
  //# sourceMappingURL=build-tool.d.ts.map
@@ -1,3 +1,5 @@
1
1
  // Planu — SPEC-050: Build tool detection types
2
2
  export {};
3
+ /** Internal shape of package.json used by build tool detection. */
4
+ // SPEC-050 S6: Build tool anti-pattern finding (for audit_stack)
3
5
  //# sourceMappingURL=build-tool.js.map
@@ -1,7 +1,5 @@
1
- export type { StackRecommendation, StackAdviceGrounding, SuggestStackResult, PackageRegistry, DependencyStatus, CheckVersionsResult, SkillFile, GenerateSkillResult, AgentConfig, SubAgentDefinition, GenerateSubAgentResult, GenerateRulesResult, SuggestStackInput, CheckVersionsInput, GenerateSkillInput, GenerateSubAgentInput, GenerateRulesInput, DetectAgentInput, DetectAgentResult, GenerateOrchestrationScriptInput, PlatformConfig, PlatformsConfig, RuleSection, LanguageSignature, FrameworkSignature, PackageManagerSignature, DatabaseSignature, StackSignatures, ArchPatternConfig, ArchPatternsFile, FrameworkConfig, AgentPlatformsConfig, } from './recommend.js';
2
- export type { DependencyStatusCode, DepSeverity, AuditedDependency, StackHealthScore, StackAuditResult, RuntimeVersionStatus, StackAuditDelta, UpgradeRiskLevel, UpgradeBreakingChange, UpgradePlan, StackAuditConfig, ManifestData, AuditStackOptions, AuditStackInput, PlanUpgradeInput, VulnerableRange, KnownVulnerablePackage, } from './audit.js';
3
- export type { DeprecationSeverity, DeprecationFinding, DeprecationReport, DeprecationPattern, DetectDeprecationsInput, } from './deprecation.js';
1
+ export type { SkillFile, GenerateSkillResult, AgentConfig, GenerateRulesResult, GenerateOrchestrationScriptInput, PlatformConfig, PlatformsConfig, RuleSection, StackSignatures, ArchPatternConfig, ArchPatternsFile, } from './recommend.js';
2
+ export type { RuntimeVersionStatus, ManifestData } from './audit.js';
4
3
  export type { HypermediaFramework, RenderingMode, TurboSubtype, HypermediaDetectionResult, TemplateEngineSignal, } from './hypermedia.js';
5
- export type { BuildTool, Bundler, BrowserTarget, BuildToolDetectionResult, BuildToolPackageJson, BuildToolFinding, } from './build-tool.js';
6
- export type { ReactVersion, NextjsVersion, RouterMode, ReactDetectionResult } from './react.js';
4
+ export type { BuildToolDetectionResult } from './build-tool.js';
7
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,60 +1,5 @@
1
- import type { AgentPlatform, SubAgentFramework } from '../common/index.js';
1
+ import type { AgentPlatform } from '../common/index.js';
2
2
  import type { RecommendedSkill } from '../mcp.js';
3
- export interface StackRecommendation {
4
- language: string;
5
- framework: string;
6
- version: string;
7
- database: string;
8
- orm?: string;
9
- auth?: string;
10
- deployment: string;
11
- reasoning: string;
12
- ecosystem: string[];
13
- }
14
- export interface SuggestStackResult {
15
- primary: StackRecommendation;
16
- alternative: StackRecommendation;
17
- whyNotOthers: {
18
- name: string;
19
- reason: string;
20
- }[];
21
- mcpCompatibility: {
22
- mcp: string;
23
- compatible: boolean;
24
- notes: string;
25
- }[];
26
- lastChecked: string;
27
- confidence?: 'high' | 'medium' | 'low';
28
- }
29
- export interface StackAdviceGrounding {
30
- selectionStatus: 'unconfirmed' | 'partially-confirmed';
31
- detectedEvidence: string[];
32
- confirmedChoices: {
33
- field: string;
34
- value: string;
35
- source: 'user_confirmation';
36
- }[];
37
- candidateNotice: string;
38
- }
39
- export type PackageRegistry = 'npm' | 'pypi' | 'crates' | 'go' | 'packagist' | 'pub' | 'nuget' | 'rubygems';
40
- export interface DependencyStatus {
41
- name: string;
42
- currentVersion: string;
43
- latestVersion: string;
44
- updateType: 'security' | 'major' | 'minor' | 'patch' | 'up-to-date';
45
- deprecated: boolean;
46
- replacement?: string;
47
- changelog?: string;
48
- breakingChanges?: string[];
49
- registry?: PackageRegistry;
50
- checkedAt?: string;
51
- }
52
- export interface CheckVersionsResult {
53
- dependencies: DependencyStatus[];
54
- securityAlerts: number;
55
- updatesAvailable: number;
56
- recommendation: string;
57
- }
58
3
  export interface SkillFile {
59
4
  path: string;
60
5
  content: string;
@@ -74,21 +19,6 @@ export interface AgentConfig {
74
19
  capabilities: string[];
75
20
  mcpSupport: boolean;
76
21
  }
77
- export interface SubAgentDefinition {
78
- name: string;
79
- role: string;
80
- model: string;
81
- systemPrompt: string;
82
- tools: string[];
83
- maxTurns?: number;
84
- handoffConditions?: string[];
85
- }
86
- export interface GenerateSubAgentResult {
87
- framework: SubAgentFramework;
88
- files: SkillFile[];
89
- agentDefinition: SubAgentDefinition;
90
- installInstructions: string;
91
- }
92
22
  export interface GenerateRulesResult {
93
23
  platform: AgentPlatform;
94
24
  rulesFile: SkillFile;
@@ -97,59 +27,12 @@ export interface GenerateRulesResult {
97
27
  categories: string[];
98
28
  recommendedSkills: RecommendedSkill[];
99
29
  }
100
- export interface SuggestStackInput {
101
- projectType: 'web' | 'mobile' | 'backend' | 'fullstack' | 'cli' | 'library';
102
- requirements: string[];
103
- constraints?: string[];
104
- projectId?: string;
105
- }
106
- export interface CheckVersionsInput {
107
- projectId: string;
108
- includeDevDeps?: boolean;
109
- }
110
- export interface GenerateSkillInput {
111
- specId?: string;
112
- projectId: string;
113
- platform: AgentPlatform;
114
- skillType: 'project-rules' | 'domain-skill' | 'workflow' | 'convention';
115
- name: string;
116
- description: string;
117
- }
118
- export interface GenerateSubAgentInput {
119
- projectId: string;
120
- framework: SubAgentFramework;
121
- agentName: string;
122
- role: string;
123
- capabilities: string[];
124
- tools?: string[];
125
- systemPrompt?: string;
126
- autoMemory?: boolean;
127
- }
128
- export interface GenerateRulesInput {
129
- projectId: string;
130
- platform: AgentPlatform;
131
- includeArchitecture?: boolean;
132
- includeConventions?: boolean;
133
- includeQuality?: boolean;
134
- includeWorkflow?: boolean;
135
- customRules?: string[];
136
- }
137
- export interface DetectAgentInput {
138
- projectId: string;
139
- }
140
30
  export interface GenerateOrchestrationScriptInput {
141
31
  specIds: string[];
142
32
  projectPath: string;
143
33
  mainBranch?: string;
144
34
  baseBranch?: string;
145
35
  }
146
- export interface DetectAgentResult {
147
- platform: AgentPlatform;
148
- confidence: number;
149
- detectedFrom: string[];
150
- capabilities: string[];
151
- message: string;
152
- }
153
36
  export interface PlatformConfig {
154
37
  name: string;
155
38
  rulesFile: string;
@@ -169,22 +52,22 @@ export interface RuleSection {
169
52
  enforcement: 'strict' | 'recommended';
170
53
  }[];
171
54
  }
172
- export interface LanguageSignature {
55
+ interface LanguageSignature {
173
56
  files: string[];
174
57
  extensions: string[];
175
58
  }
176
- export interface FrameworkSignature {
59
+ interface FrameworkSignature {
177
60
  indicators: string[];
178
61
  dependencies: string[];
179
62
  language: string;
180
63
  codePatterns?: string[];
181
64
  packageFile?: string;
182
65
  }
183
- export interface PackageManagerSignature {
66
+ interface PackageManagerSignature {
184
67
  lockfile: string;
185
68
  language: string;
186
69
  }
187
- export interface DatabaseSignature {
70
+ interface DatabaseSignature {
188
71
  indicators: string[];
189
72
  dependencies: string[];
190
73
  engine: string;
@@ -205,14 +88,5 @@ export interface ArchPatternConfig {
205
88
  export interface ArchPatternsFile {
206
89
  patterns: Record<string, ArchPatternConfig>;
207
90
  }
208
- export interface FrameworkConfig {
209
- name: string;
210
- languages: string[];
211
- docsUrl: string;
212
- supportsHandoffs: boolean;
213
- supportsMcp: boolean;
214
- }
215
- export interface AgentPlatformsConfig {
216
- subAgentFrameworks: Record<string, FrameworkConfig>;
217
- }
91
+ export {};
218
92
  //# sourceMappingURL=recommend.d.ts.map
@@ -10,7 +10,7 @@ export interface GitState {
10
10
  export interface SessionState {
11
11
  lastCiStatus?: string;
12
12
  }
13
- export type StatusActiveLifecycleStatus = 'implementing' | 'review';
13
+ type StatusActiveLifecycleStatus = 'implementing' | 'review';
14
14
  export interface StatusSpecSnapshot {
15
15
  active: {
16
16
  id: string;
@@ -30,4 +30,5 @@ export interface BtwHint {
30
30
  whenNotToUse: string[];
31
31
  reason: string;
32
32
  }
33
+ export {};
33
34
  //# sourceMappingURL=status.d.ts.map
@@ -1,7 +1,7 @@
1
- export type ArtifactOwner = 'project' | 'runtime' | 'installer' | 'native' | 'operator';
2
- export type ArtifactLifecycle = 'portable' | 'persistent' | 'ephemeral' | 'recoverable-trash';
3
- export type ArtifactSensitivity = 'public' | 'internal' | 'sensitive' | 'secret-reference';
4
- export type ArtifactPortability = 'portable' | 'machine-local' | 'export-redacted';
1
+ type ArtifactOwner = 'project' | 'runtime' | 'installer' | 'native' | 'operator';
2
+ type ArtifactLifecycle = 'portable' | 'persistent' | 'ephemeral' | 'recoverable-trash';
3
+ type ArtifactSensitivity = 'public' | 'internal' | 'sensitive' | 'secret-reference';
4
+ type ArtifactPortability = 'portable' | 'machine-local' | 'export-redacted';
5
5
  export interface StorageCatalogEntry {
6
6
  readonly id: string;
7
7
  readonly templatePath: string;
@@ -15,4 +15,5 @@ export interface StorageCatalogEntry {
15
15
  readonly retention: string;
16
16
  readonly rebuildable: boolean;
17
17
  }
18
+ export {};
18
19
  //# sourceMappingURL=storage-catalog.d.ts.map
@@ -5,9 +5,9 @@ export type SbomFormat = 'CycloneDX-1.6' | 'SPDX-2.3' | 'other' | null;
5
5
  /** Risk level for dependency confusion. */
6
6
  export type DependencyConfusionRisk = 'none' | 'low' | 'high' | 'critical';
7
7
  /** Category of a supply chain gap. */
8
- export type SupplyChainCategory = 'slsa' | 'sbom' | 'dependency-confusion' | 'lockfile' | 'reproducible';
8
+ type SupplyChainCategory = 'slsa' | 'sbom' | 'dependency-confusion' | 'lockfile' | 'reproducible';
9
9
  /** Severity of a supply chain gap. */
10
- export type SupplyChainSeverity = 'critical' | 'warning' | 'info';
10
+ type SupplyChainSeverity = 'critical' | 'warning' | 'info';
11
11
  /** A detected gap in the project's supply chain security posture. */
12
12
  export interface SupplyChainGap {
13
13
  category: SupplyChainCategory;
@@ -29,23 +29,8 @@ export interface SupplyChainReport {
29
29
  gaps: SupplyChainGap[];
30
30
  }
31
31
  /** A single SBOM tool entry in the supply-chain-tools.json config. */
32
- export interface SbomToolEntry {
33
- name: string;
34
- alternative: string | null;
35
- command: string;
36
- docsUrl: string;
37
- }
38
32
  /** A monitoring tool entry in the supply-chain-tools.json config. */
39
- export interface SupplyChainMonitoringEntry {
40
- name: string;
41
- description: string;
42
- docsUrl: string;
43
- }
44
33
  /** Top-level shape of supply-chain-tools.json. */
45
- export interface SupplyChainToolsConfig {
46
- sbomTools: Record<string, SbomToolEntry>;
47
- monitoringTools: Record<string, SupplyChainMonitoringEntry>;
48
- }
49
34
  /** Result from sbom-checker.checkSbom(). */
50
35
  export interface SbomCheckResult {
51
36
  sbomPresent: boolean;
@@ -89,4 +74,5 @@ export interface NpmProvenanceResult {
89
74
  * - `none`: No provenance format references found
90
75
  */
91
76
  export type SlsaProvenanceFormat = 'v1' | 'v0.2' | 'both' | 'none';
77
+ export {};
92
78
  //# sourceMappingURL=supply-chain.d.ts.map
@@ -41,12 +41,6 @@ export interface TddCompletionResult {
41
41
  resolvedPercentage: number;
42
42
  pendingCriteria: string[];
43
43
  }
44
- export interface TddStatusResult {
45
- policy: TddPolicy;
46
- specsWithStubs: number;
47
- specsWithoutStubs: number;
48
- totalUnresolvedStubs: number;
49
- }
50
44
  export interface ZodFieldInfo {
51
45
  fieldName: string;
52
46
  zodType: string;
@@ -15,7 +15,7 @@ export interface TeamDistributionPlan {
15
15
  warnings: string[];
16
16
  }
17
17
  /** Assignment details for a single teammate in the team. */
18
- export interface TeammateAssignment {
18
+ interface TeammateAssignment {
19
19
  /** Unique teammate name (e.g. "spec-042-impl"). */
20
20
  name: string;
21
21
  /** Role this teammate fulfils. */
@@ -30,7 +30,7 @@ export interface TeammateAssignment {
30
30
  prompt: string;
31
31
  }
32
32
  /** A phase of execution where all listed teammates run in parallel. */
33
- export interface TeamExecutionPhase {
33
+ interface TeamExecutionPhase {
34
34
  /** Phase number (1-based). */
35
35
  phase: number;
36
36
  /** Teammate names that run in parallel during this phase. */
@@ -39,42 +39,8 @@ export interface TeamExecutionPhase {
39
39
  reason: string;
40
40
  }
41
41
  /** Predefined team composition template. */
42
- export interface TeamTemplate {
43
- /** Unique template identifier. */
44
- id: string;
45
- /** Human-readable template name. */
46
- name: string;
47
- /** Short description of the template strategy. */
48
- description: string;
49
- /** Pattern category for matching. */
50
- pattern: string;
51
- /** Role composition for the team. */
52
- roles: TeamTemplateRole[];
53
- }
54
42
  /** A role slot within a TeamTemplate. */
55
- export interface TeamTemplateRole {
56
- /** Agent role for this slot. */
57
- role: AgentRole;
58
- /** Model tier for agents in this slot. */
59
- model: ModelTier;
60
- /** Fixed count or "per-spec" for dynamic sizing. */
61
- count: number | 'per-spec';
62
- }
63
43
  /** Recommendation on whether to use Agent Teams for a set of specs. */
64
- export interface TeamSuggestion {
65
- /** Whether Agent Teams are recommended for this workload. */
66
- recommended: boolean;
67
- /** Explanation of the recommendation. */
68
- reason: string;
69
- /** Suggested template ID. */
70
- templateId: string;
71
- /** Recommended team size. */
72
- teamSize: number;
73
- /** Spec IDs included in the recommendation. */
74
- specs: string[];
75
- /** Exact tool call suggestions for the LLM to execute. */
76
- toolCalls: string[];
77
- }
78
44
  /** Context provided to the prompt builder for a single teammate. */
79
45
  export interface TeammatePromptContext {
80
46
  /** Primary language of the project (e.g. "typescript", "python"). */
@@ -150,14 +116,6 @@ export interface TeammateOutput {
150
116
  coveredCriteria: string[];
151
117
  }
152
118
  /** Input for the plan_team_distribution tool. */
153
- export interface PlanTeamDistributionInput {
154
- /** Project identifier. */
155
- projectId: string;
156
- /** Spec IDs to distribute across the team. */
157
- specIds: string[];
158
- /** Optional template ID to use for team composition. */
159
- template?: string;
160
- }
161
119
  /** Input for the generate_teammate_prompt tool. */
162
120
  export interface GenerateTeammatePromptInput {
163
121
  /** Project identifier. */
@@ -171,31 +129,6 @@ export interface GenerateTeammatePromptInput {
171
129
  /** Role for this teammate. */
172
130
  role: AgentRole;
173
131
  }
132
+ export {};
174
133
  /** Input for the validate_team_results tool. */
175
- export interface ValidateTeamResultsInput {
176
- /** Project identifier. */
177
- projectId: string;
178
- /** Spec IDs that were distributed. */
179
- specIds: string[];
180
- /** Names of teammates whose results to validate. */
181
- teammateNames: string[];
182
- }
183
- export interface WriterReviewerConfig {
184
- specId: string;
185
- modifiedFiles: string[];
186
- acceptanceCriteria: string[];
187
- projectPath: string;
188
- }
189
- export interface ReviewerPrompt {
190
- /** Full session instructions ready to paste into a new Claude session. */
191
- sessionInstructions: string;
192
- /** File references formatted as "@file1.ts @file2.ts ..." */
193
- fileReferences: string;
194
- /** Checklist of acceptance criteria to verify. */
195
- reviewChecklist: string[];
196
- /** Command to start the reviewer session. */
197
- startCommand: string;
198
- /** Review dimensions the reviewer should address. */
199
- dimensions: string[];
200
- }
201
134
  //# sourceMappingURL=team-planner.d.ts.map
@@ -1,3 +1,5 @@
1
1
  // Planu — Team Planner types for Claude Code Agent Teams (SPEC-091)
2
2
  export {};
3
+ /** Input for the validate_team_results tool. */
4
+ // === SPEC-254: Writer/Reviewer parallel session pattern ===
3
5
  //# sourceMappingURL=team-planner.js.map