@openrig/cli 0.7.2 → 0.7.4

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 (737) 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/hooks/claude.json +11 -0
  5. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +13 -9
  6. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +2 -2
  7. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +37 -3
  8. package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +4 -0
  9. package/daemon/context-packs/help/help.md +6 -3
  10. package/daemon/context-packs/help/manifest.yaml +1 -1
  11. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  12. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +100 -15
  13. package/daemon/context-packs/reference/getting-started.md +12 -8
  14. package/daemon/context-packs/reference/manifest.yaml +1 -1
  15. package/daemon/context-packs/reference/rig-spec.md +89 -3
  16. package/daemon/context-packs/reference/whats-new.md +109 -282
  17. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +2 -2
  21. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +37 -3
  27. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +5 -2
  31. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/agent-browser/SKILL.md +1 -1
  60. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/systematic-debugging/root-cause-tracing.md +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/SKILL.md +4 -0
  69. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +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 +1 -0
  78. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  79. package/daemon/dist/adapters/claude-code-adapter.js +17 -4
  80. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  81. package/daemon/dist/adapters/claude-resume.d.ts +1 -1
  82. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  83. package/daemon/dist/adapters/claude-resume.js +18 -6
  84. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  85. package/daemon/dist/adapters/codex-resume.d.ts +2 -1
  86. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  87. package/daemon/dist/adapters/codex-resume.js +20 -8
  88. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  89. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +10 -1
  90. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  91. package/daemon/dist/adapters/codex-runtime-adapter.js +381 -50
  92. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  93. package/daemon/dist/adapters/pi-openrouter-charge.d.ts.map +1 -1
  94. package/daemon/dist/adapters/pi-openrouter-charge.js +3 -0
  95. package/daemon/dist/adapters/pi-openrouter-charge.js.map +1 -1
  96. package/daemon/dist/adapters/pi-resume.js +1 -1
  97. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  98. package/daemon/dist/adapters/pi-runner-protocol.d.ts +3 -3
  99. package/daemon/dist/adapters/pi-runner-protocol.js +2 -2
  100. package/daemon/dist/adapters/pi-runner.d.ts +1 -1
  101. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  102. package/daemon/dist/adapters/pi-runner.js +13 -4
  103. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  104. package/daemon/dist/adapters/tmux-server.d.ts +0 -3
  105. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  106. package/daemon/dist/adapters/tmux-server.js +0 -5
  107. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  108. package/daemon/dist/adapters/tmux.d.ts +13 -0
  109. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  110. package/daemon/dist/adapters/tmux.js +62 -4
  111. package/daemon/dist/adapters/tmux.js.map +1 -1
  112. package/daemon/dist/attention-surface.d.ts +16 -1
  113. package/daemon/dist/attention-surface.d.ts.map +1 -1
  114. package/daemon/dist/attention-surface.js.map +1 -1
  115. package/daemon/dist/build-info.js +3 -3
  116. package/daemon/dist/context-pack-taxonomy-surface.js +1 -1
  117. package/daemon/dist/context-pack-taxonomy-surface.js.map +1 -1
  118. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  119. package/daemon/dist/db/all-migrations.js +4 -0
  120. package/daemon/dist/db/all-migrations.js.map +1 -1
  121. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts +3 -0
  122. package/daemon/dist/db/migrations/137_node_codex_permissions.d.ts.map +1 -0
  123. package/daemon/dist/db/migrations/137_node_codex_permissions.js +7 -0
  124. package/daemon/dist/db/migrations/137_node_codex_permissions.js.map +1 -0
  125. package/daemon/dist/db/migrations/140_identity_principal.d.ts +12 -0
  126. package/daemon/dist/db/migrations/140_identity_principal.d.ts.map +1 -0
  127. package/daemon/dist/db/migrations/140_identity_principal.js +20 -0
  128. package/daemon/dist/db/migrations/140_identity_principal.js.map +1 -0
  129. package/daemon/dist/domain/active-occupant.js +1 -1
  130. package/daemon/dist/domain/active-occupant.js.map +1 -1
  131. package/daemon/dist/domain/agent-activity-store.d.ts +1 -1
  132. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  133. package/daemon/dist/domain/agent-activity-store.js +5 -3
  134. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  135. package/daemon/dist/domain/agent-resolver.js +1 -1
  136. package/daemon/dist/domain/agent-resolver.js.map +1 -1
  137. package/daemon/dist/domain/bind-plan.js +1 -1
  138. package/daemon/dist/domain/bind-plan.js.map +1 -1
  139. package/daemon/dist/domain/bootstrap-orchestrator.js +1 -1
  140. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  141. package/daemon/dist/domain/bundle-skills-router.js +2 -2
  142. package/daemon/dist/domain/bundle-skills-router.js.map +1 -1
  143. package/daemon/dist/domain/codex-member-permissions.d.ts +56 -0
  144. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -0
  145. package/daemon/dist/domain/codex-member-permissions.js +140 -0
  146. package/daemon/dist/domain/codex-member-permissions.js.map +1 -0
  147. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -1
  148. package/daemon/dist/domain/codex-owned-plugin-trust.js +2 -1
  149. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -1
  150. package/daemon/dist/domain/context-packs/context-pack-library-service.js +2 -2
  151. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  152. package/daemon/dist/domain/current-restore-snapshot.d.ts +8 -0
  153. package/daemon/dist/domain/current-restore-snapshot.d.ts.map +1 -0
  154. package/daemon/dist/domain/current-restore-snapshot.js +26 -0
  155. package/daemon/dist/domain/current-restore-snapshot.js.map +1 -0
  156. package/daemon/dist/domain/draft-aware-delivery.js +1 -1
  157. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  158. package/daemon/dist/domain/execution-candidate-reader.d.ts +16 -0
  159. package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -0
  160. package/daemon/dist/domain/execution-candidate-reader.js +77 -0
  161. package/daemon/dist/domain/execution-candidate-reader.js.map +1 -0
  162. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  163. package/daemon/dist/domain/execution-view.js +16 -6
  164. package/daemon/dist/domain/execution-view.js.map +1 -1
  165. package/daemon/dist/domain/feed-perspective.d.ts +14 -0
  166. package/daemon/dist/domain/feed-perspective.d.ts.map +1 -0
  167. package/daemon/dist/domain/feed-perspective.js +36 -0
  168. package/daemon/dist/domain/feed-perspective.js.map +1 -0
  169. package/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
  170. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
  171. package/daemon/dist/domain/gateway/destination-resolver.d.ts +6 -0
  172. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  173. package/daemon/dist/domain/gateway/destination-resolver.js +8 -1
  174. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  175. package/daemon/dist/domain/gateway/human-registry.d.ts +11 -4
  176. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  177. package/daemon/dist/domain/gateway/human-registry.js +36 -5
  178. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  179. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  180. package/daemon/dist/domain/gateway/operator-delivery-engine.js +5 -2
  181. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  182. package/daemon/dist/domain/gateway/participants.d.ts +180 -0
  183. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -0
  184. package/daemon/dist/domain/gateway/participants.js +434 -0
  185. package/daemon/dist/domain/gateway/participants.js.map +1 -0
  186. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts +2 -2
  187. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts.map +1 -1
  188. package/daemon/dist/domain/gateway/slack/inbound-admission.js +73 -6
  189. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  190. package/daemon/dist/domain/gateway/slack/inbound.d.ts +18 -1
  191. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  192. package/daemon/dist/domain/gateway/slack/inbound.js +27 -11
  193. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  194. package/daemon/dist/domain/gateway/slack/message.d.ts +2 -0
  195. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  196. package/daemon/dist/domain/gateway/slack/message.js +14 -6
  197. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  198. package/daemon/dist/domain/gateway/slack/open-asks.d.ts +50 -0
  199. package/daemon/dist/domain/gateway/slack/open-asks.d.ts.map +1 -0
  200. package/daemon/dist/domain/gateway/slack/open-asks.js +215 -0
  201. package/daemon/dist/domain/gateway/slack/open-asks.js.map +1 -0
  202. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +2 -0
  203. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
  204. package/daemon/dist/domain/gateway/slack/outbound-driver.js +1 -0
  205. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
  206. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +15 -1
  207. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  208. package/daemon/dist/domain/gateway/slack/queue-access.js +98 -29
  209. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  210. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  211. package/daemon/dist/domain/gateway/slack/slack-delivery.js +1 -0
  212. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  213. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  214. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +59 -4
  215. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  216. package/daemon/dist/domain/gateway/slack/state-store.d.ts +3 -0
  217. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  218. package/daemon/dist/domain/gateway/slack/state-store.js +18 -0
  219. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  220. package/daemon/dist/domain/hosted-wake.d.ts +19 -0
  221. package/daemon/dist/domain/hosted-wake.d.ts.map +1 -0
  222. package/daemon/dist/domain/hosted-wake.js +56 -0
  223. package/daemon/dist/domain/hosted-wake.js.map +1 -0
  224. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  225. package/daemon/dist/domain/kernel-boot.d.ts +10 -4
  226. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  227. package/daemon/dist/domain/kernel-boot.js +14 -7
  228. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  229. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  230. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +3 -1
  231. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  232. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +16 -0
  233. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  234. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +64 -16
  235. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  236. package/daemon/dist/domain/native-permission-store.d.ts +3 -2
  237. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  238. package/daemon/dist/domain/native-permission-store.js +14 -1
  239. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  240. package/daemon/dist/domain/native-resume-probe.d.ts +9 -0
  241. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  242. package/daemon/dist/domain/native-resume-probe.js +37 -2
  243. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  244. package/daemon/dist/domain/node-inventory.d.ts +2 -2
  245. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  246. package/daemon/dist/domain/node-inventory.js +10 -5
  247. package/daemon/dist/domain/node-inventory.js.map +1 -1
  248. package/daemon/dist/domain/node-launcher.d.ts +5 -0
  249. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  250. package/daemon/dist/domain/node-launcher.js +35 -1
  251. package/daemon/dist/domain/node-launcher.js.map +1 -1
  252. package/daemon/dist/domain/outbox-handler.d.ts +3 -0
  253. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  254. package/daemon/dist/domain/outbox-handler.js +10 -4
  255. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  256. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  257. package/daemon/dist/domain/permission-account.js +44 -9
  258. package/daemon/dist/domain/permission-account.js.map +1 -1
  259. package/daemon/dist/domain/permission-drift-observer.js +1 -1
  260. package/daemon/dist/domain/permission-drift-observer.js.map +1 -1
  261. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts +3 -1
  262. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts.map +1 -1
  263. package/daemon/dist/domain/policies/artifact-pool-helpers.js +1 -1
  264. package/daemon/dist/domain/policies/artifact-pool-helpers.js.map +1 -1
  265. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts +6 -2
  266. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -1
  267. package/daemon/dist/domain/policies/delivery-digest-flush.js +34 -9
  268. package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -1
  269. package/daemon/dist/domain/policies/edge-artifact-required.d.ts.map +1 -1
  270. package/daemon/dist/domain/policies/edge-artifact-required.js +3 -0
  271. package/daemon/dist/domain/policies/edge-artifact-required.js.map +1 -1
  272. package/daemon/dist/domain/policies/quiet-release.d.ts +14 -0
  273. package/daemon/dist/domain/policies/quiet-release.d.ts.map +1 -1
  274. package/daemon/dist/domain/policies/quiet-release.js +13 -2
  275. package/daemon/dist/domain/policies/quiet-release.js.map +1 -1
  276. package/daemon/dist/domain/profile-resolution-worker.d.ts +1 -1
  277. package/daemon/dist/domain/profile-resolution-worker.d.ts.map +1 -1
  278. package/daemon/dist/domain/profile-resolution-worker.js +5 -5
  279. package/daemon/dist/domain/profile-resolution-worker.js.map +1 -1
  280. package/daemon/dist/domain/provider/claude-interruption.d.ts +3 -0
  281. package/daemon/dist/domain/provider/claude-interruption.d.ts.map +1 -0
  282. package/daemon/dist/domain/provider/claude-interruption.js +5 -0
  283. package/daemon/dist/domain/provider/claude-interruption.js.map +1 -0
  284. package/daemon/dist/domain/provider/host-usage-rollup.js +18 -8
  285. package/daemon/dist/domain/provider/host-usage-rollup.js.map +1 -1
  286. package/daemon/dist/domain/provider/provider-signals.d.ts +12 -5
  287. package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
  288. package/daemon/dist/domain/provider/provider-signals.js +31 -8
  289. package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
  290. package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -4
  291. package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
  292. package/daemon/dist/domain/provider/reactive-tap.js +20 -4
  293. package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
  294. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  295. package/daemon/dist/domain/ps-projection.js +3 -2
  296. package/daemon/dist/domain/ps-projection.js.map +1 -1
  297. package/daemon/dist/domain/queue-destination-check.d.ts +5 -0
  298. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  299. package/daemon/dist/domain/queue-destination-check.js +5 -1
  300. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  301. package/daemon/dist/domain/queue-repository.d.ts +38 -6
  302. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  303. package/daemon/dist/domain/queue-repository.js +115 -33
  304. package/daemon/dist/domain/queue-repository.js.map +1 -1
  305. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  306. package/daemon/dist/domain/queue-retention.js +4 -2
  307. package/daemon/dist/domain/queue-retention.js.map +1 -1
  308. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  309. package/daemon/dist/domain/queue-stuck-sweep.js +35 -0
  310. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  311. package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
  312. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  313. package/daemon/dist/domain/queue-transition-log.js +11 -2
  314. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  315. package/daemon/dist/domain/queue-wake-ladder.d.ts +1 -1
  316. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  317. package/daemon/dist/domain/queue-wake-ladder.js +2 -1
  318. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  319. package/daemon/dist/domain/reconciler.d.ts +2 -0
  320. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  321. package/daemon/dist/domain/reconciler.js +5 -2
  322. package/daemon/dist/domain/reconciler.js.map +1 -1
  323. package/daemon/dist/domain/restore-orchestrator.d.ts +21 -2
  324. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  325. package/daemon/dist/domain/restore-orchestrator.js +182 -43
  326. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  327. package/daemon/dist/domain/restore-plan-preview.d.ts +27 -1
  328. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  329. package/daemon/dist/domain/restore-plan-preview.js +51 -29
  330. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  331. package/daemon/dist/domain/review/compose.js +1 -1
  332. package/daemon/dist/domain/review/compose.js.map +1 -1
  333. package/daemon/dist/domain/review/gather.d.ts +11 -0
  334. package/daemon/dist/domain/review/gather.d.ts.map +1 -1
  335. package/daemon/dist/domain/review/gather.js +65 -27
  336. package/daemon/dist/domain/review/gather.js.map +1 -1
  337. package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
  338. package/daemon/dist/domain/rig-expansion-service.js +1 -0
  339. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  340. package/daemon/dist/domain/rig-repository.d.ts +1 -0
  341. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  342. package/daemon/dist/domain/rig-repository.js +15 -0
  343. package/daemon/dist/domain/rig-repository.js.map +1 -1
  344. package/daemon/dist/domain/rig-teardown.d.ts +3 -0
  345. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  346. package/daemon/dist/domain/rig-teardown.js +3 -0
  347. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  348. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  349. package/daemon/dist/domain/rigspec-codec.js +4 -0
  350. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  351. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  352. package/daemon/dist/domain/rigspec-exporter.js +12 -1
  353. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  354. package/daemon/dist/domain/rigspec-instantiator.d.ts +2 -0
  355. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  356. package/daemon/dist/domain/rigspec-instantiator.js +150 -128
  357. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  358. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  359. package/daemon/dist/domain/rigspec-schema.js +24 -1
  360. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  361. package/daemon/dist/domain/rosters.d.ts +46 -0
  362. package/daemon/dist/domain/rosters.d.ts.map +1 -0
  363. package/daemon/dist/domain/rosters.js +80 -0
  364. package/daemon/dist/domain/rosters.js.map +1 -0
  365. package/daemon/dist/domain/runtime-adapter.d.ts +4 -0
  366. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  367. package/daemon/dist/domain/runtime-adapter.js +2 -0
  368. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  369. package/daemon/dist/domain/scope/dot-id.js +2 -2
  370. package/daemon/dist/domain/scope/dot-id.js.map +1 -1
  371. package/daemon/dist/domain/scope/scaffold-placeholder.d.ts +1 -1
  372. package/daemon/dist/domain/scope/scaffold-placeholder.js +1 -1
  373. package/daemon/dist/domain/scope/scope-audit.js +1 -1
  374. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  375. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  376. package/daemon/dist/domain/scope/types.js +2 -3
  377. package/daemon/dist/domain/scope/types.js.map +1 -1
  378. package/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -0
  379. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  380. package/daemon/dist/domain/seat-attention-reconciler.js +10 -1
  381. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  382. package/daemon/dist/domain/seat-handover-service.d.ts +7 -1
  383. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  384. package/daemon/dist/domain/seat-handover-service.js +89 -4
  385. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  386. package/daemon/dist/domain/seat-lifecycle-service.d.ts +23 -8
  387. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  388. package/daemon/dist/domain/seat-lifecycle-service.js +153 -12
  389. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  390. package/daemon/dist/domain/seat-restart-in-place.d.ts +2 -2
  391. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  392. package/daemon/dist/domain/seat-restart-in-place.js +2 -2
  393. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  394. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +9 -2
  395. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  396. package/daemon/dist/domain/seat-runtime-switch-service.js +53 -5
  397. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  398. package/daemon/dist/domain/seat-status-service.d.ts +1 -0
  399. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  400. package/daemon/dist/domain/seat-status-service.js +11 -0
  401. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  402. package/daemon/dist/domain/seat-structural-activity-service.js +1 -1
  403. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  404. package/daemon/dist/domain/session-registry.d.ts +2 -0
  405. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  406. package/daemon/dist/domain/session-registry.js +3 -1
  407. package/daemon/dist/domain/session-registry.js.map +1 -1
  408. package/daemon/dist/domain/session-transport.d.ts +45 -1
  409. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  410. package/daemon/dist/domain/session-transport.js +205 -29
  411. package/daemon/dist/domain/session-transport.js.map +1 -1
  412. package/daemon/dist/domain/shared-history-selection.d.ts +34 -0
  413. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -0
  414. package/daemon/dist/domain/shared-history-selection.js +74 -0
  415. package/daemon/dist/domain/shared-history-selection.js.map +1 -0
  416. package/daemon/dist/domain/skill-library-discovery.js +2 -2
  417. package/daemon/dist/domain/skill-library-discovery.js.map +1 -1
  418. package/daemon/dist/domain/slices/slice-indexer.d.ts +4 -4
  419. package/daemon/dist/domain/slices/slice-indexer.js +17 -17
  420. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  421. package/daemon/dist/domain/snapshot-capture.d.ts +1 -0
  422. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  423. package/daemon/dist/domain/snapshot-capture.js +43 -1
  424. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  425. package/daemon/dist/domain/startup-orchestrator.d.ts +2 -16
  426. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  427. package/daemon/dist/domain/startup-orchestrator.js +15 -64
  428. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  429. package/daemon/dist/domain/startup-submission-evidence.d.ts +32 -0
  430. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  431. package/daemon/dist/domain/startup-submission-evidence.js +60 -0
  432. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  433. package/daemon/dist/domain/successor-session-launcher.d.ts +1 -0
  434. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  435. package/daemon/dist/domain/successor-session-launcher.js +1 -0
  436. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  437. package/daemon/dist/domain/terminal/task-terminal-view.d.ts +50 -0
  438. package/daemon/dist/domain/terminal/task-terminal-view.d.ts.map +1 -0
  439. package/daemon/dist/domain/terminal/task-terminal-view.js +227 -0
  440. package/daemon/dist/domain/terminal/task-terminal-view.js.map +1 -0
  441. package/daemon/dist/domain/terminal/terminal-provider.d.ts +9 -0
  442. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  443. package/daemon/dist/domain/terminal/terminal-provider.js +0 -15
  444. package/daemon/dist/domain/terminal/terminal-provider.js.map +1 -1
  445. package/daemon/dist/domain/terminal/terminal-service.d.ts +7 -2
  446. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  447. package/daemon/dist/domain/terminal/terminal-service.js +25 -3
  448. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  449. package/daemon/dist/domain/toml-tables.d.ts +20 -0
  450. package/daemon/dist/domain/toml-tables.d.ts.map +1 -0
  451. package/daemon/dist/domain/toml-tables.js +101 -0
  452. package/daemon/dist/domain/toml-tables.js.map +1 -0
  453. package/daemon/dist/domain/types.d.ts +32 -0
  454. package/daemon/dist/domain/types.d.ts.map +1 -1
  455. package/daemon/dist/domain/types.js.map +1 -1
  456. package/daemon/dist/domain/usage-series.d.ts.map +1 -1
  457. package/daemon/dist/domain/usage-series.js +17 -3
  458. package/daemon/dist/domain/usage-series.js.map +1 -1
  459. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  460. package/daemon/dist/domain/user-settings/settings-store.js +5 -6
  461. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  462. package/daemon/dist/domain/view-projector.d.ts +1 -0
  463. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  464. package/daemon/dist/domain/view-projector.js +15 -2
  465. package/daemon/dist/domain/view-projector.js.map +1 -1
  466. package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -1
  467. package/daemon/dist/domain/workflow-human-destination.js +5 -3
  468. package/daemon/dist/domain/workflow-human-destination.js.map +1 -1
  469. package/daemon/dist/domain/workflow-projector.d.ts +1 -0
  470. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  471. package/daemon/dist/domain/workflow-projector.js +19 -3
  472. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  473. package/daemon/dist/domain/workflow-runtime.d.ts +2 -2
  474. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  475. package/daemon/dist/domain/workflow-runtime.js +6 -4
  476. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  477. package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  478. package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  479. package/daemon/dist/gateway-human-registry-surface.js +1 -0
  480. package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  481. package/daemon/dist/index.d.ts.map +1 -1
  482. package/daemon/dist/index.js +6 -3
  483. package/daemon/dist/index.js.map +1 -1
  484. package/daemon/dist/lib/pane-envelope.d.ts +4 -0
  485. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  486. package/daemon/dist/lib/pane-envelope.js +1 -1
  487. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  488. package/daemon/dist/rosters-surface.d.ts +2 -0
  489. package/daemon/dist/rosters-surface.d.ts.map +1 -0
  490. package/daemon/dist/rosters-surface.js +4 -0
  491. package/daemon/dist/rosters-surface.js.map +1 -0
  492. package/daemon/dist/routes/activity.js +1 -1
  493. package/daemon/dist/routes/activity.js.map +1 -1
  494. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  495. package/daemon/dist/routes/agent-images.js +10 -0
  496. package/daemon/dist/routes/agent-images.js.map +1 -1
  497. package/daemon/dist/routes/attention.d.ts.map +1 -1
  498. package/daemon/dist/routes/attention.js +15 -3
  499. package/daemon/dist/routes/attention.js.map +1 -1
  500. package/daemon/dist/routes/bundles.js +1 -1
  501. package/daemon/dist/routes/bundles.js.map +1 -1
  502. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  503. package/daemon/dist/routes/gateway.js +42 -0
  504. package/daemon/dist/routes/gateway.js.map +1 -1
  505. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  506. package/daemon/dist/routes/hosts.js +5 -2
  507. package/daemon/dist/routes/hosts.js.map +1 -1
  508. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  509. package/daemon/dist/routes/mission-control.js +5 -1
  510. package/daemon/dist/routes/mission-control.js.map +1 -1
  511. package/daemon/dist/routes/plugins.js +1 -1
  512. package/daemon/dist/routes/plugins.js.map +1 -1
  513. package/daemon/dist/routes/queue.d.ts.map +1 -1
  514. package/daemon/dist/routes/queue.js +41 -14
  515. package/daemon/dist/routes/queue.js.map +1 -1
  516. package/daemon/dist/routes/require-sender-identity.d.ts +26 -0
  517. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  518. package/daemon/dist/routes/require-sender-identity.js +54 -0
  519. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  520. package/daemon/dist/routes/rigs.js +2 -0
  521. package/daemon/dist/routes/rigs.js.map +1 -1
  522. package/daemon/dist/routes/runtime-switch-custody.js +1 -1
  523. package/daemon/dist/routes/scope-audit.js +1 -1
  524. package/daemon/dist/routes/scope-audit.js.map +1 -1
  525. package/daemon/dist/routes/seat.d.ts.map +1 -1
  526. package/daemon/dist/routes/seat.js +49 -15
  527. package/daemon/dist/routes/seat.js.map +1 -1
  528. package/daemon/dist/routes/sessions.js +15 -3
  529. package/daemon/dist/routes/sessions.js.map +1 -1
  530. package/daemon/dist/routes/skills.js +1 -1
  531. package/daemon/dist/routes/skills.js.map +1 -1
  532. package/daemon/dist/routes/slices.js +1 -1
  533. package/daemon/dist/routes/slices.js.map +1 -1
  534. package/daemon/dist/routes/startup.d.ts.map +1 -1
  535. package/daemon/dist/routes/startup.js +269 -3
  536. package/daemon/dist/routes/startup.js.map +1 -1
  537. package/daemon/dist/routes/transcripts.js +2 -2
  538. package/daemon/dist/routes/transcripts.js.map +1 -1
  539. package/daemon/dist/routes/transport.d.ts.map +1 -1
  540. package/daemon/dist/routes/transport.js +21 -6
  541. package/daemon/dist/routes/transport.js.map +1 -1
  542. package/daemon/dist/routes/workflow.js +1 -1
  543. package/daemon/dist/routes/workflow.js.map +1 -1
  544. package/daemon/dist/startup.d.ts.map +1 -1
  545. package/daemon/dist/startup.js +17 -2
  546. package/daemon/dist/startup.js.map +1 -1
  547. package/daemon/dist/terminal/TerminalSessionBroker.d.ts +18 -2
  548. package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
  549. package/daemon/dist/terminal/TerminalSessionBroker.js +55 -9
  550. package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
  551. package/daemon/dist/terminal/window-pin.d.ts +41 -0
  552. package/daemon/dist/terminal/window-pin.d.ts.map +1 -0
  553. package/daemon/dist/terminal/window-pin.js +103 -0
  554. package/daemon/dist/terminal/window-pin.js.map +1 -0
  555. package/daemon/docs/reference/a2a-agents.md +16 -4
  556. package/daemon/docs/reference/agent-startup-guide.md +34 -2
  557. package/daemon/docs/reference/agent-state-taxonomy.md +7 -0
  558. package/daemon/docs/reference/claude-status-line.md +42 -0
  559. package/daemon/docs/reference/community-harness-examples/hermes/config.yaml.example +2 -1
  560. package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +1 -1
  561. package/daemon/docs/reference/community-harness-presets.md +83 -3
  562. package/daemon/docs/reference/gateway-participants.md +165 -0
  563. package/daemon/docs/reference/getting-started.md +12 -8
  564. package/daemon/docs/reference/help.md +6 -3
  565. package/daemon/docs/reference/hosted-members.md +110 -0
  566. package/daemon/docs/reference/quickstart.md +13 -1
  567. package/daemon/docs/reference/rig-spec.md +89 -3
  568. package/daemon/docs/reference/rosters.md +6 -0
  569. package/daemon/docs/reference/seat-delivery.md +10 -1
  570. package/daemon/docs/reference/seat-node-targeting.md +17 -0
  571. package/daemon/docs/reference/slack-app-setup.md +20 -2
  572. package/daemon/docs/reference/terminal-sessions.md +45 -0
  573. package/daemon/docs/reference/whats-new.md +109 -282
  574. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +37 -3
  575. package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +5 -2
  576. package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +1 -1
  577. package/daemon/specs/agents/shared/skills/process/systematic-debugging/root-cause-tracing.md +1 -1
  578. package/dist/build-info.js +3 -3
  579. package/dist/client.d.ts +20 -0
  580. package/dist/client.d.ts.map +1 -1
  581. package/dist/client.js +57 -26
  582. package/dist/client.js.map +1 -1
  583. package/dist/commands/acp.js +1 -1
  584. package/dist/commands/capture.d.ts +27 -0
  585. package/dist/commands/capture.d.ts.map +1 -1
  586. package/dist/commands/capture.js +62 -4
  587. package/dist/commands/capture.js.map +1 -1
  588. package/dist/commands/daemon.d.ts.map +1 -1
  589. package/dist/commands/daemon.js +6 -1
  590. package/dist/commands/daemon.js.map +1 -1
  591. package/dist/commands/doctor.d.ts +9 -1
  592. package/dist/commands/doctor.d.ts.map +1 -1
  593. package/dist/commands/doctor.js +18 -2
  594. package/dist/commands/doctor.js.map +1 -1
  595. package/dist/commands/down.d.ts.map +1 -1
  596. package/dist/commands/down.js +3 -0
  597. package/dist/commands/down.js.map +1 -1
  598. package/dist/commands/export.d.ts.map +1 -1
  599. package/dist/commands/export.js +10 -5
  600. package/dist/commands/export.js.map +1 -1
  601. package/dist/commands/gateway.d.ts.map +1 -1
  602. package/dist/commands/gateway.js +309 -23
  603. package/dist/commands/gateway.js.map +1 -1
  604. package/dist/commands/mcp.d.ts.map +1 -1
  605. package/dist/commands/mcp.js +58 -14
  606. package/dist/commands/mcp.js.map +1 -1
  607. package/dist/commands/queue.d.ts.map +1 -1
  608. package/dist/commands/queue.js +30 -10
  609. package/dist/commands/queue.js.map +1 -1
  610. package/dist/commands/rig-mode.d.ts +1 -2
  611. package/dist/commands/rig-mode.d.ts.map +1 -1
  612. package/dist/commands/rig-mode.js +2 -2
  613. package/dist/commands/rig-mode.js.map +1 -1
  614. package/dist/commands/roster.d.ts +7 -27
  615. package/dist/commands/roster.d.ts.map +1 -1
  616. package/dist/commands/roster.js +17 -52
  617. package/dist/commands/roster.js.map +1 -1
  618. package/dist/commands/scope.d.ts.map +1 -1
  619. package/dist/commands/scope.js +12 -4
  620. package/dist/commands/scope.js.map +1 -1
  621. package/dist/commands/seat.d.ts.map +1 -1
  622. package/dist/commands/seat.js +76 -5
  623. package/dist/commands/seat.js.map +1 -1
  624. package/dist/commands/send.d.ts +3 -0
  625. package/dist/commands/send.d.ts.map +1 -1
  626. package/dist/commands/send.js +16 -18
  627. package/dist/commands/send.js.map +1 -1
  628. package/dist/commands/setup.d.ts.map +1 -1
  629. package/dist/commands/setup.js +10 -2
  630. package/dist/commands/setup.js.map +1 -1
  631. package/dist/commands/skill.js +1 -1
  632. package/dist/commands/skill.js.map +1 -1
  633. package/dist/commands/slack.d.ts +10 -0
  634. package/dist/commands/slack.d.ts.map +1 -1
  635. package/dist/commands/slack.js +70 -2
  636. package/dist/commands/slack.js.map +1 -1
  637. package/dist/commands/start.d.ts.map +1 -1
  638. package/dist/commands/start.js +3 -6
  639. package/dist/commands/start.js.map +1 -1
  640. package/dist/commands/terminal.js +1 -1
  641. package/dist/commands/terminal.js.map +1 -1
  642. package/dist/commands/whoami.d.ts.map +1 -1
  643. package/dist/commands/whoami.js +2 -1
  644. package/dist/commands/whoami.js.map +1 -1
  645. package/dist/config-store.d.ts.map +1 -1
  646. package/dist/config-store.js +3 -2
  647. package/dist/config-store.js.map +1 -1
  648. package/dist/daemon-lifecycle.d.ts +5 -1
  649. package/dist/daemon-lifecycle.d.ts.map +1 -1
  650. package/dist/daemon-lifecycle.js +13 -2
  651. package/dist/daemon-lifecycle.js.map +1 -1
  652. package/dist/fetch-with-timeout.d.ts.map +1 -1
  653. package/dist/fetch-with-timeout.js +3 -1
  654. package/dist/fetch-with-timeout.js.map +1 -1
  655. package/dist/lib/scope/dot-id.js +2 -2
  656. package/dist/lib/scope/dot-id.js.map +1 -1
  657. package/dist/lib/scope/scaffold-placeholder.d.ts +1 -1
  658. package/dist/lib/scope/scaffold-placeholder.js +1 -1
  659. package/dist/lib/scope/scope-audit.js +1 -1
  660. package/dist/lib/scope/scope-audit.js.map +1 -1
  661. package/dist/lib/scope/types.d.ts.map +1 -1
  662. package/dist/lib/scope/types.js +2 -3
  663. package/dist/lib/scope/types.js.map +1 -1
  664. package/dist/long-request-fetch.d.ts +9 -0
  665. package/dist/long-request-fetch.d.ts.map +1 -0
  666. package/dist/long-request-fetch.js +48 -0
  667. package/dist/long-request-fetch.js.map +1 -0
  668. package/dist/mcp-http.d.ts +38 -2
  669. package/dist/mcp-http.d.ts.map +1 -1
  670. package/dist/mcp-http.js +303 -36
  671. package/dist/mcp-http.js.map +1 -1
  672. package/dist/mcp-presence.d.ts +14 -0
  673. package/dist/mcp-presence.d.ts.map +1 -0
  674. package/dist/mcp-presence.js +50 -0
  675. package/dist/mcp-presence.js.map +1 -0
  676. package/dist/mcp-server.d.ts +12 -2
  677. package/dist/mcp-server.d.ts.map +1 -1
  678. package/dist/mcp-server.js +620 -204
  679. package/dist/mcp-server.js.map +1 -1
  680. package/dist/release-surface/affected-skills.d.ts.map +1 -1
  681. package/dist/release-surface/affected-skills.js +1 -2
  682. package/dist/release-surface/affected-skills.js.map +1 -1
  683. package/dist/remote-host-ops.d.ts +1 -0
  684. package/dist/remote-host-ops.d.ts.map +1 -1
  685. package/dist/remote-host-ops.js +2 -2
  686. package/dist/remote-host-ops.js.map +1 -1
  687. package/dist/rig-handle.d.ts +1 -0
  688. package/dist/rig-handle.d.ts.map +1 -1
  689. package/dist/rig-handle.js +9 -0
  690. package/dist/rig-handle.js.map +1 -1
  691. package/dist/tmux-health.d.ts +26 -0
  692. package/dist/tmux-health.d.ts.map +1 -1
  693. package/dist/tmux-health.js +42 -0
  694. package/dist/tmux-health.js.map +1 -1
  695. package/package.json +5 -2
  696. package/tui/dist/attention/attention-model.d.ts +19 -0
  697. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  698. package/tui/dist/attention/attention-model.js +38 -6
  699. package/tui/dist/attention/attention-model.js.map +1 -1
  700. package/tui/dist/commands/registry.d.ts.map +1 -1
  701. package/tui/dist/commands/registry.js +4 -1
  702. package/tui/dist/commands/registry.js.map +1 -1
  703. package/tui/dist/daemon-client.d.ts +15 -9
  704. package/tui/dist/daemon-client.d.ts.map +1 -1
  705. package/tui/dist/daemon-client.js +21 -12
  706. package/tui/dist/daemon-client.js.map +1 -1
  707. package/tui/dist/demo-data.js +17 -17
  708. package/tui/dist/demo-data.js.map +1 -1
  709. package/tui/dist/hydrate.d.ts +1 -1
  710. package/tui/dist/hydrate.d.ts.map +1 -1
  711. package/tui/dist/hydrate.js +37 -11
  712. package/tui/dist/hydrate.js.map +1 -1
  713. package/tui/dist/live-events.js +1 -1
  714. package/tui/dist/live-events.js.map +1 -1
  715. package/tui/dist/main.js +34 -10
  716. package/tui/dist/main.js.map +1 -1
  717. package/tui/dist/page-read.js +1 -1
  718. package/tui/dist/page-read.js.map +1 -1
  719. package/tui/dist/render.d.ts +6 -0
  720. package/tui/dist/render.d.ts.map +1 -1
  721. package/tui/dist/render.js +57 -7
  722. package/tui/dist/render.js.map +1 -1
  723. package/tui/dist/state.d.ts.map +1 -1
  724. package/tui/dist/state.js +5 -1
  725. package/tui/dist/state.js.map +1 -1
  726. package/tui/dist/terminals/open-window.d.ts +8 -3
  727. package/tui/dist/terminals/open-window.d.ts.map +1 -1
  728. package/tui/dist/terminals/open-window.js +21 -6
  729. package/tui/dist/terminals/open-window.js.map +1 -1
  730. package/tui/dist/terminals/terminal-model.d.ts +1 -1
  731. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  732. package/tui/dist/terminals/terminal-model.js +1 -1
  733. package/tui/dist/terminals/terminal-model.js.map +1 -1
  734. package/tui/dist/types.d.ts +10 -1
  735. package/tui/dist/types.d.ts.map +1 -1
  736. package/ui/dist/assets/{index-DLP1ipGq.js → index-DV0UNxFw.js} +1 -1
  737. package/ui/dist/index.html +1 -1
