@holmes-lab/holmes-kit 0.39.0 → 0.40.1

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 (325) hide show
  1. package/CHANGELOG.md +578 -6
  2. package/README.md +120 -41
  3. package/dist/.build-id +1 -1
  4. package/dist/holmes/admission/core/admission-policy.d.ts +37 -0
  5. package/dist/holmes/admission/core/admission-policy.js +147 -0
  6. package/dist/holmes/admission/core/bounded-reader.d.ts +56 -0
  7. package/dist/holmes/admission/core/bounded-reader.js +135 -0
  8. package/dist/holmes/admission/core/change-classifier.d.ts +34 -0
  9. package/dist/holmes/admission/core/change-classifier.js +278 -0
  10. package/dist/holmes/admission/core/config-loader.d.ts +30 -0
  11. package/dist/holmes/admission/core/config-loader.js +145 -0
  12. package/dist/holmes/admission/core/event-judgement.d.ts +37 -0
  13. package/dist/holmes/admission/core/event-judgement.js +251 -0
  14. package/dist/holmes/admission/core/path-rules.d.ts +35 -0
  15. package/dist/holmes/admission/core/path-rules.js +88 -0
  16. package/dist/holmes/admission/core/pin.d.ts +7 -0
  17. package/dist/holmes/admission/core/pin.js +29 -0
  18. package/dist/holmes/admission/core/ports.d.ts +48 -0
  19. package/dist/holmes/admission/core/ports.js +11 -0
  20. package/dist/holmes/admission/core/range-resolver.d.ts +32 -0
  21. package/dist/holmes/admission/core/range-resolver.js +51 -0
  22. package/dist/holmes/admission/core/self-containment.d.ts +1 -0
  23. package/dist/holmes/admission/core/self-containment.js +125 -0
  24. package/dist/holmes/admission/core/signature-source.d.ts +9 -0
  25. package/dist/holmes/admission/core/signature-source.js +4 -0
  26. package/dist/holmes/admission/core/transition-planner.d.ts +15 -0
  27. package/dist/holmes/admission/core/transition-planner.js +14 -0
  28. package/dist/holmes/admission/core/verdict.d.ts +38 -0
  29. package/dist/holmes/admission/core/verdict.js +17 -0
  30. package/dist/holmes/admission/core/wiring.d.ts +44 -0
  31. package/dist/holmes/admission/core/wiring.js +618 -0
  32. package/dist/holmes/admission/forge/git-object-port.d.ts +4 -0
  33. package/dist/holmes/admission/forge/git-object-port.js +132 -0
  34. package/dist/holmes/assoc/assoc-arm.d.ts +1 -1
  35. package/dist/holmes/assoc/assoc-arm.js +1 -1
  36. package/dist/holmes/cli/agents.d.ts +8 -0
  37. package/dist/holmes/cli/agents.js +9 -5
  38. package/dist/holmes/cli/approve-cli.d.ts +2 -0
  39. package/dist/holmes/cli/approve-cli.js +392 -0
  40. package/dist/holmes/cli/approve-ref.d.ts +13 -7
  41. package/dist/holmes/cli/approve-ref.js +30 -10
  42. package/dist/holmes/cli/approve-status.d.ts +26 -2
  43. package/dist/holmes/cli/approve-status.js +98 -18
  44. package/dist/holmes/cli/approve-watch.d.ts +5 -0
  45. package/dist/holmes/cli/approve-watch.js +10 -5
  46. package/dist/holmes/cli/approve.d.ts +49 -13
  47. package/dist/holmes/cli/approve.js +249 -67
  48. package/dist/holmes/cli/attest.js +2 -1
  49. package/dist/holmes/cli/autonomy.d.ts +4 -1
  50. package/dist/holmes/cli/autonomy.js +17 -10
  51. package/dist/holmes/cli/codex-oracle.d.ts +11 -0
  52. package/dist/holmes/cli/codex-oracle.js +5 -1
  53. package/dist/holmes/cli/codex-toml.d.ts +10 -0
  54. package/dist/holmes/cli/codex-toml.js +36 -2
  55. package/dist/holmes/cli/doctor-boundary.d.ts +76 -0
  56. package/dist/holmes/cli/doctor-boundary.js +308 -0
  57. package/dist/holmes/cli/doctor-locks.d.ts +15 -0
  58. package/dist/holmes/cli/doctor-locks.js +119 -0
  59. package/dist/holmes/cli/doctor.d.ts +2 -0
  60. package/dist/holmes/cli/doctor.js +34 -5
  61. package/dist/holmes/cli/flags.d.ts +23 -0
  62. package/dist/holmes/cli/flags.js +89 -0
  63. package/dist/holmes/cli/index.d.ts +5 -1
  64. package/dist/holmes/cli/index.js +226 -442
  65. package/dist/holmes/cli/init.js +33 -0
  66. package/dist/holmes/cli/interactive-prompt.d.ts +39 -2
  67. package/dist/holmes/cli/interactive-prompt.js +98 -16
  68. package/dist/holmes/cli/lock-recover.d.ts +5 -0
  69. package/dist/holmes/cli/lock-recover.js +126 -0
  70. package/dist/holmes/cli/mcp-processes.js +1 -1
  71. package/dist/holmes/cli/release-docs.js +1 -1
  72. package/dist/holmes/cli/run-exec.d.ts +141 -0
  73. package/dist/holmes/cli/run-exec.js +1435 -0
  74. package/dist/holmes/cli/run-provision.d.ts +3 -1
  75. package/dist/holmes/cli/run-provision.js +255 -44
  76. package/dist/holmes/cli/run-wiring.d.ts +69 -0
  77. package/dist/holmes/cli/run-wiring.js +270 -0
  78. package/dist/holmes/cli/run.d.ts +21 -0
  79. package/dist/holmes/cli/run.js +341 -92
  80. package/dist/holmes/cli/runtime-binding-approval.js +32 -19
  81. package/dist/holmes/cli/screen-safe.d.ts +3 -92
  82. package/dist/holmes/cli/screen-safe.js +18 -756
  83. package/dist/holmes/config/config.d.ts +19 -0
  84. package/dist/holmes/config/config.js +18 -3
  85. package/dist/holmes/cpg/foundation/language-matrix.js +2 -2
  86. package/dist/holmes/cpg/import-resolver.js +1 -1
  87. package/dist/holmes/governance/approval-decisions.d.ts +47 -0
  88. package/dist/holmes/governance/approval-decisions.js +29 -0
  89. package/dist/holmes/governance/approval-grants.d.ts +220 -1
  90. package/dist/holmes/governance/approval-grants.js +612 -33
  91. package/dist/holmes/governance/approval-queue.d.ts +26 -0
  92. package/dist/holmes/governance/approval-queue.js +109 -11
  93. package/dist/holmes/governance/approval-spend.d.ts +95 -0
  94. package/dist/holmes/governance/approval-spend.js +191 -0
  95. package/dist/holmes/governance/autonomous-shell.d.ts +61 -0
  96. package/dist/holmes/governance/autonomous-shell.js +332 -0
  97. package/dist/holmes/governance/autonomy.d.ts +12 -0
  98. package/dist/holmes/governance/autonomy.js +51 -15
  99. package/dist/holmes/governance/constitution.d.ts +5 -0
  100. package/dist/holmes/governance/constitution.js +32 -12
  101. package/dist/holmes/governance/full-autonomy.d.ts +10 -0
  102. package/dist/holmes/governance/full-autonomy.js +103 -7
  103. package/dist/holmes/governance/harness-catalog.d.ts +103 -0
  104. package/dist/holmes/governance/harness-catalog.js +348 -0
  105. package/dist/holmes/governance/human-channel.d.ts +38 -0
  106. package/dist/holmes/governance/human-channel.js +49 -0
  107. package/dist/holmes/governance/install-manifest.d.ts +22 -0
  108. package/dist/holmes/governance/install-manifest.js +160 -0
  109. package/dist/holmes/governance/ledger-rechain.js +2 -0
  110. package/dist/holmes/governance/ledger-store.conformance.d.ts +7 -1
  111. package/dist/holmes/governance/ledger-store.conformance.js +66 -0
  112. package/dist/holmes/governance/ledger-store.d.ts +88 -11
  113. package/dist/holmes/governance/ledger-store.js +186 -8
  114. package/dist/holmes/governance/provenance-chain.d.ts +16 -4
  115. package/dist/holmes/governance/provenance-chain.js +19 -4
  116. package/dist/holmes/governance/provenance-ledger.d.ts +6 -3
  117. package/dist/holmes/governance/provenance-ledger.js +53 -18
  118. package/dist/holmes/governance/push-gate-runner.d.ts +2 -0
  119. package/dist/holmes/governance/push-gate-runner.js +50 -9
  120. package/dist/holmes/governance/push-gate.d.ts +13 -2
  121. package/dist/holmes/governance/push-gate.js +106 -14
  122. package/dist/holmes/governance/recorded-pairs.d.ts +96 -0
  123. package/dist/holmes/governance/recorded-pairs.js +522 -0
  124. package/dist/holmes/governance/replica-id.d.ts +1 -1
  125. package/dist/holmes/governance/replica-id.js +1 -1
  126. package/dist/holmes/governance/spec-seam.d.ts +59 -0
  127. package/dist/holmes/governance/spec-seam.js +587 -0
  128. package/dist/holmes/governance/spend-kinds.d.ts +16 -0
  129. package/dist/holmes/governance/spend-kinds.js +18 -0
  130. package/dist/holmes/guardrail/advisory-line.d.ts +102 -0
  131. package/dist/holmes/guardrail/advisory-line.js +718 -0
  132. package/dist/holmes/guardrail/decision-ledger.d.ts +2 -1
  133. package/dist/holmes/guardrail/decision-ledger.js +2 -1
  134. package/dist/holmes/guardrail/impact-gate.d.ts +7 -0
  135. package/dist/holmes/guardrail/impact-gate.js +33 -6
  136. package/dist/holmes/guardrail/line-continuation.d.ts +8 -0
  137. package/dist/holmes/guardrail/line-continuation.js +39 -0
  138. package/dist/holmes/guardrail/operator-person.d.ts +28 -4
  139. package/dist/holmes/guardrail/operator-person.js +57 -11
  140. package/dist/holmes/guardrail/refusal-codes.d.ts +8 -3
  141. package/dist/holmes/guardrail/refusal-codes.js +64 -10
  142. package/dist/holmes/guardrail/risk-classifier.d.ts +15 -9
  143. package/dist/holmes/guardrail/risk-classifier.js +228 -16
  144. package/dist/holmes/guardrail/risk-gate.d.ts +2 -8
  145. package/dist/holmes/guardrail/risk-gate.js +7 -34
  146. package/dist/holmes/guardrail/risk-types.d.ts +10 -0
  147. package/dist/holmes/guardrail/run-plan-scope.js +3 -1
  148. package/dist/holmes/guardrail/run-refusals.js +24 -8
  149. package/dist/holmes/guardrail/run-stages.d.ts +5 -0
  150. package/dist/holmes/guardrail/run-stages.js +25 -5
  151. package/dist/holmes/guardrail/scope-judgment.js +1 -1
  152. package/dist/holmes/guardrail/shell-words.js +24 -3
  153. package/dist/holmes/guardrail/unresolved-write.d.ts +40 -0
  154. package/dist/holmes/guardrail/unresolved-write.js +556 -0
  155. package/dist/holmes/guardrail/write-target.d.ts +3 -0
  156. package/dist/holmes/guardrail/write-target.js +26 -5
  157. package/dist/holmes/hooks/pre-tool-use.d.ts +116 -1
  158. package/dist/holmes/hooks/pre-tool-use.js +1176 -170
  159. package/dist/holmes/hooks/rtm-refresh-child.d.ts +1 -1
  160. package/dist/holmes/hooks/rtm-refresh-child.js +1 -1
  161. package/dist/holmes/hooks/session-start.js +17 -1
  162. package/dist/holmes/hooks/stop.d.ts +23 -0
  163. package/dist/holmes/hooks/stop.js +86 -33
  164. package/dist/holmes/mcp/approval-adapters.js +3 -1
  165. package/dist/holmes/mcp/approval-commit.js +3 -2
  166. package/dist/holmes/mcp/approval-policy.d.ts +2 -1
  167. package/dist/holmes/mcp/approval-policy.js +3 -1
  168. package/dist/holmes/mcp/handlers/adoption.d.ts +1 -1
  169. package/dist/holmes/mcp/handlers/approval-ask.d.ts +3 -0
  170. package/dist/holmes/mcp/handlers/approval-ask.js +18 -7
  171. package/dist/holmes/mcp/handlers/entity-integration.d.ts +3 -3
  172. package/dist/holmes/mcp/handlers/entity-integration.js +29 -11
  173. package/dist/holmes/mcp/handlers/entity-renumber.d.ts +4 -4
  174. package/dist/holmes/mcp/handlers/entity-renumber.js +29 -11
  175. package/dist/holmes/mcp/handlers/entity-store.d.ts +2 -2
  176. package/dist/holmes/mcp/handlers/entity-store.js +133 -59
  177. package/dist/holmes/mcp/handlers/maintenance-analysis.d.ts +13 -0
  178. package/dist/holmes/mcp/handlers/maintenance-analysis.js +59 -2
  179. package/dist/holmes/mcp/handlers/operator-inspection.d.ts +9 -5
  180. package/dist/holmes/mcp/handlers/operator-inspection.js +79 -16
  181. package/dist/holmes/mcp/handlers/phase-queries.d.ts +1 -1
  182. package/dist/holmes/mcp/handlers/requirement-triage.d.ts +4 -4
  183. package/dist/holmes/mcp/handlers/review-evidence.d.ts +2 -2
  184. package/dist/holmes/mcp/handlers/review-evidence.js +35 -11
  185. package/dist/holmes/mcp/handlers/review-queries.d.ts +5 -0
  186. package/dist/holmes/mcp/handlers/review-queries.js +8 -1
  187. package/dist/holmes/mcp/handlers/review-verdict.d.ts +3 -0
  188. package/dist/holmes/mcp/handlers/review-verdict.js +10 -3
  189. package/dist/holmes/mcp/handlers/risk-assessment.d.ts +7 -2
  190. package/dist/holmes/mcp/handlers/risk-assessment.js +34 -12
  191. package/dist/holmes/mcp/handlers/runtime-binding-tool.d.ts +2 -2
  192. package/dist/holmes/mcp/handlers/slice-orchestration.d.ts +6 -1
  193. package/dist/holmes/mcp/handlers/slice-orchestration.js +14 -1
  194. package/dist/holmes/mcp/handlers/spec-approval.d.ts +15 -3
  195. package/dist/holmes/mcp/handlers/spec-approval.js +32 -5
  196. package/dist/holmes/mcp/handlers/spec-authoring.d.ts +2 -2
  197. package/dist/holmes/mcp/handlers/spec-authoring.js +19 -2
  198. package/dist/holmes/mcp/handlers/spec-lifecycle.d.ts +11 -38
  199. package/dist/holmes/mcp/handlers/spec-lifecycle.js +441 -94
  200. package/dist/holmes/mcp/handlers/spec-queries.d.ts +2 -2
  201. package/dist/holmes/mcp/handlers/taint-screening.d.ts +1 -1
  202. package/dist/holmes/mcp/handlers/taint-screening.js +2 -2
  203. package/dist/holmes/mcp/handlers/test-execution.d.ts +471 -4
  204. package/dist/holmes/mcp/handlers/test-execution.js +199 -21
  205. package/dist/holmes/mcp/handlers/workspace-queries.d.ts +2 -2
  206. package/dist/holmes/mcp/handlers.d.ts +557 -82
  207. package/dist/holmes/mcp/handlers.js +74 -23
  208. package/dist/holmes/mcp/harness-attestation.d.ts +78 -5
  209. package/dist/holmes/mcp/harness-attestation.js +325 -53
  210. package/dist/holmes/mcp/maintenance-analyze.d.ts +6 -1
  211. package/dist/holmes/mcp/maintenance-analyze.js +13 -11
  212. package/dist/holmes/mcp/maintenance-evidence.d.ts +9 -0
  213. package/dist/holmes/mcp/maintenance-evidence.js +35 -3
  214. package/dist/holmes/mcp/requirement-triage-evidence.js +22 -13
  215. package/dist/holmes/mcp/server-staleness.js +1 -1
  216. package/dist/holmes/mcp/server.js +9 -8
  217. package/dist/holmes/mcp/spec-id-guard.js +1 -1
  218. package/dist/holmes/mcp/tool-schemas.d.ts +13 -0
  219. package/dist/holmes/mcp/tool-schemas.js +42 -9
  220. package/dist/holmes/project/act-root.d.ts +19 -0
  221. package/dist/holmes/project/act-root.js +100 -0
  222. package/dist/holmes/project/baseline.d.ts +15 -2
  223. package/dist/holmes/project/baseline.js +14 -8
  224. package/dist/holmes/project/bounded-group.d.ts +47 -0
  225. package/dist/holmes/project/bounded-group.js +140 -0
  226. package/dist/holmes/project/bounded-io.d.ts +51 -2
  227. package/dist/holmes/project/bounded-io.js +140 -6
  228. package/dist/holmes/project/change-source.d.ts +4 -0
  229. package/dist/holmes/project/change-source.js +14 -6
  230. package/dist/holmes/project/instance-id.d.ts +10 -0
  231. package/dist/holmes/project/instance-id.js +233 -0
  232. package/dist/holmes/project/machine-identity.d.ts +25 -0
  233. package/dist/holmes/project/machine-identity.js +133 -0
  234. package/dist/holmes/project/owned-lock.d.ts +84 -0
  235. package/dist/holmes/project/owned-lock.js +263 -0
  236. package/dist/holmes/project/plain-lock-fs.d.ts +2 -0
  237. package/dist/holmes/project/plain-lock-fs.js +126 -0
  238. package/dist/holmes/project/request-lock.d.ts +85 -0
  239. package/dist/holmes/project/request-lock.js +459 -0
  240. package/dist/holmes/project/root.d.ts +12 -4
  241. package/dist/holmes/project/root.js +29 -8
  242. package/dist/holmes/project/run-records.d.ts +19 -0
  243. package/dist/holmes/project/run-records.js +94 -12
  244. package/dist/holmes/project/screen-text.d.ts +94 -0
  245. package/dist/holmes/project/screen-text.js +763 -0
  246. package/dist/holmes/project/spend-lock.d.ts +82 -0
  247. package/dist/holmes/project/spend-lock.js +413 -0
  248. package/dist/holmes/refresh/freshness-coordinator.d.ts +1 -1
  249. package/dist/holmes/refresh/freshness-coordinator.js +1 -1
  250. package/dist/holmes/review/condition-hunk-replay.js +4 -2
  251. package/dist/holmes/review/confidence-calibration.d.ts +1 -1
  252. package/dist/holmes/review/confidence-calibration.js +1 -1
  253. package/dist/holmes/review/content-verify.js +1 -1
  254. package/dist/holmes/review/evidence-mode.d.ts +21 -0
  255. package/dist/holmes/review/evidence-mode.js +33 -0
  256. package/dist/holmes/review/head-worktree.d.ts +55 -0
  257. package/dist/holmes/review/head-worktree.js +329 -0
  258. package/dist/holmes/review/hop-ablation.d.ts +4 -4
  259. package/dist/holmes/review/hop-ablation.js +5 -5
  260. package/dist/holmes/review/mrp.js +13 -3
  261. package/dist/holmes/review/point-in-time-replay.js +12 -3
  262. package/dist/holmes/review/rank-diagnosis.d.ts +2 -2
  263. package/dist/holmes/review/rank-diagnosis.js +1 -1
  264. package/dist/holmes/review/replay-corpus.d.ts +10 -4
  265. package/dist/holmes/review/replay-corpus.js +25 -9
  266. package/dist/holmes/review/requirement-triage.js +2 -2
  267. package/dist/holmes/review/run-provenance.d.ts +45 -0
  268. package/dist/holmes/review/run-provenance.js +314 -0
  269. package/dist/holmes/review/semantic-arm.d.ts +3 -3
  270. package/dist/holmes/review/semantic-arm.js +3 -3
  271. package/dist/holmes/review/test-evidence.d.ts +174 -0
  272. package/dist/holmes/review/test-evidence.js +330 -2
  273. package/dist/holmes/review/test-outcomes.js +3 -1
  274. package/dist/holmes/review/test-reports.d.ts +94 -0
  275. package/dist/holmes/review/test-reports.js +382 -0
  276. package/dist/holmes/review/test-runner.d.ts +180 -58
  277. package/dist/holmes/review/test-runner.js +560 -324
  278. package/dist/holmes/review/test-selection-breadth.js +2 -2
  279. package/dist/holmes/review/test-units.d.ts +159 -0
  280. package/dist/holmes/review/test-units.js +814 -0
  281. package/dist/holmes/review/verdicts.d.ts +105 -8
  282. package/dist/holmes/review/verdicts.js +640 -36
  283. package/dist/holmes/rtm/anchor-census.d.ts +9 -0
  284. package/dist/holmes/rtm/anchor-census.js +151 -0
  285. package/dist/holmes/rtm/anchor-ids.d.ts +25 -1
  286. package/dist/holmes/rtm/anchor-ids.js +45 -2
  287. package/dist/holmes/rtm/comment-ranges.d.ts +2 -0
  288. package/dist/holmes/rtm/comment-ranges.js +104 -0
  289. package/dist/holmes/rtm/counted-tests.d.ts +1 -0
  290. package/dist/holmes/rtm/counted-tests.js +63 -0
  291. package/dist/holmes/rtm/impact-advisory.d.ts +1 -1
  292. package/dist/holmes/rtm/known-defects.js +1 -1
  293. package/dist/holmes/rtm/localize.js +1 -1
  294. package/dist/holmes/rtm/taint-benchmark.d.ts +1 -1
  295. package/dist/holmes/rtm/taint-vocabulary.d.ts +1 -1
  296. package/dist/holmes/rtm/test-scope.d.ts +31 -0
  297. package/dist/holmes/rtm/test-scope.js +166 -5
  298. package/dist/holmes/rtm/trace-gaps.js +1 -1
  299. package/dist/holmes/runtime/dispatch.d.ts +10 -0
  300. package/dist/holmes/runtime/dispatch.js +12 -1
  301. package/dist/holmes/semantic/cloud-usage.d.ts +1 -1
  302. package/dist/holmes/semantic/cloud-usage.js +1 -1
  303. package/dist/holmes/semantic/unreadable-paths.d.ts +1 -1
  304. package/dist/holmes/semantic/unreadable-paths.js +1 -1
  305. package/dist/holmes/spec/approval-blockers.js +1 -1
  306. package/dist/holmes/spec/entity-store.d.ts +6 -1
  307. package/dist/holmes/spec/entity-store.js +16 -2
  308. package/dist/holmes/spec/entity-transaction.d.ts +7 -2
  309. package/dist/holmes/spec/entity-transaction.js +87 -170
  310. package/dist/holmes/spec/spec-store.d.ts +12 -6
  311. package/dist/holmes/spec/spec-store.js +4 -2
  312. package/dist/holmes/spec/spec-types.js +1 -1
  313. package/dist/holmes/spec/succession-guard.d.ts +56 -0
  314. package/dist/holmes/spec/succession-guard.js +187 -0
  315. package/dist/holmes/spec/succession.d.ts +70 -0
  316. package/dist/holmes/spec/succession.js +171 -0
  317. package/dist/holmes/spec/transition-policy.d.ts +2 -2
  318. package/docs/install-guide.md +9 -3
  319. package/docs/language-support.md +78 -0
  320. package/package.json +4 -3
  321. package/playbooks/author-slice/PLAYBOOK.md +1 -1
  322. package/playbooks/promote-slice/PLAYBOOK.md +5 -1
  323. package/playbooks/publish/PLAYBOOK.md +47 -34
  324. package/dist/holmes/review/manual-baseline.d.ts +0 -209
  325. package/dist/holmes/review/manual-baseline.js +0 -2847
