@openrig/cli 0.7.25 → 0.7.26

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 (479) hide show
  1. package/README.md +7 -7
  2. package/daemon/assets/claude-hook-bridge.d.cts +9 -2
  3. package/daemon/assets/claude-permission-policies.cjs +18 -1
  4. package/daemon/assets/claude-permission-policies.d.cts +1 -0
  5. package/daemon/assets/claude-team-permissions.cjs +22 -1
  6. package/daemon/assets/guidance/openrig-context-entry.md +4 -5
  7. package/daemon/assets/guidance/openrig-start.md +3 -0
  8. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  11. package/daemon/assets/plugins/openrig/README.md +5 -3
  12. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  13. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +15 -5
  14. package/daemon/assets/plugins/openrig-codex/.codex-plugin/plugin.json +1 -1
  15. package/daemon/assets/plugins/openrig-codex/skills/working-with-an-openrig-team/SKILL.md +15 -5
  16. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  17. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  18. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +23 -6
  19. package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +5 -2
  20. package/daemon/assets/skills/rigs/SKILL.md +90 -33
  21. package/daemon/assets/skills/rigs/references/installing-for-someone.md +1 -1
  22. package/daemon/context-packs/help/manifest.yaml +1 -1
  23. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  24. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +82 -20
  25. package/daemon/context-packs/reference/getting-started.md +63 -11
  26. package/daemon/context-packs/reference/manifest.yaml +1 -1
  27. package/daemon/context-packs/reference/rig-spec.md +40 -14
  28. package/daemon/context-packs/reference/whats-new.md +102 -12
  29. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +9 -1
  36. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +15 -5
  52. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/openrig-user/SKILL.md +23 -6
  59. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  83. package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +5 -2
  84. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  86. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  87. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  88. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  89. package/daemon/dist/adapters/claude-code-adapter.js +10 -4
  90. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  91. package/daemon/dist/adapters/claude-resume.d.ts +2 -0
  92. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  93. package/daemon/dist/adapters/claude-resume.js +24 -6
  94. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  95. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  96. package/daemon/dist/adapters/kernel-authority.js +3 -1
  97. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  98. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  99. package/daemon/dist/adapters/pi-runner.js +9 -0
  100. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  101. package/daemon/dist/adapters/pi-session-cwd.d.ts +26 -0
  102. package/daemon/dist/adapters/pi-session-cwd.d.ts.map +1 -0
  103. package/daemon/dist/adapters/pi-session-cwd.js +89 -0
  104. package/daemon/dist/adapters/pi-session-cwd.js.map +1 -0
  105. package/daemon/dist/adapters/shell-quote.d.ts +2 -0
  106. package/daemon/dist/adapters/shell-quote.d.ts.map +1 -1
  107. package/daemon/dist/adapters/shell-quote.js +43 -0
  108. package/daemon/dist/adapters/shell-quote.js.map +1 -1
  109. package/daemon/dist/adapters/tmux-credential-env.d.ts +15 -2
  110. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -1
  111. package/daemon/dist/adapters/tmux-credential-env.js +82 -2
  112. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -1
  113. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  114. package/daemon/dist/adapters/tmux-exec.js +2 -6
  115. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  116. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  117. package/daemon/dist/adapters/tmux.js +5 -3
  118. package/daemon/dist/adapters/tmux.js.map +1 -1
  119. package/daemon/dist/bind-plan-surface.d.ts +3 -0
  120. package/daemon/dist/bind-plan-surface.d.ts.map +1 -0
  121. package/daemon/dist/bind-plan-surface.js +5 -0
  122. package/daemon/dist/bind-plan-surface.js.map +1 -0
  123. package/daemon/dist/build-info.js +3 -3
  124. package/daemon/dist/db/migrations/202_network_requester_questions.d.ts +4 -0
  125. package/daemon/dist/db/migrations/202_network_requester_questions.d.ts.map +1 -0
  126. package/daemon/dist/db/migrations/202_network_requester_questions.js +10 -0
  127. package/daemon/dist/db/migrations/202_network_requester_questions.js.map +1 -0
  128. package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts +3 -0
  129. package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.d.ts.map +1 -0
  130. package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js +22 -0
  131. package/daemon/dist/db/migrations/203_outbox_runner_receipts_index.js.map +1 -0
  132. package/daemon/dist/domain/agent-activity-store.d.ts +4 -0
  133. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  134. package/daemon/dist/domain/agent-activity-store.js +16 -0
  135. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  136. package/daemon/dist/domain/agent-images/agent-image-destination.d.ts +15 -0
  137. package/daemon/dist/domain/agent-images/agent-image-destination.d.ts.map +1 -0
  138. package/daemon/dist/domain/agent-images/agent-image-destination.js +79 -0
  139. package/daemon/dist/domain/agent-images/agent-image-destination.js.map +1 -0
  140. package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
  141. package/daemon/dist/domain/agent-images/agent-image-library-service.js +9 -1
  142. package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
  143. package/daemon/dist/domain/bootstrap-orchestrator.d.ts +4 -3
  144. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  145. package/daemon/dist/domain/bootstrap-orchestrator.js +55 -11
  146. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  147. package/daemon/dist/domain/bundle-content-routing.d.ts +7 -0
  148. package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
  149. package/daemon/dist/domain/bundle-content-routing.js +20 -15
  150. package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
  151. package/daemon/dist/domain/claude-compaction-enforcer.js +3 -3
  152. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  153. package/daemon/dist/domain/claude-continuation-launch.d.ts +19 -2
  154. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  155. package/daemon/dist/domain/claude-continuation-launch.js +143 -3
  156. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  157. package/daemon/dist/domain/claude-managed-launch.d.ts +22 -5
  158. package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
  159. package/daemon/dist/domain/claude-managed-launch.js +41 -5
  160. package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
  161. package/daemon/dist/domain/claude-permission-rules.d.ts +3 -1
  162. package/daemon/dist/domain/claude-permission-rules.d.ts.map +1 -1
  163. package/daemon/dist/domain/claude-permission-rules.js +8 -7
  164. package/daemon/dist/domain/claude-permission-rules.js.map +1 -1
  165. package/daemon/dist/domain/claude-seat-token.d.ts +23 -1
  166. package/daemon/dist/domain/claude-seat-token.d.ts.map +1 -1
  167. package/daemon/dist/domain/claude-seat-token.js +49 -7
  168. package/daemon/dist/domain/claude-seat-token.js.map +1 -1
  169. package/daemon/dist/domain/codex-auth.d.ts +34 -0
  170. package/daemon/dist/domain/codex-auth.d.ts.map +1 -1
  171. package/daemon/dist/domain/codex-auth.js +212 -0
  172. package/daemon/dist/domain/codex-auth.js.map +1 -1
  173. package/daemon/dist/domain/community-harness-launch-result.d.ts +9 -0
  174. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  175. package/daemon/dist/domain/community-harness-launch-result.js +14 -2
  176. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  177. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  178. package/daemon/dist/domain/compaction-restore-notice.js +4 -2
  179. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  180. package/daemon/dist/domain/crash-cart-detect.d.ts +7 -0
  181. package/daemon/dist/domain/crash-cart-detect.d.ts.map +1 -1
  182. package/daemon/dist/domain/crash-cart-detect.js +10 -5
  183. package/daemon/dist/domain/crash-cart-detect.js.map +1 -1
  184. package/daemon/dist/domain/crash-cart-discovery.d.ts +9 -16
  185. package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
  186. package/daemon/dist/domain/crash-cart-discovery.js +22 -40
  187. package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
  188. package/daemon/dist/domain/crash-cart-emit.d.ts +1 -1
  189. package/daemon/dist/domain/crash-cart-emit.d.ts.map +1 -1
  190. package/daemon/dist/domain/crash-cart-emit.js +4 -0
  191. package/daemon/dist/domain/crash-cart-emit.js.map +1 -1
  192. package/daemon/dist/domain/cwd-resolution.d.ts +12 -1
  193. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  194. package/daemon/dist/domain/cwd-resolution.js +39 -2
  195. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  196. package/daemon/dist/domain/draft-held-reoffer.d.ts +17 -1
  197. package/daemon/dist/domain/draft-held-reoffer.d.ts.map +1 -1
  198. package/daemon/dist/domain/draft-held-reoffer.js +76 -0
  199. package/daemon/dist/domain/draft-held-reoffer.js.map +1 -1
  200. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  201. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  202. package/daemon/dist/domain/gateway/destination-resolver.js +9 -3
  203. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  204. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -1
  205. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  206. package/daemon/dist/domain/managed-restore-read-access.d.ts +6 -2
  207. package/daemon/dist/domain/managed-restore-read-access.d.ts.map +1 -1
  208. package/daemon/dist/domain/managed-restore-read-access.js +29 -3
  209. package/daemon/dist/domain/managed-restore-read-access.js.map +1 -1
  210. package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts +8 -0
  211. package/daemon/dist/domain/mission-control/notification-adapter-from-env.d.ts.map +1 -0
  212. package/daemon/dist/domain/mission-control/notification-adapter-from-env.js +17 -0
  213. package/daemon/dist/domain/mission-control/notification-adapter-from-env.js.map +1 -0
  214. package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts +12 -0
  215. package/daemon/dist/domain/model-divergence/codex-thread-homes.d.ts.map +1 -0
  216. package/daemon/dist/domain/model-divergence/codex-thread-homes.js +19 -0
  217. package/daemon/dist/domain/model-divergence/codex-thread-homes.js.map +1 -0
  218. package/daemon/dist/domain/network/hub-client.d.ts +14 -4
  219. package/daemon/dist/domain/network/hub-client.d.ts.map +1 -1
  220. package/daemon/dist/domain/network/hub-client.js +26 -9
  221. package/daemon/dist/domain/network/hub-client.js.map +1 -1
  222. package/daemon/dist/domain/network/network-connector.d.ts +2 -0
  223. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  224. package/daemon/dist/domain/network/network-connector.js +162 -16
  225. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  226. package/daemon/dist/domain/network/network-requests.d.ts +4 -1
  227. package/daemon/dist/domain/network/network-requests.d.ts.map +1 -1
  228. package/daemon/dist/domain/network/network-requests.js +141 -14
  229. package/daemon/dist/domain/network/network-requests.js.map +1 -1
  230. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  231. package/daemon/dist/domain/node-inventory.js +13 -0
  232. package/daemon/dist/domain/node-inventory.js.map +1 -1
  233. package/daemon/dist/domain/outbox-handler.d.ts +9 -0
  234. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  235. package/daemon/dist/domain/outbox-handler.js +23 -5
  236. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  237. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  238. package/daemon/dist/domain/permission-account.js +4 -0
  239. package/daemon/dist/domain/permission-account.js.map +1 -1
  240. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  241. package/daemon/dist/domain/policies/parked-owner-consumer.js +6 -0
  242. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  243. package/daemon/dist/domain/policies/seat-pool.d.ts +2 -1
  244. package/daemon/dist/domain/policies/seat-pool.d.ts.map +1 -1
  245. package/daemon/dist/domain/policies/seat-pool.js.map +1 -1
  246. package/daemon/dist/domain/profile-resolver.d.ts +2 -0
  247. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  248. package/daemon/dist/domain/profile-resolver.js +10 -4
  249. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  250. package/daemon/dist/domain/provider/assignment-apply.d.ts.map +1 -1
  251. package/daemon/dist/domain/provider/assignment-apply.js +2 -1
  252. package/daemon/dist/domain/provider/assignment-apply.js.map +1 -1
  253. package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
  254. package/daemon/dist/domain/provider/claude-seat-switch.js +11 -3
  255. package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
  256. package/daemon/dist/domain/provider/provider-service.d.ts +4 -3
  257. package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
  258. package/daemon/dist/domain/queue-repository.d.ts +26 -7
  259. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  260. package/daemon/dist/domain/queue-repository.js +159 -37
  261. package/daemon/dist/domain/queue-repository.js.map +1 -1
  262. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  263. package/daemon/dist/domain/queue-stuck-sweep.js +1826 -1821
  264. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  265. package/daemon/dist/domain/queue-waiting.d.ts +9 -0
  266. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  267. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  268. package/daemon/dist/domain/queue-wake-ladder.d.ts +6 -1
  269. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  270. package/daemon/dist/domain/queue-wake-ladder.js +29 -12
  271. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  272. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  273. package/daemon/dist/domain/restore-orchestrator.js +4 -0
  274. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  275. package/daemon/dist/domain/rigspec-exporter.d.ts +2 -0
  276. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  277. package/daemon/dist/domain/rigspec-exporter.js +38 -2
  278. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  279. package/daemon/dist/domain/rigspec-instantiator.d.ts +4 -1
  280. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  281. package/daemon/dist/domain/rigspec-instantiator.js +32 -13
  282. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  283. package/daemon/dist/domain/rigspec-preflight.d.ts +3 -0
  284. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  285. package/daemon/dist/domain/rigspec-preflight.js +25 -7
  286. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  287. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  288. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  289. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  290. package/daemon/dist/domain/seat-delivery-guard.d.ts +5 -0
  291. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  292. package/daemon/dist/domain/seat-delivery-guard.js +13 -0
  293. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  294. package/daemon/dist/domain/seat-lifecycle-service.d.ts +18 -0
  295. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  296. package/daemon/dist/domain/seat-lifecycle-service.js +28 -1
  297. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  298. package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts +28 -0
  299. package/daemon/dist/domain/seat-pool-dispatch-guard.d.ts.map +1 -0
  300. package/daemon/dist/domain/seat-pool-dispatch-guard.js +123 -0
  301. package/daemon/dist/domain/seat-pool-dispatch-guard.js.map +1 -0
  302. package/daemon/dist/domain/seat-pool-executor.d.ts +5 -1
  303. package/daemon/dist/domain/seat-pool-executor.d.ts.map +1 -1
  304. package/daemon/dist/domain/seat-pool-executor.js +695 -95
  305. package/daemon/dist/domain/seat-pool-executor.js.map +1 -1
  306. package/daemon/dist/domain/seat-pool-slots.d.ts +68 -3
  307. package/daemon/dist/domain/seat-pool-slots.d.ts.map +1 -1
  308. package/daemon/dist/domain/seat-pool-slots.js +60 -8
  309. package/daemon/dist/domain/seat-pool-slots.js.map +1 -1
  310. package/daemon/dist/domain/seat-pool-spec.d.ts +4 -1
  311. package/daemon/dist/domain/seat-pool-spec.d.ts.map +1 -1
  312. package/daemon/dist/domain/seat-pool-spec.js +14 -2
  313. package/daemon/dist/domain/seat-pool-spec.js.map +1 -1
  314. package/daemon/dist/domain/seat-reaper-eligibility.d.ts.map +1 -1
  315. package/daemon/dist/domain/seat-reaper-eligibility.js +5 -2
  316. package/daemon/dist/domain/seat-reaper-eligibility.js.map +1 -1
  317. package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -3
  318. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  319. package/daemon/dist/domain/seat-restart-in-place.js +3 -43
  320. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  321. package/daemon/dist/domain/seat-startup-text.d.ts +159 -0
  322. package/daemon/dist/domain/seat-startup-text.d.ts.map +1 -0
  323. package/daemon/dist/domain/seat-startup-text.js +200 -0
  324. package/daemon/dist/domain/seat-startup-text.js.map +1 -0
  325. package/daemon/dist/domain/seat-status-service.d.ts +3 -0
  326. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  327. package/daemon/dist/domain/seat-status-service.js +1 -0
  328. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  329. package/daemon/dist/domain/startup-orchestrator.d.ts +8 -20
  330. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  331. package/daemon/dist/domain/startup-orchestrator.js +93 -26
  332. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  333. package/daemon/dist/domain/startup-submission-evidence.d.ts +3 -1
  334. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  335. package/daemon/dist/domain/startup-submission-evidence.js +10 -0
  336. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  337. package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts +2 -0
  338. package/daemon/dist/domain/terminal/earlier-tile-attach-0724.d.ts.map +1 -0
  339. package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js +54 -0
  340. package/daemon/dist/domain/terminal/earlier-tile-attach-0724.js.map +1 -0
  341. package/daemon/dist/domain/terminal/tile-attach.d.ts +4 -4
  342. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  343. package/daemon/dist/domain/terminal/tile-attach.js +14 -8
  344. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  345. package/daemon/dist/domain/types.d.ts +19 -1
  346. package/daemon/dist/domain/types.d.ts.map +1 -1
  347. package/daemon/dist/domain/types.js.map +1 -1
  348. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  349. package/daemon/dist/domain/user-settings/settings-store.js +1 -2
  350. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  351. package/daemon/dist/domain/watchdog-scheduler.d.ts +4 -0
  352. package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
  353. package/daemon/dist/domain/watchdog-scheduler.js +14 -0
  354. package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
  355. package/daemon/dist/domain/workspace/project-registration.d.ts +5 -1
  356. package/daemon/dist/domain/workspace/project-registration.d.ts.map +1 -1
  357. package/daemon/dist/domain/workspace/project-registration.js +11 -7
  358. package/daemon/dist/domain/workspace/project-registration.js.map +1 -1
  359. package/daemon/dist/rig-lookup-surface.d.ts +2 -0
  360. package/daemon/dist/rig-lookup-surface.d.ts.map +1 -0
  361. package/daemon/dist/rig-lookup-surface.js +5 -0
  362. package/daemon/dist/rig-lookup-surface.js.map +1 -0
  363. package/daemon/dist/routes/network.d.ts.map +1 -1
  364. package/daemon/dist/routes/network.js +19 -1
  365. package/daemon/dist/routes/network.js.map +1 -1
  366. package/daemon/dist/routes/queue.js +1 -1
  367. package/daemon/dist/routes/queue.js.map +1 -1
  368. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  369. package/daemon/dist/routes/rigspec.js +4 -0
  370. package/daemon/dist/routes/rigspec.js.map +1 -1
  371. package/daemon/dist/routes/seat.d.ts.map +1 -1
  372. package/daemon/dist/routes/seat.js +8 -0
  373. package/daemon/dist/routes/seat.js.map +1 -1
  374. package/daemon/dist/routes/terminal-ws.d.ts +0 -5
  375. package/daemon/dist/routes/terminal-ws.d.ts.map +1 -1
  376. package/daemon/dist/routes/terminal-ws.js +0 -6
  377. package/daemon/dist/routes/terminal-ws.js.map +1 -1
  378. package/daemon/dist/routes/transport.js +1 -1
  379. package/daemon/dist/routes/transport.js.map +1 -1
  380. package/daemon/dist/server.d.ts +1 -1
  381. package/daemon/dist/server.d.ts.map +1 -1
  382. package/daemon/dist/server.js +3 -6
  383. package/daemon/dist/server.js.map +1 -1
  384. package/daemon/dist/startup.d.ts.map +1 -1
  385. package/daemon/dist/startup.js +33 -35
  386. package/daemon/dist/startup.js.map +1 -1
  387. package/daemon/docs/reference/agent-startup-guide.md +18 -0
  388. package/daemon/docs/reference/agent-state-taxonomy.md +8 -0
  389. package/daemon/docs/reference/daemon-http-clients.md +4 -0
  390. package/daemon/docs/reference/getting-started.md +63 -11
  391. package/daemon/docs/reference/hosted-members.md +1 -1
  392. package/daemon/docs/reference/network-connector.md +66 -1
  393. package/daemon/docs/reference/quickstart.md +4 -4
  394. package/daemon/docs/reference/rig-bundle.md +25 -0
  395. package/daemon/docs/reference/rig-spec.md +40 -14
  396. package/daemon/docs/reference/seat-delivery.md +11 -2
  397. package/daemon/docs/reference/seat-pools.md +119 -14
  398. package/daemon/docs/reference/seat-scaling.md +2 -1
  399. package/daemon/docs/reference/whats-new.md +102 -12
  400. package/daemon/specs/agents/development/implementer/guidance/role.md +11 -0
  401. package/daemon/specs/agents/development/qa/guidance/role.md +5 -0
  402. package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +9 -1
  403. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +15 -5
  404. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +8 -3
  405. package/dist/build-info.js +3 -3
  406. package/dist/cli-error.d.ts +2 -0
  407. package/dist/cli-error.d.ts.map +1 -1
  408. package/dist/cli-error.js +25 -8
  409. package/dist/cli-error.js.map +1 -1
  410. package/dist/client.d.ts +1 -0
  411. package/dist/client.d.ts.map +1 -1
  412. package/dist/client.js +13 -0
  413. package/dist/client.js.map +1 -1
  414. package/dist/commands/auth.d.ts.map +1 -1
  415. package/dist/commands/auth.js +52 -1
  416. package/dist/commands/auth.js.map +1 -1
  417. package/dist/commands/crash-cart.d.ts.map +1 -1
  418. package/dist/commands/crash-cart.js +65 -17
  419. package/dist/commands/crash-cart.js.map +1 -1
  420. package/dist/commands/daemon.d.ts +7 -20
  421. package/dist/commands/daemon.d.ts.map +1 -1
  422. package/dist/commands/daemon.js +83 -50
  423. package/dist/commands/daemon.js.map +1 -1
  424. package/dist/commands/doctor.d.ts +26 -0
  425. package/dist/commands/doctor.d.ts.map +1 -1
  426. package/dist/commands/doctor.js +143 -1
  427. package/dist/commands/doctor.js.map +1 -1
  428. package/dist/commands/mcp.d.ts.map +1 -1
  429. package/dist/commands/mcp.js +4 -2
  430. package/dist/commands/mcp.js.map +1 -1
  431. package/dist/commands/network.d.ts +4 -0
  432. package/dist/commands/network.d.ts.map +1 -1
  433. package/dist/commands/network.js +78 -10
  434. package/dist/commands/network.js.map +1 -1
  435. package/dist/commands/provider.d.ts.map +1 -1
  436. package/dist/commands/provider.js +12 -4
  437. package/dist/commands/provider.js.map +1 -1
  438. package/dist/commands/ps.d.ts +8 -0
  439. package/dist/commands/ps.d.ts.map +1 -1
  440. package/dist/commands/ps.js +19 -3
  441. package/dist/commands/ps.js.map +1 -1
  442. package/dist/commands/queue-transfer.d.ts.map +1 -1
  443. package/dist/commands/queue-transfer.js +12 -6
  444. package/dist/commands/queue-transfer.js.map +1 -1
  445. package/dist/commands/queue.d.ts.map +1 -1
  446. package/dist/commands/queue.js +5 -4
  447. package/dist/commands/queue.js.map +1 -1
  448. package/dist/commands/seat.d.ts.map +1 -1
  449. package/dist/commands/seat.js +74 -6
  450. package/dist/commands/seat.js.map +1 -1
  451. package/dist/commands/setup.d.ts +34 -0
  452. package/dist/commands/setup.d.ts.map +1 -1
  453. package/dist/commands/setup.js +105 -17
  454. package/dist/commands/setup.js.map +1 -1
  455. package/dist/daemon-lifecycle.d.ts +46 -2
  456. package/dist/daemon-lifecycle.d.ts.map +1 -1
  457. package/dist/daemon-lifecycle.js +381 -174
  458. package/dist/daemon-lifecycle.js.map +1 -1
  459. package/dist/daemon-start-lock.d.ts +28 -0
  460. package/dist/daemon-start-lock.d.ts.map +1 -1
  461. package/dist/daemon-start-lock.js +107 -13
  462. package/dist/daemon-start-lock.js.map +1 -1
  463. package/dist/mcp-server.d.ts +1 -1
  464. package/dist/mcp-server.d.ts.map +1 -1
  465. package/dist/mcp-server.js +65 -1
  466. package/dist/mcp-server.js.map +1 -1
  467. package/dist/process-liveness.d.ts +21 -0
  468. package/dist/process-liveness.d.ts.map +1 -0
  469. package/dist/process-liveness.js +43 -0
  470. package/dist/process-liveness.js.map +1 -0
  471. package/dist/remote-host-ops.d.ts +1 -1
  472. package/dist/remote-host-ops.d.ts.map +1 -1
  473. package/dist/remote-host-ops.js +3 -14
  474. package/dist/remote-host-ops.js.map +1 -1
  475. package/dist/system-preflight.d.ts +9 -0
  476. package/dist/system-preflight.d.ts.map +1 -1
  477. package/dist/system-preflight.js +22 -7
  478. package/dist/system-preflight.js.map +1 -1
  479. package/package.json +4 -2
