@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
@@ -292,6 +292,32 @@ guidance names that pane and the result carries `replacementStarted` and `succes
292
292
  already ended, the new one may be working there without being registered as the seat's occupant, and another
293
293
  handover or `rig seat launch <seat> --fresh --stop --reason <why>` ends it if it goes ahead.
294
294
 
295
+ **Adopting the successor of a failed handover.** When a handover fails after its successor was launched in the
296
+ respawned pane (the readiness window closed, the context packet didn't land, or the final binding step refused for a
297
+ reason that can change), it records the attempt for a Claude Code successor whose launch named its session id, and its
298
+ guidance leads with `rig seat handover <seat> --recover --reason <why>` and says not to retry the handover, which
299
+ would end that successor. The recovery adopts the successor that is running there and keeps its conversation. It
300
+ first proves, reading only, that the attempt still replaces the seat's current occupant and that the pane is the seat
301
+ session's only pane, with exactly one foreground Claude that names the session id OpenRig generated for that launch,
302
+ the same process in two samples, proven as the launch's readiness proves it (a `#!` wrapper that starts Claude without
303
+ exec included, when the launch recorded its executable: a launch in a native Claude permission mode, `auto` or another
304
+ mode the harness advertises). A classic launch records no executable, and the `floor` and `full_bypass` postures
305
+ launch classically too. A wrapper whose Claude runs as `node cli.js` or under another name is then not proven; when a
306
+ second sample, a few seconds later, finds the same foreground, the refusal says `--recover` can't prove it, and to run
307
+ it again only once the pane shows a waiting wrapper has started Claude (a wrapper still starting, which the second
308
+ sample sees exec Claude or start it, is proven). A
309
+ `/clear` in the successor before the recovery is followed: the conversation it adopts is the one Claude's own session
310
+ file for that process names, when it is newer than the process, even when that is the retiring occupant's conversation
311
+ or a fork parent's. The result says so; a fork successor on its parent's or the retiring occupant's conversation is
312
+ reported as no distinct fork (`forkId: "none"`, continuity `resumed`), and the parent seat is left as it was: both seats
313
+ then name the same conversation, so restoring both opens it twice. Then it commits
314
+ the handover with the occupant generation the attempt reserved, so the successor's identity hooks are accepted from
315
+ then on. It types nothing into the pane, and a packet the failed handover didn't deliver is not delivered: the result
316
+ says so, and a rebuild whose priming never arrived is recorded as fresh. Anything it can't prove, such as another
317
+ conversation, two Claudes or a changed pane, refuses with `successor_identity_unproven` and changes nothing; an
318
+ attempt that another occupant has replaced since is closed as `handover_attempt_superseded`. It adopts Claude Code
319
+ successors only (`recover_runtime_unsupported` otherwise).
320
+
295
321
  **Claude submission check.** For each startup message to a Claude seat, OpenRig makes a bounded check that the prompt
296
322
  was submitted. When the capture can't tell, it records the submission as unverified and carries on. When it sees the
297
323
  same prompt still sitting in the input, it presses Enter once more; if it's still there, it warns "Startup prompt still
@@ -447,6 +473,7 @@ running seat only through the action in the last column.
447
473
  | Reasoning effort | `rig seat set-effort` | `rig seat effort <seat>`: requested, saved, sent at launch, and what the session recorded, which is not verified until it takes a turn | Its next managed continuation; nothing restarts |
448
474
  | Permissions | `rig seat set-permissions` (`--mode`, `--rules`, or for Codex `--codex-permissions` or `--codex-profile`), shown by `rig seat status` | What it launched with; a status read doesn't prove the running process enforces the selection | Its next managed launch or resume ([per-seat permission mode](getting-started.md#per-seat-permission-mode)) |
