@openrig/cli 0.7.23 → 0.7.24

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 (666) hide show
  1. package/README.md +7 -7
  2. package/daemon/assets/claude-hook-bridge.cjs +575 -6
  3. package/daemon/assets/claude-hook-bridge.d.cts +5 -0
  4. package/daemon/assets/claude-permission-policies.cjs +4 -3
  5. package/daemon/assets/guidance/openrig-context-entry.md +1 -0
  6. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +4 -3
  7. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +3 -2
  8. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig/README.md +64 -9
  10. package/daemon/assets/plugins/openrig/hooks/claude.json +39 -0
  11. package/daemon/assets/plugins/openrig/hooks/codex.json +27 -0
  12. package/daemon/assets/plugins/openrig/hooks/scripts/claude-hook-bridge.cjs +715 -0
  13. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  14. package/daemon/assets/plugins/openrig/scripts/run-rig.cjs +30 -0
  15. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +71 -9
  16. package/daemon/assets/plugins/openrig-codex/.agents/plugins/marketplace.json +15 -0
  17. package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +42 -0
  18. package/daemon/assets/plugins/openrig-codex/LICENSE +200 -0
  19. package/daemon/assets/plugins/openrig-codex/assets/logo.svg +1 -0
  20. package/daemon/assets/plugins/openrig-codex/hooks/codex.json +27 -0
  21. package/daemon/assets/plugins/openrig-codex/hooks/scripts/claude-hook-bridge.cjs +715 -0
  22. package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +175 -0
  23. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  24. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  25. package/daemon/assets/plugins/openrig-core/README.md +10 -2
  26. package/daemon/assets/plugins/openrig-core/hooks/claude.json +9 -0
  27. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +37 -0
  28. package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +3 -1
  29. package/daemon/assets/plugins/openrig-core/hooks/scripts/permission-answer.cjs +270 -0
  30. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +24 -6
  31. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +7 -8
  32. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +45 -5
  33. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +4 -2
  34. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +163 -23
  35. package/daemon/assets/skills/rigs/SKILL.md +122 -21
  36. package/daemon/context-packs/help/manifest.yaml +1 -1
  37. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  38. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +113 -12
  39. package/daemon/context-packs/reference/acp-agents.md +9 -2
  40. package/daemon/context-packs/reference/getting-started.md +31 -7
  41. package/daemon/context-packs/reference/manifest.yaml +1 -1
  42. package/daemon/context-packs/reference/rig-spec.md +8 -0
  43. package/daemon/context-packs/reference/tmux-servers.md +16 -0
  44. package/daemon/context-packs/reference/whats-new.md +106 -12
  45. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +7 -8
  50. package/daemon/context-packs/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +45 -5
  51. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +71 -9
  69. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/openrig-user/SKILL.md +4 -2
  76. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  83. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  84. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  86. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  87. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  88. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  89. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  90. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  91. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  92. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  93. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  94. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  95. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  96. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  97. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  98. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +163 -23
  99. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  100. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  101. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  102. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  103. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  104. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  105. package/daemon/dist/adapters/claude-code-adapter.d.ts +10 -1
  106. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  107. package/daemon/dist/adapters/claude-code-adapter.js +231 -33
  108. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  109. package/daemon/dist/adapters/claude-resume-launch.d.ts +3 -0
  110. package/daemon/dist/adapters/claude-resume-launch.d.ts.map +1 -1
  111. package/daemon/dist/adapters/claude-resume-launch.js +5 -0
  112. package/daemon/dist/adapters/claude-resume-launch.js.map +1 -1
  113. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  114. package/daemon/dist/adapters/claude-resume.js +59 -21
  115. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  116. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +22 -0
  117. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  118. package/daemon/dist/adapters/community-harness-runtime-adapter.js +53 -16
  119. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  120. package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts +9 -0
  121. package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts.map +1 -1
  122. package/daemon/dist/adapters/pi-community-runtime-adapter.js +6 -0
  123. package/daemon/dist/adapters/pi-community-runtime-adapter.js.map +1 -1
  124. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +3 -0
  125. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  126. package/daemon/dist/adapters/pi-runtime-adapter.js +9 -3
  127. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  128. package/daemon/dist/adapters/tmux.d.ts +52 -9
  129. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  130. package/daemon/dist/adapters/tmux.js +102 -19
  131. package/daemon/dist/adapters/tmux.js.map +1 -1
  132. package/daemon/dist/build-info.js +3 -3
  133. package/daemon/dist/conversation-key-surface.d.ts +2 -0
  134. package/daemon/dist/conversation-key-surface.d.ts.map +1 -0
  135. package/daemon/dist/conversation-key-surface.js +5 -0
  136. package/daemon/dist/conversation-key-surface.js.map +1 -0
  137. package/daemon/dist/daemon-shutdown.d.ts +3 -0
  138. package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
  139. package/daemon/dist/daemon-shutdown.js +5 -0
  140. package/daemon/dist/daemon-shutdown.js.map +1 -1
  141. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  142. package/daemon/dist/db/all-migrations.js +8 -0
  143. package/daemon/dist/db/all-migrations.js.map +1 -1
  144. package/daemon/dist/db/migrations/179_community_harness_runtime_switches.d.ts +14 -0
  145. package/daemon/dist/db/migrations/179_community_harness_runtime_switches.d.ts.map +1 -0
  146. package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js +54 -0
  147. package/daemon/dist/db/migrations/179_community_harness_runtime_switches.js.map +1 -0
  148. package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts +4 -0
  149. package/daemon/dist/db/migrations/195_workflow_start_operations.d.ts.map +1 -0
  150. package/daemon/dist/db/migrations/195_workflow_start_operations.js +13 -0
  151. package/daemon/dist/db/migrations/195_workflow_start_operations.js.map +1 -0
  152. package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts +5 -0
  153. package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.d.ts.map +1 -0
  154. package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js +7 -0
  155. package/daemon/dist/db/migrations/196_queue_item_evidence_ref_roots.js.map +1 -0
  156. package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts +9 -0
  157. package/daemon/dist/db/migrations/199_queue_items_native_permission_index.d.ts.map +1 -0
  158. package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js +14 -0
  159. package/daemon/dist/db/migrations/199_queue_items_native_permission_index.js.map +1 -0
  160. package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  161. package/daemon/dist/domain/agent-manifest.js +8 -0
  162. package/daemon/dist/domain/agent-manifest.js.map +1 -1
  163. package/daemon/dist/domain/background-process-evidence.d.ts +23 -0
  164. package/daemon/dist/domain/background-process-evidence.d.ts.map +1 -0
  165. package/daemon/dist/domain/background-process-evidence.js +81 -0
  166. package/daemon/dist/domain/background-process-evidence.js.map +1 -0
  167. package/daemon/dist/domain/chat-repository.d.ts +1 -1
  168. package/daemon/dist/domain/chat-repository.d.ts.map +1 -1
  169. package/daemon/dist/domain/chat-repository.js +2 -2
  170. package/daemon/dist/domain/chat-repository.js.map +1 -1
  171. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +16 -6
  172. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  173. package/daemon/dist/domain/claude-compaction-enforcer.js +13 -8
  174. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  175. package/daemon/dist/domain/codex-member-permissions.d.ts +35 -0
  176. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
  177. package/daemon/dist/domain/codex-member-permissions.js +106 -1
  178. package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
  179. package/daemon/dist/domain/community-harness-presets.d.ts +9 -0
  180. package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
  181. package/daemon/dist/domain/community-harness-presets.js +25 -1
  182. package/daemon/dist/domain/community-harness-presets.js.map +1 -1
  183. package/daemon/dist/domain/current-work.d.ts +31 -4
  184. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  185. package/daemon/dist/domain/current-work.js +48 -3
  186. package/daemon/dist/domain/current-work.js.map +1 -1
  187. package/daemon/dist/domain/feed/attention-aggregator.d.ts +5 -5
  188. package/daemon/dist/domain/feed/attention-aggregator.d.ts.map +1 -1
  189. package/daemon/dist/domain/feed/attention-aggregator.js +10 -4
  190. package/daemon/dist/domain/feed/attention-aggregator.js.map +1 -1
  191. package/daemon/dist/domain/files/path-safety.d.ts +7 -0
  192. package/daemon/dist/domain/files/path-safety.d.ts.map +1 -1
  193. package/daemon/dist/domain/files/path-safety.js +23 -0
  194. package/daemon/dist/domain/files/path-safety.js.map +1 -1
  195. package/daemon/dist/domain/frontmatter.d.ts.map +1 -1
  196. package/daemon/dist/domain/frontmatter.js +4 -2
  197. package/daemon/dist/domain/frontmatter.js.map +1 -1
  198. package/daemon/dist/domain/gateway/destination-resolver.d.ts +3 -0
  199. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  200. package/daemon/dist/domain/gateway/destination-resolver.js +9 -0
  201. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  202. package/daemon/dist/domain/gateway/human-quiet-windows.d.ts.map +1 -1
  203. package/daemon/dist/domain/gateway/human-quiet-windows.js +2 -1
  204. package/daemon/dist/domain/gateway/human-quiet-windows.js.map +1 -1
  205. package/daemon/dist/domain/gateway/slack/inbound.d.ts +6 -1
  206. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  207. package/daemon/dist/domain/gateway/slack/inbound.js +4 -1
  208. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  209. package/daemon/dist/domain/gateway/slack/message.d.ts +3 -0
  210. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  211. package/daemon/dist/domain/gateway/slack/message.js +3 -2
  212. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  213. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +4 -0
  214. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
  215. package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
  216. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
  217. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  218. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  219. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  220. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  221. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +10 -2
  222. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  223. package/daemon/dist/domain/gateway/slack/slack-delivery.js +60 -6
  224. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  225. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +3 -13
  226. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  227. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +70 -22
  228. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  229. package/daemon/dist/domain/health-detectors.d.ts +4 -0
  230. package/daemon/dist/domain/health-detectors.d.ts.map +1 -1
  231. package/daemon/dist/domain/health-detectors.js +4 -1
  232. package/daemon/dist/domain/health-detectors.js.map +1 -1
  233. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  234. package/daemon/dist/domain/health-diagnosis.js +14 -9
  235. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  236. package/daemon/dist/domain/health-passive-ceremony.d.ts +2 -0
  237. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  238. package/daemon/dist/domain/health-passive-ceremony.js +71 -13
  239. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  240. package/daemon/dist/domain/history-query.d.ts +1 -1
  241. package/daemon/dist/domain/history-query.d.ts.map +1 -1
  242. package/daemon/dist/domain/history-query.js +1 -2
  243. package/daemon/dist/domain/history-query.js.map +1 -1
  244. package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
  245. package/daemon/dist/domain/hosts/read-through.js +6 -0
  246. package/daemon/dist/domain/hosts/read-through.js.map +1 -1
  247. package/daemon/dist/domain/managed-restore-read-access.d.ts +18 -0
  248. package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
  249. package/daemon/dist/domain/managed-restore-read-access.js +41 -1
  250. package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
  251. package/daemon/dist/domain/mission-control/audit-browse.d.ts +1 -1
  252. package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -1
  253. package/daemon/dist/domain/mission-control/audit-browse.js +3 -6
  254. package/daemon/dist/domain/mission-control/audit-browse.js.map +1 -1
  255. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  256. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +21 -4
  257. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  258. package/daemon/dist/domain/native-resume-probe.d.ts +22 -0
  259. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  260. package/daemon/dist/domain/native-resume-probe.js +30 -0
  261. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  262. package/daemon/dist/domain/network/network-requests.d.ts +3 -2
  263. package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
  264. package/daemon/dist/domain/network/network-requests.js +34 -8
  265. package/daemon/dist/domain/network/network-requests.js.map +1 -1
  266. package/daemon/dist/domain/node-launcher.d.ts +2 -2
  267. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  268. package/daemon/dist/domain/node-launcher.js +9 -7
  269. package/daemon/dist/domain/node-launcher.js.map +1 -1
  270. package/daemon/dist/domain/pane-cutover.d.ts +36 -9
  271. package/daemon/dist/domain/pane-cutover.d.ts.map +1 -1
  272. package/daemon/dist/domain/pane-cutover.js +82 -13
  273. package/daemon/dist/domain/pane-cutover.js.map +1 -1
  274. package/daemon/dist/domain/projection-planner.d.ts +17 -3
  275. package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
  276. package/daemon/dist/domain/projection-planner.js +9 -1
  277. package/daemon/dist/domain/projection-planner.js.map +1 -1
  278. package/daemon/dist/domain/queue-destination-check.d.ts +8 -0
  279. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  280. package/daemon/dist/domain/queue-destination-check.js +17 -4
  281. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  282. package/daemon/dist/domain/queue-erasure.js +1 -1
  283. package/daemon/dist/domain/queue-repository.d.ts +20 -1
  284. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  285. package/daemon/dist/domain/queue-repository.js +93 -14
  286. package/daemon/dist/domain/queue-repository.js.map +1 -1
  287. package/daemon/dist/domain/queue-stuck-sweep.d.ts +23 -3
  288. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  289. package/daemon/dist/domain/queue-stuck-sweep.js +618 -13
  290. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  291. package/daemon/dist/domain/queue-transfer-export.d.ts +1 -1
  292. package/daemon/dist/domain/queue-transfer-export.d.ts.map +1 -1
  293. package/daemon/dist/domain/queue-transfer-export.js +3 -1
  294. package/daemon/dist/domain/queue-transfer-export.js.map +1 -1
  295. package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
  296. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  297. package/daemon/dist/domain/queue-transition-log.js +1 -1
  298. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  299. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  300. package/daemon/dist/domain/queue-waiting.js +7 -0
  301. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  302. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  303. package/daemon/dist/domain/queue-wake-ladder.js +20 -4
  304. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  305. package/daemon/dist/domain/rehydrate-eligibility.d.ts +8 -0
  306. package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
  307. package/daemon/dist/domain/rehydrate-eligibility.js +61 -9
  308. package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
  309. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  310. package/daemon/dist/domain/restore-check-service.js +5 -2
  311. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  312. package/daemon/dist/domain/restore-orchestrator.d.ts +3 -0
  313. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  314. package/daemon/dist/domain/restore-orchestrator.js +42 -0
  315. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  316. package/daemon/dist/domain/return-route.d.ts +13 -2
  317. package/daemon/dist/domain/return-route.d.ts.map +1 -1
  318. package/daemon/dist/domain/return-route.js +30 -1
  319. package/daemon/dist/domain/return-route.js.map +1 -1
  320. package/daemon/dist/domain/rig-lifecycle-service.d.ts +1 -0
  321. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  322. package/daemon/dist/domain/rig-lifecycle-service.js +23 -2
  323. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  324. package/daemon/dist/domain/rig-mode/operating-posture.d.ts.map +1 -1
  325. package/daemon/dist/domain/rig-mode/operating-posture.js +23 -4
  326. package/daemon/dist/domain/rig-mode/operating-posture.js.map +1 -1
  327. package/daemon/dist/domain/rig-teardown.d.ts +30 -2
  328. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  329. package/daemon/dist/domain/rig-teardown.js +76 -8
  330. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  331. package/daemon/dist/domain/rigspec-instantiator.d.ts +11 -9
  332. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  333. package/daemon/dist/domain/rigspec-instantiator.js +100 -43
  334. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  335. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  336. package/daemon/dist/domain/rigspec-preflight.js +26 -3
  337. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  338. package/daemon/dist/domain/roster-ready-notice.d.ts +11 -0
  339. package/daemon/dist/domain/roster-ready-notice.d.ts.map +1 -0
  340. package/daemon/dist/domain/roster-ready-notice.js +35 -0
  341. package/daemon/dist/domain/roster-ready-notice.js.map +1 -0
  342. package/daemon/dist/domain/runner-permissions.d.ts +140 -5
  343. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  344. package/daemon/dist/domain/runner-permissions.js +593 -16
  345. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  346. package/daemon/dist/domain/runtime-adapter.d.ts +3 -1
  347. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  348. package/daemon/dist/domain/runtime-exit.d.ts +79 -0
  349. package/daemon/dist/domain/runtime-exit.d.ts.map +1 -0
  350. package/daemon/dist/domain/runtime-exit.js +301 -0
  351. package/daemon/dist/domain/runtime-exit.js.map +1 -0
  352. package/daemon/dist/domain/runtime-switch-materials.d.ts +4 -1
  353. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  354. package/daemon/dist/domain/runtime-switch-materials.js +66 -13
  355. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  356. package/daemon/dist/domain/scope/attestation-lineage.generated.js +2 -2
  357. package/daemon/dist/domain/scope/attestation-lineage.generated.js.map +1 -1
  358. package/daemon/dist/domain/scope/logical-checkbox.d.ts.map +1 -1
  359. package/daemon/dist/domain/scope/logical-checkbox.js +18 -0
  360. package/daemon/dist/domain/scope/logical-checkbox.js.map +1 -1
  361. package/daemon/dist/domain/scope/scaffold-placeholder.js +2 -2
  362. package/daemon/dist/domain/scope/scaffold-placeholder.js.map +1 -1
  363. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  364. package/daemon/dist/domain/seat-attention-reconciler.js +5 -2
  365. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  366. package/daemon/dist/domain/seat-handover-service.d.ts +5 -2
  367. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  368. package/daemon/dist/domain/seat-handover-service.js +30 -6
  369. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  370. package/daemon/dist/domain/seat-identity-reconciler.d.ts +18 -0
  371. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  372. package/daemon/dist/domain/seat-identity-reconciler.js +155 -6
  373. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  374. package/daemon/dist/domain/seat-launch-environment.d.ts +6 -0
  375. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  376. package/daemon/dist/domain/seat-launch-environment.js +28 -4
  377. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  378. package/daemon/dist/domain/seat-lifecycle-service.d.ts +37 -1
  379. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  380. package/daemon/dist/domain/seat-lifecycle-service.js +44 -8
  381. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  382. package/daemon/dist/domain/seat-pool-executor.d.ts +61 -3
  383. package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
  384. package/daemon/dist/domain/seat-pool-executor.js +735 -59
  385. package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
  386. package/daemon/dist/domain/seat-pool-slots.d.ts +24 -0
  387. package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
  388. package/daemon/dist/domain/seat-pool-slots.js +50 -0
  389. package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
  390. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +2 -1
  391. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  392. package/daemon/dist/domain/seat-runtime-switch-service.js +68 -20
  393. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  394. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  395. package/daemon/dist/domain/session-transport.js +9 -2
  396. package/daemon/dist/domain/session-transport.js.map +1 -1
  397. package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
  398. package/daemon/dist/domain/skill-catalog.js +24 -10
  399. package/daemon/dist/domain/skill-catalog.js.map +1 -1
  400. package/daemon/dist/domain/startup-orchestrator.d.ts +5 -1
  401. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  402. package/daemon/dist/domain/startup-orchestrator.js +43 -7
  403. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  404. package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
  405. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  406. package/daemon/dist/domain/startup-submission-evidence.js +5 -0
  407. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  408. package/daemon/dist/domain/stream-reader-actions.d.ts +23 -0
  409. package/daemon/dist/domain/stream-reader-actions.d.ts.map +1 -1
  410. package/daemon/dist/domain/stream-reader-actions.js +43 -0
  411. package/daemon/dist/domain/stream-reader-actions.js.map +1 -1
  412. package/daemon/dist/domain/successor-session-launcher.d.ts +24 -3
  413. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  414. package/daemon/dist/domain/successor-session-launcher.js +54 -23
  415. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  416. package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts +2 -0
  417. package/daemon/dist/domain/terminal/earlier-tile-attach-0723.d.ts.map +1 -0
  418. package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js +48 -0
  419. package/daemon/dist/domain/terminal/earlier-tile-attach-0723.js.map +1 -0
  420. package/daemon/dist/domain/terminal/rex-agent-status.d.ts.map +1 -1
  421. package/daemon/dist/domain/terminal/rex-agent-status.js +5 -2
  422. package/daemon/dist/domain/terminal/rex-agent-status.js.map +1 -1
  423. package/daemon/dist/domain/terminal/tile-attach.d.ts +11 -5
  424. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  425. package/daemon/dist/domain/terminal/tile-attach.js +32 -12
  426. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  427. package/daemon/dist/domain/transcript-redaction.d.ts +10 -8
  428. package/daemon/dist/domain/transcript-redaction.d.ts.map +1 -1
  429. package/daemon/dist/domain/transcript-redaction.js +51 -22
  430. package/daemon/dist/domain/transcript-redaction.js.map +1 -1
  431. package/daemon/dist/domain/types.d.ts +7 -1
  432. package/daemon/dist/domain/types.d.ts.map +1 -1
  433. package/daemon/dist/domain/types.js +3 -0
  434. package/daemon/dist/domain/types.js.map +1 -1
  435. package/daemon/dist/domain/whoami-service.d.ts +11 -0
  436. package/daemon/dist/domain/whoami-service.d.ts.map +1 -1
  437. package/daemon/dist/domain/whoami-service.js +13 -0
  438. package/daemon/dist/domain/whoami-service.js.map +1 -1
  439. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  440. package/daemon/dist/domain/workflow-reconciliation.js +9 -0
  441. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  442. package/daemon/dist/domain/workflow-runtime.d.ts +2 -0
  443. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  444. package/daemon/dist/domain/workflow-runtime.js +45 -2
  445. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  446. package/daemon/dist/routes/activity.d.ts.map +1 -1
  447. package/daemon/dist/routes/activity.js +59 -2
  448. package/daemon/dist/routes/activity.js.map +1 -1
  449. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  450. package/daemon/dist/routes/compaction.js +26 -9
  451. package/daemon/dist/routes/compaction.js.map +1 -1
  452. package/daemon/dist/routes/queue.d.ts.map +1 -1
  453. package/daemon/dist/routes/queue.js +64 -25
  454. package/daemon/dist/routes/queue.js.map +1 -1
  455. package/daemon/dist/routes/require-sender-identity.d.ts +15 -0
  456. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  457. package/daemon/dist/routes/require-sender-identity.js +51 -5
  458. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  459. package/daemon/dist/routes/seat.js +6 -0
  460. package/daemon/dist/routes/seat.js.map +1 -1
  461. package/daemon/dist/routes/stream.d.ts.map +1 -1
  462. package/daemon/dist/routes/stream.js +28 -1
  463. package/daemon/dist/routes/stream.js.map +1 -1
  464. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  465. package/daemon/dist/routes/workflow.js +48 -41
  466. package/daemon/dist/routes/workflow.js.map +1 -1
  467. package/daemon/dist/server.d.ts.map +1 -1
  468. package/daemon/dist/server.js +17 -1
  469. package/daemon/dist/server.js.map +1 -1
  470. package/daemon/dist/startup.d.ts.map +1 -1
  471. package/daemon/dist/startup.js +34 -6
  472. package/daemon/dist/startup.js.map +1 -1
  473. package/daemon/dist/transcript-redaction-surface.d.ts +2 -0
  474. package/daemon/dist/transcript-redaction-surface.d.ts.map +1 -0
  475. package/daemon/dist/transcript-redaction-surface.js +2 -0
  476. package/daemon/dist/transcript-redaction-surface.js.map +1 -0
  477. package/daemon/docs/reference/acp-agents.md +9 -2
  478. package/daemon/docs/reference/agent-spec.md +22 -1
  479. package/daemon/docs/reference/agent-startup-guide.md +10 -0
  480. package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +3 -1
  481. package/daemon/docs/reference/community-harness-presets.md +27 -2
  482. package/daemon/docs/reference/daemon-http-clients.md +57 -0
  483. package/daemon/docs/reference/developing.md +3 -2
  484. package/daemon/docs/reference/getting-started.md +31 -7
  485. package/daemon/docs/reference/harness-runner-contract.md +72 -0
  486. package/daemon/docs/reference/hosted-members.md +21 -2
  487. package/daemon/docs/reference/network-connector.md +32 -3
  488. package/daemon/docs/reference/quickstart.md +4 -4
  489. package/daemon/docs/reference/refocus-channel.md +48 -0
  490. package/daemon/docs/reference/rig-bundle.md +11 -1
  491. package/daemon/docs/reference/rig-spec.md +8 -0
  492. package/daemon/docs/reference/seat-node-targeting.md +10 -0
  493. package/daemon/docs/reference/seat-pools.md +76 -10
  494. package/daemon/docs/reference/slack-app-setup.md +15 -0
  495. package/daemon/docs/reference/terminal-sessions.md +71 -3
  496. package/daemon/docs/reference/tmux-servers.md +16 -0
  497. package/daemon/docs/reference/whats-new.md +106 -12
  498. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +71 -9
  499. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +4 -1
  500. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
  501. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +4 -1
  502. package/dist/bin-wrapper.d.ts.map +1 -1
  503. package/dist/bin-wrapper.js +24 -5
  504. package/dist/bin-wrapper.js.map +1 -1
  505. package/dist/build-info.js +3 -3
  506. package/dist/client.d.ts +4 -0
  507. package/dist/client.d.ts.map +1 -1
  508. package/dist/client.js +7 -1
  509. package/dist/client.js.map +1 -1
  510. package/dist/commands/add.js +1 -1
  511. package/dist/commands/add.js.map +1 -1
  512. package/dist/commands/agent.js +1 -1
  513. package/dist/commands/agent.js.map +1 -1
  514. package/dist/commands/bundle.d.ts.map +1 -1
  515. package/dist/commands/bundle.js +18 -4
  516. package/dist/commands/bundle.js.map +1 -1
  517. package/dist/commands/create.d.ts.map +1 -1
  518. package/dist/commands/create.js +6 -2
  519. package/dist/commands/create.js.map +1 -1
  520. package/dist/commands/down.d.ts.map +1 -1
  521. package/dist/commands/down.js +12 -1
  522. package/dist/commands/down.js.map +1 -1
  523. package/dist/commands/expand.js +1 -1
  524. package/dist/commands/expand.js.map +1 -1
  525. package/dist/commands/fork.js +1 -1
  526. package/dist/commands/fork.js.map +1 -1
  527. package/dist/commands/grow.d.ts.map +1 -1
  528. package/dist/commands/grow.js +9 -4
  529. package/dist/commands/grow.js.map +1 -1
  530. package/dist/commands/import.js +1 -1
  531. package/dist/commands/import.js.map +1 -1
  532. package/dist/commands/mcp.d.ts.map +1 -1
  533. package/dist/commands/mcp.js +57 -22
  534. package/dist/commands/mcp.js.map +1 -1
  535. package/dist/commands/network.d.ts +2 -3
  536. package/dist/commands/network.d.ts.map +1 -1
  537. package/dist/commands/network.js +54 -9
  538. package/dist/commands/network.js.map +1 -1
  539. package/dist/commands/ps.d.ts +1 -0
  540. package/dist/commands/ps.d.ts.map +1 -1
  541. package/dist/commands/ps.js +22 -19
  542. package/dist/commands/ps.js.map +1 -1
  543. package/dist/commands/queue.d.ts +2 -0
  544. package/dist/commands/queue.d.ts.map +1 -1
  545. package/dist/commands/queue.js +29 -6
  546. package/dist/commands/queue.js.map +1 -1
  547. package/dist/commands/reconcile-session.js +1 -1
  548. package/dist/commands/reconcile-session.js.map +1 -1
  549. package/dist/commands/restore.js +1 -1
  550. package/dist/commands/restore.js.map +1 -1
  551. package/dist/commands/rig.js +2 -2
  552. package/dist/commands/rig.js.map +1 -1
  553. package/dist/commands/seat.d.ts.map +1 -1
  554. package/dist/commands/seat.js +55 -16
  555. package/dist/commands/seat.js.map +1 -1
  556. package/dist/commands/skill.js +1 -1
  557. package/dist/commands/skill.js.map +1 -1
  558. package/dist/commands/start.d.ts.map +1 -1
  559. package/dist/commands/start.js +3 -2
  560. package/dist/commands/start.js.map +1 -1
  561. package/dist/commands/terminal.d.ts.map +1 -1
  562. package/dist/commands/terminal.js +20 -4
  563. package/dist/commands/terminal.js.map +1 -1
  564. package/dist/commands/up.d.ts.map +1 -1
  565. package/dist/commands/up.js +2 -1
  566. package/dist/commands/up.js.map +1 -1
  567. package/dist/commands/whoami.d.ts.map +1 -1
  568. package/dist/commands/whoami.js +6 -0
  569. package/dist/commands/whoami.js.map +1 -1
  570. package/dist/commands/workflow-follow.d.ts.map +1 -1
  571. package/dist/commands/workflow-follow.js +37 -34
  572. package/dist/commands/workflow-follow.js.map +1 -1
  573. package/dist/commands/workflow-render.d.ts +1 -1
  574. package/dist/commands/workflow-render.d.ts.map +1 -1
  575. package/dist/commands/workflow-render.js +2 -7
  576. package/dist/commands/workflow-render.js.map +1 -1
  577. package/dist/commands/workflow.d.ts.map +1 -1
  578. package/dist/commands/workflow.js +22 -2
  579. package/dist/commands/workflow.js.map +1 -1
  580. package/dist/daemon-lifecycle.d.ts +24 -0
  581. package/dist/daemon-lifecycle.d.ts.map +1 -1
  582. package/dist/daemon-lifecycle.js +45 -8
  583. package/dist/daemon-lifecycle.js.map +1 -1
  584. package/dist/lib/bundle-source.d.ts +4 -0
  585. package/dist/lib/bundle-source.d.ts.map +1 -1
  586. package/dist/lib/bundle-source.js +14 -2
  587. package/dist/lib/bundle-source.js.map +1 -1
  588. package/dist/lib/context-git.js +2 -2
  589. package/dist/lib/context-git.js.map +1 -1
  590. package/dist/lib/frontmatter.d.ts.map +1 -1
  591. package/dist/lib/frontmatter.js +4 -2
  592. package/dist/lib/frontmatter.js.map +1 -1
  593. package/dist/lib/scope/attestation-lineage.js +2 -2
  594. package/dist/lib/scope/attestation-lineage.js.map +1 -1
  595. package/dist/lib/scope/logical-checkbox.d.ts.map +1 -1
  596. package/dist/lib/scope/logical-checkbox.js +18 -0
  597. package/dist/lib/scope/logical-checkbox.js.map +1 -1
  598. package/dist/lib/scope/progress-edit.js +1 -1
  599. package/dist/lib/scope/progress-edit.js.map +1 -1
  600. package/dist/lib/scope/scaffold-placeholder.js +2 -2
  601. package/dist/lib/scope/scaffold-placeholder.js.map +1 -1
  602. package/dist/lib/terminal-cell.d.ts +5 -0
  603. package/dist/lib/terminal-cell.d.ts.map +1 -0
  604. package/dist/lib/terminal-cell.js +22 -0
  605. package/dist/lib/terminal-cell.js.map +1 -0
  606. package/dist/mcp-http.d.ts +1 -1
  607. package/dist/mcp-http.d.ts.map +1 -1
  608. package/dist/mcp-http.js +6 -3
  609. package/dist/mcp-http.js.map +1 -1
  610. package/dist/mcp-server.d.ts +5 -1
  611. package/dist/mcp-server.d.ts.map +1 -1
  612. package/dist/mcp-server.js +111 -13
  613. package/dist/mcp-server.js.map +1 -1
  614. package/dist/release-surface/extract-surface.d.ts.map +1 -1
  615. package/dist/release-surface/extract-surface.js +38 -20
  616. package/dist/release-surface/extract-surface.js.map +1 -1
  617. package/dist/release-surface/generate.d.ts.map +1 -1
  618. package/dist/release-surface/generate.js +3 -0
  619. package/dist/release-surface/generate.js.map +1 -1
  620. package/dist/release-surface/surface-diff.d.ts +1 -0
  621. package/dist/release-surface/surface-diff.d.ts.map +1 -1
  622. package/dist/release-surface/surface-diff.js +19 -18
  623. package/dist/release-surface/surface-diff.js.map +1 -1
  624. package/dist/restore-packet/redaction.d.ts +4 -26
  625. package/dist/restore-packet/redaction.d.ts.map +1 -1
  626. package/dist/restore-packet/redaction.js +19 -63
  627. package/dist/restore-packet/redaction.js.map +1 -1
  628. package/dist/terminal-orca.d.ts +7 -0
  629. package/dist/terminal-orca.d.ts.map +1 -0
  630. package/dist/terminal-orca.js +239 -0
  631. package/dist/terminal-orca.js.map +1 -0
  632. package/package.json +1 -1
  633. package/tui/dist/connected-assistants.d.ts +1 -1
  634. package/tui/dist/connected-assistants.d.ts.map +1 -1
  635. package/tui/dist/connected-assistants.js +3 -1
  636. package/tui/dist/connected-assistants.js.map +1 -1
  637. package/tui/dist/daemon-client.d.ts +4 -0
  638. package/tui/dist/daemon-client.d.ts.map +1 -1
  639. package/tui/dist/daemon-client.js +12 -8
  640. package/tui/dist/daemon-client.js.map +1 -1
  641. package/tui/dist/health/health-model.d.ts.map +1 -1
  642. package/tui/dist/health/health-model.js +2 -0
  643. package/tui/dist/health/health-model.js.map +1 -1
  644. package/tui/dist/hydrate.d.ts +3 -1
  645. package/tui/dist/hydrate.d.ts.map +1 -1
  646. package/tui/dist/hydrate.js +40 -25
  647. package/tui/dist/hydrate.js.map +1 -1
  648. package/tui/dist/live.d.ts +5 -1
  649. package/tui/dist/live.d.ts.map +1 -1
  650. package/tui/dist/live.js +20 -2
  651. package/tui/dist/live.js.map +1 -1
  652. package/tui/dist/main.js +5 -2
  653. package/tui/dist/main.js.map +1 -1
  654. package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
  655. package/tui/dist/pulse/pulse-model.js +3 -2
  656. package/tui/dist/pulse/pulse-model.js.map +1 -1
  657. package/tui/dist/render.d.ts.map +1 -1
  658. package/tui/dist/render.js +6 -5
  659. package/tui/dist/render.js.map +1 -1
  660. package/tui/dist/types.d.ts +10 -4
  661. package/tui/dist/types.d.ts.map +1 -1
  662. package/ui/dist/assets/index-Chh-NS8Z.css +32 -0
  663. package/ui/dist/assets/index-DG_7XFcL.js +628 -0
  664. package/ui/dist/index.html +2 -2
  665. package/ui/dist/assets/index-B-sMy02c.js +0 -623
  666. package/ui/dist/assets/index-DiN7RwWg.css +0 -32
