@openrig/cli 0.7.15 → 0.7.16

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 (402) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/README.md +26 -7
  6. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +4 -1
  10. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +1 -1
  11. package/daemon/assets/skills/rigs/SKILL.md +105 -30
  12. package/daemon/context-packs/help/manifest.yaml +1 -1
  13. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  14. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +92 -17
  15. package/daemon/context-packs/reference/getting-started.md +9 -8
  16. package/daemon/context-packs/reference/manifest.yaml +4 -1
  17. package/daemon/context-packs/reference/product-journey-sdlc.md +348 -0
  18. package/daemon/context-packs/reference/rig-spec.md +92 -4
  19. package/daemon/context-packs/reference/whats-new.md +210 -5
  20. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +4 -1
  24. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +1 -1
  72. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  75. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  76. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  77. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  78. package/daemon/dist/adapters/claude-code-adapter.js +6 -3
  79. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  80. package/daemon/dist/adapters/codex-resume.d.ts +2 -0
  81. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  82. package/daemon/dist/adapters/codex-resume.js +28 -11
  83. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  84. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +15 -0
  85. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  86. package/daemon/dist/adapters/codex-runtime-adapter.js +75 -28
  87. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  88. package/daemon/dist/adapters/tmux.d.ts +3 -0
  89. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  90. package/daemon/dist/adapters/tmux.js +16 -2
  91. package/daemon/dist/adapters/tmux.js.map +1 -1
  92. package/daemon/dist/build-info.js +3 -3
  93. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  94. package/daemon/dist/db/all-migrations.js +4 -0
  95. package/daemon/dist/db/all-migrations.js.map +1 -1
  96. package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts +14 -0
  97. package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts.map +1 -0
  98. package/daemon/dist/db/migrations/167_seat_handover_attempts.js +54 -0
  99. package/daemon/dist/db/migrations/167_seat_handover_attempts.js.map +1 -0
  100. package/daemon/dist/db/migrations/169_seat_runtime_home_records.d.ts +5 -0
  101. package/daemon/dist/db/migrations/169_seat_runtime_home_records.d.ts.map +1 -0
  102. package/daemon/dist/db/migrations/169_seat_runtime_home_records.js +25 -0
  103. package/daemon/dist/db/migrations/169_seat_runtime_home_records.js.map +1 -0
  104. package/daemon/dist/domain/claim-service.d.ts +1 -3
  105. package/daemon/dist/domain/claim-service.d.ts.map +1 -1
  106. package/daemon/dist/domain/claim-service.js +3 -1
  107. package/daemon/dist/domain/claim-service.js.map +1 -1
  108. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +11 -0
  109. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  110. package/daemon/dist/domain/claude-compaction-enforcer.js +83 -36
  111. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  112. package/daemon/dist/domain/codex-filesystem-preflight.d.ts +33 -0
  113. package/daemon/dist/domain/codex-filesystem-preflight.d.ts.map +1 -0
  114. package/daemon/dist/domain/codex-filesystem-preflight.js +255 -0
  115. package/daemon/dist/domain/codex-filesystem-preflight.js.map +1 -0
  116. package/daemon/dist/domain/codex-member-permissions.d.ts +23 -2
  117. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
  118. package/daemon/dist/domain/codex-member-permissions.js +55 -9
  119. package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
  120. package/daemon/dist/domain/codex-network-default.d.ts +13 -0
  121. package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
  122. package/daemon/dist/domain/codex-network-default.js +37 -30
  123. package/daemon/dist/domain/codex-network-default.js.map +1 -1
  124. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  125. package/daemon/dist/domain/compaction-restore-notice.js +59 -13
  126. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  127. package/daemon/dist/domain/destination-successor.d.ts +3 -0
  128. package/daemon/dist/domain/destination-successor.d.ts.map +1 -0
  129. package/daemon/dist/domain/destination-successor.js +49 -0
  130. package/daemon/dist/domain/destination-successor.js.map +1 -0
  131. package/daemon/dist/domain/health-passive-ceremony.d.ts +3 -0
  132. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  133. package/daemon/dist/domain/health-passive-ceremony.js +45 -4
  134. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  135. package/daemon/dist/domain/hosts/fleet-scopes.d.ts +111 -0
  136. package/daemon/dist/domain/hosts/fleet-scopes.d.ts.map +1 -0
  137. package/daemon/dist/domain/hosts/fleet-scopes.js +231 -0
  138. package/daemon/dist/domain/hosts/fleet-scopes.js.map +1 -0
  139. package/daemon/dist/domain/hosts/read-through.d.ts +1 -1
  140. package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
  141. package/daemon/dist/domain/hosts/read-through.js +4 -0
  142. package/daemon/dist/domain/hosts/read-through.js.map +1 -1
  143. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  144. package/daemon/dist/domain/native-permission-store.js +12 -5
  145. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  146. package/daemon/dist/domain/native-process-lineage.d.ts +11 -1
  147. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  148. package/daemon/dist/domain/native-process-lineage.js +25 -4
  149. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  150. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  151. package/daemon/dist/domain/native-resume-probe.js +31 -15
  152. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  153. package/daemon/dist/domain/node-launcher.d.ts +3 -0
  154. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  155. package/daemon/dist/domain/node-launcher.js +6 -0
  156. package/daemon/dist/domain/node-launcher.js.map +1 -1
  157. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  158. package/daemon/dist/domain/permission-account.js +8 -6
  159. package/daemon/dist/domain/permission-account.js.map +1 -1
  160. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  161. package/daemon/dist/domain/permission-drift.js +1 -1
  162. package/daemon/dist/domain/permission-drift.js.map +1 -1
  163. package/daemon/dist/domain/queue-destination-check.d.ts +2 -0
  164. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  165. package/daemon/dist/domain/queue-destination-check.js +8 -11
  166. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  167. package/daemon/dist/domain/queue-repository.d.ts +20 -15
  168. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  169. package/daemon/dist/domain/queue-repository.js +37 -49
  170. package/daemon/dist/domain/queue-repository.js.map +1 -1
  171. package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
  172. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  173. package/daemon/dist/domain/queue-transition-log.js +9 -0
  174. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  175. package/daemon/dist/domain/queue-waiting.d.ts +4 -4
  176. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  177. package/daemon/dist/domain/queue-waiting.js +30 -16
  178. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  179. package/daemon/dist/domain/receiver-context.js +1 -1
  180. package/daemon/dist/domain/receiver-context.js.map +1 -1
  181. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  182. package/daemon/dist/domain/restore-orchestrator.js +40 -18
  183. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  184. package/daemon/dist/domain/resume-metadata-refresher.d.ts +17 -4
  185. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  186. package/daemon/dist/domain/resume-metadata-refresher.js +60 -14
  187. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  188. package/daemon/dist/domain/resume-token-capture.d.ts +6 -0
  189. package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
  190. package/daemon/dist/domain/resume-token-capture.js +14 -8
  191. package/daemon/dist/domain/resume-token-capture.js.map +1 -1
  192. package/daemon/dist/domain/rig-edge-ops.js +1 -1
  193. package/daemon/dist/domain/rig-edge-ops.js.map +1 -1
  194. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  195. package/daemon/dist/domain/rigspec-instantiator.js +6 -2
  196. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  197. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  198. package/daemon/dist/domain/rigspec-preflight.js +21 -1
  199. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  200. package/daemon/dist/domain/rosters.d.ts +19 -0
  201. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  202. package/daemon/dist/domain/rosters.js +69 -12
  203. package/daemon/dist/domain/rosters.js.map +1 -1
  204. package/daemon/dist/domain/runtime-adapter.d.ts +15 -0
  205. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  206. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  207. package/daemon/dist/domain/seat-delivery-guard.d.ts +8 -2
  208. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  209. package/daemon/dist/domain/seat-delivery-guard.js +38 -3
  210. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  211. package/daemon/dist/domain/seat-handover-attempts.d.ts +50 -0
  212. package/daemon/dist/domain/seat-handover-attempts.d.ts.map +1 -0
  213. package/daemon/dist/domain/seat-handover-attempts.js +75 -0
  214. package/daemon/dist/domain/seat-handover-attempts.js.map +1 -0
  215. package/daemon/dist/domain/seat-handover-service.d.ts +64 -1
  216. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  217. package/daemon/dist/domain/seat-handover-service.js +437 -28
  218. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  219. package/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -2
  220. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  221. package/daemon/dist/domain/seat-lifecycle-service.js +48 -2
  222. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  223. package/daemon/dist/domain/seat-runtime-home-record-types.d.ts +16 -0
  224. package/daemon/dist/domain/seat-runtime-home-record-types.d.ts.map +1 -0
  225. package/daemon/dist/domain/seat-runtime-home-record-types.js +2 -0
  226. package/daemon/dist/domain/seat-runtime-home-record-types.js.map +1 -0
  227. package/daemon/dist/domain/seat-runtime-home-record.d.ts +173 -0
  228. package/daemon/dist/domain/seat-runtime-home-record.d.ts.map +1 -0
  229. package/daemon/dist/domain/seat-runtime-home-record.js +317 -0
  230. package/daemon/dist/domain/seat-runtime-home-record.js.map +1 -0
  231. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +7 -0
  232. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  233. package/daemon/dist/domain/seat-runtime-switch-service.js +47 -2
  234. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  235. package/daemon/dist/domain/seat-skill-storage.d.ts +16 -1
  236. package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
  237. package/daemon/dist/domain/seat-skill-storage.js +178 -1
  238. package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
  239. package/daemon/dist/domain/session-transport.d.ts +1 -0
  240. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  241. package/daemon/dist/domain/session-transport.js +6 -2
  242. package/daemon/dist/domain/session-transport.js.map +1 -1
  243. package/daemon/dist/domain/skill-catalog.d.ts +3 -0
  244. package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
  245. package/daemon/dist/domain/skill-catalog.js +7 -3
  246. package/daemon/dist/domain/skill-catalog.js.map +1 -1
  247. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  248. package/daemon/dist/domain/snapshot-capture.js +5 -0
  249. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  250. package/daemon/dist/domain/successor-session-launcher.d.ts +16 -0
  251. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  252. package/daemon/dist/domain/successor-session-launcher.js +70 -38
  253. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  254. package/daemon/dist/domain/types.d.ts +34 -1
  255. package/daemon/dist/domain/types.d.ts.map +1 -1
  256. package/daemon/dist/domain/types.js.map +1 -1
  257. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  258. package/daemon/dist/domain/user-settings/settings-browser.js +3 -1
  259. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  260. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  261. package/daemon/dist/domain/workflow-exception-escalation.js +13 -8
  262. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  263. package/daemon/dist/domain/workflow-instance-store.d.ts +11 -0
  264. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  265. package/daemon/dist/domain/workflow-instance-store.js +35 -0
  266. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  267. package/daemon/dist/domain/workflow-projector.d.ts +7 -0
  268. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  269. package/daemon/dist/domain/workflow-projector.js +202 -91
  270. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  271. package/daemon/dist/domain/workflow-runtime.d.ts +7 -1
  272. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  273. package/daemon/dist/domain/workflow-runtime.js +116 -26
  274. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  275. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  276. package/daemon/dist/lib/pane-envelope.js +12 -7
  277. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  278. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  279. package/daemon/dist/routes/compaction.js +6 -3
  280. package/daemon/dist/routes/compaction.js.map +1 -1
  281. package/daemon/dist/routes/queue.d.ts.map +1 -1
  282. package/daemon/dist/routes/queue.js +44 -27
  283. package/daemon/dist/routes/queue.js.map +1 -1
  284. package/daemon/dist/routes/scopes.d.ts.map +1 -1
  285. package/daemon/dist/routes/scopes.js +102 -19
  286. package/daemon/dist/routes/scopes.js.map +1 -1
  287. package/daemon/dist/routes/seat.d.ts.map +1 -1
  288. package/daemon/dist/routes/seat.js +50 -2
  289. package/daemon/dist/routes/seat.js.map +1 -1
  290. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  291. package/daemon/dist/routes/sessions.js +54 -10
  292. package/daemon/dist/routes/sessions.js.map +1 -1
  293. package/daemon/dist/routes/startup.d.ts.map +1 -1
  294. package/daemon/dist/routes/startup.js +116 -18
  295. package/daemon/dist/routes/startup.js.map +1 -1
  296. package/daemon/dist/routes/transport.d.ts.map +1 -1
  297. package/daemon/dist/routes/transport.js +36 -2
  298. package/daemon/dist/routes/transport.js.map +1 -1
  299. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  300. package/daemon/dist/routes/watchdog.js +7 -1
  301. package/daemon/dist/routes/watchdog.js.map +1 -1
  302. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  303. package/daemon/dist/routes/workflow.js +22 -4
  304. package/daemon/dist/routes/workflow.js.map +1 -1
  305. package/daemon/dist/startup.d.ts.map +1 -1
  306. package/daemon/dist/startup.js +105 -37
  307. package/daemon/dist/startup.js.map +1 -1
  308. package/daemon/docs/reference/agent-startup-guide.md +87 -0
  309. package/daemon/docs/reference/daemon-http-clients.md +1 -0
  310. package/daemon/docs/reference/developing.md +1 -1
  311. package/daemon/docs/reference/gateway-participants.md +5 -3
  312. package/daemon/docs/reference/getting-started.md +9 -8
  313. package/daemon/docs/reference/quickstart.md +2 -2
  314. package/daemon/docs/reference/rig-spec.md +92 -4
  315. package/daemon/docs/reference/rosters.md +26 -0
  316. package/daemon/docs/reference/seat-delivery.md +7 -1
  317. package/daemon/docs/reference/whats-new.md +210 -5
  318. package/dist/build-info.js +3 -3
  319. package/dist/client.d.ts +7 -3
  320. package/dist/client.d.ts.map +1 -1
  321. package/dist/client.js +11 -2
  322. package/dist/client.js.map +1 -1
  323. package/dist/commands/launch.d.ts.map +1 -1
  324. package/dist/commands/launch.js +8 -0
  325. package/dist/commands/launch.js.map +1 -1
  326. package/dist/commands/mcp.d.ts.map +1 -1
  327. package/dist/commands/mcp.js +18 -1
  328. package/dist/commands/mcp.js.map +1 -1
  329. package/dist/commands/ps.d.ts.map +1 -1
  330. package/dist/commands/ps.js +11 -5
  331. package/dist/commands/ps.js.map +1 -1
  332. package/dist/commands/queue.d.ts.map +1 -1
  333. package/dist/commands/queue.js +6 -2
  334. package/dist/commands/queue.js.map +1 -1
  335. package/dist/commands/roster.d.ts +4 -2
  336. package/dist/commands/roster.d.ts.map +1 -1
  337. package/dist/commands/roster.js +2 -2
  338. package/dist/commands/roster.js.map +1 -1
  339. package/dist/commands/seat.d.ts +2 -0
  340. package/dist/commands/seat.d.ts.map +1 -1
  341. package/dist/commands/seat.js +198 -11
  342. package/dist/commands/seat.js.map +1 -1
  343. package/dist/commands/send.d.ts.map +1 -1
  344. package/dist/commands/send.js +31 -6
  345. package/dist/commands/send.js.map +1 -1
  346. package/dist/commands/walk.d.ts.map +1 -1
  347. package/dist/commands/walk.js +4 -0
  348. package/dist/commands/walk.js.map +1 -1
  349. package/dist/commands/workflow.d.ts.map +1 -1
  350. package/dist/commands/workflow.js +25 -1
  351. package/dist/commands/workflow.js.map +1 -1
  352. package/dist/mcp-http.d.ts +3 -0
  353. package/dist/mcp-http.d.ts.map +1 -1
  354. package/dist/mcp-http.js +13 -0
  355. package/dist/mcp-http.js.map +1 -1
  356. package/dist/mcp-server.d.ts +9 -2
  357. package/dist/mcp-server.d.ts.map +1 -1
  358. package/dist/mcp-server.js +243 -64
  359. package/dist/mcp-server.js.map +1 -1
  360. package/package.json +1 -1
  361. package/tui/dist/commands/registry.d.ts.map +1 -1
  362. package/tui/dist/commands/registry.js +1 -0
  363. package/tui/dist/commands/registry.js.map +1 -1
  364. package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -1
  365. package/tui/dist/crash-cart/start-daemon.js +4 -2
  366. package/tui/dist/crash-cart/start-daemon.js.map +1 -1
  367. package/tui/dist/daemon-client.d.ts +9 -0
  368. package/tui/dist/daemon-client.d.ts.map +1 -1
  369. package/tui/dist/daemon-client.js +40 -0
  370. package/tui/dist/daemon-client.js.map +1 -1
  371. package/tui/dist/hydrate.d.ts +1 -1
  372. package/tui/dist/hydrate.d.ts.map +1 -1
  373. package/tui/dist/hydrate.js +12 -0
  374. package/tui/dist/hydrate.js.map +1 -1
  375. package/tui/dist/main.js +3 -0
  376. package/tui/dist/main.js.map +1 -1
  377. package/tui/dist/page-read.d.ts.map +1 -1
  378. package/tui/dist/page-read.js +2 -1
  379. package/tui/dist/page-read.js.map +1 -1
  380. package/tui/dist/render.d.ts.map +1 -1
  381. package/tui/dist/render.js +4 -1
  382. package/tui/dist/render.js.map +1 -1
  383. package/tui/dist/scopes/fleet-scopes-model.d.ts +73 -0
  384. package/tui/dist/scopes/fleet-scopes-model.d.ts.map +1 -0
  385. package/tui/dist/scopes/fleet-scopes-model.js +102 -0
  386. package/tui/dist/scopes/fleet-scopes-model.js.map +1 -0
  387. package/tui/dist/scopes/scopes-model.d.ts +2 -0
  388. package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
  389. package/tui/dist/scopes/scopes-model.js +7 -4
  390. package/tui/dist/scopes/scopes-model.js.map +1 -1
  391. package/tui/dist/sections.d.ts.map +1 -1
  392. package/tui/dist/sections.js +5 -0
  393. package/tui/dist/sections.js.map +1 -1
  394. package/tui/dist/startup.d.ts +5 -0
  395. package/tui/dist/startup.d.ts.map +1 -1
  396. package/tui/dist/startup.js +12 -0
  397. package/tui/dist/startup.js.map +1 -1
  398. package/tui/dist/state.d.ts.map +1 -1
  399. package/tui/dist/state.js +12 -5
  400. package/tui/dist/state.js.map +1 -1
  401. package/tui/dist/types.d.ts +16 -1
  402. package/tui/dist/types.d.ts.map +1 -1
