@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
package/README.md CHANGED
@@ -26,14 +26,14 @@ use:
26
26
 
27
27
  ```sh
28
28
  # Claude Code
29
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.25/skills/rigs --skill rigs --agent claude-code
29
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.26/skills/rigs --skill rigs --agent claude-code
30
30
  # Codex
31
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.25/skills/rigs --skill rigs --agent codex
31
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.26/skills/rigs --skill rigs --agent codex
32
32
  # OMP (Oh My Pi): the pi target installs to .agents/skills, which OMP reads
33
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.25/skills/rigs --skill rigs --agent pi
33
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.26/skills/rigs --skill rigs --agent pi
34
34
  ```
35
35
 
36
- **OMP:** this pin installs the shared skill only. The `v0.7.25` skill includes OMP attachment guidance (`rig attach --self … --runtime omp`),
36
+ **OMP:** this pin installs the shared skill only. The `v0.7.26` skill includes OMP attachment guidance (`rig attach --self … --runtime omp`),
37
37
  but complete setup from OMP has not been verified. OMP isn't a kernel provider; Claude Code or Codex must still be
38
38
  signed in.
39
39
 
@@ -76,11 +76,11 @@ Setting up Node.js on Linux, on a Mac where you aren't an administrator, or on W
76
76
 
77
77
  ### Install it yourself
78
78
 
79
- This runs OpenRig's install script from the `v0.7.25` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
79
+ This runs OpenRig's install script from the `v0.7.26` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
80
80
 
81
81
  ```bash
82
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.25/scripts/install.sh | sh -s -- --dry-run
83
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.25/scripts/install.sh | sh
82
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.26/scripts/install.sh | sh -s -- --dry-run
83
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.26/scripts/install.sh | sh
84
84
  ```
85
85
 
86
86
  If the last step isn't ready, the installer reports `INSTALLED, SETUP NOT COMPLETE` and points to the details from `rig setup` above. Follow that output and any reported Fix, then rerun `rig setup`; the CLI does not need reinstalling. If the only remaining failures are provider sign-ins, sign in to each selected provider as below and continue.
@@ -1,5 +1,12 @@
1
- // The declarations TypeScript callers use (the conversation key, recorded by the CLI and the MCP server); the script itself
2
- // is plain CommonJS so the openrig plugin can ship and run a copy of it.
1
+ // The declarations TypeScript callers use (the conversation key, recorded by the CLI and the MCP server; the plugin's `rig`
2
+ // lookup, which `rig doctor` checks a login shell with); the script itself is plain CommonJS so the openrig plugin can ship
3
+ // and run a copy of it.
3
4
  export const CONVERSATION_KEY_TAG_PREFIX: string;
4
5
  export function conversationKey(opts?: { pid?: number; env?: NodeJS.ProcessEnv; read?: (pid: number) => { pid: number; ppid: number; start: string; names: string[] } | null }): string | null;
5
6
  export function conversationKeyTag(key: string): string;
