@openrig/cli 0.7.2 → 0.7.3

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 (553) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +2 -2
  5. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +37 -3
  6. package/daemon/context-packs/help/manifest.yaml +1 -1
  7. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  8. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +64 -11
  9. package/daemon/context-packs/reference/getting-started.md +7 -5
  10. package/daemon/context-packs/reference/manifest.yaml +1 -1
  11. package/daemon/context-packs/reference/rig-spec.md +86 -3
  12. package/daemon/context-packs/reference/whats-new.md +147 -281
  13. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  14. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  15. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  16. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +2 -2
  17. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +37 -3
  23. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +5 -2
  27. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/process/agent-browser/SKILL.md +1 -1
  56. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/systematic-debugging/root-cause-tracing.md +1 -1
  62. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  70. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  71. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  72. package/daemon/dist/adapters/codex-resume.d.ts +2 -1
  73. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  74. package/daemon/dist/adapters/codex-resume.js +12 -6
  75. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  76. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +9 -1
  77. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  78. package/daemon/dist/adapters/codex-runtime-adapter.js +374 -49
  79. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  80. package/daemon/dist/adapters/pi-resume.js +1 -1
  81. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  82. package/daemon/dist/adapters/pi-runner-protocol.d.ts +3 -3
  83. package/daemon/dist/adapters/pi-runner-protocol.js +2 -2
  84. package/daemon/dist/adapters/pi-runner.d.ts +1 -1
  85. package/daemon/dist/adapters/pi-runner.js +2 -2
  86. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  87. package/daemon/dist/adapters/tmux-server.d.ts +0 -3
  88. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  89. package/daemon/dist/adapters/tmux-server.js +0 -5
  90. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  91. package/daemon/dist/adapters/tmux.d.ts +13 -0
  92. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  93. package/daemon/dist/adapters/tmux.js +53 -3
  94. package/daemon/dist/adapters/tmux.js.map +1 -1
  95. package/daemon/dist/attention-surface.d.ts +16 -1
  96. package/daemon/dist/attention-surface.d.ts.map +1 -1
  97. package/daemon/dist/attention-surface.js.map +1 -1
  98. package/daemon/dist/build-info.js +3 -3
  99. package/daemon/dist/context-pack-taxonomy-surface.js +1 -1
  100. package/daemon/dist/context-pack-taxonomy-surface.js.map +1 -1
  101. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  102. package/daemon/dist/db/all-migrations.js +2 -0
  103. package/daemon/dist/db/all-migrations.js.map +1 -1
  104. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts +3 -0
  105. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts.map +1 -0
  106. package/daemon/dist/db/migrations/137_node_codex_permissions.js +7 -0
  107. package/daemon/dist/db/migrations/137_node_codex_permissions.js.map +1 -0
  108. package/daemon/dist/domain/active-occupant.js +1 -1
  109. package/daemon/dist/domain/active-occupant.js.map +1 -1
  110. package/daemon/dist/domain/agent-activity-store.d.ts +1 -1
  111. package/daemon/dist/domain/agent-activity-store.js +2 -2
  112. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  113. package/daemon/dist/domain/agent-resolver.js +1 -1
  114. package/daemon/dist/domain/agent-resolver.js.map +1 -1
  115. package/daemon/dist/domain/bind-plan.js +1 -1
  116. package/daemon/dist/domain/bind-plan.js.map +1 -1
  117. package/daemon/dist/domain/bootstrap-orchestrator.js +1 -1
  118. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  119. package/daemon/dist/domain/bundle-skills-router.js +2 -2
  120. package/daemon/dist/domain/bundle-skills-router.js.map +1 -1
  121. package/daemon/dist/domain/codex-member-permissions.d.ts +56 -0
  122. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -0
  123. package/daemon/dist/domain/codex-member-permissions.js +140 -0
  124. package/daemon/dist/domain/codex-member-permissions.js.map +1 -0
  125. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -1
  126. package/daemon/dist/domain/codex-owned-plugin-trust.js +2 -1
  127. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -1
  128. package/daemon/dist/domain/context-packs/context-pack-library-service.js +2 -2
  129. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  130. package/daemon/dist/domain/execution-candidate-reader.d.ts +16 -0
  131. package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -0
  132. package/daemon/dist/domain/execution-candidate-reader.js +77 -0
  133. package/daemon/dist/domain/execution-candidate-reader.js.map +1 -0
  134. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  135. package/daemon/dist/domain/execution-view.js +16 -6
  136. package/daemon/dist/domain/execution-view.js.map +1 -1
  137. package/daemon/dist/domain/feed-perspective.d.ts +14 -0
  138. package/daemon/dist/domain/feed-perspective.d.ts.map +1 -0
  139. package/daemon/dist/domain/feed-perspective.js +36 -0
  140. package/daemon/dist/domain/feed-perspective.js.map +1 -0
  141. package/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
  142. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
  143. package/daemon/dist/domain/gateway/human-registry.d.ts +11 -4
  144. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  145. package/daemon/dist/domain/gateway/human-registry.js +36 -5
  146. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  147. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  148. package/daemon/dist/domain/gateway/operator-delivery-engine.js +5 -2
  149. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  150. package/daemon/dist/domain/gateway/participants.d.ts +180 -0
  151. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -0
  152. package/daemon/dist/domain/gateway/participants.js +434 -0
  153. package/daemon/dist/domain/gateway/participants.js.map +1 -0
  154. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts +2 -2
  155. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts.map +1 -1
  156. package/daemon/dist/domain/gateway/slack/inbound-admission.js +73 -6
  157. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  158. package/daemon/dist/domain/gateway/slack/inbound.d.ts +18 -1
  159. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  160. package/daemon/dist/domain/gateway/slack/inbound.js +27 -11
  161. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  162. package/daemon/dist/domain/gateway/slack/message.d.ts +2 -0
  163. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  164. package/daemon/dist/domain/gateway/slack/message.js +14 -6
  165. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  166. package/daemon/dist/domain/gateway/slack/open-asks.d.ts +50 -0
  167. package/daemon/dist/domain/gateway/slack/open-asks.d.ts.map +1 -0
  168. package/daemon/dist/domain/gateway/slack/open-asks.js +215 -0
  169. package/daemon/dist/domain/gateway/slack/open-asks.js.map +1 -0
  170. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +2 -0
  171. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
  172. package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
  173. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
  174. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +15 -1
  175. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  176. package/daemon/dist/domain/gateway/slack/queue-access.js +98 -29
  177. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  178. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  179. package/daemon/dist/domain/gateway/slack/slack-delivery.js +1 -0
  180. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  181. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  182. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +56 -2
  183. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  184. package/daemon/dist/domain/gateway/slack/state-store.d.ts +3 -0
  185. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  186. package/daemon/dist/domain/gateway/slack/state-store.js +18 -0
  187. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  188. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  189. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  190. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +3 -1
  191. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  192. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +16 -0
  193. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  194. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +64 -16
  195. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  196. package/daemon/dist/domain/native-permission-store.d.ts +3 -2
  197. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  198. package/daemon/dist/domain/native-permission-store.js +14 -1
  199. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  200. package/daemon/dist/domain/native-resume-probe.d.ts +9 -0
  201. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  202. package/daemon/dist/domain/native-resume-probe.js +37 -2
  203. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  204. package/daemon/dist/domain/node-inventory.d.ts +1 -1
  205. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  206. package/daemon/dist/domain/permission-account.js +44 -9
  207. package/daemon/dist/domain/permission-account.js.map +1 -1
  208. package/daemon/dist/domain/permission-drift-observer.js +1 -1
  209. package/daemon/dist/domain/permission-drift-observer.js.map +1 -1
  210. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts +6 -2
  211. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -1
  212. package/daemon/dist/domain/policies/delivery-digest-flush.js +34 -9
  213. package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -1
  214. package/daemon/dist/domain/policies/quiet-release.d.ts +14 -0
  215. package/daemon/dist/domain/policies/quiet-release.d.ts.map +1 -1
  216. package/daemon/dist/domain/policies/quiet-release.js +13 -2
  217. package/daemon/dist/domain/policies/quiet-release.js.map +1 -1
  218. package/daemon/dist/domain/profile-resolution-worker.d.ts +1 -1
  219. package/daemon/dist/domain/profile-resolution-worker.d.ts.map +1 -1
  220. package/daemon/dist/domain/profile-resolution-worker.js +5 -5
  221. package/daemon/dist/domain/profile-resolution-worker.js.map +1 -1
  222. package/daemon/dist/domain/queue-destination-check.d.ts +5 -0
  223. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  224. package/daemon/dist/domain/queue-destination-check.js +5 -1
  225. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  226. package/daemon/dist/domain/queue-repository.d.ts +23 -5
  227. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  228. package/daemon/dist/domain/queue-repository.js +49 -23
  229. package/daemon/dist/domain/queue-repository.js.map +1 -1
  230. package/daemon/dist/domain/restore-orchestrator.d.ts +4 -0
  231. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  232. package/daemon/dist/domain/restore-orchestrator.js +17 -5
  233. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  234. package/daemon/dist/domain/review/compose.js +1 -1
  235. package/daemon/dist/domain/review/compose.js.map +1 -1
  236. package/daemon/dist/domain/review/gather.js +1 -1
  237. package/daemon/dist/domain/review/gather.js.map +1 -1
  238. package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
  239. package/daemon/dist/domain/rig-expansion-service.js +1 -0
  240. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  241. package/daemon/dist/domain/rig-repository.d.ts +1 -0
  242. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  243. package/daemon/dist/domain/rig-repository.js +15 -0
  244. package/daemon/dist/domain/rig-repository.js.map +1 -1
  245. package/daemon/dist/domain/rig-teardown.d.ts +3 -0
  246. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  247. package/daemon/dist/domain/rig-teardown.js +3 -0
  248. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  249. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  250. package/daemon/dist/domain/rigspec-codec.js +4 -0
  251. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  252. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  253. package/daemon/dist/domain/rigspec-exporter.js +12 -1
  254. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  255. package/daemon/dist/domain/rigspec-instantiator.d.ts +2 -0
  256. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  257. package/daemon/dist/domain/rigspec-instantiator.js +150 -128
  258. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  259. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  260. package/daemon/dist/domain/rigspec-schema.js +24 -1
  261. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  262. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  263. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  264. package/daemon/dist/domain/runtime-adapter.js +2 -0
  265. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  266. package/daemon/dist/domain/scope/dot-id.js +2 -2
  267. package/daemon/dist/domain/scope/dot-id.js.map +1 -1
  268. package/daemon/dist/domain/scope/scaffold-placeholder.d.ts +1 -1
  269. package/daemon/dist/domain/scope/scaffold-placeholder.js +1 -1
  270. package/daemon/dist/domain/scope/scope-audit.js +1 -1
  271. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  272. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  273. package/daemon/dist/domain/scope/types.js +2 -3
  274. package/daemon/dist/domain/scope/types.js.map +1 -1
  275. package/daemon/dist/domain/seat-handover-service.d.ts +1 -1
  276. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  277. package/daemon/dist/domain/seat-handover-service.js +6 -2
  278. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  279. package/daemon/dist/domain/seat-lifecycle-service.d.ts +23 -8
  280. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  281. package/daemon/dist/domain/seat-lifecycle-service.js +153 -12
  282. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  283. package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -2
  284. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  285. package/daemon/dist/domain/seat-restart-in-place.js +2 -2
  286. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  287. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +9 -2
  288. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  289. package/daemon/dist/domain/seat-runtime-switch-service.js +53 -5
  290. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  291. package/daemon/dist/domain/seat-status-service.d.ts +1 -0
  292. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  293. package/daemon/dist/domain/seat-status-service.js +11 -0
  294. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  295. package/daemon/dist/domain/seat-structural-activity-service.js +1 -1
  296. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  297. package/daemon/dist/domain/session-registry.d.ts +2 -0
  298. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  299. package/daemon/dist/domain/session-registry.js +3 -1
  300. package/daemon/dist/domain/session-registry.js.map +1 -1
  301. package/daemon/dist/domain/session-transport.d.ts +43 -1
  302. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  303. package/daemon/dist/domain/session-transport.js +195 -25
  304. package/daemon/dist/domain/session-transport.js.map +1 -1
  305. package/daemon/dist/domain/skill-library-discovery.js +2 -2
  306. package/daemon/dist/domain/skill-library-discovery.js.map +1 -1
  307. package/daemon/dist/domain/slices/slice-indexer.d.ts +4 -4
  308. package/daemon/dist/domain/slices/slice-indexer.js +17 -17
  309. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  310. package/daemon/dist/domain/startup-orchestrator.d.ts +0 -16
  311. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  312. package/daemon/dist/domain/startup-orchestrator.js +7 -60
  313. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  314. package/daemon/dist/domain/startup-submission-evidence.d.ts +26 -0
  315. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  316. package/daemon/dist/domain/startup-submission-evidence.js +54 -0
  317. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  318. package/daemon/dist/domain/successor-session-launcher.d.ts +1 -0
  319. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  320. package/daemon/dist/domain/successor-session-launcher.js +1 -0
  321. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  322. package/daemon/dist/domain/toml-tables.d.ts +20 -0
  323. package/daemon/dist/domain/toml-tables.d.ts.map +1 -0
  324. package/daemon/dist/domain/toml-tables.js +101 -0
  325. package/daemon/dist/domain/toml-tables.js.map +1 -0
  326. package/daemon/dist/domain/types.d.ts +25 -0
  327. package/daemon/dist/domain/types.d.ts.map +1 -1
  328. package/daemon/dist/domain/types.js.map +1 -1
  329. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  330. package/daemon/dist/domain/user-settings/settings-store.js +5 -6
  331. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  332. package/daemon/dist/domain/view-projector.d.ts +1 -0
  333. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  334. package/daemon/dist/domain/view-projector.js +15 -2
  335. package/daemon/dist/domain/view-projector.js.map +1 -1
  336. package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -1
  337. package/daemon/dist/domain/workflow-human-destination.js +5 -3
  338. package/daemon/dist/domain/workflow-human-destination.js.map +1 -1
  339. package/daemon/dist/domain/workflow-projector.d.ts +1 -0
  340. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  341. package/daemon/dist/domain/workflow-projector.js +19 -3
  342. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  343. package/daemon/dist/domain/workflow-runtime.d.ts +2 -2
  344. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  345. package/daemon/dist/domain/workflow-runtime.js +6 -4
  346. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  347. package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  348. package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  349. package/daemon/dist/gateway-human-registry-surface.js +1 -0
  350. package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  351. package/daemon/dist/index.js +2 -2
  352. package/daemon/dist/index.js.map +1 -1
  353. package/daemon/dist/lib/pane-envelope.d.ts +4 -0
  354. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  355. package/daemon/dist/lib/pane-envelope.js +1 -1
  356. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  357. package/daemon/dist/routes/activity.js +1 -1
  358. package/daemon/dist/routes/activity.js.map +1 -1
  359. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  360. package/daemon/dist/routes/agent-images.js +10 -0
  361. package/daemon/dist/routes/agent-images.js.map +1 -1
  362. package/daemon/dist/routes/attention.d.ts.map +1 -1
  363. package/daemon/dist/routes/attention.js +15 -3
  364. package/daemon/dist/routes/attention.js.map +1 -1
  365. package/daemon/dist/routes/bundles.js +1 -1
  366. package/daemon/dist/routes/bundles.js.map +1 -1
  367. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  368. package/daemon/dist/routes/gateway.js +42 -0
  369. package/daemon/dist/routes/gateway.js.map +1 -1
  370. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  371. package/daemon/dist/routes/hosts.js +5 -2
  372. package/daemon/dist/routes/hosts.js.map +1 -1
  373. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  374. package/daemon/dist/routes/mission-control.js +5 -1
  375. package/daemon/dist/routes/mission-control.js.map +1 -1
  376. package/daemon/dist/routes/plugins.js +1 -1
  377. package/daemon/dist/routes/plugins.js.map +1 -1
  378. package/daemon/dist/routes/queue.d.ts.map +1 -1
  379. package/daemon/dist/routes/queue.js +34 -8
  380. package/daemon/dist/routes/queue.js.map +1 -1
  381. package/daemon/dist/routes/rigs.js +2 -0
  382. package/daemon/dist/routes/rigs.js.map +1 -1
  383. package/daemon/dist/routes/runtime-switch-custody.js +1 -1
  384. package/daemon/dist/routes/scope-audit.js +1 -1
  385. package/daemon/dist/routes/scope-audit.js.map +1 -1
  386. package/daemon/dist/routes/seat.d.ts.map +1 -1
  387. package/daemon/dist/routes/seat.js +49 -15
  388. package/daemon/dist/routes/seat.js.map +1 -1
  389. package/daemon/dist/routes/sessions.js +15 -3
  390. package/daemon/dist/routes/sessions.js.map +1 -1
  391. package/daemon/dist/routes/skills.js +1 -1
  392. package/daemon/dist/routes/skills.js.map +1 -1
  393. package/daemon/dist/routes/slices.js +1 -1
  394. package/daemon/dist/routes/slices.js.map +1 -1
  395. package/daemon/dist/routes/transcripts.js +2 -2
  396. package/daemon/dist/routes/transcripts.js.map +1 -1
  397. package/daemon/dist/routes/transport.d.ts.map +1 -1
  398. package/daemon/dist/routes/transport.js +12 -3
  399. package/daemon/dist/routes/transport.js.map +1 -1
  400. package/daemon/dist/routes/workflow.js +1 -1
  401. package/daemon/dist/routes/workflow.js.map +1 -1
  402. package/daemon/dist/startup.js +1 -1
  403. package/daemon/dist/startup.js.map +1 -1
  404. package/daemon/dist/terminal/TerminalSessionBroker.d.ts +18 -2
  405. package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
  406. package/daemon/dist/terminal/TerminalSessionBroker.js +55 -9
  407. package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
  408. package/daemon/dist/terminal/window-pin.d.ts +41 -0
  409. package/daemon/dist/terminal/window-pin.d.ts.map +1 -0
  410. package/daemon/dist/terminal/window-pin.js +103 -0
  411. package/daemon/dist/terminal/window-pin.js.map +1 -0
  412. package/daemon/docs/reference/a2a-agents.md +16 -4
  413. package/daemon/docs/reference/agent-startup-guide.md +34 -2
  414. package/daemon/docs/reference/community-harness-examples/hermes/config.yaml.example +2 -1
  415. package/daemon/docs/reference/community-harness-presets.md +72 -2
  416. package/daemon/docs/reference/gateway-participants.md +165 -0
  417. package/daemon/docs/reference/getting-started.md +7 -5
  418. package/daemon/docs/reference/quickstart.md +13 -1
  419. package/daemon/docs/reference/rig-spec.md +86 -3
  420. package/daemon/docs/reference/seat-delivery.md +10 -1
  421. package/daemon/docs/reference/seat-node-targeting.md +17 -0
  422. package/daemon/docs/reference/slack-app-setup.md +20 -2
  423. package/daemon/docs/reference/whats-new.md +147 -281
  424. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +37 -3
  425. package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +5 -2
  426. package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +1 -1
  427. package/daemon/specs/agents/shared/skills/process/systematic-debugging/root-cause-tracing.md +1 -1
  428. package/dist/build-info.js +3 -3
  429. package/dist/client.d.ts +4 -0
  430. package/dist/client.d.ts.map +1 -1
  431. package/dist/client.js +4 -1
  432. package/dist/client.js.map +1 -1
  433. package/dist/commands/acp.js +1 -1
  434. package/dist/commands/capture.d.ts +27 -0
  435. package/dist/commands/capture.d.ts.map +1 -1
  436. package/dist/commands/capture.js +62 -4
  437. package/dist/commands/capture.js.map +1 -1
  438. package/dist/commands/doctor.d.ts +9 -1
  439. package/dist/commands/doctor.d.ts.map +1 -1
  440. package/dist/commands/doctor.js +18 -2
  441. package/dist/commands/doctor.js.map +1 -1
  442. package/dist/commands/down.d.ts.map +1 -1
  443. package/dist/commands/down.js +3 -0
  444. package/dist/commands/down.js.map +1 -1
  445. package/dist/commands/export.d.ts.map +1 -1
  446. package/dist/commands/export.js +10 -5
  447. package/dist/commands/export.js.map +1 -1
  448. package/dist/commands/gateway.d.ts.map +1 -1
  449. package/dist/commands/gateway.js +309 -23
  450. package/dist/commands/gateway.js.map +1 -1
  451. package/dist/commands/queue.d.ts.map +1 -1
  452. package/dist/commands/queue.js +26 -8
  453. package/dist/commands/queue.js.map +1 -1
  454. package/dist/commands/rig-mode.d.ts +1 -2
  455. package/dist/commands/rig-mode.d.ts.map +1 -1
  456. package/dist/commands/rig-mode.js +2 -2
  457. package/dist/commands/rig-mode.js.map +1 -1
  458. package/dist/commands/scope.d.ts.map +1 -1
  459. package/dist/commands/scope.js +12 -4
  460. package/dist/commands/scope.js.map +1 -1
  461. package/dist/commands/seat.d.ts.map +1 -1
  462. package/dist/commands/seat.js +35 -5
  463. package/dist/commands/seat.js.map +1 -1
  464. package/dist/commands/send.d.ts +3 -0
  465. package/dist/commands/send.d.ts.map +1 -1
  466. package/dist/commands/send.js +16 -18
  467. package/dist/commands/send.js.map +1 -1
  468. package/dist/commands/setup.d.ts.map +1 -1
  469. package/dist/commands/setup.js +10 -2
  470. package/dist/commands/setup.js.map +1 -1
  471. package/dist/commands/skill.js +1 -1
  472. package/dist/commands/skill.js.map +1 -1
  473. package/dist/commands/slack.d.ts +10 -0
  474. package/dist/commands/slack.d.ts.map +1 -1
  475. package/dist/commands/slack.js +70 -2
  476. package/dist/commands/slack.js.map +1 -1
  477. package/dist/config-store.d.ts.map +1 -1
  478. package/dist/config-store.js +3 -2
  479. package/dist/config-store.js.map +1 -1
  480. package/dist/daemon-lifecycle.d.ts +1 -1
  481. package/dist/daemon-lifecycle.js +2 -2
  482. package/dist/daemon-lifecycle.js.map +1 -1
  483. package/dist/fetch-with-timeout.d.ts.map +1 -1
  484. package/dist/fetch-with-timeout.js +3 -1
  485. package/dist/fetch-with-timeout.js.map +1 -1
  486. package/dist/lib/scope/dot-id.js +2 -2
  487. package/dist/lib/scope/dot-id.js.map +1 -1
  488. package/dist/lib/scope/scaffold-placeholder.d.ts +1 -1
  489. package/dist/lib/scope/scaffold-placeholder.js +1 -1
  490. package/dist/lib/scope/scope-audit.js +1 -1
  491. package/dist/lib/scope/scope-audit.js.map +1 -1
  492. package/dist/lib/scope/types.d.ts.map +1 -1
  493. package/dist/lib/scope/types.js +2 -3
  494. package/dist/lib/scope/types.js.map +1 -1
  495. package/dist/long-request-fetch.d.ts +9 -0
  496. package/dist/long-request-fetch.d.ts.map +1 -0
  497. package/dist/long-request-fetch.js +48 -0
  498. package/dist/long-request-fetch.js.map +1 -0
  499. package/dist/mcp-server.js +1 -1
  500. package/dist/mcp-server.js.map +1 -1
  501. package/dist/release-surface/affected-skills.d.ts.map +1 -1
  502. package/dist/release-surface/affected-skills.js +1 -2
  503. package/dist/release-surface/affected-skills.js.map +1 -1
  504. package/dist/remote-host-ops.d.ts +1 -0
  505. package/dist/remote-host-ops.d.ts.map +1 -1
  506. package/dist/remote-host-ops.js +2 -2
  507. package/dist/remote-host-ops.js.map +1 -1
  508. package/dist/tmux-health.d.ts +26 -0
  509. package/dist/tmux-health.d.ts.map +1 -1
  510. package/dist/tmux-health.js +42 -0
  511. package/dist/tmux-health.js.map +1 -1
  512. package/package.json +1 -1
  513. package/tui/dist/attention/attention-model.d.ts +19 -0
  514. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  515. package/tui/dist/attention/attention-model.js +38 -6
  516. package/tui/dist/attention/attention-model.js.map +1 -1
  517. package/tui/dist/commands/registry.d.ts.map +1 -1
  518. package/tui/dist/commands/registry.js +4 -1
  519. package/tui/dist/commands/registry.js.map +1 -1
  520. package/tui/dist/daemon-client.d.ts +13 -8
  521. package/tui/dist/daemon-client.d.ts.map +1 -1
  522. package/tui/dist/daemon-client.js +18 -10
  523. package/tui/dist/daemon-client.js.map +1 -1
  524. package/tui/dist/demo-data.js +17 -17
  525. package/tui/dist/demo-data.js.map +1 -1
  526. package/tui/dist/hydrate.d.ts +1 -1
  527. package/tui/dist/hydrate.d.ts.map +1 -1
  528. package/tui/dist/hydrate.js +31 -10
  529. package/tui/dist/hydrate.js.map +1 -1
  530. package/tui/dist/live-events.js +1 -1
  531. package/tui/dist/live-events.js.map +1 -1
  532. package/tui/dist/main.js +27 -7
  533. package/tui/dist/main.js.map +1 -1
  534. package/tui/dist/page-read.js +1 -1
  535. package/tui/dist/page-read.js.map +1 -1
  536. package/tui/dist/render.d.ts.map +1 -1
  537. package/tui/dist/render.js +51 -7
  538. package/tui/dist/render.js.map +1 -1
  539. package/tui/dist/state.d.ts.map +1 -1
  540. package/tui/dist/state.js +5 -1
  541. package/tui/dist/state.js.map +1 -1
  542. package/tui/dist/terminals/open-window.d.ts +8 -3
  543. package/tui/dist/terminals/open-window.d.ts.map +1 -1
  544. package/tui/dist/terminals/open-window.js +21 -6
  545. package/tui/dist/terminals/open-window.js.map +1 -1
  546. package/tui/dist/terminals/terminal-model.d.ts +1 -1
  547. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  548. package/tui/dist/terminals/terminal-model.js +1 -1
  549. package/tui/dist/terminals/terminal-model.js.map +1 -1
  550. package/tui/dist/types.d.ts +10 -1
  551. package/tui/dist/types.d.ts.map +1 -1
  552. package/ui/dist/assets/{index-DLP1ipGq.js → index-DV0UNxFw.js} +1 -1
  553. package/ui/dist/index.html +1 -1
