@sema-agent/server 7.134.0 → 7.136.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 (550) hide show
  1. package/MIGRATION.md +197 -1
  2. package/USAGE.md +147 -42
  3. package/deploy/sema-up/README.md +1 -1
  4. package/deploy/sema-up/chart/templates/NOTES.txt +1 -1
  5. package/deploy/sema-up/chart/values.yaml +1 -1
  6. package/dist/adoption/plan.d.ts +1 -1
  7. package/dist/approval-ask-audit-store.d.ts +24 -24
  8. package/dist/approval-ask-machine.d.ts +2 -2
  9. package/dist/approval-card.d.ts +122 -154
  10. package/dist/approval-card.js +50 -51
  11. package/dist/approval-content-kind.d.ts +23 -5
  12. package/dist/approval-content-kind.js +8 -1
  13. package/dist/approval-deny-reasons.d.ts +1 -1
  14. package/dist/approval-gate-currency.d.ts +22 -3
  15. package/dist/approval-gate-currency.js +44 -18
  16. package/dist/approval-hmac.d.ts +7 -7
  17. package/dist/approval-policy-settlement.d.ts +2 -2
  18. package/dist/approval-reconciler.d.ts +3 -3
  19. package/dist/approval.d.ts +8 -8
  20. package/dist/approval.js +4 -2
  21. package/dist/auth-bridge.d.ts +35 -6
  22. package/dist/auth-bridge.js +20 -3
  23. package/dist/auto-mode-face.d.ts +4 -4
  24. package/dist/background-session-reap.d.ts +2 -2
  25. package/dist/bake-runner/main.d.ts +2 -2
  26. package/dist/bake-runner/runner.d.ts +4 -4
  27. package/dist/bench/s1/live-deps.d.ts +1 -1
  28. package/dist/bench/s1/run-firm.d.ts +1 -1
  29. package/dist/boot/budget-tracing.d.ts +1 -2
  30. package/dist/boot/budget-tracing.js +2 -2
  31. package/dist/boot/coordinators.d.ts +2 -2
  32. package/dist/boot/coordinators.js +2 -2
  33. package/dist/boot/deferred-sandbox-path-env.d.ts +0 -6
  34. package/dist/boot/deferred-sandbox-path-env.js +0 -5
  35. package/dist/boot/engine-lease.d.ts +5 -5
  36. package/dist/boot/execution-env.d.ts +16 -15
  37. package/dist/boot/execution-env.js +19 -21
  38. package/dist/boot/fatal-exit.d.ts +2 -2
  39. package/dist/boot/late-binds.d.ts +1 -1
  40. package/dist/boot/leader.d.ts +1 -1
  41. package/dist/boot/memory-boundary.d.ts +2 -2
  42. package/dist/boot/memory-consolidation.d.ts +15 -15
  43. package/dist/boot/org-memory.js +1 -1
  44. package/dist/boot/parked-revive-gate.d.ts +3 -3
  45. package/dist/boot/parked-revive-gate.js +3 -2
  46. package/dist/boot/reapers.d.ts +4 -4
  47. package/dist/boot/resolve-spec.d.ts +1 -1
  48. package/dist/boot/resolve-spec.js +36 -29
  49. package/dist/boot/runner-deps.d.ts +11 -11
  50. package/dist/boot/runner-deps.js +7 -4
  51. package/dist/boot/session-faces.d.ts +3 -3
  52. package/dist/boot/session-faces.js +11 -30
  53. package/dist/boot/shutdown.d.ts +5 -5
  54. package/dist/boot/side-query-lane.d.ts +2 -2
  55. package/dist/boot/stage-04-stores.d.ts +1 -1
  56. package/dist/boot/stage-05-execution-env.d.ts +1 -1
  57. package/dist/boot/stage-05-execution-env.js +4 -4
  58. package/dist/boot/stage-06-runners.d.ts +1 -1
  59. package/dist/boot/stage-06-runners.js +0 -2
  60. package/dist/boot/stage-07-capability-layer.d.ts +1 -1
  61. package/dist/boot/stage-08-reapers.d.ts +1 -1
  62. package/dist/boot/stage-09-leader.d.ts +1 -1
  63. package/dist/boot/stage-10-http-server.d.ts +1 -1
  64. package/dist/boot/stores.js +4 -4
  65. package/dist/boot/web-admin.d.ts +17 -17
  66. package/dist/boot/web-admin.js +15 -27
  67. package/dist/boot/workflow-orchestration.js +2 -9
  68. package/dist/brain.d.ts +11 -11
  69. package/dist/brain.js +12 -3
  70. package/dist/budget.d.ts +7 -7
  71. package/dist/budget.js +4 -0
  72. package/dist/capabilities/approvals-push.d.ts +4 -4
  73. package/dist/capabilities/builtin-tools.d.ts +5 -5
  74. package/dist/capabilities/center-plugins.d.ts +5 -5
  75. package/dist/capabilities/center-plugins.js +1 -1
  76. package/dist/capabilities/center-prompts.d.ts +1 -1
  77. package/dist/capabilities/center-wiring.d.ts +1 -1
  78. package/dist/capabilities/composite-members.d.ts +1 -1
  79. package/dist/capabilities/execution-lane.d.ts +5 -5
  80. package/dist/capabilities/execution-lane.js +2 -2
  81. package/dist/capabilities/hands-lane.d.ts +5 -5
  82. package/dist/capabilities/mcp-probe.d.ts +11 -7
  83. package/dist/capabilities/sandbox-file-send.d.ts +1 -18
  84. package/dist/capabilities/sandbox-file-send.js +0 -7
  85. package/dist/capabilities/scenarios.d.ts +28 -10
  86. package/dist/capabilities/scenarios.js +15 -5
  87. package/dist/capabilities/send-user-file-tool.d.ts +1 -1
  88. package/dist/capabilities/skills.d.ts +31 -12
  89. package/dist/capabilities/skills.js +23 -17
  90. package/dist/capabilities/tool-defer.d.ts +1 -1
  91. package/dist/capability-facts.d.ts +29 -32
  92. package/dist/capability-facts.js +17 -21
  93. package/dist/center-config-tier.d.ts +1 -1
  94. package/dist/center-credential.d.ts +22 -8
  95. package/dist/center-credential.js +18 -3
  96. package/dist/checkpoint-identity.d.ts +5 -0
  97. package/dist/checkpoint-identity.js +14 -0
  98. package/dist/config-catalog.d.ts +12 -12
  99. package/dist/config-catalog.js +12 -10
  100. package/dist/config-d-migration.js +1 -1
  101. package/dist/config-invariants.d.ts +5 -5
  102. package/dist/config-invariants.js +11 -2
  103. package/dist/config-lkg.d.ts +1 -39
  104. package/dist/config-lkg.js +1 -83
  105. package/dist/config-provider.d.ts +13 -13
  106. package/dist/config-provider.js +2 -1
  107. package/dist/config-types.d.ts +95 -87
  108. package/dist/config.d.ts +26 -24
  109. package/dist/config.js +38 -18
  110. package/dist/cross-session-settings.d.ts +1 -1
  111. package/dist/delegated-session-owner.d.ts +16 -13
  112. package/dist/delegated-session-owner.js +9 -10
  113. package/dist/deployment-governance.d.ts +16 -16
  114. package/dist/deployment-shape.d.ts +127 -0
  115. package/dist/deployment-shape.js +72 -0
  116. package/dist/device-store.d.ts +1 -1
  117. package/dist/device-ws-hub.d.ts +1 -1
  118. package/dist/egress-redirect.d.ts +1 -1
  119. package/dist/elicitation.d.ts +8 -7
  120. package/dist/elicitation.js +9 -8
  121. package/dist/entry-mode-clamp-notice.d.ts +2 -2
  122. package/dist/env-facts.d.ts +10 -9
  123. package/dist/env-facts.js +1 -1
  124. package/dist/env-name-allowlist-knobs.d.ts +5 -5
  125. package/dist/exec-bounds.d.ts +2 -2
  126. package/dist/execution-lane-caps.d.ts +31 -43
  127. package/dist/execution-lane-caps.js +0 -13
  128. package/dist/file-history-capture.d.ts +9 -9
  129. package/dist/file-history-disclosure.d.ts +25 -11
  130. package/dist/file-history-disclosure.js +25 -14
  131. package/dist/fleet/drain-entry.d.ts +2 -2
  132. package/dist/fleet/fleet-bus.d.ts +22 -14
  133. package/dist/fleet/fleet-bus.js +5 -5
  134. package/dist/fleet/fleet-reconciler.d.ts +9 -9
  135. package/dist/fleet/subagent-tail-bus.d.ts +4 -4
  136. package/dist/fleet-client.d.ts +45 -14
  137. package/dist/fleet-client.js +24 -4
  138. package/dist/fleet-lease.d.ts +23 -19
  139. package/dist/fleet-lease.js +31 -23
  140. package/dist/governance-http-status.d.ts +2 -2
  141. package/dist/hooks/hook-llm.d.ts +7 -7
  142. package/dist/hooks/hook-llm.js +14 -8
  143. package/dist/hooks/hook-runner.d.ts +58 -31
  144. package/dist/hooks/hook-runner.js +37 -19
  145. package/dist/host-decision.d.ts +5 -5
  146. package/dist/host-lsp-manager.d.ts +5 -5
  147. package/dist/hosted-posture.d.ts +23 -13
  148. package/dist/hosted-posture.js +4 -9
  149. package/dist/http/admission.d.ts +2 -2
  150. package/dist/http/admission.js +20 -5
  151. package/dist/http/approval-sweeps.d.ts +1 -1
  152. package/dist/http/approval-sweeps.js +2 -1
  153. package/dist/http/checkpoint-ctx.d.ts +62 -17
  154. package/dist/http/checkpoint-ctx.js +78 -35
  155. package/dist/http/dispatch.d.ts +3 -3
  156. package/dist/http/dispatch.js +9 -9
  157. package/dist/http/durable-run-leg.js +4 -3
  158. package/dist/http/idempotency.d.ts +2 -2
  159. package/dist/http/mcp-dial-deadline.d.ts +7 -5
  160. package/dist/http/memory-compliance-failure-reply.d.ts +4 -4
  161. package/dist/http/owner-access.d.ts +4 -6
  162. package/dist/http/owner-access.js +1 -1
  163. package/dist/http/principal-gate.d.ts +7 -7
  164. package/dist/http/principal-gate.js +3 -2
  165. package/dist/http/readiness.d.ts +1 -1
  166. package/dist/http/request-guards.d.ts +4 -4
  167. package/dist/http/request-guards.js +2 -1
  168. package/dist/http/resume-ctx-read.d.ts +9 -23
  169. package/dist/http/resume-ctx-read.js +2 -3
  170. package/dist/http/resume-legs.d.ts +3 -3
  171. package/dist/http/resume-legs.js +11 -8
  172. package/dist/http/route-ctx.d.ts +29 -29
  173. package/dist/http/route-table.d.ts +9 -9
  174. package/dist/http/routes/agents-roster.d.ts +1 -1
  175. package/dist/http/routes/approvals-assistant.d.ts +5 -7
  176. package/dist/http/routes/approvals-assistant.js +101 -26
  177. package/dist/http/routes/background.d.ts +3 -3
  178. package/dist/http/routes/background.js +2 -2
  179. package/dist/http/routes/capabilities.d.ts +1 -1
  180. package/dist/http/routes/capabilities.js +16 -8
  181. package/dist/http/routes/config-catalog.d.ts +1 -1
  182. package/dist/http/routes/devices.d.ts +1 -1
  183. package/dist/http/routes/diagnostics.d.ts +3 -3
  184. package/dist/http/routes/fleet.d.ts +1 -1
  185. package/dist/http/routes/fleet.js +2 -1
  186. package/dist/http/routes/mcp-reconnect.d.ts +4 -4
  187. package/dist/http/routes/mcp-reconnect.js +3 -3
  188. package/dist/http/routes/memory-consolidation.d.ts +1 -1
  189. package/dist/http/routes/notify-wake.d.ts +1 -1
  190. package/dist/http/routes/notify-wake.js +2 -2
  191. package/dist/http/routes/rules.d.ts +1 -1
  192. package/dist/http/routes/runs.js +23 -11
  193. package/dist/http/routes/session-sync.d.ts +1 -1
  194. package/dist/http/routes/session-sync.js +97 -46
  195. package/dist/http/routes/sessions-list.js +1 -1
  196. package/dist/http/routes/sessions.js +43 -53
  197. package/dist/http/routes/tasks.d.ts +1 -1
  198. package/dist/http/routes/trace-usage.d.ts +1 -1
  199. package/dist/http/routes/workflows.d.ts +3 -0
  200. package/dist/http/routes/workflows.js +31 -28
  201. package/dist/http/send.d.ts +5 -5
  202. package/dist/http/server.d.ts +34 -34
  203. package/dist/http/session-inherit-env.d.ts +3 -3
  204. package/dist/http/sse-lifecycle.d.ts +1 -1
  205. package/dist/http/sse-log.d.ts +2 -2
  206. package/dist/http/submit-ctx.js +1 -1
  207. package/dist/http/sync-submit-body.d.ts +1 -1
  208. package/dist/http/verify-rounds.d.ts +1 -1
  209. package/dist/http/wire-types.d.ts +33 -24
  210. package/dist/index.d.ts +1 -0
  211. package/dist/index.js +1 -0
  212. package/dist/instruction-source-notice.d.ts +2 -2
  213. package/dist/key-resolver.d.ts +3 -3
  214. package/dist/lane-home-probe.d.ts +1 -1
  215. package/dist/leader/diffout.d.ts +1 -1
  216. package/dist/leader/diffup.d.ts +2 -2
  217. package/dist/leader/endpoint.d.ts +1 -1
  218. package/dist/leader/fanout.d.ts +1 -1
  219. package/dist/leader/leader.d.ts +4 -4
  220. package/dist/leader/merge.d.ts +3 -3
  221. package/dist/leader/repair-wire.d.ts +1 -1
  222. package/dist/leader/wire.d.ts +6 -6
  223. package/dist/list-entry-display.d.ts +1 -1
  224. package/dist/lsp-evict.d.ts +1 -1
  225. package/dist/mcp-assertion-header.d.ts +1 -1
  226. package/dist/memory-layer-legacy-lock.d.ts +1 -1
  227. package/dist/memory-operator-faces.d.ts +1 -1
  228. package/dist/memory-posture.js +4 -2
  229. package/dist/memory-project-layer.d.ts +1 -1
  230. package/dist/memory-scope.d.ts +19 -19
  231. package/dist/memory-store-refusal.d.ts +4 -4
  232. package/dist/model-entry-headers.d.ts +2 -2
  233. package/dist/model-entry-refusal.d.ts +17 -17
  234. package/dist/model-provider.d.ts +10 -10
  235. package/dist/model-reach-scope.d.ts +1 -1
  236. package/dist/model-route-endpoint.d.ts +6 -6
  237. package/dist/model-route-gap.d.ts +49 -4
  238. package/dist/model-route-gap.js +34 -1
  239. package/dist/model-route-url.d.ts +5 -5
  240. package/dist/model-select.d.ts +15 -6
  241. package/dist/model-select.js +5 -0
  242. package/dist/model-unreachable-notice.d.ts +3 -3
  243. package/dist/namespaced-rule-name.d.ts +15 -5
  244. package/dist/namespaced-rule-name.js +3 -2
  245. package/dist/object-store-buckets.d.ts +13 -0
  246. package/dist/object-store-buckets.js +3 -0
  247. package/dist/observability/corrupt-read-seat.d.ts +9 -9
  248. package/dist/observability/cost-taxonomy.d.ts +1 -1
  249. package/dist/observability/err-text.d.ts +1 -1
  250. package/dist/observability/fail-open.d.ts +17 -13
  251. package/dist/observability/fail-open.js +17 -13
  252. package/dist/observability/metrics.d.ts +3 -3
  253. package/dist/observability/metrics.js +1 -1
  254. package/dist/observability/principal-context.d.ts +4 -1
  255. package/dist/observability/principal-context.js +6 -1
  256. package/dist/observability/run-terminal.d.ts +36 -36
  257. package/dist/observability/secret-env-scrub.d.ts +3 -3
  258. package/dist/observability/tool-trace.d.ts +1 -1
  259. package/dist/operator-ask.d.ts +4 -4
  260. package/dist/orchestration/workflow-agent-session-index.d.ts +3 -3
  261. package/dist/orchestration/workflow-completion-inbox.d.ts +20 -5
  262. package/dist/orchestration/workflow-completion-inbox.js +29 -7
  263. package/dist/orchestration/workflow-notify-journal.d.ts +43 -19
  264. package/dist/orchestration/workflow-notify-journal.js +17 -0
  265. package/dist/outbound-dispatcher.d.ts +4 -4
  266. package/dist/parent-watch.d.ts +4 -4
  267. package/dist/parked-decide.d.ts +20 -18
  268. package/dist/parked-decide.js +31 -11
  269. package/dist/parked-revive-surface.d.ts +7 -7
  270. package/dist/parked-revive-surface.js +2 -3
  271. package/dist/peer-directory.d.ts +5 -4
  272. package/dist/peer-directory.js +6 -6
  273. package/dist/permission-rule-list.d.ts +10 -1
  274. package/dist/permission-rule-list.js +7 -5
  275. package/dist/permission-rule-vocab.d.ts +2 -2
  276. package/dist/plugins/adoption-log-sql.d.ts +1 -1
  277. package/dist/plugins/approval-ask-store-file.d.ts +8 -1
  278. package/dist/plugins/approval-ask-store-file.js +6 -3
  279. package/dist/plugins/approval-ask-store-memory.d.ts +11 -7
  280. package/dist/plugins/approval-ask-store-memory.js +11 -7
  281. package/dist/plugins/approval-ask-store-sql.d.ts +42 -15
  282. package/dist/plugins/approval-ask-store-sql.js +21 -5
  283. package/dist/plugins/approval-exemption-store.d.ts +3 -3
  284. package/dist/plugins/approval-nonce-store.d.ts +3 -3
  285. package/dist/plugins/background-agent-store-sql.d.ts +1 -1
  286. package/dist/plugins/background-shell-support.d.ts +2 -2
  287. package/dist/plugins/blob-backend.d.ts +1 -1
  288. package/dist/plugins/blob-backend.js +2 -1
  289. package/dist/plugins/caching-session-store.d.ts +23 -32
  290. package/dist/plugins/caching-session-store.js +5 -17
  291. package/dist/plugins/checkpoint-index-columns.d.ts +130 -0
  292. package/dist/plugins/checkpoint-index-columns.js +90 -0
  293. package/dist/plugins/checkpoint-store-sql.d.ts +71 -69
  294. package/dist/plugins/checkpoint-store-sql.js +109 -127
  295. package/dist/plugins/device-store-sql.d.ts +7 -6
  296. package/dist/plugins/e2b-orphan-reclaim.d.ts +1 -1
  297. package/dist/plugins/ensure-schema-lock-policy.d.ts +1 -1
  298. package/dist/plugins/file-history-store-sql.d.ts +15 -7
  299. package/dist/plugins/file-history-store-sql.js +55 -36
  300. package/dist/plugins/file-run-store.d.ts +8 -8
  301. package/dist/plugins/fork-routing-session-store.d.ts +2 -2
  302. package/dist/plugins/fork-routing-session-store.js +1 -1
  303. package/dist/plugins/host-platform.d.ts +10 -10
  304. package/dist/plugins/image-bake-store-sql.d.ts +1 -1
  305. package/dist/plugins/image-index-sql.d.ts +1 -1
  306. package/dist/plugins/leader-run-store-sql.d.ts +1 -1
  307. package/dist/plugins/local-checkpoint-store.d.ts +10 -10
  308. package/dist/plugins/local-checkpoint-store.js +7 -7
  309. package/dist/plugins/local-session-store.d.ts +34 -38
  310. package/dist/plugins/local-session-store.js +20 -39
  311. package/dist/plugins/local-session-window.d.ts +1 -1
  312. package/dist/plugins/mailbox-store-sql.d.ts +2 -2
  313. package/dist/plugins/memory-engine-pg.d.ts +1 -1
  314. package/dist/plugins/memory-run-store.d.ts +4 -4
  315. package/dist/plugins/memory-sync-store-pg.d.ts +3 -3
  316. package/dist/plugins/one-time-migrations.d.ts +73 -54
  317. package/dist/plugins/one-time-migrations.js +131 -134
  318. package/dist/plugins/outcome-ledger-sql.d.ts +1 -1
  319. package/dist/plugins/park-commit-watch.d.ts +3 -3
  320. package/dist/plugins/permission-rule-store-file.d.ts +5 -5
  321. package/dist/plugins/permission-rule-store-file.js +12 -19
  322. package/dist/plugins/permission-rule-store-sql.d.ts +38 -4
  323. package/dist/plugins/permission-rule-store-sql.js +67 -24
  324. package/dist/plugins/pg-cost-quota.d.ts +1 -1
  325. package/dist/plugins/pg-pool.d.ts +2 -2
  326. package/dist/plugins/pg-pool.js +5 -2
  327. package/dist/plugins/pg-rate-limiter.d.ts +1 -1
  328. package/dist/plugins/pg-session-storage.d.ts +8 -20
  329. package/dist/plugins/pg-session-storage.js +14 -27
  330. package/dist/plugins/remote-env-adb.d.ts +10 -10
  331. package/dist/plugins/remote-env-device.d.ts +10 -9
  332. package/dist/plugins/remote-env-device.js +6 -2
  333. package/dist/plugins/remote-env-e2b.d.ts +3 -3
  334. package/dist/plugins/remote-env-host.d.ts +16 -16
  335. package/dist/plugins/remote-env-k8s.d.ts +26 -13
  336. package/dist/plugins/remote-env-k8s.js +24 -7
  337. package/dist/plugins/remote-env-local-docker.d.ts +2 -2
  338. package/dist/plugins/remote-env-ssh.d.ts +4 -4
  339. package/dist/plugins/remote-scratchpad.d.ts +2 -3
  340. package/dist/plugins/remote-scratchpad.js +0 -4
  341. package/dist/plugins/remote-shell.d.ts +6 -6
  342. package/dist/plugins/retention-lane-store-sql.d.ts +4 -4
  343. package/dist/plugins/retention-store-sql.d.ts +4 -4
  344. package/dist/plugins/roster-store-sql.d.ts +1 -1
  345. package/dist/plugins/run-store-sql.d.ts +8 -8
  346. package/dist/plugins/s3-answer.d.ts +15 -0
  347. package/dist/plugins/s3-answer.js +5 -0
  348. package/dist/plugins/schema-consistency.d.ts +2 -2
  349. package/dist/plugins/schema-ensure-legs.d.ts +3 -3
  350. package/dist/plugins/schema-indexes.d.ts +1 -1
  351. package/dist/plugins/schema-live-columns.d.ts +1 -1
  352. package/dist/plugins/session-event-payload.d.ts +4 -4
  353. package/dist/plugins/session-fork.d.ts +34 -0
  354. package/dist/plugins/session-fork.js +29 -0
  355. package/dist/plugins/session-ownership.js +1 -1
  356. package/dist/plugins/session-placement.d.ts +1 -1
  357. package/dist/plugins/session-policy-store-sql.d.ts +12 -12
  358. package/dist/plugins/session-store.d.ts +2 -2
  359. package/dist/plugins/session-store.js +2 -2
  360. package/dist/plugins/shared-memory-store-sql.d.ts +2 -2
  361. package/dist/plugins/snapshot-bucket-presence.d.ts +39 -4
  362. package/dist/plugins/snapshot-bucket-presence.js +35 -7
  363. package/dist/plugins/sql-driver.d.ts +8 -8
  364. package/dist/plugins/sql-errors.d.ts +40 -1
  365. package/dist/plugins/sql-errors.js +49 -1
  366. package/dist/plugins/sql-json-column.d.ts +21 -21
  367. package/dist/plugins/sql-row-helpers.d.ts +2 -2
  368. package/dist/plugins/store-backend.d.ts +17 -16
  369. package/dist/plugins/store-backend.js +3 -3
  370. package/dist/plugins/store-contracts.d.ts +21 -21
  371. package/dist/plugins/store-fault.d.ts +4 -0
  372. package/dist/plugins/store-fault.js +8 -0
  373. package/dist/plugins/task-attachment-store.d.ts +2 -2
  374. package/dist/plugins/task-list-store-sql.d.ts +1 -1
  375. package/dist/plugins/tidb-pool.d.ts +2 -2
  376. package/dist/plugins/tidb-pool.js +10 -3
  377. package/dist/plugins/tidb-session-store.d.ts +16 -26
  378. package/dist/plugins/tidb-session-store.js +15 -27
  379. package/dist/plugins/tool-result-store-sql.d.ts +1 -1
  380. package/dist/plugins/usage-window-store-sql.d.ts +3 -3
  381. package/dist/plugins/user-input-ledger-file.d.ts +1 -1
  382. package/dist/plugins/user-input-ledger-sql.d.ts +3 -3
  383. package/dist/plugins/web-search.d.ts +19 -5
  384. package/dist/plugins/web-search.js +20 -5
  385. package/dist/{orchestration/workflow-journal-entry.d.ts → plugins/workflow-journal-payload.d.ts} +23 -32
  386. package/dist/plugins/workflow-journal-payload.js +32 -0
  387. package/dist/plugins/workflow-journal-store-sql.d.ts +28 -14
  388. package/dist/plugins/workflow-journal-store-sql.js +34 -15
  389. package/dist/plugins/workflow-run-store-sql.d.ts +4 -4
  390. package/dist/posture-source.d.ts +11 -11
  391. package/dist/principal-jwt.d.ts +6 -6
  392. package/dist/project-identity.d.ts +3 -3
  393. package/dist/project-memory.d.ts +4 -4
  394. package/dist/read-face-posture.d.ts +7 -7
  395. package/dist/request-declaration-refusal.d.ts +94 -0
  396. package/dist/request-declaration-refusal.js +78 -0
  397. package/dist/request-image-urls.d.ts +6 -0
  398. package/dist/request-image-urls.js +27 -0
  399. package/dist/request-key-closure.d.ts +6 -1
  400. package/dist/request-key-closure.js +5 -2
  401. package/dist/request-value-closure.d.ts +15 -8
  402. package/dist/request-value-closure.js +2 -0
  403. package/dist/router/route-orchestration.d.ts +11 -16
  404. package/dist/router/route-orchestration.js +2 -12
  405. package/dist/rule-entry-list.d.ts +8 -7
  406. package/dist/rule-entry-list.js +2 -9
  407. package/dist/rules-consent.d.ts +6 -6
  408. package/dist/rules-consent.js +2 -0
  409. package/dist/run-cancel-context.d.ts +5 -5
  410. package/dist/run-local.d.ts +10 -10
  411. package/dist/runs.d.ts +13 -11
  412. package/dist/runs.js +15 -1
  413. package/dist/runtime-caps-resolver.d.ts +6 -6
  414. package/dist/runtime-caps-resolver.js +1 -1
  415. package/dist/runtime-governance.d.ts +9 -9
  416. package/dist/sandbox-pkg-source.d.ts +17 -12
  417. package/dist/sandbox-pkg-source.js +14 -9
  418. package/dist/sealed-key.d.ts +22 -3
  419. package/dist/sealed-key.js +47 -4
  420. package/dist/security.d.ts +23 -26
  421. package/dist/security.js +12 -9
  422. package/dist/server-secret-env.d.ts +10 -10
  423. package/dist/session-children-retire.d.ts +1 -1
  424. package/dist/session-error-wire.d.ts +7 -7
  425. package/dist/session-incarnation.d.ts +65 -37
  426. package/dist/session-incarnation.js +30 -12
  427. package/dist/session-policy-wire.d.ts +27 -5
  428. package/dist/session-policy-wire.js +15 -1
  429. package/dist/session-records-skipped-notice.d.ts +1 -1
  430. package/dist/session-row.d.ts +3 -17
  431. package/dist/session-row.js +4 -0
  432. package/dist/session-sync-kernel.d.ts +4 -4
  433. package/dist/session-sync.d.ts +61 -6
  434. package/dist/session-sync.js +55 -10
  435. package/dist/session-titler.d.ts +7 -6
  436. package/dist/session-titler.js +8 -13
  437. package/dist/session-watch.d.ts +3 -3
  438. package/dist/session-watch.js +4 -4
  439. package/dist/sighup-idle.d.ts +2 -2
  440. package/dist/spec-fields.d.ts +4 -4
  441. package/dist/sql-engine-posture.d.ts +3 -3
  442. package/dist/store-posture.d.ts +2 -2
  443. package/dist/stored-request-tool-axes-m19.d.ts +1 -1
  444. package/dist/task-a2a.d.ts +52 -79
  445. package/dist/task-a2a.js +224 -62
  446. package/dist/task-cwd.d.ts +7 -88
  447. package/dist/task-cwd.js +2 -15
  448. package/dist/task-mcp.d.ts +13 -17
  449. package/dist/task-mcp.js +29 -49
  450. package/dist/task-settings.d.ts +30 -18
  451. package/dist/task-settings.js +33 -3
  452. package/dist/task-workflow.d.ts +0 -24
  453. package/dist/task-workflow.js +2 -1
  454. package/dist/terminal.d.ts +5 -5
  455. package/dist/tighten-only-seats.d.ts +7 -6
  456. package/dist/tighten-only-seats.js +1 -1
  457. package/dist/tool-approval.d.ts +166 -207
  458. package/dist/tool-approval.js +61 -61
  459. package/dist/tool-rule-names.d.ts +2 -2
  460. package/dist/trace/core-keyset-guard.d.ts +13 -8
  461. package/dist/trace/engine-notice-wire.d.ts +5 -5
  462. package/dist/trace/engine-notice-wire.js +1 -0
  463. package/dist/trace/exit-seat.d.ts +31 -4
  464. package/dist/trace/exit-seat.js +69 -67
  465. package/dist/trace/ledger-events.d.ts +3 -3
  466. package/dist/trace/ledger-sink.d.ts +1 -1
  467. package/dist/trace/model-segment.d.ts +3 -3
  468. package/dist/trace/project.d.ts +47 -45
  469. package/dist/trace/project.js +33 -1
  470. package/dist/trace/redact.d.ts +61 -31
  471. package/dist/trace/redact.js +394 -153
  472. package/dist/trace/self-minted-wire.d.ts +302 -14
  473. package/dist/trace/self-minted-wire.js +87 -0
  474. package/dist/trace/sema-provenance.d.ts +1 -1
  475. package/dist/trace/task-notification-facets.d.ts +4 -4
  476. package/dist/trace/wire-projection-faces.d.ts +3 -3
  477. package/dist/trace/wire-projection-faces.js +1 -1
  478. package/dist/unattended-permission-mode.d.ts +5 -5
  479. package/dist/url-credential-refusal.d.ts +52 -0
  480. package/dist/url-credential-refusal.js +14 -0
  481. package/dist/url-refusal.d.ts +16 -3
  482. package/dist/url-refusal.js +15 -2
  483. package/dist/usage-analytics.d.ts +2 -2
  484. package/dist/user-input-ledger.d.ts +23 -23
  485. package/dist/web-admin-client/apply-effective.d.ts +5 -5
  486. package/dist/web-admin-client/apply-effective.js +2 -1
  487. package/dist/web-admin-client/apply-ledger.d.ts +2 -2
  488. package/dist/web-admin-client/center-request.d.ts +2 -2
  489. package/dist/web-admin-client/facade.d.ts +5 -5
  490. package/dist/web-admin-client/facade.js +1 -1
  491. package/dist/web-admin-client/hot-keys-registry.d.ts +2 -2
  492. package/dist/web-admin-client/http-client.d.ts +4 -4
  493. package/dist/web-admin-client/mcp-revocation.d.ts +1 -1
  494. package/dist/web-admin-client/pull-state.d.ts +1 -1
  495. package/dist/web-admin-client/read-face.d.ts +2 -2
  496. package/dist/web-admin-client/read-warnings.d.ts +5 -5
  497. package/dist/web-admin-client/restart-signal.d.ts +6 -6
  498. package/dist/web-admin-client/skills-mcp.d.ts +28 -3
  499. package/dist/web-admin-client/skills-mcp.js +29 -1
  500. package/dist/web-admin-client/types.d.ts +16 -9
  501. package/dist/workspace-space.d.ts +32 -3
  502. package/dist/workspace-space.js +26 -0
  503. package/dist/write-protection.d.ts +2 -2
  504. package/package.json +5 -3
  505. package/scripts/drain-check-local.mjs +4 -2
  506. package/scripts/drain-check.mysql.sql +6 -2
  507. package/scripts/drain-check.pg.sql +6 -2
  508. package/skills/loop.md +1 -1
  509. package/skills/schedule.md +1 -1
  510. package/wire-changes/server@7.104.0.json +134 -0
  511. package/wire-changes/server@7.105.0.json +53 -0
  512. package/wire-changes/server@7.106.0.json +475 -0
  513. package/wire-changes/server@7.107.0.json +64 -0
  514. package/wire-changes/server@7.108.0.json +153 -0
  515. package/wire-changes/server@7.109.0.json +46 -0
  516. package/wire-changes/server@7.110.0.json +90 -0
  517. package/wire-changes/server@7.111.0.json +86 -0
  518. package/wire-changes/server@7.112.0.json +60 -0
  519. package/wire-changes/server@7.113.0.json +26 -0
  520. package/wire-changes/server@7.114.0.json +26 -0
  521. package/wire-changes/server@7.115.0.json +97 -0
  522. package/wire-changes/server@7.116.0.json +218 -0
  523. package/wire-changes/server@7.116.1.json +26 -0
  524. package/wire-changes/server@7.117.0.json +65 -0
  525. package/wire-changes/server@7.118.0.json +129 -0
  526. package/wire-changes/server@7.119.0.json +65 -0
  527. package/wire-changes/server@7.120.0.json +89 -0
  528. package/wire-changes/server@7.121.0.json +219 -0
  529. package/wire-changes/server@7.122.0.json +54 -0
  530. package/wire-changes/server@7.123.0.json +26 -0
  531. package/wire-changes/server@7.124.0.json +336 -0
  532. package/wire-changes/server@7.124.1.json +26 -0
  533. package/wire-changes/server@7.125.0.json +111 -0
  534. package/wire-changes/server@7.126.0.json +285 -0
  535. package/wire-changes/server@7.127.0.json +77 -0
  536. package/wire-changes/server@7.127.1.json +26 -0
  537. package/wire-changes/server@7.127.2.json +53 -0
  538. package/wire-changes/server@7.128.0.json +26 -0
  539. package/wire-changes/server@7.129.0.json +106 -0
  540. package/wire-changes/server@7.129.1.json +26 -0
  541. package/wire-changes/server@7.130.0.json +26 -0
  542. package/wire-changes/server@7.131.0.json +118 -0
  543. package/wire-changes/server@7.132.0.json +226 -0
  544. package/wire-changes/server@7.133.0.json +1155 -0
  545. package/wire-changes/server@7.134.0.json +107 -0
  546. package/wire-changes/server@7.135.0.json +174 -0
  547. package/wire-changes/server@7.136.0.json +448 -0
  548. package/dist/http/run-declared-families.d.ts +0 -16
  549. package/dist/http/run-declared-families.js +0 -12
  550. package/dist/orchestration/workflow-journal-entry.js +0 -27