@@ -295,7 +295,7 @@ where the daemon runs.
295
295
  ### Create a bundle
296
296
 
297
297
  ```bash
298
- rig bundle create <spec-path-or-github-link> -o <output.rigbundle> [--rig-root <dir>] [--preset <name>] [--seat <pod.member=runtime>]... [--context-pack <dir>]... [--project-dir <dir>] [--name <name>] [--bundle-version <ver>] [--min-cli-version <ver>] [--min-daemon-version <ver>] [--notes <text>] [--include-packages <refs...>] [--allow-drift] [--include-login-files] [--json]
298
+ rig bundle create <spec-path-or-github-link> -o <output.rigbundle> [--rig-root <dir>] [--preset <name>] [--seat <pod.member=runtime>]... [--context-pack <dir>]... [--project-dir <dir>] [--name <name>] [--bundle-version <ver>] [--min-cli-version <ver>] [--min-daemon-version <ver>] [--notes <text>] [--include-packages <refs...>] [--allow-drift] [--include-login-files] [--include-builder-identity] [--json]
299
299
  ```
300
300
 
301
301
  | Flag | Required | Default | Description |
@@ -311,11 +311,21 @@ rig bundle create <spec-path-or-github-link> -o <output.rigbundle> [--rig-root <
311
311
  | `--bundle-version` | no | `0.1.0` | Bundle version in the manifest. |
312
312
  | `--min-cli-version`, `--min-daemon-version` | no | — | The oldest OpenRig CLI or daemon that may install the bundle, checked on install. For a link they override the author's `bundle.yaml` minimums. |
313
313
  | `--notes <text>` | no | — | Notes stored in the manifest's provenance. |
314
+ | `--include-builder-identity` | no | off | Add this machine's hostname and the creating seat's session name to `bundle.yaml`. Without it, those automatic fields stay in the private local build receipt. |
314
315
  | `--include-packages <refs...>` | no | all from the spec | Legacy (schema 1) specs only: the package refs to include. |
315
316
  | `--include-login-files` | no | off | Only if recipients should have these logins and their owner agrees (for example, an internal test bundle), include them and record their exact archive-relative paths. Create and consumers show a credential-bearing notice. Does not exempt other sensitive files. |
316
317
  | `--allow-drift` | no | off | Build a spec that differs from the running rig of the same name. Without it, create refuses; with it, the difference is written into the manifest's provenance notes. Pool agents aren't counted as drift, so this flag isn't needed for them. |
317
318
  | `--json` | no | off | Machine-readable output. |
318
319
 
320
+ A default create leaves the builder's hostname and session name out of `bundle.yaml`. The local
321
+ receipt `<output.rigbundle>.build.json` keeps the build identity and result outside the archive,
322
+ with owner-only permissions (mode `0600`) on POSIX systems. A GitHub link build keeps the same information in its existing
323
+ import directory's `build.json`. Share the archive, not this private receipt. Explicit notes,
324
+ structured GitHub source and commit, and authored attribution and licence files remain carried.
325
+ `--include-builder-identity` also puts the automatic host/session fields in the archive; older
326
+ bundles that already contain them still inspect and install. If the receipt cannot be written,
327
+ create reports a warning and retains the created archive.
328
+
319
329
  `--context-pack` and `--project-dir` exist only on create. `rig up` and `rig bundle install` have neither, so a bundle
320
330
  installed straight from a GitHub link carries no project, and carries a context pack only when the folder's own
321
331
  `bundle.yaml` declares one inside the folder.
@@ -396,6 +396,14 @@ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after
396
396
  the seat launches without it. The field is also supported on legacy flat Codex nodes; other
397
397
  runtimes reject it.
398
398
 
399
+ A seat in a narrower sandbox still has to run `rig` and reach the OpenRig daemon, which `rig`
400
+ talks to over 127.0.0.1: `rig up`, `rig up --plan`, a seat's first `rig launch` and
401
+ `rig seat set-permissions` warn, and carry on with the permissions as written, when a Codex
402
+ seat's permissions don't let it read the OpenRig home, the rig install or node, or leave
403
+ network off (read-only never has network). The node they check is the one the daemon runs on,
404
+ while `rig` in the seat runs on the first `node` on the seat's own PATH, so that part of the
405
+ warning is conditional: check with `rig whoami` inside the seat.
406
+
399
407
  For an explicit filesystem policy, use `filesystem` **instead of** `sandbox` and its
400
408
  workspace-write fields. This is the same per-seat selection and audited setter:
401
409
 
@@ -5,6 +5,7 @@ Clients that present a specific seat can save its later-launch settings using it
5
5
  | Read or save | Node-addressed route |
6
6
  | --- | --- |
7
7
  | Status | `GET /api/seat/status/node/:nodeId` |
8
+ | Model and effort catalog | `GET /api/seat/model-catalog/node/:nodeId` |
8
9
  | Native permissions | `POST /api/seat/set-permissions/node/:nodeId` |
9
10
  | Permission policy | `POST /api/seat/set-policy/node/:nodeId` |
10
11
  | Model | `POST /api/seat/set-model/node/:nodeId` |
@@ -15,3 +16,12 @@ The POST bodies and responses follow the corresponding name-addressed routes. A
15
16
  An unknown, deleted, or archived node returns `seat_not_found` (HTTP 404) at node resolution. After awaited validation of a native Claude permission mode or Codex profile returns, the exact node-ID path checks availability again before saving; an unavailable node then returns `seat_not_found` without a setting or audit write. Existing native validation may refuse a changed target before this check: for example, Claude's managed context guard can report `permission_selection_refused` during preparation. The daemon never resolves a node ID through a reusable seat name. Setting writes have no general session precondition; a changed occupant on the same available node can receive a later save.
16
17
 
17
18
  For example, `POST /api/seat/set-model/node/<nodeId>` accepts the existing `{ "model": "...", "reason": "...", "operator": "..." }` body. The existing audit actor, reason, native validation, permission precedence, and terminal policy rules still apply. The older `/:seatRef` routes remain available, including their name ambiguity behavior.
19
+
20
+ ## Model and effort catalog
21
+
22
+ `GET /api/seat/model-catalog/node/:nodeId` reports the seat's configured runtime, its saved model and effort under `saved`, and the local catalog under `catalog`. The effort includes the saved override (`choice`), the spec's value (`authored`), and the value selected by the usual precedence rules (`effective`). The same read is available by name at `GET /api/seat/model-catalog/:seatRef`. An ambiguous name returns `seat_ambiguous` (HTTP 409).
23
+
24
+ - `catalog.status: "available"` includes `models`, which can be an empty array. Each entry has an `id`, a `source`, and an ISO 8601 `observedAt` for the read. `runtimeVersion` and the model's `effortLevels` are present only when the source declares them.
25
+ - `catalog.status: "unavailable"` includes a `reason` when a supported local source cannot supply a list. The response still carries the seat's saved choices.
26
+
27
+ The current source is an installed [community harness preset](community-harness-presets.md). The read launches no runtime and makes no network request. A listed model gives no assurance that the running harness or its account will accept it. Clients should keep manual entry available and preserve saved values even when a catalog omits them. The setting routes still accept custom model IDs and handle unknown effort levels under their existing rules.
@@ -46,7 +46,9 @@ members of the rig.
46
46
 
47
47
  Once armed, each evaluation of the job reads the pool afresh: the model's stored block, its slot rows, each pool
48
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.
49
+ It then moves waiting rows to free agents, and either adds agents or drains the free agents above what it wants (one
50
+ plan never asks for both; an earlier drain's unconfirmed stop can still be tried again alongside an add). Under
51
+ `drain: true`, nothing is moved or added.
50
52
 
51
53
  - **Moving waiting rows.** A pending row addressed to the model (with `dispatch_tag`, only a row carrying the tag) that
52
54
  has waited `dispatch_after_s` is moved to a free pool agent: in phase `live`, its latest session running, idle at its
@@ -62,7 +64,8 @@ It then moves waiting rows to free agents and adds agents, in that order.
62
64
  `drain`). The demand is the busy agents plus the rows that have waited `dispatch_after_s` and found no free agent,
63
65
  and it is never below the busy agents plus the agents still starting. Agents that run and agents still starting
64
66
  (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
67
+ the difference, limited to the room left under `max` (every slot except a `drained` one takes room), outside the
68
+ `cooldown_s` after the latest drain. Each agent is
66
69
  named `<member>-s<n>`, added the same way as `rig add`, and launched right away:
67
70
  - it takes the model member's launch settings as the rig export writes them, without `pool`, `id`, `label`, `cwd`
68
71
  and `session_source`, and its launch additions are copied from the model; it starts without the model's
@@ -78,16 +81,77 @@ It then moves waiting rows to free agents and adds agents, in that order.
78
81
  - `n` is one more than the highest slot number on record, skipping a logical id the rig already has. An add that
79
82
  ends with no node removes its slot row, which frees its number;
80
83
  - 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
+ released. Just before the issue, under the same lease, the evaluation reads the job, the holds and the stored
85
+ block again and plans again with the reservation counted: a lower `max`, `drain: true`, any other change to the
86
+ block, a hold (such as a `rig.stopped` recorded since the plan) or surplus that reaches the reservation cancels
87
+ it. A cancelled add has no operation row and is never called; its slot row goes, and the notes report it under
88
+ `add.cancelled` as `cancelled: not issued`, with the cause in `code`;
89
+ - the evaluation that issued the add reports `in flight (attempt <id>)`, and so does every later one while its call
90
+ has not returned, without issuing it again. `max` dropping meanwhile does not cancel or drain an issued add: it
91
+ settles first. A later evaluation reports how it settled, in `attempt.status` (never as a stop), from the node's
92
+ latest session:
93
+
94
+ | `attempt.status` | When | The slot |
95
+ | --- | --- | --- |
96
+ | `running` | The agent's latest session runs (or is idle) with its startup `ready`, and the add's call, if it returned, launched it. | `live`; from there it serves and drains like any other agent, and above `max` it receives no row. |
97
+ | `no_node` | No node was created, with the add's code (for example `preflight_failed`). | Removed, which frees its number. |
98
+ | `not_running` | The node exists but does not run: its latest session `exited`, or its executor is confirmed stopped (`probe_absent`), in `attempt.observed`; with the launch's error when the add's call returned. | `drained`, with a reuse hold (JSON `{ code, observed, error? }`: the launch's status or code, or `not_running` when the call never returned; what was observed; the launch's error, if any): never tried again, and it takes no room under `max`. Reported in `slots` every evaluation. |
99
+ | `unknown` | Anything else (startup not ready, no session yet, or a call that returned a failure or a status other than `launched` while the session runs), with what was read. | Stays `adding` and issued, read again every evaluation until it settles; never issued again, never stopped, and no other free agent is drained because of it. |
100
+
101
+ - after a daemon restart, an attempt that no process runs any more is settled by the next evaluation: a reservation
102
+ that was never issued is cancelled (`cancelled: not issued`), and an issued add is read again by replaying its
103
+ operation id with what it was issued on, which never runs the add again. With no node recorded, its slot row goes
104
+ and it is reported `no_node`, `not launched (interrupted before create)`; with a node, it settles by the table
105
+ above. What settles this way is reported with the evaluation's other settlements, and kept in the job's history;
84
106
  - while a slot is `drained`, no new number is added, and the notes report `held: drained slot awaiting comeback`
85
107
  for the add only: rows still move.
86
108
  - **Latency.** The job runs every 60 seconds, so a row that has waited `dispatch_after_s` is considered by the next
87
109
  evaluation, up to one more interval later, before it is moved and before an agent is added. That is not a dispatch
88
110
  deadline: a row moves only to an agent that is
89
111
  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:
112
+ - **Draining free agents.** When the pool holds more agents than it wants (above `min` and the work waiting, or every
113
+ agent under `drain: true`), the extra free agents are drained, the newest first. An agent drains only once it has
114
+ sat free and idle at its prompt for `idle_grace_s`, and outside the `cooldown_s` after the latest drain. Under
115
+ `drain: true` the cooldown is skipped but the grace is not: each agent drains only after it has been free and idle
116
+ for `idle_grace_s`. That is the behaviour at this stage. A drain:
117
+ - decides under the model's custody lease, checking the agent again, and marks its slot `draining`;
118
+ - then, under the agent's lifecycle lease, reads the agent again: a row or a held message that reached it, or a
119
+ wake since the evaluation read it, sends the slot back to `live` and nothing is stopped; an agent relaunched since
120
+ then is left alone;
121
+ - refreshes the agent's resume metadata, as `rig down` does before its snapshot. The refresh is best-effort: one
122
+ that fails still captures and stops;
123
+ - captures an `auto-rehydrate` snapshot of the rig while the agent still runs, right before the stop. A capture that
124
+ fails stops nothing: the slot stays `draining` for that evaluation and goes back to `live` in the next;
125
+ - stops the agent with the checked seat stop (the seat stop given an expected node and session), which stops it
126
+ only while its latest session is still the one the evaluation read. Right before each of its effects, after its
127
+ liveness probe, the stop runs the drain's recheck, which reads again the job, the rig and model holds, the pool
128
+ block, and the agent's rows, held messages and activity; stopping again after an earlier attempt also needs the
129
+ pool to still have surplus. An agent whose recorded status is not running keeps nothing only when it is
130
+ positively gone (its latest session exited, or confirmed stopped); an unknown or stale status keeps it, as do rows
131
+ and held messages. What keeps the agent stops nothing. Refused before the detach, a fresh drain whose
132
+ agent got work or woke goes back to `live`, and any other refusal leaves the slot `draining` for that evaluation
133
+ and gives it back to `live` in the next; a retry refused this way leaves the slot `draining` with the earlier
134
+ attempt on record, and the stop is tried again later. Refused between the detach and the kill, the agent is left
135
+ detached and running, the stop is `unconfirmed`, and the slot stays `draining` with the attempt on record; a
136
+ later evaluation stops that session once the agent is free and the pool still has surplus.
137
+
138
+ What the stop returned goes in the notes as `stop.result`, never two at once:
139
+
140
+ | `stop.result` | When | The slot |
141
+ | --- | --- | --- |
142
+ | `stopped` | The stop succeeded. | `drained` |
143
+ | `absent` | The stop found the session absent in tmux (`session_not_live`, or a `keep_alive` seat already down): a confirmed absence, not a stop. | `drained` |
144
+ | `changed_owner` | The seat or its latest session changed before anything was stopped (`selection_changed`). | `live` |
145
+ | `unconfirmed` | Anything else, with the real code and message (for example `stop_uncertain`). | `draining`. When the stop attempted a kill, the next evaluation stops the same session again, with no new capture, once the agent is free and the pool still has surplus (an agent that still runs and got work or a wake is not stopped); a session relaunched since is `changed_owner`. When the stop had no effect, the next evaluation gives the slot back to `live`, and a later drain starts again with a new capture. |
146
+
147
+ A drained agent keeps its node, its sessions and its history: nothing is removed. `rig up` leaves it stopped.
148
+ Bringing a drained agent back is done by a later change.
149
+ - **After `pool: {}`.** Clearing the block on re-apply leaves the job running: it drains the free agents with the
150
+ block it was last ensured with (`context.pool`), leaves busy agents `live` until they are free, and ends
151
+ (`terminal`) once every agent is `drained` and the block is still absent. A `live` agent positively gone (its latest
152
+ session `exited`, or its node confirmed stopped) with no work is drained by the checked stop for its recorded session,
153
+ with no capture; an unknown or stale status is not gone.
154
+ - **Holds.** The whole pool is held, and nothing is moved, drained or added, while:
91
155
  - the job is not `active` (stopped by an operator, or ended);
92
156
  - the stored block can't be read (the notes carry an advisory; nothing is removed);
93
157
  - the rig's latest `rig.stopped` has no `restore.completed` after it. Any later `restore.completed` ends the hold,
@@ -107,10 +171,12 @@ It then moves waiting rows to free agents and adds agents, in that order.
107
171
  Deleting a model node removes its slot rows but leaves its agent nodes and sessions as ordinary members of the rig,
108
172
  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
173
  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`.
174
+ gone, its job moves, drains and adds nothing and reports `held: model node gone`.
111
175
 
112
176
  ## What the job does not do yet
113
177
 
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.
178
+ It does not bring drained agents back, and while a slot is `drained` (an add that settled `not_running` included) it
179
+ adds no new number. An add whose launch failed or needs attention while its session still runs is reported `unknown`
180
+ and stays issued; nothing yet settles it. So does an add whose node was created but has no session when the daemon
181
+ restarts: nothing launches it again, and deleting that node removes its slot row, which frees its number. An add that
182
+ settles running after `rig down` keeps running: the pool does not yet stop an add it issued before the rig went down.
@@ -154,6 +154,12 @@ Human-row posts suppress link and media previews by default. Run `rig slack setu
154
154
  allow Slack previews, or `rig slack setup --unfurl off` to suppress them again. The selection reaches
155
155
  the running connector on its next rewire or daemon restart; it does not remove already posted previews.
156
156
 
157
+ A local image, video or PDF named as an item's evidence is uploaded into the post's thread. When a connected
158
+ assistant whose grant may read only some shared roots names the file (a non-owner `rig mcp token` or grant-service
159
+ grant), it's uploaded only from inside those roots, checked when the file is read, including where a link in a root
160
+ leads. Otherwise the post says the evidence file isn't attached, and the item keeps its evidence pointer. Files named by
161
+ local seats and owner grants upload as before.
162
+
157
163
  To have reactions ignored instead, run `rig slack setup --reactions off`. The agent that asked
158
164
  never hears of a reaction, including one still waiting to be retried, and a person answers an ask by
159
165
  typing a reply in its thread. Slack still sends the event and the manifest keeps it, so switching
@@ -537,6 +543,15 @@ The status read calls no Slack API and starts no scan. If the daemon cannot be
537
543
  observed, local configuration remains visible and live state is unknown. A
538
544
  connected socket or valid configuration alone does not prove end-to-end delivery.
539
545
 
546
+ ### Origin records for inbound files
547
+
548
+ The connector saves admitted attachments under `$OPENRIG_HOME/state/slack-inbound-media/`.
549
+ A sibling `<saved-basename>.provenance.json` marks a complete file. Read the record together
550
+ with the matching media file. Version `1` records `channelId`, `messageTs` (Slack's exact
551
+ string), `authorId` (the message author's Slack ID), `fileId` (`null` if absent), and the
552
+ one-based attachment `ordinal`. The same record applies to live, relayed and recovered messages.
553
+ Files saved before this feature and files without a committed record have no recorded origin.
554
+
540
555
  ### Slack rejects a message with `invalid_blocks`
541
556
 
542
557
  `rig queue show <qitemId> --json` records the failure as
@@ -116,7 +116,9 @@ to follow its inherited sizing again.
116
116
  A Herdr tile's pin is OpenRig's own: the window is `manual` with the seat's size
117
117
  recorded in its `@openrig-pin-width` and `@openrig-pin-height` options, and
118
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
119
+ detach. The tile also gives the size back itself when it closes, however it
120
+ closes, since tmux doesn't read the seat's hook for a client that exits on a
121
+ hangup. The pin stays after the view closes, since a Herdr restart brings tiles
120
122
  back without a new open. To unpin a seat, drop the window's setting and
121
123
  OpenRig's record together (with the daemon's server flags):
122
124
  `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`.
@@ -235,7 +237,10 @@ hand or by Rex after an app restart, is caught up within about ten seconds, or w
235
237
  five minutes when no Rex tile was showing the seat before.
236
238
  Rarely, a report can arrive in the middle of tmux's own output and garble part of a
237
239
  Rex tile until it redraws. When OpenRig doesn't know a seat's activity,
238
- the tile shows none rather than idle. OpenRig writes these reports only to the
240
+ the tile shows none rather than idle. OpenRig writes its status as its own record
241
+ (`id=openrig`), so a status the agent reports itself, with its message and any other
242
+ records, stays alongside it, and OpenRig's clear removes only its own record.
243
+ OpenRig writes these reports only to the
239
244
  tmux clients attached to the seat that identify themselves as Rex, so other
240
245
  terminals attached to the seat get nothing and no tmux option changes.
241
246
 
@@ -254,6 +259,69 @@ before retrying. `rig terminal status` gives Rex about a second to answer.
254
259
 
255
260
  `--provider herdr-app` opens the view in the herdr-app window you run it in. Inside a herdr-app terminal, plain `rig terminal open <view>` does the same when that window is answering (finding the socket file is how OpenRig guesses you are in a herdr-app window, and whether the window is reachable is checked by asking it). `--window` always asks for a new desktop window. See [OpenRig views in herdr-app](herdr-app.md).
256
261
 
262
+ ## Orca (experimental)
263
+
264
+ ```sh
265
+ # From within an Orca terminal, use that terminal's workspace:
266
+ rig terminal open saved:kernel --provider orca
267
+
268
+ # From another macOS shell, select an existing workspace explicitly:
269
+ rig terminal open future-rig --provider orca --orca-workspace 'path:/path/to/worktree' --json
270
+ ```
271
+
272
+ This experimental provider is macOS-only and was tested with **Orca 1.4.263**.
273
+ Run it on the same Mac and under the same account as the running OpenRig daemon
274
+ and Orca desktop. Register the [Orca CLI](https://orca.dev/docs/cli/reference)
275
+ in Orca's settings if needed, and use `orca worktree ps --json` to find workspace
276
+ selectors. The OpenRig for Orca plugin and Herdr are not required.
277
+
278
+ By default, the view opens in the calling Orca terminal's workspace, even if
279
+ its shell has changed directories. Pass `--orca-workspace` to choose another
280
+ existing local workspace, or to run the command from outside Orca.
281
+
282
+ It never creates a worktree or launches an agent. It opens one Orca tab per
283
+ view page and splits it into panes for the existing local seats, preserving
284
+ read-only views. Closing the Orca tab does not stop the seats. The provider is
285
+ CLI-only: it does not change setup, provider selection defaults, or the daemon
286
+ API. Remote seats and remote Orca workspaces are not supported.
287
+
288
+ OpenRig does not pass `--focus` when creating a tab, but Orca may activate the
289
+ tab when it splits a multi-seat page. A connected Orca pane confirms placement,
290
+ not a working tmux view; check the tab in Orca. If the CLI, required commands,
291
+ or workspace cannot be confirmed during preflight, no tab is opened. If a tab
292
+ or split is unconfirmed after opening starts, inspect Orca before retrying.
293
+ The CLI never retries a create or split automatically. `--window`, `--all`,
294
+ `--follow`, named sessions, `--expected-plan`, and provider-specific
295
+ `terminal status` or `close` are not supported for Orca yet.
296
+
297
+ ### Orca CLI compatibility
298
+
299
+ The public CLI reference documents the worktree and terminal commands. The
300
+ following details come from Orca **1.4.263**'s CLI help, bundled guide
301
+ (`orca skills get orca-cli`), and runtime JSON replies. Recheck them when
302
+ updating this integration:
303
+
304
+ - **Local runtime:** The tested commands use `--environment local` to override
305
+ paired-runtime settings. The public reference shows `--host local` for host
306
+ selection, but Orca 1.4.263 rejects it on `status` and `worktree show`, and
307
+ `terminal create`, `split`, and `show` advertise `--environment`, not
308
+ `--host`. If the required local selector is unavailable or rejected,
309
+ OpenRig reports a CLI compatibility problem and does not try an unpinned
310
+ runtime.
311
+ - **Workspace identity:** For the default lookup, OpenRig uses
312
+ `ORCA_WORKSPACE_ID` (or `ORCA_WORKTREE_ID` if unset) and passes the exact
313
+ `folder:<id>` or `id:<worktree-id>` selector to `worktree show`. Orca's
314
+ `current` and `active` selectors follow the shell's current directory, so
315
+ OpenRig does not use them for this default. `worktree show` supplies `id`,
316
+ `hostId`, and, for Git worktrees when available, `identity.key` and
317
+ `identity.executionHostId`. Tab creation uses the resolved `folder:`,
318
+ `identity:`, or `id:` selector.
319
+ - **Reply metadata:** `_meta.runtimeId` keeps all calls on the same Orca
320
+ runtime. `status` supplies `app.running`, `app.desktopWindowStatus` and
321
+ `runtime.reachable`. The terminal replies supply `handle`, `tabId` and
322
+ `worktreeId`, plus `executionHostId` and `hostPlatform` where available;
323
+ `terminal show` supplies `connected` and `orphaned` for pane confirmation.
324
+
257
325
  ## HTTP API
258
326
 
259
327
  - `POST /api/terminal/open`: `{ view, provider?: "herdr", session?: string, expectedPlan?: string }`.
@@ -280,7 +348,7 @@ to reuse an intact live workspace without rewriting an existing ownership record
280
348
  desktop `--window` with Herdr installed (opening one Herdr window once Herdr is
281
349
  preflighted, then applying per-rig workspaces), or `--provider tmux --window`
282
350
  (opening one tagged `openrig-view-<id>` tmux session per non-empty rig with an
283
- `@openrig_rig_viewer` nonce). `herdr-app`, `cmux`, and `rex` return
351
+ `@openrig_rig_viewer` nonce). `herdr-app`, `cmux`, `rex`, and `orca` return
284
352
  `unsupported_provider`; plain `tmux` without `--window` returns
285
353
  `tmux_requires_window`. Seats on remote hosts (`host != null`) are reported under
286
354
  `skipped` when `TerminalService` receives hosted rows (the current single-host
@@ -185,6 +185,22 @@ session names on the selected server.
185
185
  Dedicated selection requires POSIX tmux. On native Windows (not a supported platform;
186
186
  the [README](../../README.md) covers WSL2), psmux retains its existing server behavior; requesting `isolated` produces a status note and a pending choice.
187
187
 
188
+ ## Background work after a pane disappears
189
+
190
+ When an unexpectedly missing seat pane or session is positively observed, `rig ps`
191
+ reports that background work is unknown. It also lists descendants sampled under
192
+ that occupant before the loss when their PID and start time still match a later
193
+ process observation. The executable name is shown without arguments or paths.
194
+ This is a partial observation, not a complete process inventory: unsampled or
195
+ unreadable work, a daemon restart, or changed process identity can leave the
196
+ list empty while work is still running. Explicitly stopped seats are not labeled
197
+ as unexpected loss. OpenRig does not terminate these processes.
198
+ Live-pane samples are taken only on identity-check passes that already inspect
199
+ native processes; if no such pass occurs before the loss, attribution remains
200
+ unknown. On a host with only token-bound Claude seats, these native-process
201
+ samples are not taken, so the process list remains empty. A later check of previously sampled identities shares the existing
202
+ process-table reader and does not create a new polling loop.
203
+
188
204
  ## When the server stops answering
189
205
 
190
206
  The tmux server can go away while the daemon keeps running: something kills it, or
@@ -1,9 +1,102 @@
1
- # What changed in OpenRig 0.7.23
1
+ # What changed in OpenRig 0.7.24
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.24.
4
+ OpenRig 0.7.24 is a patch for people who work with their team from their own Claude Code or Codex conversation. The team's questions can now come back to that conversation by themselves, and a team seat's Claude Code permission prompt can be answered from there. The TUI's Topology view opens on a busy daemon, and the notice a new agent gets when its team is recorded reads as information, not work.
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.24-$(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.24 &&
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 four database migrations, which apply at the first start. Three are additive: `195_workflow_start_operations`, `196_queue_item_evidence_ref_roots` and `199_queue_items_native_permission_index`. The fourth, `179_community_harness_runtime_switches`, rebuilds the `seat_runtime_switches` table so it can hold a community harness's name, and keeps its rows. Keep the backup, because downgrading a migrated database is not established. Bundled `openrig` is 0.7.24; `openrig-core` is 0.1.40. A Codex seat left running across the upgrade may need a restart afterwards; see Known issues.
27
+
28
+ ## Working with your team from your own conversation
29
+
30
+ With the openrig plugin installed in your own Claude Code or Codex (not a seat), work you hand over with its own return address (`--return-route auto`, or the MCP server's `returnRoute`) gives the team's questions, seat prompts and results a route back to that conversation, with their sender. Claude Code is woken when a turn ends; Codex gets a message queued for the thread. In Codex, hand work over with `rig queue create --return-route auto` in the shell: the MCP server's `returnRoute` doesn't reach Codex yet. A team seat's Claude Code permission prompt becomes a question there, and your answer reaches that exact prompt as Allow once or Deny, never a lasting permission change. Without an answer, Claude Code's own prompt carries on. The plugin's MCP server also keeps serving when the app starts before the daemon. ([#3964](https://github.com/mvschwarz/openrig/pull/3964), [#3969](https://github.com/mvschwarz/openrig/pull/3969), [#3920](https://github.com/mvschwarz/openrig/pull/3920))
31
+
32
+ ## Topology, the TUI and the web UI
33
+
34
+ On a long-lived install, the TUI's Topology view opens even while the daemon is busy, and anything still loading shows as pending, never as empty. A wake pass on a daemon with many live seats now makes one query instead of one per seat, which the change's own measurement puts at removing stalls of seconds at about a hundred seats; it hasn't yet been confirmed over a long live run. In the web UI, seat cards show the model on its own line and name community runtimes, the hover toolbar copies a seat's full session name, and a feed card's seat tag opens the right seat. ([#3965](https://github.com/mvschwarz/openrig/pull/3965), [#3864](https://github.com/mvschwarz/openrig/pull/3864), [#3413](https://github.com/mvschwarz/openrig/pull/3413), [#3442](https://github.com/mvschwarz/openrig/pull/3442), [#3977](https://github.com/mvschwarz/openrig/pull/3977))
35
+
36
+ ## New teams and the roster notice
37
+
38
+ When OpenRig records a new team's seats and edges, each agent that started gets one notice asking it to run `rig whoami` again. The notice says plainly that it's information, with nothing to claim, write or follow up, so agents don't take it as work, and the stuck-work sweep doesn't chase it. Refocus sets it aside when it settles a seat's mission. ([#3849](https://github.com/mvschwarz/openrig/pull/3849), [#3973](https://github.com/mvschwarz/openrig/pull/3973), [#3948](https://github.com/mvschwarz/openrig/pull/3948))
39
+
40
+ ## Codex, Claude and community seats
41
+
42
+ `rig up`, `rig grow` and `rig seat set-permissions` warn when a Codex seat's sandbox can't reach `rig` or the OpenRig home, and say what breaks; nothing is refused. Sends reach a Claude seat whose input sits above a Remote Control status row. A restore applies the MCP and settings fragments a Claude seat's spec marks `on_restore: follow_source` before Claude resumes, and a fresh launch of an existing Claude seat reads today's selection of both kinds. On a handover, an agent exits through its own shutdown, so its SessionEnd hooks run. A seat can switch to an installed community harness and back: each switch starts a new conversation with a handover, and the harness's conversation is recorded so a later resume can reopen it. Its handover keeps its harness, and a daemon route reports its declared model and effort catalog. The Cursor example preset passes the seat's model. A resumed Claude seat no longer reads as partially restored when an identity sweep overlaps its check, and a stuck `git` can't hold up a seat's skills. ([#3923](https://github.com/mvschwarz/openrig/pull/3923), [#3925](https://github.com/mvschwarz/openrig/pull/3925), [#3710](https://github.com/mvschwarz/openrig/pull/3710), [#3921](https://github.com/mvschwarz/openrig/pull/3921), [#3860](https://github.com/mvschwarz/openrig/pull/3860), [#3955](https://github.com/mvschwarz/openrig/pull/3955), [#3959](https://github.com/mvschwarz/openrig/pull/3959), [#3597](https://github.com/mvschwarz/openrig/pull/3597), [#3960](https://github.com/mvschwarz/openrig/pull/3960), [#3897](https://github.com/mvschwarz/openrig/pull/3897))
43
+
44
+ ## Restore and recovery
45
+
46
+ After a reboot, a seat with neither saved startup context nor a resume token waits for a decision (`awaitingDecision`) while the rest of its rig resumes, instead of the whole rig being left out. A seat whose tmux session is gone is no longer verified by a recycled pane, and a slow restore is no longer reported as back at its shell. When a seat's pane disappears, `rig ps` and `/healthz` show its background work as unknown, listing earlier-seen processes that still match. Refocus shows held and pending work as labelled context when nothing is in progress. ([#3863](https://github.com/mvschwarz/openrig/pull/3863), [#3843](https://github.com/mvschwarz/openrig/pull/3843), [#3859](https://github.com/mvschwarz/openrig/pull/3859), [#3821](https://github.com/mvschwarz/openrig/pull/3821))
47
+
48
+ ## Queue and workflow
49
+
50
+ `rig workflow instantiate --operation-key <key>` records what a start created, so a retry recovers it and `rig workflow operation <key>` reads it back. `rig workflow watch` catches up on outcomes it missed while reconnecting, and workflow tables line up wide characters. A grouped wake names its blocker once, the stuck-work sweep stops filing findings to seats it can't reach, and `rig queue create` accepts an adopted seat's bare session name. `rig mcp token add --allow <object>:<actions>` issues an MCP token limited to the tools it names. ([#3847](https://github.com/mvschwarz/openrig/pull/3847), [#3940](https://github.com/mvschwarz/openrig/pull/3940), [#3854](https://github.com/mvschwarz/openrig/pull/3854), [#3899](https://github.com/mvschwarz/openrig/pull/3899), [#3531](https://github.com/mvschwarz/openrig/pull/3531), [#3804](https://github.com/mvschwarz/openrig/pull/3804), [#3922](https://github.com/mvschwarz/openrig/pull/3922))
51
+
52
+ Experimental and unsupported, as before: `rig network peers` and `rig network request` default to the calling seat and leave it out of its own peer list, and `rig whoami` names a seat's network binding. A hosted member's awaiting-pickup message says how often it has been checking in. The seat pool settles an add by its actual result and drains idle agents after a capture, but nothing arms a pool yet. ([#3961](https://github.com/mvschwarz/openrig/pull/3961), [#3929](https://github.com/mvschwarz/openrig/pull/3929), [#3931](https://github.com/mvschwarz/openrig/pull/3931), [#3906](https://github.com/mvschwarz/openrig/pull/3906), [#3942](https://github.com/mvschwarz/openrig/pull/3942), [#3819](https://github.com/mvschwarz/openrig/pull/3819))
53
+
54
+ ## Terminal, Slack and tools
55
+
56
+ - Terminal: a Herdr tile gives its seat's size back however it closes, and focusing a tile fits its own seat to it. `rig terminal open <view> --provider orca` opens seats in an existing Orca workspace on macOS (opt-in). The daemon writes its Rex tile status as its own record, so an agent's own report in that pane stays. ([#3974](https://github.com/mvschwarz/openrig/pull/3974), [#3975](https://github.com/mvschwarz/openrig/pull/3975), [#3543](https://github.com/mvschwarz/openrig/pull/3543), [#3748](https://github.com/mvschwarz/openrig/pull/3748))
57
+ - Slack attaches a scoped grant's evidence file only from that grant's shared roots, and records where each inbound attachment came from beside it. ([#3952](https://github.com/mvschwarz/openrig/pull/3952), [#3914](https://github.com/mvschwarz/openrig/pull/3914))
58
+ - Docs: the ACP page shows how to add OpenRig as an agent in T3 Code and in Zed, and the packaged capability map teaches what 0.7.19 to 0.7.23 added. ([#3978](https://github.com/mvschwarz/openrig/pull/3978), [#3943](https://github.com/mvschwarz/openrig/pull/3943))
59
+ - Daemon routes read one host's attention (`?host=<id>`) and reader actions in pages, and a compaction trigger with `earlyAck: true` returns a Claude seat's admitted attempt ID. ([#3811](https://github.com/mvschwarz/openrig/pull/3811), [#3838](https://github.com/mvschwarz/openrig/pull/3838), [#3912](https://github.com/mvschwarz/openrig/pull/3912))
60
+ - Also: fixes for CRLF, commented-out and empty-header text in proof and scope files, a literal `|` or leading `:` in search terms and pack paths, impossible quiet-until dates, audit page order, health's ceremony checks, and `rig release surface-diff`. ([#3936](https://github.com/mvschwarz/openrig/pull/3936), [#3932](https://github.com/mvschwarz/openrig/pull/3932), [#3934](https://github.com/mvschwarz/openrig/pull/3934), [#3933](https://github.com/mvschwarz/openrig/pull/3933), [#3937](https://github.com/mvschwarz/openrig/pull/3937), [#3930](https://github.com/mvschwarz/openrig/pull/3930), [#3935](https://github.com/mvschwarz/openrig/pull/3935), [#3938](https://github.com/mvschwarz/openrig/pull/3938), [#3855](https://github.com/mvschwarz/openrig/pull/3855), [#3575](https://github.com/mvschwarz/openrig/pull/3575), [#3576](https://github.com/mvschwarz/openrig/pull/3576), [#3785](https://github.com/mvschwarz/openrig/pull/3785), [#3782](https://github.com/mvschwarz/openrig/pull/3782), [#3723](https://github.com/mvschwarz/openrig/pull/3723), [#3939](https://github.com/mvschwarz/openrig/pull/3939))
61
+
62
+ ## Behaviour that changed
63
+
64
+ - A team Claude Code seat running `rig seat decide-permission` now asks its person first by default, as `rig seat set-permissions` does, so a seat can't approve its own waiting tool call. ([#3969](https://github.com/mvschwarz/openrig/pull/3969))
65
+ - A team Claude Code seat's permission prompt now also goes to a person through OpenRig, for up to a day: the person chosen for the seat (`rig seat set-permissions-to`), else the conversation that handed the seat its work, else the default person. A person sees it in the Feed and Steering, or through their connector. The prompt stays open in the seat's terminal meanwhile, and whichever answer comes first counts, as Allow once or Deny. Prompts that need the person's own input, such as `AskUserQuestion`, stay in the terminal. While the question is open, OpenRig holds its usual alert about the seat's waiting prompt; once it's decided, including by an agent acting on the person's words, the seat's next prompt alerts as usual. To keep a Claude Code seat's prompts in its terminal only, run `rig seat set-permissions-to <seat> --deny`; on a Claude Code seat that stops the question and refuses nothing. ([#3969](https://github.com/mvschwarz/openrig/pull/3969), [#4007](https://github.com/mvschwarz/openrig/pull/4007))
66
+ - `rig down` lets each agent exit through its own shutdown before it closes the terminals; `rig down --force` skips that. ([#3921](https://github.com/mvschwarz/openrig/pull/3921))
67
+ - `rig bundle create` no longer records the builder's host name and session in the bundle; `--include-builder-identity` records them. A private receipt is written beside the archive. ([#3950](https://github.com/mvschwarz/openrig/pull/3950))
68
+ - The full-transcript read and restore packets mask known credential shapes only (`rig transcript`, which reads the tail or searches, masks nothing, as before). Commit hashes and long paths stay visible, and an opaque secret with no known shape is no longer masked. ([#3837](https://github.com/mvschwarz/openrig/pull/3837))
69
+ - Staged launch files, Claude's restore packets and the CLI's compile cache move from the system temp folder to `$OPENRIG_HOME/run`. Old packets aren't swept. ([#3691](https://github.com/mvschwarz/openrig/pull/3691))
70
+ - With the daemon stopped, twenty more commands given `--json` print a JSON error on stdout instead of plain text on stderr, and still exit 1. ([#3853](https://github.com/mvschwarz/openrig/pull/3853))
71
+
72
+ ## Known issues
73
+
74
+ - If a team Claude Code seat has overlapping permission requests for the same command, completion of the earlier call can withdraw the later question and incorrectly report that it was answered in the terminal. The later native prompt remains open; answer it in that seat's terminal. OpenRig's usual prompt alerts still apply.
75
+ - If you register yourself as OpenRig's default person, a seat's permission prompt on work that didn't come from your conversation, such as during its startup, goes to the Feed and Steering rather than to your conversation.
76
+ - A team seat can send its final result to the operator instead of your conversation; if a result seems late, ask your agent to check the team's progress.
77
+ - If you named a team Claude Code seat as `agents.operator_session`, that seat now gets a permission prompt when it settles a runner's permission request; answer it there. The default, the kernel operator, is unchanged.
78
+ - A Codex seat left running across the upgrade can have its OpenRig hooks turned off ("plugin contents changed; hook approval required") when the daemon updates `openrig-core` beneath it, so it misses refocus after compaction. `rig seat restart <seat> --keep-conversation` can refuse with `settings_drift` because the upgrade also changes the seat's instructions. In the tested two-seat Codex upgrade, `rig down <rig>` followed by `rig up <rig> --existing` restored the hooks and resumed both original conversations. This restarts the whole rig; finish its current work first.
79
+ - Bringing the team's work into your own Codex conversation hasn't been confirmed on a live Codex run yet. A backlog of several hundred tasks can fail to reach Codex on Linux, and a conversation open for over a week can stop being woken. If something doesn't arrive, ask your agent to list the tasks at its conversation's address.
80
+ - A team seat may say work it sent to your own conversation wasn't delivered when the plugin already brought it to you. If you've seen it, ignore that message.
81
+ - The Pi tool-selection recovery page links a community helper that's no longer available. Its other steps still apply.
82
+ - A `rig send` while Claude's `AskUserQuestion` dialog is open can become its answer.
83
+ - 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 and set them up anyway. Review hook prompts yourself.
84
+ - The tmux outage record is in memory, so a restart during a loss records it again.
85
+ - Only one earlier restore packet is kept aside while a new one builds.
86
+ - A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
87
+ - A return route doesn't guarantee a question's arrival.
88
+ - Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a `pool:` block starts no agents.
89
+
90
+ ## Credits
91
+
92
+ Thanks to Danny, Duc, Edward Bowie, Hyein Cho, James B. Shields, James Poindexter, Jin Hyuk Jung (salbang), JUSHUANGHUI LI, Mike Schwarz, NIKHIL, NIKHILA, Roberto Campos, Samuel Smith, Vitalii, Wu Shuwen (dajiaohuang), Zach Rodgers, billbenetti, and w4rc0n. Their contributions also make the parallel test suites finish sooner and clean up after themselves.
93
+
94
+ ## What changed in OpenRig 0.7.23
2
95
 
3
96
  This note is for an agent on an install that was just upgraded to 0.7.23.
4
97
  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
98
 
6
- ## Before you upgrade
99
+ ### Before you upgrade
7
100
 
8
101
  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
102
 
@@ -25,29 +118,29 @@ A failure stops the following commands; fix it before continuing. Back up and in
25
118
 
26
119
  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
120
 
28
- ## Requests between connected teams
121
+ ### Requests between connected teams
29
122
 
30
123
  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
124
 
32
- ## Codex and Claude seats
125
+ ### Codex and Claude seats
33
126
 
34
127
  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
128
 
36
129
  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
130
 
38
- ## Restore and recovery
131
+ ### Restore and recovery
39
132
 
40
133
  `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
134
 
42
- ## Queue and workflow
135
+ ### Queue and workflow
43
136
 
44
137
  `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
138
 
46
- ## Seat pools and opt-in controls
139
+ ### Seat pools and opt-in controls
47
140
 
48
141
  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
142
 
50
- ## Terminal, TUI, Slack and tools
143
+ ### Terminal, TUI, Slack and tools
51
144
 
52
145
  - 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
146
  - 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))
@@ -56,24 +149,25 @@ The seat pool's add, whole-rig hold and dispatch paths are in place, but nothing
56
149
  - 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
150
  - 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
151
 
59
- ## Behaviour that changed
152
+ ### Behaviour that changed
60
153
 
61
154
  - `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
155
  - 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
156
 
64
- ## Known issues
157
+ ### Known issues
65
158
 
66
159
  - 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
160
  - 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
161
  - 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.
162
+ - The fixes for a paste left unsubmitted when a Claude notice shares the row under the input ([#3724](https://github.com/mvschwarz/openrig/pull/3724)) and for an idle Codex seat reading as waiting on a permission ([#3713](https://github.com/mvschwarz/openrig/pull/3713)) haven't been confirmed on an installed release yet. If you still see either, check the seat's screen with `rig capture`.
163
+ - 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 and set them up anyway. Review hook prompts yourself.
70
164
  - The tmux outage record is in memory, so a restart during a loss records it again.
71
165
  - Only one earlier restore packet is kept aside while a new one builds.
72
166
  - A percent `context-usage-threshold` doesn't fire for a Pi seat; use a token threshold.
73
167
  - A return route doesn't guarantee a question's arrival.
74
168
  - Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a `pool:` block starts no agents.
75
169
 
76
- ## Credits
170
+ ### Credits
77
171
 
78
172
  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
173