@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
@@ -22,12 +22,16 @@ if the person asks. Give what they want built to OpenRig's operator (step 2) ins
22
22
  to allow the commands that keep asking, for their project only (step 2).
23
23
  - **Hand work over with a return route** (`--return-route auto`, or `self` if this session joined; step 2), so most of
24
24
  the team's questions come to this conversation's address (choice dialogs and other hosts keep their path), and its
25
- result is in the handed-over task's resolution. Set it before you promise to report back. This chat has no wake of
26
- its own: say you'll check when they ask, and each turn list your address's tasks, read the handed-over task (`rig
27
- queue show <id> --full`, following its successors) and check the seats. Offer a wake only where their app has one.
25
+ result is in the handed-over task's resolution. Set it before you promise to report back. In Claude Code and Codex,
26
+ once the openrig plugin is installed and active (step 1), its hooks bring a task that reaches an address OpenRig
27
+ issued this conversation (`auto`) into it: the team's question, or its result when the lead or operator sends it
28
+ there as a task. A task closed with no result sent wakes nothing, and other apps have no wake. So say you'll check
29
+ when they ask, and each turn list your address's tasks, read the handed-over task (`rig queue show <id> --full`,
30
+ following its successors) and check the seats.
28
31
  - **Don't send them to attach** to a seat's terminal to answer, and with no display (headless or SSH) they answer here
29
32
  too: don't tell the operator they'll answer in its pane unless they chose that. Bring the prompt here. If the
30
- operator or a seat sent it to you, record their words and let that sender pass them on; otherwise send their choice
33
+ operator or a seat sent it to you, record their words and let that sender pass them on; if it's a seat's own ask
34
+ (`qitem-runner-permission-…`), answer that ask, not the seat's terminal (step 2); otherwise send their choice
31
35
  yourself, with `rig send`, not raw tmux keys into a seat's terminal. If your own app refuses that send (an auto-mode
32
36
  check, say), tell them what it refused and why, and let them choose: approve it there, or answer in the team's
33
37
  terminals the operator opened. Don't retry it another way.
@@ -59,6 +63,20 @@ these writes; an explicit project-only request doesn't cover them. If they decli
59
63
  remove the writes afterwards as a substitute for consent. Explain that setup has no project-only mode. A git worktree
60
64
  or project `.codex/config.toml` doesn't redirect these writes.
61
65
 
66
+ **A seat limited to the project still needs OpenRig:** if the person wants the team's own access limited (for Codex, a
67
+ `filesystem` list in place of the default, not `:minimal` alone), each seat sees only what that list names, and
68
+ OpenRig adds nothing to it. The seat still has to run `rig` and reach the OpenRig home (`~/.openrig`, or their
69
+ `OPENRIG_HOME`): without them it reports `rig: command not found` and can't read its task, ask a question, bring up a
70
+ prompt or close its work. Say so before they choose, and include read access to the OpenRig home, the rig install
71
+ (`@openrig/cli` under `npm root -g`) and the folder node runs from (`command -v node`). Keep network access on for the
72
+ seat as well (the read-only sandbox never has it): `rig` talks to the OpenRig daemon on this computer, and a Codex
73
+ sandbox without network can't reach it (seen on Linux), even with every folder listed. `rig up` and `rig up --plan`
74
+ warn, naming what's missing, when a seat's permissions miss any of these, and the team still starts as written. After
75
+ the team starts, check from inside one such seat that `rig whoami` returns its full identity from the daemon before you
76
+ hand it the goal. Partial offline identity, even with exit status zero, does not prove contact. If it cannot reach the daemon, say
77
+ so plainly and let the person choose between more access and a team that can't reach OpenRig. A warning that says read
78
+ coverage is unverified is conditional: check `rig whoami` inside the seat before changing a policy that already works.
79
+
62
80
  **Keep their own login:** a team runs on the person's existing login through the home that holds it (`~/.codex` or
63
81
  their `CODEX_HOME`; for Claude Code, `~/.claude` or their `CLAUDE_CONFIG_DIR`). Keeping that home and asking once about
64
82
  these writes is how someone who wants changes kept in their project still gets a working team. Don't make a new
@@ -81,7 +99,7 @@ person needs in their project or home folder and name that path.
81
99
 
82
100
  ## 1. Install OpenRig, if it isn't installed
83
101
 
84
- - **Check first:** `rig --version`. If it prints a version, go to step 2.
102
+ - **Check first:** `rig --version`. If it prints a version, go to the openrig plugin below.
85
103
  - **What it needs:** macOS or Linux, Node.js 22 or 24, tmux, and Claude Code or Codex signed in. Check only what's
86
104
  missing: `node --version`, `tmux -V`, `claude auth status` or `codex login status`.
87
105
  - **A check that needs the network** (`gh auth status`, a registry or other fetch) can fail falsely in a sandbox without
@@ -100,6 +118,59 @@ person needs in their project or home folder and name that path.
100
118
  block to `~/.tmux.conf`, so say all of that first. It doesn't start the daemon. Then `rig doctor`. A login it reports
101
119
  missing isn't harmless: say which one, and that a team may need it (`starter` runs its reviewer on Codex). Pass it on
102
120
  in the handoff so the operator fits the team before anything starts.