@@ -8,7 +8,7 @@ export interface SelfMintedRetiredMember extends SelfMintedWireMember {
8
8
  readonly until: string;
9
9
  }
10
10
  export declare const SELF_MINTED_WIRE: {
11
- /** [ref](7.55.0)起的终态成因注;S-929(7.108.0)+`shutdown_before_park`。 */
11
+ /** [ref](7.55.0)起的终态成因注;[ref](7.108.0)+`shutdown_before_park`。 */
12
12
  readonly crashConvergedCause: {
13
13
  readonly at: "GET /v1/approvals crashConverged[].cause";
14
14
  readonly members: {
@@ -23,7 +23,7 @@ export declare const SELF_MINTED_WIRE: {
23
23
  };
24
24
  };
25
25
  /**
26
- * S-928(7.110.0):`engine_notice` `task.user_steer_undrained` 上**本仓铸**的那一臂。词表属主是 core(`USER_INPUT_UNDRAINED_CAUSES`,两族共用;
26
+ * [ref](7.110.0):`engine_notice` `task.user_steer_undrained` 上**本仓铸**的那一臂。词表属主是 core(`USER_INPUT_UNDRAINED_CAUSES`,两族共用;
27
27
  * `leg_end` 由引擎铸、逐字过境,不在本表);本表登记的是「这个值自哪一版起由本服务出现在 wire 上」。`satisfies Record<CrashedCause, …>`:
28
28
  * core 删掉 `crashed` ⇒ `CrashedCause` 成 never ⇒ 本行编译红。码按受理时的车道选(`user-input-ledger.ts` `acceptedInputKindOf`,车道 = core `injectionLaneOf`,码 = core `USER_INPUT_UNDRAINED_FAMILIES`):本行 = steer 车道。
29
29
  */
@@ -36,7 +36,7 @@ export declare const SELF_MINTED_WIRE: {
36
36
  };
37
37
  };
38
38
  };