package/README.md CHANGED
@@ -26,9 +26,9 @@ use:
26
26
 
27
27
  ```sh
28
28
  # Claude Code
29
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent claude-code
29
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs --skill rigs --agent claude-code
30
30
  # Codex
31
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent codex
31
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs --skill rigs --agent codex
32
32
  ```
33
33
 
34
34
  Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what you want built. The skill has your agent tell
@@ -68,11 +68,11 @@ Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Co
68
68
 
69
69
  ### Install it yourself
70
70
 
71
- This runs OpenRig's install script from the `v0.7.15` 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:
71
+ This runs OpenRig's install script from the `v0.7.16` 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:
72
72
 
73
73
  ```bash
74
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.15/scripts/install.sh | sh -s -- --dry-run
75
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.15/scripts/install.sh | sh
74
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh -s -- --dry-run
75
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh
76
76
  ```
77
77
 
78
78
  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,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
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.15",
3
+ "version": "0.7.16",
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.15",
3
+ "version": "0.7.16",
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
  }
@@ -70,11 +70,24 @@ codex mcp add openrig --env OPENRIG_SESSION_NAME=<address> -- rig mcp serve --fr
70
70
 
71
71
  - **VS Code:** verified on 1.145. Older versions, such as 1.110, don't load Agent Plugins.
