@sema-agent/server 7.145.0 → 7.147.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 (526) hide show
  1. package/MIGRATION.md +876 -0
  2. package/README.md +1 -1
  3. package/README.zh-CN.md +1 -1
  4. package/USAGE.md +374 -99
  5. package/deploy/facts/CHANGES.json +25 -0
  6. package/deploy/facts/README.md +57 -0
  7. package/deploy/facts/lanes.json +61 -0
  8. package/deploy/facts/lanes.schema.json +57 -0
  9. package/deploy/facts/sandbox-rbac.json +113 -0
  10. package/deploy/facts/sandbox-rbac.schema.json +74 -0
  11. package/deploy/facts/sealed-key.json +9 -0
  12. package/deploy/facts/sealed-key.schema.json +52 -0
  13. package/deploy/sema-up/README.md +2 -2
  14. package/deploy/sema-up/chart/templates/_helpers.tpl +41 -0
  15. package/deploy/sema-up/chart/templates/sandbox-rbac.yaml +47 -7
  16. package/deploy/sema-up/chart/templates/server-v4pro.yaml +9 -4
  17. package/deploy/sema-up/chart/templates/server.yaml +9 -4
  18. package/deploy/sema-up/chart/values.yaml +8 -1
  19. package/deploy/sema-up/cluster-up.sh +2 -1
  20. package/deploy/sema-up/lib/flagshape.sh +4 -0
  21. package/deploy/sema-up/lib/lanes.json +2 -5
  22. package/deploy/sema-up/sema-up.sh +12 -9
  23. package/deploy/sema-up/stack/compose.yaml +5 -4
  24. package/deploy/sema-up/stack/sema-stack-cluster.yaml +34 -17
  25. package/dist/adoption/import-limits.d.ts +6 -0
  26. package/dist/adoption/import-limits.js +7 -0
  27. package/dist/adoption/import.d.ts +62 -0
  28. package/dist/adoption/import.js +107 -0
  29. package/dist/adoption/wire.d.ts +52 -0
  30. package/dist/adoption/wire.js +9 -0
  31. package/dist/approval-ask-machine.d.ts +2 -2
  32. package/dist/approval-card.d.ts +7 -16
  33. package/dist/approval-card.js +0 -4
  34. package/dist/approval-gate-currency.d.ts +1 -1
  35. package/dist/approval-gate-currency.js +1 -1
  36. package/dist/approval-reconciler.d.ts +1 -1
  37. package/dist/approval.d.ts +3 -3
  38. package/dist/audit.js +2 -2
  39. package/dist/bench/s1/live-deps.js +3 -1
  40. package/dist/boot/crash-last.js +2 -1
  41. package/dist/boot/deployment-mods.d.ts +11 -1
  42. package/dist/boot/deployment-mods.js +15 -2
  43. package/dist/boot/device-lane.js +7 -5
  44. package/dist/boot/engine-lease.d.ts +195 -22
  45. package/dist/boot/engine-lease.js +146 -20
  46. package/dist/boot/execution-env.d.ts +5 -0
  47. package/dist/boot/execution-env.js +57 -33
  48. package/dist/boot/execution-lane.d.ts +37 -9
  49. package/dist/boot/execution-lane.js +74 -20
  50. package/dist/boot/exit-boundary.d.ts +50 -0
  51. package/dist/boot/exit-boundary.js +32 -0
  52. package/dist/boot/exit-last.d.ts +20 -4
  53. package/dist/boot/exit-last.js +23 -5
  54. package/dist/boot/governance-seams.d.ts +2 -2
  55. package/dist/boot/governance-seams.js +1 -0
  56. package/dist/boot/leader.js +1 -1
  57. package/dist/boot/memory-boundary.d.ts +11 -11
  58. package/dist/boot/memory-boundary.js +3 -3
  59. package/dist/boot/memory-consolidation.d.ts +42 -41
  60. package/dist/boot/memory-consolidation.js +26 -28
  61. package/dist/boot/org-memory.js +3 -2
  62. package/dist/boot/parked-revive-gate.d.ts +1 -1
  63. package/dist/boot/parked-revive-gate.js +1 -1
  64. package/dist/boot/reapers.d.ts +12 -4
  65. package/dist/boot/reapers.js +40 -16
  66. package/dist/boot/resolve-spec.d.ts +2 -0
  67. package/dist/boot/resolve-spec.js +126 -123
  68. package/dist/boot/retention-lane.d.ts +4 -42
  69. package/dist/boot/runner-deps.js +1 -1
  70. package/dist/boot/session-faces.d.ts +1 -0
  71. package/dist/boot/session-faces.js +11 -3
  72. package/dist/boot/shutdown.js +27 -9
  73. package/dist/boot/stage-01-config.d.ts +1 -1
  74. package/dist/boot/stage-01-config.js +7 -3
  75. package/dist/boot/stage-02-web-admin-pull.d.ts +1 -1
  76. package/dist/boot/stage-02-web-admin-pull.js +10 -8
  77. package/dist/boot/stage-03-store-backend.d.ts +2 -1
  78. package/dist/boot/stage-03-store-backend.js +2 -2
  79. package/dist/boot/stage-04-stores.d.ts +2 -1
  80. package/dist/boot/stage-05-execution-env.d.ts +4 -1
  81. package/dist/boot/stage-05-execution-env.js +6 -6
  82. package/dist/boot/stage-06-runners.d.ts +5 -2
  83. package/dist/boot/stage-06-runners.js +12 -13
  84. package/dist/boot/stage-07-capability-layer.d.ts +5 -2
  85. package/dist/boot/stage-07-capability-layer.js +7 -7
  86. package/dist/boot/stage-08-reapers.d.ts +5 -2
  87. package/dist/boot/stage-08-reapers.js +3 -3
  88. package/dist/boot/stage-09-leader.d.ts +6 -2
  89. package/dist/boot/stage-10-http-server.d.ts +6 -2
  90. package/dist/boot/stage-10-http-server.js +5 -3
  91. package/dist/boot/stores.d.ts +10 -0
  92. package/dist/boot/stores.js +53 -26
  93. package/dist/boot/web-admin.js +3 -3
  94. package/dist/boot/workflow-orchestration.d.ts +1 -1
  95. package/dist/boot/workflow-orchestration.js +2 -1
  96. package/dist/capabilities/center-plugins.d.ts +2 -0
  97. package/dist/capabilities/center-plugins.js +6 -2
  98. package/dist/capabilities/composite-members.d.ts +4 -1
  99. package/dist/capabilities/composite-members.js +4 -1
  100. package/dist/capabilities/execution-lane.d.ts +7 -7
  101. package/dist/capabilities/execution-lane.js +2 -2
  102. package/dist/capabilities/hands-lane.d.ts +1 -1
  103. package/dist/capabilities/scenarios.d.ts +34 -20
  104. package/dist/capabilities/scenarios.js +13 -9
  105. package/dist/capabilities/settings-contract.d.ts +29 -0
  106. package/dist/capabilities/settings-contract.js +14 -0
  107. package/dist/capabilities/skills.d.ts +5 -5
  108. package/dist/capability-facts.d.ts +56 -1
  109. package/dist/capability-facts.js +59 -8
  110. package/dist/center-credential-renewer.js +3 -2
  111. package/dist/checkpoint-ctx-seal-m28.d.ts +1 -1
  112. package/dist/config-catalog.js +19 -9
  113. package/dist/config-invariants.d.ts +18 -3
  114. package/dist/config-invariants.js +36 -19
  115. package/dist/config-lkg.d.ts +1 -1
  116. package/dist/config-lkg.js +5 -6
  117. package/dist/config-provider.d.ts +2 -2
  118. package/dist/config-provider.js +2 -0
  119. package/dist/config-types.d.ts +228 -185
  120. package/dist/config.d.ts +74 -6
  121. package/dist/config.js +146 -64
  122. package/dist/degenerate-instrument.js +1 -1
  123. package/dist/deleted-session-ids.d.ts +19 -0
  124. package/dist/deleted-session-ids.js +26 -0
  125. package/dist/deploy-facts.d.ts +155 -0
  126. package/dist/deploy-facts.js +95 -0
  127. package/dist/deployment-shape.d.ts +21 -12
  128. package/dist/deployment-shape.js +24 -6
  129. package/dist/device-ws-hub.d.ts +48 -3
  130. package/dist/device-ws-hub.js +48 -2
  131. package/dist/env-facts.d.ts +7 -5
  132. package/dist/env-facts.js +10 -6
  133. package/dist/error-code-family.d.ts +35 -0
  134. package/dist/error-code-family.js +26 -0
  135. package/dist/execution-config-root.d.ts +5 -5
  136. package/dist/execution-config-root.js +5 -5
  137. package/dist/execution-env-purpose.d.ts +14 -0
  138. package/dist/execution-env-purpose.js +29 -0
  139. package/dist/execution-lane-caps.d.ts +49 -86
  140. package/dist/execution-lane-caps.js +52 -62
  141. package/dist/execution-placement.d.ts +18 -2
  142. package/dist/execution-placement.js +19 -0
  143. package/dist/file-history-disclosure.d.ts +2 -2
  144. package/dist/fleet/drain-entry.d.ts +46 -3
  145. package/dist/fleet/drain-entry.js +6 -0
  146. package/dist/fleet/fleet-bus.d.ts +2 -1
  147. package/dist/fleet/serving-lease.js +3 -4
  148. package/dist/history-anchor.d.ts +22 -0
  149. package/dist/history-anchor.js +14 -0
  150. package/dist/hooks/branch-transcript.d.ts +1 -1
  151. package/dist/hooks/branch-transcript.js +1 -0
  152. package/dist/hooks/classic-stations.d.ts +25 -8
  153. package/dist/hooks/classic-stations.js +29 -3
  154. package/dist/hooks/command-spawn.d.ts +1 -4
  155. package/dist/hooks/command-spawn.js +0 -11
  156. package/dist/hooks/hook-runner.d.ts +85 -24
  157. package/dist/hooks/hook-runner.js +326 -109
  158. package/dist/hooks/hook-source.d.ts +14 -2
  159. package/dist/hooks/hook-source.js +8 -0
  160. package/dist/http/active-run-conflict.d.ts +1 -1
  161. package/dist/http/active-run-conflict.js +1 -1
  162. package/dist/http/admission.js +11 -1
  163. package/dist/http/approval-sweeps.d.ts +2 -5
  164. package/dist/http/approval-sweeps.js +3 -2
  165. package/dist/http/checkpoint-ctx.d.ts +76 -71
  166. package/dist/http/checkpoint-ctx.js +40 -40
  167. package/dist/http/claim-latency.d.ts +10 -0
  168. package/dist/http/claim-latency.js +12 -0
  169. package/dist/http/dispatch.js +19 -3
  170. package/dist/http/durable-run-leg.d.ts +5 -0
  171. package/dist/http/durable-run-leg.js +3 -1
  172. package/dist/http/execution-context.d.ts +7 -1
  173. package/dist/http/execution-context.js +13 -0
  174. package/dist/http/health-self-report.d.ts +6 -2
  175. package/dist/http/health-self-report.js +3 -2
  176. package/dist/http/memory-compliance-failure-reply.d.ts +2 -2
  177. package/dist/http/memory-compliance-failure-reply.js +5 -15
  178. package/dist/http/memory-control-plane-corrupt-reply.d.ts +25 -0
  179. package/dist/http/memory-control-plane-corrupt-reply.js +19 -0
  180. package/dist/http/memory-store-refusal-reply.d.ts +3 -3
  181. package/dist/http/memory-store-refusal-reply.js +3 -0
  182. package/dist/http/owner-access.d.ts +11 -0
  183. package/dist/http/owner-access.js +7 -4
  184. package/dist/http/principal-gate.d.ts +28 -16
  185. package/dist/http/principal-gate.js +10 -19
  186. package/dist/http/request-guards.d.ts +2 -2
  187. package/dist/http/request-guards.js +5 -5
  188. package/dist/http/resume-legs.d.ts +29 -10
  189. package/dist/http/resume-legs.js +94 -56
  190. package/dist/http/rewind-files-reply.d.ts +34 -0
  191. package/dist/http/rewind-files-reply.js +36 -0
  192. package/dist/http/route-ctx.d.ts +43 -26
  193. package/dist/http/route-table.js +4 -0
  194. package/dist/http/routes/adoption.d.ts +11 -0
  195. package/dist/http/routes/adoption.js +80 -6
  196. package/dist/http/routes/agents-roster.js +1 -0
  197. package/dist/http/routes/approvals-assistant.js +7 -26
  198. package/dist/http/routes/background.js +1 -0
  199. package/dist/http/routes/capabilities.js +12 -3
  200. package/dist/http/routes/devices.js +1 -1
  201. package/dist/http/routes/diagnostics.d.ts +9 -14
  202. package/dist/http/routes/diagnostics.js +10 -20
  203. package/dist/http/routes/engine.d.ts +31 -0
  204. package/dist/http/routes/engine.js +81 -0
  205. package/dist/http/routes/memory-bundle.js +3 -0
  206. package/dist/http/routes/memory-consolidation.js +3 -5
  207. package/dist/http/routes/memory-origin.d.ts +2 -2
  208. package/dist/http/routes/memory-origin.js +2 -4
  209. package/dist/http/routes/memory-policy.js +5 -1
  210. package/dist/http/routes/notify-wake.js +2 -1
  211. package/dist/http/routes/observability.js +3 -6
  212. package/dist/http/routes/projects.d.ts +70 -0
  213. package/dist/http/routes/projects.js +86 -0
  214. package/dist/http/routes/rules.js +30 -2
  215. package/dist/http/routes/runs.js +15 -11
  216. package/dist/http/routes/session-sync.js +39 -35
  217. package/dist/http/routes/sessions-list.d.ts +1 -1
  218. package/dist/http/routes/sessions.d.ts +7 -1
  219. package/dist/http/routes/sessions.js +108 -2
  220. package/dist/http/routes/tasks.js +32 -8
  221. package/dist/http/routes/trace-usage.js +1 -1
  222. package/dist/http/run-concurrency-cap.d.ts +86 -0
  223. package/dist/http/run-concurrency-cap.js +54 -0
  224. package/dist/http/server.d.ts +31 -14
  225. package/dist/http/server.js +29 -3
  226. package/dist/http/stored-body-replay.d.ts +12 -7
  227. package/dist/http/stored-body-replay.js +28 -5
  228. package/dist/http/wire-types.d.ts +27 -13
  229. package/dist/index.d.ts +2 -2
  230. package/dist/index.js +1 -1
  231. package/dist/instruction-source-notice.d.ts +1 -1
  232. package/dist/json-body-limit.d.ts +8 -0
  233. package/dist/json-body-limit.js +2 -0
  234. package/dist/leader/diffout.d.ts +1 -1
  235. package/dist/local-data-root.d.ts +2 -2
  236. package/dist/memory-embedder-reembed.d.ts +38 -0
  237. package/dist/memory-embedder-reembed.js +20 -0
  238. package/dist/memory-incident-sink.d.ts +0 -28
  239. package/dist/memory-incident-sink.js +5 -0
  240. package/dist/memory-operator-faces.d.ts +9 -4
  241. package/dist/memory-scope-stores.d.ts +9 -7
  242. package/dist/memory-scope-stores.js +3 -14
  243. package/dist/memory-scope.d.ts +38 -2
  244. package/dist/memory-scope.js +33 -2
  245. package/dist/memory-store-refusal.d.ts +17 -4
  246. package/dist/memory-store-refusal.js +1 -1
  247. package/dist/memory-sync-client.d.ts +2 -0
  248. package/dist/memory-sync-client.js +13 -11
  249. package/dist/memory-sync.js +1 -1
  250. package/dist/model-compat.d.ts +35 -21
  251. package/dist/model-compat.js +49 -21
  252. package/dist/model-entry-refusal.d.ts +11 -1
  253. package/dist/model-entry-refusal.js +7 -0
  254. package/dist/namespaced-rule-name.d.ts +18 -1
  255. package/dist/namespaced-rule-name.js +12 -0
  256. package/dist/net-address.d.ts +53 -0
  257. package/dist/net-address.js +111 -0
  258. package/dist/observability/fail-open.d.ts +29 -17
  259. package/dist/observability/fail-open.js +29 -17
  260. package/dist/observability/metrics.d.ts +2 -0
  261. package/dist/observability/metrics.js +2 -0
  262. package/dist/observability/secret-env-scrub.d.ts +30 -4
  263. package/dist/observability/secret-env-scrub.js +15 -3
  264. package/dist/orchestration/workflow-agent-session-index.d.ts +7 -12
  265. package/dist/orchestration/workflow-agent-session-index.js +1 -6
  266. package/dist/orchestration/workflow-completion-inbox.d.ts +26 -6
  267. package/dist/orchestration/workflow-completion-inbox.js +63 -45
  268. package/dist/orchestration/workflow-notify-journal.js +2 -3
  269. package/dist/org-delivery-gate.js +1 -1
  270. package/dist/org-memory-admission.d.ts +5 -2
  271. package/dist/org-memory-admission.js +25 -10
  272. package/dist/parked-decide.d.ts +33 -26
  273. package/dist/parked-decide.js +36 -44
  274. package/dist/peer-directory.d.ts +6 -12
  275. package/dist/peer-directory.js +5 -1
  276. package/dist/plugins/approval-ask-store-file.d.ts +10 -2
  277. package/dist/plugins/approval-ask-store-file.js +37 -4
  278. package/dist/plugins/approval-ask-store-memory.d.ts +5 -3
  279. package/dist/plugins/approval-ask-store-memory.js +11 -2
  280. package/dist/plugins/approval-ask-store-sql.d.ts +3 -0
  281. package/dist/plugins/approval-ask-store-sql.js +3 -1
  282. package/dist/plugins/blob-backend.d.ts +38 -195
  283. package/dist/plugins/blob-backend.js +33 -229
  284. package/dist/plugins/caching-session-store.d.ts +12 -5
  285. package/dist/plugins/caching-session-store.js +3 -0
  286. package/dist/plugins/checkpoint-index-columns.d.ts +1 -1
  287. package/dist/plugins/checkpoint-index-columns.js +3 -2
  288. package/dist/plugins/checkpoint-store-face.d.ts +426 -0
  289. package/dist/plugins/checkpoint-store-face.js +152 -0
  290. package/dist/plugins/device-store-sql.d.ts +2 -2
  291. package/dist/plugins/device-store-sql.js +5 -10
  292. package/dist/plugins/execution-lane-rename-m40.d.ts +20 -0
  293. package/dist/plugins/execution-lane-rename-m40.js +10 -0
  294. package/dist/plugins/execution-placement-sql.d.ts +63 -88
  295. package/dist/plugins/execution-placement-sql.js +94 -54
  296. package/dist/plugins/file-run-store.d.ts +26 -18
  297. package/dist/plugins/file-run-store.js +64 -75
  298. package/dist/plugins/fork-routing-session-store.d.ts +6 -2
  299. package/dist/plugins/fork-routing-session-store.js +2 -2
  300. package/dist/plugins/imported-layer-root-retirement.d.ts +22 -11
  301. package/dist/plugins/imported-layer-root-retirement.js +4 -8
  302. package/dist/plugins/inbox-payload-column.d.ts +14 -0
  303. package/dist/plugins/inbox-payload-column.js +13 -0
  304. package/dist/plugins/local-checkpoint-store.d.ts +7 -2
  305. package/dist/plugins/local-checkpoint-store.js +13 -8
  306. package/dist/plugins/local-data-dir-modes-m39.d.ts +48 -0
  307. package/dist/plugins/local-data-dir-modes-m39.js +182 -0
  308. package/dist/plugins/local-engine-high-water.d.ts +11 -0
  309. package/dist/plugins/local-engine-high-water.js +59 -0
  310. package/dist/plugins/local-session-store.d.ts +119 -30
  311. package/dist/plugins/local-session-store.js +156 -53
  312. package/dist/plugins/local-task-attachment-store.d.ts +2 -0
  313. package/dist/plugins/local-task-attachment-store.js +10 -11
  314. package/dist/plugins/memory-embedder-fingerprint.d.ts +33 -10
  315. package/dist/plugins/memory-embedder-fingerprint.js +52 -12
  316. package/dist/plugins/memory-embedder.d.ts +1 -1
  317. package/dist/plugins/memory-embedder.js +2 -2
  318. package/dist/plugins/memory-engine-pg.d.ts +30 -6
  319. package/dist/plugins/memory-engine-pg.js +96 -214
  320. package/dist/plugins/memory-engine-sql-apply.d.ts +130 -0
  321. package/dist/plugins/memory-engine-sql-apply.js +358 -0
  322. package/dist/plugins/memory-engine-tidb.d.ts +38 -9
  323. package/dist/plugins/memory-engine-tidb.js +99 -230
  324. package/dist/plugins/memory-key-guards.d.ts +1 -1
  325. package/dist/plugins/memory-origin-law.d.ts +3 -3
  326. package/dist/plugins/one-time-migrations.d.ts +169 -83
  327. package/dist/plugins/one-time-migrations.js +295 -235
  328. package/dist/plugins/owner-only-file-mode.d.ts +29 -0
  329. package/dist/plugins/owner-only-file-mode.js +141 -0
  330. package/dist/plugins/permission-rule-store-file.d.ts +17 -3
  331. package/dist/plugins/permission-rule-store-file.js +20 -1
  332. package/dist/plugins/pg-pool.d.ts +2 -1
  333. package/dist/plugins/pg-pool.js +12 -5
  334. package/dist/plugins/release-version.d.ts +20 -0
  335. package/dist/plugins/release-version.js +28 -0
  336. package/dist/plugins/remote-env-adb.d.ts +20 -4
  337. package/dist/plugins/remote-env-adb.js +39 -11
  338. package/dist/plugins/remote-env-e2b.d.ts +12 -3
  339. package/dist/plugins/remote-env-e2b.js +6 -4
  340. package/dist/plugins/remote-env-host.d.ts +9 -1
  341. package/dist/plugins/remote-env-host.js +6 -5
  342. package/dist/plugins/remote-env-k8s.d.ts +5 -2
  343. package/dist/plugins/remote-env-k8s.js +15 -4
  344. package/dist/plugins/remote-env-local-docker.d.ts +4 -1
  345. package/dist/plugins/remote-env-local-docker.js +3 -3
  346. package/dist/plugins/remote-env-ssh.d.ts +8 -2
  347. package/dist/plugins/remote-env-ssh.js +26 -24
  348. package/dist/plugins/remote-shell.d.ts +59 -30
  349. package/dist/plugins/remote-shell.js +175 -62
  350. package/dist/plugins/retention-declaration.d.ts +37 -0
  351. package/dist/plugins/retention-declaration.js +9 -0
  352. package/dist/plugins/retention-deployment.d.ts +126 -0
  353. package/dist/plugins/retention-deployment.js +88 -0
  354. package/dist/plugins/retention-lane-store-sql.d.ts +74 -4
  355. package/dist/plugins/retention-lane-store-sql.js +103 -1
  356. package/dist/plugins/retention-sql.d.ts +29 -0
  357. package/dist/plugins/retention-sql.js +8 -0
  358. package/dist/plugins/run-store-sql.js +2 -2
  359. package/dist/plugins/schema-consistency.d.ts +0 -6
  360. package/dist/plugins/schema-consistency.js +1 -2
  361. package/dist/plugins/schema-ensure-legs.d.ts +1 -1
  362. package/dist/plugins/schema-ensure-legs.js +13 -3
  363. package/dist/plugins/session-ext-table.d.ts +74 -0
  364. package/dist/plugins/session-ext-table.js +121 -0
  365. package/dist/plugins/session-fork.d.ts +31 -9
  366. package/dist/plugins/session-fork.js +3 -2
  367. package/dist/plugins/session-placement.d.ts +4 -2
  368. package/dist/plugins/session-row-sql.d.ts +8 -7
  369. package/dist/plugins/session-row-sql.js +15 -7
  370. package/dist/plugins/session-store-sql.d.ts +131 -0
  371. package/dist/plugins/session-store-sql.js +298 -0
  372. package/dist/plugins/session-workspace-cell.d.ts +2 -2
  373. package/dist/plugins/session-workspace-cell.js +2 -2
  374. package/dist/plugins/shared-memory-store-sql.d.ts +10 -0
  375. package/dist/plugins/shared-memory-store-sql.js +13 -13
  376. package/dist/plugins/snapshot-bucket-presence.js +1 -1
  377. package/dist/plugins/sql-driver.d.ts +23 -7
  378. package/dist/plugins/sql-driver.js +41 -8
  379. package/dist/plugins/sql-errors.d.ts +5 -2
  380. package/dist/plugins/sql-errors.js +4 -0
  381. package/dist/plugins/sql-json-column.d.ts +5 -1
  382. package/dist/plugins/store-backend.d.ts +46 -16
  383. package/dist/plugins/store-backend.js +192 -69
  384. package/dist/plugins/store-contracts.d.ts +10 -13
  385. package/dist/plugins/store-contracts.js +1 -9
  386. package/dist/plugins/store-sweep.d.ts +63 -0
  387. package/dist/plugins/store-sweep.js +48 -0
  388. package/dist/plugins/task-attachment-store.d.ts +6 -8
  389. package/dist/plugins/task-attachment-store.js +15 -10
  390. package/dist/plugins/task-list-store-sql.d.ts +1 -1
  391. package/dist/plugins/text-column-capacity.d.ts +21 -0
  392. package/dist/plugins/text-column-capacity.js +5 -0
  393. package/dist/plugins/tidb-pool.d.ts +3 -2
  394. package/dist/plugins/tidb-pool.js +20 -32
  395. package/dist/plugins/user-input-ledger-sql.d.ts +1 -1
  396. package/dist/prompt-screen.d.ts +6 -9
  397. package/dist/prompt-screen.js +2 -5
  398. package/dist/read-face-posture.d.ts +6 -6
  399. package/dist/read-face-posture.js +2 -2
  400. package/dist/request-value-closure.d.ts +5 -5
  401. package/dist/request-value-closure.js +1 -1
  402. package/dist/rules-consent.d.ts +48 -27
  403. package/dist/rules-consent.js +147 -23
  404. package/dist/run-cancel-context.d.ts +4 -1
  405. package/dist/run-cancel-context.js +2 -1
  406. package/dist/run-local.js +17 -13
  407. package/dist/runs.d.ts +48 -30
  408. package/dist/runs.js +27 -17
  409. package/dist/runtime-caps-resolver.d.ts +15 -8
  410. package/dist/runtime-caps-resolver.js +14 -10
  411. package/dist/sandbox-egress-policy.js +6 -11
  412. package/dist/sandbox-rbac-rules.d.ts +88 -0
  413. package/dist/sandbox-rbac-rules.js +80 -0
  414. package/dist/sealed-key-layout.d.ts +16 -0
  415. package/dist/sealed-key-layout.js +3 -0
  416. package/dist/sealed-key.js +8 -6
  417. package/dist/security.d.ts +43 -9
  418. package/dist/security.js +9 -2
  419. package/dist/sema-config-dir.js +2 -2
  420. package/dist/server-secret-env.d.ts +2 -0
  421. package/dist/service-version.d.ts +2 -1
  422. package/dist/service-version.js +2 -2
  423. package/dist/session-error-wire.d.ts +1 -1
  424. package/dist/session-incarnation.d.ts +8 -5
  425. package/dist/session-notify-door.d.ts +5 -3
  426. package/dist/session-resident-background.d.ts +110 -0
  427. package/dist/session-resident-background.js +88 -0
  428. package/dist/session-row.d.ts +1 -1
  429. package/dist/session-sync-kernel.d.ts +53 -14
  430. package/dist/session-sync-kernel.js +70 -1
  431. package/dist/session-sync.d.ts +5 -3
  432. package/dist/session-workspace.d.ts +12 -2
  433. package/dist/session-workspace.js +6 -0
  434. package/dist/sighup-idle.d.ts +9 -7
  435. package/dist/sighup-idle.js +4 -5
  436. package/dist/spec-fields.d.ts +16 -0
  437. package/dist/spec-fields.js +7 -0
  438. package/dist/store-posture.d.ts +2 -1
  439. package/dist/stored-request-env-credentials-m38.d.ts +3 -0
  440. package/dist/stored-request-env-credentials-m38.js +8 -0
  441. package/dist/stored-request-hooks-m20.d.ts +3 -2
  442. package/dist/stored-request-hooks-m20.js +19 -14
  443. package/dist/stored-request-prompt-profile-m30.d.ts +1 -1
  444. package/dist/stores-sql/blob-index-sql.d.ts +148 -0
  445. package/dist/stores-sql/blob-index-sql.js +154 -0
  446. package/dist/{plugins → stores-sql}/checkpoint-store-sql.d.ts +14 -428
  447. package/dist/{plugins → stores-sql}/checkpoint-store-sql.js +43 -220
  448. package/dist/{plugins → stores-sql}/file-history-store-sql.d.ts +23 -11
  449. package/dist/{plugins → stores-sql}/file-history-store-sql.js +23 -18
  450. package/dist/{plugins → stores-sql}/mailbox-store-sql.d.ts +2 -2
  451. package/dist/{plugins → stores-sql}/mailbox-store-sql.js +4 -4
  452. package/dist/{plugins → stores-sql}/pg-session-storage.d.ts +27 -67
  453. package/dist/{plugins → stores-sql}/pg-session-storage.js +82 -207
  454. package/dist/{plugins → stores-sql}/retention-store-sql.d.ts +123 -217
  455. package/dist/{plugins → stores-sql}/retention-store-sql.js +66 -190
  456. package/dist/{plugins → stores-sql}/roster-store-sql.d.ts +2 -2
  457. package/dist/{plugins → stores-sql}/roster-store-sql.js +1 -1
  458. package/dist/{plugins → stores-sql}/session-event-payload.d.ts +1 -1
  459. package/dist/{plugins → stores-sql}/session-event-payload.js +1 -1
  460. package/dist/stores-sql/session-policy-store-sql.d.ts +1 -1
  461. package/dist/stores-sql/session-write-hooks.d.ts +59 -0
  462. package/dist/stores-sql/session-write-hooks.js +2 -0
  463. package/dist/{plugins → stores-sql}/tidb-session-storage.d.ts +10 -11
  464. package/dist/{plugins → stores-sql}/tidb-session-storage.js +10 -21
  465. package/dist/{plugins → stores-sql}/tidb-session-store.d.ts +35 -112
  466. package/dist/{plugins → stores-sql}/tidb-session-store.js +73 -169
  467. package/dist/{plugins → stores-sql}/tool-result-store-sql.d.ts +3 -3
  468. package/dist/{plugins → stores-sql}/tool-result-store-sql.js +6 -6
  469. package/dist/stores-sql/windowed-session-storage.d.ts +56 -0
  470. package/dist/stores-sql/windowed-session-storage.js +61 -0
  471. package/dist/{plugins → stores-sql}/workflow-journal-store-sql.d.ts +7 -12
  472. package/dist/{plugins → stores-sql}/workflow-journal-store-sql.js +3 -8
  473. package/dist/task-a2a.d.ts +7 -1
  474. package/dist/task-a2a.js +15 -14
  475. package/dist/task-cwd.d.ts +11 -3
  476. package/dist/task-cwd.js +17 -1
  477. package/dist/task-mcp.d.ts +10 -2
  478. package/dist/task-mcp.js +13 -16
  479. package/dist/task-settings.d.ts +68 -8
  480. package/dist/task-settings.js +63 -6
  481. package/dist/tool-approval.d.ts +23 -10
  482. package/dist/tool-approval.js +10 -6
  483. package/dist/trace/core-keyset-guard.d.ts +17 -10
  484. package/dist/trace/engine-notice-wire.d.ts +1 -1
  485. package/dist/trace/engine-notice-wire.js +4 -0
  486. package/dist/trace/exit-seat.d.ts +29 -1
  487. package/dist/trace/exit-seat.js +4 -0
  488. package/dist/trace/project.d.ts +33 -16
  489. package/dist/trace/project.js +21 -9
  490. package/dist/trace/redact.d.ts +13 -2
  491. package/dist/trace/redact.js +347 -78
  492. package/dist/trace/self-minted-wire.d.ts +587 -16
  493. package/dist/trace/self-minted-wire.js +215 -9
  494. package/dist/trace/sema-provenance.d.ts +45 -41
  495. package/dist/trace/sema-provenance.js +81 -10
  496. package/dist/trace/task-notification-facets.d.ts +70 -2
  497. package/dist/trace/task-notification-facets.js +71 -1
  498. package/dist/trace/wire-projection-faces.d.ts +39 -3
  499. package/dist/trace/wire-projection-faces.js +27 -2
  500. package/dist/unread-request-members.d.ts +66 -0
  501. package/dist/unread-request-members.js +41 -0
  502. package/dist/usage-analytics.d.ts +4 -0
  503. package/dist/user-input-ledger.d.ts +2 -2
  504. package/dist/web-admin-client/apply-effective.js +22 -26
  505. package/dist/web-admin-client/candidate-gate.d.ts +35 -3
  506. package/dist/web-admin-client/candidate-gate.js +53 -5
  507. package/dist/web-admin-client/center-request.d.ts +4 -1
  508. package/dist/web-admin-client/center-request.js +2 -1
  509. package/dist/web-admin-client/effective-keys.js +0 -1
  510. package/dist/web-admin-client/facade.d.ts +1 -1
  511. package/dist/web-admin-client/http-client.d.ts +1 -0
  512. package/dist/web-admin-client/http-client.js +17 -9
  513. package/dist/web-admin-client/restart-signal.js +5 -2
  514. package/dist/web-admin-client/skills-mcp.d.ts +20 -6
  515. package/dist/web-admin-client/skills-mcp.js +26 -21
  516. package/dist/web-admin-client/types.d.ts +34 -49
  517. package/docs/DEVICE-EXECUTOR-PROTOCOL.md +2 -2
  518. package/package.json +22 -13
  519. package/scripts/drain-check-local.mjs +8 -55
  520. package/scripts/drain-check.mysql.sql +3 -40
  521. package/scripts/drain-check.pg.sql +3 -40
  522. package/skills/update-config.md +1 -1
  523. package/wire-changes/server@7.146.0.json +3221 -0
  524. package/wire-changes/server@7.147.0.json +813 -0
  525. package/dist/approval-batch-census.d.ts +0 -27
  526. package/dist/approval-batch-census.js +0 -27