121
+ - **Then offer the openrig plugin for this app** (once now, and once more only as below), unless this app already has it. **Ask it as its own question,
122
+ after the install has worked: not in a list of optional extras, and not together with joining or registering.**
123
+ Never ask it before the install, or in the same dialog as any other choice. A message that lists several choices,
124
+ numbered or not, counts as one dialog, so the offer is the only choice in its message. If your app asks with a choice
125
+ dialog, give it a dialog of its own and list installing it first, since a dialog marks its first option; the person
126
+ can still say no.
127
+ **Before you offer it, check that `rig` resolves:** `command -v rig`. The plugin's hooks and its MCP server run the
128
+ `rig` on PATH, else the project's own `node_modules/.bin/rig`. If OpenRig is installed only inside the project
129
+ (`command -v rig` prints nothing), say in the offer that the plugin finds it only in sessions started in this project,
130
+ or first recommend an install every session finds (the global install above).
131
+ Bundled, it reads as skippable, and the person can't tell what they'd lose. Before running anything, tell the person in
132
+ plain words:
133
+ - **What it adds:** when I hand the team work, its questions come into this conversation without you telling me to
134
+ check. The plugin's hooks do this; they read only OpenRig's own record for this conversation.
135
+ - **What it doesn't do:** it types into no terminal and grants no authority: it only brings the question, and
136
+ answering stays yours.
137
+ - **Without it:** the team's questions reach you only when I check for them, when you next message me or while I'm
138
+ waiting in the background. With it, they arrive here on their own, even when I'm not checking.
139
+ - **It's your choice.** It's added for every session of this app on this computer, with a skill for working with the
140
+ team (and in Claude Code, OpenRig's MCP tools); a session that hands the team no work gives the hooks nothing to
141
+ read.
142
+
143
+ On their yes, use the commands from "Install" in the plugin's README (`daemon/assets/plugins/openrig/README.md` in the
144
+ installed `@openrig/cli` package), which has the details. This route uses the `rig` CLI, so leave out the README's
145
+ seat setting and `codex mcp add`: they're for the plugin's MCP tools. On no, install nothing. Offer it once more,
146
+ only when the team's first question reaches the person through your own check: say the plugin would have brought it
147
+ here by itself, and that the choice is still theirs. After a second no, don't offer it again.
148
+ - **Claude Code:** ask the person to run the two commands themselves, typing each with `!` in front, since Claude
149
+ Code's auto mode can refuse your own run of a plugin install:
150
+ `! claude plugin marketplace add "$(npm root -g)/@openrig/cli/daemon/assets/plugins/openrig"`, then
151
+ `! claude plugin install openrig@openrig-app`. It reports one option not yet set: that's the seat for the MCP tools,
152
+ which this route leaves blank, so don't ask the person to set it. **Installed this way, the plugin does nothing in
153
+ this conversation until the person types `/reload-plugins`** (you can't run it) or starts a new session. Ask for the
154
+ reload: it keeps this conversation, and the hooks wake only the conversation that handed the work over.
155
+ - **Make the reload its own short request, and wait for it.** Put nothing else to read or decide in that message,
156
+ for example: "One step left: please type `/reload-plugins`, then send me any message, such as "done", so I can
157
+ check the plugin is on." The command doesn't reach you, so their message is your cue. Go on to step 2 after it.
158
+ - **Then check that it's active:** you now have the plugin's MCP tools (`mcp__plugin_openrig_…`, such as
159
+ `rig_whoami` and `rig_queue_create`; where your tools load on demand, search them for `rig_whoami`). If they're
160
+ there, tell the person it's on.
161
+ - **If they aren't there:** when your tool search says the `plugin:openrig:openrig` server failed to connect, the
162
+ plugin did load, so don't ask again: say its tools didn't start, and check that `rig` resolves (above). Otherwise
163
+ say plainly that the plugin isn't active yet, so the team's questions won't come in by themselves, and ask for the
164
+ reload once more, the same way. If it's still not active after that, say so and check at each turn (step 2).
165
+ - **Codex:** `codex plugin marketplace add "$(npm root -g)/@openrig/cli/daemon/assets/plugins/openrig-codex"`, then
166
+ `codex plugin add openrig@openrig-app`. If Codex says `openrig-app` is already added from a different source (an
167
+ earlier install from the `openrig` folder), run `codex plugin marketplace remove openrig-app`, then both again.
168
+ Codex runs hooks outside its sandbox, so it asks the person to trust the plugin's two hooks (session start and end)
169
+ before they run, and again after the plugin changes; untrusted, they don't run. They start in a new Codex session
170
+ and wake only the session that handed the work over: offer to continue in a new session, or stay here and check at
171
+ each turn.
172
+ - **Any other app** (OMP, for one): there's no wake there. Say so plainly, skip the plugin, and check at each turn
173
+ (step 2).
103
174
  - **Then go on to step 2:** say it's installed and ask what they want worked on, and in which repository. A plain
104
175
  "install OpenRig" includes this. Stop here only if they say not to start a team.
105
176
  - **If something fails:** `rig context get help` is the help guide for the installed version. If `rig` itself won't
@@ -284,6 +355,9 @@ commands; if the two ever differ, this step is right.
284
355
  > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
285
356
  > evidence ref.
286
357
 
358
+ Before that, if you haven't offered the openrig plugin in this conversation yet (step 1; for example because
359
+ OpenRig was already installed), offer it now as step 1 says: it's still its first offer.
360
+
287
361
  Then run
288
362
  `rig queue create --destination <canonicalSessionName> --return-route auto --summary "<the goal in a sentence>" --body-file <file> --verify`
289
363
  (if this session joined, `--return-route self` with your `OPENRIG_SESSION_NAME` in front). It prints
@@ -293,9 +367,10 @@ commands; if the two ever differ, this step is right.
293
367
  this work again. If the outcome is unknown, repeat the same command with