72
72
  - **Cursor:** verified on 3.27, as a local plugin.
73
- - **Copilot CLI:** not yet verified; the steps follow its documentation.
73
+ - **Copilot CLI:** verified on 1.0.107. Install from this repository's marketplace, and trust the folder when Copilot
74
+ CLI asks:
74
75
 
75
- Install the plugin from this folder with the app's own install-from-folder step. In VS Code that's **Chat: Install Plugin
76
- from Source**; in Cursor, copy the folder to `~/.cursor/plugins/local/openrig` and reload. The app starts one `openrig`
77
- server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load the skill.
76
+ ```bash
77
+ copilot plugin marketplace add mvschwarz/openrig
78
+ copilot plugin install openrig@openrig-app
79
+ ```
80
+
81
+ Unlike the other apps, this installs the plugin from this repository's main branch, not from your OpenRig package, so
82
+ its skill can be newer than the OpenRig you run.
83
+
84
+ Copilot CLI also loads the skills in `~/.agents/skills`. Where OpenRig's own skills are installed there, it can choose
85
+ OpenRig's `openrig-skills` skill before this plugin's `working-with-an-openrig-team`. If it does, it may ask for a
86
+ skill pack that isn't there and get `pack_not_found`: ask it to use `working-with-an-openrig-team`.
87
+
88
+ In VS Code and Cursor, install the plugin from this folder with the app's own install-from-folder step. In VS Code
89
+ that's **Chat: Install Plugin from Source**; in Cursor, copy the folder to `~/.cursor/plugins/local/openrig` and reload.
90
+ The app starts one `openrig` server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load the skill.
78
91
 