@@ -77,6 +77,11 @@ export interface ElicitOpts {
77
77
  export declare function unreadableAmong(listed: ReadonlyArray<{
78
78
  id: string;
79
79
  }>, created: readonly string[]): string[];
80
+ /**
81
+ * @implements A-SPEC-792.26 — the in-process handle on the host-gated preparation, so a test can call it directly on a
82
+ * gated session (F1-e.0e f); a symbol key is skipped by every name-based listing, so the wire never sees it.
83
+ */
84
+ export declare const HOST_APPROVAL_PROBE: unique symbol;
80
85
  export declare function makeHandlers(store: SpecStore, opts?: ElicitOpts): RawHandlers & {
81
86
  basis_detail(a: {
82
87
  root?: string;
@@ -132,7 +137,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
132
137
  target?: undefined;
133
138
  executable?: undefined;
134
139
  code?: undefined;
135
- reason?: undefined;
140
+ readonly reason?: undefined;
136
141
  } | {
137
142
  ok: boolean;
138
143
  plan: import("../spec/entity-integration-transaction").EntityIntegrationRecoveryInspection;
@@ -140,7 +145,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
140
145
  executable: boolean;
141
146
  obligations?: undefined;
142
147
  code?: undefined;
143
- reason?: undefined;
148
+ readonly reason?: undefined;
144
149
  } | {
145
150
  blockers: string[];
146
151
  target?: string | undefined;
@@ -150,7 +155,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
150
155
  executable: boolean;
151
156
  obligations?: undefined;
152
157
  code?: undefined;
153
- reason?: undefined;
158
+ readonly reason?: undefined;
154
159
  } | {
155
160
  ok: boolean;
156
161
  code: string;
@@ -180,7 +185,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
180
185
  ok: boolean;
181
186
  plan: import("../spec/entity-renumber-transaction").EntityRenumberRecoveryPlan;
182
187
  code?: undefined;
183
- reason?: undefined;
188
+ readonly reason?: undefined;
184
189
  conflicts?: undefined;
185
190
  ids?: undefined;
186
191
  executable?: undefined;
@@ -205,7 +210,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
205
210
  code: string;
206
211
  conflicts: string[];
207
212
  plan?: undefined;
208
- reason?: undefined;
213
+ readonly reason?: undefined;
209
214
  ids?: undefined;
210
215
  executable?: undefined;
211
216
  blockers?: undefined;
@@ -253,7 +258,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
253
258
  };
254
259
  plan?: undefined;
255
260
  code?: undefined;
256
- reason?: undefined;
261
+ readonly reason?: undefined;
257
262
  conflicts?: undefined;
258
263
  ids?: undefined;
259
264
  recoveryAvailable?: undefined;
@@ -287,7 +292,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
287
292
  schema: string;
288
293
  };
289
294
  code?: undefined;
290
- reason?: undefined;
295
+ readonly reason?: undefined;
291
296
  conflicts?: undefined;
292
297
  ids?: undefined;
293
298
  }>;
@@ -309,7 +314,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
309
314
  ok: boolean;
310
315
  plan: import("../spec/entity-store").EntityAdoptionPlan;
311
316
  code?: undefined;
312
- reason?: undefined;
317
+ readonly reason?: undefined;
313
318
  } | {
314
319
  ok: boolean;
315
320
  plan: {
@@ -358,7 +363,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
358
363
  })[];