7
+ export function findRig(opts?: { env?: NodeJS.ProcessEnv; projectDir?: string }): string | null;
8
+ export function loginShellPath(opts?: {
9
+ env?: NodeJS.ProcessEnv;
10
+ spawnSync?: (file: string, args: string[], options: { env?: NodeJS.ProcessEnv; encoding: "utf8"; timeout: number; stdio: unknown }) =>
11
+ { error?: unknown; status: number | null; stdout?: string | null };
12
+ }): string | null;
@@ -42,5 +42,22 @@ const TEAM_CLAUDE_ASK = [
42
42
  // permission requests a person answered, so seat decide-permission doesn't ask there. claude-team-permissions.cjs
43
43
  // reads the setting through the seat's own rig, and only when a command names decide-permission.
44
44
  const RECEIVING_AGENT_NO_ASK = ["Bash(rig seat decide-permission:*)"];
45
+ // The read-only forms of asked lifecycle commands: with its `read` flag the command shows a plan or a state, and starts,
46
+ // stops, removes or replaces nothing and records no permission choice (each from the command's own help and source), so
47
+ // it runs like --help. Every other form still asks. `destroy --state` destroys state, so it isn't one. `flags` are that
48
+ // command's options that take no value. The argument walk skips values of all other options, including a value that
49
+ // looks like the read flag (`--reason --plan`), and accepts joined values (`--reason=why --plan`).
50
+ const LIFECYCLE_READ_FLAGS = {
51
+ "up": { read: "--plan", flags: ["--non-interruptive", "--no-non-interruptive", "--yes", "--existing", "--json"] },
52
+ "launch": { read: "--plan", flags: ["--json"] },
53
+ "bootstrap": { read: "--plan", flags: ["--yes", "--skip-version-check", "--force", "--json"] },
54
+ "bundle install": { read: "--plan", flags: ["--non-interruptive", "--no-non-interruptive", "--yes", "--skip-version-check", "--force", "--json"] },
55
+ "handover": { read: "--dry-run", flags: ["--recover", "--json"] },
56
+ "seat handover": { read: "--dry-run", flags: ["--recover", "--json"] },
57
+ "seat launch": { read: "--plan", flags: ["--fresh", "--stop", "--json"] },
58
+ "seat restart": { read: "--plan", flags: ["--keep-conversation", "--verify", "--json"] },
59
+ "setup": { read: "--dry-run", flags: ["--json", "--full", "--no-herdr", "--ghostty", "--no-ghostty"] },
60
+ "compact": { read: "--state", flags: ["--json", "--skip-map", "--cancel"] },
61
+ };
45
62
 
46
- module.exports = { KERNEL_CLAUDE_ALLOW, TEAM_CLAUDE_ALLOW, TEAM_CLAUDE_ASK, RECEIVING_AGENT_NO_ASK };
63
+ module.exports = { KERNEL_CLAUDE_ALLOW, TEAM_CLAUDE_ALLOW, TEAM_CLAUDE_ASK, RECEIVING_AGENT_NO_ASK, LIFECYCLE_READ_FLAGS };
@@ -2,3 +2,4 @@ export const KERNEL_CLAUDE_ALLOW: string[];
2
2
  export const TEAM_CLAUDE_ALLOW: string[];
3
3
  export const TEAM_CLAUDE_ASK: string[];
4
4
  export const RECEIVING_AGENT_NO_ASK: string[];
5
+ export const LIFECYCLE_READ_FLAGS: Record<string, { read: string; flags: string[] }>;
@@ -207,6 +207,27 @@ function helpOnly(tokens, prefixLength) {
207
207
  && args.slice(0, help).every(t => !t.value.startsWith("-"));
208
208
  }
209
209
 
210
+ // A lifecycle command's read-only form (LIFECYCLE_READ_FLAGS): its read flag among literal arguments, before any `--`,
211
+ // with no `--` before the subcommand, and not where an option before it could take it as a value. It only shows a plan
212
+ // or a state, so, like help, it doesn't ask.
213
+ function readOnly(tokens, prefix, prefixLength) {
214
+ const form = require("./claude-permission-policies.cjs").LIFECYCLE_READ_FLAGS[prefix.slice(1).join(" ")];
215
+ if (!form || tokens.slice(1, prefixLength).some(t => t.value === "--")) return false;
216
+ const args = tokens.slice(prefixLength);
217
+ if (!args.every(t => t.literal)) return false;
218
+ const end = args.findIndex(t => t.value === "--");
219
+ const scan = end === -1 ? args : args.slice(0, end);
220
+ for (let i = 0; i < scan.length; i++) {
221
+ const value = scan[i].value;
222
+ if (value === form.read) return true;
223
+ // A joined value is already consumed. A declared boolean consumes nothing;
224
+ // other options take the next word, even when that word looks like a flag.
225
+ // A lone `-` is an operand, as commander reads it (an option is longer than one character).
226
+ if (value.length > 1 && value.startsWith("-") && !value.includes("=") && !form.flags.includes(value)) i++;
227
+ }
228
+ return false;
229
+ }
230
+
210
231
  function decide(command, policy, depth = 0) {
211
232
  if (depth > 4) return undefined;
212
233
  const { main, expanding } = splitHeredocs(command);
@@ -232,7 +253,7 @@ function decide(command, policy, depth = 0) {
232
253
  const tokens = normalize(command.slice(i));
233
254
  for (const prefix of asks) {
234
255
  const end = prefixEnd(tokens, prefix);
235
- if (end !== undefined && !helpOnly(tokens, end)) return "ask";
256
+ if (end !== undefined && !helpOnly(tokens, end) && !readOnly(tokens, prefix, end)) return "ask";
236
257
  }
237
258
  }
238
259
  }
@@ -1,9 +1,8 @@
1
1
  # Finding your skills and context
2
2
 
3
- A map, not instructions: when you need one of these, this is where it is.
4
-
5
- - **Skills:** the `openrig-skills` skill routes you to the skill for a task. `rig skill loadout --seat self` lists your seat's own.
6
- - **Help:** `rig context get help` when OpenRig itself misbehaves. `rig context list` shows the context you can load.
7
- - **Your work:** `rig context work-install` lists what your project declares: its intent, context files and skills.
3
+ - **Claude Code Bash:** one plain `rig` command per call; row text via `--body-file`. See `openrig-user` for the method and why compound commands can prompt.
4
+ - **Skills:** `openrig-skills` routes tasks; `rig skill loadout --seat self` lists your seat's skills.
5
+ - **Help:** `rig context get help` for OpenRig problems; `rig context list` lists available context.
6
+ - **Your work:** `rig context work-install` lists declared project intent, context and skills.
8
7
  - **Asking another team:** if `rig whoami` names a network binding, `rig network peers` lists whom you can ask and `rig network request` sends a request (experimental and unsupported, at your own risk). `rig network request --help` says how to be woken when its answer lands.
9
8
  - **What your rig and seat have learned:** `LEARNED.md` in `$(rig config get topology.root)/rigs/<rig>/` for the rig, and in its `seats/<seat>/` for your seat (`rig whoami --json` names both).
@@ -25,6 +25,9 @@ mean the session was quiet.**
25
25
 
26
26
  ```bash
27
27
  rig send <session> "message" # types into their terminal and presses enter
28
+ ```
29
+
30
+ ```bash
28
31
  rig capture <session> # reads what is on their screen
29
32
  ```
30
33
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "logo": "assets/logo.svg"
6
6
  }