79
92
  - **No seat:** these apps can't set a seat for a plugin's server, so it starts with none. An app started from a shell
80
93
  where `OPENRIG_SESSION_NAME` (or the older `RIGGED_SESSION_NAME`) is set passes it on, but only for that launch: on
@@ -90,14 +103,20 @@ server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load
90
103
  - Environment export needs an HTTP work grant, which a plugin's local server never has.
91
104
  - **To give the app a seat,** add your own MCP server that runs `rig mcp serve --front-door` with
92
105
  `OPENRIG_SESSION_NAME=<address>` in its environment, and turn the plugin's `openrig` server off, so the app runs one
93
- OpenRig server. The plugin's skill stays installed. Verified on VS Code 1.145 and Cursor 3.27, where the team's
94
- questions then reach you and your answers are recorded, across a reopen:
106
+ OpenRig server. The plugin's skill stays installed. Verified on VS Code 1.145, Cursor 3.27 and Copilot CLI 1.0.107,
107
+ where the team's questions then reach you and your answers are recorded, across a reopen:
95
108
  - **VS Code:** add it to your user `mcp.json` under a name other than `openrig`, such as `openrig-seat`, and disable
96
109
  the plugin's `openrig` in **MCP: List Servers**. Two servers named `openrig` are hard to tell apart, and starting