@@ -290,6 +290,77 @@ 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. OpenRig's tests prove these launch flags, not
318
+ that Codex enforces them, so check the seat's actual behaviour before relying on a narrower
319
+ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after a downgrade
320
+ the seat launches without it. The field is also supported on legacy flat Codex nodes; other
321
+ runtimes reject it.
322
+
323
+ For an existing seat, put the envelope in a JSON file, or change its profile, with the existing
324
+ audited permission command:
325
+
326
+ ```sh
327
+ rig seat set-permissions dev-impl@team --codex-permissions envelope.json --reason "Narrow the implementer"
328
+ rig seat set-permissions dev-impl@team --codex-profile lease-impl --reason "Use the lease profile"
329
+ rig seat status dev-impl@team --json
330
+ ```
331
+
332
+ Choose one of `--mode`, `--rules`, `--codex-permissions` or `--codex-profile` per call. A seat
333
+ keeps one explicit permission choice: setting an envelope replaces a recorded mode, and setting
334
+ a mode (including `inherit`) clears the envelope, in the same audited write that names both.
335
+ A runtime switch keeps the envelope while the seat runs Claude Code and applies it again when
336
+ `rig seat set-runtime` brings the seat back to Codex. A switch back to Codex with an explicit
337
+ `--permission-mode` replaces the envelope when the switch commits, and the switch's plan and
338
+ event name it. A switch that doesn't commit leaves it in place.
339
+ A profile name is separate from the envelope and from approval: a resumed conversation keeps
340
+ its saved approval unless an envelope sets one. `--codex-profile inherit` clears the profile.
341
+
342
+ The profile command checks the profile in the config home this seat's launches use: the seat's
343
+ own `CODEX_HOME` when its `env:` declares one, else the daemon's explicit `CODEX_HOME`. There it
344
+ reports an absent file (Codex loads it as an empty layer, so base config applies), records the
345
+ file's hash so a later check can report a change, and refuses a profile that fails to load,
346
+ keeping the previous one. When neither sets a `CODEX_HOME`, a seat's pane keeps its own, and the
347
+ command reports the profile as unverified rather than checking a different home. Every launch
348
+ still runs the native profile check.
349
+
350
+ Updates leave the running process and history unchanged; they apply at the next separately
351
+ authorized managed launch or resume. Restore reads the seat's current record, so an older
352
+ snapshot doesn't bring back a replaced profile. A fork copies the source's current profile and
353
+ envelope independently. Export contains the current record. A new generation from `rig up
354
+ <spec>` starts from the spec. An invalid or unreadable envelope refuses that seat's launch, fork
355
+ or export with a repair message rather than launching broader. Without the field or a recorded
356
+ update, launch arguments are unchanged.
357
+
358
+ **Downgrade:** an older OpenRig keeps the stored envelope but doesn't read it, so its launches
359
+ of the seat use the earlier posture decision, which can be broader. This is not
360
+ restriction-preserving. Keep a copy of the intended envelope and establish equivalent native
361
+ restrictions before using an older managed-launch path. Native enforcement must be checked on
362
+ the Codex version and configuration being used.
363
+
293
364
  ### Team launch defaults