@@ -0,0 +1,813 @@
1
+ {
2
+ "repo": "server",
3
+ "version": "7.147.0",
4
+ "from": "v7.146.0",
5
+ "fromCommit": "c1f8d672c09c4f6bea016867dc8dd109208c17d8",
6
+ "to": "v7.147.0",
7
+ "generator": "scripts/wire-changes-server.mjs",
8
+ "sources": [
9
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
10
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
11
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1h",
12
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1g",
13
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1",
14
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
15
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b",
16
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2",
17
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3",
18
+ "src/trace/wire-projection-faces.ts",
19
+ "src/trace/self-minted-wire.ts",
20
+ "node_modules/@sema-agent/core/wire-changes"
21
+ ],
22
+ "added": [
23
+ {
24
+ "id": "A1",
25
+ "source": "capability",
26
+ "member": "projects",
27
+ "text": "附录 B.1 能力位新增 `projects`(谓词类 config 依赖)"
28
+ },
29
+ {
30
+ "id": "A2",
31
+ "source": "capability",
32
+ "member": "sessionRewindFiles",
33
+ "text": "附录 B.1 能力位新增 `sessionRewindFiles`(谓词类 设施+config)"
34
+ },
35
+ {
36
+ "id": "A3",
37
+ "source": "capability",
38
+ "member": "sessionRewindFilesPreview",
39
+ "text": "附录 B.1 能力位新增 `sessionRewindFilesPreview`(谓词类 设施+config)"
40
+ },
41
+ {
42
+ "id": "A4",
43
+ "source": "capability",
44
+ "member": "settingsContract",
45
+ "text": "附录 B.1 能力位新增 `settingsContract`(谓词类 恒真)"
46
+ },
47
+ {
48
+ "id": "A5",
49
+ "source": "capabilityMember",
50
+ "member": "settingsContract.hookEntryFields",
51
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `settingsContract.hookEntryFields`(在场律 / 谓词类 恒在场)"
52
+ },
53
+ {
54
+ "id": "A6",
55
+ "source": "capabilityMember",
56
+ "member": "settingsContract.version",
57
+ "text": "附录 B.1a / B.2b 复合能力位成员新增 `settingsContract.version`(在场律 / 谓词类 恒在场)"
58
+ },
59
+ {
60
+ "id": "A7",
61
+ "source": "engineNotice",
62
+ "member": "config.legacy_tool_name",
63
+ "text": "附录 D.3 engine_notice 码新增 `config.legacy_tool_name`(detail `{ layer, entries: [{ field, entry, layer, guidance }], total, sessionId }` —— `layer` ∈ `caller_policy` / `session_rules` / `ancestor_session_rules`,`field` ∈ `deny` / `ask`(闭集词属主 core,server echo-only);`entries` 按 (field, entry) 去重、至多 32 条,`total` 数全部;`entry` 是表项的脱敏原值(与 `config.session_rules_earlier_grammar` 的 `entries[].entry` 同一只写法);`guidance` = 引擎退役表那一行)"
64
+ },
65
+ {
66
+ "id": "A8",
67
+ "source": "errorCode",
68
+ "member": "checkpoint.invalid_outcome",
69
+ "text": "附录 A.1 / A.1b 错误码新增 `checkpoint.invalid_outcome`(状态码 409)"
70
+ },
71
+ {
72
+ "id": "A9",
73
+ "source": "errorCode",
74
+ "member": "conflict.session_workspace_unknown",
75
+ "text": "附录 A.1 / A.1b 错误码新增 `conflict.session_workspace_unknown`(状态码 409)"
76
+ },
77
+ {
78
+ "id": "A10",
79
+ "source": "errorCode",
80
+ "member": "memory.control_plane_links_unsupported",
81
+ "text": "附录 A.1 / A.1b 错误码新增 `memory.control_plane_links_unsupported`(状态码 409)"
82
+ },
83
+ {
84
+ "id": "A11",
85
+ "source": "errorCode",
86
+ "member": "not_found.project",
87
+ "text": "附录 A.1 / A.1b 错误码新增 `not_found.project`(状态码 404)"
88
+ },
89
+ {
90
+ "id": "A12",
91
+ "source": "errorCode",
92
+ "member": "rewind.files_env_unsupported",
93
+ "text": "附录 A.1 / A.1b 错误码新增 `rewind.files_env_unsupported`(状态码 409)"
94
+ },
95
+ {
96
+ "id": "A13",
97
+ "source": "errorCode",
98
+ "member": "rewind.session_busy",
99
+ "text": "附录 A.1 / A.1b 错误码新增 `rewind.session_busy`(状态码 409)"
100
+ },
101
+ {
102
+ "id": "A14",
103
+ "source": "errorCode",
104
+ "member": "state.scenario_assignment_unavailable",
105
+ "text": "附录 A.1 / A.1b 错误码新增 `state.scenario_assignment_unavailable`(状态码 503)"
106
+ },
107
+ {
108
+ "id": "A15",
109
+ "source": "errorCodeFamily",
110
+ "member": "checkpoint.invalid_outcome",
111
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `checkpoint.invalid_outcome`(码族 pending_decision)"
112
+ },
113
+ {
114
+ "id": "A16",
115
+ "source": "errorCodeFamily",
116
+ "member": "conflict.session_workspace_unknown",
117
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `conflict.session_workspace_unknown`(码族 deterministic)"
118
+ },
119
+ {
120
+ "id": "A17",
121
+ "source": "errorCodeFamily",
122
+ "member": "memory.control_plane_links_unsupported",
123
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `memory.control_plane_links_unsupported`(码族 deterministic)"
124
+ },
125
+ {
126
+ "id": "A18",
127
+ "source": "errorCodeFamily",
128
+ "member": "not_found.project",
129
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `not_found.project`(码族 deterministic)"
130
+ },
131
+ {
132
+ "id": "A19",
133
+ "source": "errorCodeFamily",
134
+ "member": "rewind.files_env_unsupported",
135
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `rewind.files_env_unsupported`(码族 deterministic)"
136
+ },
137
+ {
138
+ "id": "A20",
139
+ "source": "errorCodeFamily",
140
+ "member": "rewind.session_busy",
141
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `rewind.session_busy`(码族 transient)"
142
+ },
143
+ {
144
+ "id": "A21",
145
+ "source": "errorCodeFamily",
146
+ "member": "state.scenario_assignment_unavailable",
147
+ "text": "附录 A.1 / A.1b / A.1h 错误码的码族新增 `state.scenario_assignment_unavailable`(码族 transient)"
148
+ },
149
+ {
150
+ "id": "A22",
151
+ "source": "selfMinted.endpointFaceStatus",
152
+ "member": "GET /v1/capabilities/mcp|/v1/sessions/:id/a2a#scenario_assignment_unavailable(与提交腿同一只场景门;缺席与点名的场景名同拒;整面;体同上)",
153
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `GET /v1/capabilities/mcp|/v1/sessions/:id/a2a#scenario_assignment_unavailable(与提交腿同一只场景门;缺席与点名的场景名同拒;整面;体同上)`(属性 503;since 7.147.0 = 本版新上 wire)"
154
+ },
155
+ {
156
+ "id": "A23",
157
+ "source": "selfMinted.endpointFaceStatus",
158
+ "member": "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#scenario_assignment_unavailable(续跑家族经装配的那几条;认领之前,卡仍待决;不折 resume_blocked_by_policy;体 state.scenario_assignment_unavailable + permanence: transient + retriable)",
159
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#scenario_assignment_unavailable(续跑家族经装配的那几条;认领之前,卡仍待决;不折 resume_blocked_by_policy;体 state.scenario_assignment_unavailable + permanence: transient + retriable)`(属性 503;since 7.147.0 = 本版新上 wire)"
160
+ },
161
+ {
162
+ "id": "A24",
163
+ "source": "selfMinted.endpointFaceStatus",
164
+ "member": "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#stored_unread_members(续跑将要跑的那一份体 —— 存量体,重述键在场时盖过重述之后 —— 里有本版读者读不出、而本部署本会采纳的成员:settings.hooks / settings.env / 其余 settings 延后键 / mcpServers[i].transport / a2aPeers[i].headers;认领之前,卡仍待决;体 resume_blocked_by_policy + blockedBy request.field_invalid + field + retriable)",
165
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#stored_unread_members(续跑将要跑的那一份体 —— 存量体,重述键在场时盖过重述之后 —— 里有本版读者读不出、而本部署本会采纳的成员:settings.hooks / settings.env / 其余 settings 延后键 / mcpServers[i].transport / a2aPeers[i].headers;认领之前,卡仍待决;体 resume_blocked_by_policy + blockedBy request.field_invalid + field + retriable)`(属性 409;since 7.147.0 = 本版新上 wire)"
166
+ },
167
+ {
168
+ "id": "A25",
169
+ "source": "selfMinted.endpointFaceStatus",
170
+ "member": "POST /v1/rules/cc-import/prepare|POST /v1/rules/local-import/prepare#record_store_refused(审批记录店建这次导入的记录失败,引擎答店拒臂;没有票、没有放行落店 —— local-import 这一批收下的 deny / ask 可能已当场落店;体 state.rule_write_failed + committed;重发同一请求即重铸)",
171
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/rules/cc-import/prepare|POST /v1/rules/local-import/prepare#record_store_refused(审批记录店建这次导入的记录失败,引擎答店拒臂;没有票、没有放行落店 —— local-import 这一批收下的 deny / ask 可能已当场落店;体 state.rule_write_failed + committed;重发同一请求即重铸)`(属性 503;since 7.147.0 = 本版新上 wire)"
172
+ },
173
+ {
174
+ "id": "A26",
175
+ "source": "selfMinted.endpointFaceStatus",
176
+ "member": "POST /v1/runs/:id/steer#stored_unread_members(run 已终态、铸唤醒卡之前;同一只判;不铸卡;体 resume_blocked_by_policy + blockedBy request.field_invalid + field,不带 retriable)",
177
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/runs/:id/steer#stored_unread_members(run 已终态、铸唤醒卡之前;同一只判;不铸卡;体 resume_blocked_by_policy + blockedBy request.field_invalid + field,不带 retriable)`(属性 409;since 7.147.0 = 本版新上 wire)"
178
+ },
179
+ {
180
+ "id": "A27",
181
+ "source": "selfMinted.endpointFaceStatus",
182
+ "member": "POST /v1/sessions/:id/sync/plan#stamped_archive(DB_BACKEND=local;干跑按 id 分类出 fork / stale,目的端存档仍带属主戳;此刻读,不开暂存、不拿租约、不写存档;体 conflict.session_archive_stamped + 带戳存档的固定句,不带 relation)",
183
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/sessions/:id/sync/plan#stamped_archive(DB_BACKEND=local;干跑按 id 分类出 fork / stale,目的端存档仍带属主戳;此刻读,不开暂存、不拿租约、不写存档;体 conflict.session_archive_stamped + 带戳存档的固定句,不带 relation)`(属性 409;since 7.147.0 = 本版新上 wire)"
184
+ },
185
+ {
186
+ "id": "A28",
187
+ "source": "selfMinted.endpointFaceStatus",
188
+ "member": "POST /v1/tasks|/v1/tasks/stream|/v1/runs#scenario_assignment_unavailable(新提交;部署接了配置中心、请求带主体,而中心答不出这位主体的场景裁定:不可达 / 超时 / 答复读不出 / 指派两键形不对或只发一键;点名与不点名同拒;零 run;体 state.scenario_assignment_unavailable + permanence: transient,无 detail)",
189
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/tasks|/v1/tasks/stream|/v1/runs#scenario_assignment_unavailable(新提交;部署接了配置中心、请求带主体,而中心答不出这位主体的场景裁定:不可达 / 超时 / 答复读不出 / 指派两键形不对或只发一键;点名与不点名同拒;零 run;体 state.scenario_assignment_unavailable + permanence: transient,无 detail)`(属性 503;since 7.147.0 = 本版新上 wire)"
190
+ },
191
+ {
192
+ "id": "A29",
193
+ "source": "selfMinted.endpointFaceStatus",
194
+ "member": "POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env 有成员不是帽内的串(新提交;只在采纳 env 的车道上:单用户 host / device,或采纳请求体 hooks 且请求带着 hooks;零 run;体 request.field_invalid + field settings.env,句子点名坐标、不回显值)",
195
+ "text": "自铸 逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面) 新增 `POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env 有成员不是帽内的串(新提交;只在采纳 env 的车道上:单用户 host / device,或采纳请求体 hooks 且请求带着 hooks;零 run;体 request.field_invalid + field settings.env,句子点名坐标、不回显值)`(属性 400;since 7.147.0 = 本版新上 wire)"
196
+ },
197
+ {
198
+ "id": "A30",
199
+ "source": "selfMinted.healthInflightBreakdownKey",
200
+ "member": "backgroundAgents",
201
+ "text": "自铸 GET /health inflightBreakdown 新增 `backgroundAgents`(属性 always within inflightBreakdown;since 7.147.0 = 本版新上 wire)"
202
+ },
203
+ {
204
+ "id": "A31",
205
+ "source": "selfMinted.inboxPayloadTruncatedFrame",
206
+ "member": "task_notification#payloadTruncated",
207
+ "text": "自铸 停驻补投帧(下一次开流 drain)键(<帧>#<键> → 在场律) 新增 `task_notification#payloadTruncated`(属性 present-iff the parked entry's payload exceeded the inbox byte budget (minimal form);since 7.147.0 = 本版新上 wire)"
208
+ },
209
+ {
210
+ "id": "A32",
211
+ "source": "selfMinted.inboxPayloadTruncatedFrame",
212
+ "member": "workflow_complete#payloadTruncated",
213
+ "text": "自铸 停驻补投帧(下一次开流 drain)键(<帧>#<键> → 在场律) 新增 `workflow_complete#payloadTruncated`(属性 present-iff the parked entry's payload exceeded the inbox byte budget (minimal form);since 7.147.0 = 本版新上 wire)"
214
+ },
215
+ {
216
+ "id": "A33",
217
+ "source": "selfMinted.inboxPayloadTruncatedKey",
218
+ "member": "bytes",
219
+ "text": "自铸 停驻补投帧 payloadTruncated 的键 新增 `bytes`(属性 always;since 7.147.0 = 本版新上 wire)"
220
+ },
221
+ {
222
+ "id": "A34",
223
+ "source": "selfMinted.inboxPayloadTruncatedKey",
224
+ "member": "droppedKeys",
225
+ "text": "自铸 停驻补投帧 payloadTruncated 的键 新增 `droppedKeys`(属性 always;since 7.147.0 = 本版新上 wire)"
226
+ },
227
+ {
228
+ "id": "A35",
229
+ "source": "selfMinted.modelsRowAnthropicCompatKey",
230
+ "member": "contextManagement",
231
+ "text": "自铸 GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律) 新增 `contextManagement`(属性 present-iff declared;since 7.147.0 = 本版新上 wire)"
232
+ },
233
+ {
234
+ "id": "A36",
235
+ "source": "selfMinted.modelsRowAnthropicCompatKey",
236
+ "member": "effortLevels",
237
+ "text": "自铸 GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律) 新增 `effortLevels`(属性 present-iff declared non-empty;since 7.147.0 = 本版新上 wire)"
238
+ },
239
+ {
240
+ "id": "A37",
241
+ "source": "selfMinted.modelsRowAnthropicCompatKey",
242
+ "member": "interleavedThinking",
243
+ "text": "自铸 GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律) 新增 `interleavedThinking`(属性 present-iff declared;since 7.147.0 = 本版新上 wire)"
244
+ },
245
+ {
246
+ "id": "A38",
247
+ "source": "selfMinted.modelsRowAnthropicCompatKey",
248
+ "member": "supportsTemperature",
249
+ "text": "自铸 GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律) 新增 `supportsTemperature`(属性 present-iff declared;since 7.147.0 = 本版新上 wire)"
250
+ },
251
+ {
252
+ "id": "A39",
253
+ "source": "selfMinted.modelsRowAnthropicCompatKey",
254
+ "member": "thinkingMode",
255
+ "text": "自铸 GET /v1/models models[].compat 键(anthropic-messages 行;<键> → 在场律) 新增 `thinkingMode`(属性 present-iff declared;since 7.147.0 = 本版新上 wire)"
256
+ },
257
+ {
258
+ "id": "A40",
259
+ "source": "selfMinted.modelsRowKey",
260
+ "member": "thinkingLevelMap",
261
+ "text": "自铸 GET /v1/models models[] 行键(<键> → 在场律) 新增 `thinkingLevelMap`(属性 present-iff declared;since 7.147.0 = 本版新上 wire)"
262
+ },
263
+ {
264
+ "id": "A41",
265
+ "source": "selfMinted.projectRowKey",
266
+ "member": "archivedAt",
267
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `archivedAt`(属性 present-iff archived;since 7.147.0 = 本版新上 wire)"
268
+ },
269
+ {
270
+ "id": "A42",
271
+ "source": "selfMinted.projectRowKey",
272
+ "member": "color",
273
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `color`(属性 present-iff registered;since 7.147.0 = 本版新上 wire)"
274
+ },
275
+ {
276
+ "id": "A43",
277
+ "source": "selfMinted.projectRowKey",
278
+ "member": "contextItems",
279
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `contextItems`(属性 present-iff registered;since 7.147.0 = 本版新上 wire)"
280
+ },
281
+ {
282
+ "id": "A44",
283
+ "source": "selfMinted.projectRowKey",
284
+ "member": "defaultScopes",
285
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `defaultScopes`(属性 always;since 7.147.0 = 本版新上 wire)"
286
+ },
287
+ {
288
+ "id": "A45",
289
+ "source": "selfMinted.projectRowKey",
290
+ "member": "displayName",
291
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `displayName`(属性 always;since 7.147.0 = 本版新上 wire)"
292
+ },
293
+ {
294
+ "id": "A46",
295
+ "source": "selfMinted.projectRowKey",
296
+ "member": "gitRemotes",
297
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `gitRemotes`(属性 always;since 7.147.0 = 本版新上 wire)"
298
+ },
299
+ {
300
+ "id": "A47",
301
+ "source": "selfMinted.projectRowKey",
302
+ "member": "goal",
303
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `goal`(属性 present-iff registered;since 7.147.0 = 本版新上 wire)"
304
+ },
305
+ {
306
+ "id": "A48",
307
+ "source": "selfMinted.projectRowKey",
308
+ "member": "icon",
309
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `icon`(属性 present-iff registered;since 7.147.0 = 本版新上 wire)"
310
+ },
311
+ {
312
+ "id": "A49",
313
+ "source": "selfMinted.projectRowKey",
314
+ "member": "id",
315
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `id`(属性 always;since 7.147.0 = 本版新上 wire)"
316
+ },
317
+ {
318
+ "id": "A50",
319
+ "source": "selfMinted.projectRowKey",
320
+ "member": "notes",
321
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `notes`(属性 present-iff registered;since 7.147.0 = 本版新上 wire)"
322
+ },
323
+ {
324
+ "id": "A51",
325
+ "source": "selfMinted.projectRowKey",
326
+ "member": "registeredAt",
327
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `registeredAt`(属性 always;since 7.147.0 = 本版新上 wire)"
328
+ },
329
+ {
330
+ "id": "A52",
331
+ "source": "selfMinted.projectRowKey",
332
+ "member": "registeredBy",
333
+ "text": "自铸 GET /v1/projects projects[] 行键 = GET /v1/projects/:id 200 体(<键> → 在场律) 新增 `registeredBy`(属性 always;since 7.147.0 = 本版新上 wire)"
334
+ },
335
+ {
336
+ "id": "A53",
337
+ "source": "selfMinted.projectsListBodyKey",
338
+ "member": "projects",
339
+ "text": "自铸 GET /v1/projects 200 体顶层键(<键> → 在场律) 新增 `projects`(属性 always;since 7.147.0 = 本版新上 wire)"
340
+ },
341
+ {
342
+ "id": "A54",
343
+ "source": "selfMinted.refusalSentenceForm",
344
+ "member": "400 request.field_invalid#unread_request_members(新提交:settings.env 有成员不是帽内的串;嵌入方直调装配时四座同句)",
345
+ "text": "自铸 拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变) 新增 `400 request.field_invalid#unread_request_members(新提交:settings.env 有成员不是帽内的串;嵌入方直调装配时四座同句)`(属性 this request carries a member|members this server version's readers cannot take as written, on a deployment that would apply it|them: <坐标,至多 8 处>[ (and <n> more)] — running it would silently leave that member|those members out (a hook that guards a tool, an MCP server's credentials); submit it again with this member|these members in the current form;since 7.147.0 = 本版新上 wire)"
346
+ },
347
+ {
348
+ "id": "A55",
349
+ "source": "selfMinted.refusalSentenceForm",
350
+ "member": "409 resume_blocked_by_policy#unread_members(续跑四门 · steer 铸唤醒卡之前)",
351
+ "text": "自铸 拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变) 新增 `409 resume_blocked_by_policy#unread_members(续跑四门 · steer 铸唤醒卡之前)`(属性 resume blocked by an admission policy change: <同上一句>;since 7.147.0 = 本版新上 wire)"
352
+ },
353
+ {
354
+ "id": "A56",
355
+ "source": "selfMinted.sessionRewindFilesWire",
356
+ "member": "200#dryRun",
357
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `200#dryRun`(属性 always;the engine RewindFilesResult discriminant verbatim;since 7.147.0 = 本版新上 wire)"
358
+ },
359
+ {
360
+ "id": "A57",
361
+ "source": "selfMinted.sessionRewindFilesWire",
362
+ "member": "200#preview",
363
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `200#preview`(属性 present-iff dryRun true;engine FileHistoryDiffStats verbatim, or null when the store gives no stats (null is not zero stats);since 7.147.0 = 本版新上 wire)"
364
+ },
365
+ {
366
+ "id": "A58",
367
+ "source": "selfMinted.sessionRewindFilesWire",
368
+ "member": "200#restore",
369
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `200#restore`(属性 present-iff dryRun false;engine restore ledger (outcome complete | partial, filesChanged, identicalSkipped, refused[], failed[], modeNotPreserved?, error?), path and reason leaves redacted;error = { errorCode, message, permanence? } (the engine member code is spelled errorCode on the wire);since 7.147.0 = 本版新上 wire)"
370
+ },
371
+ {
372
+ "id": "A59",
373
+ "source": "selfMinted.sessionRewindFilesWire",
374
+ "member": "409 conflict.session_active_run#activeTaskId",
375
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `409 conflict.session_active_run#activeTaskId`(属性 always on this face;the run holding the session's durable claim (the message names it too);since 7.147.0 = 本版新上 wire)"
376
+ },
377
+ {
378
+ "id": "A60",
379
+ "source": "selfMinted.sessionRewindFilesWire",
380
+ "member": "body#acceptPartialRestore",
381
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `body#acceptPartialRestore`(属性 not accepted ⇒ 400 request.body_shape (the engine's out-of-run rewind has no partial-restore policy; a partial restore answers 200 with restore.outcome partial);since 7.147.0 = 本版新上 wire)"
382
+ },
383
+ {
384
+ "id": "A61",
385
+ "source": "selfMinted.sessionRewindFilesWire",
386
+ "member": "body#dryRun",
387
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `body#dryRun`(属性 optional boolean;true ⇒ preview only, no file written;any other key ⇒ 400 request.body_shape;since 7.147.0 = 本版新上 wire)"
388
+ },
389
+ {
390
+ "id": "A62",
391
+ "source": "selfMinted.sessionRewindFilesWire",
392
+ "member": "body#to",
393
+ "text": "自铸 POST /v1/sessions/:id/rewind-files(<面>#<键> → 读法 / 在场律) 新增 `body#to`(属性 required;a rewind handle this server minted (a prompt's taskId or a message's eventId), 1..255 chars;translated by the same anchor reader as the submit body's rewindFilesTo;unknown ⇒ 404 rewind_files_to.unknown_event;since 7.147.0 = 本版新上 wire)"
394
+ },
395
+ {
396
+ "id": "A63",
397
+ "source": "selfMinted.sessionViewKey",
398
+ "member": "projectId",
399
+ "text": "自铸 GET /v1/sessions/:id 体顶层键(本版新出现;<键> → 在场律) 新增 `projectId`(属性 present-iff the session row's last own workspace_changed frame carried a project;since 7.147.0 = 本版新上 wire)"
400
+ },
401
+ {
402
+ "id": "A64",
403
+ "source": "selfMinted.settingsContractHookEntryType",
404
+ "member": "agent",
405
+ "text": "自铸 GET /v1/capabilities settingsContract.hookEntryFields 新增 `agent`(属性 -;since 7.147.0 = 本版新上 wire)"
406
+ },
407
+ {
408
+ "id": "A65",
409
+ "source": "selfMinted.settingsContractHookEntryType",
410
+ "member": "command",
411
+ "text": "自铸 GET /v1/capabilities settingsContract.hookEntryFields 新增 `command`(属性 -;since 7.147.0 = 本版新上 wire)"
412
+ },
413
+ {
414
+ "id": "A66",
415
+ "source": "selfMinted.settingsContractHookEntryType",
416
+ "member": "http",
417
+ "text": "自铸 GET /v1/capabilities settingsContract.hookEntryFields 新增 `http`(属性 -;since 7.147.0 = 本版新上 wire)"
418
+ },
419
+ {
420
+ "id": "A67",
421
+ "source": "selfMinted.settingsContractHookEntryType",
422
+ "member": "mcp_tool",
423
+ "text": "自铸 GET /v1/capabilities settingsContract.hookEntryFields 新增 `mcp_tool`(属性 -;since 7.147.0 = 本版新上 wire)"
424
+ },
425
+ {
426
+ "id": "A68",
427
+ "source": "selfMinted.settingsContractHookEntryType",
428
+ "member": "prompt",
429
+ "text": "自铸 GET /v1/capabilities settingsContract.hookEntryFields 新增 `prompt`(属性 -;since 7.147.0 = 本版新上 wire)"
430
+ },
431
+ {
432
+ "id": "A69",
433
+ "source": "selfMinted.wireValueRule",
434
+ "member": "POST /v1/approvals/:sessionId/decide#errorCode(这一行自己的拒:读行臂 / 门型守卫之前)",
435
+ "text": "自铸 出口值变换(<端点>#<键> → 变换) 新增 `POST /v1/approvals/:sessionId/decide#errorCode(这一行自己的拒:读行臂 / 门型守卫之前)`(属性 rowVerdict.code+reason+retriable:true(engine-judge;before-gate);since 7.147.0 = 本版新上 wire)"
436
+ },
437
+ {
438
+ "id": "A70",
439
+ "source": "selfMinted.wireValueRule",
440
+ "member": "POST /v1/approvals/:sessionId/decide|/v1/assistant/tasks/:id/plan_review|/v1/assistant/tasks/:id/resume|/v1/sessions/:id/wake#errorCode(引擎拒 checkpoint.invalid_outcome)",
441
+ "text": "自铸 出口值变换(<端点>#<键> → 变换) 新增 `POST /v1/approvals/:sessionId/decide|/v1/assistant/tasks/:id/plan_review|/v1/assistant/tasks/:id/resume|/v1/sessions/:id/wake#errorCode(引擎拒 checkpoint.invalid_outcome)`(属性 decision-cause⇒cause-code;row-own(reason)|no-cause⇒checkpoint.invalid_outcome;since 7.147.0 = 本版新上 wire)"
442
+ },
443
+ {
444
+ "id": "A71",
445
+ "source": "wireFace",
446
+ "member": "task_notification_cross_session_message",
447
+ "text": "新投影面 task_notification_cross_session_message(projector taskNotificationEventData,coreType CrossSessionEnvelopeFields & NonNullable<TaskNotificationPayload[\"crossSessionMessage\"]>)"
448
+ },
449
+ {
450
+ "id": "A72",
451
+ "source": "wireFace",
452
+ "member": "task_notification_cross_session_notice",
453
+ "text": "新投影面 task_notification_cross_session_notice(projector taskNotificationEventData,coreType NonNullable<TaskNotificationPayload[\"crossSessionNotice\"]>)"
454
+ },
455
+ {
456
+ "id": "A73",
457
+ "source": "wireFace",
458
+ "member": "task_notification_inbox_notice",
459
+ "text": "新投影面 task_notification_inbox_notice(projector taskNotificationEventData,coreType NonNullable<TaskNotificationPayload[\"inboxNotice\"]>)"
460
+ },
461
+ {
462
+ "id": "A74",
463
+ "source": "wireFace",
464
+ "member": "task_notification_peer_meta",
465
+ "text": "新投影面 task_notification_peer_meta(projector taskNotificationEventData,coreType MailboxPeerMeta)"
466
+ },
467
+ {
468
+ "id": "A75",
469
+ "source": "wireFace",
470
+ "member": "task_notification_peer_notice",
471
+ "text": "新投影面 task_notification_peer_notice(projector taskNotificationEventData,coreType MailboxPeerNoticeMeta)"
472
+ },
473
+ {
474
+ "id": "A76",
475
+ "source": "wireFace",
476
+ "member": "task_notification_provenance",
477
+ "text": "新投影面 task_notification_provenance(projector taskNotificationEventData,coreType SemaProvenance)"
478
+ },
479
+ {
480
+ "id": "A77",
481
+ "source": "wireFace.excluded",
482
+ "member": "task_notification.crossSessionMessage",
483
+ "text": "投影面 task_notification 起投 core 键 crossSessionMessage(从 excluded 撤出)"
484
+ },
485
+ {
486
+ "id": "A78",
487
+ "source": "wireFace.excluded",
488
+ "member": "task_notification.crossSessionNotice",
489
+ "text": "投影面 task_notification 起投 core 键 crossSessionNotice(从 excluded 撤出)"
490
+ },
491
+ {
492
+ "id": "A79",
493
+ "source": "wireFace.excluded",
494
+ "member": "task_notification.inboxNotice",
495
+ "text": "投影面 task_notification 起投 core 键 inboxNotice(从 excluded 撤出)"
496
+ }
497
+ ],
498
+ "registered": [],
499
+ "excluded": [],
500
+ "removed": [
501
+ {
502
+ "id": "R1",
503
+ "source": "selfMinted.inheritEnvRefusalReason",
504
+ "member": "no_authorizer_session",
505
+ "text": "自铸 400 request.field_invalid reason(inheritEnv 的值形 / 车道两类拒;另带 field: \"inheritEnv\") 删除 `no_authorizer_session`(原属性 -)"
506
+ }
507
+ ],
508
+ "changed": [],
509
+ "narrowed": [],
510
+ "closedSetMembers": [
511
+ {
512
+ "set": "errorCode",
513
+ "at": [
514
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
515
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b"
516
+ ],
517
+ "added": [
518
+ "checkpoint.invalid_outcome",
519
+ "conflict.session_workspace_unknown",
520
+ "memory.control_plane_links_unsupported",
521
+ "not_found.project",
522
+ "rewind.files_env_unsupported",
523
+ "rewind.session_busy",
524
+ "state.scenario_assignment_unavailable"
525
+ ],
526
+ "registered": [],
527
+ "removed": [],
528
+ "breaking": false
529
+ },
530
+ {
531
+ "set": "errorCodeFamily",
532
+ "at": [
533
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1",
534
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1b",
535
+ "docs/ASSISTANT-WIRE-CONTRACT.md#A.1h"
536
+ ],
537
+ "added": [
538
+ "checkpoint.invalid_outcome",
539
+ "conflict.session_workspace_unknown",
540
+ "memory.control_plane_links_unsupported",
541
+ "not_found.project",
542
+ "rewind.files_env_unsupported",
543
+ "rewind.session_busy",
544
+ "state.scenario_assignment_unavailable"
545
+ ],
546
+ "registered": [],
547
+ "removed": [],
548
+ "breaking": false
549
+ },
550
+ {
551
+ "set": "capability",
552
+ "at": [
553
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1"
554
+ ],
555
+ "added": [
556
+ "projects",
557
+ "sessionRewindFiles",
558
+ "sessionRewindFilesPreview",
559
+ "settingsContract"
560
+ ],
561
+ "registered": [],
562
+ "removed": [],
563
+ "breaking": false
564
+ },
565
+ {
566
+ "set": "capabilityMember",
567
+ "at": [
568
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.1a",
569
+ "docs/ASSISTANT-WIRE-CONTRACT.md#B.2b"
570
+ ],
571
+ "added": [
572
+ "settingsContract.hookEntryFields",
573
+ "settingsContract.version"
574
+ ],
575
+ "registered": [],
576
+ "removed": [],
577
+ "breaking": false
578
+ },
579
+ {
580
+ "set": "engineNotice",
581
+ "at": [
582
+ "docs/ASSISTANT-WIRE-CONTRACT.md#D.3"
583
+ ],
584
+ "added": [
585
+ "config.legacy_tool_name"
586
+ ],
587
+ "registered": [],
588
+ "removed": [],
589
+ "breaking": false
590
+ },
591
+ {
592
+ "set": "selfMinted.endpointFaceStatus",
593
+ "at": [
594
+ "src/trace/self-minted-wire.ts#endpointFaceStatus"
595
+ ],
596
+ "added": [
597
+ "GET /v1/capabilities/mcp|/v1/sessions/:id/a2a#scenario_assignment_unavailable(与提交腿同一只场景门;缺席与点名的场景名同拒;整面;体同上)",
598
+ "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#scenario_assignment_unavailable(续跑家族经装配的那几条;认领之前,卡仍待决;不折 resume_blocked_by_policy;体 state.scenario_assignment_unavailable + permanence: transient + retriable)",
599
+ "POST /v1/approvals/:sessionId/decide|/v1/sessions/:id/wake|/v1/assistant/tasks/:id/resume|/v1/assistant/tasks/:id/plan_review#stored_unread_members(续跑将要跑的那一份体 —— 存量体,重述键在场时盖过重述之后 —— 里有本版读者读不出、而本部署本会采纳的成员:settings.hooks / settings.env / 其余 settings 延后键 / mcpServers[i].transport / a2aPeers[i].headers;认领之前,卡仍待决;体 resume_blocked_by_policy + blockedBy request.field_invalid + field + retriable)",
600
+ "POST /v1/rules/cc-import/prepare|POST /v1/rules/local-import/prepare#record_store_refused(审批记录店建这次导入的记录失败,引擎答店拒臂;没有票、没有放行落店 —— local-import 这一批收下的 deny / ask 可能已当场落店;体 state.rule_write_failed + committed;重发同一请求即重铸)",
601
+ "POST /v1/runs/:id/steer#stored_unread_members(run 已终态、铸唤醒卡之前;同一只判;不铸卡;体 resume_blocked_by_policy + blockedBy request.field_invalid + field,不带 retriable)",
602
+ "POST /v1/sessions/:id/sync/plan#stamped_archive(DB_BACKEND=local;干跑按 id 分类出 fork / stale,目的端存档仍带属主戳;此刻读,不开暂存、不拿租约、不写存档;体 conflict.session_archive_stamped + 带戳存档的固定句,不带 relation)",
603
+ "POST /v1/tasks|/v1/tasks/stream|/v1/runs#scenario_assignment_unavailable(新提交;部署接了配置中心、请求带主体,而中心答不出这位主体的场景裁定:不可达 / 超时 / 答复读不出 / 指派两键形不对或只发一键;点名与不点名同拒;零 run;体 state.scenario_assignment_unavailable + permanence: transient,无 detail)",
604
+ "POST /v1/tasks|/v1/tasks/stream|/v1/runs#settings.env 有成员不是帽内的串(新提交;只在采纳 env 的车道上:单用户 host / device,或采纳请求体 hooks 且请求带着 hooks;零 run;体 request.field_invalid + field settings.env,句子点名坐标、不回显值)"
605
+ ],
606
+ "registered": [],
607
+ "removed": [],
608
+ "breaking": false
609
+ },
610
+ {
611
+ "set": "selfMinted.healthInflightBreakdownKey",
612
+ "at": [
613
+ "src/trace/self-minted-wire.ts#healthInflightBreakdownKey"
614
+ ],
615
+ "added": [
616
+ "backgroundAgents"
617
+ ],
618
+ "registered": [],
619
+ "removed": [],
620
+ "breaking": false
621
+ },
622
+ {
623
+ "set": "selfMinted.inboxPayloadTruncatedFrame",
624
+ "at": [
625
+ "src/trace/self-minted-wire.ts#inboxPayloadTruncatedFrame"
626
+ ],
627
+ "added": [
628
+ "task_notification#payloadTruncated",
629
+ "workflow_complete#payloadTruncated"
630
+ ],
631
+ "registered": [],
632
+ "removed": [],
633
+ "breaking": false
634
+ },
635
+ {
636
+ "set": "selfMinted.inboxPayloadTruncatedKey",
637
+ "at": [
638
+ "src/trace/self-minted-wire.ts#inboxPayloadTruncatedKey"
639
+ ],
640
+ "added": [
641
+ "bytes",
642
+ "droppedKeys"
643
+ ],
644
+ "registered": [],
645
+ "removed": [],
646
+ "breaking": false
647
+ },
648
+ {
649
+ "set": "selfMinted.inheritEnvRefusalReason",
650
+ "at": [
651
+ "src/trace/self-minted-wire.ts#inheritEnvRefusalReason"
652
+ ],
653
+ "added": [],
654
+ "registered": [],
655
+ "removed": [
656
+ "no_authorizer_session"
657
+ ],
658
+ "breaking": true
659
+ },
660
+ {
661
+ "set": "selfMinted.modelsRowAnthropicCompatKey",
662
+ "at": [
663
+ "src/trace/self-minted-wire.ts#modelsRowAnthropicCompatKey"
664
+ ],
665
+ "added": [
666
+ "contextManagement",
667
+ "effortLevels",
668
+ "interleavedThinking",
669
+ "supportsTemperature",
670
+ "thinkingMode"
671
+ ],
672
+ "registered": [],
673
+ "removed": [],
674
+ "breaking": false
675
+ },
676
+ {
677
+ "set": "selfMinted.modelsRowKey",
678
+ "at": [
679
+ "src/trace/self-minted-wire.ts#modelsRowKey"
680
+ ],
681
+ "added": [
682
+ "thinkingLevelMap"
683
+ ],
684
+ "registered": [],
685
+ "removed": [],
686
+ "breaking": false
687
+ },
688
+ {
689
+ "set": "selfMinted.projectRowKey",
690
+ "at": [
691
+ "src/trace/self-minted-wire.ts#projectRowKey"
692
+ ],
693
+ "added": [
694
+ "archivedAt",
695
+ "color",
696
+ "contextItems",
697
+ "defaultScopes",
698
+ "displayName",
699
+ "gitRemotes",
700
+ "goal",
701
+ "icon",
702
+ "id",
703
+ "notes",
704
+ "registeredAt",
705
+ "registeredBy"
706
+ ],
707
+ "registered": [],
708
+ "removed": [],
709
+ "breaking": false
710
+ },
711
+ {
712
+ "set": "selfMinted.projectsListBodyKey",
713
+ "at": [
714
+ "src/trace/self-minted-wire.ts#projectsListBodyKey"
715
+ ],
716
+ "added": [
717
+ "projects"
718
+ ],
719
+ "registered": [],
720
+ "removed": [],
721
+ "breaking": false
722
+ },
723
+ {
724
+ "set": "selfMinted.refusalSentenceForm",
725
+ "at": [
726
+ "src/trace/self-minted-wire.ts#refusalSentenceForm"
727
+ ],
728
+ "added": [
729
+ "400 request.field_invalid#unread_request_members(新提交:settings.env 有成员不是帽内的串;嵌入方直调装配时四座同句)",
730
+ "409 resume_blocked_by_policy#unread_members(续跑四门 · steer 铸唤醒卡之前)"
731
+ ],
732
+ "registered": [],
733
+ "removed": [],
734
+ "breaking": false
735
+ },
736
+ {
737
+ "set": "selfMinted.sessionRewindFilesWire",
738
+ "at": [
739
+ "src/trace/self-minted-wire.ts#sessionRewindFilesWire"
740
+ ],
741
+ "added": [
742
+ "200#dryRun",
743
+ "200#preview",
744
+ "200#restore",
745
+ "409 conflict.session_active_run#activeTaskId",
746
+ "body#acceptPartialRestore",
747
+ "body#dryRun",
748
+ "body#to"
749
+ ],
750
+ "registered": [],
751
+ "removed": [],
752
+ "breaking": false
753
+ },
754
+ {
755
+ "set": "selfMinted.sessionViewKey",
756
+ "at": [
757
+ "src/trace/self-minted-wire.ts#sessionViewKey"
758
+ ],
759
+ "added": [
760
+ "projectId"
761
+ ],
762
+ "registered": [],
763
+ "removed": [],
764
+ "breaking": false
765
+ },
766
+ {
767
+ "set": "selfMinted.settingsContractHookEntryType",
768
+ "at": [
769
+ "src/trace/self-minted-wire.ts#settingsContractHookEntryType"
770
+ ],
771
+ "added": [
772
+ "agent",
773
+ "command",
774
+ "http",
775
+ "mcp_tool",
776
+ "prompt"
777
+ ],
778
+ "registered": [],
779
+ "removed": [],
780
+ "breaking": false
781
+ },
782
+ {
783
+ "set": "selfMinted.wireValueRule",
784
+ "at": [
785
+ "src/trace/self-minted-wire.ts#wireValueRule"
786
+ ],
787
+ "added": [
788
+ "POST /v1/approvals/:sessionId/decide#errorCode(这一行自己的拒:读行臂 / 门型守卫之前)",
789
+ "POST /v1/approvals/:sessionId/decide|/v1/assistant/tasks/:id/plan_review|/v1/assistant/tasks/:id/resume|/v1/sessions/:id/wake#errorCode(引擎拒 checkpoint.invalid_outcome)"
790
+ ],
791
+ "registered": [],
792
+ "removed": [],
793
+ "breaking": false
794
+ },
795
+ {
796
+ "set": "wireFace",
797
+ "at": [
798
+ "src/trace/wire-projection-faces.ts"
799
+ ],
800
+ "added": [
801
+ "task_notification_cross_session_message",
802
+ "task_notification_cross_session_notice",
803
+ "task_notification_inbox_notice",
804
+ "task_notification_peer_meta",
805
+ "task_notification_peer_notice",
806
+ "task_notification_provenance"
807
+ ],
808
+ "removed": [],
809
+ "breaking": false
810
+ }
811
+ ],
812
+ "breaking": 1
813
+ }