97
110
  one can stop the other.
98
111
  - **Cursor:** add it to `.cursor/mcp.json` (the project's or your user one), turn it on, and disable
99
112
  **openrig · Plugin** in **Customize → MCPs**.
100
- - **Copilot CLI:** add it the CLI's own way and turn the plugin's server off; not yet verified.
113
+ - **Copilot CLI:** add it, then turn the plugin's server off. Copilot CLI saves both, so the seat holds in new
114
+ sessions:
115
+
116
+ ```bash
117
+ copilot mcp add openrig-seat --env OPENRIG_SESSION_NAME=<address> -- rig mcp serve --front-door
118
+ copilot mcp disable openrig
119
+ ```
101
120
 
102
121
  ## What it doesn't do
103
122
 
@@ -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.15",
4
+ "version": "0.7.16",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
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.30",
3
+ "version": "0.1.31",
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",
@@ -106,7 +106,10 @@ You are about to lose every connection you have built. Spend this turn making th
106
106
  3. **Open the map with a summary** of 10 to 20 lines: who you are, what you hold, what mattered in this
107
107
  window, what is next and who authorizes it, and any hold in force. **Publish that summary as your seat
108
108
  recap** too: save it, plus a line naming the map's path, to a file and run
109
- `rig context recap-write --file <that file>`, which writes your own seat's recap. If your world profile has a seat
109
+ `rig context recap-write --file <that file>`, which writes your own seat's recap. Give the file's literal absolute
110
+ path, with no shell variable assignment or command substitution: Claude Code's allow rules don't match past an
111
+ assignment (apart from a few known-safe variables), and an ask or deny rule still wins, so such a command can stop at
112
+ an approval prompt, and OpenRig won't send `/compact` while it waits. If your world profile has a seat
110
113
  recap atom, it loads this recap, and an old recap would be served as if it were current.
111
114
  4. **Then write the connections.** Choose what this seat needs; these are examples, not a template:
112
115
  - **State:** rows you hold (id, state), branches and PR heads, the hold or release in force and who gave
@@ -101,7 +101,7 @@ A seat stays `Stable` even if multiple candidate-occupants were produced and dis
101
101
 
102
102
  ## Failure modes (5)
103
103
 
104
- 1. **Candidate creation failed** — `rebuild` couldn't synthesize from artifacts; `fork` couldn't resolve `session_source`; `fresh` couldn't launch. **Action**: bind operation does not begin; seat unchanged; provenance records the failed candidate-creation step.
104
+ 1. **Candidate creation failed** — `rebuild` couldn't synthesize from artifacts; `fork` couldn't resolve `session_source`; `fresh` couldn't launch. **Action**: bind operation does not begin; seat unchanged; provenance records the failed candidate-creation step. **If the failure came after the in-place respawn, with the successor launched** (its readiness closed, its context packet didn't land, or finalization refused), the previous occupant is already ended and the successor may be running in the pane, not adopted: another handover ends it. When the failure recorded the attempt, its guidance names `rig seat handover <seat> --recover --reason <why>`, which proves the pane's one Claude is that launch and adopts it, keeping its conversation and typing nothing into it (`successor_identity_unproven` changes nothing; `handover_attempt_superseded` means another launch or handover took the seat since; Claude Code only).
105
105
  2. **Old occupant cannot be detached cleanly** — runtime hung, tmux locked, etc. **Action**: bind halts mid-flight; seat enters `Binding` state with explicit "halted" sub-status; operator alerted. **Do NOT auto-rollback by reattaching old-occupant if detach didn't complete cleanly.**