@@ -17,6 +17,24 @@ and all of step 2 are in that middle.
17
17
  **The goal is a team doing the person's work, not just an install.** Go through the steps in order and stop early only
18
18
  if the person asks. Give what they want built to OpenRig's operator (step 2) instead of building it yourself.
19
19
 
20
+ **The journey, in order** (each step is below; these are the ones that get skipped):
21
+ 1. Install and set up OpenRig (step 1).
22
+ 2. Offer the openrig plugin as its own question once the install worked, and wait for the answer (step 1): not as a
23
+ step in a plan they approve. On a clear yes, run the install yourself. In Claude Code it isn't active until they type
24
+ `/reload-plugins`, so ask for that next. In Codex, ask the offer in your reply and end your turn: not with a question
25
+ tool, and not as the approval of an install command.
26
+ 3. Start OpenRig. If no one is registered, offer to register the person before the handoff (step 2).
27
+ 4. Hand the goal to the operator with a return route (step 2).
28
+ 5. Right after the handover, start the background wait in step 2, and start it again each time it ends, once you've
29
+ handled what it brought, for as long as work you handed over is open. Keep it with the plugin too: its hooks check
30
+ only for two hours after each Claude Code turn, and a setting can turn them off. Without the plugin or a running
31
+ wait, nothing tells you the team asked: its questions wait until the person asks you. Don't say you'll notice the
32
+ team's next task unless one of them is on.
33
+ 6. Follow the work to its result, and list your address's tasks at the start of each turn (step 3).
34
+
35
+ Read OpenRig's state with `rig` commands (`rig queue`, `rig ps`, `rig whoami`), never by opening its database file:
36
+ that file is OpenRig's own, and its layout changes between versions.
37
+
20
38
  **The team's questions are the person's.** Hold to this from the first handoff, even if you read nothing else here:
21
39
  - **Ask before answering any prompt.** A seat's permission, trust or hook-review prompt is theirs to answer: show it
22
40
  to them and send only the choice they made. Approving a plan, a task or "go ahead" isn't an answer to the prompts
@@ -26,9 +44,9 @@ if the person asks. Give what they want built to OpenRig's operator (step 2) ins
26
44
  they told you outright to decide that kind of prompt (step 2). If they want fewer prompts, the operator offers once
27
45
  to allow the commands that keep asking, for their project only (step 2).
28
46
  - **Hand work over with a return route** (`--return-route auto`, or `self` if this session joined; step 2), so most of
29
- the team's questions come to this conversation's address (choice dialogs and other hosts keep their path), and its
30
- result is in the handed-over task's resolution. Set it before you promise to report back. In Claude Code and Codex,
31
- once the openrig plugin is installed and active (step 1), its hooks bring a task that reaches an address OpenRig
47
+ the team's questions come to this conversation's address (choice dialogs and other hosts keep their path), and the
48
+ team sends its result there as a task when it finishes. Set it before you promise to report back. In Claude Code and
49
+ Codex, once the openrig plugin is installed and active (step 1), its hooks bring a task that reaches an address OpenRig
32
50
  issued this conversation (`auto`) into it: the team's question, or its result when the lead or operator sends it