294
365
 
295
366
  A non-kernel Claude or Codex seat with no authored permission policy, explicit
@@ -525,6 +596,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
525
596
  | `agent_ref` | string | yes | — | Reference to an AgentSpec. Must start with `local:` (relative) or `path:` (absolute). Exception: `builtin:terminal` for infrastructure nodes. |
526
597
  | `profile` | string | yes | — | Profile name from the referenced AgentSpec. Use `default` for the default profile. Exception: `none` for terminal nodes. |
527
598
  | `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. |
599
+ | `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
600
  | `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
601
  | `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
602
  | `label` | string | no | — | Human-readable member name. Shown in UI when present. |
@@ -729,6 +801,20 @@ the modified topology, run `rig snapshot <rig-id>` and use its returned ID with
729
801
 
730
802
  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
803
 
804
+ `rig export` includes the rig's saved culture file and startup block, and now also
805
+ writes each pod's saved startup files under that pod. The file order, delivery
806
+ hints, required flags, orientation and `applies_on` selections are retained.
807
+ Previously the saved pod file lists were omitted. Pods without a recorded file
808
+ list, including older rigs, keep their existing export behavior; the exporter
809
+ does not reconstruct declarations from a member's combined startup context.
810
+
811
+ File paths remain relative to the exported spec's folder. When exporting to a
812
+ different folder, supply the referenced startup files there or import with the
813
+ original `--rig-root`. The CLI warns once per missing required rig or pod file;
814
+ missing optional files do not trigger that warning. Pod startup actions and
815
+ member startup blocks remain outside this export; keep the source spec when you
816
+ need those declarations.
817
+
732
818
  ### Files