359
364
  };
360
365
  code?: undefined;
361
- reason?: undefined;
366
+ readonly reason?: undefined;
362
367
  } | {
363
368
  ok: boolean;
364
369
  code: string;
@@ -485,6 +490,11 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
485
490
  since?: string;
486
491
  budget?: number;
487
492
  }) => Promise<{
493
+ testCountDiagnostics?: {
494
+ file: string;
495
+ aspecs: string[];
496
+ reason: string;
497
+ }[] | undefined;
488
498
  scopeFallback?: "full" | undefined;
489
499
  package: import("../review/package").ReviewPackage;
490
500
  unscannedChangedFiles: string[];
@@ -514,7 +524,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
514
524
  };
515
525
  reviewNeeded: import("../review/review-targets").ReviewNeeded[];
516
526
  ok?: undefined;
517
- reason?: undefined;
527
+ readonly reason?: undefined;
518
528
  } | {
519
529
  reviewNeeded: Array<{
520
530
  spec: string;
@@ -531,9 +541,9 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
531
541
  minor: number;
532
542
  };
533
543
  ok?: undefined;
534
- reason?: undefined;
544
+ readonly reason?: undefined;
535
545
  }>;
536
- risk_check: (a: {
546
+ risk_check: (raw: {
537
547
  root?: string;
538
548
  action: import("../guardrail/risk-types").RiskAction;
539
549
  approval?: Approval;
@@ -544,7 +554,12 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
544
554
  rationale?: string;
545
555
  }) => Promise<{
546
556
  assessment: import("../guardrail/risk-types").RiskAssessment;
547
- gate: import("../guardrail/risk-gate").GateResult;
557
+ gate: {
558
+ blocked: boolean;
559
+ level: import("../guardrail/risk-types").RiskLevel;
560
+ requiresApproval: boolean;
561
+ reasons: string[];
562
+ };
548
563
  }>;
549
564
  reverse_scan: (a: {
550
565
  root: string;
@@ -614,7 +629,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
614
629
  reason: string;
615
630
  findings?: unknown[];
616
631
  }[];
617
- reason?: undefined;
632
+ readonly reason?: undefined;
618
633
  availableClusters?: undefined;
619
634
  }>;
620
635
  reverse_anchor: (a: {
@@ -653,7 +668,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
653
668
  ok: boolean;
654
669
  specsCreated: string[];
655
670
  unreadable: string[];
656
- reason?: undefined;
671
+ readonly reason?: undefined;
657
672
  existing?: undefined;
658
673
  }>;
659
674
  spec_slice_approve: (a: {
@@ -674,6 +689,11 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
674
689
  targetFile?: string;
675
690
  aspecId?: string;
676
691
  }) => Promise<{
692
+ diagnosis?: {
693
+ file: string;
694
+ aspecs: string[];
695
+ reason: string;
696
+ }[] | undefined;
677
697
  ok: boolean;
678
698
  actionsTaken: string[];
679
699
  refused: {
@@ -714,7 +734,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
714
734
  ok: boolean;
715
735
  applied: boolean;
716
736
  operation: string;
717
- reason?: undefined;
737
+ readonly reason?: undefined;
718
738
  } | {
719
739
  planDigest: string;
720
740
  conflicts: string[];
@@ -725,7 +745,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
725
745
  }[];
726
746
  ok: boolean;
727
747
  applied: boolean;
728
- reason?: undefined;
748
+ readonly reason?: undefined;
729
749
  } | {
730
750
  planDigest: string;
731
751
  conflicts: string[];
@@ -757,7 +777,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
757
777
  suppressed?: true | undefined;
758
778
  availability: string;
759
779
  missingLineages?: string[] | undefined;
760
- tier: "local" | "none" | "cloud";
780
+ tier: "none" | "local" | "cloud";
761
781
  covered: number;
762
782
  total: number;
763
783
  unlineaged: number;
@@ -782,7 +802,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
782
802
  };
783
803
  }[];
784
804
  graph: {
785
- status: "current" | "unreadable" | "empty" | "absent" | "stale" | "unverified";
805
+ status: "absent" | "current" | "empty" | "unreadable" | "stale" | "unverified";
786
806
  sourceCommit: string | null;
787
807
  graphAsOf: string | null;
788
808
  resolutionLimits: string[];
@@ -817,7 +837,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
817
837
  suppressed?: true | undefined;
818
838
  availability: string;
819
839
  missingLineages?: string[] | undefined;
820
- tier: "local" | "none" | "cloud";
840
+ tier: "none" | "local" | "cloud";
821
841
  covered: number;
822
842
  total: number;
823
843
  unlineaged: number;
@@ -842,7 +862,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
842
862
  };
843
863
  }[];
844
864
  graph: {
845
- status: "current" | "unreadable" | "empty" | "absent" | "stale" | "unverified";
865
+ status: "absent" | "current" | "empty" | "unreadable" | "stale" | "unverified";
846
866
  sourceCommit: string | null;
847
867
  graphAsOf: string | null;
848
868
  resolutionLimits: string[];
@@ -899,7 +919,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
899
919
  suppressed?: true | undefined;
900
920
  availability: string;
901
921
  missingLineages?: string[] | undefined;
902
- tier: "local" | "none" | "cloud";
922
+ tier: "none" | "local" | "cloud";
903
923
  covered: number;
904
924
  total: number;
905
925
  unlineaged: number;
@@ -924,7 +944,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
924
944
  };
925
945
  }[];