33
51
  there as a task. A task closed with no result sent wakes nothing, and other apps have no wake. So say you'll check
34
52
  when they ask, and each turn list your address's tasks, read the handed-over task (`rig queue show <id> --full`,
@@ -96,7 +114,8 @@ constraint to the operator.
96
114
  **Codex individual approvals:** explain before installation that even reads may ask repeatedly during setup and
97
115
  follow-up, separately from the team's permissions. Use plain, separate commands so each request is readable.
98
116
  The one optional six-command approval offer below still applies; don't enable general network access or broaden
99
- other permission settings to avoid prompts.
117
+ other permission settings to avoid prompts. If approvals for `rig` reads are the problem, the six-command offer is the
118
+ fix, not reading OpenRig's database file directly.
100
119
 
101
120
  When you give the person a file or a command to run in their own terminal, use a path that exists on their side. A
102
121
  file a sandboxed agent writes under `/tmp` may not exist in the person's terminal (seen with Codex), so put files the
@@ -104,7 +123,8 @@ person needs in their project or home folder and name that path.
104
123
 
105
124
  ## 1. Install OpenRig, if it isn't installed
106
125
 
107
- - **Check first:** `rig --version`. If it prints a version, go to the openrig plugin below.
126
+ - **Check first:** `rig --version`. If it prints a version, run `rig doctor`; when its `rig_login_shell` row warns, give
127
+ the person its Fix. Then go to the openrig plugin below.
108
128
  - **What it needs:** macOS or Linux, Node.js 22 or 24, tmux, and Claude Code or Codex signed in. Check only what's
109
129
  missing: `node --version`, `tmux -V`, `claude auth status` or `codex login status`.
110
130
  - **A check that needs the network** (`gh auth status`, a registry or other fetch) can fail falsely in a sandbox without
@@ -129,10 +149,18 @@ person needs in their project or home folder and name that path.
129
149
  numbered or not, counts as one dialog, so the offer is the only choice in its message. If your app asks with a choice
130
150
  dialog, give it a dialog of its own and list installing it first, since a dialog marks its first option; the person
131
151
  can still say no.