733
819
 
734
820
  | Field | Type | Required | Default | Description |
@@ -737,7 +823,7 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
737
823
  | `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
824
  | `delivery_hint` | string | no | `auto` | How the file is delivered. One of: `auto`, `guidance_merge`, `skill_install`, `send_text`. |
739
825
  | `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`. |
826
+ | `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
827
 
742
828
  #### Delivery Hints
743
829
 
@@ -755,8 +841,8 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
755
841
  | `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`, `startup_proof`. Note: `shell` is explicitly NOT supported in v1. |
756
842
  | `value` | string | yes | — | Command/text to send, or `authenticated` / `none` for `startup_proof`. |
757
843
  | `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`. |
844
+ | `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`. |
845
+ | `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
846
 
761
847
  ### Startup proof selection
762
848
 
@@ -86,3 +86,9 @@ UNKNOWN is `{ "status": "unknown", "reason": "..." }`; older daemons may yield
86
86
  `null`. `--full` and `--fields modelObservation` retain the full object, including
87
87
  its status and occupant generation. Human output and roster reports use the full
88
88
  labelled observation.
89
+
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
+ `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
+ `show` and `find` say it's hosted rather than unmatched. See [Hosted members](hosted-members.md).
93
+ Its entry can declare `wake.webhook`, the secret names for a trigger OpenRig rings when work lands for it
94
+ (see [Ring it when work lands](hosted-members.md#ring-it-when-work-lands)).
@@ -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
 
@@ -139,3 +139,48 @@ session keeps the normal HTTP 200 provider result with `ok: false`, its selected
139
139
  `session`, an error code and direct-attach guidance.
140
140
  The `kernel_seats_unavailable` result also keeps the selected session, so the CLI
141
141
  reports that known failure instead of replacing it with an unconfirmed-session error.
142
+
143
+ ## Task terminal views
144
+
145
+ `rig terminal open qitem:<id> --provider herdr --json` opens a derived, read-only
146
+ view of the current owners of a local queue episode. The episode includes the
147
+ requested row and explicitly linked descendants; only pending, in-progress and
148
+ blocked obligations contribute owners. It does not include historical senders,
149
+ closed predecessors, parent episodes or siblings. Membership is not input
150
+ permission.
151
+
152
+ The existing daemon endpoints accept the same view:
153
+
154
+ ```text
155
+ GET /api/terminal/preview?view=qitem:<id>&provider=herdr
156
+ POST /api/terminal/open {"view":"qitem:<id>","provider":"herdr","expectedPlan":"<preview planId>"}
157
+ ```
158
+
159
+ Preview and open include `task: {qitemId, name, complete, issues, members}`. Each member
160
+ names its structured `{hostId, nodeId}` key (null when unresolved), seat,
161
+ contributing `obligations`, `availability` and `viewerStatus`. Stopped, missing,
162
+ external and unresolved remote owners remain visible. Remote queues are not
163
+ crawled and no remote tmux socket is guessed. A bounded or damaged lineage is
164
+ explicitly incomplete; it is never silently presented as the whole team.
165
+
166
+ The local lineage read has work limits: 50,000 scanned rows (plus one overflow
167
+ sentinel), 8 MiB of encoded lineage, 100,000 links, and 16 KiB per chain record.
168
+ It reads one snapshot from the requested task forward, then probes earlier active
169
+ obligations using the queue's existing state index and follows references by exact
170
+ ID, including closed intermediaries. A child may arrive before its referenced root.
171
+ All these reads share the work limits; unrelated older closed history is not scanned.
172
+ Only the requested episode is expanded, up to 256 rows. Caller-supplied task IDs
173
+ are supported.
174
+ Hitting a work limit preserves known members and reports incomplete membership;
175
+ it does not claim that an owner outside the scanned history is absent.
176
+
177
+ Preview and open also include `viewDescriptor: {kind, name}`: `following` for
178
+ derived views and `fixed` for a saved layout. A task uses its row summary as
179
+ its name, falling back to the qitem ID. The existing preview `view` string is
180
+ unchanged. A following view derives membership when requested; it does not
181
+ mean an open workspace updates itself.
182
+
183
+ Preview is read-only. In this membership increment, `viewerStatus` is
184
+ `not-provisioned`: the response does not verify a reusable provider terminal
185
+ mapping. An explicit open retains the provider's existing workspace behavior;
186
+ it does not continuously reconcile the view or change an agent's lifecycle.