449
475
  | Working directory | `rig seat set-cwd`, shown by `rig seat status` as **Working directory for future launches** | The directory it started in | `rig seat launch --fresh --stop` (a blank conversation) or `rig handover --source rebuild` (durable context); [details](#change-an-existing-seats-working-directory) |
476
+ | Runtime home (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`) of an existing seat | `rig seat record-runtime-home`, shown by `rig seat runtime-home` | The home it started with; whether a running process uses the recorded one isn't checked | Its next resume, restore or launch; [details](#record-where-an-existing-seats-conversation-lives) |
450
477
  | Launch wrapper (`launch_wrapper`) | Member `launch_wrapper` in `rig.yaml` (`pi`, `codex` and `claude-code` only; `launch_wrapper: []` clears, omitting retains on existing-seat apply; surfaced as `launchWrapper` in `rig ps --nodes --json` when set; no live `rig seat` edit verb) | The literal wrapper argv that prefixes the resolved Codex entry or Claude executable (preserving TTY stdio) or the resolved Pi child executable inside OpenRig's host runner (preserving RPC pipes and runner lifecycle) when that session launched; a configured prefix is not proof of isolation, tooling, memory or governance | Supported spec create/recreate/apply flow, then the seat's next managed launch, resume, restore or handover (fails closed when wrapper support is unavailable; never falls back to bare child launch; [details](rig-spec.md#launch-wrapper-runtime-pi-and-codex)) |
451
478
  | Startup files and skills | The spec's startup files, skills and actions | What its conversation read when it started; editing a file afterwards doesn't reach it | A fresh launch or a handover delivers them again; for the running seat, send or walk the change (`rig walk <seat> --through <files>`) |
452
479
  | Guidance blocks (`CLAUDE.md`, `AGENTS.md`) | The seat's startup selection, which OpenRig merges into its guidance file as managed blocks at each start and restore | `rig seat status` **Guidance**: when OpenRig wrote each of its blocks, before or after the session's recorded startup finish (for a claimed session, when OpenRig recorded it). That's chronology, not what the agent has: the harness reads the file earlier in startup, Claude Code reloads it after `/compact` or `/clear`, Codex reads it at session start, and the agent can read it, or be sent it, at any time. OpenRig doesn't record what an agent read | Claude: its next compaction, `/clear` or restart. Codex: its next start. Without either, [tell it](#new-guidance-for-a-running-seat) |
@@ -612,6 +639,66 @@ This separates provider files, not OS users or accounts. Project-local resources
612
639
  still use the selected project directory; shared project and system settings
613
640
  remain shared.
614
641
 
642
+ ### Record where an existing seat's conversation lives
643
+
644
+ When an existing seat's conversation lives under a different runtime home from the one OpenRig has for it (after a
645
+ recovery, say, or a move between homes), record that home so the seat's next resume or restore launches from it, with
646
+ the same conversation and no successor:
647
+
648
+ ```bash
649
+ rig seat runtime-home dev-impl@my-rig
650
+ rig seat record-runtime-home dev-impl@my-rig --home /home/me/.codex-b \
651
+ --expect-occupant <generation> --expect-original <conversation id> --expect-revision <n> --reason "home after recovery"
652
+ ```
653
+
654
+ `rig seat runtime-home` shows the home the next launch uses and where it comes from, with the seat's current occupant
655
+ generation, its original conversation and the revision of its latest recorded home (0 when none), and prints the
656
+ record command with those values. It works for Claude Code and Codex seats.
657
+
658
+ - **What it's recorded against.** The occupant, original conversation and revision you read. If any of them changed
659
+ since, because a successor took the seat or someone else recorded a home, nothing is applied and the current values
660
+ are shown, so a replacement occupant is never changed by mistake.
661
+ - **Retrying is safe.** Each recording has an operation id, generated and printed when you don't pass
662
+ `--operation-id`. If the result is unknown (a timeout, a lost connection or an unreadable answer), run the same
663
+ command with that id: it returns what was recorded, or records it once, even if the seat's runtime changed since. The
664
+ same id with a different request applies nothing.
665
+ - **What changes.** Only the seat's home and an audit record (`seat.runtime_home_recorded`). No running process,
666
+ pane, login, credential, conversation, model, effort or cwd changes; nothing is copied, switched or launched.
667
+ - **Where it's stored, and credentials.** In the place that decides the seat's home today, so credential handling
668
+ stays as it is. A seat on a home chosen by an account switch keeps that, with provider credentials still unset at
669
+ launch, and gets the new path. Any other seat gets its own `env:` value for the home variable, as a seat that declares
670
+ one in its spec has, and nothing is unset.
671
+ - **What it says, and doesn't.** The result says whether the home exists and whether the original conversation's
672
+ record was found in it; a path it can't read leaves that unknown, never "not found". That doesn't show one copy of a conversation is fresher than another, and whether a running
673
+ process uses the home isn't checked (the result says `runningProcess: unverified`).
674
+ - **Restore.** Snapshots carry each seat's recorded home. Reviewing a selected history shows the current record beside
675
+ the snapshot's, whether it was recorded for the selected conversation or another one, and which home the resume
676
+ uses (`uses`):
677
+ - the home recorded for the selected conversation, when the latest record is its own and the seat's home is still
678
+ that record's (the same path, set in the same place the record wrote it);
679
+ - the newest home recorded for the selected conversation, when a later record is for another one and the seat's home
680
+ is still that later record's. The resume writes it back as a new revision for the selected conversation before it
681
+ launches. It's put back, as a new revision, only when the launch is known to have been rolled back and the seat's
682
+ conversation is the one it had before: OpenRig undid the launch and its terminal is known to be gone (none was
683
+ created, or tmux confirmed the stop), or it stopped before starting one, so no session was registered and no resume
684
+ was sent. A terminal registered without a resume, a creation or stop tmux couldn't confirm, or a launch that failed
685
+ with an error isn't known to be undone, so the home stays. After a confirmed resume it stays, a Claude
686
+ conversation continued under a new id included, and when what the launch left isn't known it stays too and the
687
+ result says so;
688
+ - otherwise the seat's home as set, with no record revision for the selected conversation: when nothing was recorded,
689
+ when the home changed since the latest record (an account or runtime switch, say, including one that leaves the
690
+ same path coming from the rig's declaration), which isn't undone, or when no home was recorded for this
691
+ conversation.
692
+
693
+ The review also says whether the selected conversation's record is found in that home, as context. The result
694
+ names the home the resume was bound to and attempted, and whether OpenRig registered a terminal session for it
695
+ (`sessionRegistered`). That isn't the native resume: whether that ran and took is the result's `ok` and `code`. For a
696
+ written-back home, it says whether it was put back (`putBack`), or why not (`notPutBack`). A launch that fails with an
697
+ error returns `launch_error`, with the same home named and nothing put back, since what it left isn't known.
698
+
699
+ A recording made after the review, even to the same home, changes the review's revision, so a resume reviewed before
700
+ it doesn't run. Review again and decide.
701
+
615
702
  ### Codex guidance at launch
616
703
 
617
704
  On a fresh launch of Codex 0.164.0 or later, OpenRig passes a seat's managed guidance (OpenRig's start file and the
@@ -232,6 +232,7 @@ With `needs-me.read` supported:
232
232
  Success is 201 with `instance`, `spec`, `entryQitemId` and `entryOwnerSession`, any `advisories`, and
233
233
  `scopeIgnored` when a scope wasn't applied. The instance keeps `rootObjective`, which every instance read returns
234
234
  (`/api/workflow/list`, `/api/workflow/<id>` and its `trace`). An instance started before it was kept reads `null`.
235
+ - **`GET /api/workflow/list`** accepts exact `project`, `mission`, `slice`, `rig` (the bound rig), and `name` (the workflow name) filters, repeatable `tag` filters on the instance's free-form scope tags, and `limit` from 1 to 10,000. Filters combine with AND and apply before the limit; results keep their existing oldest-first order. Instances without the requested scope or binding do not match. Without these filters, existing list behavior is unchanged.
235
236
  - **`GET /api/provider/usage`** returns `{ hostUsage }`, this host's usage rows (`host: "local"`, a `provider`
236
237
  and a `state`). A Claude row's `windows` are the seats' status-line readings, one entry per reading, each with
237
238
  its `window`, `usedPercent`, `resetsAt`, `asOf` and `seatSession`. A Codex row has `windows: []`. Treating the
@@ -33,7 +33,7 @@ suite. Both sets are readable in the root `package.json` scripts.
33
33
 
34
34
  | Lane | Command | Meaning |
35
35
  |---|---|---|
36
- | Portability report | `node scripts/portability-report.mjs` | lists added lines with machine-specific values; findings never fail it (`.github/workflows/portability-report.yml`) |
36
+ | Portability report | `node scripts/portability-report.mjs` | lists added lines with machine-specific values; findings don't fail it by default, and `--strict` exits 1 when it finds any. The workflow (`.github/workflows/portability-report.yml`) runs it without `--strict`. |
37
37
 
38
38
  ## The norm (web-UI freeze at 0.5.0)
39
39
 
@@ -26,9 +26,11 @@ A person can also bind to a local bridge adapter using a `relay` binding:
26
26
  `rig gateway human add bob --display-name "Bob" --delivery-class B --binding "relay:local-bridge:file:/etc/openrig/relay.env:primary:handle=bob-ops"`
27
27
  (see [Gateway Relay Reference](gateway-relay.md) for endpoint, secret provisioning, and custody architecture).
28
28
  `human@host` is the unnamed person at the terminal; `human@kernel` is also accepted as a human/gate address.
29
- These aliases (including `human-<name>@host` and `human-<name>@kernel`) are not agent sessions: reply with
30
- `rig queue create --destination human@host --human-intent update --summary "<one line>" --evidence-ref "<path>" --body "..." --verify`,
31
- substituting the sender's address and your summary, evidence path and reply. A reply destination doesn't identify
29
+ These aliases (including `human-<name>@host` and `human-<name>@kernel`) are not agent sessions. A row addressed to
30
+ `human@host` names no person: it asks no one, waits on Steering and in the Feed, and OpenRig reports it as undeliverable. To reply to a person, use
31
+ their registered address:
32
+ `rig queue create --destination <their address> --human-intent update --summary "<one line>" --evidence-ref "<path>" --body "..." --verify`,
33
+ substituting your summary, evidence path and reply. A reply destination doesn't identify
32
34
  who acted or determine who may answer an ask. Clients acting as a registered person name that person's
33
35
  `actorSession`; a seat identity header takes precedence. The terminal's primary-user authority records the unnamed
34
36
  `human@host` actor, not the person whose queue is being viewed.
@@ -112,8 +112,9 @@ including its `bwrap` AppArmor profile guidance; changes to AppArmor are the own
112
112
  **Choose permissions before starting the team.** Ordinary OpenRig launches use
113
113
  Codex's `-s workspace-write`, with approval policy from your native configuration,
114
114
  or Claude Code's `acceptEdits`, which still leaves commands subject to native
115
- rules and prompts. A team seat with no permission policy, per-seat choice or
116
- (for Codex) named profile also gets a per-launch
115
+ rules and prompts. A team seat with no permission policy (or with `standard` or
116
+ `open`, whose rules aren't applied at launch), per-seat choice or (for Codex)
117
+ named profile also gets a per-launch
117
118
  [team default](rig-spec.md#team-launch-defaults): Claude runs ordinary `rig`
118
119
  commands, project reads and common tests without prompting, while lifecycle
119
120
  commands such as `rig up` and `rig down` still ask; Codex also gets the OpenRig
@@ -185,10 +186,10 @@ agent doing the setup. Both use this release's tag:
185
186
 
186
187
  ```sh
187
188
  # Claude Code
188
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs" --skill rigs --agent claude-code
189
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs" --skill rigs --agent claude-code
189
190
 
190
191
  # Codex
191
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs" --skill rigs --agent codex
192
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs" --skill rigs --agent codex
192
193
  ```
193
194
 
194
195
  If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
@@ -203,11 +204,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
203
204
  script will do and changes nothing:
204
205
 
205
206
  ```sh
206
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.15/scripts/install.sh | sh -s -- --dry-run
207
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh -s -- --dry-run
207
208
  ```
208
209
 
209
210
  The same command without `--dry-run`,
210
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.15/scripts/install.sh | sh`, installs the
211
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh`, installs the
211
212
  latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
212
213
  present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
213
214
  Codex and may install a missing one, as described below. A failed step prints
@@ -671,7 +672,7 @@ rig ps --nodes --rig starter
671
672
  Preview the selected seats, models and resources. Plan checks resolution and
672
673
  preflight for the working directory. The kernel is already your entry point; this step starts the chosen project
673
674
  team. Read readiness for the project seats, not only daemon health. Have the person answer a named authentication, trust, hook-review or
674
- permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When a seat stops at such a prompt, `rig up` reports
675
+ permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When the person works through their own agent, the agent brings each trust, hook-review or permission prompt to them as a question and sends their choice, so they don't need to open that seat's terminal; a sign-in still needs the person. When a seat stops at such a prompt, `rig up` reports
675
676
  `Status: partial`, prints `Startup attention (<seat>): <reason>` and exits 1;
676
677
  `rig ps --nodes` repeats it as "Startup details". The reason ends with the command
677
678
  to run once the prompt is answered: `rig seat continue <seat>`, which delivers the
@@ -1288,7 +1289,7 @@ and `off` for ordinary automatic sends (`--enabled false`).
1288
1289
  In the shipped `starter`, `dev-build` runs Claude Code. For a **Claude Code** seat,
1289
1290
  OpenRig normally passes `--permission-mode acceptEdits`: edits can proceed, while
1290
1291
  other actions follow native rules and prompts. For a seat with no permission
1291
- policy or per-seat choice it also passes the per-launch team default (`--settings` allowing ordinary
1292
+ policy (or with `standard` or `open`) and no per-seat choice it also passes the per-launch team default (`--settings` allowing ordinary
1292
1293
  `rig` commands, project reads and common tests, with a session hook asking for
1293
1294
  lifecycle commands while allowing literal help forms such as `rig down --help`);
1294
1295
  personal and project rules still apply. Nothing is written to your settings files. To explicitly select the bypass launch flag for that rig:
@@ -12,9 +12,9 @@ In your project folder, add OpenRig's `rigs` skill to the agent you use:
12
12
 
13
13
  ```sh
14
14
  # Claude Code
15
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent claude-code
15
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs --skill rigs --agent claude-code
16
16
  # Codex
17
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent codex
17
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs --skill rigs --agent codex
18
18
  ```
19
19
 
20
20
  These use this release's tag, for a new install. If OpenRig is already installed, replace the tag after `tree/` with
@@ -324,6 +324,89 @@ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after
324
324
  the seat launches without it. The field is also supported on legacy flat Codex nodes; other
325
325
  runtimes reject it.
326
326
 
327
+ For an explicit filesystem policy, use `filesystem` **instead of** `sandbox` and its
328
+ workspace-write fields. This is the same per-seat selection and audited setter:
329
+
330
+ ```yaml
331
+ cwd: /workspace/shared
332
+ env:
333
+ CODEX_HOME: /accounts/codex # existing account home; never copied
334
+ codex_permissions:
335
+ approval: never
336
+ filesystem:
337
+ ":minimal": read
338
+ ":workspace_roots": write
339
+ "/workspace/shared/private": deny
340
+ network_access: false
341
+ ```
342
+
343
+ The mapping accepts native `read`, `write` and `deny` values at absolute paths,
344
+ `~/path`, or `:root`, `:minimal`, `:workspace_roots` (alias `:project_roots`),
345
+ `:tmpdir` and `:slash_tmp`.
346
+ It must be nonempty; nested subpath maps and arbitrary Codex settings are not part
347
+ of this option. Omitted network access becomes `false`. Include the read access
348
+ your tools and installed Codex executable need; this custom profile adds no
349
+ workspace, temporary, queue-state, seat-folder or Git-directory write grants of
350
+ its own. Native Codex decides whether the host can enforce the supplied rules.
351
+ Filesystem approval accepts `never` or `on-request`; the retired `untrusted`
352
+ approval is rejected before the selection is saved.
353
+
354
+ OpenRig emits the policy as invocation-local `permissions.openrig-seat` and
355
+ `default_permissions` overrides, with the selected approval. It writes no policy
356
+ file, so two seats can share both `CODEX_HOME` and `cwd` without overwriting each
357
+ other. Clearing the selection changes only that seat's record. Existing
358
+ account-scoped `codex_config_fragment` resources and their root-key rejection
359
+ stay unchanged.
360
+
361
+ Before dispatch, OpenRig compares Codex's native configuration with the seat's
362
+ selection. Positive evidence of access widening, a conflicting profile or
363
+ approval choice, an excluding managed allowlist, or a missing/empty selected
364
+ profile refuses launch. Compatible managed defaults and allowlists, harmless
365
+ descriptions and provably narrower flat rules are accepted. Legacy sandbox
366
+ settings are inert under the invocation's explicit permission-profile selection.
367
+ Null fields are treated as absent, including unfamiliar optional fields.
368
+ Managed `defaultPermissions` is a fallback, not a forced selection; the
369
+ effective profile and managed allowlist determine whether the agent's choice holds.
370
+
371
+ A timeout, reader failure, unfamiliar representation or unsupported managed
372
+ requirement continues with the authored flags and reports `policy not verified:
373
+ <reason>` in the launch observation and status. The policy is never dropped or
374
+ swapped, and account/project settings are never edited to make the check pass.
375
+ Absent selection or approval fields, unfamiliar approval strings or profile formats,
376
+ and unclear overlap between native selectors and authored path rules are also unverified.
377
+ An authored selector that may cover an extra grant is considered before a literal
378
+ ancestor would reject that grant, except that an explicit non-root deny ancestor
379
+ always takes precedence over possible selector coverage. A full-root deny, written
380
+ as `/` or `:root`, is a default narrower grants may refine: possible authored
381
+ selector coverage stays unverified, while a proven outside grant still refuses.
382
+ Codex 0.167.2's `:minimal` adds system read defaults, not `/home` or `/Users`
383
+ user-data coverage; extra grants there under a root deny or with no root rule still refuse unless
384
+ another authored rule may cover them. Other minimal-path coverage stays unexpanded.
385
+ Duplicate aliases from a
386
+ lower layer leave their own coverage unverified; they do not hide a known widening
387
+ at another path.
388
+ Inconclusive coverage warnings name the extra rule and access. An excluding managed
389
+ allowlist is reported before an effective selection or approval mismatch.
390
+ Concrete refusals name the conflicting rule and offer a remedy; handover preserves
391
+ that remedy while leaving the predecessor running.
392
+ Without an explicit `CODEX_HOME`, OpenRig resolves the normal account home and
393
+ pins it for both the read and launch; an unresolvable home is reported as
394
+ unverified. A named `codex_config_profile` is retained but unverified because the
395
+ native reader cannot load that layer on this path. A `launch_wrapper` is also
396
+ retained and unverified: it may change the effective home/configuration, so a
397
+ read without that wrapper cannot certify the launch.
398
+
399
+ The filesystem selection replaces permission-mode and team/kernel defaults,
400
+ including ambient YOLO. Fresh launches, both resume paths and restore emit the
401
+ same selection. A rebuild uses the saved filesystem policy ahead of an observed
402
+ predecessor sandbox; clearing or replacing the policy after a snapshot takes
403
+ effect on restore. Status reports the plan and its limits, not observed native
404
+ enforcement. Handover checks the successor's filesystem selection before
405
+ signaling the predecessor; a concrete conflict leaves that predecessor running.
406
+ Configuration can change between the preflight and native startup;
407
+ the read and launch are not atomic. Codex's sandbox governs local command
408
+ execution, not every connector, account or external service.
409
+
327
410
  For an existing seat, put the envelope in a JSON file, or change its profile, with the existing
328
411
  audited permission command:
329
412
 
@@ -369,8 +452,12 @@ the Codex version and configuration being used.
369
452
 
370
453
  A non-kernel Claude or Codex seat with no authored permission policy, explicit
371
454
  seat permission selection, or named Codex profile receives the team launch
372
- default. An explicit policy, including `none` or `builtin:locked`, keeps its
373
- existing meaning. The default is derived again for fresh launch, resume, fork
455
+ default. So does one whose policy is `builtin:standard` or `builtin:open`, with
456
+ no seat permission selection, Claude rules of its own, or named Codex profile:
457
+ those policies default to allow, and their rules aren't applied at launch, so
458
+ recording one doesn't leave the seat stricter than recording none. The member's
459
+ own policy decides over the rig's. Any other explicit policy, including `none`
460
+ or `builtin:locked`, keeps its existing meaning. The default is derived again for fresh launch, resume, fork
374
461
  and handover; it is not saved as a user choice. Kernel, Pi and terminal behavior
375
462
  is unchanged.
376
463
 
@@ -472,7 +559,8 @@ launches with `-s danger-full-access -a never`, plus per-launch `-c` overrides t
472
559
  full-access and GPT-5.1 migration notices, whatever the rig's non-interruptive choice.
473
560
 
474
561
  **Config-surface policies are recorded, not applied at launch.** The seat still starts at
475
- the floor. The `allow`, `ask` and `deny` rules take effect once they are translated into the
562
+ the floor: with the [team launch default](#team-launch-defaults) for `standard` and `open`,
563
+ and without it for any other. The plan's line for that seat says which. The `allow`, `ask` and `deny` rules take effect once they are translated into the
476
564
  runtime's native settings. The `applying-a-permission-policy` skill in `openrig-core` does
477
565
  that translation, with per-runtime limits. For example, Claude's prefix rules can't
478
566
  reliably tell `git push --force` from `git push`. An `ask` waits for a person, so it pauses
@@ -798,7 +886,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
798
886
  | `restore_policy` | string | no | the AgentSpec's | Restore behavior. One of: `resume_if_possible`, `relaunch_fresh`, `checkpoint_only`. The default comes from the AgentSpec's `defaults.lifecycle` (else `resume_if_possible`) as narrowed by its profile; a member value may only narrow it further, in that order. |
799
887
  | `compaction_strategy` | string | no | — | `default-compaction`, `managed-compaction`, `handover` or `apprentice-handover`; `harness_native` and `pod_continuity` are accepted as deprecated aliases, and `custom_prompt` is refused. `managed-compaction` and `apprentice-handover` create their jobs only for `claude-code` seats; see [Codex compaction and sizing](agent-startup-guide.md#codex-compaction-and-sizing). |
800
888
  | `mechanic` | string | no | — | A canonical `seat@rig` session address, for `apprentice-handover`. |
801
- | `session_source` | object | no | — | Start the seat from an existing session: `fork` with `native_id`, `rebuild` with `artifact_set`, or `agent_image` with `image_name`. A Claude Code `fork` needs Claude Code 2.0.73 or later. Not valid on terminal members. |
889
+ | `session_source` | object | no | — | Start the seat from an existing session: `fork` with `native_id`, `rebuild` with `artifact_set`, or `agent_image` with `image_name`. A Claude Code `fork` needs Claude Code 2.0.73 or later. Not valid on terminal members. Rebuild `artifact_set` paths are read as given, relative to the daemon's working directory, so an absolute path is the reliable form. |
802
890
  | `starter_ref` | object | no | — | `{ name }` of an agent starter (`^[a-zA-Z0-9][a-zA-Z0-9_-]*$`) whose files lead the seat's startup. Not valid on terminal members or with a fork. |
803
891
  | `startup` | StartupBlock | no | — | Member-level startup files and actions. Applied only to this member. |
804
892
 
@@ -89,6 +89,9 @@ labelled observation.
89
89
 
90
90
  A member marked `"hosted": true` is a hosted member: a tool outside the terminal that reaches the team over MCP, with no node or pane.
91
91
  `rig_team` lists it with its capabilities and caveat, no pane and activity unknown, unless its seat is one of the rig's nodes.
92
+ For a caller on an external grant, a node seat on a roster keeps its own `rig_team` entry, with that entry's label,
93
+ capabilities, `use_when`, caveat and presence added, so an assistant can see a disconnected seat for what it is. A seat
94
+ on no roster reads as before, and so does every seat for an internal caller.
92
95
  `show` and `find` say it's hosted rather than unmatched. See [Hosted members](hosted-members.md).
93
96
  Its entry can declare `wake.webhook`, the secret names for a trigger OpenRig rings when work lands for it
94
97
  (see [Ring it when work lands](hosted-members.md#ring-it-when-work-lands)).
@@ -97,3 +100,26 @@ an hourly schedule is `60`), or `check_in_on_request: true` when it checks in on
97
100
  its person set up, not something OpenRig observes. With neither, its check-in status reads unknown: OpenRig doesn't
98
101
  assume a cadence. A value that can't be used doesn't stop the roster loading: that member's check-in
99
102
  status reads unknown, with the reason. See [Check-in status](hosted-members.md#check-in-status).
103
+
104
+ Any member can declare a `label`: how the person knows it, which an assistant can say back, such as
105
+ `"claude (Sam's assistant, invited)"`. It's plain text of at most 200 characters, with no control characters, line or
106
+ paragraph separators, bidirectional embeddings, overrides or isolates, word joiner or invisible operators (U+2060 to
107
+ U+2064), byte-order mark (U+FEFF), or angle brackets. The zero-width space, the zero-width joiner and non-joiner, and
108
+ the direction marks are allowed, as names need them. A label that breaks those rules doesn't stop the roster
109
+ loading: it's ignored with `label_problem`, and the member is named by its seat as before. An external caller's entry
110
+ carries that `label_problem`, so an unusable label doesn't read as absent.
111
+
112
+ The roster at `rosters/network-<rig>.json` names that rig's team. Without that file, the roster whose `id` is the
113
+ rig's name does (the `<rig>.json` the starter and factory leads write; the first by file name if several do). For an
114
+ external caller, `rig_team` reports its `name` as `rig.displayName`, beside the rig's own name. The name follows the
115
+ label rule; one that breaks it isn't shown, and
116
+ `rig.displayNameProblem` says why. When an external caller's default list of its own open items is empty,
117
+ `rig_queue_list` adds a line its assistant can repeat, such as
118
+ `No open requests are addressed to you on the team "Sam's team".` (a list of every state says `No requests …`).
119
+ If the owner hasn't named the team, the name is `Your OpenRig team`, and the line says `on your OpenRig team`. Without
120
+ that roster, or with a name that can't be shown, there's no display name, and the line says `on your OpenRig team`.
121
+
122
+ Labels, names and caveats are as the roster's writer last authored them, not live observations. Presence is OpenRig's
123
+ own reading. When some rosters can't be read, or this daemon's host id isn't known yet, `rig_team` says so in
124
+ `hostedMembersNote`: hosted members, and the roster entries of the team's seats, may be missing. The seats themselves
125
+ are still listed.
@@ -24,9 +24,15 @@ a shell prompt holds them. Keep the default for a seat that may fall back to a s
24
24
 
25
25
  Runtime permissions are separate. Recipient and interactive-prompt checks still
26
26
  apply. `--raw` and `--force` do not bypass the typing guard. A deliberate
27
- `--dangerously-interact --reason` remains available at every interruption level
27
+ `--dangerously-interact --reason` remains available in every mode, `hold` included,
28
28
  and uses the existing-input check below. Direct human input remains available.
29
29
 
30
+ An ordinary `rig send` types the message inside its From/To envelope, whose first
31
+ line is `From:`, so a message that starts with `/` stays literal text rather than
32
+ running as the agent's slash command. `--raw` and `--dangerously-interact` type the
33
+ exact text, with no envelope. Claude Code (2.1.322) turns a pasted tab into four
34
+ spaces, so tabs reach a Claude Code seat as spaces.
35
+
30
36
  A message sent to a busy Codex seat joins its running turn and may redirect it.
31
37
  For separate work, create a queue row instead:
32
38
  `rig queue create --destination <seat> --summary "<one line>" --body-file <file>`.