132
- **Before you offer it, check that `rig` resolves:** `command -v rig`. The plugin's hooks and its MCP server run the
133
- `rig` on PATH, else the project's own `node_modules/.bin/rig`. If OpenRig is installed only inside the project
134
- (`command -v rig` prints nothing), say in the offer that the plugin finds it only in sessions started in this project,
135
- or first recommend an install every session finds (the global install above).
152
+ **In Codex, ask it in your reply as one plain question, and end your turn to wait.** Don't use a question tool for it:
153
+ Codex can keep that question in a list of pending questions the person may never open (seen with Codex 0.171). And
154
+ don't let an approval prompt stand in for it: approving the install command isn't their answer to the offer, so run
155
+ the command only after they answer.
156
+ **Before you offer it, check that `rig` resolves:** `command -v rig`, and the `rig_login_shell` row of the `rig doctor`
157
+ you ran above. The plugin's hooks and its MCP server run an executable `OPENRIG_RIG_BIN` first, else the `rig` on PATH, else
158
+ the project's own `node_modules/.bin/rig`, else the first on a login shell's PATH. If OpenRig is installed only inside
159
+ the project (`command -v rig` prints nothing, and that row says a login shell doesn't find it either), say in the offer
160
+ that the plugin finds it only in sessions started in this project, or first recommend an install every session finds
161
+ (the global install above). Your shell isn't an app's: an app started outside a terminal, such as Claude Desktop's Code
162
+ tab, finds `rig` through a login shell, which is the lookup that row checks (setup's end lists it when it warns); when
163
+ it warns, give the person its Fix before the offer.
136
164
  Bundled, it reads as skippable, and the person can't tell what they'd lose. Before running anything, tell the person in
137
165
  plain words:
138
166
  - **What it adds:** when I hand the team work, its questions come into this conversation without you telling me to
@@ -150,10 +178,11 @@ person needs in their project or home folder and name that path.
150
178
  seat setting and `codex mcp add`: they're for the plugin's MCP tools. On no, install nothing. Offer it once more,
151
179
  only when the team's first question reaches the person through your own check: say the plugin would have brought it
152
180
  here by itself, and that the choice is still theirs. After a second no, don't offer it again.
153
- - **Claude Code:** ask the person to run the two commands themselves, typing each with `!` in front, since Claude
154
- Code's auto mode can refuse your own run of a plugin install:
155
- `! claude plugin marketplace add "$(npm root -g)/@openrig/cli/daemon/assets/plugins/openrig"`, then
156
- `! claude plugin install openrig@openrig-app`. It reports one option not yet set: that's the seat for the MCP tools,
181
+ - **Claude Code:** on their yes, run the two commands yourself:
182
+ `claude plugin marketplace add "$(npm root -g)/@openrig/cli/daemon/assets/plugins/openrig"`, then
183
+ `claude plugin install openrig@openrig-app`. If your app refuses that run (Claude Code's auto mode can refuse a
184
+ plugin install), tell them what it refused, and ask them to type the same two commands with `!` in front. It
185
+ reports one option not yet set: that's the seat for the MCP tools,
157
186
  which this route leaves blank, so don't ask the person to set it. **Installed this way, the plugin does nothing in
158
187
  this conversation until the person types `/reload-plugins`** (you can't run it) or starts a new session. Ask for the
159
188
  reload: it keeps this conversation, and the hooks wake only the conversation that handed the work over.
@@ -171,9 +200,19 @@ person needs in their project or home folder and name that path.
171
200
  `codex plugin add openrig@openrig-app`. If Codex says `openrig-app` is already added from a different source (an
172
201
  earlier install from the `openrig` folder), run `codex plugin marketplace remove openrig-app`, then both again.
173
202
  Codex runs hooks outside its sandbox, so it asks the person to trust the plugin's two hooks (session start and end)
174
- before they run, and again after the plugin changes; untrusted, they don't run. They start in a new Codex session
175
- and wake only the session that handed the work over: offer to continue in a new session, or stay here and check at
176
- each turn.
203
+ before they run, and again after the plugin changes; untrusted, they don't run. They load when a Codex session
204
+ starts, so they don't run in this conversation yet, and they wake only the conversation that handed the work over.
205
+ A Codex whose `codex queue` has no `--resume` (0.162.1, say) gets the team's tasks only at the chat's next turn, and
206
+ the hooks say so once in the chat: then tell the person the team's questions wait until they next write here, and
207
+ offer the upgrade (Codex 0.171.0 starts the turn by itself).
208
+ Offer the step that keeps this conversation: they exit Codex, run `codex resume <id>` with this conversation's id,
209
+ and trust the hooks when Codex asks. Give them the exact command (the id is `$CODEX_SESSION_ID` in your shell):
210
+ `--last` can pick a newer session. A new chat (`/new`) or a new session is a different conversation, which the
211
+ hooks don't
212
+ wake for work handed over here. If they'd rather not, or they don't trust the hooks, say that the team's questions
213
+ won't arrive here by themselves, and check at each turn (step 2); they can review the hooks later with `/hooks`,
214
+ then resume. A team seat's own hook-review prompt is about that seat: their answer there doesn't change how the
215
+ team reaches them here.
177
216
  - **Any other app** (OMP, for one): there's no wake there. Say so plainly, skip the plugin, and check at each turn
178
217
  (step 2).
179
218
  - **Then go on to step 2:** say it's installed and ask what they want worked on, and in which repository. A plain
@@ -189,8 +228,9 @@ commands; if the two ever differ, this step is right.
189
228
 
190
229
  - **Start OpenRig:** `rig daemon status`, and `rig daemon start` if it isn't running. `rig preflight` and `rig doctor`
191
230
  don't start it. Starting it also starts OpenRig's own team, the kernel, whose operator sets up the person's team.
192
- Keep it. If its output says no person is registered, make the offer it names before you go on, and register only on
193
- the person's yes ("Who answers OpenRig's questions" below).
231
+ Keep it. Then check who answers OpenRig's questions ("Who answers OpenRig's questions" below) before you hand over
232
+ the goal: if no one is registered, make that offer, whether or not the start's output named it, and register only
233
+ on the person's yes.
194
234
  - **If the person uses Codex:** now that OpenRig is running, make the one-time offer under "Codex: one offer, once,
195
235
  after OpenRig starts" at the end of this step.
196
236
  - **Show them OpenRig, the handoff:** once OpenRig is running, open the OpenRig TUI and operator for the person. Say
@@ -342,7 +382,8 @@ commands; if the two ever differ, this step is right.
342
382
 
343
383
  > To ask me anything, create a queue item to my return address, this item's `returnRoute` (`rig queue show <this
344
384
  > id> --full` prints it): `rig queue create --destination <that address> ...`, then
345
- > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
385
+ > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
386
+ > the block is refused because I've already answered, read my answer on that item and carry on. I
346
387
  > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
347
388
  > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
348
389
  > doing and any escalation's id, unless a question about that prompt is already open at my address. Whoever sent
@@ -356,9 +397,13 @@ commands; if the two ever differ, this step is right.
356
397
  > later prompt, even one like it, is a new question to me. Check the effect, and never send again while it's
357
398
  > unknown. To give this work to another seat, hand this item itself on (`rig queue handoff <this id> --to <seat>`), so
358
399
  > my return address goes with it, and don't close it as a duplicate of a new item. If you hand this item on or give
359
- > this work to another seat, copy this paragraph into the new item. When
360
- > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
361
- > evidence ref.
400
+ > this work to another seat, copy this paragraph into the new item. Commit only as an author the person gave you,
401
+ > one they approved when you proposed it, or the one the repository already has (`git config user.name` and
402
+ > `user.email`); if there's none, ask me, and never choose one without their say. When you finish, send the
403
+ > result, with what the latest review found, as a task to my return address:
404
+ > `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
405
+ > close this item with the result, and any file in its evidence ref. A close by itself doesn't reach the person,
406
+ > and the task does.
362
407
 
363
408
  Before that, if you haven't offered the openrig plugin in this conversation yet (step 1; for example because
364
409
  OpenRig was already installed), offer it now as step 1 says: it's still its first offer.
@@ -372,17 +417,26 @@ commands; if the two ever differ, this step is right.
372
417
  this work again. If the outcome is unknown, repeat the same command with
373
418
  `--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
374
419
  same address.
375
- - **Get woken when a task arrives at your address:** skip this where the openrig plugin's hooks run (step 1): they
376
- bring the task by themselves, and this wait would wake you a second time for it. Otherwise, right after the handover,
377
- start this wait with your shell tool's background option (in Claude Code versions that wake you when a background
378
- command ends), with your address in place of `<address>`:
420
+ - **Get woken when a task arrives at your address:** this is how you learn the team asked. Start it right after the
421
+ handover, before you reply to the person, and keep it for as long as work you handed over is open, with the openrig
422
+ plugin too. Its hooks check for new tasks only for two hours after each Claude Code turn, so a task that comes later
423
+ waits for the person, and a setting can turn them off while the plugin's tools stay (`disableAllHooks`, or an
424
+ organization's managed-hooks-only setting). When both bring a task, it can wake you twice: handle it once. Without
425
+ the wait, the team's questions wait at your address until the person asks you. Use your shell tool's background
426
+ option (in Claude Code versions that wake you when a background command ends), with your address in place of
427
+ `<address>`:
379
428
 
380
429
  until OPENRIG_SESSION_NAME='<address>' rig queue list --owned --state pending --json 2>/dev/null | grep -q '"qitemId"'; do sleep 20; done
381
430
 
382
431
  It runs only `rig` and `sleep`, so it spends no model tokens while it waits, and it reads the same in bash and zsh.
383
432
  When it ends, claim each pending task at once (claiming isn't answering: it stays open until the person answers),
384
- handle what's waiting (below), then start the wait again, so it ends only on new work. A harness with no background
385
- wake (Codex, for one) keeps the check whenever the person talks to you.
433
+ handle what's waiting (below), then start the wait again, so it ends only on new work. Run one at a time: if the
434
+ one you started hasn't ended (you haven't been told it did), it's still waiting, because the hooks can bring a task
435
+ you claim before the wait's next check, so don't start another. If you can't tell whether one is still running (after
436
+ the conversation resumed in a new process, say), start one: a second wait costs one extra wake. Stop it only once the
437
+ team has sent the result and nothing in the work is still open, following each handed-on item to its successor
438
+ (`rig queue show <id> --full`): a handoff closes the item it came from while the work goes on. A harness with no
439
+ background wake (Codex, for one) keeps the check whenever the person talks to you.
386
440
  - **When a question arrives at your address as a task,** list the pending work with
387
441
  `OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`. Read each in full
388
442
  (`rig queue show <id> --full`) and show the person the whole question in the team's words. Record only what they
@@ -390,7 +444,9 @@ commands; if the two ever differ, this step is right.
390
444
  `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution '<their words>'`,
391
445
  keeping their words in single quotes and writing each `'` in them as `'\''`, so the shell runs and changes nothing in them.
392
446
  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
393
- asked decides what they mean. Through the plugin's tools with no seat, close it the same way, with `rig_queue_claim`
447
+ asked decides what they mean. Then, unless it's still running, start the wait above again before you end your turn:
448
+ the team's next question comes as a new task, and nothing else tells you it arrived. Through the plugin's tools
449
+ with no seat, close it the same way, with `rig_queue_claim`
394
450
  and then `rig_queue_update`: they act as the address OpenRig issued this conversation. Never answer a question
395
451
  task with `rig send` or `rig_send`: a message has no return address, so the work it starts loses your route, and its
396
452
  seats' prompts then reach no one. You speak as yourself, never as the person. If they aren't there to answer, leave
@@ -461,10 +517,11 @@ commands; if the two ever differ, this step is right.
461
517
  when you saw the prompt first: answer that ask, with
462
518
  `OPENRIG_SESSION_NAME=<address> rig seat decide-permission <ask> --option allow --relay --person-said '<their words>'`
463
519
  (or `--option deny`) for a plain yes or no, or the plugin's `rig_seat_decide_permission`, and as its text says for
464
- words or a condition. Before you decide one under a standing instruction of theirs ("don't ask me about test runs"),
465
- read what the command touches, such as the files a test writes, and check it against what they asked to be asked
466
- about: if it's on that list, ask them. A relay is recorded as relayed by you, and unconfirmed, since OpenRig doesn't
467
- get it from them.
520
+ words or a condition. Then, unless it's still running, start the background wait again before you end your turn
521
+ (step 2), so the next prompt reaches you. Before you decide one under a standing instruction of theirs ("don't ask
522
+ me about test runs"), read what the command touches, such as the files a test writes, and check it against what they
523
+ asked to be asked about: if it's on that list, ask them. A relay is recorded as relayed by you, and unconfirmed,
524
+ since OpenRig doesn't get it from them.
468
525
  It takes their answer for as long as the prompt stays open. Don't type into the seat for it:
469
526
  that answers it in the terminal, ends the ask, and needs their exception for a terminal command. If the reply says it
470
527
  hasn't reached the prompt, the seat's hook stopped reading the ask: tell them, and answer that prompt in the seat like
@@ -33,7 +33,7 @@ one), for a new terminal on the same host and user (over SSH, connect there firs
33
33
  Ask the person's goal, project folder and branch unless they've said, then hand them to the ready operator; do not implement the project yourself.
34
34
  Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName`. By default the
35
35
  person stays with you: hand the goal over as a queue task with a return route, so most of the team's questions come back
36
- to you (choice dialogs and other hosts keep their path), and the result is in the handed-over task's resolution. Write
36
+ to you (choice dialogs and other hosts keep their path), and the team sends its result there as a task. Write
37
37
  the task as the skill's step 2 says ("If the person stays with you"):
38
38
  `rig queue create --destination <canonicalSessionName> --return-route auto --summary "<the goal in a sentence>" --body-file <file> --verify`
39
39
  (if this session joined, `--return-route self` with your `OPENRIG_SESSION_NAME` in front). Only if the person chose to answer
@@ -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.25"
3
+ version: "0.7.26"
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.25"
3
+ version: "0.7.26"
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.24`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.25`). 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`.
@@ -161,6 +161,14 @@ unseen — which makes messages the one delivery channel that never gets skipped
161
161
  A seat's typing guard and `--wait-for-idle` retain their checks. Managed compaction follows the
162
162
  ordinary draft default and explicit operator protections; it separately reconciles its own
163
163
  uncertain `/compact` write before sending restore input. Draft detection isn't complete.
164
+ Since 0.7.25 a message held because a person was drafting in a seat's input is typed once the
165
+ input is clear: once, in order behind earlier held messages from the same sender. A delivery
166
+ drain or a pending restore still holds it, and so does a seat whose typing guard is no longer
167
+ draft-aware, or a message held for an earlier occupant: `rig seat held-messages <seat>` lists what
168
+ stays held. A message only queued for the hook bridge survives a
169
+ daemon restart and is delivered once. One that the hook bridge handed back for typing can still
170
+ read `sending` after a daemon crash; it's never sent again, so if it didn't arrive, check the seat
171
+ with `rig capture <seat>` and send it again.
164
172
  **Each send records one `transport.delivery_evidence` event**, best effort: what was admitted, what
165
173
  reached the input, what the screen check showed, and for which occupant. Read it as what was known
166
174
  about the delivery, not proof the agent read it; where the input landed can read unknown, and a
@@ -350,6 +358,7 @@ unseen — which makes messages the one delivery channel that never gets skipped
350
358
  preview and attach commands. Help or a side trip returns to the same preview.
351
359
  `--provider herdr-app` opens the view inside the herdr-app desktop window as an equal grid with a
352
360
  title per cell; it's a one-shot view (following isn't claimed), so check the cells yourself.
361
+ Since 0.7.25 it also reaches a herdr-app window on another machine.
353
362
  - **`rig walk <seat> --through <files> --pace <n>`** — deliver context pieces through
354
363
  file-backed terminal paste. When the current native generation record resolves, the complete
355
364
  piece and its matching Claude/Codex turn closure must arrive before pacing onward, including
@@ -510,7 +519,9 @@ you that is still running.
510
519
  `--threshold-percent` (of the seat's context window), measured from the seat's own usage sample.
511
520
  - **`rig watchdog update <jobId>`** (`--interval-seconds`, `--message`, `--spec`) — retune a live
512
521
  job in place. It keeps the job id, so a queue row's attachment still holds; don't stop and
513
- re-register a job to change it. A stopped or finished job is refused, not restarted.
522
+ re-register a job to change it. A stopped or finished job is refused, not restarted. Since 0.7.25
523
+ the parked-owner check reminds the same owner at most once an hour by default; its job's
524
+ `owner_min_interval_s` context sets the interval.
514
525
  - **`rig watchdog list` / `show` / `status` / `stop`** — did it fire, is it still live, did someone
515
526
  stop it. `list` defaults to active, compact, and 100; `--all --full` is the complete history.
516
527
  **Quiet skips are not recorded**, so a healthy idle job and a job that never ran look identical
@@ -600,6 +611,9 @@ relay is a reason to inspect the available routing, not to surrender judgment to
600
611
  continuation, alongside the small revision move. Scope creation/move maintains manifest
601
612
  membership; `--depends-on` is advisory build order, while `execution.depends_on` defines
602
613
  executable prerequisites (`rig scope slice create --execution-depends-on <dot-id>` writes it).
614
+ Since 0.7.25 `rig scope slice set` (`--owner`, `--execution-depends-on`, and their `--clear-…`
615
+ forms) and `rig scope mission set` (`--wave <id> --slices <ids>`, or `--status <word>`) write the
616
+ fields the execution view reads into an existing slice or mission.
603
617
  - **`rig workflow continue`** — where you are in a run you have been handed. **It is read-only. It
604
618
  does not continue anything**, despite the name — `project` is the advance verb.
605
619
  - **`rig workflow route`** — the owner of the current step is gone; move *that step* to a live seat
@@ -680,10 +694,16 @@ its tasks and a `claude --resume` in a new process doesn't. Codex gets a message
680
694
  thread once the person trusts the plugin's hooks. **In Codex, hand work over with
681
695
  `rig queue create --return-route auto` in the shell:** the MCP server's `returnRoute` doesn't reach
682
696
  Codex yet. VS Code, Cursor and Copilot CLI run no hooks, so "nothing wakes" above still holds
683
- there. The notes' limits: a return route doesn't guarantee a question's arrival; bringing work into
684
- a Codex conversation hasn't been confirmed on a live Codex run, a backlog of several hundred tasks
685
- can fail to reach Codex on Linux, and a conversation open for over a week can stop being woken. If
686
- something doesn't arrive, list the tasks at the conversation's address. A team seat may say work it
697
+ there. Since 0.7.25 Claude Code's waiter and the plugin's MCP server find `rig` on a login shell's
698
+ PATH, and the notice when `rig` isn't found says how to put its folder on PATH in the login profile:
699
+ once it's there, results return to a Claude Code conversation using the plugin by themselves. So
700
+ when such a conversation never hears its team, check that `rig`'s folder is on the login profile's
701
+ PATH before concluding OpenRig can't reach it. A Codex conversation gets its wakes, and keeps
702
+ getting them after a large backlog and over a long session. The notes' limits: a return route
703
+ doesn't guarantee a question's arrival, and delivery into a Codex conversation needs OpenRig's
704
+ plugin hooks loaded and trusted in that conversation. If something doesn't arrive, list the tasks
705
+ at the conversation's address. The stuck-work sweep doesn't report the conversation's address as
706
+ undelivered. A team seat may say work it
687
707
  sent wasn't delivered when the plugin already brought it, and can send its final result to the
688
708
  operator instead of the conversation.
689
709
 
@@ -761,6 +781,11 @@ not have to tear one down to change it, and you rarely have to start from nothin
761
781
  earlier versions, with its OpenRig seat setting blank, the agent has no OpenRig tools. Since
762
782
  0.7.16 OpenRig's MCP instructions tell the assistant to list the team and ask which assistant a
763
783
  person means when more than one could be. Copilot CLI installs the plugin from the repository's main branch.
784
+ Since 0.7.25 a conversation whose MCP entry names no seat answers its team's questions as the
785
+ address its own request was issued, so answer such a question in that conversation, not as
786
+ yourself; one whose entry names a seat still hears its own questions. A chat app on
787
+ `rig mcp serve --front-door` checks the team every turn and says what a scheduled check needs;
788
+ there's still no push wake for plain chat.
764
789
  - **A Claude member can bring its own setup** in the rig spec: `agent_file`,
765
790
  `append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
766
791
  that seat's own storage, never the project, so one seat in a shared repository can have its own
@@ -770,8 +795,10 @@ not have to tear one down to change it, and you rarely have to start from nothin
770
795
  servers, plugin servers included, on fresh, resume and fork launches.
771
796
  - **A new Claude member can name a prepared subscription token** with
772
797
  `claude_token: {label: name, file: /abs/token}` beside its `env.CLAUDE_CONFIG_DIR`; the seat stores
773
- the file reference and reads it at launch. A missing/unreadable token uses the existing fallback
774
- notice, so verify the account actually used.
798
+ the file reference and reads it at launch. A missing/unreadable token gives the existing fallback
799
+ notice, and the seat starts on its stored login or a token the daemon gives every seat. That token
800
+ reads as token auth in `/status` too, so the notice, not `/status`, says whether the file applied.
801
+ Claude doesn't report which account a token belongs to, so the label is yours.
775
802
  - **`rig community-harness list`**: list installed community-harness presets and declared limits
776
803
  (not tested by OpenRig). A preset can declare how its app reports the conversation each launch
777
804
  made (`launch_result`), reopens one on resume (`resume`) or lets OpenRig name it
@@ -790,6 +817,12 @@ not have to tear one down to change it, and you rarely have to start from nothin
790
817
  The installed package's `daemon/docs/reference/community-harness-examples/dsh/` is an example runner, and
791
818
  `node "$(npm root -g)/@openrig/cli/daemon/docs/reference/runner-conformance/check-runner.mjs" --runner '<command with {agent}>' --name <harness>` checks a
792
819
  runner with no daemon, model, credentials or network.
820
+ Since 0.7.25 a preset can declare its own `activity_hooks`, so its hooks decide its activity and
821
+ attention; a fresh handover to a `first_input` preset passes its restore packet as the first input
822
+ (not yet run with Hermes itself, and a very large packet isn't measured, so check the successor's
823
+ pane); Hermes takes its first startup turn through a query file; and a community seat's fresh
824
+ launch finds its harness past a newer session that lost it. A community seat whose agent exited to
825
+ its shell can still read `run` in `rig ps` while a send to it is refused: `rig capture` shows the pane.
793
826
  `passes_model: true` sends the declared model as `OPENRIG_MODEL`; it does not establish the
794
827
  effective model. Cursor and Hermes examples leave model passing off pending native qualification.
795
828
  `docs/reference/community-harness-presets.md` is the contract: what a community harness gets from
@@ -836,7 +869,11 @@ not have to tear one down to change it, and you rarely have to start from nothin
836
869
  `rig seat launch <session> --fresh --stop`. Since 0.7.16 a launch isn't refused because another
837
870
  seat in the rig is paused or being typed in, and it takes a seat's session name, including an
838
871
  adopted seat's raw tmux name; ambiguous names aren't launched, and the other unambiguous
839
- selections are handled normally.
872
+ selections are handled normally. Since 0.7.25 a Codex seat stopped at Codex's "Hooks need review"
873
+ menu reads as needing input in `rig ps`, `rig seat status` and activity, and its alert gives the
874
+ command to attach to its terminal: attach and decide it, since nothing is approved for you. A
875
+ resumed Claude seat waiting for sign-in reads as needing sign-in, not as a failed resume, and a
876
+ failed Claude resume suggests updating Claude Code before a fresh start.
840
877
  - **`keep_alive: true`** (rig spec member, or an AgentSpec's `lifecycle.keep_alive`; off by default)
841
878
  — the daemon relaunches that seat through the same one-seat launch when it falls while the daemon
842
879
  runs, and leaves it down after `rig seat stop` or `rig down`, which record the stop before stopping
@@ -850,6 +887,12 @@ not have to tear one down to change it, and you rarely have to start from nothin
850
887
  only in a running rig, where another seat is live, and never revives a deliberate stop
851
888
  (`rig seat stop`, `rig down`, a removal), a failed start or a seat no longer in the spec
852
889
  (`docs/reference/rig-spec.md`, "Queue-driven cold start").
890
+ - **Idle stop** (since 0.7.25; daemon settings, off by default) — `policies.seat_scale.enabled`,
891
+ with the rigs listed in `policies.seat_scale.opt_in_rigs`, lets the daemon stop a provably idle
892
+ seat to free its memory. `policies.seat_scale.observe` is on by default: until it's turned off, an
893
+ opted-in rig only logs `would-reap-observe` and stops nothing. An open "Team seats and edges
894
+ recorded" notice counts as pending work, so that seat's idle timer doesn't start until the notice
895
+ is closed.
853
896
  - **`rig seat launch <seat> --fresh --reason <why>`** — deliberately create a blank occupant for
854
897
  exactly one existing seat. It uses no resume, fork, rebuild, snapshot, or restore packet;
855
898
  siblings and durable work stay put, and unmanaged ambiguity refuses. With `--stop`, a seat with a
@@ -861,7 +904,11 @@ not have to tear one down to change it, and you rarely have to start from nothin
861
904
  Repository history and tool descriptions aren't assignments. Since 0.7.24, when OpenRig records a
862
905
  new team's seats and edges, each agent that started gets one notice to run `rig whoami` again. It
863
906
  says it's information, with nothing to claim, write or follow up: don't take it as work. The
864
- stuck-work sweep doesn't chase it, and refocus sets it aside.
907
+ stuck-work sweep doesn't chase it, and refocus sets it aside. Since 0.7.25 it waits in the
908
+ agent's queue without waking it or reaching its terminal, and `rig ps`, the seat pool and the
909
+ parked-owner check don't count it as work; after an upgrade from 0.7.24 a seat may get it once
910
+ more. A new Claude Code seat can occasionally show ready before its startup prompt is submitted:
911
+ if work doesn't start, open the seat's terminal and submit the staged prompt.
865
912
  - **`rig seat restart <seat> --keep-conversation --reason <why>`** — restart one Codex seat in its
866
913
  own pane on the same conversation, so it starts again on whatever account its Codex home now
867
914
  holds; it doesn't switch accounts itself. It refuses with nothing stopped unless the seat is a
@@ -875,7 +922,9 @@ not have to tear one down to change it, and you rarely have to start from nothin
875
922
  which conversation Codex is on now. If the conversation was changed inside the running Codex,
876
923
  the restart may refuse or resume the earlier one, so look at the pane (`rig capture <seat>`) first.
877
924
  Since 0.7.15, when it refuses a recoverable seat whose tmux session is gone (`session_not_live`),
878
- it names the way back: `rig launch '<rig>' '<node>'` (add `--plan` to preview).
925
+ it names the way back: `rig launch '<rig>' '<node>'` (add `--plan` to preview). Since 0.7.25 it
926
+ no longer refuses because OpenRig's own guidance changed; the restarted seat then runs without
927
+ OpenRig's startup guidance, and the plan says so.
879
928
  - **`rig add`** / **`rig expand`** — graft one more member, or a whole new pod, onto a rig that is
880
929
  already running. `rig add`, `rig grow` and `rig remove` take the rig's name or ID; a name two active rigs share is refused
881
930
  with `rig_ambiguous` and the candidates. `rig grow --new-pod` and `rig expand` are one ingress; choose by input shape.
@@ -1511,7 +1560,12 @@ working arrangement becomes something someone else can instantiate.
1511
1560
  `--out <file>`, or prints it with `--preview`, without changing the queue. `import --dry-run`
1512
1561
  reviews the archive against this install and writes nothing; without it, the archive is only
1513
1562
  staged, inactive (`rig queue staging list`, `rig queue staging discard <importId>`). Nothing is
1514
- written to the queue and nothing activates, so don't promise a completed move.
1563
+ written to the queue and nothing activates until it's carried through. Since 0.7.25
1564
+ **`rig queue transfer`** does that through the daemon: `authorize <importId>` from the staging
1565
+ manifest, `relinquish` asks the source to fence what it handed over (or `attest` records an
1566
+ unreachable source's isolation), `activate <importId>` on the destination, then `reconcile` the
1567
+ source against the result; `status` reads the transfer ledger. Until `activate` reports it, don't
1568
+ promise a completed move.
1515
1569
  - **`rig bundle create` / `inspect` / `install` / `history`** — one file that rebuilds a rig on a
1516
1570
  machine with none of its content, what is inside one before you trust it, and what has actually
1517
1571
  been installed here. Since 0.7.24 `create` doesn't record the builder's host name and session in
@@ -1713,7 +1767,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1713
1767
  the one exception is the seat named in `agents.operator_session`, the host's receiving agent: it
1714
1768
  settles the permission requests a person answered, so it runs `rig seat decide-permission` without
1715
1769
  a prompt, and a setting it can't read keeps the ask. Routine `rig` commands used to prompt, so
1716
- don't widen permissions to avoid prompts. Codex team seats run
1770
+ don't widen permissions to avoid prompts. A seat that runs several `rig` commands in one Bash
1771
+ call, or builds one from shell variables, can still stop at an approval prompt: run one plain
1772
+ `rig` command per call. Codex team seats run
1717
1773
  `workspace-write` with the workspace root and their pod's state folder writable. When Codex's
1718
1774
  own config check shows a default-sandbox seat is eligible, OpenRig turns its network access on
1719
1775
  (`network_access = false` keeps it off); if that check can't be read, the launch is left
@@ -1738,7 +1794,7 @@ your circumstances is configuration, and the ones that are not, another agent ca
1738
1794
  - **A team Claude Code seat's permission prompt also goes to a person through OpenRig** (since
1739
1795
  0.7.24; `openrig-core` 0.1.40's `PermissionRequest` hook). For up to a day it's an ask
1740
1796
  (`qitem-runner-permission-…`) with the exact action, to the person chosen for the seat
1741
- (`rig seat set-permissions-to <seat> --to <person>`), else the conversation that handed the seat
1797
+ (`rig seat set-permissions-to <seat> --to <person> --reason "…"`), else the conversation that handed the seat
1742
1798
  its work. They see it in the Feed and Steering, through their connector, or in their own
1743
1799
  conversation. Since 0.7.25 it never falls back to the default person: with neither, no one is
1744
1800
  asked, nothing is decided, and the prompt stays in the seat's terminal with its usual alert.
@@ -1754,13 +1810,12 @@ your circumstances is configuration, and the ones that are not, another agent ca
1754
1810
  answers in the terminal. Prompts that need the person's own input, such as `AskUserQuestion`, stay
1755
1811
  in the terminal. While the question is open, OpenRig holds its usual alert about the seat's
1756
1812
  waiting prompt; once it's decided, the seat's next prompt alerts as usual.
1757
- `rig seat set-permissions-to <seat> --deny` keeps a Claude Code seat's prompts in its terminal
1813
+ `rig seat set-permissions-to <seat> --deny --reason "…"` keeps a Claude Code seat's prompts in its terminal
1758
1814
  only: on a Claude Code seat that stops the question and refuses nothing. Fixed in 0.7.25: a later
1759
1815
  question stays open when an earlier identical call finishes, and a receiving agent named in
1760
1816
  `agents.operator_session` settles the permission requests you answered without a terminal prompt
1761
- for each, as before 0.7.24. *(This paragraph and the `rig seat decide-permission` line under
1762
- "What a team seat may do without asking" are corrected for 0.7.25. The rest of this map still
1763
- teaches through `capability-delta-v0.7.24`.)*
1817
+ for each, as before 0.7.24. Since 0.7.25 `rig seat status` says who a Claude Code seat's own
1818
+ prompts are asked of.
1764
1819
  - **`permission_policy: builtin:auto`**, and a fixed order for a seat's first launch:
1765
1820
  `rig seat set-permissions`, then the member policy, then the rig policy, then the system floor.
1766
1821
  See `docs/reference/rig-spec.md#built-in-permission-policies`.
@@ -1803,6 +1858,12 @@ your circumstances is configuration, and the ones that are not, another agent ca
1803
1858
  accounts exist, and which account each seat is *supposed* to be on. To act on a Codex home on
1804
1859
  another machine, `rig auth status|list|switch` take `--host <id>` and `--codex-home <dir>`, and
1805
1860
  `rig seat restart` takes `--host <id>`.
1861
+ - **`rig provider account add|list|remove`** and **`rig provider assign <rig>`** (since 0.7.25) —
1862
+ name a Claude or Codex account by label, then move a whole rig's seats of one provider to it
1863
+ through a plan you read first. `rig provider assign <rig> --provider <claude|codex> --account <label>`
1864
+ shows the plan and its digest (without both it refuses before planning), and the same command with
1865
+ `--apply --plan <digest>` carries it out one seat at a time, changing nothing unless the plan is
1866
+ still the one you reviewed.
1806
1867
  - **`rig provider accounts` / `bindings` / `signals` / `switch`** — which seats are bound to which
1807
1868
  accounts (`bindings` is the configured account, not proof a seat launched on it or is signed
1808
1869
  in), what the usage signals say, and whether a seat can be moved without stranding the
@@ -1865,8 +1926,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1865
1926
  another machine over SSH. See rig-spec's "Assigning an account to a whole rig".
1866
1927
  - **Claude subscription/API-key switching resumes the same conversation and interrupts work:**
1867
1928
  `rig provider switch --seat <seat> --to-account api --api-key-file <abs>`; return with
1868
- `--to-account plan --token-file <abs>`. The API-key path remains unqualified; verify the resulting
1869
- account and conversation. Do not combine API-key and account-home selectors.
1929
+ `--to-account plan --token-file <abs>`. The API-key path remains unqualified; check the resulting
1930
+ conversation and whether the switch report says the file applied (`/status` shows only the auth
1931
+ method, and for a token Claude doesn't report which account it belongs to). Do not combine API-key and account-home selectors.
1870
1932
  - **`rig provider status --refresh --provider claude --claude-token-file <absolute path>
1871
1933
  --credential-label <label>`** — read a labelled Claude token's usage on demand. Each refresh spends
1872
1934
  one model turn; status and the TUI show only the cached reading, and the label is yours, not an