926
946
  graph: {
927
- status: "current" | "unreadable" | "empty" | "absent" | "stale" | "unverified";
947
+ status: "absent" | "current" | "empty" | "unreadable" | "stale" | "unverified";
928
948
  sourceCommit: string | null;
929
949
  graphAsOf: string | null;
930
950
  resolutionLimits: string[];
@@ -965,7 +985,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
965
985
  suppressed?: true | undefined;
966
986
  availability: string;
967
987
  missingLineages?: string[] | undefined;
968
- tier: "local" | "none" | "cloud";
988
+ tier: "none" | "local" | "cloud";
969
989
  covered: number;
970
990
  total: number;
971
991
  unlineaged: number;
@@ -990,7 +1010,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
990
1010
  };
991
1011
  }[];
992
1012
  graph: {
993
- status: "current" | "unreadable" | "empty" | "absent" | "stale" | "unverified";
1013
+ status: "absent" | "current" | "empty" | "unreadable" | "stale" | "unverified";
994
1014
  sourceCommit: string | null;
995
1015
  graphAsOf: string | null;
996
1016
  resolutionLimits: string[];
@@ -1076,7 +1096,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1076
1096
  ts: string;
1077
1097
  }[];
1078
1098
  remaining: string[];
1079
- reason?: undefined;
1099
+ readonly reason?: undefined;
1080
1100
  pending?: undefined;