106
106
  3. **Bind succeeded but the lineage record didn't write** — disk/db error; the receipt says `provenanceRecordWritten: false`. **Action**: the binding is committed and the successor is the occupant; only its lineage record is missing. Report it as bound with the record missing, check the daemon log (it names the first such failure since the daemon started), and don't run the handover again.
107
107
  4. **Old occupant disposition unfulfillable** — operator requested `advise` (keep alive as advisor) but runtime can't keep old alive. **Action**: degrade to `retire` with explicit notification, OR fail if operator passed strict-disposition flag.
@@ -126,9 +126,11 @@ person needs in their project or home folder and name that path.
126
126
  OpenRig in a plain shell so the operator sees a named teammate instead of "unknown sender". Inside tmux, offer
127
127
  joining as optional, with the effects below. Ask the person yes or no after this short explanation:
128
128
  - This adds me as a named member of the team, with my name on messages.
129
+ - While the team works, I bring each seat's permission prompt to you here as a question and send your answer, so
130
+ you don't need to open the seats' terminals. Joining puts my name on those answers.
129
131
  - In a plain shell, joining writes no files in your project or personal settings.
130
- - Inside tmux on 0.6.11, my sender and reply address is your existing tmux session name, even a number like `0`.
131
- `rig attach --self` returns that address and `rig whoami` confirms it; `--display-name` does not change it.
132
+ - Inside tmux, my sender and reply address is `<member>@<rig>`, even when your tmux session is named `0`;
133
+ `rig attach --self` returns it and `rig whoami` confirms it; `--display-name` does not change it.
132
134
  - Inside tmux, other agents can type into this window, and stopping the team (`rig down`) also closes this tmux
133
135
  session (both from source, not hand-tested). Transcript recording and, for Claude Code, writing
134
136
  `.openrig/context-collector.cjs` and `.claude/settings.local.json` for the status line were hand-tested on 0.6.11.
@@ -147,7 +149,8 @@ person needs in their project or home folder and name that path.
147
149
  `rig queue create --source <their id>@external --destination <seat> --summary "<one line>" --body-file <file>`: the
148
150
  seat sees that name, recorded as declared, and can reply to them if they're registered (`rig gateway human list`).
149
151
  A declared name is a claim, not a seat's own identity: for a team that acts only on seat identity, the attached
150
- shell above is the route.
152
+ shell above is the route. For work whose questions and result must come back to this session, use a return
153
+ address ("If the person stays with you" below), not a declared name.
151
154
  - **Who answers OpenRig's questions:** read `rig gateway participants` (its `default:` line) before the handoff.
152
155
  - A default person is there: say requests and asks that name nobody go to them (a pairing request or an ask can
153
156
  name someone else), and don't offer again.
@@ -168,9 +171,10 @@ person needs in their project or home folder and name that path.
168
171
  said. Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName`
169
172
  (never the logical ID or a guessed name) and send:
170
173
  `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
171
- If the person stays here, replace "The person will answer in your pane" with "The person stays with me; send me your questions and
172
- results to relay." Carry their constraints, which logins they have (an installed provider that isn't signed in
173
- doesn't count), and any permission choice they made, chosen or declined, in either handoff.
174
+ If the person stays here, hand the goal over as a task from your own address instead, so the operator's questions
175
+ and the result come back to you ("If the person stays with you" below). Carry their constraints, which logins they
176
+ have (an installed provider that isn't signed in doesn't count), and any permission choice they made, chosen or
177
+ declined, in either handoff.
174
178
  Or the person types the goal and folder in the operator's pane. If they give you a goal later, forward it the same
175
179
  way. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
176
180
  shows, and gives the goal to the team's lead. Before that yes, it says what launching into their folder changes for their own agent there; relay
@@ -181,11 +185,54 @@ person needs in their project or home folder and name that path.
181
185
  Check those logins (`claude auth status`, `codex login status`), or go by what the person told you. If one is missing
182
186
  or you can't tell, say so before launching and let them choose: the operator adapts the team to the logins they have,
183
187
  or they sign in first.