39
- /** S-1122(7.118.0,core 7.44.0 #1362):同一臂在 follow-up 车道(`later` 档)上的那一族。7.110.0–7.117.x 的这类丢失报在 steer 一族里。 */
39
+ /** [ref](7.118.0,core 7.44.0 [ref]):同一臂在 follow-up 车道(`later` 档)上的那一族。7.110.0–7.117.x 的这类丢失报在 steer 一族里。 */
40
40
  readonly userFollowupUndrainedServerCause: {
41
41
  readonly at: "engine_notice task.user_followup_undrained detail.cause(本服务铸的臂;`later` 档受理的崩溃丢失,下一条同会话 run 开通告口那一拍)";
42
42
  readonly members: {
@@ -47,7 +47,7 @@ export declare const SELF_MINTED_WIRE: {
47
47
  };
48
48
  };
49
49
  /**
50
- * S-961(7.111.0):`wiring_manifest.instructions.selected[]` 的成员值 = 指令文件链的成员(相对 cwd 的拼写)。属主是 `project-memory.ts`
50
+ * [ref](7.111.0):`wiring_manifest.instructions.selected[]` 的成员值 = 指令文件链的成员(相对 cwd 的拼写)。属主是 `project-memory.ts`
51
51
  * 的 `INSTRUCTION_FILE_CHAIN`([ref] 序:CLAUDE 族先、AGENTS 族后,首中即选)—— 链加 / 删一员 ⇒ 本行 `satisfies` 编译红,登记跟着动。
52
52
  * 段本身(键)登记在 `wire-projection-faces.ts` 的 `wiring_manifest_tenant.minted`。
53
53
  */
@@ -73,7 +73,7 @@ export declare const SELF_MINTED_WIRE: {
73
73
  };
74
74
  };