1081
1101
  code?: undefined;
1082
1102
  }>;
@@ -1116,6 +1136,14 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1116
1136
  causes: Record<string, number>;
1117
1137
  };
1118
1138
  }>;
1139
+ [HOST_APPROVAL_PROBE]: {
1140
+ prepareHostApproval: (input: {
1141
+ kind: string;
1142
+ target: string;
1143
+ subject: string;
1144
+ root?: string;
1145
+ }) => ApprovalIntent;
1146
+ };
1119
1147
  spec_create: (a: any) => Promise<{
1120
1148
  ok: boolean;
1121
1149
  reason: string;
@@ -1123,7 +1151,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1123
1151
  } | {
1124
1152
  created: any;
1125
1153
  ok?: undefined;
1126
- reason?: undefined;
1154
+ readonly reason?: undefined;
1127
1155
  }>;
1128
1156
  spec_validate: (a: any) => Promise<{
1129
1157
  ok: boolean;
@@ -1155,31 +1183,19 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1155
1183
  type: import("../spec/spec-types").SpecType;
1156
1184
  legacyStatus: string;
1157
1185
  remaining: import("../spec/validator").Finding[];
1158
- reason?: undefined;
1186
+ readonly reason?: undefined;
1159
1187
  }>;
1160
1188
  spec_retire: (a: {
1161
1189
  root?: string;
1162
1190
  id: string;
1163
1191
  reason?: string;
1164
- }) => Promise<{
1165
- ok: boolean;
1166
- reason: string;
1167
- retired?: undefined;
1168
- id?: undefined;
1169
- dependents?: undefined;
1170
- } | {
1171
- ok: boolean;
1172
- retired: boolean;
1173
- id: string;
1174
- dependents: never[];
1175
- reason: string;
1176
- } | {
1177
- ok: boolean;
1178
- retired: boolean;
1179
- id: string;
1180
- dependents: string[];
1181
- reason?: undefined;
1182
- }>;
1192
+ supersededBy?: string;
1193
+ directive?: string;
1194
+ also?: {
1195
+ id: string;
1196
+ supersededBy: string;
1197
+ }[];
1198
+ }) => Promise<Record<string, unknown>>;
1183
1199
  spec_renumber: (a: {
1184
1200
  root?: string;
1185
1201
  oldBase: string;
@@ -1206,25 +1222,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1206
1222
  spec_unseal: (a: {
1207
1223
  root?: string;
1208
1224
  id: string;
1209
- }) => Promise<{
1210
- ok: boolean;
1211
- reason: string;
1212
- unsealed?: undefined;
1213
- id?: undefined;
1214
- dependents?: undefined;
1215
- } | {
1216
- ok: boolean;
1217
- unsealed: boolean;
1218
- id: string;
1219
- dependents: never[];
1220
- reason: string;
1221
- } | {
1222
- ok: boolean;
1223
- unsealed: boolean;
1224
- id: string;
1225
- dependents: string[];
1226
- reason?: undefined;
1227
- }>;
1225
+ }) => Promise<Record<string, unknown>>;
1228
1226
  approval_status: (a: {
1229
1227
  root?: string;
1230
1228
  id: string;
@@ -1263,7 +1261,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1263
1261
  blockers: string[];
1264
1262
  resealBlockers: string[];
1265
1263
  ok: boolean;
1266
- reason?: undefined;
1264
+ readonly reason?: undefined;
1267
1265
  }>;
1268
1266
  ledger_timeline: (a: {
1269
1267
  root?: string;
@@ -1275,7 +1273,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1275
1273
  } | {
1276
1274
  ok: boolean;
1277
1275
  events: import("../governance/ledger-timeline").TimelineEntry[];
1278
- reason?: undefined;
1276
+ readonly reason?: undefined;
1279
1277
  }>;
1280
1278
  rtm_dashboard: (a: {
1281
1279
  root?: string;
@@ -1311,7 +1309,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1311
1309
  retiredCount: number;
1312
1310
  findingsScanned: boolean;
1313
1311
  };
1314
- reason?: undefined;
1312
+ readonly reason?: undefined;
1315
1313
  }>;
1316
1314
  spec_approve: (a: {
1317
1315
  root?: string;
@@ -1326,18 +1324,28 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1326
1324
  reason: string;
1327
1325
  blockers: string[];
1328
1326
  approvalIntent?: undefined;
1327
+ code?: undefined;
1329
1328
  conflict?: undefined;
1330
1329
  } | {
1331
1330
  ok: boolean;
1332
1331
  reason: string;
1333
1332
  blockers?: undefined;
1334
1333
  approvalIntent?: undefined;
1334
+ code?: undefined;
1335
1335
  conflict?: undefined;
1336
1336
  } | {
1337
1337
  ok: boolean;
1338
1338
  reason: string;
1339
1339
  approvalIntent: ApprovalIntent;
1340
1340
  blockers?: undefined;
1341
+ code?: undefined;
1342
+ conflict?: undefined;
1343
+ } | {
1344
+ ok: boolean;
1345
+ code: string;
1346
+ reason: string;
1347
+ blockers?: undefined;
1348
+ approvalIntent?: undefined;
1341
1349
  conflict?: undefined;
1342
1350
  } | {
1343
1351
  ok: boolean;
@@ -1345,6 +1353,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1345
1353
  conflict: import("../spec/version-conflict").ConflictDetail;
1346
1354
  blockers?: undefined;
1347
1355
  approvalIntent?: undefined;
1356
+ code?: undefined;
1348
1357
  } | {
1349
1358
  ancestorWarning?: string | undefined;
1350
1359
  scaffoldWarning?: string | undefined;
@@ -1353,7 +1362,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1353
1362
  advisoryIds?: Partial<Record<string, string>> | undefined;
1354
1363
  killsAdvisory?: import("../review/kills-check").KillsAdvisory | undefined;
1355
1364
  fttFulfilment?: import("../rtm/ftt-fulfilment").FttFulfilment | undefined;
1356
- impactAdvisoryUnavailable?: "unreadable" | "empty" | undefined;
1365
+ impactAdvisoryUnavailable?: "empty" | "unreadable" | undefined;
1357
1366
  impactGraph?: {
1358
1367
  status: "current" | "stale" | "unverified";
1359
1368
  sourceCommit: string | null;
@@ -1365,9 +1374,10 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1365
1374
  approved: string;
1366
1375
  digest: string;
1367
1376
  ok?: undefined;
1368
- reason?: undefined;
1377
+ readonly reason?: undefined;
1369
1378
  blockers?: undefined;
1370
1379
  approvalIntent?: undefined;
1380
+ code?: undefined;
1371
1381
  conflict?: undefined;
1372
1382
  }>;
1373
1383
  spec_list: (a: any) => Promise<Record<string, any>>;
@@ -1399,7 +1409,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1399
1409
  chainTotal: number;
1400
1410
  note: string;
1401
1411
  ok?: undefined;
1402
- reason?: undefined;
1412
+ readonly reason?: undefined;
1403
1413
  } | {
1404
1414
  next: import("../spec/spec-types").SpecType | null;
1405
1415
  actions: {
@@ -1410,7 +1420,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1410
1420
  actionsTotal: number;
1411
1421
  note: string;
1412
1422
  ok?: undefined;
1413
- reason?: undefined;
1423
+ readonly reason?: undefined;
1414
1424
  chain?: undefined;
1415
1425
  chainTotal?: undefined;
1416
1426
  }>;
@@ -1427,12 +1437,12 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1427
1437
  gaps: import("../rtm/gap-analyzer").ConvergenceGaps;
1428
1438
  breakingChangeDistribution: Record<string, number>;
1429
1439
  ok?: undefined;
1430
- reason?: undefined;
1440
+ readonly reason?: undefined;
1431
1441
  } | {
1432
1442
  issues: import("../rtm/rtm-check").RtmIssue[];
1433
1443
  breakingChangeDistribution: Record<string, number>;
1434
1444
  ok?: undefined;
1435
- reason?: undefined;
1445
+ readonly reason?: undefined;
1436
1446
  gaps?: undefined;
1437
1447
  }>;
1438
1448
  citation_pin: (a: {
@@ -1454,7 +1464,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1454
1464
  pinned: string[];
1455
1465
  findings: import("../spec/validator").Finding[];
1456
1466
  citations: unknown[];
1457
- reason?: undefined;
1467
+ readonly reason?: undefined;
1458
1468
  }>;
1459
1469
  phase_status: (a: {
1460
1470
  root?: string;
@@ -1488,7 +1498,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1488
1498
  }[];
1489
1499
  matched: number;
1490
1500
  ok?: undefined;
1491
- reason?: undefined;
1501
+ readonly reason?: undefined;
1492
1502
  }>;
1493
1503
  phase_check: (a: {
1494
1504
  action?: import("../guardrail/phase").Action;
@@ -1558,15 +1568,18 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1558
1568
  truncated: number;
1559
1569
  pairs: import("../rtm/taint").TaintPair[];
1560
1570
  ok?: undefined;
1561
- reason?: undefined;
1571
+ readonly reason?: undefined;
1562
1572
  }>;
1563
1573
  test_run: (a: {
1564
1574
  root: string;
1565
- base?: string;
1566
- head?: string;
1575
+ base?: string | null;
1576
+ head?: string | null;
1567
1577
  since?: string;
1568
1578
  mark?: string;
1569
1579
  mutate?: string;
1580
+ workers?: number;
1581
+ timeoutMinutes?: number | null;
1582
+ full?: boolean;
1570
1583
  }) => Promise<{
1571
1584
  mutate: {
1572
1585
  tspec: string;
@@ -1580,7 +1593,7 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1580
1593
  applied: boolean;
1581
1594
  verdict?: "killed" | "survived";
1582
1595
  mutation: import("../spec/kills").Mutation;
1583
- reason?: undefined;
1596
+ readonly reason?: undefined;
1584
1597
  })[];
1585
1598
  survivors: import("../spec/kills").Mutation[];
1586
1599
  unapplied: {
@@ -1588,7 +1601,11 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1588
1601
  reason: string;
1589
1602
  }[];
1590
1603
  };
1604
+ workers: null;
1605
+ workersIgnored: "mutate" | undefined;
1606
+ timeoutMinutes: number;
1591
1607
  } | {
1608
+ worktreeLeft?: string | undefined;
1592
1609
  anchorDiagnostics?: {
1593
1610
  hint: string;
1594
1611
  file: string;
@@ -1597,17 +1614,475 @@ declare function makeRawHandlers(store: SpecStore, opts?: ElicitOpts): {
1597
1614
  dropped: string[];
1598
1615
  }[] | undefined;
1599
1616
  calibrationClosed?: string[] | undefined;
1617
+ nextCall?: string | undefined;
1618
+ notFullBecause?: string | undefined;
1619
+ excludeDirsIgnored?: {
1620
+ entry: string;
1621
+ reason: string;
1622
+ }[] | undefined;
1623
+ recordFailed?: string[] | undefined;
1624
+ ranIn: "head-worktree";
1625
+ worktree: {
1626
+ createMs: number;
1627
+ prepareMs: number;
1628
+ runMs: number;
1629
+ };
1630
+ notBuilt?: string[] | undefined;
1631
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1632
+ untestedCode?: {
1633
+ root: string;
1634
+ sample: string[];
1635
+ missingBuildFile?: string;
1636
+ }[] | undefined;
1637
+ notExecuted?: string[] | undefined;
1638
+ notTests?: string[] | undefined;
1639
+ implementationCount?: number | undefined;
1640
+ environment?: {
1641
+ ecosystem: string;
1642
+ dir: string;
1643
+ reason: string;
1644
+ }[] | undefined;
1645
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1646
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1647
+ detected?: string[] | undefined;
1648
+ testsRun: number;
1649
+ testsRunBy: Record<string, number>;
1650
+ scopedEvidenceRecorded?: true | undefined;
1651
+ baselineSkipped?: "not a full run" | undefined;
1600
1652
  baselineRecorded?: string | undefined;
1601
1653
  scopeFallback?: "full" | undefined;
1654
+ timeoutMinutes: number;
1655
+ unresolvedFiles: string[];
1656
+ changeSource: ChangeSourceInfo;
1657
+ workersIgnoredBy: string[];
1658
+ workersIgnored: "nothing ran" | "no jest group";
1602
1659
  tier: import("../rtm/test-scope").RegressionTier;
1603
- mode: "full" | "noop" | "scoped";
1660
+ mode: "full" | "scoped" | "noop";
1604
1661
  passed: boolean;
1605
1662
  skipped: boolean;
1606
1663
  ranFiles: string[];
1664
+ ranWith: string[];
1607
1665
  executedByAspec: Record<string, number>;
1608
1666
  tail: string;
1667
+ workers: number | null;
1668
+ mutate?: undefined;
1669
+ } | {
1670
+ worktreeLeft?: string | undefined;
1671
+ anchorDiagnostics?: {
1672
+ hint: string;
1673
+ file: string;
1674
+ line: number;
1675
+ separator: string;
1676
+ dropped: string[];
1677
+ }[] | undefined;
1678
+ calibrationClosed?: string[] | undefined;
1679
+ nextCall?: string | undefined;
1680
+ notFullBecause?: string | undefined;
1681
+ excludeDirsIgnored?: {
1682
+ entry: string;
1683
+ reason: string;
1684
+ }[] | undefined;
1685
+ recordFailed?: string[] | undefined;
1686
+ ranIn?: undefined;
1687
+ worktree?: undefined;
1688
+ notBuilt?: string[] | undefined;
1689
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1690
+ untestedCode?: {
1691
+ root: string;
1692
+ sample: string[];
1693
+ missingBuildFile?: string;
1694
+ }[] | undefined;
1695
+ notExecuted?: string[] | undefined;
1696
+ notTests?: string[] | undefined;
1697
+ implementationCount?: number | undefined;
1698
+ environment?: {
1699
+ ecosystem: string;
1700
+ dir: string;
1701
+ reason: string;
1702
+ }[] | undefined;
1703
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1704
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1705
+ detected?: string[] | undefined;
1706
+ testsRun: number;
1707
+ testsRunBy: Record<string, number>;
1708
+ scopedEvidenceRecorded?: true | undefined;
1709
+ baselineSkipped?: "not a full run" | undefined;
1710
+ baselineRecorded?: string | undefined;
1711
+ scopeFallback?: "full" | undefined;
1712
+ timeoutMinutes: number;
1609
1713
  unresolvedFiles: string[];
1610
1714
  changeSource: ChangeSourceInfo;
1715
+ workersIgnoredBy: string[];
1716
+ workersIgnored: "nothing ran" | "no jest group";
1717
+ tier: import("../rtm/test-scope").RegressionTier;
1718
+ mode: "full" | "scoped" | "noop";
1719
+ passed: boolean;
1720
+ skipped: boolean;
1721
+ ranFiles: string[];
1722
+ ranWith: string[];
1723
+ executedByAspec: Record<string, number>;
1724
+ tail: string;
1725
+ workers: number | null;
1726
+ mutate?: undefined;
1727
+ } | {
1728
+ worktreeLeft?: string | undefined;
1729
+ anchorDiagnostics?: {
1730
+ hint: string;
1731
+ file: string;
1732
+ line: number;
1733
+ separator: string;
1734
+ dropped: string[];
1735
+ }[] | undefined;
1736
+ calibrationClosed?: string[] | undefined;
1737
+ nextCall?: string | undefined;
1738
+ notFullBecause?: string | undefined;
1739
+ excludeDirsIgnored?: {
1740
+ entry: string;
1741
+ reason: string;
1742
+ }[] | undefined;
1743
+ recordFailed?: string[] | undefined;
1744
+ ranIn: "head-worktree";
1745
+ worktree: {
1746
+ createMs: number;
1747
+ prepareMs: number;
1748
+ runMs: number;
1749
+ };
1750
+ notBuilt?: string[] | undefined;
1751
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1752
+ untestedCode?: {
1753
+ root: string;
1754
+ sample: string[];
1755
+ missingBuildFile?: string;
1756
+ }[] | undefined;
1757
+ notExecuted?: string[] | undefined;
1758
+ notTests?: string[] | undefined;
1759
+ implementationCount?: number | undefined;
1760
+ environment?: {
1761
+ ecosystem: string;
1762
+ dir: string;
1763
+ reason: string;
1764
+ }[] | undefined;
1765
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1766
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1767
+ detected?: string[] | undefined;
1768
+ testsRun: number;
1769
+ testsRunBy: Record<string, number>;
1770
+ scopedEvidenceRecorded?: true | undefined;
1771
+ baselineSkipped?: "not a full run" | undefined;
1772
+ baselineRecorded?: string | undefined;
1773
+ scopeFallback?: "full" | undefined;
1774
+ timeoutMinutes: number;
1775
+ unresolvedFiles: string[];
1776
+ changeSource: ChangeSourceInfo;
1777
+ workersIgnoredBy?: undefined;
1778
+ workersIgnored: "nothing ran" | "no jest group";
1779
+ tier: import("../rtm/test-scope").RegressionTier;
1780
+ mode: "full" | "scoped" | "noop";
1781
+ passed: boolean;
1782
+ skipped: boolean;
1783
+ ranFiles: string[];
1784
+ ranWith: string[];
1785
+ executedByAspec: Record<string, number>;
1786
+ tail: string;
1787
+ workers: number | null;
1788
+ mutate?: undefined;
1789
+ } | {
1790
+ worktreeLeft?: string | undefined;
1791
+ anchorDiagnostics?: {
1792
+ hint: string;
1793
+ file: string;
1794
+ line: number;
1795
+ separator: string;
1796
+ dropped: string[];
1797
+ }[] | undefined;
1798
+ calibrationClosed?: string[] | undefined;
1799
+ nextCall?: string | undefined;
1800
+ notFullBecause?: string | undefined;
1801
+ excludeDirsIgnored?: {
1802
+ entry: string;
1803
+ reason: string;
1804
+ }[] | undefined;
1805
+ recordFailed?: string[] | undefined;
1806
+ ranIn?: undefined;
1807
+ worktree?: undefined;
1808
+ notBuilt?: string[] | undefined;
1809
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1810
+ untestedCode?: {
1811
+ root: string;
1812
+ sample: string[];
1813
+ missingBuildFile?: string;
1814
+ }[] | undefined;
1815
+ notExecuted?: string[] | undefined;
1816
+ notTests?: string[] | undefined;
1817
+ implementationCount?: number | undefined;
1818
+ environment?: {
1819
+ ecosystem: string;
1820
+ dir: string;
1821
+ reason: string;
1822
+ }[] | undefined;
1823
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1824
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1825
+ detected?: string[] | undefined;
1826
+ testsRun: number;
1827
+ testsRunBy: Record<string, number>;
1828
+ scopedEvidenceRecorded?: true | undefined;
1829
+ baselineSkipped?: "not a full run" | undefined;
1830
+ baselineRecorded?: string | undefined;
1831
+ scopeFallback?: "full" | undefined;
1832
+ timeoutMinutes: number;
1833
+ unresolvedFiles: string[];
1834
+ changeSource: ChangeSourceInfo;
1835
+ workersIgnoredBy?: undefined;
1836
+ workersIgnored: "nothing ran" | "no jest group";
1837
+ tier: import("../rtm/test-scope").RegressionTier;
1838
+ mode: "full" | "scoped" | "noop";
1839
+ passed: boolean;
1840
+ skipped: boolean;
1841
+ ranFiles: string[];
1842
+ ranWith: string[];
1843
+ executedByAspec: Record<string, number>;
1844
+ tail: string;
1845
+ workers: number | null;
1846
+ mutate?: undefined;
1847
+ } | {
1848
+ worktreeLeft?: string | undefined;
1849
+ anchorDiagnostics?: {
1850
+ hint: string;
1851
+ file: string;
1852
+ line: number;
1853
+ separator: string;
1854
+ dropped: string[];
1855
+ }[] | undefined;
1856
+ calibrationClosed?: string[] | undefined;
1857
+ nextCall?: string | undefined;
1858
+ notFullBecause?: string | undefined;
1859
+ excludeDirsIgnored?: {
1860
+ entry: string;
1861
+ reason: string;
1862
+ }[] | undefined;
1863
+ recordFailed?: string[] | undefined;
1864
+ ranIn: "head-worktree";
1865
+ worktree: {
1866
+ createMs: number;
1867
+ prepareMs: number;
1868
+ runMs: number;
1869
+ };
1870
+ notBuilt?: string[] | undefined;
1871
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1872
+ untestedCode?: {
1873
+ root: string;
1874
+ sample: string[];
1875
+ missingBuildFile?: string;
1876
+ }[] | undefined;
1877
+ notExecuted?: string[] | undefined;
1878
+ notTests?: string[] | undefined;
1879
+ implementationCount?: number | undefined;
1880
+ environment?: {
1881
+ ecosystem: string;
1882
+ dir: string;
1883
+ reason: string;
1884
+ }[] | undefined;
1885
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1886
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1887
+ detected?: string[] | undefined;
1888
+ testsRun: number;
1889
+ testsRunBy: Record<string, number>;
1890
+ scopedEvidenceRecorded?: true | undefined;
1891
+ baselineSkipped?: "not a full run" | undefined;
1892
+ baselineRecorded?: string | undefined;
1893
+ scopeFallback?: "full" | undefined;
1894
+ timeoutMinutes: number;
1895
+ unresolvedFiles: string[];
1896
+ changeSource: ChangeSourceInfo;
1897
+ workersIgnoredBy: string[];
1898
+ workersIgnored?: undefined;
1899
+ tier: import("../rtm/test-scope").RegressionTier;
1900
+ mode: "full" | "scoped" | "noop";
1901
+ passed: boolean;
1902
+ skipped: boolean;
1903
+ ranFiles: string[];
1904
+ ranWith: string[];
1905
+ executedByAspec: Record<string, number>;
1906
+ tail: string;
1907
+ workers: number | null;
1908
+ mutate?: undefined;
1909
+ } | {
1910
+ worktreeLeft?: string | undefined;
1911
+ anchorDiagnostics?: {
1912
+ hint: string;
1913
+ file: string;
1914
+ line: number;
1915
+ separator: string;
1916
+ dropped: string[];
1917
+ }[] | undefined;
1918
+ calibrationClosed?: string[] | undefined;
1919
+ nextCall?: string | undefined;
1920
+ notFullBecause?: string | undefined;
1921
+ excludeDirsIgnored?: {
1922
+ entry: string;
1923
+ reason: string;
1924
+ }[] | undefined;
1925
+ recordFailed?: string[] | undefined;
1926
+ ranIn?: undefined;
1927
+ worktree?: undefined;
1928
+ notBuilt?: string[] | undefined;
1929
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1930
+ untestedCode?: {
1931
+ root: string;
1932
+ sample: string[];
1933
+ missingBuildFile?: string;
1934
+ }[] | undefined;
1935
+ notExecuted?: string[] | undefined;
1936
+ notTests?: string[] | undefined;
1937
+ implementationCount?: number | undefined;
1938
+ environment?: {
1939
+ ecosystem: string;
1940
+ dir: string;
1941
+ reason: string;
1942
+ }[] | undefined;
1943
+ units?: import("../review/test-runner").UnitResult[] | undefined;
1944
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
1945
+ detected?: string[] | undefined;
1946
+ testsRun: number;
1947
+ testsRunBy: Record<string, number>;
1948
+ scopedEvidenceRecorded?: true | undefined;
1949
+ baselineSkipped?: "not a full run" | undefined;
1950
+ baselineRecorded?: string | undefined;
1951
+ scopeFallback?: "full" | undefined;
1952
+ timeoutMinutes: number;
1953
+ unresolvedFiles: string[];
1954
+ changeSource: ChangeSourceInfo;
1955
+ workersIgnoredBy: string[];
1956
+ workersIgnored?: undefined;
1957
+ tier: import("../rtm/test-scope").RegressionTier;
1958
+ mode: "full" | "scoped" | "noop";
1959
+ passed: boolean;
1960
+ skipped: boolean;
1961
+ ranFiles: string[];
1962
+ ranWith: string[];
1963
+ executedByAspec: Record<string, number>;
1964
+ tail: string;
1965
+ workers: number | null;
1966
+ mutate?: undefined;
1967
+ } | {
1968
+ worktreeLeft?: string | undefined;
1969
+ anchorDiagnostics?: {
1970
+ hint: string;
1971
+ file: string;
1972
+ line: number;
1973
+ separator: string;
1974
+ dropped: string[];
1975
+ }[] | undefined;
1976
+ calibrationClosed?: string[] | undefined;
1977
+ nextCall?: string | undefined;
1978
+ notFullBecause?: string | undefined;
1979
+ excludeDirsIgnored?: {
1980
+ entry: string;
1981
+ reason: string;
1982
+ }[] | undefined;
1983
+ recordFailed?: string[] | undefined;
1984
+ ranIn: "head-worktree";
1985
+ worktree: {
1986
+ createMs: number;
1987
+ prepareMs: number;
1988
+ runMs: number;
1989
+ };
1990
+ notBuilt?: string[] | undefined;
1991
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
1992
+ untestedCode?: {
1993
+ root: string;
1994
+ sample: string[];
1995
+ missingBuildFile?: string;
1996
+ }[] | undefined;
1997
+ notExecuted?: string[] | undefined;
1998
+ notTests?: string[] | undefined;
1999
+ implementationCount?: number | undefined;
2000
+ environment?: {
2001
+ ecosystem: string;
2002
+ dir: string;
2003
+ reason: string;
2004
+ }[] | undefined;
2005
+ units?: import("../review/test-runner").UnitResult[] | undefined;
2006
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
2007
+ detected?: string[] | undefined;
2008
+ testsRun: number;
2009
+ testsRunBy: Record<string, number>;
2010
+ scopedEvidenceRecorded?: true | undefined;
2011
+ baselineSkipped?: "not a full run" | undefined;
2012
+ baselineRecorded?: string | undefined;
2013
+ scopeFallback?: "full" | undefined;
2014
+ timeoutMinutes: number;
2015
+ unresolvedFiles: string[];
2016
+ changeSource: ChangeSourceInfo;
2017
+ workersIgnoredBy?: undefined;
2018
+ workersIgnored?: undefined;
2019
+ tier: import("../rtm/test-scope").RegressionTier;
2020
+ mode: "full" | "scoped" | "noop";
2021
+ passed: boolean;
2022
+ skipped: boolean;
2023
+ ranFiles: string[];
2024
+ ranWith: string[];
2025
+ executedByAspec: Record<string, number>;
2026
+ tail: string;
2027
+ workers: number | null;
2028
+ mutate?: undefined;
2029
+ } | {
2030
+ worktreeLeft?: string | undefined;
2031
+ anchorDiagnostics?: {
2032
+ hint: string;
2033
+ file: string;
2034
+ line: number;
2035
+ separator: string;
2036
+ dropped: string[];
2037
+ }[] | undefined;
2038
+ calibrationClosed?: string[] | undefined;
2039
+ nextCall?: string | undefined;
2040
+ notFullBecause?: string | undefined;
2041
+ excludeDirsIgnored?: {
2042
+ entry: string;
2043
+ reason: string;
2044
+ }[] | undefined;
2045
+ recordFailed?: string[] | undefined;
2046
+ ranIn?: undefined;
2047
+ worktree?: undefined;
2048
+ notBuilt?: string[] | undefined;
2049
+ notDetected?: import("../review/test-evidence").NotDetected[] | undefined;
2050
+ untestedCode?: {
2051
+ root: string;
2052
+ sample: string[];
2053
+ missingBuildFile?: string;
2054
+ }[] | undefined;
2055
+ notExecuted?: string[] | undefined;
2056
+ notTests?: string[] | undefined;
2057
+ implementationCount?: number | undefined;
2058
+ environment?: {
2059
+ ecosystem: string;
2060
+ dir: string;
2061
+ reason: string;
2062
+ }[] | undefined;
2063
+ units?: import("../review/test-runner").UnitResult[] | undefined;
2064
+ notRun?: import("../review/test-evidence").NotRun[] | undefined;
2065
+ detected?: string[] | undefined;
2066
+ testsRun: number;
2067
+ testsRunBy: Record<string, number>;
2068
+ scopedEvidenceRecorded?: true | undefined;
2069
+ baselineSkipped?: "not a full run" | undefined;
2070
+ baselineRecorded?: string | undefined;
2071
+ scopeFallback?: "full" | undefined;
2072
+ timeoutMinutes: number;
2073
+ unresolvedFiles: string[];
2074
+ changeSource: ChangeSourceInfo;
2075
+ workersIgnoredBy?: undefined;
2076
+ workersIgnored?: undefined;
2077
+ tier: import("../rtm/test-scope").RegressionTier;
2078
+ mode: "full" | "scoped" | "noop";
2079
+ passed: boolean;
2080
+ skipped: boolean;
2081
+ ranFiles: string[];
2082
+ ranWith: string[];
2083
+ executedByAspec: Record<string, number>;
2084
+ tail: string;
2085
+ workers: number | null;
1611
2086
  mutate?: undefined;
1612
2087
  }>;
1613
2088
  issue_localize: (a: {