@@ -0,0 +1,165 @@
1
+ # Gateway participants: several people, shared channels, organizations and policy
2
+
3
+ OpenRig's gateway can register **several people** and **shared channels**, group them into **organizations** and
4
+ **groups**, give each readable **policy** text, and name a **default person**. Agents read the policy and apply it;
5
+ OpenRig doesn't enforce it. This page covers the commands, what the default is for, and what upgrading and rolling back
6
+ do.
7
+
8
+ ## Participants
9
+
10
+ A participant is either:
11
+ - **a person**, registered with `rig gateway human add` as before, with their own Slack binding; or
12
+ - **a shared channel**: one vetted Slack channel registered as one participant, `<id>@external`, not a person per
13
+ sender.
14
+
15
+ People and channels share one address space: a channel can't take a person's id.
16
+
17
+ ```bash
18
+ # An organization and a group inside it (one command each, create or update)
19
+ rig gateway org set acme --name "Acme" --policy "Answer Acme's customers within a working day. Never promise a date."
20
+ rig gateway group set support --organization acme --name "Support" --policy-file ./support-policy.md
21
+
22
+ # People: the second and later ones are allowed now
23
+ rig gateway human add sarah --display-name "Sarah" \
24
+ --binding "slack:main:file:/etc/openrig/slack.env:primary:handle=U0SARAH" --delivery-class B \
25
+ --organization acme --group support --policy "Sarah approves refunds up to 500." --default
26
+
27
+ # A shared channel
28
+ rig gateway channel add acme-customers --display-name "Acme customers" \
29
+ --binding "slack:main:file:/etc/openrig/slack.env:C0ACME" --organization acme
30
+
31
+ # See everyone, with organization, groups, the default and each participant's policy
32
+ rig gateway participants
33
+ rig gateway participants --organization acme --json
34
+ rig gateway human show sarah
35
+ ```
36
+
37
+ Change a person's placement with `rig gateway human set <id> organization|groups|policy <value>` (`unset` clears it;
38
+ for policy, `@<path>` reads a file). Remove a channel with `rig gateway channel remove <id>`, which refuses while
39
+ non-terminal rows are addressed to it unless you pass `--force`.
40
+
41
+ ## Policy is context, not enforcement
42
+
43
+ A participant's **effective policy** is its organization's text, then each of its groups', then its own, each labelled
44
+ with where it came from. Agents read it (`rig gateway participants --json`, `rig gateway human show --json`) and apply
45
+ it with judgment. It doesn't grant or block anything by itself, and a participant's name never implies a policy.
46
+
47
+ ## The default person
48
+
49
+ Some things need a person without naming one: an escalation of stuck work, the digest of notices, Mission Control's
50
+ my-queue, a workflow's human step when no person is configured for it, and a pairing approval without `--human`. They
51
+ go to:
52
+ 1. the default person, when one is chosen (`rig gateway default <id>`, or `--default` on `human add`);
53
+ 2. otherwise the only registered person, so a one-person install needs no choice;
54
+ 3. otherwise nobody, and each says so: an escalation reports `undeliverable:no-default-person`, the notice digest
55
+ waits, and the others name the command to run.
56
+
57
+ `rig gateway default` shows the current default; `rig gateway default --clear` clears the choice. Choosing a default
58
+ never changes `workspace.operator_seat_name`, which keeps its own meaning.
59
+
60
+ ## In the TUI: whose queue, and who acts
61
+
62
+ The person at the terminal is the **primary user**: the default person, or, with several people and none chosen, the
63
+ person at the terminal unnamed. Whatever the TUI shows, its acts are theirs.
64
+ - **Opening:** with a chosen default, the TUI opens on that person's Feed. With none chosen, including a one-person
65
+ install that never chose one, it opens on the topology, as before.
66
+ - **Whose queue:** `whose <person>` shows one person's asks, `whose all` everyone's, and `whose default` the default
67
+ person's. The Feed's first line says whose queue it shows and who acts.
68
+ - **Acting on someone else's ask** (answer, approve or resolve from the TUI) records both: the primary user as the actor,
69
+ and the person asked in the audit notes and the transition. The asking seat reads, for example, "Answered by
70
+ mike@external, the primary user at the terminal, on sarah@external's ask". With several people and none chosen, the
71
+ actor is `human@host`.
72
+ - **Viewing Sarah isn't acting as Sarah.** Only Sarah, from her own channel, answers as Sarah. Without the primary
73
+ user's authority, one registered person can't answer, approve, deny or resolve what was asked of another; that's
74
+ refused (`answer_not_recorded`) and nothing changes.
75
+ - With no one registered, the TUI and its acts are as before, except on a shared channel's ask or a row parked on a
76
+ channel: the TUI shows the act as `human@host`, the person at the terminal, and it's recorded that way, never as the
77
+ channel.
78
+ - **A shared channel never acts.** Its messages are correspondence, so nothing it says answers, approves, denies or
79
+ resolves an ask, and a customer's earlier message in an ask's thread is never taken as its answer. A request without
80
+ the primary user's authority that acts as a channel, with any Mission Control verb (including drop, route, hold, hand
81
+ off and annotate), is refused (`answer_not_recorded`) and nothing changes.
82
+ - **Where the authority applies:** only on a request that carries no seat identity header, which is how the TUI calls
83
+ the daemon. Seats and the CLI send that header, so their acts stay theirs. This is the existing trusted-network
84
+ distinction, not an authentication check: a request that leaves the header out is taken as the terminal's, as any
85
+ such request already is.
86
+
87
+ ## Shared-channel conversations
88
+
89
+ A registered shared channel lets people who aren't registered, such as a customer, talk to a seat, without registering
90
+ each of them.
91
+
92
+ **Setup:**
93
+ 1. Invite the OpenRig Slack app to the channel.
94
+ 2. Register the channel: `rig gateway channel add acme-customers --display-name "Acme customers" --binding
95
+ "slack:main:file:/etc/openrig/slack.env:C0ACME" --organization acme --policy-file ./acme-customers.md`.
96
+ 3. Send its new messages to the support seat: `rig slack channel-map set support-rig C0ACME --inbound
97
+ support@support-rig`. Without a map, they go to the inbound destination.
98
+
99
+ A channel works on its own: no registered person is needed for it to converse.
100
+
101
+ **What the seat sees:** each message lands as a row from the channel (`acme-customers@external`). Its body ends with a
102
+ labelled block: the channel, its organization and groups, who wrote (the Slack user, marked as not a registered person),
103
+ and the channel's effective policy. The row is tagged `participant:acme-customers`, `shared-channel` and
104
+ `slack-sender:<user id>`. A registered person writing in the channel stays themselves; the block only says where they
105
+ wrote.
106
+
107
+ The channel's policy is the labelled block OpenRig adds at the end of the row, after the message. Anything above it is
108
+ the sender's own words, even if it looks like policy. `rig gateway participants --json` is the source.
109
+
110
+ **Answering:** reply into the customer's thread with an update to the channel:
111
+
112
+ ```bash
113
+ rig queue create --destination acme-customers@external --human-intent update --reply-to <their row's id> \
114
+ --summary "Your invoice" --body "It's on your account page."
115
+ ```
116
+
117
+ A later update with the same `--reply-to` lands in the same thread. An update without `--reply-to` posts to the channel
118
+ on its own. Posts to a channel mention nobody.
119
+
120
+ **What a channel can't do:** its messages are correspondence. They never answer, approve, close or resume anyone's ask.
121
+ You can still send an ask to the channel; the queue accepts it with a warning that nothing there will settle it, so read
122
+ the replies and close it yourself. Its questions show in the channel as a list, without buttons, and ask for a reply in
123
+ the thread.
124
+
125
+ ## Where it's stored
126
+
127
+ - **People** stay exactly as before: one file per person under `$OPENRIG_HOME/gateway/humans/`, plus the generated
128
+ `humans.generated.yaml`. Nothing new is written into them.
129
+ - **Everything else** (the default, organizations, groups, each participant's placement and policy, and shared
130
+ channels) is in `$OPENRIG_HOME/gateway/participants.yaml`, written by the commands above.
131
+ - **A problem in `participants.yaml` never disables the person registry.** People still receive and answer their asks.
132
+ The commands above report the problem, and with several people no default is chosen until it's fixed.
133
+ - **A person removed by hand** leaves a warning in `rig gateway participants`, not a broken file. `rig gateway human
134
+ remove` also removes the person's placement, and the default if it was them.
135
+
136
+ ## Upgrading
137
+
138
+ For a one-person install, nothing to do: it keeps working as before, that person stays the default, pending rows keep
139
+ their addresses, and no new file is written until you use one of the commands above.
140
+
141
+ A TUI older than the daemon still works: it sends the actor the daemon serves, the person asked, which is still their
142
+ own act. On a shared channel's ask the daemon serves `human@host`. An older TUI's approve there is recorded as
143
+ `human@host`, and its answer is refused (`answer_not_recorded`), because answering someone else's ask takes the primary
144
+ user's authority, which only a current TUI sends.
145
+
146
+ **If several people are already registered** (earlier versions listed hand-added people with an advisory), choose a
147
+ default with `rig gateway default <id>` after upgrading. Until you do, escalations report
148
+ `undeliverable:no-default-person` instead of reaching whoever's id sorted first, and the notice digest waits.
149
+
150
+ ## Rolling back to 0.7.2 or earlier
151
+
152
+ Older versions don't read `participants.yaml`, and the person files carry nothing they don't understand, so:
153
+ - **every registered person still loads**, and each can still answer their own asks from Slack;
154
+ - **another person's reply is guarded less on 0.7.1 and 0.7.0:** there, a different person's Slack reply in the thread
155
+ of a question parked on someone else can resume that question, and 0.7.0 can record such a reply to a pending ask as
156
+ an answer row (it still can't close the ask);
157
+ - **there's no default:** escalations and the notice digest go to the first person by id, Mission Control's my-queue
158
+ has no default person, and pairing needs `--human`;
159
+ - **the TUI** opens on the topology and records a terminal answer as the person asked, as before. Rows already
160
+ answered by the primary user keep their notes;
161
+ - **shared channels are unknown:** their customers' messages are refused again, as from any unregistered sender, and
162
+ rows addressed to a channel become undeliverable on the older version;
163
+ - **organizations, groups and policy aren't shown.**
164
+
165
+ Upgrading again restores all of it, because the older version never changes `participants.yaml`.
@@ -191,11 +191,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
191
191
  script will do and changes nothing:
192
192
 
193
193
  ```sh
194
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh -s -- --dry-run
194
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh -s -- --dry-run
195
195
  ```
196
196
 
197
197
  The same command without `--dry-run`,
198
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.2/scripts/install.sh | sh`, installs the
198
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh`, installs the
199
199
  latest published `@openrig/cli` with `npm install -g`,
200
200
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
201
201
  Codex and may install a missing one, as described below. A failed step prints
@@ -698,9 +698,11 @@ partial terminal view is not a healthy team. Each `--provider herdr` open adds
698
698
  a new workspace, numbered when the name is taken; return to the one already open
699
699
  when you want to preserve it. From inside Herdr, `rig terminal open <view> --window`
700
700
  focuses a matching space instead of adding one. Herdr's own status for a seat can
701
- read idle or unknown while OpenRig shows it waiting (`needs-input`); use OpenRig's
702
- view or the Feed to find waiting seats. This is terminal integration, not native
703
- plugin enrollment.
701
+ read idle or unknown while OpenRig shows it waiting (`needs-input`), for example in
702
+ a narrow tile that wraps Claude's footer, or in a tile that shows the inner tmux
703
+ status line (with `terminal.status_bar` on, or for a seat session OpenRig
704
+ adopted rather than created). Use OpenRig's view or the Feed to find waiting
705
+ seats. This is terminal integration, not native plugin enrollment.
704
706
 
705
707
  For team views with interactive panes, the open result distinguishes the dashboard
706
708
  overview from the team's lead conversation and asks whether you can see the team.
@@ -17,7 +17,7 @@ npx skills add https://github.com/mvschwarz/openrig/tree/<release-tag>/skills/ri
17
17
  npx skills add https://github.com/mvschwarz/openrig/tree/<release-tag>/skills/rigs --skill rigs --agent codex
18
18
  ```
19
19
 
20
- For a new install, use the latest release's tag, for example `v0.7.2`. If OpenRig is already installed, use the tag
20
+ For a new install, use the latest release's tag, for example `v0.7.3`. If OpenRig is already installed, use the tag
21
21
  that matches `rig --version`, or upgrade first. If the command fails with `npx: command not found`, Node.js isn't
22
22
  installed or isn't on your PATH yet (see [What you need](#what-you-need)). Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what
23
23
  you want built.
@@ -193,6 +193,18 @@ it as the step to finish: sign in, then continue at step 3.
193
193
  otherwise, or when the width can't be measured, the dashboard is on its own page. `saved:kernel` in
194
194
  `rig terminal open saved:kernel` is the name of this saved view.
195
195
 
196
+ ## Learn it in this order
197
+
198
+ 1. **How OpenRig works:** [the world and its purpose](https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/onboarding/01-world-and-purpose.md),
199
+ the first page a new agent in a team gets. It's written to agents, and it's the shortest account of rigs, seats and
200
+ queued work. Your install has the same page under `$(npm root -g)/@openrig/cli/daemon/assets/onboarding/`.
201
+ 2. **First use:** this page, and [what these words mean](#what-these-words-mean).
202
+ 3. **One command:** `rig <command> --help` is the exact answer for the version you have installed, and `rig --help`
203
+ lists every command.
204
+ 4. **Every command and flag:** the [CLI reference](https://github.com/mvschwarz/openrig/blob/main/docs/as-built/cli-reference.md).
205
+ It describes the source commit it names, so where it and your installed `--help` disagree, `--help` is right for
206
+ your version.
207
+
196
208
  ## More
197
209
 
198
210
  - **Every detail of setup:** troubleshooting, permissions, headless and SSH use, and what can stop the view from
@@ -290,6 +290,74 @@ managed-launch path. Other version pairs and native enforcement need their own c
290
290
  The launch still uses inline JSON, subject to the operating system's argument-size
291
291
  limits.
292
292
 
293
+ ### Per-member Codex permissions
294
+
295
+ Codex members can record their own sandbox and approval choice, even when they share a project folder:
296
+
297
+ ```yaml
298
+ codex_permissions:
299
+ sandbox: workspace-write # workspace-write or read-only
300
+ approval: never # never, on-request or untrusted
301
+ network_access: false # workspace-write only
302
+ writable_roots: ["/abs/lease"] # workspace-write only; absolute paths
303
+ exclude_tmpdir_env_var: false # workspace-write only
304
+ exclude_slash_tmp: false # workspace-write only
305
+ ```
306
+
307
+ OpenRig emits this envelope as explicit `-s`, `-a` and `sandbox_workspace_write.*` flags on
308
+ every managed launch and resume of the seat (fresh, both resume paths, restore and same-seat
309
+ handover), so a named `codex_config_profile` or a policy posture doesn't override those fields.
310
+ Omitted workspace-write fields are recorded as `false` or `[]` and emitted as such. Full access
311
+ is not an envelope: it stays the `full_bypass` mode. The envelope is the seat's explicit choice,
312
+ so team and kernel launch defaults don't apply to it, and status names the policy posture or
313
+ ambient `OPENRIG_YOLO` it replaces. With workspace-write, OpenRig still adds its queue-state root
314
+ and, on a fresh launch, git metadata folders; with read-only it adds no writable roots. It adds
315
+ no network setting of its own. Codex's implicit roots (the working directory and temporary
316
+ folders) still apply: this is a native sandbox and approval selection, not a complete
317
+ filesystem or credential-isolation guarantee. The field is also supported on legacy flat
318
+ Codex nodes; other runtimes reject it.
319
+
320
+ For an existing seat, put the envelope in a JSON file, or change its profile, with the existing
321
+ audited permission command:
322
+
323
+ ```sh
324
+ rig seat set-permissions dev-impl@team --codex-permissions envelope.json --reason "Narrow the implementer"
325
+ rig seat set-permissions dev-impl@team --codex-profile lease-impl --reason "Use the lease profile"
326
+ rig seat status dev-impl@team --json
327
+ ```
328
+
329
+ Choose one of `--mode`, `--rules`, `--codex-permissions` or `--codex-profile` per call. A seat
330
+ keeps one explicit permission choice: setting an envelope replaces a recorded mode, and setting
331
+ a mode (including `inherit`) clears the envelope, in the same audited write that names both.
332
+ A runtime switch keeps the envelope while the seat runs Claude Code and applies it again when
333
+ `rig seat set-runtime` brings the seat back to Codex. A switch back to Codex with an explicit
334
+ `--permission-mode` replaces the envelope when the switch commits, and the switch's plan and
335
+ event name it. A switch that doesn't commit leaves it in place.
336
+ A profile name is separate from the envelope and from approval: a resumed conversation keeps
337
+ its saved approval unless an envelope sets one. `--codex-profile inherit` clears the profile.
338
+
339
+ The profile command checks the profile in the config home this seat's launches use: the seat's
340
+ own `CODEX_HOME` when its `env:` declares one, else the daemon's explicit `CODEX_HOME`. There it
341
+ reports an absent file (Codex loads it as an empty layer, so base config applies), records the
342
+ file's hash so a later check can report a change, and refuses a profile that fails to load,
343
+ keeping the previous one. When neither sets a `CODEX_HOME`, a seat's pane keeps its own, and the
344
+ command reports the profile as unverified rather than checking a different home. Every launch
345
+ still runs the native profile check.
346
+
347
+ Updates leave the running process and history unchanged; they apply at the next separately
348
+ authorized managed launch or resume. Restore reads the seat's current record, so an older
349
+ snapshot doesn't bring back a replaced profile. A fork copies the source's current profile and
350
+ envelope independently. Export contains the current record. A new generation from `rig up
351
+ <spec>` starts from the spec. An invalid or unreadable envelope refuses that seat's launch, fork
352
+ or export with a repair message rather than launching broader. Without the field or a recorded
353
+ update, launch arguments are unchanged.
354
+
355
+ **Downgrade:** an older OpenRig keeps the stored envelope but doesn't read it, so its launches
356
+ of the seat use the earlier posture decision, which can be broader. This is not
357
+ restriction-preserving. Keep a copy of the intended envelope and establish equivalent native
358
+ restrictions before using an older managed-launch path. Native enforcement must be checked on
359
+ the Codex version and configuration being used.
360
+
293
361
  ### Team launch defaults
294
362
 
295
363
  A non-kernel Claude or Codex seat with no authored permission policy, explicit
@@ -525,6 +593,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
525
593
  | `agent_ref` | string | yes | — | Reference to an AgentSpec. Must start with `local:` (relative) or `path:` (absolute). Exception: `builtin:terminal` for infrastructure nodes. |
526
594
  | `profile` | string | yes | — | Profile name from the referenced AgentSpec. Use `default` for the default profile. Exception: `none` for terminal nodes. |
527
595
  | `codex_config_profile` | string | no | — | Codex-only native profile passed as `-p <name>`; letters, numbers, `_`, `.`, `-`. Separate from the AgentSpec `profile`. With the normal launch mode, this replaces OpenRig's explicit workspace-write sandbox flag. A full-bypass policy instead emits danger-full-access and omits this profile argument. |
596
+ | `codex_permissions` | mapping | no | — | Codex-only sandbox and approval envelope, emitted as explicit flags on every managed launch and resume; see [per-member Codex permissions](#per-member-codex-permissions). |
528
597
  | `runtime` | string | yes | — | Agent runtime. Current supported values: `claude-code`, `codex`, `pi`, `omp`, `terminal`, `stub`. `stub` is a deterministic test harness, not an agent: a Node runner in the seat's tmux pane goes through the normal launch, skill projection, startup-file and readiness path, follows `<cwd>/.openrig/stub/script.json` when present, and calls no model. See "What a stub can and cannot prove" in `docs/as-built/test-layers.md`. |
529
598
  | `cwd` | string | yes | — | Working directory for the agent. A relative path resolves against the rig root (the directory containing the rig spec). If that path exists as written, it is used. Otherwise a leading `~` or `~/` expands to the home directory (`~user` does not) and `$VAR` / `${VAR}` expand from the daemon host's environment; a relative result still resolves against the rig root. A reference to an unset variable stays as written, so the cwd is that literal path and works only if it exists. Use `"."` for the rig root itself. Can be overridden at launch time with `rig up --cwd`. A cwd inside the OpenRig installation fails preflight unless `--cwd` is given. Editing this declaration does not update an existing seat; use [`rig seat set-cwd`](agent-startup-guide.md#change-an-existing-seats-working-directory) to save its future launch directory. |
530
599
  | `label` | string | no | — | Human-readable member name. Shown in UI when present. |
@@ -729,6 +798,20 @@ the modified topology, run `rig snapshot <rig-id>` and use its returned ID with
729
798
 
730
799
  Startup blocks can appear at three levels: rig, pod, and member. They are merged additively via the startup layering model (see [the layering model](agent-startup-guide.md#the-layering-model)). The rig's `culture_file` joins as a required file with the `auto` hint in the culture layer, on both fresh start and restore.
731
800
 
801
+ `rig export` includes the rig's saved culture file and startup block, and now also
802
+ writes each pod's saved startup files under that pod. The file order, delivery
803
+ hints, required flags, orientation and `applies_on` selections are retained.
804
+ Previously the saved pod file lists were omitted. Pods without a recorded file
805
+ list, including older rigs, keep their existing export behavior; the exporter
806
+ does not reconstruct declarations from a member's combined startup context.
807
+
808
+ File paths remain relative to the exported spec's folder. When exporting to a
809
+ different folder, supply the referenced startup files there or import with the
810
+ original `--rig-root`. The CLI warns once per missing required rig or pod file;
811
+ missing optional files do not trigger that warning. Pod startup actions and
812
+ member startup blocks remain outside this export; keep the source spec when you
813
+ need those declarations.
814
+
732
815
  ### Files
733
816
 
734
817
  | Field | Type | Required | Default | Description |
@@ -737,7 +820,7 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
737
820
  | `orientation` | string | no | — | Set to `role` to identify a per-seat role file for `rig queue whoami --json` and refocus. Does not change delivery or replay startup. |
738
821
  | `delivery_hint` | string | no | `auto` | How the file is delivered. One of: `auto`, `guidance_merge`, `skill_install`, `send_text`. |
739
822
  | `required` | boolean | no | `true` | Whether startup fails if this file cannot be delivered. |
740
- | `applies_on` | string[] | no | `[fresh_start, restore]` | When this file is delivered. Subset of: `fresh_start`, `restore`. |
823
+ | `applies_on` | string[] | no | `[fresh_start, restore]` | When this file is delivered. Subset of: `fresh_start`, `restore`. An exact resume of the saved conversation delivers none, apart from putting back a missing managed guidance block. |
741
824
 
742
825
  #### Delivery Hints
743
826
 
@@ -755,8 +838,8 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
755
838
  | `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`, `startup_proof`. Note: `shell` is explicitly NOT supported in v1. |
756
839
  | `value` | string | yes | — | Command/text to send, or `authenticated` / `none` for `startup_proof`. |
757
840
  | `phase` | string | no | `after_files` | When to execute text/commands. One of: `after_files` (after startup files are delivered), `after_ready` (after harness readiness check passes). Proof selection is resolved before projection regardless of phase. |
758
- | `idempotent` | boolean | yes | — | Whether this action is safe to replay on restore. **Required field.** Non-idempotent actions must NOT include `restore` in `applies_on`. |
759
- | `applies_on` | string[] | no | `[fresh_start, restore]` | When this action runs. Subset of: `fresh_start`, `restore`. |
841
+ | `idempotent` | boolean | yes | — | Whether this action is safe to run again on a restore without the earlier conversation or a retried start. **Required field.** Non-idempotent actions must NOT include `restore` in `applies_on`. |
842
+ | `applies_on` | string[] | no | `[fresh_start, restore]` | When this action runs. Subset of: `fresh_start`, `restore`. An exact resume of the saved conversation runs none (see the startup guide). |
760
843
 
761
844
  ### Startup proof selection
762
845
 
@@ -22,7 +22,16 @@ apply. `--raw` and `--force` do not bypass the typing guard. A deliberate
22
22
  and uses the existing-input check below. Direct human input remains available.
23
23
 
24
24
  A message sent to a busy Codex seat joins its running turn and may redirect it.
25
- For separate work, use `rig send <seat> "<message>" --wait-for-idle <seconds>`.
25
+ For separate work, create a queue row instead:
26
+ `rig queue create --destination <seat> --summary "<one line>" --body-file <file>`.
27
+ A row that's saved keeps the work apart from its wake, the short pointer typed
28
+ into the seat. The wake is still typed input, and it isn't proof that the seat
29
+ claimed or finished the work: the row's state says that.
30
+
31
+ `rig send <seat> "<message>" --wait-for-idle <seconds>` suits a sender who
32
+ watches the result. If the seat is still busy, or its activity is unknown, when
33
+ the wait ends, nothing is sent (exit 1, "No text was sent.") and OpenRig keeps
34
+ nothing to send later.
26
35
 
27
36
  ## Configure and inspect
28
37
 
@@ -0,0 +1,17 @@
1
+ # Seat settings by node ID
2
+
3
+ Clients that present a specific seat can save its later-launch settings using its durable `nodeId`. The node ID is distinct from the current session and native conversation. These routes never launch, stop, or resume the seat.
4
+
5
+ | Read or save | Node-addressed route |
6
+ | --- | --- |
7
+ | Status | `GET /api/seat/status/node/:nodeId` |
8
+ | Native permissions | `POST /api/seat/set-permissions/node/:nodeId` |
9
+ | Permission policy | `POST /api/seat/set-policy/node/:nodeId` |
10
+ | Model | `POST /api/seat/set-model/node/:nodeId` |
11
+ | Effort | `POST /api/seat/set-effort/node/:nodeId` |
12
+
13
+ The POST bodies and responses follow the corresponding name-addressed routes. A successful save's `seat.nodeId` and `seat.rigId` identify the node actually updated. The exact status response adds `node_id`, `contract: "seat-node.v1"`, and `supported_actions` listing the four setters. Existing name status responses retain their shape.
14
+
15
+ An unknown, deleted, or archived node returns `seat_not_found` (HTTP 404) at node resolution. After awaited validation of a native Claude permission mode or Codex profile returns, the exact node-ID path checks availability again before saving; an unavailable node then returns `seat_not_found` without a setting or audit write. Existing native validation may refuse a changed target before this check: for example, Claude's managed context guard can report `permission_selection_refused` during preparation. The daemon never resolves a node ID through a reusable seat name. Setting writes have no general session precondition; a changed occupant on the same available node can receive a later save.
16
+
17
+ For example, `POST /api/seat/set-model/node/<nodeId>` accepts the existing `{ "model": "...", "reason": "...", "operator": "..." }` body. The existing audit actor, reason, native validation, permission precedence, and terminal policy rules still apply. The older `/:seatRef` routes remain available, including their name ambiguity behavior.
@@ -58,6 +58,15 @@ not fill in; if so, follow the form.
58
58
  one, it is refused.
59
59
  10. Run `rig slack setup --channel <channel-id> --secrets-env-file <path>`, then
60
60
  `rig slack verify`, then `rig slack enable`.
61
+ 11. Enabling treats the asks already open as seen, so none of them post. To see them in Slack, run
62
+ `rig slack post-open-asks`. Each goes through ordinary delivery at the level it was asked at
63
+ (quiet hours, digest and the posting floor apply), and the command says what became of each:
64
+ posted, already posted, queued awaiting its receipt, held, below the posting floor, no longer
65
+ active, superseded, recipient changed, state unavailable, transport failed or uncertain. An ask
66
+ asked at RECORD stays on Steering and the Feed without a post. Running it again reuses each ask's
67
+ one decision rather than making another, so an ask whose post is confirmed isn't posted again. As
68
+ with any Slack post, one whose earlier attempt Slack couldn't confirm may post once more, marked as
69
+ a possible repeat. `--wait <seconds>` (default 10) is how long it waits for Slack receipts.
61
70
 
62
71
  ## What the app asks for
63
72
 
@@ -182,6 +191,14 @@ rig slack channel-map remove pr@my-rig
182
191
  - **Answers come back to where the person asked.** A person's new message is the root of its
183
192
  answer: when the seat it reached replies with `--reply-to` that message's row, the answer and
184
193
  later updates land in the person's thread, in the channel they used.
194
+ - **One conversation, whoever writes.** Messages routed to the same continuing agent
195
+ conversation can use that conversation's earlier context, whoever sent them. A queue row
196
+ records who sent a message and which seat owns it; it doesn't start a separate agent
197
+ conversation. If people need separate conversations, route them to separate seats
198
+ (`--inbound` names the seat a channel's new messages reach). Separate channels help only when
199
+ their routing also keeps the conversations separate: new messages in a seat's own channel
200
+ still go to the inbound destination unless its entry names `--inbound`. A conversation shared
201
+ on purpose is fine.
185
202
  - Missed-message recovery (below) covers the default channel only.
186
203
 
187
204
  Invite the app to every mapped channel (`/invite @OpenRig`). `rig slack verify` checks
@@ -190,7 +207,8 @@ app is in all of them. A saved change reaches a running connector when it next r
190
207
  daemon restart does (`rig daemon stop`, then `rig daemon start`). `rig slack disable --reason
191
208
  "<why>"` then `rig slack enable` rewires too, but alerts still waiting to be posted when it's
192
209
  re-enabled are treated as already seen and aren't posted. Only an earlier post that failed or
193
- didn't finish still posts: an alert whose row is still open, a decision-resolved notice, or a digest. The TUI's Connections page says whether the running
210
+ didn't finish still posts: an alert whose row is still open, a decision-resolved notice, or a digest. `rig slack post-open-asks`
211
+ then shows the asks still open. The TUI's Connections page says whether the running
194
212
  configuration matches the file.
195
213
 
196
214
  The map is stored as `channelMap` in `slack-connector.json`, as a list of `{ "match", "channel" }`
@@ -258,7 +276,7 @@ reaches a running connector when it next rewires, which a daemon restart does (`
258
276
  then `rig daemon start`). `rig slack disable --reason "<why>"` then `rig slack enable` rewires too,
259
277
  but alerts still waiting to be posted when it's re-enabled are treated as already seen and aren't
260
278
  posted. Only an earlier post that failed or didn't finish still posts: an alert whose row is still
261
- open, a decision-resolved notice, or a digest.
279
+ open, a decision-resolved notice, or a digest. `rig slack post-open-asks` then shows the asks still open.
262
280
 
263
281
  ## One app across machines (optional)
264
282