294
368
  `--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
295
369
  same address.
296
- - **Get woken when a task arrives at your address:** right after the handover, start this wait with your shell tool's
297
- background option (in Claude Code versions that wake you when a background command ends), with your address in place
298
- of `<address>`:
370
+ - **Get woken when a task arrives at your address:** skip this where the openrig plugin's hooks run (step 1): they
371
+ bring the task by themselves, and this wait would wake you a second time for it. Otherwise, right after the handover,
372
+ start this wait with your shell tool's background option (in Claude Code versions that wake you when a background
373
+ command ends), with your address in place of `<address>`:
299
374
 
300
375
  until OPENRIG_SESSION_NAME='<address>' rig queue list --owned --state pending --json 2>/dev/null | grep -q '"qitemId"'; do sleep 20; done
301
376
 
@@ -310,8 +385,14 @@ commands; if the two ever differ, this step is right.
310
385
  `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution '<their words>'`,
311
386
  keeping their words in single quotes and writing each `'` in them as `'\''`, so the shell runs and changes nothing in them.
312
387
  Add no label, quotation marks or notes of your own, and don't turn their words into a yes or a no: the agent that
313
- asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
388
+ asked decides what they mean. Through the plugin's tools with no seat, close it the same way, with `rig_queue_claim`
389
+ and then `rig_queue_update`: they act as the address OpenRig issued this conversation. Never answer a question
390
+ task with `rig send` or `rig_send`: a message has no return address, so the work it starts loses your route, and its
391
+ seats' prompts then reach no one. You speak as yourself, never as the person. If they aren't there to answer, leave
314
392
  it open and tell them it's waiting; never answer for them.
393
+ If the person said no to the openrig plugin once and this is the first question you bring them, end that message
394
+ with step 1's second offer, in one line: the plugin would have brought this here by itself, and the choice is
395
+ still theirs. Don't repeat it after that.
315
396
  A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat,
316
397
  the exact action and the choices it offers, and record their words the same way. The agent that sent it passes
317
398
  their answer to the seat, so don't send that prompt's answer yourself as well. A task from OpenRig itself
@@ -329,10 +410,12 @@ commands; if the two ever differ, this step is right.
329
410
  `rig send <destination> "task <id> is yours"`); `failed` (the wake wasn't delivered, and the task still needs
330
411
  doing: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
331
412
  before you wake it again). A pending task with no wake isn't lost or done.
332
- - **Nothing wakes this chat** when the team asks or finishes: while its work is open, start each of your turns by
333
- listing your address's tasks (above), before anything else, including when the person talks to you and when they
334
- come back. A Claude Desktop scheduled task can pick the team's results up on a schedule, in a fresh session, not
335
- this chat. Offer it if they'd like that.
413
+ - **What wakes this chat:** in Claude Code and Codex, the openrig plugin's hooks (step 1), when a task reaches an
414
+ address OpenRig issued it: the team's questions, and its result when the lead or operator sends it there as a task.
415
+ A task closed with no result sent wakes nothing. Without the plugin, only the wait above does, where your app has
416
+ one. While its work is open, start each of your turns by listing your address's tasks (above), before anything
417
+ else, including when the person talks to you and when they come back. A Claude Desktop scheduled task can pick the
418
+ team's results up on a schedule, in a fresh session, not this chat. Offer it if they'd like that.
336
419
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
337
420
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
338
421
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -354,16 +437,32 @@ commands; if the two ever differ, this step is right.
354
437
  the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
355
438
  is the person's to answer: they decide, which doesn't mean they type it into the seat's pane, so don't decline to
356
439
  relay it. After each step you hand off, and before you report progress, first list your address's tasks
357
- (`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`): a prompt OpenRig or the team
358
- already sent you is there as its own task, so answer it there. Then check `rig ps --nodes --rig <rig>` for a
359
- seat stopped at a prompt, and repeat both checks while you wait for a seat's result, so a prompt that appears after
360
- your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
361
- exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
440
+ (`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`; through the plugin's tools,
441
+ `rig_queue_list` with `destination` set to your address, which needs no seat): a prompt OpenRig or the team
442
+ already sent you is there as its own task, so answer it there. Put `OPENRIG_SESSION_NAME=<address>` in front of
443
+ every `rig` command you run for this work, so OpenRig records it as this conversation's, not as someone outside a seat. Then check `rig ps --nodes --rig <rig>` for a
444
+ seat stopped at a prompt. Repeat both checks each time a wake brings you a task or the person talks to you, not in a
445
+ loop: the plugin's wake comes only when your turn ends, so while the team works, end your turn rather than watching
446
+ the seats. Show the person each one, with any others waiting, one line each (seat, exact action, the choices
447
+ offered), and the whole prompt when they ask. If a question about that prompt is already
362
448
  open at your address (the operator or a team seat sent it), use that one: record their words on it, and its sender
363
449
  passes them on, not you (on OpenRig's own task about it, you pass them on). Once you've recorded them, that prompt stays its sender's to answer even while the seat
364
450
  still shows it: don't ask about it again or send anything for it unless the prompt changes or the sender asks you
365
- again. For a commit, also say whether the team's review has run; they may be expecting one. Before sending their choice, capture that
366
- seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
451
+ again. For a commit, also say whether the team's review has run; they may be expecting one. A Claude Code seat's own
452
+ prompt in work you handed over gets its own ask at your address (`qitem-runner-permission-…`) within seconds, even
453
+ when you saw the prompt first: answer that ask, with
454
+ `OPENRIG_SESSION_NAME=<address> rig seat decide-permission <ask> --option allow --relay --person-said '<their words>'`
455
+ (or `--option deny`) for a plain yes or no, or the plugin's `rig_seat_decide_permission`, and as its text says for
456
+ words or a condition. Before you decide one under a standing instruction of theirs ("don't ask me about test runs"),
457
+ read what the command touches, such as the files a test writes, and check it against what they asked to be asked
458
+ about: if it's on that list, ask them. A relay is recorded as relayed by you, and unconfirmed, since OpenRig doesn't
459
+ get it from them.
460
+ It takes their answer for as long as the prompt stays open. Don't type into the seat for it:
461
+ that answers it in the terminal, ends the ask, and needs their exception for a terminal command. If the reply says it
462
+ hasn't reached the prompt, the seat's hook stopped reading the ask: tell them, and answer that prompt in the seat like
463
+ one with no ask. A prompt with no ask
464
+ (a choice menu, a Codex seat's prompt, a seat on another machine) you answer in the seat: before sending their choice,
465
+ capture that seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
367
466
  `rig send <seat>@<rig> "<key>" --dangerously-interact --reason 'task <id>: <their choice, in their words>'`, with
368
467
  the goal's task ID (leave out `task <id>:` when there's no task), where `<key>` is the digit or letter that capture
369
468
  shows for their choice, never their words: the text is typed as keys, and a letter can pick a menu's shortcut. Keep
@@ -466,7 +565,9 @@ Follow these steps by default. Only when the person declined the Codex offer abo
466
565
  `OPENRIG_SESSION_NAME=<address> rig queue list --mine -a` lists everything this address sent or owns, finished work
467
566
  included (without `-a` it shows only open items). It returns at most 100 rows unless you pass `--limit`, so on a busy
468
567
  address keep the task IDs you created, or raise `--limit`. Follow that work rather than creating it again.
469
- Adding OpenRig's MCP plugin to this app later starts a new session; it doesn't carry this conversation over.
568
+ A new session doesn't carry this conversation over, and the openrig plugin's hooks don't wake it for an address an
569
+ earlier session was issued: check that address each turn. In Claude Code the hooks follow the app's process, not the
570
+ chat: after `/clear`, the new chat still gets the earlier one's tasks.
470
571
  - **Other ways to work with the team:** `rig send <seat>@<rig> "..."` types into an agent's terminal,
471
572
  `rig capture <seat>@<rig>` reads its screen, and `rig ps --nodes --rig <rig>` shows who's on it.
472
573
 
@@ -1,6 +1,6 @@
1
1
  # Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
2
2
  name: help
3
- version: "0.7.23"
3
+ version: "0.7.24"
4
4
  taxonomy: world
5
5
  purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
6
6
  files:
@@ -1,6 +1,6 @@
1
1
  # Public capability and source-map width for the default onboarding walk.
2
2
  name: onboarding-width
3
- version: "0.7.23"
3
+ version: "0.7.24"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files:
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Ninety-three top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.18`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.23`). This marker describes the pack's teaching, not publication or live
15
15
  adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
16
16
  What changed in the installed version, and what to do about it, is one read away:
17
17
  `rig context get reference/whats-new.md`.
@@ -260,6 +260,7 @@ unseen — which makes messages the one delivery channel that never gets skipped
260
260
  - **`rig exec run <row> --harness claude|codex`** — a finite task for Claude Code or Codex without
261
261
  building a seat: the same single turn through that harness's ACP adapter, run by a detached
262
262
  connector that outlives the command, so closing the terminal or leaving `--wait` doesn't stop it.
263
+ For any other ACP agent, name its command instead: `rig exec run <row> -- <command>`.
263
264
  Install the adapters first (`@agentclientprotocol/claude-agent-acp` 0.101.0 and
264
265
  `@agentclientprotocol/codex-acp` 2.5.0); `rig exec harnesses` shows the versions found, and
265
266
  `--plan` starts nothing. **The row stays the custody record:** it gets the same notes as `rig acp