75
75
  /**
76
- * S-947(7.112.0):server 发起的中止在取消终局上留下的机读成因 —— `PersistedTaskResult.abortCause`,与 `cancelContext` 同住、同铸点、
76
+ * [ref](7.112.0):server 发起的中止在取消终局上留下的机读成因 —— `PersistedTaskResult.abortCause`,与 `cancelContext` 同住、同铸点、
77
77
  * 同在场闸(在场 ⇔ 这条终局就是 server 那次中止铸出来的取消终局)。逐词站点见契约 §5.0d。键本身是 run 结果上的 server 侧记键
78
78
  * (`store-contracts.ts` 的 `PersistedResultSideKeys`),不是事件投影面的键 ⇒ 不在 `wire-projection-faces.ts`。
79
79
  */
@@ -95,7 +95,7 @@ export declare const SELF_MINTED_WIRE: {
95
95
  };
96
96
  };
97
97
  /**
98
- * 会话所有者自助抹除面的**已分类拒** → HTTP 状态(S-930 起与 operator 面 `POST /v1/memory/erase` 同一只映射;`since` 记的是**本面**
98
+ * 会话所有者自助抹除面的**已分类拒** → HTTP 状态([ref] 起与 operator 面 `POST /v1/memory/erase` 同一只映射;`since` 记的是**本面**
99
99
  * 自哪一版起这样答 —— 7.107.0 及以前本面只认前两只,其余落 500 `internal.error`)。
100
100
  */
101
101
  readonly sessionMemoryEraseStatus: {
@@ -492,7 +492,7 @@ export declare const SELF_MINTED_WIRE: {
492
492
  };
493
493
  };
494
494
  /**
495
- * S-667(7.133.0):`GET /health` 的 `centerIdentityNotice.code` —— 中心凭证换人后的两态通告(最近一条)。词表属主 = `center-config-tier.ts` 的
495
+ * [ref](7.133.0):`GET /health` 的 `centerIdentityNotice.code` —— 中心凭证换人后的两态通告(最近一条)。词表属主 = `center-config-tier.ts` 的
496
496
  * `CENTER_IDENTITY_NOTICE_CODES`(`satisfies Record<…>`:加词而本行没跟 / 多一个词 ⇒ tsc 红);冻结句 `CENTER_IDENTITY_NOTICE_MESSAGE` 进
497
497
  * `test/api-notice-text-freeze.test.ts` §8。这两只码不在 core 的 `EngineNotice` 码册里(那是 core 的闭集)—— 它们是本服务自铸的 `/health` 值,契约 §0.4 成文。
498
498
  */
@@ -509,7 +509,7 @@ export declare const SELF_MINTED_WIRE: {
509
509
  };
510
510
  };
511
511
  };
512
- /** S-667(7.133.0):`demoted` 通告上的 `retained[]` —— 降档没能降到底的组(世代账组闭集;`satisfies Record<ConfigApplyGroup, …>`)。 */
512
+ /** [ref](7.133.0):`demoted` 通告上的 `retained[]` —— 降档没能降到底的组(世代账组闭集;`satisfies Record<ConfigApplyGroup, …>`)。 */
513
513
  readonly centerIdentityNoticeRetained: {
514
514
  readonly at: "GET /health centerIdentityNotice.retained[]";
515
515
  readonly members: {
@@ -757,9 +757,25 @@ export declare const SELF_MINTED_WIRE: {
757
757
  };
758
758
  };
759
759
  /**
760
- * S-527(7.133.0):`GET /v1/config/catalog` 行上**对 `effectiveValue` 的判词位**(闭集 `CatalogValueVerdict`,属主 `config-catalog.ts`;行接口经映射型声明,
760
+ * [ref](7.135.0):场景卡技能清单一条的来处(`factory` = 本部署技能目录 · `center` = 配置源交来的)。钉 test/scenario-skills-read-face.test.ts ②。
761
+ */
762
+ readonly scenarioSkillSource: {
763
+ readonly at: "GET /v1/capabilities/scenarios/:name#skills[].source";
764
+ readonly members: {
765
+ factory: {
766
+ attr: string;
767
+ since: string;
768
+ };
769
+ center: {
770
+ attr: string;
771
+ since: string;
772
+ };
773
+ };
774
+ };
775
+ /**
776
+ * [ref](7.133.0):`GET /v1/config/catalog` 行上**对 `effectiveValue` 的判词位**(闭集 `CatalogValueVerdict`,属主 `config-catalog.ts`;行接口经映射型声明,
761
777
  * 每一位只取 `true`)。属性 = 在场律 `present-iff`:只在为真时出键,恒不铸 `false`,缺席 = 没有这件事(老 server 上也缺席 —— 对消费方两者的下一步相同:按值原样渲染)。
762
- * `satisfies Record<CatalogValueVerdict, …>`:判词位加一员而本表没跟 ⇒ 编译红。`effectiveValueInvalid` 自 7.70.0(S-100)在 wire 上、本版补登记;
778
+ * `satisfies Record<CatalogValueVerdict, …>`:判词位加一员而本表没跟 ⇒ 编译红。`effectiveValueInvalid` 自 7.70.0([ref])在 wire 上、本版补登记;
763
779
  * `effectiveValueWithheld`(url 型行:展示铸点扣下了一段)本版新上。
764
780
  */
765
781
  readonly configCatalogValueVerdict: {
@@ -778,8 +794,9 @@ export declare const SELF_MINTED_WIRE: {
778
794
  /**
779
795
  * `GET /v1/models` 应答体的顶层键(闭集;`src/http/routes/capabilities.ts` 的 `sendJson(res, 200, {…})` 字面量)。属性 = 在场律:`always` 恒在场(零条也出键),`present-iff` 条件成立才出键
780
796
  * (缺席不下「无」的结论——也可能是更早的 server)。`since` = 该键上 wire 的起始版本(`models` / `default` / `defaultModel` 在本仓首个 tag 就有)。
781
- * 7.126.0:`candidateRejected`(S-1457,present-iff:当前生效的配置是因判官整拒了最近一份候选而回落的那一份;契约 §A.1d)。
782
- * 7.133.0:`modelPlane`(S-1716,always:服务哪张表 / 最近一份目录候选的结局 / 起服路由判官的判决;契约 §A.1d)。
797
+ * 7.126.0:`candidateRejected`([ref],present-iff:当前生效的配置是因判官整拒了最近一份候选而回落的那一份;契约 §A.1d)。
798
+ * 7.133.0:`modelPlane`([ref],always:服务哪张表 / 最近一份目录候选的结局 / 起服路由判官的判决;契约 §A.1d)。
799
+ * 7.135.0:`aliases`([ref],always:选择面认、`models` 行不列的词 —— 受理口那一张可选目录的划分;契约 §A.1d)。
783
800
  */
784
801
  readonly modelsResponseKey: {
785
802
  readonly at: "GET /v1/models 应答体顶层键(<键> → 在场律)";
@@ -808,18 +825,231 @@ export declare const SELF_MINTED_WIRE: {
808
825
  readonly attr: "always";
809
826
  readonly since: "7.133.0";
810
827
  };
828
+ readonly aliases: {
829
+ readonly attr: "always";
830
+ readonly since: "7.135.0";
831
+ };
832
+ };
833
+ };
834
+ /**
835
+ * 呈卡帧 `approval_request` 的 `card`(= `card_json` 的耐久卡信封)上本版新铸的键:引擎卡词 `approvalCard`。活铸帧的 `card`、落库的卡信封、断连重放帧的 `card` 三面同源同词
836
+ * (帧顶层那一份照旧在,同值)。在场律 `present-iff`:引擎铸了卡词且过了闭集窄读才有,引擎没铸 ⇒ 缺席(不编 `generic`);本版之前落下的行卡上没有 ⇒ 重放照旧不带。
837
+ * 卡信封的其余键不在本表(它们不是本版新上 wire)。
838
+ */
839
+ readonly approvalRequestCardKey: {
840
+ readonly at: "approval_request 帧 card.<键>(活铸帧的 card · 落库的卡信封 card_json · 断连重放帧的 card)";
841
+ readonly members: {
842
+ readonly approvalCard: {
843
+ readonly attr: "present-iff";
844
+ readonly since: "7.136.0";
845
+ };
846
+ };
847
+ };
848
+ /**
849
+ * 停驻技能卡的「批它放行了什么」三位,本版起在运维队列行与订阅流 `pending` 帧上也带(此前只有助手收件箱行与活卡帧带)。三位由一只投影 `skillCardFacts` 投,
850
+ * `satisfies Record<keyof SkillCardFacts, …>`:投影加 / 删一位而本表没跟 ⇒ tsc 红。在场律 `present-iff`:只在这一行有该位时才带键(普通卡三位三面都缺席,缺席不是断言)。
851
+ */
852
+ readonly approvalQueuePendingKey: {
853
+ readonly at: "GET /v1/approvals pending[] 行 · GET /v1/approvals/stream pending 帧(停驻技能卡的批准绑定三位;与助手收件箱行同一只投影)";
854
+ readonly members: {
855
+ boundGrantDigest: {
856
+ attr: string;
857
+ since: string;
858
+ };
859
+ boundGrants: {
860
+ attr: string;
861
+ since: string;
862
+ };
863
+ classifierNoRuling: {
864
+ attr: string;
865
+ since: string;
866
+ };
867
+ };
868
+ };
869
+ /**
870
+ * 逐端点「应答面 → HTTP 状态」映射里**本版改了状态的面**(形照 `submitIdempotency`:`<端点>#<面>` → 状态;面是调用方能观察到的那一形,不是内部分支名)。
871
+ * `since` 记**这一面以这个状态答**的起始版本;每个成员的旧状态写在 CHANGELOG 对应条里(旧状态的那一形此前没有登记,清单里它们是「本版新上 wire」,不是 changed)。
872
+ * 同一端点上状态没变的面(如 `/decide` 对同一张卡的 approve 仍 409)不入表。
873
+ */
874
+ readonly endpointFaceStatus: {
875
+ readonly at: "逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面)";
876
+ readonly members: {
877
+ readonly "POST /v1/approvals/:sessionId/decide#deny(\u590D\u6D3B\u4E0D\u4E86\u7684\u505C\u9A7B\u884C:\u65E0 agent \u540D / \u65E0\u6839\u4F1A\u8BDD\u951A;\u4F53 { taskId, status: failed, decision: deny })": {
878
+ readonly attr: 200;
879
+ readonly since: "7.136.0";
880
+ };
881
+ readonly "GET /v1/sessions/:id/sync/manifest#store_connection_fault(\u4F53 state.file_history_unreadable + permanence: transient)": {
882
+ readonly attr: 503;
883
+ readonly since: "7.136.0";
884
+ };
885
+ readonly "GET /v1/sessions/:id/sync/entries#store_connection_fault(\u5E94\u7B54\u5934\u53D1\u51FA\u4E4B\u524D;\u4F53\u540C\u4E0A)": {
886
+ readonly attr: 503;
887
+ readonly since: "7.136.0";
888
+ };
889
+ readonly "GET /v1/sessions/:id/sync/history/blobs/:hash#store_connection_fault(\u4F53\u540C\u4E0A)": {
890
+ readonly attr: 503;
891
+ readonly since: "7.136.0";
892
+ };
893
+ readonly "GET /v1/sessions/:id/events#corrupt_archive(DB_BACKEND=local;\u5F00\u6D41\u4E4B\u524D;\u4F53 corrupt_session)": {
894
+ readonly attr: 500;
895
+ readonly since: "7.136.0";
896
+ };
897
+ readonly "PATCH /v1/sessions/:id#corrupt_archive(DB_BACKEND=local;\u4F53 corrupt_session)": {
898
+ readonly attr: 500;
899
+ readonly since: "7.136.0";
900
+ };
901
+ readonly "POST /v1/sessions/:id/sync/import#identical_repush_blob_missing(\u4F53 missing_blob)": {
902
+ readonly attr: 422;
903
+ readonly since: "7.136.0";
904
+ };
905
+ readonly "PATCH /v1/sessions/:id#title_no_visible_character(\u4F53 request.field_invalid)": {
906
+ readonly attr: 400;
907
+ readonly since: "7.136.0";
908
+ };
909
+ readonly "POST /v1/sessions/:id/sync/import#title_no_visible_character(Phase A \u4F53\u7684 title;\u4F53 request.field_invalid)": {
910
+ readonly attr: 400;
911
+ readonly since: "7.136.0";
912
+ };
913
+ readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#images_url_credential(\u65B0\u63D0\u4EA4;\u4F53 request.field_invalid + field images[i].url + reason url_userinfo|url_credential_param)": {
914
+ readonly attr: 400;
915
+ readonly since: "7.136.0";
916
+ };
917
+ readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_malformed(\u65B0\u63D0\u4EA4;\u5217\u8868\u4E0D\u662F\u6570\u7EC4 / \u6761\u76EE\u4E0D\u662F\u5BF9\u8C61 / \u952E\u503C\u5224\u4E0D\u51FA\u5F62;\u4F53 request.field_invalid)": {
918
+ readonly attr: 400;
919
+ readonly since: "7.136.0";
920
+ };
921
+ readonly "POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_unknown_key(\u65B0\u63D0\u4EA4;\u8BCD\u8868\u5916\u7684\u952E;\u4F53 request.body_shape + unknownKeys)": {
922
+ readonly attr: 400;
923
+ readonly since: "7.136.0";
924
+ };
925
+ readonly "POST /v1/tool-approvals/:id/respond#new_owner_after_adoption(\u6536\u7F16\u4E4B\u540E\u7684\u65B0\u5C5E\u4E3B;\u672C\u526F\u672C\u4E0A\u4ECD\u6709\u5F15\u64CE\u817F\u5728\u7B49\u7684\u6D3B\u5361,\u51B3\u8BAE\u4EA4\u7ED9\u90A3\u6761\u817F)": {
926
+ readonly attr: 200;
927
+ readonly since: "7.136.0";
928
+ };
929
+ readonly "GET /v1/tool-approvals/:id#previous_owner_after_adoption(\u6536\u7F16\u4E4B\u540E\u7684\u524D\u5C5E\u4E3B;\u6309\u95EE\u8BFB\u53E3)": {
930
+ readonly attr: 404;
931
+ readonly since: "7.136.0";
932
+ };
933
+ readonly "POST /v1/tool-approvals/:id/respond#edited_rule_text_refused_after_adoption(\u533F\u540D\u6D3B\u5361\u6536\u7F16\u7ED9\u5177\u540D\u4E3B\u4F53\u540E\u65B0\u5C5E\u4E3B\u4EA4\u574F\u89C4\u5219\u6587\u672C;\u4F53 request.body_shape;\u5951\u7EA6\u6210\u6587\u7684\u5224\u636E,\u4ECA\u5929\u7ECF /v1/adoption \u5230\u4E0D\u4E86)": {
934
+ readonly attr: 400;
935
+ readonly since: "7.136.0";
936
+ };
937
+ readonly "POST /v1/tasks|/v1/runs#command_line_slots_without_sealed_key_store(stdio MCP \u7684 command / args \u4E0E command hook \u7684 command / args;\u4F53 conflict.checkpoint_ctx_unsealable + field + reason no_key_store;POST /v1/tasks/stream \u5728\u7EC8\u5C40\u5E27\u4E0A\u5E26\u672C\u7801;\u672C\u670D\u52A1\u81EA\u5DF1\u7684\u88C5\u914D\u4E0B\u4E0D\u53EF\u8FBE(\u88C5\u914D\u671F\u5DF2\u5BF9\u300C\u5E97\u5728\u800C\u5C01\u7B7E\u5668\u7F3A\u5E2D\u300D\u62D2\u542F,\u89C1 submit-ctx.ts \u81EA\u8FF0))": {
938
+ readonly attr: 409;
939
+ readonly since: "7.136.0";
940
+ };
941
+ readonly "ALL authenticated routes#bearer_token_without_scope_claim(\u9274\u6743\u6865\u9A8C\u8BC1\u817F;\u914D\u4E86 service \u51ED\u636E\u6216\u591A\u79DF REQUIRE_PRINCIPAL \u7684\u90E8\u7F72;\u4F53\u901A\u7528 auth.unauthorized)": {
942
+ readonly attr: 401;
943
+ readonly since: "7.136.0";
944
+ };
945
+ };
946
+ };
947
+ /**
948
+ * 拒体 / 应答体**句子的形**里本版换了或新增的(`<码>#<座>` → 句型)。句子是展示文本,机读分支按 `errorCode` / `field` / `reason`;本表登记的是「句型换了」,
949
+ * 给按字面匹配句子的消费方对账(码、状态、体键在这些成员上都没变,变的只有 `message`)。`attr` 写句型的骨架(`<…>` 是占位),旧句型写在 CHANGELOG 对应条里。
950
+ */
951
+ readonly refusalSentenceForm: {
952
+ readonly at: "拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变)";
953
+ readonly members: {
954
+ readonly "409 decide.row_unrevivable#no_agent_name": {
955
+ readonly attr: "ends: deny it to close the card (the agent then ends as failed)";
956
+ readonly since: "7.136.0";
957
+ };
958
+ readonly "409 decide.row_unrevivable#no_root_anchor": {
959
+ readonly attr: "ends: deny it to close the card (the agent then ends as failed)";
960
+ readonly since: "7.136.0";
961
+ };
962
+ readonly "400 request.field_invalid#mcpServers.over_cap(\u53D7\u7406\u53E3 \u00B7 POST /v1/capabilities/mcp/probe \u540C\u53E5)": {
963
+ readonly attr: "head: <field> has <count> entries — at most <cap> are accepted";
964
+ readonly since: "7.136.0";
965
+ };
966
+ readonly "400 request.field_invalid#a2aPeers.over_cap": {
967
+ readonly attr: "tail: 声明列表拒绝骨架的句尾(与 mcpServers 共用 request-declaration-refusal)";
968
+ readonly since: "7.136.0";
969
+ };
970
+ readonly "400 request.field_invalid#a2aPeers[i].url|cardUrl.credential": {
971
+ readonly attr: "<field> (peer <name>) is not a usable declaration — <rule> …";
972
+ readonly since: "7.136.0";
973
+ };
974
+ readonly "400 request.field_invalid#title.no_visible_character(PATCH /v1/sessions/:id \u00B7 \u4F1A\u8BDD\u540C\u6B65 2c \u5BFC\u5165\u7684 title)": {
975
+ readonly attr: "title must contain at least one visible character";
976
+ readonly since: "7.136.0";
977
+ };
978
+ readonly "503 state.file_history_unreadable#store_connection_fault(\u4F1A\u8BDD\u540C\u6B65\u4E09\u6761\u62C9\u53D6\u8BFB\u817F)": {
979
+ readonly attr: "this session's stored state could not be read right now (the store connection failed), so nothing was exported — retry later";
980
+ readonly since: "7.136.0";
981
+ };
982
+ readonly "connect_failed(run \u5931\u8D25\u7EC8\u5C40)#snapshot_bucket_missing(k8s \u8F66\u9053\u8BFB latest \u5F97 404 NoSuchBucket;\u8FDE\u6C99\u7BB1\u5931\u8D25,\u4E00\u53EA pod \u90FD\u4E0D\u5EFA)": {
983
+ readonly attr: "workspace space pointer read failed (snapshot_bucket_missing): the workspace snapshot bucket <name> (WORKSPACE_SNAPSHOT_BUCKET; default workspaces) does not exist in the object store — refusing to start this run … Ways out: create the bucket, or set WORKSPACE_SNAPSHOT_BUCKET to one that exists, or set WORKSPACE_PERSIST=off …";
984
+ readonly since: "7.136.0";
985
+ };
986
+ readonly "400 request.field_invalid#images[i].url.credential": {
987
+ readonly attr: "<field> <规则句> — the URL is kept as written (a parked task's resume context, logs), while images[i] can carry the image bytes inline: send { data, mimeType } instead of a URL that holds the credential";
988
+ readonly since: "7.136.0";
989
+ };
990
+ readonly "400 request.field_invalid#a2aPeers.not_array": {
991
+ readonly attr: "head: a2aPeers is <shape>, not an array of A2A peer declarations";
992
+ readonly since: "7.136.0";
993
+ };
994
+ readonly "400 request.field_invalid#a2aPeers[i].not_object": {
995
+ readonly attr: "head: a2aPeers[i] is <shape>, not an A2A peer declaration (an object)";
996
+ readonly since: "7.136.0";
997
+ };
998
+ readonly "400 request.field_invalid#a2aPeers[i].<key>.unusable(url / cardUrl \u51ED\u636E\u62D2\u4E4B\u5916\u7684\u952E\u503C\u574F\u5F62)": {
999
+ readonly attr: "<field> (peer <name>) is not a usable declaration — <rule> …";
1000
+ readonly since: "7.136.0";
1001
+ };
1002
+ readonly "400 request.body_shape#a2aPeers[i].unknown_key": {
1003
+ readonly attr: "body: unrecognized key(s) on an A2A peer declaration — refused rather than dropped …; Accepted per entry: <keys>";
1004
+ readonly since: "7.136.0";
1005
+ };
1006
+ readonly "409 conflict.checkpoint_ctx_unsealable#submit(\u63D0\u4EA4\u9762:\u672C\u670D\u52A1\u6CA1\u6709\u4FDD\u7BA1\u5E97)": {
1007
+ readonly attr: "slots: static request headers, the command lines and environment values given to MCP stdio servers and command hooks, settings.env, or settings.webSearch.apiKey";
1008
+ readonly since: "7.136.0";
1009
+ };
1010
+ readonly "409 conflict.checkpoint_ctx_unsealable#resume(\u7EED\u8DD1\u4E0A\u4E0B\u6587\u8BFB\u53E3)": {
1011
+ readonly attr: "slots: static request headers, the command lines and environment values given to MCP stdio servers and command hooks, settings.env, or settings.webSearch.apiKey";
1012
+ readonly since: "7.136.0";
1013
+ };
1014
+ };
1015
+ };
1016
+ /**
1017
+ * 文件历史店的故障答里 `permanence`(店对这次故障的重试类判断,体键,店没判则缺席)的 `transient` 一词:本版起库断连等**连接类故障**店判 `transient`,
1018
+ * 出现在 `422 adopt_failed` / `restore_failed` 等店答与 `503 state.file_history_unreadable` 体上(词表属主 = 引擎的 `GovernanceRetryClass` 两词,另一词 `terminal` 自 7.135.0 起由永久码带,不在本表)。
1019
+ * 在场律 `present-iff`:店判了才带,没判缺席。
1020
+ */
1021
+ readonly storeFaultPermanence: {
1022
+ readonly at: "文件历史店故障答的体键 permanence(422 adopt_failed · restore_failed 等 · 503 state.file_history_unreadable)";
1023
+ readonly members: {
1024
+ readonly transient: {
1025
+ readonly attr: "present-iff";
1026
+ readonly since: "7.136.0";
1027
+ };
1028
+ };
1029
+ };
1030
+ /**
1031
+ * `GET /v1/config/catalog` 的 `rows[]` 里**本版新增的行**(成员 = 行名,属性 = 行的域)。目录行集本身是 `config-catalog.ts` 的 `CONFIG_CATALOG`,不在本表整份登记 ——
1032
+ * 本表只登「这一版新上 wire 的行」;已有行的字面(`semantics` / `derivedDefaultNote`)改动登在 `wireValueRule`。钉 `test/wire-changes-server.test.ts` ⑥:成员必须是目录里的行、域一致。
1033
+ */
1034
+ readonly configCatalogRow: {
1035
+ readonly at: "GET /v1/config/catalog rows[](<行名> → 域;只登本版新增的行)";
1036
+ readonly members: {
1037
+ readonly SEALED_KEY_DIR: {
1038
+ readonly attr: "store";
1039
+ readonly since: "7.136.0";
1040
+ };
811
1041
  };
812
1042
  };
813
1043
  /** 本仓在出口对 core 值做的变换(值变、键不变)。 */
814
1044
  readonly wireValueRule: {
815
1045
  readonly at: "出口值变换(<端点>#<键> → 变换)";
816
1046
  readonly members: {
817
- /** S-105(7.57.0):run 读面的终态错误文案脱敏(钉 test/run-failure-visibility.test.ts)。 */
1047
+ /** [ref](7.57.0):run 读面的终态错误文案脱敏(钉 test/run-failure-visibility.test.ts)。 */
818
1048
  readonly "GET /v1/runs/:id#result.errorMessage": {
819
1049
  readonly attr: "redactErrorMessage";
820
1050
  readonly since: "7.57.0";
821
1051
  };
822
- /** S-922(7.108.0):side-query 200 体 `errorMessage` 与任务面同一只脱敏口(钉 test/side-query-provider-echo.test.ts)。 */
1052
+ /** [ref](7.108.0):side-query 200 体 `errorMessage` 与任务面同一只脱敏口(钉 test/side-query-provider-echo.test.ts)。 */
823
1053
  readonly "POST /v1/side-query#errorMessage": {
824
1054
  readonly attr: "redactErrorMessage";
825
1055
  readonly since: "7.108.0";
@@ -876,6 +1106,64 @@ export declare const SELF_MINTED_WIRE: {
876
1106
  readonly attr: "durableMediaCardKeyDropped";
877
1107
  readonly since: "7.127.2";
878
1108
  };
1109
+ /**
1110
+ * 7.136.0:助手收件箱行的 `objective` 值语义换了(键名与可空性不变):此前 = 停驻上下文里的目标原文(不截断、不脱敏),本版起 = 这道门所属 run 的目标预览
1111
+ * (run 行的 `objectivePreview` 列,写入时已脱敏、约 120 字符;与 tasks 视图读同一列)。
1112
+ */
1113
+ readonly "GET /v1/assistant/inbox#objective": {
1114
+ readonly attr: "runRowObjectivePreview";
1115
+ readonly since: "7.136.0";
1116
+ };
1117
+ /**
1118
+ * 7.136.0:`elicitation_complete.action` 的取词律 —— 没人应答的释放(答题窗到期 · run 中止 · 腿退出时仍挂着)一律放 `cancel`,`decline` 只留给「拒」;
1119
+ * 此前答题窗到期那一帧放 `decline`。词表(accept / decline / cancel)与帧形不变,变的是到期那一帧的值。
1120
+ */
1121
+ readonly "SSE elicitation_complete#action(\u6CA1\u4EBA\u5E94\u7B54\u7684\u91CA\u653E)": {
1122
+ readonly attr: "cancel-not-decline";
1123
+ readonly since: "7.136.0";
1124
+ };
1125
+ /**
1126
+ * 7.136.0:`GET /v1/config/catalog` 已有行的字面(`semantics` 说明句 / `derivedDefaultNote` 缺席说明;键与行集不变,只是字面换了或新增):
1127
+ * `MCP_ELICITATION_*` 四行的缺席出厂窗来源词由「core 出厂窗」改成「本服务出厂窗(DEFAULT_ELICITATION_THROTTLE)」;两条 `ANTHROPIC_*` 凭据行改述「只发某一种头、互斥、同设拒启」;
1128
+ * `WORKSPACE_SNAPSHOT_BUCKET` 补上起服核桶与运行期读 `latest` 的处置;`WORKSPACE_SNAPSHOT_PREFIX` 改述多段路径与拒启条件并新增缺席说明。
1129
+ * 成员写成 `GET /v1/config/catalog#rows[<行名>].<semantics|derivedDefaultNote>`,行名与字段由 `test/wire-changes-server.test.ts` ⑥ 对着 `CONFIG_CATALOG` 核。
1130
+ */
1131
+ readonly "GET /v1/config/catalog#rows[MCP_ELICITATION_MAX_CONCURRENT].derivedDefaultNote": {
1132
+ readonly attr: "default-window-source:server";
1133
+ readonly since: "7.136.0";
1134
+ };
1135
+ readonly "GET /v1/config/catalog#rows[MCP_ELICITATION_MAX_TOTAL].derivedDefaultNote": {
1136
+ readonly attr: "default-window-source:server";
1137
+ readonly since: "7.136.0";
1138
+ };
1139
+ readonly "GET /v1/config/catalog#rows[MCP_ELICITATION_MIN_INTERVAL_MS].derivedDefaultNote": {
1140
+ readonly attr: "default-window-source:server";
1141
+ readonly since: "7.136.0";
1142
+ };
1143
+ readonly "GET /v1/config/catalog#rows[MCP_ELICITATION_TTL_MS].derivedDefaultNote": {
1144
+ readonly attr: "default-window-source:server";
1145
+ readonly since: "7.136.0";
1146
+ };
1147
+ readonly "GET /v1/config/catalog#rows[ANTHROPIC_API_KEY].semantics": {
1148
+ readonly attr: "x-api-key-only;mutually-exclusive;both-set-refuses-boot";
1149
+ readonly since: "7.136.0";
1150
+ };
1151
+ readonly "GET /v1/config/catalog#rows[ANTHROPIC_AUTH_TOKEN].semantics": {
1152
+ readonly attr: "bearer-only;mutually-exclusive;both-set-refuses-boot";
1153
+ readonly since: "7.136.0";
1154
+ };
1155
+ readonly "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_BUCKET].semantics": {
1156
+ readonly attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run";
1157
+ readonly since: "7.136.0";
1158
+ };
1159
+ readonly "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].semantics": {
1160
+ readonly attr: "multi-segment-prefix;bad-segment-refuses-boot";
1161
+ readonly since: "7.136.0";
1162
+ };
1163
+ readonly "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].derivedDefaultNote": {
1164
+ readonly attr: "absent=>kata";
1165
+ readonly since: "7.136.0";
1166
+ };
879
1167
  };
880
1168
  };
881
1169
  };
@@ -261,6 +261,13 @@ export const SELF_MINTED_WIRE = {
261
261
  repo: { attr: "-", since: "1.214.2" },
262
262
  },
263
263
  },
264
+ scenarioSkillSource: {
265
+ at: "GET /v1/capabilities/scenarios/:name#skills[].source",
266
+ members: {
267
+ factory: { attr: "-", since: "7.135.0" },
268
+ center: { attr: "-", since: "7.135.0" },
269
+ },
270
+ },
264
271
  configCatalogValueVerdict: {
265
272
  at: "GET /v1/config/catalog rows[] 的判词位(<键> → 在场律)",
266
273
  members: {
@@ -277,6 +284,75 @@ export const SELF_MINTED_WIRE = {
277
284
  droppedEntries: { attr: "always", since: "7.123.0" },
278
285
  candidateRejected: { attr: "present-iff", since: "7.126.0" },
279
286
  modelPlane: { attr: "always", since: "7.133.0" },
287
+ aliases: { attr: "always", since: "7.135.0" },
288
+ },
289
+ },
290
+ approvalRequestCardKey: {
291
+ at: "approval_request 帧 card.<键>(活铸帧的 card · 落库的卡信封 card_json · 断连重放帧的 card)",
292
+ members: {
293
+ approvalCard: { attr: "present-iff", since: "7.136.0" },
294
+ },
295
+ },
296
+ approvalQueuePendingKey: {
297
+ at: "GET /v1/approvals pending[] 行 · GET /v1/approvals/stream pending 帧(停驻技能卡的批准绑定三位;与助手收件箱行同一只投影)",
298
+ members: {
299
+ boundGrantDigest: { attr: "present-iff", since: "7.136.0" },
300
+ boundGrants: { attr: "present-iff", since: "7.136.0" },
301
+ classifierNoRuling: { attr: "present-iff", since: "7.136.0" },
302
+ },
303
+ },
304
+ endpointFaceStatus: {
305
+ at: "逐端点应答面 → 状态(<端点>#<面> → 状态;只登记本版改了状态的面)",
306
+ members: {
307
+ "POST /v1/approvals/:sessionId/decide#deny(复活不了的停驻行:无 agent 名 / 无根会话锚;体 { taskId, status: failed, decision: deny })": { attr: 200, since: "7.136.0" },
308
+ "GET /v1/sessions/:id/sync/manifest#store_connection_fault(体 state.file_history_unreadable + permanence: transient)": { attr: 503, since: "7.136.0" },
309
+ "GET /v1/sessions/:id/sync/entries#store_connection_fault(应答头发出之前;体同上)": { attr: 503, since: "7.136.0" },
310
+ "GET /v1/sessions/:id/sync/history/blobs/:hash#store_connection_fault(体同上)": { attr: 503, since: "7.136.0" },
311
+ "GET /v1/sessions/:id/events#corrupt_archive(DB_BACKEND=local;开流之前;体 corrupt_session)": { attr: 500, since: "7.136.0" },
312
+ "PATCH /v1/sessions/:id#corrupt_archive(DB_BACKEND=local;体 corrupt_session)": { attr: 500, since: "7.136.0" },
313
+ "POST /v1/sessions/:id/sync/import#identical_repush_blob_missing(体 missing_blob)": { attr: 422, since: "7.136.0" },
314
+ "PATCH /v1/sessions/:id#title_no_visible_character(体 request.field_invalid)": { attr: 400, since: "7.136.0" },
315
+ "POST /v1/sessions/:id/sync/import#title_no_visible_character(Phase A 体的 title;体 request.field_invalid)": { attr: 400, since: "7.136.0" },
316
+ "POST /v1/tasks|/v1/tasks/stream|/v1/runs#images_url_credential(新提交;体 request.field_invalid + field images[i].url + reason url_userinfo|url_credential_param)": { attr: 400, since: "7.136.0" },
317
+ "POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_malformed(新提交;列表不是数组 / 条目不是对象 / 键值判不出形;体 request.field_invalid)": { attr: 400, since: "7.136.0" },
318
+ "POST /v1/tasks|/v1/tasks/stream|/v1/runs#a2aPeers_unknown_key(新提交;词表外的键;体 request.body_shape + unknownKeys)": { attr: 400, since: "7.136.0" },
319
+ "POST /v1/tool-approvals/:id/respond#new_owner_after_adoption(收编之后的新属主;本副本上仍有引擎腿在等的活卡,决议交给那条腿)": { attr: 200, since: "7.136.0" },
320
+ "GET /v1/tool-approvals/:id#previous_owner_after_adoption(收编之后的前属主;按问读口)": { attr: 404, since: "7.136.0" },
321
+ "POST /v1/tool-approvals/:id/respond#edited_rule_text_refused_after_adoption(匿名活卡收编给具名主体后新属主交坏规则文本;体 request.body_shape;契约成文的判据,今天经 /v1/adoption 到不了)": { attr: 400, since: "7.136.0" },
322
+ "POST /v1/tasks|/v1/runs#command_line_slots_without_sealed_key_store(stdio MCP 的 command / args 与 command hook 的 command / args;体 conflict.checkpoint_ctx_unsealable + field + reason no_key_store;POST /v1/tasks/stream 在终局帧上带本码;本服务自己的装配下不可达(装配期已对「店在而封签器缺席」拒启,见 submit-ctx.ts 自述))": { attr: 409, since: "7.136.0" },
323
+ "ALL authenticated routes#bearer_token_without_scope_claim(鉴权桥验证腿;配了 service 凭据或多租 REQUIRE_PRINCIPAL 的部署;体通用 auth.unauthorized)": { attr: 401, since: "7.136.0" },
324
+ },
325
+ },
326
+ refusalSentenceForm: {
327
+ at: "拒体 message 的句型(<码>#<座> → 句型骨架;码 / 状态 / 机读位不变)",
328
+ members: {
329
+ "409 decide.row_unrevivable#no_agent_name": { attr: "ends: deny it to close the card (the agent then ends as failed)", since: "7.136.0" },
330
+ "409 decide.row_unrevivable#no_root_anchor": { attr: "ends: deny it to close the card (the agent then ends as failed)", since: "7.136.0" },
331
+ "400 request.field_invalid#mcpServers.over_cap(受理口 · POST /v1/capabilities/mcp/probe 同句)": { attr: "head: <field> has <count> entries — at most <cap> are accepted", since: "7.136.0" },
332
+ "400 request.field_invalid#a2aPeers.over_cap": { attr: "tail: 声明列表拒绝骨架的句尾(与 mcpServers 共用 request-declaration-refusal)", since: "7.136.0" },
333
+ "400 request.field_invalid#a2aPeers[i].url|cardUrl.credential": { attr: "<field> (peer <name>) is not a usable declaration — <rule> …", since: "7.136.0" },
334
+ "400 request.field_invalid#title.no_visible_character(PATCH /v1/sessions/:id · 会话同步 2c 导入的 title)": { attr: "title must contain at least one visible character", since: "7.136.0" },
335
+ "503 state.file_history_unreadable#store_connection_fault(会话同步三条拉取读腿)": { attr: "this session's stored state could not be read right now (the store connection failed), so nothing was exported — retry later", since: "7.136.0" },
336
+ "connect_failed(run 失败终局)#snapshot_bucket_missing(k8s 车道读 latest 得 404 NoSuchBucket;连沙箱失败,一只 pod 都不建)": { attr: "workspace space pointer read failed (snapshot_bucket_missing): the workspace snapshot bucket <name> (WORKSPACE_SNAPSHOT_BUCKET; default workspaces) does not exist in the object store — refusing to start this run … Ways out: create the bucket, or set WORKSPACE_SNAPSHOT_BUCKET to one that exists, or set WORKSPACE_PERSIST=off …", since: "7.136.0" },
337
+ "400 request.field_invalid#images[i].url.credential": { attr: "<field> <规则句> — the URL is kept as written (a parked task's resume context, logs), while images[i] can carry the image bytes inline: send { data, mimeType } instead of a URL that holds the credential", since: "7.136.0" },
338
+ "400 request.field_invalid#a2aPeers.not_array": { attr: "head: a2aPeers is <shape>, not an array of A2A peer declarations", since: "7.136.0" },
339
+ "400 request.field_invalid#a2aPeers[i].not_object": { attr: "head: a2aPeers[i] is <shape>, not an A2A peer declaration (an object)", since: "7.136.0" },
340
+ "400 request.field_invalid#a2aPeers[i].<key>.unusable(url / cardUrl 凭据拒之外的键值坏形)": { attr: "<field> (peer <name>) is not a usable declaration — <rule> …", since: "7.136.0" },
341
+ "400 request.body_shape#a2aPeers[i].unknown_key": { attr: "body: unrecognized key(s) on an A2A peer declaration — refused rather than dropped …; Accepted per entry: <keys>", since: "7.136.0" },
342
+ "409 conflict.checkpoint_ctx_unsealable#submit(提交面:本服务没有保管店)": { attr: "slots: static request headers, the command lines and environment values given to MCP stdio servers and command hooks, settings.env, or settings.webSearch.apiKey", since: "7.136.0" },
343
+ "409 conflict.checkpoint_ctx_unsealable#resume(续跑上下文读口)": { attr: "slots: static request headers, the command lines and environment values given to MCP stdio servers and command hooks, settings.env, or settings.webSearch.apiKey", since: "7.136.0" },
344
+ },
345
+ },
346
+ storeFaultPermanence: {
347
+ at: "文件历史店故障答的体键 permanence(422 adopt_failed · restore_failed 等 · 503 state.file_history_unreadable)",
348
+ members: {
349
+ transient: { attr: "present-iff", since: "7.136.0" },
350
+ },
351
+ },
352
+ configCatalogRow: {
353
+ at: "GET /v1/config/catalog rows[](<行名> → 域;只登本版新增的行)",
354
+ members: {
355
+ SEALED_KEY_DIR: { attr: "store", since: "7.136.0" },
280
356
  },
281
357
  },
282
358
  wireValueRule: {
@@ -290,6 +366,17 @@ export const SELF_MINTED_WIRE = {
290
366
  "GET /v1/runs/:id/events#tool_end.output[](媒体块)": { attr: "durableMediaDescriptor+totalChars", since: "7.127.0" },
291
367
  "SSE tool_end#structured.file.base64(媒体卡)": { attr: "verbatim-bytes;backlog>64MiB⇒key-dropped", since: "7.127.2" },
292
368
  "GET /v1/runs/:id/events#tool_end.structured.file.base64(媒体卡)": { attr: "durableMediaCardKeyDropped", since: "7.127.2" },
369
+ "GET /v1/assistant/inbox#objective": { attr: "runRowObjectivePreview", since: "7.136.0" },
370
+ "SSE elicitation_complete#action(没人应答的释放)": { attr: "cancel-not-decline", since: "7.136.0" },
371
+ "GET /v1/config/catalog#rows[MCP_ELICITATION_MAX_CONCURRENT].derivedDefaultNote": { attr: "default-window-source:server", since: "7.136.0" },
372
+ "GET /v1/config/catalog#rows[MCP_ELICITATION_MAX_TOTAL].derivedDefaultNote": { attr: "default-window-source:server", since: "7.136.0" },
373
+ "GET /v1/config/catalog#rows[MCP_ELICITATION_MIN_INTERVAL_MS].derivedDefaultNote": { attr: "default-window-source:server", since: "7.136.0" },
374
+ "GET /v1/config/catalog#rows[MCP_ELICITATION_TTL_MS].derivedDefaultNote": { attr: "default-window-source:server", since: "7.136.0" },
375
+ "GET /v1/config/catalog#rows[ANTHROPIC_API_KEY].semantics": { attr: "x-api-key-only;mutually-exclusive;both-set-refuses-boot", since: "7.136.0" },
376
+ "GET /v1/config/catalog#rows[ANTHROPIC_AUTH_TOKEN].semantics": { attr: "bearer-only;mutually-exclusive;both-set-refuses-boot", since: "7.136.0" },
377
+ "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_BUCKET].semantics": { attr: "boot-checks-bucket;runtime-latest-no-such-bucket-fails-run", since: "7.136.0" },
378
+ "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].semantics": { attr: "multi-segment-prefix;bad-segment-refuses-boot", since: "7.136.0" },
379
+ "GET /v1/config/catalog#rows[WORKSPACE_SNAPSHOT_PREFIX].derivedDefaultNote": { attr: "absent=>kata", since: "7.136.0" },
293
380
  },
294
381
  },
295
382
  };
@@ -26,7 +26,7 @@ export declare const SEMA_PROVENANCE_KINDS: readonly ["agent_message"];
26
26
  * (core-keyset-guard.ts ① 的同名排除键)一同候 [ref] 表态。放进 EXCLUDED 而不是 PROJECTED,是**沿用**上一行的
27
27
  * 裁定而不是新增特判:表态未出前放行一个 lane 词,等于替它预先声明一种 cli 渲染形。表态落定那天三处(本簿、
28
28
  * 载体键、①-nested 的 `peerMeta`)同批翻。
29
- * · `inbox_notice` —— core 7.30.0 #1036(S-616 提货;本闭集当拍真红出它)。**同一条车道的第三个载体**(收件箱通告,
29
+ * · `inbox_notice` —— core 7.30.0 [ref]([ref] 提货;本闭集当拍真红出它)。**同一条车道的第三个载体**(收件箱通告,
30
30
  * `crossSessionMessage` / `crossSessionNotice` 之后),同一个 session-box drain 铸;载体键 `inboxNotice` 在
31
31
  * core-keyset-guard.ts ① 同批进 EXCLUDED。沿用上两行的裁定,不是新判据:[ref] 表态落定那天四处同批翻。
32
32
  */
@@ -1,13 +1,13 @@
1
1
  /**
2
- * S-616(core 7.30.0 提货):`task_notification` 帧上 7.30.0 新到的五枚键的**单点**投影判据 —— live 三腿
2
+ * [ref](core 7.30.0 提货):`task_notification` 帧上 7.30.0 新到的五枚键的**单点**投影判据 —— live 三腿
3
3
  * (`trace/project.ts` 的 `taskNotificationEventData`)与 park 半场(`orchestration/workflow-completion-inbox.ts` 的
4
4
  * `taskNotificationInboxEntry`)共用,两腿字节同判(形照 `sema-provenance.ts` / `injection-tier.ts` 的先例:
5
5
  * park 腿的 drain 直接 spread extras 成帧、不再经 project.ts,判据必须在入库前做,而且只能有一份)。
6
6
  *
7
7
  * 五枚键分两组,判据各一只函数:
8
- * · {@link terminalFrameFacetFields} —— 委派终态帧的三枚 facet([ref] S1 / #1034),core 在产生者一侧由
8
+ * · {@link terminalFrameFacetFields} —— 委派终态帧的三枚 facet([ref] S1 / [ref]),core 在产生者一侧由
9
9
  * `terminalFrameFacets` 统一铸:`spawnName` / `handback` / `compaction`;
10
- * · {@link resupplyFields} —— 重供两键(#1036):`resupplied` / `attempt`。
10
+ * · {@link resupplyFields} —— 重供两键([ref]):`resupplied` / `attempt`。
11
11
  * 全部是引擎铸的闭形值(身份键 / 闭集词 / 计数 / 布尔),零模型自由文本 ⇒ 不过 `redactSecrets`;判不过形 ⇒ 那一键
12
12
  * 缺席(不折默认、不编值)。同一只会话箱车道的**载体** `inboxNotice` 不在这里 —— 它在 EXCLUDED 簿
13
13
  * (`core-keyset-guard.ts` ①,理由逐字在那里)。
@@ -50,7 +50,7 @@ export declare function terminalFrameFacetFields(n: TaskNotificationFacetInput):
50
50
  compaction?: CompactionFacet;
51
51
  };
52
52
  /**
53
- * 重供两键(core 7.30.0 #1036;判据档 F1 原句点名「@server trace/inbox allowlist」)。一条会话箱记录的帧被压缩摘要掉之后,
53
+ * 重供两键(core 7.30.0 [ref];判据档 F1 原句点名「@server trace/inbox allowlist」)。一条会话箱记录的帧被压缩摘要掉之后,
54
54
  * 引擎把同一条记录再交一次 —— 同 `task_id` / `status` / `seq`,多这两枚键:
55
55
  * · `resupplied` —— **只有真一形**(core 逐字「there is no `false` form」)⇒ 只放行 `true`,别的一律缺席;
56
56
  * · `attempt` —— 这是第几次投递(缺席 = 1,「没有 0」)⇒ 只放行 ≥1 的整数,verbatim,不补默认。
@@ -1,5 +1,5 @@
1
1
  /**
2
- * S-545 —— **wire 帧投影面的登记表**([ref]「手抄投影全面下线,改由源头机器派生」在本仓第一处落点)。
2
+ * [ref] —— **wire 帧投影面的登记表**([ref]「手抄投影全面下线,改由源头机器派生」在本仓第一处落点)。
3
3
  *
4
4
  * ## 这张表是什么(以及它**不是**什么)
5
5
  * 每一行登记一只把 core 帧投到 wire 的构造器,只写三样**人必须裁定**的东西:
@@ -21,7 +21,7 @@
21
21
  * `NotificationExcluded` 直接读成本表这一行的 `excluded`,于是「哪几个键有意不上 wire」全仓**只有一个写者**。
22
22
  * 旧形是两个:守卫文件一簿、`test/wire-whitelist-exhaustiveness.test.ts` 的 `KnownExcluded` 一簿,那份门注
23
23
  * 自己写着「两处必须同时改」—— 而「必须同时改」正是 [ref] 要下线的东西(对账门不算替代,单写者才算)。
24
- * 本表是纯数据、无行为(唯一的派生是 `wiring_manifest_operator` 行的两只取值器:`excluded` = 租户行减具名常量,S-724;`minted` = 租户行,S-961),
24
+ * 本表是纯数据、无行为(唯一的派生是 `wiring_manifest_operator` 行的两只取值器:`excluded` = 租户行减具名常量,[ref];`minted` = 租户行,[ref]),
25
25
  * 被守卫文件以 `typeof import(...)` 的**类型查询**读取(编译期擦除,零运行期边);唯一的运行期读者是清单行的解释器
26
26
  * (`observability/prompt-manifest.ts`,读 `keys` 声明)与机器清单生成器(转译本文件、求值、只读数据)—— 两者都不改表。
27
27
  *
@@ -226,7 +226,7 @@ export declare const WIRE_PROJECTION_FACES: {
226
226
  readonly wiring_manifest_tenant: {
227
227
  readonly projector: "wiringManifestEventData";
228
228
  readonly coreType: `WiringManifest & ${string}`;
229
- readonly excluded: readonly ["governance", "configFingerprint", "autoConsolidation", "readDeny", "peerPresence"];
229
+ readonly excluded: readonly ["governance", "configFingerprint", "autoConsolidation", "readDeny", "peerPresence", "advisor"];
230
230
  readonly unwrapped: readonly ["manifest"];
231
231
  readonly minted: readonly ["instructions"];
232
232
  };
@@ -51,7 +51,7 @@ export const WIRE_PROJECTION_FACES = {
51
51
  wiring_manifest_tenant: {
52
52
  projector: "wiringManifestEventData",
53
53
  coreType: `WiringManifest & ${arm("wiring_manifest")}`,
54
- excluded: ["governance", "configFingerprint", "autoConsolidation", "readDeny", "peerPresence"],
54
+ excluded: ["governance", "configFingerprint", "autoConsolidation", "readDeny", "peerPresence", "advisor"],
55
55
  unwrapped: ["manifest"],
56
56
  minted: ["instructions"],
57
57
  },