@sema-agent/core 7.72.0 → 7.73.0

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 (256) hide show
  1. package/CHANGELOG.md +319 -0
  2. package/dist/agents/inherited-tool-pool.d.ts +26 -1
  3. package/dist/agents/inherited-tool-pool.js +46 -2
  4. package/dist/agents/parked-resume-drive.d.ts +10 -0
  5. package/dist/agents/parked-resume-drive.js +9 -0
  6. package/dist/agents/retain-ledger.d.ts +3 -0
  7. package/dist/agents/send-message-tool.js +1 -0
  8. package/dist/agents/send-user-message-tool.d.ts +12 -0
  9. package/dist/agents/send-user-message-tool.js +67 -0
  10. package/dist/agents/subagent-steps.d.ts +9 -0
  11. package/dist/agents/subagent-steps.js +38 -0
  12. package/dist/agents/subagent.d.ts +2 -0
  13. package/dist/agents/subagent.js +43 -12
  14. package/dist/agents/verify.js +23 -8
  15. package/dist/agents/yield-adoption.js +3 -1
  16. package/dist/brain/anthropic.js +14 -9
  17. package/dist/brain/open-responses.js +4 -5
  18. package/dist/brain/openai.js +30 -23
  19. package/dist/brain/stream-engine.js +159 -151
  20. package/dist/core/actions-digest.d.ts +43 -0
  21. package/dist/core/actions-digest.js +22 -0
  22. package/dist/core/allow-entry.js +3 -3
  23. package/dist/core/auto-mode.d.ts +7 -9
  24. package/dist/core/auto-mode.js +114 -8
  25. package/dist/core/checkpoint-features.d.ts +3 -2
  26. package/dist/core/checkpoint-features.js +1 -1
  27. package/dist/core/checkpoint-rekey.d.ts +1 -1
  28. package/dist/core/checkpoint-rekey.js +6 -1
  29. package/dist/core/checkpoint-requirements.d.ts +23 -3
  30. package/dist/core/checkpoint-requirements.js +5 -1
  31. package/dist/core/checkpoint-row-verdict.js +7 -1
  32. package/dist/core/checkpoint-store.d.ts +24 -2
  33. package/dist/core/checkpoint-store.js +1 -0
  34. package/dist/core/child-clamp-seats.d.ts +15 -0
  35. package/dist/core/child-clamp-seats.js +15 -0
  36. package/dist/core/delegation-frames.d.ts +1 -0
  37. package/dist/core/delegation-frames.js +1 -1
  38. package/dist/core/engine-capabilities.d.ts +5 -1
  39. package/dist/core/engine-capabilities.js +1 -1
  40. package/dist/core/engine-notice.d.ts +30 -22
  41. package/dist/core/engine-version.js +1 -1
  42. package/dist/core/entries-not-applied.d.ts +19 -7
  43. package/dist/core/entries-not-applied.js +33 -1
  44. package/dist/core/governance-codes.d.ts +7 -1
  45. package/dist/core/governance-codes.js +13 -5
  46. package/dist/core/hooks.d.ts +3 -0
  47. package/dist/core/hooks.js +1 -0
  48. package/dist/core/host-instance.d.ts +23 -0
  49. package/dist/core/host-instance.js +69 -0
  50. package/dist/core/instruction-preview.d.ts +63 -0
  51. package/dist/core/instruction-preview.js +406 -0
  52. package/dist/core/leg-budget.d.ts +26 -0
  53. package/dist/core/leg-budget.js +9 -0
  54. package/dist/core/leg-identity.d.ts +51 -1
  55. package/dist/core/leg-identity.js +45 -2
  56. package/dist/core/manager-launch-check.d.ts +48 -0
  57. package/dist/core/manager-launch-check.js +64 -0
  58. package/dist/core/mcp-call-meta.d.ts +2 -2
  59. package/dist/core/mcp-injection-drop.d.ts +20 -10
  60. package/dist/core/mcp-injection-drop.js +9 -3
  61. package/dist/core/mcp-server-spec.d.ts +2 -1
  62. package/dist/core/member-outcome.d.ts +3 -2
  63. package/dist/core/member-outcome.js +1 -1
  64. package/dist/core/memory-engine/deletion-record.d.ts +46 -0
  65. package/dist/core/memory-engine/deletion-record.js +96 -0
  66. package/dist/core/memory-engine/engine.js +24 -16
  67. package/dist/core/memory-engine/file-backend.js +7 -5
  68. package/dist/core/memory-engine/projection-ledger.d.ts +1 -1
  69. package/dist/core/memory-engine/projection-ledger.js +1 -1
  70. package/dist/core/memory-engine/scope-contract.d.ts +18 -13
  71. package/dist/core/memory-engine/scope-contract.js +18 -18
  72. package/dist/core/memory-engine/sync-client.js +26 -6
  73. package/dist/core/memory-engine/sync.d.ts +20 -2
  74. package/dist/core/memory-engine/sync.js +18 -17
  75. package/dist/core/mode-policy.d.ts +21 -6
  76. package/dist/core/mode-policy.js +15 -6
  77. package/dist/core/own-property-receipt.js +11 -4
  78. package/dist/core/parent-spec-seat.d.ts +13 -11
  79. package/dist/core/parent-spec-seat.js +13 -9
  80. package/dist/core/peer-seat.js +3 -3
  81. package/dist/core/peer-task-store.d.ts +365 -0
  82. package/dist/core/peer-task-store.js +682 -0
  83. package/dist/core/permission-rule-consent.js +6 -11
  84. package/dist/core/permission-rule-model.d.ts +27 -0
  85. package/dist/core/permission-rule-model.js +33 -5
  86. package/dist/core/permission-rule-provider.d.ts +35 -33
  87. package/dist/core/permission-rule-provider.js +38 -295
  88. package/dist/core/permission-rule-store.d.ts +181 -8
  89. package/dist/core/permission-rule-store.js +420 -17
  90. package/dist/core/permission-rule-sync.js +15 -1
  91. package/dist/core/project-seat.d.ts +55 -0
  92. package/dist/core/project-seat.js +96 -0
  93. package/dist/core/protocol-http-auth.d.ts +3 -2
  94. package/dist/core/protocol-http-auth.js +26 -18
  95. package/dist/core/remote-env.d.ts +4 -4
  96. package/dist/core/retired-keys.js +1 -0
  97. package/dist/core/rule-offer-read.d.ts +1 -1
  98. package/dist/core/rule-offer-read.js +32 -4
  99. package/dist/core/run-ledger-seat.d.ts +66 -0
  100. package/dist/core/run-ledger-seat.js +70 -0
  101. package/dist/core/run-ledger.d.ts +332 -0
  102. package/dist/core/run-ledger.js +550 -0
  103. package/dist/core/runner/checkpoint-scope.d.ts +13 -3
  104. package/dist/core/runner/checkpoint-scope.js +12 -4
  105. package/dist/core/runner/construction-doors.js +6 -0
  106. package/dist/core/runner/contracts.d.ts +21 -5
  107. package/dist/core/runner/delegation-owner.d.ts +30 -0
  108. package/dist/core/runner/delegation-owner.js +20 -4
  109. package/dist/core/runner/finish-reason-seat.js +4 -2
  110. package/dist/core/runner/leg-frame.js +3 -0
  111. package/dist/core/runner/nested-memory-lane.d.ts +22 -5
  112. package/dist/core/runner/nested-memory-lane.js +91 -30
  113. package/dist/core/runner/person-path-rows.d.ts +21 -16
  114. package/dist/core/runner/person-path-rows.js +80 -15
  115. package/dist/core/runner/prepare-caps-and-workflow.js +98 -88
  116. package/dist/core/runner/prepare-config-doors.d.ts +1 -0
  117. package/dist/core/runner/prepare-config-doors.js +5 -3
  118. package/dist/core/runner/prepare-context-lane.js +1 -0
  119. package/dist/core/runner/prepare-delegation-surface.d.ts +3 -0
  120. package/dist/core/runner/prepare-delegation-surface.js +6 -0
  121. package/dist/core/runner/prepare-execution-env.d.ts +3 -3
  122. package/dist/core/runner/prepare-hands-readface.d.ts +5 -2
  123. package/dist/core/runner/prepare-hands-readface.js +12 -1
  124. package/dist/core/runner/prepare-inherited-gate.d.ts +6 -3
  125. package/dist/core/runner/prepare-inherited-gate.js +13 -5
  126. package/dist/core/runner/prepare-run-refs.d.ts +1 -1
  127. package/dist/core/runner/prepare-run-refs.js +3 -2
  128. package/dist/core/runner/prepare-suspend-saga.d.ts +6 -2
  129. package/dist/core/runner/prepare-suspend-saga.js +4 -2
  130. package/dist/core/runner/prepare-task.js +36 -27
  131. package/dist/core/runner/prepare-turn-wiring.d.ts +4 -3
  132. package/dist/core/runner/prepare-turn-wiring.js +2 -1
  133. package/dist/core/runner/prepare-wiring-manifest.d.ts +3 -1
  134. package/dist/core/runner/prepare-wiring-manifest.js +5 -2
  135. package/dist/core/runner/resume-apply.js +11 -5
  136. package/dist/core/runner/resume-review-outcome.d.ts +3 -0
  137. package/dist/core/runner/resume-review-outcome.js +24 -1
  138. package/dist/core/runner/run-harness-handlers.js +3 -0
  139. package/dist/core/runner/run-identity-wiring.js +3 -2
  140. package/dist/core/runner/run-leg.js +3 -0
  141. package/dist/core/runner/run-notification-lane.js +20 -1
  142. package/dist/core/runner/run-settle-and-teardown.js +21 -12
  143. package/dist/core/runner/run-stop-and-final-verify.js +6 -0
  144. package/dist/core/runner/run-telemetry-and-budget-seats.js +1 -1
  145. package/dist/core/runner/runtask.d.ts +6 -2
  146. package/dist/core/runner/runtask.js +21 -9
  147. package/dist/core/runner/shell-env-withheld.d.ts +3 -2
  148. package/dist/core/runner/shell-env-withheld.js +1 -2
  149. package/dist/core/runner/stop-tail-notice.d.ts +10 -2
  150. package/dist/core/runner/stop-tail-notice.js +9 -2
  151. package/dist/core/runner/stream-settle-backstop.d.ts +1 -0
  152. package/dist/core/runner/stream-settle-backstop.js +1 -0
  153. package/dist/core/runner/task-start-doors.js +6 -3
  154. package/dist/core/runner/terminal-account.d.ts +6 -1
  155. package/dist/core/runner/terminal-account.js +16 -1
  156. package/dist/core/runner/unreadable-person-rows.d.ts +2 -1
  157. package/dist/core/runner-deps.d.ts +13 -10
  158. package/dist/core/secret-env.d.ts +53 -37
  159. package/dist/core/secret-env.js +44 -47
  160. package/dist/core/session-checkout.d.ts +3 -0
  161. package/dist/core/session-checkout.js +1 -0
  162. package/dist/core/session-store.d.ts +12 -6
  163. package/dist/core/session-store.js +26 -6
  164. package/dist/core/session.d.ts +31 -8
  165. package/dist/core/store-contracts/checkpoint-store-contract.js +10 -0
  166. package/dist/core/store-contracts/peer-task-store-contract.d.ts +21 -0
  167. package/dist/core/store-contracts/peer-task-store-contract.js +516 -0
  168. package/dist/core/store-contracts/session-store-contract.d.ts +15 -2
  169. package/dist/core/store-contracts/session-store-contract.js +87 -3
  170. package/dist/core/store-contracts/workflow-journal-store-contract.d.ts +19 -1
  171. package/dist/core/store-contracts/workflow-journal-store-contract.js +89 -1
  172. package/dist/core/task-event.d.ts +10 -3
  173. package/dist/core/task-notification.d.ts +96 -10
  174. package/dist/core/task-notification.js +129 -5
  175. package/dist/core/task-registry-shared.d.ts +12 -1
  176. package/dist/core/task-registry-shared.js +3 -1
  177. package/dist/core/task-registry-workflow.d.ts +1 -1
  178. package/dist/core/task-registry-workflow.js +9 -1
  179. package/dist/core/task-registry.d.ts +39 -2
  180. package/dist/core/task-registry.js +76 -12
  181. package/dist/core/task-result.d.ts +13 -0
  182. package/dist/core/task-spec-members.d.ts +3 -1
  183. package/dist/core/task-spec-members.js +11 -3
  184. package/dist/core/task-spec.d.ts +48 -22
  185. package/dist/core/tool-catalog-entries.js +2 -0
  186. package/dist/core/tool-mount-facts.d.ts +1 -1
  187. package/dist/core/tool-mount-facts.js +1 -0
  188. package/dist/core/tool-mount-plan.d.ts +3 -1
  189. package/dist/core/tool-mount-plan.js +6 -0
  190. package/dist/core/tool-mount-static.d.ts +1 -1
  191. package/dist/core/tool-mount-static.js +4 -2
  192. package/dist/core/tool-result-store.d.ts +19 -2
  193. package/dist/core/tool-result-store.js +51 -2
  194. package/dist/core/tool-spec.d.ts +9 -2
  195. package/dist/core/user-attachment.d.ts +5 -1
  196. package/dist/core/user-attachment.js +14 -7
  197. package/dist/core/wiring-manifest.d.ts +26 -20
  198. package/dist/core/wiring-manifest.js +7 -3
  199. package/dist/core/workflow-journal-store.d.ts +53 -10
  200. package/dist/core/workflow-journal-store.js +27 -4
  201. package/dist/core/workflow-run-store-contract.js +16 -0
  202. package/dist/core/workflow-run-store.d.ts +9 -7
  203. package/dist/core/workflow-run-store.js +4 -1
  204. package/dist/engine/execution-env/node-execution-env.js +3 -1
  205. package/dist/engine/harness/types.d.ts +24 -1
  206. package/dist/engine/harness/types.js +10 -0
  207. package/dist/engine/llm/types.d.ts +5 -7
  208. package/dist/engine/lsp/node-lsp-manager.js +2 -1
  209. package/dist/engine/session/import-validate.js +6 -1
  210. package/dist/engine/session/session.d.ts +15 -2
  211. package/dist/engine/session/session.js +34 -4
  212. package/dist/index.d.ts +18 -7
  213. package/dist/index.js +13 -4
  214. package/dist/orchestration/run-workflow-tool.js +40 -32
  215. package/dist/orchestration/workflow-park-adoption.d.ts +51 -12
  216. package/dist/orchestration/workflow-park-adoption.js +47 -12
  217. package/dist/orchestration/workflow-stop.d.ts +128 -0
  218. package/dist/orchestration/workflow-stop.js +156 -0
  219. package/dist/orchestration/workflow.d.ts +30 -6
  220. package/dist/orchestration/workflow.js +117 -55
  221. package/dist/prompts/manager-recipe.d.ts +18 -0
  222. package/dist/prompts/manager-recipe.js +24 -0
  223. package/dist/stores/file/permission-rule-store.d.ts +3 -1
  224. package/dist/stores/file/permission-rule-store.js +0 -1
  225. package/dist/stores/file/workflow-journal-store.d.ts +16 -3
  226. package/dist/stores/file/workflow-journal-store.js +93 -5
  227. package/dist/stores/file/workflow-run-store.d.ts +1 -1
  228. package/dist/tools/fs/file-write-check.js +9 -3
  229. package/dist/tools/fs/index.d.ts +8 -7
  230. package/dist/tools/fs/index.js +4 -4
  231. package/dist/tools/fs/read-deny-home.d.ts +1 -1
  232. package/dist/tools/fs/read-deny-home.js +5 -5
  233. package/dist/tools/fs/read-deny.d.ts +33 -8
  234. package/dist/tools/fs/read-deny.js +114 -25
  235. package/dist/tools/fs/safety.d.ts +4 -1
  236. package/dist/tools/fs/safety.js +4 -2
  237. package/dist/tools/fs/shell-read-check.d.ts +9 -2
  238. package/dist/tools/fs/shell-read-check.js +96 -14
  239. package/dist/tools/fs/shell-read-establish.d.ts +9 -0
  240. package/dist/tools/fs/shell-read-establish.js +21 -11
  241. package/dist/tools/fs/shell-read-judge.d.ts +13 -1
  242. package/dist/tools/fs/shell-read-judge.js +26 -7
  243. package/dist/tools/fs/shell-read-plan.d.ts +5 -0
  244. package/dist/tools/fs/shell-read-write-targets.js +17 -9
  245. package/package.json +2 -2
  246. package/test/export-surface.snapshot.json +131 -1
  247. package/wire-changes/answers/core-stores-sql@7.73.0.json +28 -0
  248. package/wire-changes/answers/core@7.73.0.json +216 -0
  249. package/wire-changes/answers/mods-kernel@7.73.0.json +7 -0
  250. package/wire-changes/answers/primitives@7.73.0.json +12 -0
  251. package/wire-changes/answers/wiki-gate@7.73.0.json +7 -0
  252. package/wire-changes/core-stores-sql@7.73.0.json +326 -0
  253. package/wire-changes/core@7.73.0.json +6480 -0
  254. package/wire-changes/mods-kernel@7.73.0.json +147 -0
  255. package/wire-changes/primitives@7.73.0.json +227 -0
  256. package/wire-changes/wiki-gate@7.73.0.json +145 -0
@@ -0,0 +1,216 @@
1
+ {
2
+ "leaves": {
3
+ "L-89dc1bd1221b": {
4
+ "answer": "breaking",
5
+ "why": "MEMBER_KINDS (core/member-outcome) grows from [workflow_member, subagent, background_agent] to five words (+workflow, +peer_task), so MemberKind, MemberOutcome.kind, MemberLedgerRow.kind and WorkflowAgentResult's member.kind widen, and every export that hands out a member outcome or ledger row (TaskNotificationPayload.outcome, AgentPollDetailsInput, BackgroundAgentStore rows, TaskResult.runLedger, WorkflowAgentResult) carries the two words: a consumer that switches exhaustively on kind, keys a Record<MemberKind, …> table, or holds a new outcome as the 7.72.0 type fails to compile (probe J1: a MemberKind held as the 7.72.0 union is refused)."
6
+ },
7
+ "L-2b77b74a868a": {
8
+ "answer": "breaking",
9
+ "why": "SessionTreeEntry (engine/harness/types) gains the arm RunLedgerEntry { type: \"run_ledger\"; ledger }, and every export that hands out session entries (Session.getEntries / getBranch / getEntry, SessionStorage, StoredSession, BaseSessionStorage, InMemorySessionStorage, AcquiredSession.session, and through them Runner, RunnerDeps, AgentHarnessOptions, SessionStore) carries it, so a reader exhaustive over entry.type, a Record<SessionTreeEntry[\"type\"], …> table, or an entry held as the 7.72.0 union fails to compile (probe H1); a host storage that implements SessionStorage over its own entry union must add the arm."
10
+ },
11
+ "L-2476a5360053": {
12
+ "answer": "not-breaking",
13
+ "why": "The four methods TaskRegistry gains (getWorkflowMembers, markRunEndAgentsStoppedByUser, stopWorkflowRun, membersOfTask) are reported only because the judge compares the two ends' copies of the class structurally under its nominal marker; TaskRegistry has private instance and static members at both ends (src/core/task-registry.ts:618 at v7.72.0, :626 now; the judge's own sidecar records them for both trees), so in a consumer's program its only inhabitants are instances of the installed class and of subclasses, which carry the new methods: probe B1 shows a value holding every public 7.72.0 member is not a 7.72.0 TaskRegistry, B5 that even a byte-identical private-member class from the other copy is not assignable, and B3 that a subclass written at 7.72.0 is still the registry ToolExecuteContext takes; a cast mock keeps compiling (B6). The one form that breaks is a subclass that already declared a member under one of those four names with another type (the class-gains-members policy's residue). The registry's real reader change, task kinds gaining peer_task, is L-f0f5aa0928cb / L-258663d4c75d, answered breaking."
14
+ },
15
+ "L-f544552e14e2": {
16
+ "answer": "breaking",
17
+ "why": "Same change as L-2b77b74a868a (SessionTreeEntry gains RunLedgerEntry), with the checker's elaboration stopping at the reminder_mark arm (RunLedgerEntry has no mark): a new entry held as the 7.72.0 SessionTreeEntry, through Session, SessionStorage, StoredSession, ParentLinks, MaybeCompactOptions and the session readers that hand entries out, fails to compile (probe H1)."
18
+ },
19
+ "L-0f38ff17ef27": {
20
+ "answer": "breaking",
21
+ "why": "SessionStore.delete's guard (core/session) goes from { owner: string | null } to { readonly owner } | { readonly row: NonNullable<SessionRowExpectation[\"row\"]> }, so the key owner no longer exists on the guard's type, and every export that reaches a session store (Runner, RunnerDeps, EngineStorageBackend, CodeToolsConfig.subagent, AgentTranscriptToolOptions.runner) carries it: an implementation that reads guard.owner off the parameter type — an object-literal store contextually typed by SessionStore (probe C1), or a type written Parameters<…delete>[1][\"owner\"] (probe C5) — fails to compile; callers that pass { owner } still compile (C4), and a class method with its own 7.72.0 parameter type still compiles (C2, method syntax)."
22
+ },
23
+ "L-e85360203471": {
24
+ "answer": "breaking",
25
+ "why": "The strict-posture spelling of L-2b77b74a868a: RunnerDeps (session store, storage factories and callbacks taking entries) reaches SessionTreeEntry, whose new run_ledger arm lacks reminder_mark's mark, so a callback a host wrote against the 7.72.0 entry union, held where RunnerDeps takes one, fails under strictFunctionTypes (probe H1 for the union itself)."
26
+ },
27
+ "L-6d53ef239ac5": {
28
+ "answer": "breaking",
29
+ "why": "CHECKPOINT_CONFIG_REFUSAL_CODES (core/checkpoint-features) gains config.project_id_invalid, so CheckpointConfigRefusalCode widens and CheckpointError.detail.code, CheckpointRowVerdict and the CheckpointStore listings that carry them (reached through RunInternals, AgentTranscriptToolOptions.checkpointSeat, EngineStorageBackend) hand out the new word: a consumer exhaustive over detail.code, or holding a new code as the 7.72.0 union, fails to compile (probe J10)."
30
+ },
31
+ "L-289cb8c7bcd9": {
32
+ "answer": "not-breaking",
33
+ "why": "The strict-posture spelling of L-2476a5360053 (StaticToolPlanSpec, DeveloperTaskConfig, GoalSpec reach TaskRegistry; the message lists the same four new methods, getWorkflowMembers, markRunEndAgentsStoppedByUser, stopWorkflowRun, membersOfTask): TaskRegistry is a class with private members at both ends, so no value a consumer holds is a 7.72.0-shaped registry; probes B1, B3, B5 as for L-2476a5360053."
34
+ },
35
+ "L-b315e6ce65f1": {
36
+ "answer": "breaking",
37
+ "why": "ParentSpecSeat (core/parent-spec-seat) replaces readonly projectId?: string with readonly project?: ProjectSeat, and the seat is reached through ToolExecuteContext.parentSpecSeat, DeveloperTaskConfig, GoalSpec.taskSpec and the delegation options: a reader of seat.projectId fails to compile (probe I3), and a literal seat written with projectId is refused as an excess property."
38
+ },
39
+ "L-21202974b13f": {
40
+ "answer": "breaking",
41
+ "why": "TaskNotificationPayload.task_type (core/task-notification) gains peer_task (ENGINE_FRAME_TASK_TYPES and SemaTaskType grow with it), carried by ReceivedFrame, EngineFrameDecode, SystemInjection, SessionReceiveOrigin and MonitorToolOptions.onTaskNotification: a consumer exhaustive over task_type, or holding a new payload as the 7.72.0 type, fails to compile (probe J11)."
42
+ },
43
+ "L-62a0b5e82f84": {
44
+ "answer": "breaking",
45
+ "why": "TaskSpec.projectId?: string is removed (TaskSpec.project?: ProjectSeat takes its place), reached by Runner.runTask / runTaskStream / judgeTaskStart and RunnerSelfSeat: a reader of spec.projectId fails to compile (probe I1) and a spec literal written with projectId is refused as an excess property (probe I2); at run time the key is refused by name (config.spec_retired_key)."
46
+ },
47
+ "L-9192af6b9054": {
48
+ "answer": "breaking",
49
+ "why": "TaskEvent (core/task-event) gains the arm { type: \"reasoning_end\"; content } & TaskEventIdentity, carried by RunInternals.onForwardEvent, RunWorkflowOptions.onForwardEvent, RunWorkflowToolDeps.forwardEvent and every stream of events: a consumer exhaustive over event.type, or holding a new event as the 7.72.0 union, fails to compile (probe J9)."
50
+ },
51
+ "L-b7f1ed456bfa": {
52
+ "answer": "breaking",
53
+ "why": "TOOL_MOUNT_FACTS gains spec.runLedger, so ToolMountFact widens and ToolMountCond.when, ToolMountPlanAbsent / Family / Member, ToolMountVerdict and the wiring facts the plan hands out (ToolMountPlan, DrainedLegFrame, RunInternals.onLegFrame) carry the word: a reader exhaustive over the facts, or holding a new fact as the 7.72.0 union, fails to compile (probe J3)."
54
+ },
55
+ "L-6f8e97b1a947": {
56
+ "answer": "breaking",
57
+ "why": "RunInternals (core/runner/contracts) replaces parentProjectId?: string with parentProject?: ProjectSeat, reached through ResumeConfigQuestion.internals and the composition seats: a reader of internals.parentProjectId fails to compile (probe I4)."
58
+ },
59
+ "L-ae3600972e30": {
60
+ "answer": "not-breaking",
61
+ "why": "The strict-posture spelling of L-2476a5360053 through ToolExecuteContext's registries (MonitorToolOptions.registry, RunWorkflowToolDeps.taskRegistry, SendMessageToolOptions.registry, SubagentToolOptions.background); the message lists the same four new TaskRegistry methods, and TaskRegistry has private members at both ends, so only instances of the installed class (or subclasses) reach these seats; probes B1, B3, B5."
62
+ },
63
+ "L-c93d24bbb824": {
64
+ "answer": "breaking",
65
+ "why": "WorkflowGovernanceBaseline's base is spelled from TaskSpec, so it loses projectId with L-62a0b5e82f84 (its declaration file is unchanged), reached by RunnerDeps.workflowGovernanceBaseline, StaticWiringDeps and RunWorkflowToolDeps.governanceBaseline: a reader of baseline.base.projectId fails to compile."
66
+ },
67
+ "L-f0f5aa0928cb": {
68
+ "answer": "breaking",
69
+ "why": "SEMA_TASK_TYPES gains peer_task, so SemaTaskType, TaskKind, SemaTaskHandle.type, TaskListRow and AccessibleTaskRow widen and the TaskRegistry readers that hand them out (listTasks, accessible rows) carry the word: a consumer exhaustive over a row's type, or keying a Record<SemaTaskType, …> table, fails to compile (probe J2)."
70
+ },
71
+ "L-258663d4c75d": {
72
+ "answer": "breaking",
73
+ "why": "UnifiedTaskOutput.type and UnifiedTaskResult (core/task-registry-shared), handed out by TaskRegistry.pollTask and stopTask, gain peer_task: a reader exhaustive over output.type, or holding it as the 7.72.0 union, fails to compile (probe J12)."
74
+ },
75
+ "L-e26a48133049": {
76
+ "answer": "breaking",
77
+ "why": "Same change as L-0f38ff17ef27, from the writer side: SessionStore.delete's guard becomes { owner } | { row }, so a delete implementation written as a function value against the 7.72.0 guard { owner } (property syntax, as TtlSessionStore declares it and as ListAgentsToolOptions.retainLedgers, RunInternals.parentRetainLedger and SendMessageToolOptions.retain / siblingRetain hold it) is not assignable under strictFunctionTypes: probe C3 (a TtlSessionStore subclass overriding delete with the 7.72.0 guard) fails, its 7.72.0 twin C3o compiles."
78
+ },
79
+ "L-740d81a9f999": {
80
+ "answer": "not-breaking",
81
+ "why": "StoredSession (engine/session/session) gains the methods appendRunLedger and getRunLedgers; the leaf comes from comparing the two ends' copies of the class, but StoredSession has a private instance member at both ends (private storage, src/engine/session/session.ts:290 at v7.72.0, :292 now), so in a consumer's program a StoredSession is an instance of the installed class or a subclass, which inherit the two methods: probe B2 (a value with every public 7.72.0 member is not a 7.72.0 StoredSession), B4 (a 7.72.0-style subclass is still a StoredSession), B5 (another copy's private-member class never assigns). The Session interface itself gains the two members as optional, which no implementer must add; the only form that breaks is a subclass that already declared one of the two names with another type."
82
+ },
83
+ "L-3a2b4a8189b6": {
84
+ "answer": "breaking",
85
+ "why": "SerializedCheckpointState is { [K in keyof Required<CheckpointState>]: CheckpointState[K] }, and CheckpointState gains runLedger? and legIdentity?, so SerializedCheckpointState gains two REQUIRED keys (each may hold undefined): a value a host built to the 7.72.0 type — a SuspendSaga.serializeCheckpointState result, a fixture typed SerializedCheckpointState — fails to compile until it spells both (probe G1); this leaf is the strict-posture spelling of L-b1cdbaf7d06a."
86
+ },
87
+ "L-b1cdbaf7d06a": {
88
+ "answer": "breaking",
89
+ "why": "SuspendSaga.serializeCheckpointState returns SerializedCheckpointState, which gains the required keys runLedger and legIdentity (L-3a2b4a8189b6), so a saga a host wrote to the 7.72.0 type, or a value of the 7.72.0 SerializedCheckpointState handed where the new one is expected, fails to compile (probe G1)."
90
+ },
91
+ "L-fad18055a6bc": {
92
+ "answer": "breaking",
93
+ "why": "SubagentRetainEntry.specSnapshot is Readonly<TaskSpec>, which loses projectId with L-62a0b5e82f84 (the entry also gains the optional actionsDigest), reached by ListAgentsToolOptions.retainLedgers and the retain-ledger readers: a reader of entry.specSnapshot.projectId fails to compile."
94
+ },
95
+ "L-5d61ea86d6a6": {
96
+ "answer": "breaking",
97
+ "why": "ResumeTaskConfig is Omit<TaskSpec, …>, so it loses projectId with L-62a0b5e82f84, reached by Runner.judgeResumeConfig and the resume admission: a resume config written with projectId is refused as an excess property and a reader of config.projectId fails to compile."
98
+ },
99
+ "L-ad4930bf897b": {
100
+ "answer": "breaking",
101
+ "why": "WriteDenyMatcher (tools/fs/read-deny) gains the required member readonly hasRows: boolean (plus optional rowUnderRoot / rowAtOrBelow / unanchoredRows / rowLedByName), so a matcher a host built to the 7.72.0 shape — handed to createEditFileTool, createNotebookEditTool, createSaveToolResultTool or returned from forCall — fails to compile until it adds hasRows (probe F1)."
102
+ },
103
+ "L-12d640057ba8": {
104
+ "answer": "breaking",
105
+ "why": "WORKFLOW_PARK_UNUSED_REASONS gains workflow_stopped, so WorkflowParkUnusedReason, WorkflowParkAdoption's reason and WorkflowParkDecisionState widen (and WorkflowParkAdopterSeats.underClaim / WorkflowContinuation now take claimKeys: readonly string[] instead of claimKey: string, module-level types the package root does not export): a reader exhaustive over the reason, or holding it as the 7.72.0 union, fails to compile (probe J8)."
106
+ },
107
+ "L-a0f97aae588a": {
108
+ "answer": "not-breaking",
109
+ "why": "Same leaf as 7.72.0's, and still no declaration moved: the six rest-parameter functions (clampValuesOf, foldClampSources, toolPolicySkippedRules, joinFloors, joinedFloors, mayCarryGitVariables) are declared byte-identically at both ends (child-clamp-seats.d.ts differs only by two new functions, withOwnLegHands and handsReadOnlyCarried), the judge's overload extraction yields never for a readonly rest at both ends, and V and Vs pass; probe A1 holds each new function as the old one's type and A2 calls each with none, one and three arguments of the 7.72.0 element types and a spread readonly list, result held as the 7.72.0 result — all compile, so every call that compiled against 7.72.0 compiles against 7.73.0."
110
+ },
111
+ "L-f335bcd2e3e8": {
112
+ "answer": "breaking",
113
+ "why": "REQUIREMENT_WORDS gains run_ledger and leg_identity, so RequirementWord widens and RequirementClass.word, RequirementElementWords and RequirementTable (new rows runLedger, legIdentity; the decision-read row's digest becomes word leg_identity with an earlier reading) hand them out, through checkpointRequirementsFor: a reader exhaustive over the words, or holding a new word or row as the 7.72.0 type, fails to compile (probe J4)."
114
+ },
115
+ "L-7ae195ef4648": {
116
+ "answer": "breaking",
117
+ "why": "ResumeConfigVerdict, returned by Runner.judgeResumeConfig, carries CheckpointConfigRefusalCode, which gains config.project_id_invalid (L-6d53ef239ac5): a reader exhaustive over the verdict's code, or holding it as the 7.72.0 union, fails to compile (probe J10)."
118
+ },
119
+ "L-fc4ac6f78581": {
120
+ "answer": "breaking",
121
+ "why": "MCP_INJECTION_DROP_REASONS gains name_already_mounted, so McpInjectionDropReason and McpInjectionDropFacts.reason widen (the facts also gain the optional agent): a consumer exhaustive over the reason, or holding new facts as the 7.72.0 type, fails to compile (probe J5)."
122
+ },
123
+ "L-676a22d76286": {
124
+ "answer": "breaking",
125
+ "why": "Two readonly tuples grow: ENGINE_FRAME_TASK_TYPES from three to four words (+peer_task) and CHECKPOINT_IDENTITY_MEMBERS.scope from three to four paths (+state.legIdentity.rootSessionScope), so a value typed typeof either on one side fails against the other (probe J13 for CHECKPOINT_IDENTITY_MEMBERS), and positional destructuring or a length check written against the old tuple no longer matches."
126
+ },
127
+ "L-f05cfa72f2fc": {
128
+ "answer": "breaking",
129
+ "why": "TtlSessionStore.delete (core/session-store), a property-syntax function, takes the guard { readonly owner } | { readonly row }, so owner no longer exists on its guard's type: a wrapper typed TtlSessionStore[\"delete\"] that reads guard.owner, or a subclass overriding delete with the 7.72.0 guard (probe C3), fails to compile."
130
+ },
131
+ "L-06bcc7c58a5d": {
132
+ "answer": "breaking",
133
+ "why": "NOTICE_MINTER, Readonly<Record<EngineNoticeCode, NoticeMinter>>, gains the rows task.manager_launch_narrowed and tool_result.offload_put_unsettled (both engine), so a host value typed typeof NOTICE_MINTER written to the 7.72.0 table fails to compile until it adds them; reading the table still compiles."
134
+ },
135
+ "L-06c6eaefbf2b": {
136
+ "answer": "breaking",
137
+ "why": "SessionStoreContractHooks.onOptionalMember (a property-syntax callback) reports member, whose union gains readRow, idleClock and unreadableRow: a callback typed against the 7.72.0 report fails under strictFunctionTypes (probe D1), a report held as the 7.72.0 member union fails (D3), and a switch exhaustive over member gets three unhandled words; an inferred callback still compiles (D2)."
138
+ },
139
+ "L-0a0c3958ce8b": {
140
+ "answer": "breaking",
141
+ "why": "ENGINE_CAPABILITIES grows from 22 to 23 elements (instruction_family.preview inserted after instruction_family.local_files, shifting every later position), so a value typed typeof ENGINE_CAPABILITIES on either side fails against the other, and a length or positional reading of the tuple changes."
142
+ },
143
+ "L-216f496b122c": {
144
+ "answer": "breaking",
145
+ "why": "MCP_INJECTION_DROP_TEXT gains the row name_already_mounted, so a host value typed typeof MCP_INJECTION_DROP_TEXT written to the 7.72.0 table, or a table of its own keyed by McpInjectionDropReason, fails to compile until it adds the row; reading the table still compiles."
146
+ },
147
+ "L-2c0e24d39449": {
148
+ "answer": "breaking",
149
+ "why": "EngineNoticeCode, derived from ENGINE_NOTICE_CODES, gains task.manager_launch_narrowed and tool_result.offload_put_unsettled, so a Record<EngineNoticeCode, …> table or a switch exhaustive over the codes fails to compile until it places both, and a new code held as the 7.72.0 union is refused (probe J6)."
150
+ },
151
+ "L-2e80a1d383ad": {
152
+ "answer": "breaking",
153
+ "why": "SEMA_TASK_HANDLE_PREFIXES gains the key peer_task: \"p\", so a host value typed typeof SEMA_TASK_HANDLE_PREFIXES written to the 7.72.0 table, or a table of its own keyed by SemaTaskType (satisfies Record<SemaTaskType, …>), fails to compile until it adds the key."
154
+ },
155
+ "L-3535dd9419e5": {
156
+ "answer": "breaking",
157
+ "why": "EngineCapability, derived from ENGINE_CAPABILITIES, gains instruction_family.preview, so a mapped table over EngineCapability or a switch exhaustive over it fails to compile until it places the word, and a new capability held as the 7.72.0 union is refused (probe J7)."
158
+ },
159
+ "L-3cec8c61117b": {
160
+ "answer": "breaking",
161
+ "why": "parentSpecSeatOf returns a ParentSpecSeat, which loses projectId (L-b315e6ce65f1): parentSpecSeatOf(spec).projectId fails to compile (probe I3 on the seat type)."
162
+ },
163
+ "L-612ee08e4c23": {
164
+ "answer": "breaking",
165
+ "why": "REQUIREMENT_WORDS grows from 50 to 52 elements (+run_ledger, +leg_identity at the end), so a value typed typeof REQUIREMENT_WORDS on either side fails against the other."
166
+ },
167
+ "L-7662d511d700": {
168
+ "answer": "breaking",
169
+ "why": "ENGINE_NOTICE_CODES grows from 198 to 200 elements (task.manager_launch_narrowed after task.wait_ceiling_reached, tool_result.offload_put_unsettled after tool_result.offload_put_failed, shifting every later position), so a value typed typeof ENGINE_NOTICE_CODES on either side fails against the other."
170
+ },
171
+ "L-774a2b4505f0": {
172
+ "answer": "breaking",
173
+ "why": "WORKFLOW_PARK_UNUSED_REASONS grows from 17 to 18 elements (+workflow_stopped at the end), so a value typed typeof WORKFLOW_PARK_UNUSED_REASONS on either side fails against the other, and a pin on its length reads 18."
174
+ },
175
+ "L-800f88f35527": {
176
+ "answer": "breaking",
177
+ "why": "MCP_INJECTION_DROP_REASONS grows from 6 to 7 elements (+name_already_mounted at the end), so a value typed typeof MCP_INJECTION_DROP_REASONS on either side fails against the other."
178
+ },
179
+ "L-9fa561326319": {
180
+ "answer": "breaking",
181
+ "why": "CHECKPOINT_CONFIG_REFUSAL_CODES (core/checkpoint-features, not at the package root, reached through the checkpoint readers' types) grows from 57 to 58 elements (+config.project_id_invalid at the end), so a value typed typeof it on either side fails against the other."
182
+ },
183
+ "L-b9cccb6a81e4": {
184
+ "answer": "breaking",
185
+ "why": "ParentSpecSeatFields is Pick<TaskSpec, …> whose key list replaces projectId with project, so a reader of fields.projectId fails to compile and a fields literal written with projectId is refused as an excess property."
186
+ },
187
+ "L-c0a596d28f3c": {
188
+ "answer": "breaking",
189
+ "why": "SEMA_TASK_TYPES grows from 4 to 5 elements (+peer_task at the end), so a value typed typeof SEMA_TASK_TYPES on either side fails against the other (and SemaTaskType widens, L-f0f5aa0928cb)."
190
+ },
191
+ "L-cb038359f163": {
192
+ "answer": "breaking",
193
+ "why": "WORKFLOW_PARK_UNUSED_REASON_CLASS gains the row workflow_stopped: { kept: \"withdraw\" }, so a host value typed typeof WORKFLOW_PARK_UNUSED_REASON_CLASS written to the 7.72.0 table, or a table of its own keyed by WorkflowParkUnusedReason, fails to compile until it adds the row."
194
+ },
195
+ "L-cf8dd163ef6b": {
196
+ "answer": "breaking",
197
+ "why": "MEMBER_KINDS grows from 3 to 5 elements (+workflow, +peer_task at the end), so a value typed typeof MEMBER_KINDS on either side fails against the other (and MemberKind widens, L-89dc1bd1221b)."
198
+ },
199
+ "L-db27dee9eec6": {
200
+ "answer": "breaking",
201
+ "why": "TOOL_MOUNT_FACTS grows from 44 to 45 elements (spec.runLedger inserted after spec.handsReadOnly, shifting every later position), so a value typed typeof TOOL_MOUNT_FACTS on either side fails against the other."
202
+ },
203
+ "L-de0614569c3a": {
204
+ "answer": "breaking",
205
+ "why": "compileWriteDeny goes from (rules?: readonly PathRuleDenyRow[]) to (table: ReadDenyMatcher): the 7.72.0 calls compileWriteDeny() and compileWriteDeny(rows) fail to compile (probes E2, E1; both compile at 7.72.0, e00 / e0), and the function held as its 7.72.0 type is refused (V)."
206
+ }
207
+ },
208
+ "mustCheck": {
209
+ "deep-nesting": "Not measurable by the run, and not scanned member by member this time (the 7.72.0 depth-unbounded method scan was not re-run): checked instead by reading the whole diff of the two ends' emitted declarations (81 changed .d.ts files, 12 new, none removed; diff -r of the judge's two cached trees): the changes a method or callback deeper than 10 levels could hide are the widened unions and grown tuples (MEMBER_KINDS, SEMA_TASK_TYPES, task_type, TaskEvent, SessionTreeEntry, ToolMountFact, RequirementWord, McpInjectionDropReason, EngineNoticeCode, EngineCapability, WorkflowParkUnusedReason, CheckpointConfigRefusalCode), the removed keys (projectId, parentProjectId), the new required keys (WriteDenyMatcher.hasRows, SerializedCheckpointState.runLedger / legIdentity) and the retyped parameters (SessionStore.delete / TtlSessionStore.delete guard, onOptionalMember's report, compileWriteDeny's table, underClaim's claimKeys), each a type the judge reached at depth <= 10 from its home and answered there; a type is the same type at every depth, so a deeper method reaching one meets a change already answered, and no other declaration changed. What this reading cannot rule out is a bivariant method parameter deeper than 10 levels that reaches one of those types in a contravariant position only; not measured.",
210
+ "strict-generic": "Measured 310 generic or overloaded exported functions without a strict probe (308 at 7.72.0; the five listed are typebox's Type.* builders, re-exported from typebox 1.1.39, the same lockfile entry at both refs); the generic functions this range adds (withOwnLegHands, withRunLedgerTask, orderEntriesBySeverity, mergeDefinitionServers — none declared at the 7.72.0 end) have no old end to compare, and no generic or overloaded function both ends declare changed its declaration text (the diff's other changed function lines are not generic). Not re-scanned member by member: the hole is a method-syntax member compared bivariantly inside a parameter or result of one of them, and reading the declaration diff finds every type change of this range among the answered leaves (see deep-nesting), which these functions reach only by the same type names the non-strict V posture compared; so none of the 310 hides a change beyond those answered, short of the depth-and-contravariance case deep-nesting leaves unmeasured.",
211
+ "ambient-modules": "Both ambient modules (\"undici/lib/handler/unwrap-handler.js\", \"undici/lib/handler/wrap-handler.js\") are declared only in brain/undici-handler-api.d.ts, which is byte-identical in the two ends' emitted declarations (same sha-256 in both cached trees; src/brain changed elsewhere in this range, this file did not), no other emitted declaration references it, and they type undici 7.30.2, the same lockfile entry at both refs — the two declarations the judge merged are one text.",
212
+ "shared-dependency": "@modelcontextprotocol/client 2.4.0, typebox 1.1.39 and undici 7.30.2: package.json and package-lock.json are unchanged between v7.72.0 and the candidate's source head (git diff --quiet exits 0; the release commit's lock diff only moves this repository's own version strings), and the installed copy the judge compiled against is those versions, so the one copy both ends were judged against is the copy both ends declare.",
213
+ "export-equals": "The one `export =` measured is inside the two ambient undici handler modules of brain/undici-handler-api.d.ts (UnwrapHandler.unwrap / WrapHandler.wrap), a file byte-identical at both ends that no other emitted declaration references (an internal shim of the transport), so no member went unenumerated in this range.",
214
+ "exact-optional": "Not measurable (a consumer's compiler option), so the diff of the two ends' emitted declarations was read for the forms the option changes, and every change hunk was paired mechanically by member name: no member both ends declare gained or lost `?` or `| undefined` (0 pairs); the optional members added are new keys (TaskSpec.project / ownHandsReadOnly / runLedger, CheckpointState.runLedger / legIdentity, ResolvedOutcome.permissionMode, RunnerDeps.host, RunInternals.runLedgerBook, SessionStore.readRow, McpInjectionDropFacts.agent and the like), which the option does not make breaking, and the optional keys removed (TaskSpec.projectId, ParentSpecSeat.projectId, RunInternals.parentProjectId) are answered breaking by their own leaves; SerializedCheckpointState's two new keys are required with `| undefined` through its mapped Required<>, answered in L-3a2b4a8189b6."
215
+ }
216
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "mustCheck": {
3
+ "deep-nesting": "Not measurable by the run, so the hole was checked: the package's emitted declarations are byte-identical at both ends (diff -r of the judge's two cached trees, 7 .d.ts files: only the timing sidecar differs) and import nothing from outside the package, so every type it exports, at every depth, is the same text at both ends and nothing can hide behind a bivariant method.",
4
+ "strict-generic": "Measured admitMods, receive#appendOwn and registration#screenModSeats: their declaration files are byte-identical at both ends and the package imports nothing from outside itself, so their parameter and result types, and any method-syntax member inside them, are the same declarations at both ends — there is no change for a strict probe to see.",
5
+ "exact-optional": "Not measurable (a consumer's compiler option): the emitted declarations are byte-identical at both ends and import nothing from outside the package, so no `?` or `| undefined` moved anywhere a consumer can see."
6
+ }
7
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "leaves": {
3
+ "L-34fcc7d6db3f": {
4
+ "answer": "breaking",
5
+ "why": "CREDENTIAL_VOCABULARY (secret-vocabulary) gains two rows, cookie-header and command-line-password, and CredentialFamilyId is derived from the rows' ids, so CredentialFamilyId, CredentialVocabulary.values and what a scan hands out (SecretScan, among the 12 subjects the judge found) carry two new words: a consumer that switches exhaustively on the family, keys a Record<CredentialFamilyId, …> table, or holds a new family as the 7.72.0 union fails to compile (probe K1: a CredentialFamilyId held as the 7.72.0 union is refused), and a value typed typeof CREDENTIAL_VOCABULARY on either side fails against the other."
6
+ }
7
+ },
8
+ "mustCheck": {
9
+ "deep-nesting": "Not measurable by the run, so the hole was checked: the package imports nothing from outside itself, and the diff of its two ends' emitted declarations (diff -r of the judge's cached trees) is three hunks: index.d.ts re-exports the new mergeWithheldSpans, secret-scan.d.ts declares it (a new function, no old end), and secret-vocabulary.d.ts gains the two vocabulary rows (object types of readonly literals and a RegExp, no method of the package's own) — the change those rows make is the widened CredentialFamilyId, answered breaking at depth <= 10 under its home; no declaration both ends have changed otherwise, so nothing else can hide behind a bivariant method at any depth.",
10
+ "exact-optional": "Not measurable (a consumer's compiler option): the package imports nothing from outside itself and its declaration diff only adds (mergeWithheldSpans, whose result members are all required, and two vocabulary rows with no optional member), so no member both ends declare gained or lost `?` or `| undefined`."
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "mustCheck": {
3
+ "deep-nesting": "Not measurable by the run, so the hole was checked: the package's emitted declarations are byte-identical at both ends (diff -r of the judge's two cached trees, 13 .d.ts files: only the timing sidecar differs) and their only outside import is typescript (5.7.2 at both refs), so every type it exports, at every depth, is the same text over the same dependency and nothing can hide behind a bivariant method.",
4
+ "shared-dependency": "typescript: packages/wiki-gate/package.json declares typescript 5.7.2 and is unchanged between v7.72.0 and the candidate's source head, package-lock.json is unchanged in that range (git diff --quiet exits 0; the release commit's lock diff only moves this repository's own version strings), and the installed copy the judge compiled against is 5.7.2, so both ends were judged against the version both declare.",
5
+ "exact-optional": "Not measurable (a consumer's compiler option): the emitted declarations are byte-identical at both ends and their only outside import, typescript, is the same 5.7.2 at both refs, so no `?` or `| undefined` moved anywhere a consumer can see."
6
+ }
7
+ }
@@ -0,0 +1,326 @@
1
+ {
2
+ "repo": "core",
3
+ "package": "@sema-agent/core-stores-sql",
4
+ "schema": 2,
5
+ "version": "7.73.0",
6
+ "from": "9ef3bb54f3d11c5e0001a3b4c6a27d05abe1e880",
7
+ "to": "v7.73.0",
8
+ "added": [],
9
+ "removed": [],
10
+ "changed": [],
11
+ "subpaths": [],
12
+ "subpathsUnread": [
13
+ "from",
14
+ "to"
15
+ ],
16
+ "narrowed": [],
17
+ "faces": {
18
+ "open": [],
19
+ "source": null
20
+ },
21
+ "closedSetMembers": [],
22
+ "closedSetsUnreadable": [],
23
+ "typeKeys": [
24
+ {
25
+ "type": "SqlStorageBackend",
26
+ "at": [
27
+ "src/backend.ts"
28
+ ],
29
+ "added": [],
30
+ "addedDetail": [],
31
+ "addedRequired": [],
32
+ "removed": [],
33
+ "madeRequired": [],
34
+ "madeOptional": [],
35
+ "retyped": [
36
+ {
37
+ "key": "sessionStore.acquire(...).session.getStorage().getEntry(...)",
38
+ "from": "Property 'mark' is missing in type 'RunLedgerEntry' but required in type 'ReminderMarkEntry'.",
39
+ "to": "(read by the compiler)",
40
+ "direction": "changed",
41
+ "judged": true
42
+ },
43
+ {
44
+ "key": "sessionStore.acquire(...).session.getStorage().getEntry(...)",
45
+ "from": "Type '\"run_ledger\"' is not assignable to type '\"session_checkout\" | \"message\" | \"thinking_level_change\" | \"model_change\" | \"compaction\" | \"custom\" | \"custom_message\" | \"label\" | \"session_info\" | \"leaf\" | \"prompt_epoch\" | \"announced_listing…",
46
+ "to": "(read by the compiler)",
47
+ "direction": "changed",
48
+ "judged": true
49
+ },
50
+ {
51
+ "key": "sessionStore.acquire(...).session.getStorage().getEntry(...)",
52
+ "from": "Property 'owner' is missing in type '{ readonly row: { readonly owner: string | null, readonly incarnation?: string | undefined, }, }' but required in type '{ owner: string | null, }'.",
53
+ "to": "(read by the compiler)",
54
+ "direction": "changed",
55
+ "judged": true
56
+ },
57
+ {
58
+ "key": "sessionStore.acquire(...).session.getStorage().getEntry(...)",
59
+ "from": "Type '\"config.project_id_invalid\"' is not assignable to type '\"config.spec_retired_key\" | \"config.output_style_invalid\" | \"config.language_invalid\" | \"config.permission_mode_invalid\" | \"config.shell_gate_value_retired\" | \"config.approval_r…",
60
+ "to": "(read by the compiler)",
61
+ "direction": "changed",
62
+ "judged": true
63
+ },
64
+ {
65
+ "key": "sessionStore.acquire(...).session.getStorage().getEntry(...)",
66
+ "from": "Type '\"workflow\"' is not assignable to type '\"subagent\" | \"workflow_member\" | \"background_agent\"'.",
67
+ "to": "(read by the compiler)",
68
+ "direction": "changed",
69
+ "judged": true
70
+ }
71
+ ],
72
+ "breaking": true,
73
+ "criteriaCovered": false,
74
+ "judge": {
75
+ "verdict": "breaking",
76
+ "postures": [
77
+ "R",
78
+ "V",
79
+ "Vo"
80
+ ],
81
+ "leaves": [
82
+ "L-f544552e14e2",
83
+ "L-0d0a39205718",
84
+ "L-e26a48133049",
85
+ "L-6d53ef239ac5",
86
+ "L-89dc1bd1221b"
87
+ ],
88
+ "subject": "SqlStorageBackend",
89
+ "judged": true,
90
+ "home": [
91
+ "L-f544552e14e2",
92
+ "L-0d0a39205718",
93
+ "L-e26a48133049",
94
+ "L-6d53ef239ac5",
95
+ "L-89dc1bd1221b"
96
+ ]
97
+ }
98
+ }
99
+ ],
100
+ "typeKeysUnreadableArms": [],
101
+ "typeKeysFlattenedCount": 4,
102
+ "signatures": [],
103
+ "versionLiterals": [],
104
+ "declarationMoves": [],
105
+ "mintMoves": [],
106
+ "noticeLineage": [],
107
+ "criteriaObserves": [],
108
+ "consumersHint": {
109
+ "cli": [],
110
+ "server": [
111
+ "SqlStorageBackend"
112
+ ],
113
+ "sdk": [],
114
+ "note": "scanned cli@c97d39fea server@a9070a7a5 sdk@93fdd82 — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
115
+ },
116
+ "judge": {
117
+ "judgeVersion": "2",
118
+ "typescript": "5.7.2",
119
+ "counts": {
120
+ "same": 184,
121
+ "breaking": 5
122
+ },
123
+ "probes": 1015,
124
+ "leaves": [
125
+ {
126
+ "id": "L-f544552e14e2",
127
+ "verdict": "breaking",
128
+ "message": "Property 'mark' is missing in type 'RunLedgerEntry' but required in type 'ReminderMarkEntry'.",
129
+ "count": 3,
130
+ "representative": [
131
+ "SqlStorageBackend",
132
+ "SqlStorageBackend.sessionStore",
133
+ "createSqlStorageBackend"
134
+ ],
135
+ "culprits": [
136
+ "backend.d.ts#SqlStorageBackend"
137
+ ],
138
+ "postures": [
139
+ "R",
140
+ "V",
141
+ "Vo"
142
+ ],
143
+ "home": "typeKeys:SqlStorageBackend",
144
+ "answer": {
145
+ "answer": "breaking",
146
+ "why": "This package's own emitted declarations are byte-identical to 7.72.0 (diff of the judge's two cached trees: only the timing sidecar differs), but SqlStorageBackend extends @sema-agent/core's EngineStorageBackend, whose sessionStore hands out sessions whose entries now include core's RunLedgerEntry (no mark, so the checker's elaboration stops at reminder_mark): a host that holds a SqlStorageBackend, its sessionStore or createSqlStorageBackend's result as its 7.72.0 type, or reads entries exhaustively by type, fails to compile; answered in core's manifest as L-f544552e14e2 / L-2b77b74a868a."
147
+ }
148
+ },
149
+ {
150
+ "id": "L-0d0a39205718",
151
+ "verdict": "breaking",
152
+ "message": "Type '\"run_ledger\"' is not assignable to type '\"session_checkout\" | \"message\" | \"thinking_level_change\" | \"model_change\" | \"compaction\" | \"custom\" | \"custom_message\" | \"label\" | \"session_info\" | \"leaf\" | \"prompt_epoch\" | \"announced_listing\" | \"git_announcement\" | \"workspace_state\" | \"reminder_mark\"'.",
153
+ "count": 2,
154
+ "representative": [
155
+ "SqlStorageBackend",
156
+ "SqlStorageBackend.sessionStore"
157
+ ],
158
+ "culprits": [
159
+ "backend.d.ts#SqlStorageBackend"
160
+ ],
161
+ "postures": [
162
+ "W"
163
+ ],
164
+ "home": "typeKeys:SqlStorageBackend",
165
+ "answer": {
166
+ "answer": "breaking",
167
+ "why": "The writer side of the same core change: a session store value built to the 7.72.0 entry union, handed where SqlStorageBackend.sessionStore is expected, meets core's new run_ledger entry type (\"run_ledger\" is not one of the 7.72.0 entry types) and fails to compile; the package's own declarations are byte-identical to 7.72.0, the change is core's SessionTreeEntry (L-2b77b74a868a in core's manifest)."
168
+ }
169
+ },
170
+ {
171
+ "id": "L-e26a48133049",
172
+ "verdict": "breaking",
173
+ "message": "Property 'owner' is missing in type '{ readonly row: { readonly owner: string | null; readonly incarnation?: string | undefined; }; }' but required in type '{ owner: string | null; }'.",
174
+ "count": 2,
175
+ "representative": [
176
+ "SqlStorageBackend",
177
+ "SqlStorageBackend.sessionStore"
178
+ ],
179
+ "culprits": [],
180
+ "postures": [
181
+ "Ws"
182
+ ],
183
+ "home": "typeKeys:SqlStorageBackend",
184
+ "answer": {
185
+ "answer": "breaking",
186
+ "why": "SqlStorageBackend.sessionStore is core's SessionStore, whose delete guard widens to { owner } | { row } (core's L-e26a48133049 / L-0f38ff17ef27): a sessionStore whose delete was written as a function value against the 7.72.0 guard { owner }, handed where SqlStorageBackend's is expected, fails under strictFunctionTypes, and an implementation that reads guard.owner off the contextual type fails to compile; this package's own declarations are byte-identical to 7.72.0."
187
+ }
188
+ },
189
+ {
190
+ "id": "L-6d53ef239ac5",
191
+ "verdict": "breaking",
192
+ "message": "Type '\"config.project_id_invalid\"' is not assignable to type '\"config.spec_retired_key\" | \"config.output_style_invalid\" | \"config.language_invalid\" | \"config.permission_mode_invalid\" | \"config.shell_gate_value_retired\" | \"config.approval_reach_invalid\" | ... 51 more ... | undefined'.",
193
+ "count": 1,
194
+ "representative": [
195
+ "SqlStorageBackend.checkpointStore"
196
+ ],
197
+ "culprits": [],
198
+ "postures": [
199
+ "R"
200
+ ],
201
+ "home": "typeKeys:SqlStorageBackend",
202
+ "answer": {
203
+ "answer": "breaking",
204
+ "why": "SqlStorageBackend.checkpointStore is core's CheckpointStore, whose listings carry CheckpointConfigRefusalCode, which gains config.project_id_invalid (core's L-6d53ef239ac5): a reader exhaustive over a listed row's detail.code, or holding the store or a row as its 7.72.0 type, fails to compile; this package's own declarations are byte-identical to 7.72.0."
205
+ }
206
+ },
207
+ {
208
+ "id": "L-89dc1bd1221b",
209
+ "verdict": "breaking",
210
+ "message": "Type '\"workflow\"' is not assignable to type '\"subagent\" | \"workflow_member\" | \"background_agent\"'.",
211
+ "count": 1,
212
+ "representative": [
213
+ "SqlStorageBackend.backgroundAgentStore"
214
+ ],
215
+ "culprits": [],
216
+ "postures": [
217
+ "R",
218
+ "Ws"
219
+ ],
220
+ "home": "typeKeys:SqlStorageBackend",
221
+ "answer": {
222
+ "answer": "breaking",
223
+ "why": "SqlStorageBackend.backgroundAgentStore hands out core's background agent rows, whose member outcome kind widens with MEMBER_KINDS (+workflow, +peer_task; core's L-89dc1bd1221b): a reader exhaustive over the kind, or holding a row as its 7.72.0 type, fails to compile; this package's own declarations are byte-identical to 7.72.0."
224
+ }
225
+ }
226
+ ],
227
+ "mustCheck": [
228
+ {
229
+ "id": "deep-nesting",
230
+ "form": "a method or callback nested deeper than 10 levels of anonymous object types under an export: the strict postures stop there (a method there is compared bivariantly)",
231
+ "measured": {
232
+ "count": 0,
233
+ "examples": [],
234
+ "note": "not measured: the depth a consumer reaches is not bounded by the declarations"
235
+ },
236
+ "owed": true,
237
+ "answer": "Not measurable by the run, so the hole was checked: the package's own emitted declarations are byte-identical at both ends (diff -r of the judge's two cached trees, 11 .d.ts files: only the timing sidecar differs), and its only outside import is @sema-agent/core (EngineStorageBackend, SessionStore and the store types reached through them), whose declaration diff is answered in core's manifest (deep-nesting there: read, not re-scanned member by member) — every change this package reaches through core is one of the leaves above, each answered breaking."
238
+ },
239
+ {
240
+ "id": "strict-generic",
241
+ "form": "a method-syntax member (compared bivariantly) inside a parameter or result of a GENERIC or OVERLOADED exported function: the strict posture is not written for those functions",
242
+ "measured": {
243
+ "count": 0,
244
+ "examples": []
245
+ },
246
+ "owed": false,
247
+ "answer": null
248
+ },
249
+ {
250
+ "id": "ambient-modules",
251
+ "form": "an ambient module (`declare module \"x\"`) both ends declare: in the one program the judge builds, the two declarations merge, so a change between them is not compared",
252
+ "measured": {
253
+ "count": 0,
254
+ "examples": []
255
+ },
256
+ "owed": false,
257
+ "answer": null
258
+ },
259
+ {
260
+ "id": "shared-dependency",
261
+ "form": "a type the package takes from another installed package: both ends are judged against the ONE copy installed now, so a dependency that moved between the two refs is not compared",
262
+ "measured": {
263
+ "count": 0,
264
+ "examples": []
265
+ },
266
+ "owed": false,
267
+ "answer": null
268
+ },
269
+ {
270
+ "id": "export-equals",
271
+ "form": "a module written `export =`: its members are not enumerated as named exports",
272
+ "measured": {
273
+ "count": 0,
274
+ "examples": []
275
+ },
276
+ "owed": false,
277
+ "answer": null
278
+ },
279
+ {
280
+ "id": "exact-optional",
281
+ "form": "a consumer compiled with `exactOptionalPropertyTypes`: the probes compile without it, so `k?: T` -> `k?: T | undefined` (and back) is not compared under it",
282
+ "measured": {
283
+ "count": 0,
284
+ "examples": [],
285
+ "note": "not measured: a consumer's compiler option"
286
+ },
287
+ "owed": true,
288
+ "answer": "Not measurable (a consumer's compiler option): the package's own emitted declarations are byte-identical at both ends, so no `?` or `| undefined` of its own moved, and in core's declaration diff (what it reaches through @sema-agent/core) no member both ends declare gained or lost `?` or `| undefined` (every change hunk paired by member name: 0 pairs; answered in core's manifest)."
289
+ },
290
+ {
291
+ "id": "unresolved-imports",
292
+ "form": "an import inside the emitted declarations that does not resolve: what it names reads as `any`, which every posture accepts",
293
+ "measured": {
294
+ "count": 0,
295
+ "examples": []
296
+ },
297
+ "owed": false,
298
+ "answer": null
299
+ },
300
+ {
301
+ "id": "declaration-errors",
302
+ "form": "a declaration the end could not emit cleanly (`declaration emit` errors): the emitted file may say less than the source",
303
+ "measured": {
304
+ "count": 0,
305
+ "examples": []
306
+ },
307
+ "owed": false,
308
+ "answer": null
309
+ }
310
+ ],
311
+ "policyNotes": [],
312
+ "staleAnswers": [],
313
+ "seconds": {
314
+ "emitFrom": 0,
315
+ "emitTo": 0.253,
316
+ "build": 1.45,
317
+ "check": 1.383,
318
+ "total": 3.156
319
+ }
320
+ },
321
+ "breakingCount": 1,
322
+ "breakingItems": [
323
+ "type retyped keys: SqlStorageBackend sessionStore.acquire(...).session.getStorage().getEntry(...) (changed: Property 'mark' is missing in type 'RunLedgerEntry' but required in type 'ReminderMarkEntry'.); sessionStore.acquire(...).session.getStorage().getEntry(...) (changed: Type '\"run_ledger\"' is not assignable to type '\"session_checkout\" | \"message\" | \"thinking_level_change\" | \"model_change\" | \"compaction\" | \"custom\" | \"custom_message\" | \"label\" | \"session_info\" | \"leaf\" | \"prompt_epoch\" | \"announced_listing…); sessionStore.acquire(...).session.getStorage().getEntry(...) (changed: Property 'owner' is missing in type '{ readonly row: { readonly owner: string | null, readonly incarnation?: string | undefined, }, }' but required in type '{ owner: string | null, }'.); sessionStore.acquire(...).session.getStorage().getEntry(...) (changed: Type '\"config.project_id_invalid\"' is not assignable to type '\"config.spec_retired_key\" | \"config.output_style_invalid\" | \"config.language_invalid\" | \"config.permission_mode_invalid\" | \"config.shell_gate_value_retired\" | \"config.approval_r…); sessionStore.acquire(...).session.getStorage().getEntry(...) (changed: Type '\"workflow\"' is not assignable to type '\"subagent\" | \"workflow_member\" | \"background_agent\"'.)"
324
+ ],
325
+ "toResolvedAt": "a03a2cd1e6fc6fbaf1e83d9c5a750abc8faadccb"
326
+ }