@@ -188,8 +188,10 @@ The app starts one `openrig` server, `rig mcp serve --front-door`, from the root
188
188
  ## What it doesn't do
189
189
 
190
190
  - It adds no panel to the app. Where its hooks don't run (apps other than Claude Code and Codex), nothing wakes your
191
- chat when the team asks or finishes: ask your agent to check.
191
+ chat when the team asks or finishes. While work it handed over is open, your agent checks on that work at the start
192
+ of each of its turns, and an app's scheduled task can check between your messages (your agent says what that needs).
192
193
  - Everyone using the app on this machine acts as the seat it names.
193
194
  - It reaches a team on this machine.
194
- - **Outside Claude Code and Codex,** until you give the app a seat, it hands the team work only as an unknown sender
195
- with no return address, and it can't record answers to the team's questions: see "No seat" above for how.
195
+ - **Outside Claude Code and Codex,** until you give the app a seat, it hands the team work as an unknown sender. A task
196
+ it creates with `returnRoute` `auto` gets an address of the conversation's own, and it can answer the team's questions
197
+ about that task; anything else needs a seat (see "No seat" above).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "openrig",
4
- "version": "0.7.25",
4
+ "version": "0.7.26",
5
5
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
6
6
  "author": {
7
7
  "name": "Mike Schwarz",
@@ -38,7 +38,8 @@ behave; this skill is the loop around them.
38
38
  because your seat has no terminal and `rig send` can't reach it:
39
39
 
40
40
  > To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
41
- > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
41
+ > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
42
+ > the block is refused because I've already answered, read my answer on that item and carry on. I
42
43
  > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
43
44
  > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
44
45
  > doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
@@ -49,12 +50,19 @@ behave; this skill is the loop around them.
49
50
  > stays a no. If they gave no answer, or their words don't clearly
50
51
  > pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
51
52
  > never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
52
- > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
53
- > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
54
- > evidence ref.
53
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. Commit
54
+ > only as an author the person gave you, one they approved when you proposed it, or the one the repository already
55
+ > has (`git config user.name` and `user.email`); if there's none, ask me, and never choose one without their say.
56
+ > When you finish, put the outcome in this item's resolution, with what
57
+ > the latest review found, and any file in its evidence ref.
55
58
  - With an address of this chat's own (`returnRoute` in the result), with or without a seat, end the body with the result
56
59
  route instead:
57
60
 
61
+ > Commit only as an author the person gave you, one they approved when you proposed it, or the one the repository
62
+ > already has (`git config user.name` and `user.email`); if there's none, ask the person with a task to this item's
63
+ > return route and block this item on it (`rig queue block <this id> --on <question id>`), so their answer wakes
64
+ > you (if the block is refused because they've already answered, read their answer on that task and carry on), and
65
+ > never choose one without their say.
58
66
  > When you finish, send the result as a task to this item's return route (`rig queue show <this id>` names it):
59
67
  > `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
60
68
  > close this item with the result. A close by itself doesn't reach the person's chat, and the task does. If you
@@ -95,7 +103,9 @@ task, without anyone asking you to check.
95
103
  - A Codex whose `codex queue` has no `--resume` (Codex 0.171.0 has it) gets the tasks at this chat's next turn, not
96
104
  while it's idle. The hooks say so once in the chat: tell the person in plain words.
97
105
  - The hooks read only the addresses recorded under this chat's key, from OpenRig's own record, and check them for new
98
- tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat.
106
+ tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat. In
107
+ Claude Code they check for up to two hours after each turn, so while work you handed over is open, keep the
108
+ background wait the rigs skill gives running alongside them, and start it again whenever it ends.
99
109
  - Each one says it came from OpenRig's hook bridge and names its sender as OpenRig recorded it. It's a task like any
100
110
  other: show it to the person and record their words, as below.
101
111
  - A wake comes only when your turn ends, so while the team works, end your turn rather than watching its seats
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.25",
3
+ "version": "0.7.26",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -38,7 +38,8 @@ behave; this skill is the loop around them.
38
38
  because your seat has no terminal and `rig send` can't reach it:
39
39
 
40
40
  > To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
41
- > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
41
+ > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
42
+ > the block is refused because I've already answered, read my answer on that item and carry on. I
42
43
  > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
43
44
  > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
44
45
  > doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
@@ -49,12 +50,19 @@ behave; this skill is the loop around them.
49
50
  > stays a no. If they gave no answer, or their words don't clearly
50
51
  > pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
51
52
  > never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
52
- > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
53
- > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
54
- > evidence ref.
53
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. Commit
54
+ > only as an author the person gave you, one they approved when you proposed it, or the one the repository already
55
+ > has (`git config user.name` and `user.email`); if there's none, ask me, and never choose one without their say.
56
+ > When you finish, put the outcome in this item's resolution, with what
57
+ > the latest review found, and any file in its evidence ref.
55
58
  - With an address of this chat's own (`returnRoute` in the result), with or without a seat, end the body with the result
56
59
  route instead:
57
60
 
61
+ > Commit only as an author the person gave you, one they approved when you proposed it, or the one the repository
62
+ > already has (`git config user.name` and `user.email`); if there's none, ask the person with a task to this item's
63
+ > return route and block this item on it (`rig queue block <this id> --on <question id>`), so their answer wakes
64
+ > you (if the block is refused because they've already answered, read their answer on that task and carry on), and
65
+ > never choose one without their say.
58
66
  > When you finish, send the result as a task to this item's return route (`rig queue show <this id>` names it):
59
67
  > `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
60
68
  > close this item with the result. A close by itself doesn't reach the person's chat, and the task does. If you
@@ -95,7 +103,9 @@ task, without anyone asking you to check.
95
103
  - A Codex whose `codex queue` has no `--resume` (Codex 0.171.0 has it) gets the tasks at this chat's next turn, not
96
104
  while it's idle. The hooks say so once in the chat: tell the person in plain words.
97
105
  - The hooks read only the addresses recorded under this chat's key, from OpenRig's own record, and check them for new
98
- tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat.
106
+ tasks. Claude Code wakes you with them when a turn ends. Codex gets them as a message queued for this chat. In
107
+ Claude Code they check for up to two hours after each turn, so while work you handed over is open, keep the
108
+ background wait the rigs skill gives running alongside them, and start it again whenever it ends.
99
109
  - Each one says it came from OpenRig's hook bridge and names its sender as OpenRig recorded it. It's a task like any
100
110
  other: show it to the person and record their words, as below.
101
111
  - A wake comes only when your turn ends, so while the team works, end your turn rather than watching its seats
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -29,6 +29,14 @@ constraint-induced circumvention: under goal pressure, agents build shadow trans
29
29
  credentials, and weaker proof instead of the direct authorized path. Keep only explicitly stated
30
30
  external or irreversible boundaries — public push / PR / publish, and destruction of canonical data.
31
31
 
32
+ ## Running `rig` in Claude Code's Bash tool
33
+
34
+ Run one plain `rig` command per Bash tool call, without shell variable assignments, command
35
+ substitutions (`$(...)`) or loops. Put queue-row text in a file and pass `--body-file` with its
36
+ literal absolute path. A compound command can stop at a permission prompt even when `Bash(rig:*)`
37
+ is allowed, with nobody at the seat to answer. Prepare the file in a separate tool call, then run
38
+ the `rig` command by itself. The send and queue examples below show this shape.
39
+
32
40
  ## Coordination primitives — when to use which
33
41
 
34
42
  Three coordination surfaces, used together for forward-momentum work. Internalize this
@@ -1033,9 +1041,10 @@ first-run trust settings) into the seat's home.
1033
1041
 
1034
1042
  ### Move one Codex seat to another login
1035
1043
 
1036
- For a Codex seat on Linux. The login must already be saved in the Codex home the seat runs on (`rig seat status <seat>`
1037
- shows it). Other operating systems, and moving a seat to another home, aren't supported by this command yet: say so instead
1038
- of improvising. A Claude seat moves differently; see the next section.
1044
+ For a Codex seat on Linux or macOS. The login must already be saved in the Codex home the seat runs on (`rig seat status
1045
+ <seat>` shows it), and the seat stays on that home. Other operating systems aren't supported by this command yet: say so
1046
+ instead of improvising. Moving a seat to another home is a different change (`--account-home <path>` starts a fresh
1047
+ successor there with a handover). A Claude seat moves differently; see the next section.
1039
1048
 
1040
1049
  1. **Save each login once, in that home:** `CODEX_HOME=<home> codex login` (the person signs in), then
1041
1050
  `CODEX_HOME=<home> rig auth save <name>`. `rig auth list --codex-home <home>` lists them.
@@ -1067,9 +1076,17 @@ the file's path and your label, never the token.
1067
1076
  resumes the seat's conversation, sets the reference, and relaunches the seat from that snapshot in its own pane: the pane
1068
1077
  and its scrollback stay, but work in flight when Claude ended doesn't carry over. Seats sharing the config dir keep their
1069
1078
  own login. `--stored-login` moves the seat back; if the seat still receives a `CLAUDE_CODE_OAUTH_TOKEN`, Claude uses that
1070
- instead of the stored login, and the report names it.
1071
- 4. **Confirm:** after the seat completes a real tool-using turn, its `/status` shows token auth, with no account email. The
1072
- label is yours, not an account Claude observed: say so. A token session can't use claude.ai connectors or Remote Control.
1079
+ instead of the stored login. The report names one the switch's check finds (the daemon's environment, the seat's `env:` or
1080
+ its settings files); one the pane shell exports isn't checked or named.
1081
+ 4. **Confirm:** read the switch report first. When the launch couldn't apply the token file, it says the token didn't take
1082
+ effect (`tokenApplied: false` in `--json`), and the seat runs on whatever credential it would otherwise receive (its
1083
+ stored login, a token the daemon gives every seat, or one in the seat's `env:`), which may be another account: fix the
1084
+ file, then relaunch the seat or switch it again. When OpenRig couldn't tell whether the token took effect, the report
1085
+ says so and why (`tokenApplied: null`). That doesn't mean the token failed: check the seat's pane (`rig capture <seat>`),
1086
+ where OpenRig's notice says when it didn't take effect. After the seat completes a real
1087
+ tool-using turn, its `/status` shows the auth method; a token from the daemon reads as token auth too, so `/status` alone
1088
+ can't show that the selected file applied. Claude doesn't report which account a token belongs to (`claude auth status` says only that a token is set), so the label is yours, not
1089
+ an account Claude observed: say so. A token session can't use claude.ai connectors or Remote Control.
1073
1090
  The token is in Claude's environment, so the tools, hooks and MCP servers it starts inherit it; don't have it print its
1074
1091
  environment. A relaunch that didn't resume reads unknown, with its recovery command; never run the switch again for it.
1075
1092
  `rig seat status <seat>` shows the reference, and says when its file won't apply at the next launch.
@@ -74,8 +74,11 @@ The outcomes above ride on three DISTINCT mechanisms; keep them separate:
74
74
  OpenRig path EDITS provider-owned native **session / auth / transcript** files to
75
75
  inject context. Context enters ONLY through sanctioned channels: the hook
76
76
  `additionalContext`, a normal user message via `rig send`, or Codex resume tokens.
77
- Precise nuance: OpenRig *does* write `~/.codex/config.toml` — but only to install
78
- OpenRig activity **hooks** and `[features]`, never session or auth state. So the
77
+ Precise nuance: OpenRig *does* write `~/.codex/config.toml`: it installs OpenRig
78
+ activity **hooks** and `[features]`, marks each Codex seat's workspace trusted at
79
+ seat startup (`trust_level = "trusted"` for the workspace path, replacing a value
80
+ already there), and can add selected MCP or config resources. It never writes
81
+ session or auth state. So the
79
82
  rule is "never edits native session/auth/transcript files," NOT "never touches any
80
83
  provider-owned file."
81
84