184
- - **Relay the operator's questions** unless the person declined the Codex offer below and explicitly chose the operator route: the operator asks in its own pane, and the person may not be looking there.
185
- After each step you hand it, read its screen with `rig capture <canonicalSessionName>`. When it asks the person
186
- something (start this team? which folder? which option?), ask them here in the operator's words and send their
187
- answer back with `rig send`, or tell them to answer in the operator's pane. Unlike a prompt or a menu, a question
188
- doesn't show up as a stopped seat, so don't leave it to a background wait.
188
+ - **If the person stays with you** (unless they declined the Codex offer below and explicitly chose the operator
189
+ route), you're their front door to the team: you hand it the goal, bring its questions to them and bring back what
190
+ it produced, through the task queue rather than the operator's screen.
191
+ - **Your return address:** if this session joined the team (above), it's the `OPENRIG_SESSION_NAME` that
192
+ `rig attach` printed. Otherwise agree one with the person on the kernel's rig, such as `claude-app@kernel` or
193
+ `codex-app@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no file is written.
194
+ If the person keeps more than one of these conversations, give each its own address (for example
195
+ `claude-app-2@kernel`); one address shares its questions.
196
+ To tell the team what it's for, the person can add it to a roster as a hosted member
197
+ (`docs/reference/hosted-members.md` in the OpenRig package).
198
+ Put it in front of every `rig queue` command: `OPENRIG_SESSION_NAME=<address> rig queue ...` (add
199
+ `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). A `--source` name only labels the one task it's
200
+ on: claiming and answering the team's questions need the address in `OPENRIG_SESSION_NAME`.
201
+ - **Hand over the goal:** write it to a file with what the message above carries (that you're the agent that
202
+ installed OpenRig and the person stays with you, the goal, folder, branch, constraints, logins and permission
203
+ choices), and end it with this paragraph, filling in your address:
204
+
205
+ > To ask me anything, create a queue item to `<address>` (`rig queue create --destination <address> ...`), then
206
+ > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
207
+ > check it when the person asks. Don't ask in your own terminal: the person isn't there. If you hand this item on,
208
+ > copy this paragraph into the new item. When you finish, put the outcome in this item's resolution and any file in
209
+ > its evidence ref.
210
+
211
+ Then run
212
+ `OPENRIG_SESSION_NAME=<address> rig queue create --destination <canonicalSessionName> --summary "<the goal in a sentence>" --body-file <file> --verify`.
213
+ Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find this work
214
+ again.
215
+ - **The team's questions** come to your address as tasks:
216
+ `OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`. Read each in full
217
+ (`rig queue show <id> --full`) and show the person the whole question in the team's words. Record only what they
218
+ tell you, a condition included ("yes, but only on a branch"): claim it, then
219
+ `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution "<their words>"`.
220
+ 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
221
+ asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
222
+ it open and tell them it's waiting; never answer for them.
223
+ - **A question only on the operator's screen:** if the operator asks in its pane and nothing reached your address,
224
+ read it with `rig capture <canonicalSessionName>`, show the person, and send their words as a new task to the
225
+ operator that names your task's ID, not as keys typed into its pane.
226
+ - **Delivery isn't the task's state.** A task's state says where the work is: pending (created and readable, not
227
+ yet claimed), claimed or in progress (an agent took it), handed off (follow the next item) or done (read its
228
+ resolution). Whether its agent was woken is a separate fact, the wake outcome `--verify` reports: `verified` (it
229
+ rendered in the seat's pane) or `claimed` (picked up); `delivered-ack-pending` (sent, render unconfirmed: not
230
+ proof it was woken); `retained` (the seat's typing guard held the wake, the task is still there to read, and it
231
+ isn't retried automatically: wake the task's destination once its input is free with
232
+ `rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
233
+ owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
234
+ before you wake it again). A pending task with no wake isn't lost or done.
235
+ - **Nothing wakes this chat** when the team asks or finishes: check your address when the person asks or comes back.
189
236
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
190
237
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
191
238
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -201,24 +248,41 @@ person needs in their project or home folder and name that path.
201
248
  - **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
202
249
  running in that repository, tell the operator.
203
250
  - **Check it's ready before you say so:** `rig ps --nodes --rig <rig>`. If an agent is stopped at a prompt or a menu,
204
- read it with `rig capture <seat>@<rig>`. A permission prompt is the person's to answer: show it to them, with any
205
- others waiting, one line each (seat, exact action, the choices offered). For a commit, also say whether the team's
251
+ read it with `rig capture <seat>@<rig>`.
252
+ - **Seat permission prompts come to the person here, as questions, for as long as the team works,** whether you or
253
+ the operator started it, and whether or not they joined. This is the default, not a fallback. A permission prompt
254
+ is the person's to answer: they decide, which doesn't mean they type it into the seat's pane, so don't decline to
255
+ relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
256
+ seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
257
+ your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
258
+ exact action, the choices offered), and the whole prompt when they ask. For a commit, also say whether the team's
206
259
  review has run; they may be expecting one. Before sending their choice, capture that
207
- seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt
208
- (`rig send --help` says how to send a digit, a letter or Escape to a prompt). A yes to one prompt isn't a
260
+ seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
261
+ `rig send <seat>@<rig> "<key>" --dangerously-interact --reason "<their choice, in their words>"`, where `<key>` is
262
+ the digit or letter that capture shows for their choice, never their words: the text is typed as keys, and a letter
263
+ can pick a menu's shortcut. If the screen shows no key for their choice, ask them. When their choice is Escape,
264
+ send the key itself, written with bash or zsh quoting:
265
+ `rig send <seat>@<rig> $'\e' --dangerously-interact --reason "<their choice, in their words>"`. It's sent once, with
266
+ no Enter added. Never answer a prompt on your own and record it as theirs,
267
+ even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
209
268
  yes to the next, and never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
210
269
  kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
211
270
  whole action, answer only when it's clearly inside what they said, and tell them you answered under that instruction,
212
- not that they said yes. Bring anything unclear or outside it back to them; a command's name or a path that looks like
271
+ not that they said yes. Say the same in `--reason`: your call under their instruction, not their approval. Bring
272
+ anything unclear or outside it back to them; a command's name or a path that looks like
213
273
  their project doesn't show what the action touches. Their instruction changes no permission setting.
214
274
  Don't send them to a bare `tmux attach` to answer: relay their choice this way, or point them to that seat in the
215
275
  team's terminals the operator opened. If they want fewer prompts, the operator offers once to allow the commands
216
276
  that keep asking, for their project only (`applying-a-permission-policy`); tell it what they chose.
277
+ Trust and hook-review prompts are the person's to answer, as permission prompts are. Once you've sent their answer
278
+ to a prompt a seat stopped at while starting, check `rig ps --nodes --rig <rig>` again: if it shows
279
+ `Startup details (<seat>)` ending in `rig seat continue <seat>`, run that command: it delivers the seat's startup
280
+ instructions in the same conversation.
217
281
  Another kind of menu you can answer with
218
282
  the key that screen shows, or ask the person. Capture it again before sending anything more.
219
- - **Replies:** in a plain shell, other agents can't type into this session. Read work sent to you with
220
- `rig queue list --destination <your address>` and `rig queue show <id> --full`, and read an agent's screen with
221
- `rig capture <seat>@<rig>`.
283
+ - **Replies:** in a plain shell, other agents can't type into this session. Their questions and work for you arrive
284
+ at your return address ("If the person stays with you" above). `rig capture <seat>@<rig>` shows what an agent is
285
+ doing; it isn't how answers reach you.
222
286
 
223
287
  ### Codex: one offer, once, after OpenRig starts
224
288
 
@@ -257,21 +321,32 @@ offer, so the person sees the real file, not a placeholder:
257
321
 
258
322
  Follow these steps by default. Only when the person declined the Codex offer above and explicitly chose the operator route does the operator own this follow-through.
259
323
 
260
- - **Find the team's task:** the operator gives the goal to the team's lead as a queue task: `dev-build@starter`, or
261
- `orch-lead` in `workshop` and `factory` (for starter and factory, `rig specs preview <name> --kind rig` says what
262
- each seat does; for a running team, `rig ps --nodes --rig <rig>`). Find it with
263
- `rig queue list --destination <seat>@<rig> -a`.
324
+ - **Find the team's task:** if you gave the operator a task, start from it: when the operator hands it to the team's
325
+ lead, `rig queue show <id> --json` lists the next item under `successors`. Otherwise, or if the operator started a
326
+ new task for the lead (`dev-build@starter`, or `orch-lead` in `workshop` and `factory`; for starter and factory,
327
+ `rig specs preview <name> --kind rig` says what each seat does; for a running team, `rig ps --nodes --rig <rig>`),
328
+ find it with `rig queue list --destination <seat>@<rig> -a`.
264
329
  - **Follow it to the result:** a task that changed hands isn't finished. `rig queue show <id> --full` names the seat it
265
330
  went to, and that seat's next task is the one whose `handedOffFrom` is that ID
266
- (`rig queue list --destination <seat>@<rig> -a -o json`). Follow each handoff until an agent reports the result, and
267
- use `rig capture <seat>@<rig>` to see what it's doing. Then read what it produced and tell the person what the team
268
- actually did (the branch, commit, review or PR text), not just that you sent it.
331
+ (`rig queue list --destination <seat>@<rig> -a -o json`). Follow each handoff until an agent reports the result,
332
+ and report what the record says; `rig capture <seat>@<rig>` only shows what an agent is doing right now. Then read
333
+ what it produced and tell the person what the team actually did (the branch, commit, review or PR text), not just
334
+ that you sent it.
269
335
  - **Give the team more work:** write the goal to a file: what to change, in which repository and branch, what done
270
- looks like, and that the result comes back to you (the branch or commit, the review, any PR text). Then
271
- `rig queue create --source <your name> --destination <seat>@<rig> --summary "<the goal in a sentence>" --body-file <file>`, and tell that agent with
272
- `rig send <seat>@<rig> "task <id> is yours"`. A message informs, and a queue task is the work someone owns.
273
- `--source` names you when this session hasn't joined the team.
336
+ looks like, and that the result comes back to you (the branch or commit, the review, any PR text), ending with the
337
+ reply paragraph above. Then
338
+ `OPENRIG_SESSION_NAME=<address> rig queue create --destination <seat>@<rig> --summary "<the goal in a sentence>" --body-file <file> --verify`.
339
+ A message informs, and a queue task is the work someone owns. Read its wake outcome as above before you send
340
+ anything else.
274
341
  - **Then ask what's next.** If no team can take the work, fix that or ask the person. Don't quietly do it yourself.
342
+ - **Coming back later:** in a new session, use the same return address and the task IDs you gave the person. Read
343
+ each with `rig queue show <id> --json` and follow its `successors` to the newest item, as above. A task handed to
344
+ another host has no `successors` here: its `successorNote` names the successor as `<id>@<host>`, so read it there
345
+ with `rig queue show <id> --host <host> --json`.
346
+ `OPENRIG_SESSION_NAME=<address> rig queue list --mine -a` lists everything this address sent or owns, finished work
347
+ included (without `-a` it shows only open items). It returns at most 100 rows unless you pass `--limit`, so on a busy
348
+ address keep the task IDs you created, or raise `--limit`. Follow that work rather than creating it again.
349
+ Adding OpenRig's MCP plugin to this app later starts a new session; it doesn't carry this conversation over.
275
350
  - **Other ways to work with the team:** `rig send <seat>@<rig> "..."` types into an agent's terminal,
276
351
  `rig capture <seat>@<rig>` reads its screen, and `rig ps --nodes --rig <rig>` shows who's on it.
277
352
 
@@ -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.15"
3
+ version: "0.7.16"
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.15"
3
+ version: "0.7.16"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files: