@openrig/cli 0.7.21 → 0.7.23

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 (1101) hide show
  1. package/README.md +7 -7
  2. package/daemon/assets/onboarding/01-world-and-purpose.md +2 -1
  3. package/daemon/assets/onboarding/02-self-and-competent-action.md +6 -0
  4. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/claude.json +22 -0
  11. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +23 -0
  12. package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +82 -9
  13. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +138 -20
  14. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +110 -35
  15. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +1 -1
  16. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +7 -5
  17. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +32 -6
  18. package/daemon/assets/skills/rigs/SKILL.md +27 -6
  19. package/daemon/context-packs/help/help.md +12 -0
  20. package/daemon/context-packs/help/manifest.yaml +1 -1
  21. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  22. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +27 -7
  23. package/daemon/context-packs/reference/acp-agents.md +2 -1
  24. package/daemon/context-packs/reference/getting-started.md +129 -13
  25. package/daemon/context-packs/reference/manifest.yaml +1 -1
  26. package/daemon/context-packs/reference/rig-spec.md +210 -7
  27. package/daemon/context-packs/reference/tmux-servers.md +46 -2
  28. package/daemon/context-packs/reference/whats-new.md +167 -5
  29. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +138 -20
  34. package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +110 -35
  35. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +1 -1
  40. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +3 -3
  41. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/openrig-user/SKILL.md +7 -5
  60. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +32 -6
  83. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  84. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  86. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  87. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  88. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  89. package/daemon/dist/adapters/claude-code-adapter.d.ts +14 -1
  90. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  91. package/daemon/dist/adapters/claude-code-adapter.js +98 -23
  92. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  93. package/daemon/dist/adapters/claude-resume.d.ts +3 -1
  94. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  95. package/daemon/dist/adapters/claude-resume.js +35 -11
  96. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  97. package/daemon/dist/adapters/claude-settings-transport.d.ts +10 -0
  98. package/daemon/dist/adapters/claude-settings-transport.d.ts.map +1 -0
  99. package/daemon/dist/adapters/claude-settings-transport.js +95 -0
  100. package/daemon/dist/adapters/claude-settings-transport.js.map +1 -0
  101. package/daemon/dist/adapters/codex-activity-relay.d.ts +6 -0
  102. package/daemon/dist/adapters/codex-activity-relay.d.ts.map +1 -0
  103. package/daemon/dist/adapters/codex-activity-relay.js +29 -0
  104. package/daemon/dist/adapters/codex-activity-relay.js.map +1 -0
  105. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +2 -1
  106. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  107. package/daemon/dist/adapters/codex-runtime-adapter.js +30 -17
  108. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  109. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  110. package/daemon/dist/adapters/community-harness-runtime-adapter.js +19 -4
  111. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  112. package/daemon/dist/adapters/pi-recovery-rpc.d.ts +17 -0
  113. package/daemon/dist/adapters/pi-recovery-rpc.d.ts.map +1 -0
  114. package/daemon/dist/adapters/pi-recovery-rpc.js +94 -0
  115. package/daemon/dist/adapters/pi-recovery-rpc.js.map +1 -0
  116. package/daemon/dist/adapters/pi-runner-protocol.d.ts +6 -0
  117. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  118. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  119. package/daemon/dist/adapters/pi-runner.d.ts +77 -0
  120. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  121. package/daemon/dist/adapters/pi-runner.js +644 -43
  122. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  123. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +6 -0
  124. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  125. package/daemon/dist/adapters/pi-runtime-adapter.js +11 -0
  126. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  127. package/daemon/dist/adapters/pi-runtime-recovery.d.ts +10 -0
  128. package/daemon/dist/adapters/pi-runtime-recovery.d.ts.map +1 -0
  129. package/daemon/dist/adapters/pi-runtime-recovery.js +82 -0
  130. package/daemon/dist/adapters/pi-runtime-recovery.js.map +1 -0
  131. package/daemon/dist/adapters/replace-file.d.ts +5 -2
  132. package/daemon/dist/adapters/replace-file.d.ts.map +1 -1
  133. package/daemon/dist/adapters/replace-file.js +6 -3
  134. package/daemon/dist/adapters/replace-file.js.map +1 -1
  135. package/daemon/dist/adapters/seat-slice.d.ts +19 -0
  136. package/daemon/dist/adapters/seat-slice.d.ts.map +1 -0
  137. package/daemon/dist/adapters/seat-slice.js +29 -0
  138. package/daemon/dist/adapters/seat-slice.js.map +1 -0
  139. package/daemon/dist/adapters/shell-quote.d.ts +1 -0
  140. package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
  141. package/daemon/dist/adapters/shell-quote.js +6 -0
  142. package/daemon/dist/adapters/shell-quote.js.map +1 -1
  143. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  144. package/daemon/dist/adapters/tmux-exec.js +4 -2
  145. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  146. package/daemon/dist/adapters/tmux.d.ts +78 -13
  147. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  148. package/daemon/dist/adapters/tmux.js +361 -82
  149. package/daemon/dist/adapters/tmux.js.map +1 -1
  150. package/daemon/dist/build-info.js +3 -3
  151. package/daemon/dist/daemon-shutdown.d.ts +8 -0
  152. package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
  153. package/daemon/dist/daemon-shutdown.js +18 -2
  154. package/daemon/dist/daemon-shutdown.js.map +1 -1
  155. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  156. package/daemon/dist/db/all-migrations.js +24 -0
  157. package/daemon/dist/db/all-migrations.js.map +1 -1
  158. package/daemon/dist/db/migrate.d.ts +15 -1
  159. package/daemon/dist/db/migrate.d.ts.map +1 -1
  160. package/daemon/dist/db/migrate.js +41 -6
  161. package/daemon/dist/db/migrate.js.map +1 -1
  162. package/daemon/dist/db/migrations/179_remote_control_observations.d.ts +10 -0
  163. package/daemon/dist/db/migrations/179_remote_control_observations.d.ts.map +1 -0
  164. package/daemon/dist/db/migrations/179_remote_control_observations.js +20 -0
  165. package/daemon/dist/db/migrations/179_remote_control_observations.js.map +1 -0
  166. package/daemon/dist/db/migrations/180_session_stop_attempt.d.ts +5 -0
  167. package/daemon/dist/db/migrations/180_session_stop_attempt.d.ts.map +1 -0
  168. package/daemon/dist/db/migrations/180_session_stop_attempt.js +7 -0
  169. package/daemon/dist/db/migrations/180_session_stop_attempt.js.map +1 -0
  170. package/daemon/dist/db/migrations/181_node_keep_alive.d.ts +8 -0
  171. package/daemon/dist/db/migrations/181_node_keep_alive.d.ts.map +1 -0
  172. package/daemon/dist/db/migrations/181_node_keep_alive.js +26 -0
  173. package/daemon/dist/db/migrations/181_node_keep_alive.js.map +1 -0
  174. package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.d.ts +7 -0
  175. package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.d.ts.map +1 -0
  176. package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.js +11 -0
  177. package/daemon/dist/db/migrations/182_queue_items_blocked_on_index.js.map +1 -0
  178. package/daemon/dist/db/migrations/183_queue_items_scan_indexes.d.ts +8 -0
  179. package/daemon/dist/db/migrations/183_queue_items_scan_indexes.d.ts.map +1 -0
  180. package/daemon/dist/db/migrations/183_queue_items_scan_indexes.js +13 -0
  181. package/daemon/dist/db/migrations/183_queue_items_scan_indexes.js.map +1 -0
  182. package/daemon/dist/db/migrations/184_network_requests.d.ts +11 -0
  183. package/daemon/dist/db/migrations/184_network_requests.d.ts.map +1 -0
  184. package/daemon/dist/db/migrations/184_network_requests.js +32 -0
  185. package/daemon/dist/db/migrations/184_network_requests.js.map +1 -0
  186. package/daemon/dist/db/migrations/185_seat_cold_starts.d.ts +9 -0
  187. package/daemon/dist/db/migrations/185_seat_cold_starts.d.ts.map +1 -0
  188. package/daemon/dist/db/migrations/185_seat_cold_starts.js +19 -0
  189. package/daemon/dist/db/migrations/185_seat_cold_starts.js.map +1 -0
  190. package/daemon/dist/db/migrations/186_queue_relayed_answers.d.ts +3 -0
  191. package/daemon/dist/db/migrations/186_queue_relayed_answers.d.ts.map +1 -0
  192. package/daemon/dist/db/migrations/186_queue_relayed_answers.js +5 -0
  193. package/daemon/dist/db/migrations/186_queue_relayed_answers.js.map +1 -0
  194. package/daemon/dist/db/migrations/189_rig_seat_slice.d.ts +5 -0
  195. package/daemon/dist/db/migrations/189_rig_seat_slice.d.ts.map +1 -0
  196. package/daemon/dist/db/migrations/189_rig_seat_slice.js +7 -0
  197. package/daemon/dist/db/migrations/189_rig_seat_slice.js.map +1 -0
  198. package/daemon/dist/db/migrations/190_queue_transfer_staging.d.ts +3 -0
  199. package/daemon/dist/db/migrations/190_queue_transfer_staging.d.ts.map +1 -0
  200. package/daemon/dist/db/migrations/190_queue_transfer_staging.js +20 -0
  201. package/daemon/dist/db/migrations/190_queue_transfer_staging.js.map +1 -0
  202. package/daemon/dist/db/migrations/191_network_binding_providers.d.ts +3 -0
  203. package/daemon/dist/db/migrations/191_network_binding_providers.d.ts.map +1 -0
  204. package/daemon/dist/db/migrations/191_network_binding_providers.js +27 -0
  205. package/daemon/dist/db/migrations/191_network_binding_providers.js.map +1 -0
  206. package/daemon/dist/db/migrations/194_workflow_run_title.d.ts +4 -0
  207. package/daemon/dist/db/migrations/194_workflow_run_title.d.ts.map +1 -0
  208. package/daemon/dist/db/migrations/194_workflow_run_title.js +6 -0
  209. package/daemon/dist/db/migrations/194_workflow_run_title.js.map +1 -0
  210. package/daemon/dist/domain/activity-taxonomy.d.ts +14 -0
  211. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
  212. package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
  213. package/daemon/dist/domain/agent-activity-store.d.ts +61 -0
  214. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  215. package/daemon/dist/domain/agent-activity-store.js +261 -48
  216. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  217. package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  218. package/daemon/dist/domain/agent-manifest.js +6 -0
  219. package/daemon/dist/domain/agent-manifest.js.map +1 -1
  220. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  221. package/daemon/dist/domain/bootstrap-orchestrator.js +14 -3
  222. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  223. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +58 -2
  224. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  225. package/daemon/dist/domain/claude-compaction-enforcer.js +142 -9
  226. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  227. package/daemon/dist/domain/claude-continuation-launch.d.ts +3 -2
  228. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  229. package/daemon/dist/domain/claude-continuation-launch.js +12 -11
  230. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  231. package/daemon/dist/domain/codex-thread-id.d.ts +20 -2
  232. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  233. package/daemon/dist/domain/codex-thread-id.js +69 -4
  234. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  235. package/daemon/dist/domain/compaction-restore-notice.d.ts +14 -1
  236. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  237. package/daemon/dist/domain/compaction-restore-notice.js +174 -19
  238. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  239. package/daemon/dist/domain/context-packs/seat-recap-store.d.ts.map +1 -1
  240. package/daemon/dist/domain/context-packs/seat-recap-store.js +20 -3
  241. package/daemon/dist/domain/context-packs/seat-recap-store.js.map +1 -1
  242. package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -1
  243. package/daemon/dist/domain/continuity-policy-materializer.js +11 -3
  244. package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -1
  245. package/daemon/dist/domain/core-app-job.d.ts +4 -4
  246. package/daemon/dist/domain/core-app-job.d.ts.map +1 -1
  247. package/daemon/dist/domain/core-app-job.js +4 -59
  248. package/daemon/dist/domain/core-app-job.js.map +1 -1
  249. package/daemon/dist/domain/current-work.d.ts +12 -0
  250. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  251. package/daemon/dist/domain/current-work.js +4 -0
  252. package/daemon/dist/domain/current-work.js.map +1 -1
  253. package/daemon/dist/domain/escalation-owner.d.ts +3 -0
  254. package/daemon/dist/domain/escalation-owner.d.ts.map +1 -1
  255. package/daemon/dist/domain/escalation-owner.js +9 -3
  256. package/daemon/dist/domain/escalation-owner.js.map +1 -1
  257. package/daemon/dist/domain/execution-candidate-reader.d.ts +3 -0
  258. package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -1
  259. package/daemon/dist/domain/execution-candidate-reader.js +8 -2
  260. package/daemon/dist/domain/execution-candidate-reader.js.map +1 -1
  261. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  262. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  263. package/daemon/dist/domain/existing-rig-restore.js +11 -1
  264. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  265. package/daemon/dist/domain/expected-conversation.js +2 -2
  266. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/inbound.d.ts +3 -1
  268. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/inbound.js +56 -11
  270. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  271. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -4
  272. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  273. package/daemon/dist/domain/gateway/slack/message.js +17 -5
  274. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  275. package/daemon/dist/domain/gateway/slack/notice-content-dedup.d.ts +23 -0
  276. package/daemon/dist/domain/gateway/slack/notice-content-dedup.d.ts.map +1 -0
  277. package/daemon/dist/domain/gateway/slack/notice-content-dedup.js +87 -0
  278. package/daemon/dist/domain/gateway/slack/notice-content-dedup.js.map +1 -0
  279. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +7 -1
  280. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  281. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  282. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  283. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  284. package/daemon/dist/domain/gateway/slack/settled-asks.js +17 -3
  285. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  286. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +0 -17
  287. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  288. package/daemon/dist/domain/gateway/slack/slack-delivery.js +10 -40
  289. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  290. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +3 -1
  291. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  292. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +21 -7
  293. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  294. package/daemon/dist/domain/harness-not-started-notice.d.ts +5 -2
  295. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -1
  296. package/daemon/dist/domain/harness-not-started-notice.js +46 -15
  297. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -1
  298. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  299. package/daemon/dist/domain/health-passive-ceremony.js +3 -2
  300. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  301. package/daemon/dist/domain/hosts/read-through.d.ts +1 -1
  302. package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
  303. package/daemon/dist/domain/hosts/read-through.js +3 -2
  304. package/daemon/dist/domain/hosts/read-through.js.map +1 -1
  305. package/daemon/dist/domain/hosts/remote-daemon-http.d.ts +2 -0
  306. package/daemon/dist/domain/hosts/remote-daemon-http.d.ts.map +1 -1
  307. package/daemon/dist/domain/hosts/remote-daemon-http.js +1 -1
  308. package/daemon/dist/domain/hosts/remote-daemon-http.js.map +1 -1
  309. package/daemon/dist/domain/hot-potato-enforcer.d.ts +3 -3
  310. package/daemon/dist/domain/hot-potato-enforcer.d.ts.map +1 -1
  311. package/daemon/dist/domain/hot-potato-enforcer.js +2 -2
  312. package/daemon/dist/domain/hot-potato-enforcer.js.map +1 -1
  313. package/daemon/dist/domain/human-questions.d.ts +1 -1
  314. package/daemon/dist/domain/human-questions.d.ts.map +1 -1
  315. package/daemon/dist/domain/human-questions.js +2 -0
  316. package/daemon/dist/domain/human-questions.js.map +1 -1
  317. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  318. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  319. package/daemon/dist/domain/install-planner.d.ts +8 -0
  320. package/daemon/dist/domain/install-planner.d.ts.map +1 -1
  321. package/daemon/dist/domain/install-planner.js +26 -6
  322. package/daemon/dist/domain/install-planner.js.map +1 -1
  323. package/daemon/dist/domain/keep-alive-supervisor.d.ts +178 -0
  324. package/daemon/dist/domain/keep-alive-supervisor.d.ts.map +1 -0
  325. package/daemon/dist/domain/keep-alive-supervisor.js +523 -0
  326. package/daemon/dist/domain/keep-alive-supervisor.js.map +1 -0
  327. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts +6 -0
  328. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts.map +1 -1
  329. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js +39 -9
  330. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js.map +1 -1
  331. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  332. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +29 -1
  333. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  334. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts +4 -1
  335. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  336. package/daemon/dist/domain/model-divergence/current-generation-record.js +18 -2
  337. package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  338. package/daemon/dist/domain/mutation-trace.d.ts +28 -0
  339. package/daemon/dist/domain/mutation-trace.d.ts.map +1 -0
  340. package/daemon/dist/domain/mutation-trace.js +38 -0
  341. package/daemon/dist/domain/mutation-trace.js.map +1 -0
  342. package/daemon/dist/domain/native-resume-probe.d.ts +13 -3
  343. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  344. package/daemon/dist/domain/native-resume-probe.js +54 -17
  345. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  346. package/daemon/dist/domain/network/hub-client.d.ts +30 -1
  347. package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
  348. package/daemon/dist/domain/network/hub-client.js +62 -9
  349. package/daemon/dist/domain/network/hub-client.js.map +1 -1
  350. package/daemon/dist/domain/network/network-bindings.d.ts +52 -2
  351. package/daemon/dist/domain/network/network-bindings.d.ts.map +1 -1
  352. package/daemon/dist/domain/network/network-bindings.js +217 -23
  353. package/daemon/dist/domain/network/network-bindings.js.map +1 -1
  354. package/daemon/dist/domain/network/network-connector.d.ts +9 -1
  355. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  356. package/daemon/dist/domain/network/network-connector.js +95 -7
  357. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  358. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  359. package/daemon/dist/domain/network/network-installations.js +22 -7
  360. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  361. package/daemon/dist/domain/network/network-provider-removal.d.ts +9 -0
  362. package/daemon/dist/domain/network/network-provider-removal.d.ts.map +1 -0
  363. package/daemon/dist/domain/network/network-provider-removal.js +75 -0
  364. package/daemon/dist/domain/network/network-provider-removal.js.map +1 -0
  365. package/daemon/dist/domain/network/network-requests.d.ts +59 -0
  366. package/daemon/dist/domain/network/network-requests.d.ts.map +1 -0
  367. package/daemon/dist/domain/network/network-requests.js +476 -0
  368. package/daemon/dist/domain/network/network-requests.js.map +1 -0
  369. package/daemon/dist/domain/node-inventory.d.ts +26 -0
  370. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  371. package/daemon/dist/domain/node-inventory.js +93 -9
  372. package/daemon/dist/domain/node-inventory.js.map +1 -1
  373. package/daemon/dist/domain/occupant-invalidator.d.ts +1 -1
  374. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  375. package/daemon/dist/domain/occupant-invalidator.js +1 -1
  376. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  377. package/daemon/dist/domain/outbox-handler.d.ts +11 -0
  378. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  379. package/daemon/dist/domain/outbox-handler.js +20 -0
  380. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  381. package/daemon/dist/domain/package-install-service.d.ts +1 -0
  382. package/daemon/dist/domain/package-install-service.d.ts.map +1 -1
  383. package/daemon/dist/domain/package-install-service.js +1 -0
  384. package/daemon/dist/domain/package-install-service.js.map +1 -1
  385. package/daemon/dist/domain/parked-owner-escalation.d.ts +16 -0
  386. package/daemon/dist/domain/parked-owner-escalation.d.ts.map +1 -0
  387. package/daemon/dist/domain/parked-owner-escalation.js +53 -0
  388. package/daemon/dist/domain/parked-owner-escalation.js.map +1 -0
  389. package/daemon/dist/domain/parked-query.d.ts +6 -0
  390. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  391. package/daemon/dist/domain/parked-query.js +20 -7
  392. package/daemon/dist/domain/parked-query.js.map +1 -1
  393. package/daemon/dist/domain/permission-stop-observation.d.ts +8 -1
  394. package/daemon/dist/domain/permission-stop-observation.d.ts.map +1 -1
  395. package/daemon/dist/domain/permission-stop-observation.js +19 -2
  396. package/daemon/dist/domain/permission-stop-observation.js.map +1 -1
  397. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +13 -0
  398. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  399. package/daemon/dist/domain/policies/parked-owner-consumer.js +24 -1
  400. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  401. package/daemon/dist/domain/policies/seat-pool.d.ts +15 -1
  402. package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
  403. package/daemon/dist/domain/policies/seat-pool.js +31 -8
  404. package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
  405. package/daemon/dist/domain/process-census.d.ts +5 -1
  406. package/daemon/dist/domain/process-census.d.ts.map +1 -1
  407. package/daemon/dist/domain/process-census.js +20 -11
  408. package/daemon/dist/domain/process-census.js.map +1 -1
  409. package/daemon/dist/domain/profile-resolver.d.ts +7 -1
  410. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  411. package/daemon/dist/domain/profile-resolver.js +7 -0
  412. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  413. package/daemon/dist/domain/progress/progress-indexer.d.ts.map +1 -1
  414. package/daemon/dist/domain/progress/progress-indexer.js +11 -0
  415. package/daemon/dist/domain/progress/progress-indexer.js.map +1 -1
  416. package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
  417. package/daemon/dist/domain/project-lifecycle-compiler.js +4 -1
  418. package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
  419. package/daemon/dist/domain/proof/judgments.d.ts +10 -0
  420. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  421. package/daemon/dist/domain/proof/judgments.js +31 -11
  422. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  423. package/daemon/dist/domain/proof/source-watch.js +4 -4
  424. package/daemon/dist/domain/proof/source-watch.js.map +1 -1
  425. package/daemon/dist/domain/provider/claude-interruption.d.ts +6 -0
  426. package/daemon/dist/domain/provider/claude-interruption.d.ts.map +1 -1
  427. package/daemon/dist/domain/provider/claude-interruption.js +18 -0
  428. package/daemon/dist/domain/provider/claude-interruption.js.map +1 -1
  429. package/daemon/dist/domain/provider/codex-limit-banner.d.ts +17 -1
  430. package/daemon/dist/domain/provider/codex-limit-banner.d.ts.map +1 -1
  431. package/daemon/dist/domain/provider/codex-limit-banner.js +38 -5
  432. package/daemon/dist/domain/provider/codex-limit-banner.js.map +1 -1
  433. package/daemon/dist/domain/ps-projection.d.ts +17 -1
  434. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  435. package/daemon/dist/domain/ps-projection.js +41 -6
  436. package/daemon/dist/domain/ps-projection.js.map +1 -1
  437. package/daemon/dist/domain/queue-erasure.d.ts +3 -0
  438. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  439. package/daemon/dist/domain/queue-erasure.js +2 -2
  440. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  441. package/daemon/dist/domain/queue-owner.d.ts +5 -0
  442. package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
  443. package/daemon/dist/domain/queue-owner.js +16 -8
  444. package/daemon/dist/domain/queue-owner.js.map +1 -1
  445. package/daemon/dist/domain/queue-read-wait.d.ts +12 -0
  446. package/daemon/dist/domain/queue-read-wait.d.ts.map +1 -0
  447. package/daemon/dist/domain/queue-read-wait.js +43 -0
  448. package/daemon/dist/domain/queue-read-wait.js.map +1 -0
  449. package/daemon/dist/domain/queue-recorded-graph.d.ts +32 -0
  450. package/daemon/dist/domain/queue-recorded-graph.d.ts.map +1 -0
  451. package/daemon/dist/domain/queue-recorded-graph.js +84 -0
  452. package/daemon/dist/domain/queue-recorded-graph.js.map +1 -0
  453. package/daemon/dist/domain/queue-repository.d.ts +143 -8
  454. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  455. package/daemon/dist/domain/queue-repository.js +689 -59
  456. package/daemon/dist/domain/queue-repository.js.map +1 -1
  457. package/daemon/dist/domain/queue-retention.d.ts +1 -1
  458. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  459. package/daemon/dist/domain/queue-retention.js +4 -0
  460. package/daemon/dist/domain/queue-retention.js.map +1 -1
  461. package/daemon/dist/domain/queue-stuck-sweep.d.ts +10 -4
  462. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  463. package/daemon/dist/domain/queue-stuck-sweep.js +169 -21
  464. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  465. package/daemon/dist/domain/queue-transfer-export.d.ts +75 -0
  466. package/daemon/dist/domain/queue-transfer-export.d.ts.map +1 -0
  467. package/daemon/dist/domain/queue-transfer-export.js +156 -0
  468. package/daemon/dist/domain/queue-transfer-export.js.map +1 -0
  469. package/daemon/dist/domain/queue-transfer-format.d.ts +15 -0
  470. package/daemon/dist/domain/queue-transfer-format.d.ts.map +1 -0
  471. package/daemon/dist/domain/queue-transfer-format.js +32 -0
  472. package/daemon/dist/domain/queue-transfer-format.js.map +1 -0
  473. package/daemon/dist/domain/queue-transfer-parse.d.ts +40 -0
  474. package/daemon/dist/domain/queue-transfer-parse.d.ts.map +1 -0
  475. package/daemon/dist/domain/queue-transfer-parse.js +131 -0
  476. package/daemon/dist/domain/queue-transfer-parse.js.map +1 -0
  477. package/daemon/dist/domain/queue-transfer-review.d.ts +22 -0
  478. package/daemon/dist/domain/queue-transfer-review.d.ts.map +1 -0
  479. package/daemon/dist/domain/queue-transfer-review.js +81 -0
  480. package/daemon/dist/domain/queue-transfer-review.js.map +1 -0
  481. package/daemon/dist/domain/queue-transfer-staging.d.ts +79 -0
  482. package/daemon/dist/domain/queue-transfer-staging.d.ts.map +1 -0
  483. package/daemon/dist/domain/queue-transfer-staging.js +67 -0
  484. package/daemon/dist/domain/queue-transfer-staging.js.map +1 -0
  485. package/daemon/dist/domain/queue-transition-log.js +3 -3
  486. package/daemon/dist/domain/queue-wake-ladder.d.ts +20 -3
  487. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  488. package/daemon/dist/domain/queue-wake-ladder.js +299 -41
  489. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  490. package/daemon/dist/domain/reconciler.d.ts +27 -2
  491. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  492. package/daemon/dist/domain/reconciler.js +184 -16
  493. package/daemon/dist/domain/reconciler.js.map +1 -1
  494. package/daemon/dist/domain/refusal-trace.d.ts +15 -0
  495. package/daemon/dist/domain/refusal-trace.d.ts.map +1 -0
  496. package/daemon/dist/domain/refusal-trace.js +23 -0
  497. package/daemon/dist/domain/refusal-trace.js.map +1 -0
  498. package/daemon/dist/domain/relayed-answers.d.ts +80 -0
  499. package/daemon/dist/domain/relayed-answers.d.ts.map +1 -0
  500. package/daemon/dist/domain/relayed-answers.js +8 -0
  501. package/daemon/dist/domain/relayed-answers.js.map +1 -0
  502. package/daemon/dist/domain/remote-control-observations.d.ts +50 -0
  503. package/daemon/dist/domain/remote-control-observations.d.ts.map +1 -0
  504. package/daemon/dist/domain/remote-control-observations.js +72 -0
  505. package/daemon/dist/domain/remote-control-observations.js.map +1 -0
  506. package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -1
  507. package/daemon/dist/domain/restore-attempt-receipt.js +8 -2
  508. package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -1
  509. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  510. package/daemon/dist/domain/restore-check-service.js +3 -2
  511. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  512. package/daemon/dist/domain/restore-orchestrator.d.ts +70 -14
  513. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  514. package/daemon/dist/domain/restore-orchestrator.js +429 -107
  515. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  516. package/daemon/dist/domain/return-route.d.ts +9 -2
  517. package/daemon/dist/domain/return-route.d.ts.map +1 -1
  518. package/daemon/dist/domain/return-route.js +22 -1
  519. package/daemon/dist/domain/return-route.js.map +1 -1
  520. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  521. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  522. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  523. package/daemon/dist/domain/rig-repository.d.ts +38 -3
  524. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  525. package/daemon/dist/domain/rig-repository.js +95 -3
  526. package/daemon/dist/domain/rig-repository.js.map +1 -1
  527. package/daemon/dist/domain/rig-teardown.d.ts +22 -7
  528. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  529. package/daemon/dist/domain/rig-teardown.js +108 -24
  530. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  531. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  532. package/daemon/dist/domain/rigspec-codec.js +12 -0
  533. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  534. package/daemon/dist/domain/rigspec-exporter.d.ts +14 -0
  535. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  536. package/daemon/dist/domain/rigspec-exporter.js +56 -14
  537. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  538. package/daemon/dist/domain/rigspec-instantiator.d.ts +32 -3
  539. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  540. package/daemon/dist/domain/rigspec-instantiator.js +135 -29
  541. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  542. package/daemon/dist/domain/rigspec-preflight.d.ts +4 -1
  543. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  544. package/daemon/dist/domain/rigspec-preflight.js +9 -1
  545. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  546. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  547. package/daemon/dist/domain/rigspec-schema.js +30 -4
  548. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  549. package/daemon/dist/domain/rosters.d.ts +1 -0
  550. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  551. package/daemon/dist/domain/rosters.js +5 -4
  552. package/daemon/dist/domain/rosters.js.map +1 -1
  553. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  554. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  555. package/daemon/dist/domain/runtime-recovery.d.ts +41 -0
  556. package/daemon/dist/domain/runtime-recovery.d.ts.map +1 -0
  557. package/daemon/dist/domain/runtime-recovery.js +2 -0
  558. package/daemon/dist/domain/runtime-recovery.js.map +1 -0
  559. package/daemon/dist/domain/seat-activity-service.d.ts +37 -1
  560. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  561. package/daemon/dist/domain/seat-activity-service.js +160 -7
  562. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  563. package/daemon/dist/domain/seat-attention-reconciler.d.ts +7 -0
  564. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  565. package/daemon/dist/domain/seat-attention-reconciler.js +149 -65
  566. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  567. package/daemon/dist/domain/seat-cold-start.d.ts +150 -0
  568. package/daemon/dist/domain/seat-cold-start.d.ts.map +1 -0
  569. package/daemon/dist/domain/seat-cold-start.js +371 -0
  570. package/daemon/dist/domain/seat-cold-start.js.map +1 -0
  571. package/daemon/dist/domain/seat-delivery-guard.d.ts +11 -2
  572. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  573. package/daemon/dist/domain/seat-delivery-guard.js +34 -6
  574. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  575. package/daemon/dist/domain/seat-identity-reconciler.d.ts +43 -0
  576. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  577. package/daemon/dist/domain/seat-identity-reconciler.js +109 -23
  578. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  579. package/daemon/dist/domain/seat-identity-store.d.ts +5 -3
  580. package/daemon/dist/domain/seat-identity-store.d.ts.map +1 -1
  581. package/daemon/dist/domain/seat-identity-store.js +7 -3
  582. package/daemon/dist/domain/seat-identity-store.js.map +1 -1
  583. package/daemon/dist/domain/seat-launch-environment.d.ts +2 -0
  584. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  585. package/daemon/dist/domain/seat-launch-environment.js +9 -1
  586. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  587. package/daemon/dist/domain/seat-lifecycle-service.d.ts +17 -0
  588. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  589. package/daemon/dist/domain/seat-lifecycle-service.js +180 -23
  590. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  591. package/daemon/dist/domain/seat-pool-executor.d.ts +116 -0
  592. package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -0
  593. package/daemon/dist/domain/seat-pool-executor.js +565 -0
  594. package/daemon/dist/domain/seat-pool-executor.js.map +1 -0
  595. package/daemon/dist/domain/seat-pool-registration.d.ts +93 -0
  596. package/daemon/dist/domain/seat-pool-registration.d.ts.map +1 -0
  597. package/daemon/dist/domain/seat-pool-registration.js +149 -0
  598. package/daemon/dist/domain/seat-pool-registration.js.map +1 -0
  599. package/daemon/dist/domain/seat-pool-slots.d.ts +42 -0
  600. package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
  601. package/daemon/dist/domain/seat-pool-slots.js +51 -0
  602. package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
  603. package/daemon/dist/domain/seat-pool-spec.d.ts +10 -0
  604. package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
  605. package/daemon/dist/domain/seat-pool-spec.js +22 -2
  606. package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
  607. package/daemon/dist/domain/seat-restart-in-place.d.ts +17 -0
  608. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  609. package/daemon/dist/domain/seat-restart-in-place.js +57 -4
  610. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  611. package/daemon/dist/domain/seat-runtime-home-record.d.ts +8 -0
  612. package/daemon/dist/domain/seat-runtime-home-record.d.ts.map +1 -1
  613. package/daemon/dist/domain/seat-runtime-home-record.js +1 -1
  614. package/daemon/dist/domain/seat-runtime-home-record.js.map +1 -1
  615. package/daemon/dist/domain/session-registry.d.ts +25 -3
  616. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  617. package/daemon/dist/domain/session-registry.js +47 -6
  618. package/daemon/dist/domain/session-registry.js.map +1 -1
  619. package/daemon/dist/domain/session-transport.d.ts +28 -1
  620. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  621. package/daemon/dist/domain/session-transport.js +80 -33
  622. package/daemon/dist/domain/session-transport.js.map +1 -1
  623. package/daemon/dist/domain/slices/slice-indexer.d.ts +59 -0
  624. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  625. package/daemon/dist/domain/slices/slice-indexer.js +288 -63
  626. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  627. package/daemon/dist/domain/slow-op-recorder.d.ts +3 -1
  628. package/daemon/dist/domain/slow-op-recorder.d.ts.map +1 -1
  629. package/daemon/dist/domain/slow-op-recorder.js +7 -1
  630. package/daemon/dist/domain/slow-op-recorder.js.map +1 -1
  631. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -1
  632. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  633. package/daemon/dist/domain/startup-orchestrator.js +75 -23
  634. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  635. package/daemon/dist/domain/startup-proof.d.ts +6 -0
  636. package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
  637. package/daemon/dist/domain/startup-proof.js +11 -0
  638. package/daemon/dist/domain/startup-proof.js.map +1 -1
  639. package/daemon/dist/domain/startup-submission-evidence.d.ts +2 -0
  640. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  641. package/daemon/dist/domain/startup-submission-evidence.js +31 -3
  642. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  643. package/daemon/dist/domain/stream-intake.d.ts +10 -1
  644. package/daemon/dist/domain/stream-intake.d.ts.map +1 -1
  645. package/daemon/dist/domain/stream-intake.js +27 -0
  646. package/daemon/dist/domain/stream-intake.js.map +1 -1
  647. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +7 -0
  648. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  649. package/daemon/dist/domain/terminal/herdr-adapter.js +5 -3
  650. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  651. package/daemon/dist/domain/terminal/herdr-follow-view.d.ts +13 -0
  652. package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
  653. package/daemon/dist/domain/terminal/herdr-follow-view.js +126 -3
  654. package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -1
  655. package/daemon/dist/domain/terminal/herdr-viewer.d.ts +10 -0
  656. package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
  657. package/daemon/dist/domain/terminal/herdr-viewer.js +38 -12
  658. package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
  659. package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts +2 -1
  660. package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts.map +1 -1
  661. package/daemon/dist/domain/terminal/scope-task-terminal-view.js +80 -38
  662. package/daemon/dist/domain/terminal/scope-task-terminal-view.js.map +1 -1
  663. package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
  664. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  665. package/daemon/dist/domain/terminal/terminal-service.d.ts +3 -0
  666. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  667. package/daemon/dist/domain/terminal/terminal-service.js +30 -26
  668. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  669. package/daemon/dist/domain/terminal/tile-attach.d.ts +22 -0
  670. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  671. package/daemon/dist/domain/terminal/tile-attach.js +71 -0
  672. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  673. package/daemon/dist/domain/terminal/view-composer.d.ts +2 -0
  674. package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
  675. package/daemon/dist/domain/terminal/view-composer.js +4 -2
  676. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  677. package/daemon/dist/domain/terminal-server-reachability.d.ts +14 -7
  678. package/daemon/dist/domain/terminal-server-reachability.d.ts.map +1 -1
  679. package/daemon/dist/domain/terminal-server-reachability.js +29 -11
  680. package/daemon/dist/domain/terminal-server-reachability.js.map +1 -1
  681. package/daemon/dist/domain/terminal-server-seats.d.ts +1 -1
  682. package/daemon/dist/domain/terminal-server-seats.d.ts.map +1 -1
  683. package/daemon/dist/domain/terminal-server-seats.js +4 -1
  684. package/daemon/dist/domain/terminal-server-seats.js.map +1 -1
  685. package/daemon/dist/domain/topology/remote-up-leaf.d.ts.map +1 -1
  686. package/daemon/dist/domain/topology/remote-up-leaf.js +41 -2
  687. package/daemon/dist/domain/topology/remote-up-leaf.js.map +1 -1
  688. package/daemon/dist/domain/topology-trace.d.ts +40 -0
  689. package/daemon/dist/domain/topology-trace.d.ts.map +1 -0
  690. package/daemon/dist/domain/topology-trace.js +106 -0
  691. package/daemon/dist/domain/topology-trace.js.map +1 -0
  692. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  693. package/daemon/dist/domain/transcript-store.js +12 -1
  694. package/daemon/dist/domain/transcript-store.js.map +1 -1
  695. package/daemon/dist/domain/types.d.ts +111 -14
  696. package/daemon/dist/domain/types.d.ts.map +1 -1
  697. package/daemon/dist/domain/types.js +3 -2
  698. package/daemon/dist/domain/types.js.map +1 -1
  699. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  700. package/daemon/dist/domain/user-settings/settings-browser.js +6 -2
  701. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  702. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  703. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  704. package/daemon/dist/domain/user-settings/settings-store.js +26 -0
  705. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  706. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +11 -3
  707. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  708. package/daemon/dist/domain/watchdog-jobs-repository.js +23 -1
  709. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  710. package/daemon/dist/domain/watchdog-policy-engine.d.ts +35 -1
  711. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  712. package/daemon/dist/domain/watchdog-policy-engine.js +99 -23
  713. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  714. package/daemon/dist/domain/workflow-instance-store.d.ts +2 -0
  715. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  716. package/daemon/dist/domain/workflow-instance-store.js +11 -2
  717. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  718. package/daemon/dist/domain/workflow-projector.d.ts +3 -1
  719. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  720. package/daemon/dist/domain/workflow-projector.js +58 -10
  721. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  722. package/daemon/dist/domain/workflow-run-title.d.ts +4 -0
  723. package/daemon/dist/domain/workflow-run-title.d.ts.map +1 -0
  724. package/daemon/dist/domain/workflow-run-title.js +5 -0
  725. package/daemon/dist/domain/workflow-run-title.js.map +1 -0
  726. package/daemon/dist/domain/workflow-runtime.d.ts +4 -0
  727. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  728. package/daemon/dist/domain/workflow-runtime.js +45 -14
  729. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  730. package/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
  731. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  732. package/daemon/dist/domain/workflow-spec-cache.js +20 -1
  733. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  734. package/daemon/dist/domain/workflow-types.d.ts +15 -0
  735. package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  736. package/daemon/dist/domain/workflow-types.js +4 -0
  737. package/daemon/dist/domain/workflow-types.js.map +1 -1
  738. package/daemon/dist/domain/workspace/project-catalog.d.ts +7 -0
  739. package/daemon/dist/domain/workspace/project-catalog.d.ts.map +1 -1
  740. package/daemon/dist/domain/workspace/project-catalog.js +20 -3
  741. package/daemon/dist/domain/workspace/project-catalog.js.map +1 -1
  742. package/daemon/dist/domain/workspace/project-read.d.ts +12 -0
  743. package/daemon/dist/domain/workspace/project-read.d.ts.map +1 -1
  744. package/daemon/dist/domain/workspace/project-read.js +37 -5
  745. package/daemon/dist/domain/workspace/project-read.js.map +1 -1
  746. package/daemon/dist/index.d.ts +2 -2
  747. package/daemon/dist/index.d.ts.map +1 -1
  748. package/daemon/dist/index.js +40 -4
  749. package/daemon/dist/index.js.map +1 -1
  750. package/daemon/dist/queue-transfer-export-surface.d.ts +33 -0
  751. package/daemon/dist/queue-transfer-export-surface.d.ts.map +1 -0
  752. package/daemon/dist/queue-transfer-export-surface.js +13 -0
  753. package/daemon/dist/queue-transfer-export-surface.js.map +1 -0
  754. package/daemon/dist/queue-transfer-staging-surface.d.ts +86 -0
  755. package/daemon/dist/queue-transfer-staging-surface.d.ts.map +1 -0
  756. package/daemon/dist/queue-transfer-staging-surface.js +91 -0
  757. package/daemon/dist/queue-transfer-staging-surface.js.map +1 -0
  758. package/daemon/dist/routes/activity.d.ts +9 -1
  759. package/daemon/dist/routes/activity.d.ts.map +1 -1
  760. package/daemon/dist/routes/activity.js +79 -3
  761. package/daemon/dist/routes/activity.js.map +1 -1
  762. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  763. package/daemon/dist/routes/compaction.js +7 -2
  764. package/daemon/dist/routes/compaction.js.map +1 -1
  765. package/daemon/dist/routes/context-packs.d.ts.map +1 -1
  766. package/daemon/dist/routes/context-packs.js +23 -1
  767. package/daemon/dist/routes/context-packs.js.map +1 -1
  768. package/daemon/dist/routes/events.js +7 -4
  769. package/daemon/dist/routes/events.js.map +1 -1
  770. package/daemon/dist/routes/missions.js +4 -4
  771. package/daemon/dist/routes/missions.js.map +1 -1
  772. package/daemon/dist/routes/network.d.ts +2 -0
  773. package/daemon/dist/routes/network.d.ts.map +1 -1
  774. package/daemon/dist/routes/network.js +62 -1
  775. package/daemon/dist/routes/network.js.map +1 -1
  776. package/daemon/dist/routes/packages.js +2 -0
  777. package/daemon/dist/routes/packages.js.map +1 -1
  778. package/daemon/dist/routes/ps.js +13 -2
  779. package/daemon/dist/routes/ps.js.map +1 -1
  780. package/daemon/dist/routes/queue.d.ts +22 -1
  781. package/daemon/dist/routes/queue.d.ts.map +1 -1
  782. package/daemon/dist/routes/queue.js +250 -69
  783. package/daemon/dist/routes/queue.js.map +1 -1
  784. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  785. package/daemon/dist/routes/require-sender-identity.js +6 -3
  786. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  787. package/daemon/dist/routes/rigs.js +2 -0
  788. package/daemon/dist/routes/rigs.js.map +1 -1
  789. package/daemon/dist/routes/seat.d.ts.map +1 -1
  790. package/daemon/dist/routes/seat.js +12 -5
  791. package/daemon/dist/routes/seat.js.map +1 -1
  792. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  793. package/daemon/dist/routes/sessions.js +16 -2
  794. package/daemon/dist/routes/sessions.js.map +1 -1
  795. package/daemon/dist/routes/slices.d.ts.map +1 -1
  796. package/daemon/dist/routes/slices.js +16 -7
  797. package/daemon/dist/routes/slices.js.map +1 -1
  798. package/daemon/dist/routes/startup.d.ts.map +1 -1
  799. package/daemon/dist/routes/startup.js +49 -4
  800. package/daemon/dist/routes/startup.js.map +1 -1
  801. package/daemon/dist/routes/stream.d.ts.map +1 -1
  802. package/daemon/dist/routes/stream.js +9 -0
  803. package/daemon/dist/routes/stream.js.map +1 -1
  804. package/daemon/dist/routes/terminal-ws.js +28 -2
  805. package/daemon/dist/routes/terminal-ws.js.map +1 -1
  806. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  807. package/daemon/dist/routes/terminal.js +3 -2
  808. package/daemon/dist/routes/terminal.js.map +1 -1
  809. package/daemon/dist/routes/transport.d.ts.map +1 -1
  810. package/daemon/dist/routes/transport.js +14 -2
  811. package/daemon/dist/routes/transport.js.map +1 -1
  812. package/daemon/dist/routes/up.js +2 -0
  813. package/daemon/dist/routes/up.js.map +1 -1
  814. package/daemon/dist/routes/watchdog.d.ts +1 -1
  815. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  816. package/daemon/dist/routes/watchdog.js +7 -2
  817. package/daemon/dist/routes/watchdog.js.map +1 -1
  818. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  819. package/daemon/dist/routes/workflow.js +9 -3
  820. package/daemon/dist/routes/workflow.js.map +1 -1
  821. package/daemon/dist/server.d.ts +7 -0
  822. package/daemon/dist/server.d.ts.map +1 -1
  823. package/daemon/dist/server.js +8 -0
  824. package/daemon/dist/server.js.map +1 -1
  825. package/daemon/dist/startup.d.ts +3 -0
  826. package/daemon/dist/startup.d.ts.map +1 -1
  827. package/daemon/dist/startup.js +226 -17
  828. package/daemon/dist/startup.js.map +1 -1
  829. package/daemon/dist/terminal/TerminalSessionBroker.d.ts +10 -0
  830. package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
  831. package/daemon/dist/terminal/TerminalSessionBroker.js +63 -4
  832. package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
  833. package/daemon/dist/tmux-server-start.d.ts +18 -0
  834. package/daemon/dist/tmux-server-start.d.ts.map +1 -1
  835. package/daemon/dist/tmux-server-start.js +29 -0
  836. package/daemon/dist/tmux-server-start.js.map +1 -1
  837. package/daemon/dist/topology-trace-surface.d.ts +2 -0
  838. package/daemon/dist/topology-trace-surface.d.ts.map +1 -0
  839. package/daemon/dist/topology-trace-surface.js +2 -0
  840. package/daemon/dist/topology-trace-surface.js.map +1 -0
  841. package/daemon/docs/reference/acp-agents.md +2 -1
  842. package/daemon/docs/reference/agent-spec.md +3 -1
  843. package/daemon/docs/reference/agent-startup-guide.md +3 -1
  844. package/daemon/docs/reference/agent-state-taxonomy.md +39 -1
  845. package/daemon/docs/reference/author-contracts.md +4 -0
  846. package/daemon/docs/reference/checked-seat-stop.md +11 -1
  847. package/daemon/docs/reference/claude-status-line.md +7 -0
  848. package/daemon/docs/reference/community-harness-examples/agy/agy-plain.yaml +28 -0
  849. package/daemon/docs/reference/community-harness-examples/agy/agy.yaml +27 -0
  850. package/daemon/docs/reference/community-harness-examples/agy/openrig-agy-launch +81 -0
  851. package/daemon/docs/reference/community-harness-examples/agy/openrig-agy-runner.mjs +667 -0
  852. package/daemon/docs/reference/community-harness-presets.md +78 -0
  853. package/daemon/docs/reference/daemon-http-clients.md +133 -20
  854. package/daemon/docs/reference/gateway-participants.md +6 -0
  855. package/daemon/docs/reference/getting-started.md +129 -13
  856. package/daemon/docs/reference/harness-runner-contract.md +7 -5
  857. package/daemon/docs/reference/help.md +12 -0
  858. package/daemon/docs/reference/hosted-members.md +163 -2
  859. package/daemon/docs/reference/inventory-request-diagnostics.md +22 -0
  860. package/daemon/docs/reference/network-connector.md +112 -4
  861. package/daemon/docs/reference/project-workspace.md +19 -2
  862. package/daemon/docs/reference/queue-erasure.md +1 -1
  863. package/daemon/docs/reference/queue-transfer-export.md +38 -0
  864. package/daemon/docs/reference/queue-transfer-staging.md +39 -0
  865. package/daemon/docs/reference/quickstart.md +4 -4
  866. package/daemon/docs/reference/refocus-channel.md +5 -2
  867. package/daemon/docs/reference/rig-bundle.md +1 -1
  868. package/daemon/docs/reference/rig-spec.md +210 -7
  869. package/daemon/docs/reference/rosters.md +18 -3
  870. package/daemon/docs/reference/sdlc-conventions.md +6 -2
  871. package/daemon/docs/reference/seat-delivery.md +41 -7
  872. package/daemon/docs/reference/seat-pools.md +116 -0
  873. package/daemon/docs/reference/terminal-sessions.md +57 -11
  874. package/daemon/docs/reference/tmux-servers.md +46 -2
  875. package/daemon/docs/reference/whats-new.md +167 -5
  876. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +1 -1
  877. package/dist/build-info.js +3 -3
  878. package/dist/bundle-behaviour.d.ts +1 -1
  879. package/dist/client.d.ts +2 -1
  880. package/dist/client.d.ts.map +1 -1
  881. package/dist/client.js +3 -2
  882. package/dist/client.js.map +1 -1
  883. package/dist/commands/broadcast.d.ts.map +1 -1
  884. package/dist/commands/broadcast.js +89 -8
  885. package/dist/commands/broadcast.js.map +1 -1
  886. package/dist/commands/bundle.js +1 -1
  887. package/dist/commands/bundle.js.map +1 -1
  888. package/dist/commands/chatroom.d.ts +3 -0
  889. package/dist/commands/chatroom.d.ts.map +1 -1
  890. package/dist/commands/chatroom.js +9 -2
  891. package/dist/commands/chatroom.js.map +1 -1
  892. package/dist/commands/config-init-workspace.d.ts +1 -1
  893. package/dist/commands/config.d.ts.map +1 -1
  894. package/dist/commands/config.js +4 -2
  895. package/dist/commands/config.js.map +1 -1
  896. package/dist/commands/daemon.d.ts.map +1 -1
  897. package/dist/commands/daemon.js +24 -19
  898. package/dist/commands/daemon.js.map +1 -1
  899. package/dist/commands/exec.d.ts.map +1 -1
  900. package/dist/commands/exec.js +22 -13
  901. package/dist/commands/exec.js.map +1 -1
  902. package/dist/commands/export.d.ts.map +1 -1
  903. package/dist/commands/export.js +5 -1
  904. package/dist/commands/export.js.map +1 -1
  905. package/dist/commands/gateway.d.ts +4 -0
  906. package/dist/commands/gateway.d.ts.map +1 -1
  907. package/dist/commands/gateway.js +37 -0
  908. package/dist/commands/gateway.js.map +1 -1
  909. package/dist/commands/mcp.d.ts.map +1 -1
  910. package/dist/commands/mcp.js +4 -2
  911. package/dist/commands/mcp.js.map +1 -1
  912. package/dist/commands/network.d.ts.map +1 -1
  913. package/dist/commands/network.js +54 -1
  914. package/dist/commands/network.js.map +1 -1
  915. package/dist/commands/package.d.ts.map +1 -1
  916. package/dist/commands/package.js +10 -0
  917. package/dist/commands/package.js.map +1 -1
  918. package/dist/commands/parked.d.ts.map +1 -1
  919. package/dist/commands/parked.js +12 -6
  920. package/dist/commands/parked.js.map +1 -1
  921. package/dist/commands/project-jev.d.ts +1 -1
  922. package/dist/commands/project-worker.d.ts +3 -3
  923. package/dist/commands/provider.d.ts.map +1 -1
  924. package/dist/commands/provider.js +3 -2
  925. package/dist/commands/provider.js.map +1 -1
  926. package/dist/commands/ps.d.ts +12 -1
  927. package/dist/commands/ps.d.ts.map +1 -1
  928. package/dist/commands/ps.js +43 -10
  929. package/dist/commands/ps.js.map +1 -1
  930. package/dist/commands/queue-export.d.ts +3 -0
  931. package/dist/commands/queue-export.d.ts.map +1 -0
  932. package/dist/commands/queue-export.js +67 -0
  933. package/dist/commands/queue-export.js.map +1 -0
  934. package/dist/commands/queue-import.d.ts +4 -0
  935. package/dist/commands/queue-import.d.ts.map +1 -0
  936. package/dist/commands/queue-import.js +47 -0
  937. package/dist/commands/queue-import.js.map +1 -0
  938. package/dist/commands/queue.d.ts +1 -1
  939. package/dist/commands/queue.d.ts.map +1 -1
  940. package/dist/commands/queue.js +56 -1
  941. package/dist/commands/queue.js.map +1 -1
  942. package/dist/commands/restore.d.ts.map +1 -1
  943. package/dist/commands/restore.js +51 -8
  944. package/dist/commands/restore.js.map +1 -1
  945. package/dist/commands/roster.d.ts +1 -1
  946. package/dist/commands/roster.js +1 -1
  947. package/dist/commands/roster.js.map +1 -1
  948. package/dist/commands/scope.d.ts.map +1 -1
  949. package/dist/commands/scope.js +30 -18
  950. package/dist/commands/scope.js.map +1 -1
  951. package/dist/commands/seat.d.ts.map +1 -1
  952. package/dist/commands/seat.js +26 -2
  953. package/dist/commands/seat.js.map +1 -1
  954. package/dist/commands/send.d.ts.map +1 -1
  955. package/dist/commands/send.js +24 -8
  956. package/dist/commands/send.js.map +1 -1
  957. package/dist/commands/slack.d.ts +1 -1
  958. package/dist/commands/snapshot.d.ts.map +1 -1
  959. package/dist/commands/snapshot.js +29 -10
  960. package/dist/commands/snapshot.js.map +1 -1
  961. package/dist/commands/start.d.ts +14 -0
  962. package/dist/commands/start.d.ts.map +1 -1
  963. package/dist/commands/start.js +203 -110
  964. package/dist/commands/start.js.map +1 -1
  965. package/dist/commands/stream-outcome.d.ts +96 -32
  966. package/dist/commands/stream-outcome.d.ts.map +1 -1
  967. package/dist/commands/stream-outcome.js +25 -2
  968. package/dist/commands/stream-outcome.js.map +1 -1
  969. package/dist/commands/up.d.ts +2 -4
  970. package/dist/commands/up.d.ts.map +1 -1
  971. package/dist/commands/up.js +35 -3
  972. package/dist/commands/up.js.map +1 -1
  973. package/dist/commands/watchdog.js +2 -2
  974. package/dist/commands/watchdog.js.map +1 -1
  975. package/dist/commands/workflow.d.ts.map +1 -1
  976. package/dist/commands/workflow.js +8 -1
  977. package/dist/commands/workflow.js.map +1 -1
  978. package/dist/config-store.d.ts +3 -1
  979. package/dist/config-store.d.ts.map +1 -1
  980. package/dist/config-store.js +27 -1
  981. package/dist/config-store.js.map +1 -1
  982. package/dist/cross-host-executor.d.ts +3 -0
  983. package/dist/cross-host-executor.d.ts.map +1 -1
  984. package/dist/cross-host-executor.js +5 -0
  985. package/dist/cross-host-executor.js.map +1 -1
  986. package/dist/daemon-auto-start.d.ts.map +1 -1
  987. package/dist/daemon-auto-start.js +1 -0
  988. package/dist/daemon-auto-start.js.map +1 -1
  989. package/dist/daemon-lifecycle.d.ts +9 -3
  990. package/dist/daemon-lifecycle.d.ts.map +1 -1
  991. package/dist/daemon-lifecycle.js +109 -37
  992. package/dist/daemon-lifecycle.js.map +1 -1
  993. package/dist/daemon-start-lock.d.ts +38 -3
  994. package/dist/daemon-start-lock.d.ts.map +1 -1
  995. package/dist/daemon-start-lock.js +201 -48
  996. package/dist/daemon-start-lock.js.map +1 -1
  997. package/dist/daemon-transport.d.ts +10 -0
  998. package/dist/daemon-transport.d.ts.map +1 -0
  999. package/dist/daemon-transport.js +89 -0
  1000. package/dist/daemon-transport.js.map +1 -0
  1001. package/dist/decisions/stream-consumer.d.ts +2 -2
  1002. package/dist/lib/bundle-source.d.ts.map +1 -1
  1003. package/dist/lib/bundle-source.js +2 -1
  1004. package/dist/lib/bundle-source.js.map +1 -1
  1005. package/dist/lib/codex-auth.d.ts +1 -1
  1006. package/dist/lib/context-git.d.ts.map +1 -1
  1007. package/dist/lib/context-git.js +8 -3
  1008. package/dist/lib/context-git.js.map +1 -1
  1009. package/dist/lib/scope/progress-edit.d.ts.map +1 -1
  1010. package/dist/lib/scope/progress-edit.js +10 -0
  1011. package/dist/lib/scope/progress-edit.js.map +1 -1
  1012. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  1013. package/dist/lib/scope/scope-fs.js +13 -10
  1014. package/dist/lib/scope/scope-fs.js.map +1 -1
  1015. package/dist/lib/topology-trace.d.ts +3 -34
  1016. package/dist/lib/topology-trace.d.ts.map +1 -1
  1017. package/dist/lib/topology-trace.js +3 -97
  1018. package/dist/lib/topology-trace.js.map +1 -1
  1019. package/dist/lib/work-install.d.ts +1 -1
  1020. package/dist/local-db.d.ts +2 -0
  1021. package/dist/local-db.d.ts.map +1 -1
  1022. package/dist/local-db.js +14 -11
  1023. package/dist/local-db.js.map +1 -1
  1024. package/dist/long-request-fetch.d.ts +2 -1
  1025. package/dist/long-request-fetch.d.ts.map +1 -1
  1026. package/dist/long-request-fetch.js +39 -35
  1027. package/dist/long-request-fetch.js.map +1 -1
  1028. package/dist/mcp-caller-resolver.d.ts +36 -0
  1029. package/dist/mcp-caller-resolver.d.ts.map +1 -0
  1030. package/dist/mcp-caller-resolver.js +82 -0
  1031. package/dist/mcp-caller-resolver.js.map +1 -0
  1032. package/dist/mcp-http.d.ts +48 -5
  1033. package/dist/mcp-http.d.ts.map +1 -1
  1034. package/dist/mcp-http.js +303 -61
  1035. package/dist/mcp-http.js.map +1 -1
  1036. package/dist/mcp-server.d.ts +31 -3
  1037. package/dist/mcp-server.d.ts.map +1 -1
  1038. package/dist/mcp-server.js +191 -58
  1039. package/dist/mcp-server.js.map +1 -1
  1040. package/dist/mcp-surface.d.ts +8 -0
  1041. package/dist/mcp-surface.d.ts.map +1 -0
  1042. package/dist/mcp-surface.js +5 -0
  1043. package/dist/mcp-surface.js.map +1 -0
  1044. package/dist/node-support.d.ts.map +1 -1
  1045. package/dist/node-support.js +10 -0
  1046. package/dist/node-support.js.map +1 -1
  1047. package/dist/release-surface/extract-surface.d.ts.map +1 -1
  1048. package/dist/release-surface/extract-surface.js +14 -2
  1049. package/dist/release-surface/extract-surface.js.map +1 -1
  1050. package/dist/remote-host-ops.d.ts +3 -0
  1051. package/dist/remote-host-ops.d.ts.map +1 -1
  1052. package/dist/remote-host-ops.js +15 -1
  1053. package/dist/remote-host-ops.js.map +1 -1
  1054. package/dist/snapshot-rig-handle.d.ts +12 -0
  1055. package/dist/snapshot-rig-handle.d.ts.map +1 -0
  1056. package/dist/snapshot-rig-handle.js +39 -0
  1057. package/dist/snapshot-rig-handle.js.map +1 -0
  1058. package/mcp.d.ts +1 -0
  1059. package/mcp.js +1 -0
  1060. package/package.json +8 -5
  1061. package/scripts/check-abi.mjs +15 -0
  1062. package/tui/dist/attention/attention-model.d.ts +1 -1
  1063. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  1064. package/tui/dist/attention/attention-model.js +8 -4
  1065. package/tui/dist/attention/attention-model.js.map +1 -1
  1066. package/tui/dist/attention/source-continuity.d.ts +1 -1
  1067. package/tui/dist/crash-cart/start-daemon.d.ts +20 -0
  1068. package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -1
  1069. package/tui/dist/crash-cart/start-daemon.js +56 -0
  1070. package/tui/dist/crash-cart/start-daemon.js.map +1 -1
  1071. package/tui/dist/execution/execution-model.d.ts +2 -0
  1072. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  1073. package/tui/dist/execution/execution-model.js +27 -5
  1074. package/tui/dist/execution/execution-model.js.map +1 -1
  1075. package/tui/dist/execution/workflow-model.d.ts.map +1 -1
  1076. package/tui/dist/execution/workflow-model.js +2 -1
  1077. package/tui/dist/execution/workflow-model.js.map +1 -1
  1078. package/tui/dist/hydrate.d.ts.map +1 -1
  1079. package/tui/dist/hydrate.js +4 -2
  1080. package/tui/dist/hydrate.js.map +1 -1
  1081. package/tui/dist/main.js +26 -9
  1082. package/tui/dist/main.js.map +1 -1
  1083. package/tui/dist/print-for-copy.d.ts +7 -1
  1084. package/tui/dist/print-for-copy.d.ts.map +1 -1
  1085. package/tui/dist/print-for-copy.js +10 -3
  1086. package/tui/dist/print-for-copy.js.map +1 -1
  1087. package/tui/dist/render.d.ts +2 -0
  1088. package/tui/dist/render.d.ts.map +1 -1
  1089. package/tui/dist/render.js +75 -19
  1090. package/tui/dist/render.js.map +1 -1
  1091. package/tui/dist/socket-copy.d.ts +6 -0
  1092. package/tui/dist/socket-copy.d.ts.map +1 -0
  1093. package/tui/dist/socket-copy.js +13 -0
  1094. package/tui/dist/socket-copy.js.map +1 -0
  1095. package/tui/dist/terminal-safe-text.d.ts +39 -0
  1096. package/tui/dist/terminal-safe-text.d.ts.map +1 -0
  1097. package/tui/dist/terminal-safe-text.js +44 -0
  1098. package/tui/dist/terminal-safe-text.js.map +1 -0
  1099. package/tui/dist/topology/host-label.js +5 -5
  1100. package/tui/dist/topology/host-label.js.map +1 -1
  1101. package/tui/dist/types.d.ts +3 -3
@@ -0,0 +1,116 @@
1
+ # Seat pools
2
+
3
+ A member with a `pool` block in its rig spec is the model of a seat pool: extra agents cloned from it, named
4
+ `<member>-s<n>`. The block itself is described in [Rig spec: Seat pool](rig-spec.md#seat-pool-pool). This page
5
+ describes the watchdog job that acts on it.
6
+
7
+ ## Status: the job is not armed yet
8
+
9
+ The daemon accepts `seat-pool` as a watchdog policy and has the code that registers the job, but nothing calls that
10
+ code yet, and the watchdog engine does not run the policy:
11
+
12
+ - launching a rig, re-applying a spec and starting the daemon register no `seat-pool` job;
13
+ - a `seat-pool` job registered by hand (`rig watchdog register --policy seat-pool`) is marked `terminal` with
14
+ `unknown_policy:seat-pool` at its first evaluation, and that evaluation is recorded in the job's history; it does
15
+ not read the pool or touch its agents.
16
+
17
+ The job is armed by a later change. Until then a `pool` block is stored and validated, and nothing else happens.
18
+
19
+ ## The job
20
+
21
+ Once armed, the daemon keeps one `seat-pool` job for each model member with a usable `pool` block:
22
+
23
+ - **Target:** the model member's canonical session (`<pod>-<member>@<rig>`), with no generation, registered by
24
+ `daemon@kernel`. The member's other canonical session names in the same rig count as the same target.
25
+ - **Spec:** the model's node id (`context.model_node_id`) and the pool block the job was last ensured with
26
+ (`context.pool`). The job finds the pool's agents through the model node, not through a list of its own, so a
27
+ replacement job finds the same agents.
28
+ - **Interval:** 60 seconds.
29
+
30
+ Each time the daemon ensures the job (on launch, on re-apply and at daemon start, once armed):
31
+
32
+ | The model's job | What happens |
33
+ | --- | --- |
34
+ | `active` | It gets the current block and keeps running. |
35
+ | `stopped` | It gets the current block and stays stopped. The daemon never restarts a job an operator stopped. |
36
+ | `terminal`, or none | One new job is registered. |
37
+ | More than one `active` or `stopped`, or a row in an unknown state | Nothing is registered or retired, and the state is reported; at daemon start, as a warning that names the node and the job ids. |
38
+
39
+ A member with no `pool` block never gets a job. A stored block that can't be read leaves the job as it is. At daemon
40
+ start each model is ensured on its own, so one that fails is reported and the others still are.
41
+
42
+ Stopping a `seat-pool` job (`rig watchdog stop`) is allowed while the pool has agents. The agents stay as plain
43
+ members of the rig.
44
+
45
+ ## What the job does each time it runs
46
+
47
+ Once armed, each evaluation of the job reads the pool afresh: the model's stored block, its slot rows, each pool
48
+ agent's latest session, its activity, its open rows and its held messages, and the rows waiting for the model.
49
+ It then moves waiting rows to free agents and adds agents, in that order.
50
+
51
+ - **Moving waiting rows.** A pending row addressed to the model (with `dispatch_tag`, only a row carrying the tag) that
52
+ has waited `dispatch_after_s` is moved to a free pool agent: in phase `live`, its latest session running, idle at its
53
+ prompt, with no open row and no held message. The check is repeated just before the move, under the model's custody
54
+ lease, and the move only happens while the row is still pending and still addressed where it was read. A row
55
+ claimed or rerouted in between is skipped and named in the job's notes; it is not a failure. The stored block is
56
+ read again before each move: when a re-apply has changed it since the evaluation planned (any value, cleared or
57
+ unreadable), that move and the rest are skipped with `pool_block_changed`, and the next evaluation plans against the
58
+ block as it is then.
59
+ - **Rows left with a drained agent.** A pending row addressed to a `drained` pool agent, under any of its names, is
60
+ moved to a free pool agent the same way, whatever its tags.
61
+ - **Adding agents.** The job keeps the pool at a target: the larger of `min` and the demand, capped at `max` (0 under
62
+ `drain`). The demand is the busy agents plus the rows that have waited `dispatch_after_s` and found no free agent,
63
+ and it is never below the busy agents plus the agents still starting. Agents that run and agents still starting
64
+ (phase `adding`) both count toward the target, so an add already reserved or issued is not repeated. The job adds
65
+ the difference, limited to the room left under `max` (every slot except a `drained` one takes room). Each agent is
66
+ named `<member>-s<n>`, added the same way as `rig add`, and launched right away:
67
+ - it takes the model member's launch settings as the rig export writes them, without `pool`, `id`, `label`, `cwd`
68
+ and `session_source`, and its launch additions are copied from the model; it starts without the model's
69
+ conversation. Its member `startup` files resolve from the model's launch root, also when the rig export leaves
70
+ them out because that root is not the rig's stored root;
71
+ - it is never kept alive, whatever the model or its agent spec says about `keep_alive`;
72
+ - it works in the model's folder or, with `cwd_template`, in the template's folder with `{rig}` (the rig's name)
73
+ and `{slot}` (the agent's member id, such as `impl-s1`) filled in; the daemon only creates that folder;
74
+ - no agent is added, and the notes say why (`add refused: …`), while the model's stored `process_limits` or
75
+ `claude_auto_mode` can't be read, or while the model has an `accountHome` or an `api-key` token reference, which
76
+ a pool agent does not carry, or while the model's declared member `startup` can't be read or its files can't be
77
+ resolved from its launch root;
78
+ - `n` is one more than the highest slot number on record, skipping a logical id the rig already has. An add that
79
+ ends with no node removes its slot row, which frees its number;
80
+ - the add is reserved and issued under the model's custody lease, with an operation id, and runs after the lease is
81
+ released; the evaluation that issued it reports `in flight (attempt <id>)`, and so does every later one while it
82
+ has not settled, without issuing it again. A later evaluation reports how it settled: `running`, or `no_node`
83
+ with the add's code;
84
+ - while a slot is `drained`, no new number is added, and the notes report `held: drained slot awaiting comeback`
85
+ for the add only: rows still move.
86
+ - **Latency.** The job runs every 60 seconds, so a row that has waited `dispatch_after_s` is considered by the next
87
+ evaluation, up to one more interval later, before it is moved and before an agent is added. That is not a dispatch
88
+ deadline: a row moves only to an agent that is
89
+ free when it is checked, so with more waiting rows than free agents, the rest stay pending for later evaluations.
90
+ - **Holds.** The whole pool is held, and nothing is moved or added, while:
91
+ - the job is not `active` (stopped by an operator, or ended);
92
+ - the stored block can't be read (the notes carry an advisory; nothing is removed);
93
+ - the rig's latest `rig.stopped` has no `restore.completed` after it. Any later `restore.completed` ends the hold,
94
+ whatever its result. A `rig up` refused before it starts (`not_attempted`), a restore that throws and
95
+ `rig launch --seats` do not end it; the next `rig up` that completes does. After `rig launch --seats`, run
96
+ `rig down`, then `rig up`.
97
+
98
+ Each evaluation of an active job records the cause in the job's notes, for example `held: rig stopped (event 42)`,
99
+ unless the watchdog engine defers it (`rig_delivery_drain`): that evaluation records nothing, even if rows have
100
+ already moved. A stopped job records no note either: the scheduler evaluates only active jobs, and the watchdog
101
+ engine returns `job_not_active`, with no history, when the job is no longer active before the policy runs or after
102
+ it returns. So a job stopped during an evaluation records nothing; the executor's own check only stops the moves
103
+ and adds left in that evaluation.
104
+
105
+ ### When the model node is deleted
106
+
107
+ Deleting a model node removes its slot rows but leaves its agent nodes and sessions as ordinary members of the rig,
108
+ so their pool association and any phase or hold kept only on a slot go with it. Recreating a model with the same name
109
+ doesn't recover its former slot numbers, and the next add skips a logical id the rig still has. While the model node is
110
+ gone, its job moves nothing and reports `held: model node gone`.
111
+
112
+ ## What the job does not do yet
113
+
114
+ It does not drain agents or bring drained agents back. An add that creates its node but does not settle running (the
115
+ agent failed to start, needs attention, or its state is unknown) stays in flight; nothing yet settles it, and an add
116
+ cut off by a daemon restart is not resumed. An add that settles running after `rig down` keeps running.
@@ -82,7 +82,17 @@ doesn't follow a replaced session or a restarted tmux server; reopen the view.
82
82
 
83
83
  Writable tiles attach immediately, as in 0.7.10. Their visible terminal sizes
84
84
  the agent's PTY under tmux's normal client sizing policy, and resizing the
85
- terminal reflows new output. Read-only tiles remain observers: they neither
85
+ terminal reflows new output. A Herdr view's local writable tiles
86
+ (`--provider herdr`, `rig terminal open --all`, and Herdr's following views and
87
+ viewers) pin the seat at its own size instead, so watching never resizes an
88
+ agent. Before each attach, including a re-attach after the seat's session is
89
+ replaced and after a Herdr restart, the tile pins the seat at the size it has
90
+ then. A tile sizes the agent only while it has keyboard focus (Herdr passes
91
+ focus in and out to the tile), and the agent goes back to its own size when the
92
+ focus or the tile leaves. Focus reaches tmux
93
+ only with its server option `focus-events` on (`tmux set -s focus-events on`,
94
+ which OpenRig doesn't change); without it the agent simply keeps its size, and a
95
+ tile smaller than it shows the part around the cursor. Read-only tiles remain observers: they neither
86
96
  resize nor type into another seat. An ordinary tmux detach ends the writable
87
97
  tile without stopping the agent. A replacement with a different managed seat
88
98
  identity is not followed. If no replacement returns in time, or a
@@ -103,6 +113,31 @@ A deliberate `window-size manual` setting remains an explicit fixed-size choice.
103
113
  drops the window's own setting (`tmux set-window-option -t <window> -u window-size`
104
114
  with the daemon's server flags, to run on the daemon's host), for when you want it
105
115
  to follow its inherited sizing again.
116
+ A Herdr tile's pin is OpenRig's own: the window is `manual` with the seat's size
117
+ recorded in its `@openrig-pin-width` and `@openrig-pin-height` options, and
118
+ hooks on the seat's session fit it to a focused client and give that size back on blur or
119
+ detach. The pin stays after the view closes, since a Herdr restart brings tiles
120
+ back without a new open. To unpin a seat, drop the window's setting and
121
+ OpenRig's record together (with the daemon's server flags):
122
+ `tmux set-window-option -t <window> -u window-size \; set-window-option -t <window> -u @openrig-pin-width \; set-window-option -t <window> -u @openrig-pin-height`.
123
+ The hooks then do nothing, also while a browser terminal or a readable capture
124
+ pins the window for a while, or after you fix its size yourself, and the seat
125
+ follows its clients until a Herdr tile next attaches to it, which pins it again
126
+ at its size then. Unsetting `window-size` alone leaves the record, so a size you
127
+ fix later would be taken for OpenRig's pin. A seat an
128
+ older tile had already shrunk is pinned at that size; to pin it at another
129
+ size, set the record and the size together:
130
+ `tmux set-window-option -t <window> @openrig-pin-width 160 \; set-window-option -t <window> @openrig-pin-height 50 \; resize-window -t <window> -x 160 -y 50`.
131
+ A Herdr tile leaves a window someone else made `manual` (no `@openrig-pin-width`)
132
+ as it is, hooks included. While a seat is pinned, a readable capture reads it as
133
+ it is instead of resizing it for the read (and names the command that drops
134
+ `window-size`; unpin with the command above), and a
135
+ browser terminal's `terminal.fixed_geometry` doesn't fix its size: both treat a
136
+ `manual` window they didn't pin as a fixed size. Unpin the seat to get them
137
+ back. cmux, `--window`, herdr-app cells and SSH tiles don't pin, and they size
138
+ a seat no Herdr tile has pinned as before. A pinned seat stays pinned for every
139
+ client, so their tiles, and a person's own `tmux attach`, fit it only while
140
+ focused, until it's unpinned.
106
141
  OpenRig's temporary layout and readable-capture pins release by unsetting the
107
142
  window's local `window-size` option; they do not restore an old local override.
108
143
  With the last pin released, the window inherits the global policy again.
@@ -116,15 +151,21 @@ native Herdr tiles. A temporary readable capture uses
116
151
  when the capture finishes. It does not unset a manually fixed window it did not
117
152
  pin.
118
153
 
119
- Kept writable 0.7.8/0.7.9 viewers can retain an old `ignore-size` attach, and
120
- pre-reflow 0.7.11 viewers can retain the old mirrored display. Changing saved
121
- argv cannot change that running client. Close only the owned Herdr viewer pane
154
+ A browser terminal that connects with `?geometry=1` learns the pane's columns
155
+ and rows, and the pinned 90 by 27 when `terminal.fixed_geometry` is on; see
156
+ [Writing a daemon client](daemon-http-clients.md#route-details).
157
+
158
+ Kept writable 0.7.8/0.7.9 viewers can retain an old `ignore-size` attach, kept
159
+ writable 0.7.10 viewers (every writable Herdr viewer from before the pin) size
160
+ their seat instead of pinning it, and pre-reflow 0.7.11 viewers can retain the
161
+ old mirrored display. Changing saved argv cannot change that running client, so
162
+ a following canvas or ensure-viewer that finds one keeps it and asks for this
163
+ step. Close only the owned Herdr viewer pane
122
164
  and open a fresh view with `rig terminal open <view> --provider herdr`; the
123
165
  agent's tmux session and conversation keep running. For a retained `--follow`
124
166
  canvas, first select `--no-follow`, then close its owned viewer panes and open
125
167
  a fresh ordinary view. Continuing that old following canvas is not an automatic
126
- live-client migration. Existing 0.7.10 sizing clients and read-only viewers do
127
- not need this step.
168
+ live-client migration. Read-only viewers do not need this step.
128
169
 
129
170
  ## Desktop windows and previews
130
171
 
@@ -216,7 +257,7 @@ before retrying. `rig terminal status` gives Rex about a second to answer.
216
257
  ## HTTP API
217
258
 
218
259
  - `POST /api/terminal/open`: `{ view, provider?: "herdr", session?: string, expectedPlan?: string }`.
219
- - `POST /api/terminal/open-all` (bearer auth): `{ provider?: "herdr", session?: string, viewportColumns?: number, reuseLive?: boolean }`.
260
+ - `POST /api/terminal/open-all` (bearer auth): `{ provider?: "herdr", session?: string, viewportColumns?: number, reuseLive?: boolean }`. `reuseLive` defaults to true: a rig whose view is still open with live tiles is focused, not opened again; `false` opens a copy.
220
261
  - `POST /api/terminal/close-all` (bearer auth): `{ provider?: "herdr" | "tmux", session?: string }`. Maps a corrupt ownership ledger (`corrupt_ledger`) to HTTP 500 without overwriting ledger files.
221
262
  - `GET /api/terminal/preview?view=<view>&provider=herdr&session=<name>` (optional `&bulk=1` for `rig:<id>` bulk partitioning).
222
263
  - `GET /api/terminal/status?provider=herdr&session=<name>`.
@@ -492,7 +533,8 @@ writable tile attaches with plain tmux when it opens (see
492
533
  [Replacing a seat's session](#replacing-a-seats-session)): keys and paste go
493
534
  through tmux as in any attached client, tmux's prefix works (prefix then `[` to
494
535
  scroll back, for example), and the tile sizes the window while it's the active
495
- client. If the seat's tmux server restarts, a tile shows the seat again only
536
+ client (in a Herdr view, while it has keyboard focus; see
537
+ [Replacing a seat's session](#replacing-a-seats-session)). If the seat's tmux server restarts, a tile shows the seat again only
496
538
  when the same managed seat returns. The printed manual attach commands are
497
539
  `tmux attach -t` for a writable tile and `tmux attach -r -t` for a read-only
498
540
  one, with a local seat's tmux server (`-L <name>` or `-S <path>`) when it
@@ -589,7 +631,11 @@ with a coalesced scope invalidation event. There is no repeating membership
589
631
  poll. Structural edits under additional legacy roots, or a filesystem where
590
632
  watching is unavailable, require `rig`'s existing slice refresh endpoint
591
633
  `POST /api/slices/refresh` or reopening the view. Missing or unreadable sources
592
- keep prior viewers; they never certify that the work disappeared.
634
+ keep prior viewers; they never certify that the work disappeared. That includes
635
+ the project catalog: a catalogued project whose own read fails (an unreadable root,
636
+ a `project.yaml` or root work source that doesn't parse), or a catalog that can't
637
+ be read, is named in a `scope_unavailable` for a scope that isn't found elsewhere.
638
+ A project whose root is missing, or whose missions root escapes it, holds no scopes.
593
639
 
594
640
 
595
641
  Scope identity reads are bounded to 4,096 directory entries, 16 KiB per selected
@@ -600,8 +646,8 @@ or a qitem view. This is separate from unreadable or malformed sources.
600
646
  Queue membership reads are bounded to 50,000 active rows plus one lookahead,
601
647
  16 KiB of encoded tags per row and 8 MiB of aggregate encoded tags. They remain
602
648
  fresh on each render. Identities are reused within a scope-source generation
603
- only while the primary-root watcher is live and existing additional roots are
604
- covered by that root. A source event or explicit refresh invalidates them;
649
+ only while the primary-root watcher is live, existing additional roots are
650
+ covered by that root and no catalogued project is unreadable. A source event or explicit refresh invalidates them;
605
651
  errors discard the cache. Unavailable watching or an existing unwatched legacy
606
652
  root uses fresh bounded identity reads instead. Missing legacy roots are checked
607
653
  on each call so an appearing root cannot reuse an older cached identity set.
@@ -11,8 +11,17 @@ new instance, or before a deliberate restart of an existing daemon:
11
11
  rig config set terminal.tmux_server isolated
12
12
  ```
13
13
 
14
- The setting is read once at daemon startup. Changing it does not move a running
15
- seat. Inspect the effective choice with:
14
+ Isolation separates the seats from your own tmux server, so a server-wide command
15
+ on yours, such as `tmux kill-server`, doesn't end them. It doesn't protect the
16
+ seats' server from the agents running on it: each seat's pane carries tmux's `TMUX`
17
+ value for that server, so a tmux command an agent runs there without `-L` or `-S`,
18
+ `tmux kill-server` included, acts on the seats' own server and can end every seat
19
+ on it.
20
+
21
+ The setting is read once at daemon startup, and a restart keeps the previous server
22
+ while registered sessions remain on it (see
23
+ [Existing teams and deferred migration](#existing-teams-and-deferred-migration)).
24
+ Changing it does not move a running seat. Inspect the effective choice with:
16
25
 
17
26
  ```sh
18
27
  rig terminal status --json
@@ -209,6 +218,22 @@ run: a daemon restarted during a loss records it again. In between:
209
218
  healthz carries the state in `terminals` while `status` stays `ok`, because the
210
219
  daemon itself is up.
211
220
 
221
+ To bring the seats back after the server has died, including when it left its
222
+ socket file behind (as after `tmux kill-server`), run `rig up <rig> --existing`
223
+ for each rig that ran on it. The restore finds the seats' sessions gone, starts the
224
+ tmux server again, and resumes each seat's conversation where its provider history
225
+ allows; a seat without usable history waits for an explicit fresh-start choice, as
226
+ in the restoration rules above. The command talks to the daemon, not to tmux, so
227
+ run it from any terminal that wasn't on the lost server.
228
+
229
+ `rig seat launch <seat> --fresh --reason "<why>"` can also reopen a dead server
230
+ whose socket file remains, one seat at a time, unless the seat's recorded process
231
+ is still running: then it refuses, launches nothing and asks you to end that process
232
+ first, because the server may only have lost its socket. That is a deliberate blank
233
+ replacement, not a resume: the seat starts a new conversation and none of its
234
+ earlier ones is resumed. `--reason` is required. Use it when you want that seat to
235
+ start over, not to get its conversation back.
236
+
212
237
  ## Two instances on one machine
213
238
 
214
239
  Isolation selects only a tmux server. Give each daemon its own OpenRig home,
@@ -254,3 +279,22 @@ runs over skips the next tick, the Codex working-frame proof expires, and a work
254
279
  can briefly read idle. At 2000 ms the remaining 1 s margin is also what a lagging event loop
255
280
  uses up. The two settings compose: `OPENRIG_TMUX_CONTROL=1` makes each tmux command cheaper,
256
281
  and this one makes there be fewer of them.
282
+
283
+ The seat identity reconciler is a third poller: every 5 s it reads each running seat's pane
284
+ process from tmux, and for some seats the host's process table, to record whether the pane still
285
+ runs the seat's agent. The setting `daemon.identity_poll_interval_ms` slows it down, from the
286
+ 5000 ms default up to 30000 ms. Set it with `rig config set daemon.identity_poll_interval_ms 15000`
287
+ or with `OPENRIG_IDENTITY_POLL_INTERVAL_MS`, which overrides the saved value. Like the seat poll
288
+ interval, it is startup-only (a change takes a daemon restart), `rig config set` refuses a value
289
+ outside 5000..30000, and an environment value outside it is dropped with a warning.
290
+ The cost is staleness. A longer interval can delay the sweep noticing a stopped seat or a changed
291
+ pane process, updating the seat's identity verdict, and revoking the activity grants that go with
292
+ it. The verdict feeds the running and active views, and sends and reads that name an expected
293
+ identity (and resume of the original conversation) need a verified one: a seat that `rig up` has
294
+ just launched answers those with `expected_identity_unavailable` until a sweep verifies it.
295
+ The setting caps the cadence: the first scheduled sweep comes one interval after daemon start,
296
+ and then at most one sweep starts per interval. It is not a freshness deadline. A tick that
297
+ comes due while a sweep's reads are still pending is skipped (more than one can be), and a
298
+ change seen after a sweep began waits for a later sweep, so a successful verification, or a
299
+ revocation, can take longer than one interval. Keep the default unless the reconciler's reads
300
+ are a measured share of the daemon's load.
@@ -1,7 +1,169 @@
1
- # What changed in OpenRig 0.7.21
1
+ # What changed in OpenRig 0.7.23
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.23.
4
+ OpenRig 0.7.23 is a patch for teams that reach past one computer, and for recovery that says what it did. A seat connected to a hub can send requests to its peers there and get the answers back as local work. Codex seats explain sign-in and restart in place on a Mac. `rig start --last` names any rig it leaves out.
5
+
6
+ ## Before you upgrade
7
+
8
+ Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
9
+
10
+ If the daemon was started with `--db`, or with `OPENRIG_DB` (legacy `RIGGED_DB`) set differently from this shell, replace the `DB=` line below with that actual database path. Pass the same `--db "$DB"` to every `rig daemon start`, including recovery; `rig config get db.path` reads this shell's configuration, not the running daemon's launch arguments or environment.
11
+
12
+ ```sh
13
+ DB="$(rig config get db.path)" &&
14
+ STOP="$(rig daemon stop)" && printf '%s\n' "$STOP" &&
15
+ { printf '%s\n' "$STOP" | grep -qx 'Daemon stopped' || { echo "The stop wasn't confirmed clean; see below before continuing." >&2; false; }; } &&
16
+ BACKUP="$DB.before-0.7.23-$(date -u +%Y%m%dT%H%M%SZ)" &&
17
+ { [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
18
+ cp "$DB" "$BACKUP" &&
19
+ { [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
20
+ npm install -g @openrig/cli@0.7.23 &&
21
+ rig daemon start --db "$DB"
22
+ ```
23
+
24
+ A failure stops the following commands; fix it before continuing. Back up and install only after `rig daemon stop` prints `Daemon stopped`. If it reports no recorded target or doesn't confirm the stop, make sure the daemon is running on its original home and database, then run the whole block again; `daemon-shutdown.json`, `daemon.log` and `rig context get help` explain an unconfirmed stop.
25
+
26
+ This release adds twelve additive database migrations (`179_remote_control_observations` through `194_workflow_run_title`), which apply at the first start; coming from 0.7.19 or earlier, 0.7.20's three apply too. Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.23; `openrig-core` is 0.1.37.
27
+
28
+ ## Requests between connected teams
29
+
30
+ A seat connected to a hub can list its peers there with `rig network peers <binding-or-seat>`, and send one a request with `rig network request <binding-or-seat> <peer> --id <request-id> --body-file <path>`. The daemon reaches the hub as the seat's participant, so the agent never holds that token, and the answer comes back to a local queue item. A provider-managed binding can rotate its credential without changing identity and finish its removal after a local disconnect, retrying lost replies after a restart. Grant keys accept an opaque prefixed principal from the issuing service, and a new connection says when setup is still finishing. Like the rest of `rig network`, this is experimental and unsupported; use it at your own risk. ([#3686](https://github.com/mvschwarz/openrig/pull/3686), [#3816](https://github.com/mvschwarz/openrig/pull/3816), [#3740](https://github.com/mvschwarz/openrig/pull/3740), [#3725](https://github.com/mvschwarz/openrig/pull/3725), [#3754](https://github.com/mvschwarz/openrig/pull/3754))
31
+
32
+ ## Codex and Claude seats
33
+
34
+ A Codex seat at the newer sign-in chooser reports that it needs signing in and tells the person to open its terminal. On a Mac, `rig seat restart <codex-seat> --keep-conversation` and `rig provider switch` now restart a Codex seat in place on its own conversation. A status line the person chose is read as the status line, a seat moved with `rig seat set-runtime` launches on its new runtime, and an idle Codex seat's permission alert reads its pane. ([#3808](https://github.com/mvschwarz/openrig/pull/3808), [#3840](https://github.com/mvschwarz/openrig/pull/3840), [#3803](https://github.com/mvschwarz/openrig/pull/3803), [#3807](https://github.com/mvschwarz/openrig/pull/3807), [#3713](https://github.com/mvschwarz/openrig/pull/3713))
35
+
36
+ For Claude, a foreground process alone no longer proves a resumed conversation, and the trust dialog is read from its first frame. A paste submits when a notice shares the paste-hint row, and a wrapped launch names a conflicting `claude` function or alias. Auth and billing stop failures raise attention with typed reasons, finished-turn prose above an idle prompt reads idle, and a seat's self-report follows it after `/rename`. ([#3712](https://github.com/mvschwarz/openrig/pull/3712), [#3518](https://github.com/mvschwarz/openrig/pull/3518), [#3724](https://github.com/mvschwarz/openrig/pull/3724), [#3747](https://github.com/mvschwarz/openrig/pull/3747), [#3596](https://github.com/mvschwarz/openrig/pull/3596), [#3545](https://github.com/mvschwarz/openrig/pull/3545), [#3605](https://github.com/mvschwarz/openrig/pull/3605))
37
+
38
+ ## Restore and recovery
39
+
40
+ `rig start --last` names every rig it leaves out, and why. A restore that rolls a resume back tells the seat's owner, a recreated seat's checks and reports follow its live node, and a seat's continuity notice stays armed across `rig up --existing` and `rig seat launch --fresh`. Stopped seats survive unreadable tmux probes, a fresh launch reopens the terminal server over a stale socket, and the PreCompact hook builds a packet from the last 256 MB of a larger transcript and says what it covers. The docs show how to keep tmux experiments off the team's server and bring seats back if one ends it. ([#3823](https://github.com/mvschwarz/openrig/pull/3823), [#3714](https://github.com/mvschwarz/openrig/pull/3714), [#3813](https://github.com/mvschwarz/openrig/pull/3813), [#3706](https://github.com/mvschwarz/openrig/pull/3706), [#3588](https://github.com/mvschwarz/openrig/pull/3588), [#3715](https://github.com/mvschwarz/openrig/pull/3715), [#3471](https://github.com/mvschwarz/openrig/pull/3471), [#3798](https://github.com/mvschwarz/openrig/pull/3798), [#3786](https://github.com/mvschwarz/openrig/pull/3786), [#3589](https://github.com/mvschwarz/openrig/pull/3589), [#3718](https://github.com/mvschwarz/openrig/pull/3718), [#3832](https://github.com/mvschwarz/openrig/pull/3832), [#3796](https://github.com/mvschwarz/openrig/pull/3796))
41
+
42
+ ## Queue and workflow
43
+
44
+ `rig queue relay-answer` lets an agent pass on a person's answer to the agent that asked; it's always shown as relayed. With `cold_start: true` on a pod or member, queued work for a dormant seat starts just that seat. Queue transfer exports `openrig.queue-transfer/v2` and stages an import for review. Run titles show on queue packets, workflow steps take an optional label, and same-role handoffs get advice and `next_owner: same_as_previous`. `rig queue list` says when it cut a page. A usage-limit blocker releases its dependents at its wake time, a draft-held wake retries when the seat goes idle, and refused creates are recorded in the event log. ([#3539](https://github.com/mvschwarz/openrig/pull/3539), [#3173](https://github.com/mvschwarz/openrig/pull/3173), [#3762](https://github.com/mvschwarz/openrig/pull/3762), [#3776](https://github.com/mvschwarz/openrig/pull/3776), [#3846](https://github.com/mvschwarz/openrig/pull/3846), [#3812](https://github.com/mvschwarz/openrig/pull/3812), [#3764](https://github.com/mvschwarz/openrig/pull/3764), [#3595](https://github.com/mvschwarz/openrig/pull/3595), [#3711](https://github.com/mvschwarz/openrig/pull/3711), [#3563](https://github.com/mvschwarz/openrig/pull/3563), [#3580](https://github.com/mvschwarz/openrig/pull/3580), [#3790](https://github.com/mvschwarz/openrig/pull/3790), [#3773](https://github.com/mvschwarz/openrig/pull/3773), [#3802](https://github.com/mvschwarz/openrig/pull/3802), [#3770](https://github.com/mvschwarz/openrig/pull/3770), [#3818](https://github.com/mvschwarz/openrig/pull/3818))
45
+
46
+ ## Seat pools and opt-in controls
47
+
48
+ The seat pool's add, whole-rig hold and dispatch paths are in place, but nothing arms a pool yet (see Known issues). Opt-in `keep_alive` relaunches a seat that falls. Also opt-in: seat grouping beneath `openrigseats.slice`, a per-rig onboarding pack override, a trace of state-changing requests, and `daemon.start_readiness_wait_seconds`, with docs for running the daemon under a supervisor. ([#3810](https://github.com/mvschwarz/openrig/pull/3810), [#3771](https://github.com/mvschwarz/openrig/pull/3771), [#3494](https://github.com/mvschwarz/openrig/pull/3494), [#3495](https://github.com/mvschwarz/openrig/pull/3495), [#3424](https://github.com/mvschwarz/openrig/pull/3424), [#3568](https://github.com/mvschwarz/openrig/pull/3568), [#3789](https://github.com/mvschwarz/openrig/pull/3789), [#3720](https://github.com/mvschwarz/openrig/pull/3720), [#3660](https://github.com/mvschwarz/openrig/pull/3660), [#3661](https://github.com/mvschwarz/openrig/pull/3661))
49
+
50
+ ## Terminal, TUI, Slack and tools
51
+
52
+ - Terminal: a browser viewer can learn the pane's size with `?geometry=1`, Herdr views open once and keep agents at their own size, and undelivered WebSocket input is reported. ([#3775](https://github.com/mvschwarz/openrig/pull/3775), [#3801](https://github.com/mvschwarz/openrig/pull/3801), [#3752](https://github.com/mvschwarz/openrig/pull/3752))
53
+ - TUI and Slack: a Feed row jumps to the seat that raised it, the reply composer follows the caret, and Slack links HTTPS evidence and bounds status text. ([#3769](https://github.com/mvschwarz/openrig/pull/3769), [#3763](https://github.com/mvschwarz/openrig/pull/3763), [#3684](https://github.com/mvschwarz/openrig/pull/3684), [b712401](https://github.com/mvschwarz/openrig/commit/b71240148d7f02024cf97dc3cd90f675ca5f9da0))
54
+ - MCP and ACP: endpoints carry instructions and static resources and resolve callers through an embedding authority, and explicit ACP agent commands run. ([#3805](https://github.com/mvschwarz/openrig/pull/3805), [#3787](https://github.com/mvschwarz/openrig/pull/3787), [#3806](https://github.com/mvschwarz/openrig/pull/3806), [eebad65](https://github.com/mvschwarz/openrig/commit/eebad654be63a2721bfa937b6e1494497bca02c8))
55
+ - Faster reads: a request's related rows, delegated-decision and lineage reads, the fleet rollup, slice listings and `rig ps` do less work. ([#3730](https://github.com/mvschwarz/openrig/pull/3730), [#3734](https://github.com/mvschwarz/openrig/pull/3734), [#3735](https://github.com/mvschwarz/openrig/pull/3735), [#3736](https://github.com/mvschwarz/openrig/pull/3736), [#3700](https://github.com/mvschwarz/openrig/pull/3700), [#3733](https://github.com/mvschwarz/openrig/pull/3733))
56
+ - Install and data: a fresh install pins a compatible `@hono/node-ws`, the CLI reports the Node 22.14 minimum consistently, migrations record what they applied, transcripts and the event stream recover from partial lines and rollbacks, the VPS bootstrap verifies its installers, and a daemon start archives a reservation from this boot once its launcher and child are both gone. ([#3742](https://github.com/mvschwarz/openrig/pull/3742), [#3822](https://github.com/mvschwarz/openrig/pull/3822), [#3384](https://github.com/mvschwarz/openrig/pull/3384), [#3826](https://github.com/mvschwarz/openrig/pull/3826), [#3824](https://github.com/mvschwarz/openrig/pull/3824), [#3795](https://github.com/mvschwarz/openrig/pull/3795), [#3658](https://github.com/mvschwarz/openrig/pull/3658))
57
+ - Also: `rig scope slice create --execution-depends-on` writes the build-order edges readiness reads, held messages retire without a seat identity, terminal mission views resolve through the project catalog, progress files ignore commented-out headings, and the docs clarify daemon bearer-token boundaries. ([#3618](https://github.com/mvschwarz/openrig/pull/3618), [#3729](https://github.com/mvschwarz/openrig/pull/3729), [#3613](https://github.com/mvschwarz/openrig/pull/3613), [#3522](https://github.com/mvschwarz/openrig/pull/3522), [#3745](https://github.com/mvschwarz/openrig/pull/3745))
58
+
59
+ ## Behaviour that changed
60
+
61
+ - `rig start --last` lists the rigs it leaves out (`leftOut` in `--json`) with each one's reason; left-out rigs don't change its exit code. ([#3823](https://github.com/mvschwarz/openrig/pull/3823))
62
+ - Adding a person whose id a seat already uses prints a warning; the person is still added. ([#3690](https://github.com/mvschwarz/openrig/pull/3690))
63
+
64
+ ## Known issues
65
+
66
+ - After a reboot, a rig with a seat that has neither saved startup context nor a resume token is left out of `rig start --last`; the output names it and why.
67
+ - A seat whose tmux session is gone can read as running if its pane id is reused, and a slow restore of a seat's original conversation can report the wrong outcome. Check the seat's screen with `rig capture`.
68
+ - A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer.
69
+ - When a Codex seat's `config.toml` or `hooks.json` is a symbolic link, hook trust is recorded under the link's target, so hooks may need review again. With a linked `config.toml`, OpenRig can miss a setting that turns its hooks off. Review hook prompts yourself.
70
+ - The tmux outage record is in memory, so a restart during a loss records it again.
71
+ - Only one earlier restore packet is kept aside while a new one builds.
72
+ - A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
73
+ - A return route doesn't guarantee a question's arrival.
74
+ - Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a `pool:` block starts no agents.
75
+
76
+ ## Credits
77
+
78
+ Thanks to Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie, Evgeny Zotov, Leon.C, Mike Schwarz, NIKHILA, Roberto Campos, Wu Shuwen (dajiaohuang), billbenetti, bobbiejaxn, and w4rc0n. Their contributions also run the Linux seat-environment check on every merge to main and pin the two redaction pattern lists to each other.
79
+
80
+ ## What changed in OpenRig 0.7.22
81
+
82
+ This note is for an agent on an install that was just upgraded to 0.7.22.
83
+ OpenRig 0.7.22 is a patch for a useful first result, responsive coordination and state that tells the truth: a person's agent can wait for its task's answer, several slow daemon reads do less work, and more status reads unknown instead of guessing.
84
+
85
+ ### Before you upgrade
86
+
87
+ Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` (legacy `RIGGED_HOME`) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
88
+
89
+ If the daemon was started with `--db`, or with `OPENRIG_DB` (legacy `RIGGED_DB`) set differently from this shell, replace the `DB=` line below with that actual database path. Pass the same `--db "$DB"` to every `rig daemon start`, including recovery; `rig config get db.path` reads this shell's configuration, not the running daemon's launch arguments or environment.
90
+
91
+ ```sh
92
+ DB="$(rig config get db.path)" &&
93
+ STOP="$(rig daemon stop)" && printf '%s\n' "$STOP" &&
94
+ { printf '%s\n' "$STOP" | grep -qx 'Daemon stopped' || { echo "The stop wasn't confirmed clean; see below before continuing." >&2; false; }; } &&
95
+ BACKUP="$DB.before-0.7.22-$(date -u +%Y%m%dT%H%M%SZ)" &&
96
+ { [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
97
+ cp "$DB" "$BACKUP" &&
98
+ { [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
99
+ npm install -g @openrig/cli@0.7.22 &&
100
+ rig daemon start --db "$DB"
101
+ ```
102
+
103
+ A failure stops the following commands; fix it before continuing. Back up and install only after `rig daemon stop` prints the line `Daemon stopped`: that is the stop outcome that confirms a clean shutdown. Its other success line, “No daemon target recorded; listener refused. Nothing to stop; prior drain not certified.”, means this stop has no recorded target. It does not prove that no daemon exists or that the last one shut down cleanly. A `Daemon stopped` from `rig daemon status` does not confirm a clean shutdown either.
104
+
105
+ If the stop failed or had no recorded target, make sure the daemon is running on its original home and database (start it with `rig daemon start --db "$DB"` if `rig daemon status` does not say it is running), then run the whole block again. If the stop is still unconfirmed, use `daemon-shutdown.json` and `daemon.log` in your OpenRig home, together with `rig context get help`, to resolve the reported problem before retrying. Do not continue to the backup or install on an unconfirmed stop.
106
+
107
+ A clean stop after restarting confirms only the new daemon’s shutdown, not whether earlier unfinished actions completed. Each stop replaces `daemon-shutdown.json`; look in `daemon.log` for earlier shutdown failures.
108
+
109
+ This release adds no database migration. Coming from 0.7.19 or earlier, 0.7.20's three additive migrations (`176_node_statusline_throttle`, `177_workflow_bound_pod` and `178_seat_pool`) apply at the first start; keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.22; `openrig-core` is 0.1.36.
110
+
111
+ ### A person's agent and first answers
112
+
113
+ The `rigs` skill tells a person's agent to wait in the background for its task and hand on the goal row itself, and a new task without a return route inherits the route of the one routed task its creator holds. This ships guidance and a route, not a measured change in agent behaviour. `rig_queue_show` takes an optional `waitSeconds`. `rig mcp token add … --person <entity_id>` lets a token-file grant answer that person's questions through the existing optional MCP connection. ([#3656](https://github.com/mvschwarz/openrig/pull/3656), [#3655](https://github.com/mvschwarz/openrig/pull/3655), [#3526](https://github.com/mvschwarz/openrig/pull/3526), [#3527](https://github.com/mvschwarz/openrig/pull/3527))
114
+
115
+ `rig_team` shows network participants as remote, the project list includes declared rigs, and an ESM host can import `@openrig/cli/mcp.js`. ([#3672](https://github.com/mvschwarz/openrig/pull/3672), [#3671](https://github.com/mvschwarz/openrig/pull/3671), [#3682](https://github.com/mvschwarz/openrig/pull/3682))
116
+
117
+ ### Responsive coordination
118
+
119
+ Queue list pages name handed-off rows' successors in one batched read, the stuck sweep reads successors from a bounded range, `/api/ps` folds only the rigs it returns, and completing a mission skips rebuilding the slice listing. These narrow particular slow reads; they aren't a release-wide speed-up. The slow-operation log names eight full queue scans still on the main thread; that shows where reads block and doesn't fix them. ([#3666](https://github.com/mvschwarz/openrig/pull/3666), [#3689](https://github.com/mvschwarz/openrig/pull/3689), [#3646](https://github.com/mvschwarz/openrig/pull/3646), [#3356](https://github.com/mvschwarz/openrig/pull/3356), [#3687](https://github.com/mvschwarz/openrig/pull/3687))
120
+
121
+ `rig up --timeout <seconds>` sets the CLI's wait and a remote timeout reads unknown; the daemon's own start budget is unchanged. `rig start --concurrency N` runs up to N restores at once (default one). `daemon.identity_poll_interval_ms` sets the identity check's cadence. ([#3608](https://github.com/mvschwarz/openrig/pull/3608), [#3336](https://github.com/mvschwarz/openrig/pull/3336), [#3648](https://github.com/mvschwarz/openrig/pull/3648))
122
+
123
+ ### State that tells the truth
124
+
125
+ A seat at its usage limit reads unknown with its reported reset, never working; this reports the limit and doesn't recover the account. Readiness counts active work, TUI lines with no source read not applicable, and an unchanged judge list keeps judgments current. ([#3510](https://github.com/mvschwarz/openrig/pull/3510), [#3620](https://github.com/mvschwarz/openrig/pull/3620), [#3624](https://github.com/mvschwarz/openrig/pull/3624), [#3629](https://github.com/mvschwarz/openrig/pull/3629))
126
+
127
+ `rig stream show` names an item's intake row, `rig up` names seats that failed to launch, and a daemon that can't bind exits with one `OPENRIG_LISTEN_FAILED` line (code 69). `rig send` notes a seat's waiting permission or MCP elicitation request without holding the send. Watchdog status, handover recaps and package installs report more exactly. ([#3639](https://github.com/mvschwarz/openrig/pull/3639), [#3477](https://github.com/mvschwarz/openrig/pull/3477), [#3612](https://github.com/mvschwarz/openrig/pull/3612), [#3659](https://github.com/mvschwarz/openrig/pull/3659), [#3657](https://github.com/mvschwarz/openrig/pull/3657), [#3570](https://github.com/mvschwarz/openrig/pull/3570), [#3653](https://github.com/mvschwarz/openrig/pull/3653), [#3676](https://github.com/mvschwarz/openrig/pull/3676), [#3692](https://github.com/mvschwarz/openrig/pull/3692))
128
+
129
+ ### Recovery and seats
130
+
131
+ A restore packet that outlives the PreCompact hook's wait is built in the background; meanwhile the earlier packet is kept aside, not delivered. Transcripts past 512 MB get a packet. Restore notices for a parentless seat go to the person. An open permission alert can try waking its owner again when it observes a new prompt. This change is source-tested; installed prompt-episode behavior has not been verified. ([#3709](https://github.com/mvschwarz/openrig/pull/3709), [#3582](https://github.com/mvschwarz/openrig/pull/3582), [#3640](https://github.com/mvschwarz/openrig/pull/3640), [#3650](https://github.com/mvschwarz/openrig/pull/3650), [#3678](https://github.com/mvschwarz/openrig/pull/3678), [#3680](https://github.com/mvschwarz/openrig/pull/3680), [#3611](https://github.com/mvschwarz/openrig/pull/3611))
132
+
133
+ A Codex restart preview no longer writes `config.toml`, and Codex's activity hook survives a Node install move. Pi and OMP seats read recovered only when their checks agree and raise attention on a refused prompt. Large Claude settings use a private settings file, and snapshots find a rig by name. ([#3707](https://github.com/mvschwarz/openrig/pull/3707), [#3610](https://github.com/mvschwarz/openrig/pull/3610), [#3564](https://github.com/mvschwarz/openrig/pull/3564), [#3603](https://github.com/mvschwarz/openrig/pull/3603), [#3630](https://github.com/mvschwarz/openrig/pull/3630), [#3622](https://github.com/mvschwarz/openrig/pull/3622), [#3532](https://github.com/mvschwarz/openrig/pull/3532), [#2892](https://github.com/mvschwarz/openrig/pull/2892), [#3566](https://github.com/mvschwarz/openrig/pull/3566), [#3476](https://github.com/mvschwarz/openrig/pull/3476))
134
+
135
+ ### Queue, Slack, terminal and tools
136
+
137
+ - Queue: `rig queue update --expect-state` checks state inside the update (older daemons ignore it); workflow abort, sweeps, wakes and reminders handle more edge cases. ([#3567](https://github.com/mvschwarz/openrig/pull/3567), [#3662](https://github.com/mvschwarz/openrig/pull/3662), [#3609](https://github.com/mvschwarz/openrig/pull/3609), [#3541](https://github.com/mvschwarz/openrig/pull/3541), [#3623](https://github.com/mvschwarz/openrig/pull/3623), [#3651](https://github.com/mvschwarz/openrig/pull/3651), [#3647](https://github.com/mvschwarz/openrig/pull/3647), [#3481](https://github.com/mvschwarz/openrig/pull/3481), [#3594](https://github.com/mvschwarz/openrig/pull/3594), [#3174](https://github.com/mvschwarz/openrig/pull/3174))
138
+ - Slack: direct-ask closes record who answered, settled cards show labels as written, and repeated notices edit one post. ([#3644](https://github.com/mvschwarz/openrig/pull/3644), [#3577](https://github.com/mvschwarz/openrig/pull/3577), [#3397](https://github.com/mvschwarz/openrig/pull/3397))
139
+ - Terminal: Source tests cover ignoring stale tmux-probe results after newer state arrives; installed outage and recovery behavior has not been verified. tmux 3.4 keeps OpenRig's panes, Herdr views recover after a restart, and the TUI seat page offers run ▸. ([#3493](https://github.com/mvschwarz/openrig/pull/3493), [#3514](https://github.com/mvschwarz/openrig/pull/3514), [#3371](https://github.com/mvschwarz/openrig/pull/3371), [#3501](https://github.com/mvschwarz/openrig/pull/3501), [#3641](https://github.com/mvschwarz/openrig/pull/3641), [#3380](https://github.com/mvschwarz/openrig/pull/3380))
140
+ - Tools and docs: sandbox proxies are honoured, frontmatter, Git context and bundle links handle edge cases, `tar` is past an advisory range, and the reference gains four topics. ([#3557](https://github.com/mvschwarz/openrig/pull/3557), [#3294](https://github.com/mvschwarz/openrig/pull/3294), [#3695](https://github.com/mvschwarz/openrig/pull/3695), [#3696](https://github.com/mvschwarz/openrig/pull/3696), [#3694](https://github.com/mvschwarz/openrig/pull/3694), [#3381](https://github.com/mvschwarz/openrig/pull/3381), [#3607](https://github.com/mvschwarz/openrig/pull/3607), [#3626](https://github.com/mvschwarz/openrig/pull/3626), [#3627](https://github.com/mvschwarz/openrig/pull/3627), [#3619](https://github.com/mvschwarz/openrig/pull/3619))
141
+
142
+ ### Seat pools
143
+
144
+ The seat pool still has no on-switch. A stored launch warns once about an unusable `pool:` block, the planner reports `max_reached` though nothing calls it, and the docs name which commands leave pool agents out. ([#3559](https://github.com/mvschwarz/openrig/pull/3559), [#3652](https://github.com/mvschwarz/openrig/pull/3652), [#3632](https://github.com/mvschwarz/openrig/pull/3632))
145
+
146
+ ### Known limits
147
+
148
+ - A restore or `rig start` can label a Claude seat `resumed` before its conversation is confirmed, and a send can land on Claude's trust dialog. Check the seat's screen; a fix has merged for a later release.
149
+ - A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer (seen on Claude Code 2.1.322 and 2.1.323).
150
+ - A paste can stay unsubmitted when a Claude notice shares the paste-hint row, and an idle Codex seat can keep reading as waiting on a permission. Fixes have merged for a later release; check the screen.
151
+ - When a Codex seat's `config.toml` or `hooks.json` is a symbolic link, hook trust is recorded under the link's target, as in 0.7.21, so hooks may need review again. With a linked `config.toml`, OpenRig can miss a setting that turns its hooks off and set them up anyway. Review hook prompts yourself.
152
+ - The tmux outage record is in memory, so a restart during a loss records it again.
153
+ - Only one earlier restore packet is kept aside while a new one builds, and two close builds can briefly leave the older marker; the newer packet is delivered.
154
+ - A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
155
+ - From 0.7.19 or earlier, the seat pool's storage applies though nothing arms a pool.
156
+ - A return route doesn't guarantee a question's arrival.
157
+ - A fresh npm install can print a peer-dependency warning for @hono/node-ws and leave npm ls reporting an invalid dependency graph. The default daemon start and terminal WebSocket round trip worked in the tested installation.
158
+
159
+ ### Credits
160
+
161
+ Thanks to Aschenbath, Dery Ferdika, Edward Bowie, Evgeny Zotov, JUSHUANGHUI LI, James B. Shields, Mike Schwarz, NIKHILA, Roberto Campos, Wu Shuwen, billbenetti, and ziadeh. Their contributions also keep test daemons off the default port and let a contributor's checkout install under npm 12.
162
+
163
+ ## What changed in OpenRig 0.7.21
2
164
 
3
165
  This note is for an agent on an install that was just upgraded to 0.7.21.
4
- OpenRig 0.7.21 is a patch of ordinary team fixes. An agent can find a team's declared entry point when the team has no single lead. A mission's execution view reads in short, paced steps and stops when the caller leaves. A seat pool's agents stay out of exports, and a bad pool block is named where you will see it. A Pi seat's posted usage feeds the context lane. It also fixes a run of smaller daemon, CLI, terminal, scope and skill problems.
166
+ OpenRig 0.7.21 is a patch of ordinary team fixes. An agent can find a team's declared entry point when the team has no single lead. The daemon narrows one source of stalls when reading a mission's execution view. A seat pool's agents stay out of exports, and a bad pool block is named where you will see it. A Pi seat's posted usage feeds the context lane. It also fixes a run of smaller daemon, CLI, terminal, scope and skill problems.
5
167
 
6
168
  ## Before you upgrade
7
169
 
@@ -33,7 +195,7 @@ This release adds no database migration. Coming from 0.7.19 or earlier, 0.7.20's
33
195
 
34
196
  A roster entry can declare `lead_of`, a team name. When the daemon names no single lead for a rig (no `delegates_to` root, several, or one without a session) and exactly one entry in the rig declares a team, `rig_team` reports that entry as the rig's lead, marked declared, with its team and a note that it is that team's entry point and doesn't manage the network or its other participants. Two or more declarations give no lead, and the note names them; the same seat and team declared in two rosters counts once, and one seat declaring two teams counts as two. This tells an agent where to hand a team's work; nothing routes work automatically. ([#3593](https://github.com/mvschwarz/openrig/pull/3593), [#3606](https://github.com/mvschwarz/openrig/pull/3606))
35
197
 
36
- When `rig attach --self` fails, the CLI keeps the daemon's error and adds one line naming the unjoined route: `rig queue create --destination <seat> --return-route auto --summary "<the goal>" --body-file <file>`. The `rigs` skill says to take that route when the attach fails, names the fewer-prompts route in its top rules, and says what to do when the person's own app refuses a relay: tell them what was refused and why, let them choose, and don't retry another way. This release ships that guidance; it doesn't claim a measured change in how agents behave. ([#3569](https://github.com/mvschwarz/openrig/pull/3569), [#3574](https://github.com/mvschwarz/openrig/pull/3574))
198
+ When `rig attach --self` receives an HTTP error from the daemon, the CLI's text output keeps the error and adds one line naming the unjoined route: `rig queue create --destination <seat> --return-route auto --summary "<the goal>" --body-file <file>`. With `--json`, it prints the daemon's result instead, without that added line. The `rigs` skill says to take that route when the attach fails, names the fewer-prompts route in its top rules, and says what to do when the person's own app refuses a relay: tell them what was refused and why, let them choose, and don't retry another way. This release ships that guidance; it doesn't claim a measured change in how agents behave. ([#3569](https://github.com/mvschwarz/openrig/pull/3569), [#3574](https://github.com/mvschwarz/openrig/pull/3574))
37
199
 
38
200
  `rig gateway human add` for a person with no connector binding says that they are reached only in the TUI's Feed and Steering until a binding is added, and names the command that adds one. ([#3590](https://github.com/mvschwarz/openrig/pull/3590))
39
201
 
@@ -45,7 +207,7 @@ An explicitly held seat that has never launched, with no assigned work, session,
45
207
 
46
208
  ## Daemon
47
209
 
48
- Opening one mission's execution view reads its candidates in time-sized windows that yield to other daemon work, reads the queue once instead of twice, and stops when its caller disconnects. The stuck sweep's candidate read shares that pacing. This narrows one source of daemon stalls; it isn't a cure for every stall or a release-wide speed-up. ([#3558](https://github.com/mvschwarz/openrig/pull/3558))
210
+ On a file-backed WAL database, when the main connection is not already in a transaction, a mission's execution view reads its candidates in size-adjusted windows, yielding between them and checking whether the caller has disconnected. The queue is scanned once instead of twice; the stuck sweep's candidate read uses the same conditional pacing. The time target is a soft bound: opening the database, native I/O or processing a large row can still block. Other database modes and calls inside a transaction retain the synchronous read. This narrows one source of daemon stalls; it isn't a cure for every stall or a release-wide speed-up. ([#3558](https://github.com/mvschwarz/openrig/pull/3558))
49
211
 
50
212
  The daemon's writable SQLite connection keeps temporary storage in memory, so a sandbox whose temp directory refuses writes no longer fails nested writes inside a transaction. Large temporary structures may use more memory. ([#3486](https://github.com/mvschwarz/openrig/pull/3486))
51
213
 
@@ -53,7 +215,7 @@ A Pi seat that posts usage facts feeds the context lane: `rig usage top`, `rig p
53
215
 
54
216
  ## Seat pools
55
217
 
56
- `rig spec export` and `rig bundle create` leave a seat pool's agents out and write the model member with its pool block. An edge that touches a pool agent is left out and named in a "Not carried" line. `rig bundle create` no longer refuses a pooled rig for drift without `--allow-drift`; real drift still refuses. A bad `pool:` block shows its advisory in the warnings you see on preflight, import, launch, `rig expand` and the other paths, and a pod bundle drops a malformed block with a warning instead of failing. The seat pool stays off: nothing arms or dispatches a pool. ([#3546](https://github.com/mvschwarz/openrig/pull/3546), [#3547](https://github.com/mvschwarz/openrig/pull/3547))
218
+ `rig spec export` leaves a seat pool's agents out and writes the model member with its pool block; an edge that touches a pool agent is left out and named in a "Not carried" line. `rig bundle create` no longer refuses a pooled rig for drift without `--allow-drift`; real drift still refuses. A bad `pool:` block shows its advisory in the warnings you see on preflight, import, launch, `rig expand` and the other paths, and a pod bundle drops a malformed block with a warning instead of failing. The seat pool stays off: nothing arms or dispatches a pool. ([#3546](https://github.com/mvschwarz/openrig/pull/3546), [#3547](https://github.com/mvschwarz/openrig/pull/3547))
57
219
 
58
220
  ## Terminal, scope and reference
59
221
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: messaging-the-human
3
- description: "Use when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work."
3
+ description: "Use when you're about to ask a person something (a question, a choice or an approval), before you use your harness's own question prompt, which shows only in your terminal; and when project policy calls for a human decision or update, a human delivery is pending or failed, or a reply must resume the right work."
4
4
  metadata:
5
5
  cli_surfaces_referenced:
6
6
  - gateway human list
@@ -1,9 +1,9 @@
1
1
  // GENERATED by scripts/build-package.sh — the packaged build-identity stamp.
2
2
  export const BUILD_INFO = {
3
- semver: "0.7.21",
4
- commit: "255fa70888fbcb8f62df3b31c7d3b5e81e2447dc",
3
+ semver: "0.7.23",
4
+ commit: "484cbffb071575941c7392eb5487b011cd86bb13",
5
5
  dirty: false,
6
- builtAt: "2026-11-20T19:47:25Z",
6
+ builtAt: "2026-11-25T10:14:23Z",
7
7
  };
8
8
  export function stampFields(info = BUILD_INFO) {
9
9
  if (!info.commit) return {};
@@ -1,4 +1,4 @@
1
- import type { BundleBehaviour } from "@openrig/daemon/bundle-behaviour";
1
+ import type { BundleBehaviour } from "../daemon/dist/bundle-behaviour-surface.js";
2
2
  export declare function formatBundleBehaviour(view: BundleBehaviour): string[];
3
3
  interface InspectionResponse {
4
4
  status: number;
package/dist/client.d.ts CHANGED
@@ -82,10 +82,11 @@ interface DaemonClientOptions {
82
82
  /** With sessionName: the caller whose grant the MCP adapter checked, sent as X-OpenRig-Principal (JSON of its source,
83
83
  * id and, for a grant-service grant, grant id and version; never a credential). */
84
84
  principal?: {
85
- source: "file" | "grant-service";
85
+ source: string;
86
86
  id: string;
87
87
  grant?: string;
88
88
  version?: number | string;
89
+ label?: string;
89
90
  };
90
91
  }
91
92
  export declare class DaemonClient {