@@ -278,6 +279,11 @@ unseen — which makes messages the one delivery channel that never gets skipped
278
279
  YAML, herdr when installed or plain tmux. Rex tiles show each seat's agent and its activity. The layout follows the terminal's width: on a narrow
279
280
  one the operator gets the first tab; on a wide one the dashboard and operator sit side by side
280
281
  and the advisor gets its own tab. A `kernel` view the person saved still wins.
282
+ `rig terminal open --all` opens one viewer per local rig, and `rig terminal close --all` closes
283
+ the rig viewers OpenRig opened (`--provider herdr` or `tmux` limits it); the seats keep running.
284
+ A browser client of the terminal WebSocket (`/api/terminal/:sessionName`) can request
285
+ `?geometry=1` to receive the pane size as a binary UTF-8 JSON frame
286
+ (`type: "geometry"`, `cols`, `rows`), separate from text output. It grants no resize control.
281
287
  Tiles show their seat's screen without attaching, so whole lines show at any tile width; a
282
288
  writable tile attaches when someone types or pastes and goes back to showing after 30 seconds
283
289
  without a key. Inside herdr it
@@ -447,6 +453,13 @@ your context, your compaction and your replacement — and it is the only thing
447
453
  the typing guard holds back (`retained`) doesn't use the timer up: it's tried again at each
448
454
  interval until an attempt is delivered or fails, and a shared one-shot timer attached with
449
455
  `--wake-watchdog` retires when its last attachment is consumed.
456
+ - **`rig queue relay-answer <qitemId> --attributed-to <person> --channel <where> --text "<their
457
+ words>"`** — a person answered you somewhere else, but the question is another agent's ask: pass
458
+ their exact words back to it. It's always shown as relayed, never as the person's own answer or
459
+ as your decision. A structured ask needs `--question-id`, plus `--option-id` when they chose an
460
+ option; add `--answered-at` only when you know it. A fully answered ask closes and returns to the
461
+ agent that asked, and unanswered parts stay open. A later direct answer from the person corrects
462
+ an identifiable question; an unplaceable reply is forwarded without changing an answer.
450
463
  - **`rig queue overdue`** — what was claimed and never closed in time. **Defaults to the current
451
464
  rig**; ask for more if you mean more.
452
465
  - **`rig queue undelivered`** — pending create-path nudge failures only. For gateway or human
@@ -528,7 +541,16 @@ relay is a reason to inspect the available routing, not to surrender judgment to
528
541
  an entry packet that lands on a real owner. `--project`, `--mission`, `--slice` and `--tags`
529
542
  (also on `run`) stamp every packet so the work shows on the slice's Queue tab; an unknown project
530
543
  creates the instance unscoped with a warning. A `preferred_targets` entry written `member@{rig}`
531
- addresses whichever rig the instance is bound to with `--rig`.
544
+ addresses whichever rig the instance is bound to with `--rig`, and `--pod <name>` (also on `run`)
545
+ fills `{pod}` in preferred targets and resolves a role with no preferred target to a seat in that
546
+ pod of the rig (literal targets and explicit owners still win). `--title <text>` gives the run a
547
+ short title, which its ordinary packets show in their summaries beside each step's label or id.
548
+ - **A step's `label`** — a short name a person sees in place of the step's id; display only.
549
+ **`next_owner: same_as_previous`** (on a step or the whole spec; off by default) keeps a
550
+ `handoff` into an ungated next step of the same role with the seat closing its own packet,
551
+ instead of resolving the role again. Without it, resolution is unchanged. When that role has
552
+ `preferred_targets`, a same-role handoff that would move the seat closing its own packet to
553
+ another seat advises passing `--next-owner`.
532
554
  - **`rig workflow status`** — which instances need attention, with reason and next action.
533
555
  Inspect the exact exception occurrence and packet: resolved overdue work is reconciled without
534
556
  closing an overdue sibling. Registered-human fallback reports missing or ambiguous selection
@@ -571,7 +593,7 @@ relay is a reason to inspect the available routing, not to surrender judgment to
571
593
  plan's admission, review and integration guidance returns in lifecycle packets and their
572
594
  continuation, alongside the small revision move. Scope creation/move maintains manifest
573
595
  membership; `--depends-on` is advisory build order, while `execution.depends_on` defines
574
- executable prerequisites.
596
+ executable prerequisites (`rig scope slice create --execution-depends-on <dot-id>` writes it).
575
597
  - **`rig workflow continue`** — where you are in a run you have been handed. **It is read-only. It
576
598
  does not continue anything**, despite the name — `project` is the advance verb.
577
599
  - **`rig workflow route`** — the owner of the current step is gone; move *that step* to a live seat
@@ -586,7 +608,8 @@ relay is a reason to inspect the available routing, not to surrender judgment to
586
608
  `--occurrence <failed-qitem-id>` to select that failure (required when several are
587
609
  unresolved); its obsolete exception obligation closes in the redrive transaction,
588
610
  while unresolved siblings stay visible. An identical occurrence/decision retry returns
589
- the existing redrive without duplicating work.
611
+ the existing redrive without duplicating work. `--owner <session>` sends the redrive to that seat
612
+ instead of re-resolving the step's owner from its role.
590
613
  - **`rig workflow run` / `watch` / `list`** — run to completion with an exit code you can act on,
591
614
  watch it happen, or see what exists. Since 0.7.16 `list` filters by mission, project, rig,
592
615
  workflow, slice or tag.
@@ -794,10 +817,17 @@ not have to tear one down to change it, and you rarely have to start from nothin
794
817
  when they run out the seat reads `attention_required` (`keepAliveIncident` in
795
818
  `rig ps --nodes --json --full`) until you start it with `rig launch`. Not for seats attached from
796
819
  outside (`docs/reference/rig-spec.md`, "Keep a seat running").
820
+ - **`cold_start: true`** (rig spec member, or a pod default that a member's own value overrides; off
821
+ by default) — queued work for that seat, while it has no live runner, launches just that seat
822
+ through the same one-seat launch, resuming its conversation when a resume token exists. It acts
823
+ only in a running rig, where another seat is live, and never revives a deliberate stop
824
+ (`rig seat stop`, `rig down`, a removal), a failed start or a seat no longer in the spec
825
+ (`docs/reference/rig-spec.md`, "Queue-driven cold start").
797
826
  - **`rig seat launch <seat> --fresh --reason <why>`** — deliberately create a blank occupant for
798
827
  exactly one existing seat. It uses no resume, fork, rebuild, snapshot, or restore packet;
799
828
  siblings and durable work stay put, and unmanaged ambiguity refuses. With `--stop`, a seat with a
800
- still-live older session is refused before anything is stopped; `--plan` previews it.
829
+ still-live older session is refused before anything is stopped; `--plan` previews it. A pane
830
+ left holding only a shell after a failed start is replaced without `--stop`.
801
831
  - **A new seat's first startup message is OpenRig's identity context, not a task.** A seat with
802
832
  nothing else to start with (no role file, no restore, no obligations) is asked to run
803
833
  `rig whoami --json`, reply with its identity and readiness, and wait for an assignment.
@@ -880,7 +910,14 @@ version, from checking the environment to a useful report to the OpenRig team.
880
910
  move, rather than hand-restoring rig by rig. Selected-rig recovery now demands positive runtime
881
911
  evidence and refuses stale identity by name rather than substituting an occupant. `--last`
882
912
  leaves down a rig you stopped on purpose (`rig down` or `rig seat stop`) and prints how to bring
883
- it back (`rig start --rigs <rig>`, or `rig up '<name>' --existing`).
913
+ it back (`rig start --rigs <rig>`, or `rig up '<name>' --existing`). It also names each rig it
914
+ leaves out because the daemon has nothing to restore it from, with the daemon's reason (`leftOut`
915
+ in `--json`: `rigId`, `rigName`, `code`, `message`, `blockers`, and `neverLaunched` when none of
916
+ its seats has ever run). Left-out rigs don't change the exit code, so read them before saying
917
+ nothing was left behind. `--concurrency <n>` keeps up to n restore requests outstanding (default
918
+ 1), and `--fresh <logical-id>@<rig>` starts the named seats with a fresh conversation instead of
919
+ resuming them. For one rig, `rig up <rig> --existing --timeout <seconds>` sets how long the CLI
920
+ waits for the whole restore (default 120); a timeout doesn't cancel it, so check `rig ps` first.
884
921
  - **`rig daemon start` / `stop` / `status` / `logs`** — startup reserves the local instance and
885
922
  verifies its own child on required listeners. Inspect a retained reservation before retrying.
886
923
  Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
@@ -895,6 +932,12 @@ version, from checking the environment to a useful report to the OpenRig team.
895
932
  of an ordinary nodes read (`nodes.inventory.build`, `nodes.inventory.activity_sync`,
896
933
  `nodes.inventory.terminal_work`). These nodes records are written after a slow call completes; a
897
934
  missing record doesn't rule out unfinished work or work outside those steps.
935
+ Starting the daemon with `OPENRIG_MUTATION_TRACE=1` in its environment (off by default; no
936
+ `rig config` key) also records state-changing requests to its main port there: the method,
937
+ path, the status it prepared and the session header the caller sent, not proof anything changed.
938
+ A daemon that can't bind its port writes one line,
939
+ `OPENRIG_LISTEN_FAILED <errno> <host:port> <guidance>`, and exits 69 without recording a stop:
940
+ find what holds the port before starting again, or use `rig daemon start --port <free-port>`.
898
941
  On Linux, when the daemon runs as a systemd user service, the seats' tmux server starts in its
899
942
  own user scope, so stopping or restarting the daemon's unit keeps the seats; otherwise it starts
900
943
  as before, with one log line giving the reason.
@@ -1081,8 +1124,14 @@ version, from checking the environment to a useful report to the OpenRig team.
1081
1124
  - **Per-seat choices since 0.7.18, all opt-in:** `rig seat set-input-route <seat> --route native
1082
1125
  --reason <text>` gives a seat with a capable live runner native input instead of terminal typing
1083
1126
  (typed stays the default; a native seat's work isn't cancelled when a permission is withdrawn).
1127
+ To cancel one turn a seat's runner is running,
1128
+ `rig seat cancel <seat> --run-id <id> --native-turn-id <id> --request-id <id>` (the first two
1129
+ from `rig seat status`) withdraws its pending permissions and cancels that turn. It returns a
1130
+ named outcome (an acknowledgement isn't proof the turn ended), and repeating the same
1131
+ `--request-id` reads the saved result.
1084
1132
  On Linux/systemd hosts, `process_limits: { tasks_max: N }` on a member requests a cap on the tasks
1085
- its own processes may hold (`docs/reference/rig-spec.md`): a fresh start whose limit isn't seen to
1133
+ its own processes may hold, and `{ memory_max: <size> }` (bytes, or a number with `K`, `M`, `G` or
1134
+ `T`) a cap on their memory (`docs/reference/rig-spec.md`): a fresh start whose limit isn't seen to
1086
1135
  take effect is refused, a recovery that can't apply it may try without the limit (with a warning),
1087
1136
  and an uncertain start is reported and not retried. An export names a stored limit it can't read.
1088
1137
  - **`rig seat set-permissions <seat> --mode <mode> --reason <text>`** — select one seat's native
@@ -1269,6 +1318,9 @@ scheme, and nothing downstream can see it.
1269
1318
  publication. Unknown owners and eligibility stay unknown. Narrow views keep boxes and scroll.
1270
1319
  Malformed mission or slice sources stay visible as local unavailable entries while healthy
1271
1320
  neighbors remain readable. Open the affected source to inspect it, then refresh after correction.
1321
+ A project nested in another project's workspace can set `scope.idPrefix` in its `project.yaml`
1322
+ (two or three uppercase letters; `OPR` by default) so its mission and slice IDs don't repeat the
1323
+ enclosing project's.
1272
1324
  - **TUI Feed** — inspect **Human requests** separately from **Updates**, with the scope shown as
1273
1325
  **Instance / All humans**. Explorer lists these categories; their entries appear in the
1274
1326
  content pane. Human destinations and explicit human blockers show the recipient,
@@ -1282,12 +1334,15 @@ scheme, and nothing downstream can see it.
1282
1334
  buildable. `show` gives you intent, frontmatter and children without guessing which of five files
1283
1335
  to open.
1284
1336
  - **`rig scope slice progress` / `mission progress`** — record that a step moved, in a form the
1285
- progress view can parse.
1337
+ progress view can parse. `--current-state <text>` replaces the Current state section and
1338
+ timestamps it.
1286
1339
  - **`rig scope slice approve`** — freeze a decision — *this is the plan* or *this is delivered* —
1287
1340
  so the freeze is recorded rather than asserted in chat. With `--workspace`, approve stamps the
1288
1341
  tree you named, and refuses one with no `missions/` folder.
1289
1342
  - **`rig scope slice close` / `ship` / `move`** — retire it with the reason attached, move it into
1290
1343
  the release it belongs to preserving git history, or re-file it under a different mission.
1344
+ `close --in-place` keeps a closed slice in its mission's `slices/` folder instead of moving it to
1345
+ `closed/`.
1291
1346
  - **`rig scope slice stage` / `verified`** — how mature is this, and *when was it last checked and
1292
1347
  against what*. The second half is the part everyone drops, and it is what makes the first half
1293
1348
  mean anything.
@@ -1411,6 +1466,13 @@ working arrangement becomes something someone else can instantiate.
1411
1466
  diff or hand to someone. **`rig import`** goes the other way.
1412
1467
  - **`rig import <workspace.yaml> --workspace-only --target-rig <id>`** — apply a validated
1413
1468
  workspace declaration to an existing rig without changing topology; `rig export` preserves it.
1469
+ - **`rig queue export`** and **`rig queue import <file> --dry-run`** — *proposed*, for preparing to
1470
+ move queue work to another install. Export takes exactly one scope (`--whole-host`, `--rig`,
1471
+ `--mission`, `--slice` or `--qitems`) and writes an `openrig.queue-transfer/v2` archive with
1472
+ `--out <file>`, or prints it with `--preview`, without changing the queue. `import --dry-run`
1473
+ reviews the archive against this install and writes nothing; without it, the archive is only
1474
+ staged, inactive (`rig queue staging list`, `rig queue staging discard <importId>`). Nothing is
1475
+ written to the queue and nothing activates, so don't promise a completed move.
1414
1476
  - **`rig bundle create` / `inspect` / `install` / `history`** — one file that rebuilds a rig on a
1415
1477
  machine with none of its content, what is inside one before you trust it, and what has actually
1416
1478
  been installed here. `create`, `inspect` and `install` also take a GitHub folder link and pin it
@@ -1461,6 +1523,17 @@ reaching them is ordinary work rather than an escalation.
1461
1523
  - **`rig network`** — **experimental, unsupported and at your own risk.** It connects one local seat
1462
1524
  to a hub you already have. The daemon starts the connector, sweeps leftover credential folders and
1463
1525
  schedules local rounds even with no binding, so it isn't inert, and its migrations apply on upgrade.
1526
+ - **`rig network peers <binding-or-seat>`** / **`rig network request <binding-or-seat> <peer> --id
1527
+ <request-id> --body-file <path>`** — from a connected seat, list the peers its hub lets it ask,
1528
+ and send one a request. The answer comes back to a local queue item with your `--id`
1529
+ (`rig queue show <request-id>`). The daemon reaches the hub as the seat's participant, so you
1530
+ never hold its token. Retry only with the same `--id`: a definite refusal to create the request
1531
+ closes the item failed with the hub's reason. If creation is unconfirmed or a readback is refused,
1532
+ the item stays open with its outcome unknown; while the hub can't be reached, the daemon tries
1533
+ again later. The item belongs to OpenRig, not your seat, so nothing wakes you when it closes:
1534
+ block a row of your own on it (`rig queue block <your-row> --on <request-id>`), then check the
1535
+ item once, since the answer can arrive first. An id starting `fold:`, `auth:` or `external:` is
1536
+ read by `block` as a gate instead, so pick another. Experimental, like the rest of `rig network`.
1464
1537
  - **A cross-host queue write that times out reads INDETERMINATE, not failed.** The CLI waits 15
1465
1538
  seconds for the daemon's answer, and `rig queue create` with no answer reads the row back once by
1466
1539
  its ID. Reconcile by that ID before any retry; don't send the write twice.
@@ -1627,7 +1700,17 @@ your circumstances is configuration, and the ones that are not, another agent ca
1627
1700
  `posture[].nonInterruptiveDefault`.
1628
1701
  - **Smaller settings worth knowing:** per-seat `effort`, passed to Claude as `--effort`, to
1629
1702
  Codex as `model_reasoning_effort` and to Pi as `--thinking` (`rig seat set-effort` overrides it for
1630
- one seat); and `runtime.readiness_timeout_seconds` for seats that start slowly.
1703
+ one seat); and `runtime.readiness_timeout_seconds` for seats that start slowly. On a host with
1704
+ many Claude seats, a Claude member's `statusline_throttle: <seconds>` (1 to 120), or
1705
+ `rig seat set-statusline-throttle <seat> --seconds <n> --reason <why>` from its next launch, runs
1706
+ a shell check before OpenRig's statusline collector. It skips eligible repeated collections
1707
+ inside that interval; a new conversation or a reading below the last collected one collects at
1708
+ once. A seat that goes idle after a skipped update keeps its earlier reading until another update.
1709
+ - **Rig-level choices, both opt-in:** `seat_slice: rig` (Linux/systemd) starts each of the rig's
1710
+ seats, at its next launch, beneath the rig's own `openrigseats-<rig>.slice`, so one CPU weight
1711
+ you set on that slice covers the whole rig; OpenRig sets no weight.
1712
+ `default_onboarding_pack: true|false` includes or leaves out the two built-in onboarding pages for
1713
+ this rig, overriding `onboarding.default_pack.enabled`.
1631
1714
  - **`rig policy cite` / `defaults`** — what posture the operator is in: how autonomous to be, how
1632
1715
  loudly to report, whether to batch permission questions or block on them. **This declares a
1633
1716
  posture; it does not grant or deny permissions** — the harness's own settings are the control
@@ -1647,7 +1730,8 @@ your circumstances is configuration, and the ones that are not, another agent ca
1647
1730
  another machine, `rig auth status|list|switch` take `--host <id>` and `--codex-home <dir>`, and
1648
1731
  `rig seat restart` takes `--host <id>`.
1649
1732
  - **`rig provider accounts` / `bindings` / `signals` / `switch`** — which seats are bound to which
1650
- accounts, what the usage signals say, and whether a seat can be moved without stranding the
1733
+ accounts (`bindings` is the configured account, not proof a seat launched on it or is signed
1734
+ in), what the usage signals say, and whether a seat can be moved without stranding the
1651
1735
  conversation it is in the middle of. **`provider signals` reports anomalies rather than a
1652
1736
  listing** — unbound seats, accounts shared across several seats. A Codex seat showing its
1653
1737
  usage-limit banner reads activity `unknown` with reason `usage_limit`, and keeps it while its
@@ -1801,7 +1885,16 @@ your circumstances is configuration, and the ones that are not, another agent ca
1801
1885
  named by `OPENRIG_SESSION_NAME`, so an agent with no shell can hand work to the team, read the
1802
1886
  closing note as its answer, and pass on or put back work it holds. Since 0.7.17, for an external
1803
1887
  connection, `rig_queue_show` labels who acted apart from the reader (`viewer`, `item.createdBy`,
1804
- actor labels, with `you` true only for this connection). Unless it declares a webhook
1888
+ actor labels, with `you` true only for this connection). `rig_queue_show` takes `waitSeconds`
1889
+ (0 to 50) to wait while an item is pending or in progress; at the bound it reports a timeout, not
1890
+ completion. Every server also offers its coordination guidance for the caller as the resource
1891
+ `openrig://reference/coordination`. An embedding uses the supported ESM entry
1892
+ `@openrig/cli/mcp.js`, which exports `startMcpHttpServer`; importing it starts nothing, and the
1893
+ embedding owns start and close. Its `instructions` option adds an endpoint introduction and
1894
+ static resources (`uri`, `name`, `mimeType`, `text`) alongside Core's caller-scoped guidance.
1895
+ Its per-request `resolver` can resolve opaque credentials through the embedding's authority
1896
+ instead of a grant service or token file. Core checks the resolved seat against the daemon;
1897
+ a resolver failure does not fall back to another authority. Unless it declares a webhook
1805
1898
  trigger (below), nothing wakes such an agent; it sees new work when it checks. Its tools cover
1806
1899
  the whole delegation loop:
1807
1900
  find its seat, team and lead (`rig_whoami`, `rig_team`), hand work on and follow the handoff's
@@ -1825,7 +1918,8 @@ your circumstances is configuration, and the ones that are not, another agent ca
1825
1918
  `destination_ambiguous` with the candidates, an unknown one `destination_not_found`, and an
1826
1919
  unreadable team `destination_unchecked`. Its person sees each tool's plain title, and under a
1827
1920
  grant service's fair-use limit only new work is held back. A
1828
- grant that names a person adds `rig_question_list` and `rig_question_answer`, so that person
1921
+ grant that names a person (`rig mcp token add <name> --seat <seat> --person <entity_id>`) adds
1922
+ `rig_question_list` and `rig_question_answer`, so that person
1829
1923
  answers the team's questions from their assistant, recorded as their answer through that
1830
1924
  connection.
1831
1925
  **An assistant connected this way can be a hosted member of a rig:** mark its roster entry
@@ -1847,6 +1941,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1847
1941
  0.7.16, for a caller on an external grant, `rig_team` names the team the way the person knows it
1848
1942
  (from the rig's network roster, or the roster that declares the rig) and each member by its
1849
1943
  roster `label`; a label that breaks the rules is set aside with `label_problem`.
1944
+ `rig_team` shows a network participant's seat as `remote`, with activity unknown, and when no
1945
+ single lead is named but exactly one roster entry declares `lead_of`, it shows that entry as the
1946
+ team's entry point for new work, not a manager of others' work.
1850
1947
  **Internet-facing hosted members are experimental, unsupported, off by default and at your
1851
1948
  own risk.** Local assistants can connect locally. Internet access needs your own TLS tunnel or
1852
1949
  proxy and a narrowly scoped, revocable token; see `reference/hosted-members.md`. Task terminal
@@ -1909,6 +2006,10 @@ database. It is one more set of primitives on a machine full of them.
1909
2006
  Compact `rig queue list` rows carry `summary`; the fields they leave out are absent, not empty,
1910
2007
  and `fieldsElided` names them. Since 0.7.14 `--tag` (repeatable; every tag must match),
1911
2008
  `--mission` and `--slice` filter exactly, and bounded listings over retained history use indexes.
2009
+ A page that stopped at its limit while more rows match says so: `rig queue list` on stderr, and
2010
+ MCP `rig_queue_list` only in `structuredContent` (`limit`, `truncated`), not in the text a
2011
+ text-only client reads. A page with no such marker (an older daemon sends none) says nothing
2012
+ either way, so don't read it as complete.
1912
2013
  Delivery status is separate from content: inspect its receipt before claiming it was consumed.
1913
2014
  - **"What am I waiting on?"** — the queue row's `waiting` view derives its owner, exact blocker
1914
2015
  and blocker owner, last meaningful change, activity confidence and next backstop from live
@@ -231,7 +231,8 @@ The team's questions reach you only as a registered person: an `<id>@external` a
231
231
  `rig gateway human add <id> --display-name "<your name>" --delivery-class <A|B|C|D>` first. Until then, the app says
232
232
  so at your first prompt, and your work is still sent.
233
233
 
234
- **In Zed**, add the agent to `settings.json`:
234
+ **In Zed**, open Agent Settings, go to External Agents, choose `Add Agent`, then `Add Custom Agent`. Zed opens your
235
+ `settings.json` at its `agent_servers` entry; add OpenRig there:
235
236
 
236
237
  ```json
237
238
  "agent_servers": {
@@ -239,7 +240,13 @@ so at your first prompt, and your work is still sent.
239
240
  }
240
241
  ```
241
242
 
242
- Other apps take the same command and arguments wherever they configure a custom ACP agent.
243
+ **In T3 Code**, open Settings, then Providers, and choose `Add provider`, `Show more`, then `Local ACP command`. Enter
244
+ `rig` as the executable, then add each argument on its own row, in order: `acp`, `serve`, `--to` and `lead@my-team`.
245
+ T3 Code passes them as written, with no shell, so one row holding the whole command won't work. Choose `Next`, set
246
+ `Label` to OpenRig and choose `Add instance`, then choose OpenRig when you start a thread.
247
+
248
+ Other apps take the same command and arguments wherever they configure a custom ACP agent. If an app can't find `rig`,
249
+ give its full path instead: `command -v rig` prints it.
243
250
 
244
251
  **Limits:**
245
252
  - One receiver per agent command (or the `acp.to` setting); the app has no team picker.