@openrig/cli 0.7.7 → 0.7.9

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 (944) hide show
  1. package/README.md +6 -6
  2. package/daemon/assets/openshell/Dockerfile +15 -0
  3. package/daemon/assets/openshell/README.md +139 -0
  4. package/daemon/assets/openshell/agents/coordinator/agent.yaml +20 -0
  5. package/daemon/assets/openshell/agents/coordinator/role.md +1 -0
  6. package/daemon/assets/openshell/agents/worker/agent.yaml +20 -0
  7. package/daemon/assets/openshell/agents/worker/role.md +3 -0
  8. package/daemon/assets/openshell/claude-code-provider.yaml +55 -0
  9. package/daemon/assets/openshell/driver-v1.schema.json +81 -0
  10. package/daemon/assets/openshell/guest.py +319 -0
  11. package/daemon/assets/openshell/policy.yaml +33 -0
  12. package/daemon/assets/openshell/preset.yaml +13 -0
  13. package/daemon/assets/openshell/rig.yaml +20 -0
  14. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  15. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  16. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +13 -4
  17. package/daemon/context-packs/help/manifest.yaml +1 -1
  18. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  19. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +110 -30
  20. package/daemon/context-packs/reference/getting-started.md +36 -9
  21. package/daemon/context-packs/reference/instance-layout.md +11 -0
  22. package/daemon/context-packs/reference/manifest.yaml +1 -1
  23. package/daemon/context-packs/reference/rig-spec.md +130 -14
  24. package/daemon/context-packs/reference/whats-new.md +294 -132
  25. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +4 -3
  40. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  42. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +13 -4
  77. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  80. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  81. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  82. package/daemon/dist/adapters/claude-code-adapter.d.ts +6 -0
  83. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.js +51 -74
  85. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  86. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  87. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  88. package/daemon/dist/adapters/claude-resume.js +19 -7
  89. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  90. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +33 -7
  91. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  92. package/daemon/dist/adapters/codex-runtime-adapter.js +204 -45
  93. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  94. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +13 -1
  95. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  96. package/daemon/dist/adapters/community-harness-runtime-adapter.js +31 -1
  97. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  98. package/daemon/dist/adapters/omp-runtime-adapter.d.ts +5 -0
  99. package/daemon/dist/adapters/omp-runtime-adapter.d.ts.map +1 -1
  100. package/daemon/dist/adapters/omp-runtime-adapter.js +4 -0
  101. package/daemon/dist/adapters/omp-runtime-adapter.js.map +1 -1
  102. package/daemon/dist/adapters/openshell-driver.d.ts +39 -0
  103. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -0
  104. package/daemon/dist/adapters/openshell-driver.js +145 -0
  105. package/daemon/dist/adapters/openshell-driver.js.map +1 -0
  106. package/daemon/dist/adapters/openshell-podman-observer.d.ts +30 -0
  107. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -0
  108. package/daemon/dist/adapters/openshell-podman-observer.js +94 -0
  109. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -0
  110. package/daemon/dist/adapters/pi-openrouter-charge.d.ts +1 -0
  111. package/daemon/dist/adapters/pi-openrouter-charge.d.ts.map +1 -1
  112. package/daemon/dist/adapters/pi-openrouter-charge.js +17 -3
  113. package/daemon/dist/adapters/pi-openrouter-charge.js.map +1 -1
  114. package/daemon/dist/adapters/pi-runner.d.ts +39 -5
  115. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  116. package/daemon/dist/adapters/pi-runner.js +97 -19
  117. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  118. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +22 -0
  119. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  120. package/daemon/dist/adapters/pi-runtime-adapter.js +39 -8
  121. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  122. package/daemon/dist/adapters/preflight-exec.d.ts +2 -0
  123. package/daemon/dist/adapters/preflight-exec.d.ts.map +1 -1
  124. package/daemon/dist/adapters/preflight-exec.js +3 -1
  125. package/daemon/dist/adapters/preflight-exec.js.map +1 -1
  126. package/daemon/dist/adapters/stub-runtime-adapter.d.ts +5 -0
  127. package/daemon/dist/adapters/stub-runtime-adapter.d.ts.map +1 -1
  128. package/daemon/dist/adapters/stub-runtime-adapter.js +7 -4
  129. package/daemon/dist/adapters/stub-runtime-adapter.js.map +1 -1
  130. package/daemon/dist/adapters/tmux-control.d.ts +12 -6
  131. package/daemon/dist/adapters/tmux-control.d.ts.map +1 -1
  132. package/daemon/dist/adapters/tmux-control.js +42 -21
  133. package/daemon/dist/adapters/tmux-control.js.map +1 -1
  134. package/daemon/dist/adapters/tmux-exec.d.ts +3 -0
  135. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  136. package/daemon/dist/adapters/tmux-exec.js +35 -1
  137. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  138. package/daemon/dist/adapters/tmux-server.d.ts +6 -3
  139. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  140. package/daemon/dist/adapters/tmux-server.js +13 -8
  141. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  142. package/daemon/dist/adapters/tmux.d.ts +11 -2
  143. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  144. package/daemon/dist/adapters/tmux.js +66 -14
  145. package/daemon/dist/adapters/tmux.js.map +1 -1
  146. package/daemon/dist/build-info.js +3 -3
  147. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  148. package/daemon/dist/db/all-migrations.js +16 -0
  149. package/daemon/dist/db/all-migrations.js.map +1 -1
  150. package/daemon/dist/db/migrations/142_node_claude_mcp.d.ts +3 -0
  151. package/daemon/dist/db/migrations/142_node_claude_mcp.d.ts.map +1 -0
  152. package/daemon/dist/db/migrations/142_node_claude_mcp.js +5 -0
  153. package/daemon/dist/db/migrations/142_node_claude_mcp.js.map +1 -0
  154. package/daemon/dist/db/migrations/143_activity_grants.d.ts +8 -0
  155. package/daemon/dist/db/migrations/143_activity_grants.d.ts.map +1 -0
  156. package/daemon/dist/db/migrations/143_activity_grants.js +22 -0
  157. package/daemon/dist/db/migrations/143_activity_grants.js.map +1 -0
  158. package/daemon/dist/db/migrations/144_environment_bindings.d.ts +4 -0
  159. package/daemon/dist/db/migrations/144_environment_bindings.d.ts.map +1 -0
  160. package/daemon/dist/db/migrations/144_environment_bindings.js +31 -0
  161. package/daemon/dist/db/migrations/144_environment_bindings.js.map +1 -0
  162. package/daemon/dist/db/migrations/145_node_permissions_to.d.ts +5 -0
  163. package/daemon/dist/db/migrations/145_node_permissions_to.d.ts.map +1 -0
  164. package/daemon/dist/db/migrations/145_node_permissions_to.js +7 -0
  165. package/daemon/dist/db/migrations/145_node_permissions_to.js.map +1 -0
  166. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts +6 -0
  167. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts.map +1 -0
  168. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js +8 -0
  169. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js.map +1 -0
  170. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts +9 -0
  171. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts.map +1 -0
  172. package/daemon/dist/db/migrations/147_managed_block_writes.js +19 -0
  173. package/daemon/dist/db/migrations/147_managed_block_writes.js.map +1 -0
  174. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts +8 -0
  175. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts.map +1 -0
  176. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js +12 -0
  177. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js.map +1 -0
  178. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts +4 -0
  179. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts.map +1 -0
  180. package/daemon/dist/db/migrations/149_stream_intake_cursor.js +14 -0
  181. package/daemon/dist/db/migrations/149_stream_intake_cursor.js.map +1 -0
  182. package/daemon/dist/domain/active-occupant.d.ts +2 -0
  183. package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  184. package/daemon/dist/domain/active-occupant.js +9 -1
  185. package/daemon/dist/domain/active-occupant.js.map +1 -1
  186. package/daemon/dist/domain/activity-grants.d.ts +63 -0
  187. package/daemon/dist/domain/activity-grants.d.ts.map +1 -0
  188. package/daemon/dist/domain/activity-grants.js +106 -0
  189. package/daemon/dist/domain/activity-grants.js.map +1 -0
  190. package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
  191. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
  192. package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
  193. package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -1
  194. package/daemon/dist/domain/agent-images/agent-image-library-service.js +5 -2
  195. package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -1
  196. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  197. package/daemon/dist/domain/bootstrap-orchestrator.js +3 -1
  198. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  199. package/daemon/dist/domain/bundle-archive.d.ts.map +1 -1
  200. package/daemon/dist/domain/bundle-archive.js +40 -4
  201. package/daemon/dist/domain/bundle-archive.js.map +1 -1
  202. package/daemon/dist/domain/bundle-behaviour.d.ts.map +1 -1
  203. package/daemon/dist/domain/bundle-behaviour.js +7 -0
  204. package/daemon/dist/domain/bundle-behaviour.js.map +1 -1
  205. package/daemon/dist/domain/bundle-content-routing.d.ts +1 -0
  206. package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
  207. package/daemon/dist/domain/bundle-content-routing.js +3 -1
  208. package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
  209. package/daemon/dist/domain/bundle-source-resolver.d.ts +2 -0
  210. package/daemon/dist/domain/bundle-source-resolver.d.ts.map +1 -1
  211. package/daemon/dist/domain/bundle-source-resolver.js +4 -4
  212. package/daemon/dist/domain/bundle-source-resolver.js.map +1 -1
  213. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +12 -5
  214. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  215. package/daemon/dist/domain/claude-compaction-enforcer.js +47 -18
  216. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  217. package/daemon/dist/domain/claude-mcp.d.ts +10 -0
  218. package/daemon/dist/domain/claude-mcp.d.ts.map +1 -0
  219. package/daemon/dist/domain/claude-mcp.js +19 -0
  220. package/daemon/dist/domain/claude-mcp.js.map +1 -0
  221. package/daemon/dist/domain/claude-owned-settings.d.ts +19 -0
  222. package/daemon/dist/domain/claude-owned-settings.d.ts.map +1 -0
  223. package/daemon/dist/domain/claude-owned-settings.js +160 -0
  224. package/daemon/dist/domain/claude-owned-settings.js.map +1 -0
  225. package/daemon/dist/domain/claude-plugin-channels.d.ts +2 -0
  226. package/daemon/dist/domain/claude-plugin-channels.d.ts.map +1 -0
  227. package/daemon/dist/domain/claude-plugin-channels.js +12 -0
  228. package/daemon/dist/domain/claude-plugin-channels.js.map +1 -0
  229. package/daemon/dist/domain/claude-theme-menu.d.ts +5 -0
  230. package/daemon/dist/domain/claude-theme-menu.d.ts.map +1 -0
  231. package/daemon/dist/domain/claude-theme-menu.js +43 -0
  232. package/daemon/dist/domain/claude-theme-menu.js.map +1 -0
  233. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -1
  234. package/daemon/dist/domain/codex-owned-plugin-trust.js +2 -1
  235. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -1
  236. package/daemon/dist/domain/codex-pane-patterns.d.ts +1 -0
  237. package/daemon/dist/domain/codex-pane-patterns.d.ts.map +1 -1
  238. package/daemon/dist/domain/codex-pane-patterns.js +2 -0
  239. package/daemon/dist/domain/codex-pane-patterns.js.map +1 -1
  240. package/daemon/dist/domain/community-harness-presets.d.ts +2 -1
  241. package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
  242. package/daemon/dist/domain/community-harness-presets.js +3 -2
  243. package/daemon/dist/domain/community-harness-presets.js.map +1 -1
  244. package/daemon/dist/domain/composer-prompts.d.ts +2 -0
  245. package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
  246. package/daemon/dist/domain/composer-prompts.js +3 -2
  247. package/daemon/dist/domain/composer-prompts.js.map +1 -1
  248. package/daemon/dist/domain/context-monitor.d.ts +2 -2
  249. package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
  250. package/daemon/dist/domain/context-monitor.js +8 -2
  251. package/daemon/dist/domain/context-monitor.js.map +1 -1
  252. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts +25 -0
  253. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts.map +1 -0
  254. package/daemon/dist/domain/desired-claude-activity-hooks.js +86 -0
  255. package/daemon/dist/domain/desired-claude-activity-hooks.js.map +1 -0
  256. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  257. package/daemon/dist/domain/draft-aware-delivery.js +14 -4
  258. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  259. package/daemon/dist/domain/environment-artifacts.d.ts +49 -0
  260. package/daemon/dist/domain/environment-artifacts.d.ts.map +1 -0
  261. package/daemon/dist/domain/environment-artifacts.js +158 -0
  262. package/daemon/dist/domain/environment-artifacts.js.map +1 -0
  263. package/daemon/dist/domain/environment-lifecycle.d.ts +126 -0
  264. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -0
  265. package/daemon/dist/domain/environment-lifecycle.js +474 -0
  266. package/daemon/dist/domain/environment-lifecycle.js.map +1 -0
  267. package/daemon/dist/domain/environment-platform.d.ts +121 -0
  268. package/daemon/dist/domain/environment-platform.d.ts.map +1 -0
  269. package/daemon/dist/domain/environment-platform.js +280 -0
  270. package/daemon/dist/domain/environment-platform.js.map +1 -0
  271. package/daemon/dist/domain/environment-startup.d.ts +43 -0
  272. package/daemon/dist/domain/environment-startup.d.ts.map +1 -0
  273. package/daemon/dist/domain/environment-startup.js +307 -0
  274. package/daemon/dist/domain/environment-startup.js.map +1 -0
  275. package/daemon/dist/domain/expected-conversation.d.ts +20 -0
  276. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -0
  277. package/daemon/dist/domain/expected-conversation.js +101 -0
  278. package/daemon/dist/domain/expected-conversation.js.map +1 -0
  279. package/daemon/dist/domain/gateway/human-readiness.d.ts +2 -1
  280. package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -1
  281. package/daemon/dist/domain/gateway/human-readiness.js +6 -0
  282. package/daemon/dist/domain/gateway/human-readiness.js.map +1 -1
  283. package/daemon/dist/domain/gateway/human-registry.d.ts +2 -1
  284. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  285. package/daemon/dist/domain/gateway/human-registry.js +9 -7
  286. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  287. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +8 -1
  288. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  289. package/daemon/dist/domain/gateway/operator-delivery-engine.js +61 -4
  290. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  291. package/daemon/dist/domain/gateway/participants.d.ts +26 -0
  292. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
  293. package/daemon/dist/domain/gateway/participants.js +15 -0
  294. package/daemon/dist/domain/gateway/participants.js.map +1 -1
  295. package/daemon/dist/domain/gateway/slack/inbound.d.ts +2 -0
  296. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  297. package/daemon/dist/domain/gateway/slack/inbound.js +59 -11
  298. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  299. package/daemon/dist/domain/gateway/slack/message.d.ts +19 -0
  300. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  301. package/daemon/dist/domain/gateway/slack/message.js +219 -9
  302. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  303. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +15 -0
  304. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  305. package/daemon/dist/domain/gateway/slack/queue-access.js +24 -5
  306. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  307. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts +1 -0
  308. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts.map +1 -1
  309. package/daemon/dist/domain/gateway/slack/recovery-budget.js +1 -0
  310. package/daemon/dist/domain/gateway/slack/recovery-budget.js.map +1 -1
  311. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts +37 -0
  312. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -0
  313. package/daemon/dist/domain/gateway/slack/settled-asks.js +276 -0
  314. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -0
  315. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +32 -0
  316. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  317. package/daemon/dist/domain/gateway/slack/slack-api.js +40 -2
  318. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  319. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  320. package/daemon/dist/domain/gateway/slack/slack-delivery.js +9 -4
  321. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  322. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +2 -0
  323. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  324. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +35 -6
  325. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  326. package/daemon/dist/domain/hosts/hosts-registry-writer.d.ts +22 -0
  327. package/daemon/dist/domain/hosts/hosts-registry-writer.d.ts.map +1 -1
  328. package/daemon/dist/domain/hosts/hosts-registry-writer.js +116 -0
  329. package/daemon/dist/domain/hosts/hosts-registry-writer.js.map +1 -1
  330. package/daemon/dist/domain/human-questions.d.ts +3 -1
  331. package/daemon/dist/domain/human-questions.d.ts.map +1 -1
  332. package/daemon/dist/domain/human-questions.js.map +1 -1
  333. package/daemon/dist/domain/kernel-boot-tracker.d.ts +3 -2
  334. package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -1
  335. package/daemon/dist/domain/kernel-boot-tracker.js +2 -1
  336. package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -1
  337. package/daemon/dist/domain/kernel-boot.d.ts +11 -6
  338. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  339. package/daemon/dist/domain/kernel-boot.js +27 -5
  340. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  341. package/daemon/dist/domain/kernel-hook-review.d.ts +18 -0
  342. package/daemon/dist/domain/kernel-hook-review.d.ts.map +1 -0
  343. package/daemon/dist/domain/kernel-hook-review.js +58 -0
  344. package/daemon/dist/domain/kernel-hook-review.js.map +1 -0
  345. package/daemon/dist/domain/managed-block-records.d.ts +54 -0
  346. package/daemon/dist/domain/managed-block-records.d.ts.map +1 -0
  347. package/daemon/dist/domain/managed-block-records.js +130 -0
  348. package/daemon/dist/domain/managed-block-records.js.map +1 -0
  349. package/daemon/dist/domain/managed-blocks.d.ts +14 -0
  350. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  351. package/daemon/dist/domain/managed-blocks.js +24 -4
  352. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  353. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +29 -10
  354. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  355. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +116 -29
  356. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  357. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  358. package/daemon/dist/domain/model-divergence/current-generation-record.js +10 -6
  359. package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  360. package/daemon/dist/domain/native-process-lineage.d.ts +5 -1
  361. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  362. package/daemon/dist/domain/native-process-lineage.js +91 -6
  363. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  364. package/daemon/dist/domain/native-resume-probe.d.ts +2 -1
  365. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  366. package/daemon/dist/domain/native-resume-probe.js +4 -2
  367. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  368. package/daemon/dist/domain/node-inventory.d.ts +1 -0
  369. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  370. package/daemon/dist/domain/node-inventory.js +42 -10
  371. package/daemon/dist/domain/node-inventory.js.map +1 -1
  372. package/daemon/dist/domain/node-launcher.d.ts +3 -0
  373. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  374. package/daemon/dist/domain/node-launcher.js +6 -0
  375. package/daemon/dist/domain/node-launcher.js.map +1 -1
  376. package/daemon/dist/domain/outbox-handler.d.ts +17 -0
  377. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  378. package/daemon/dist/domain/outbox-handler.js +60 -3
  379. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  380. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +10 -0
  381. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  382. package/daemon/dist/domain/policies/parked-owner-consumer.js +60 -4
  383. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  384. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  385. package/daemon/dist/domain/profile-resolver.js +7 -1
  386. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  387. package/daemon/dist/domain/provider/claude-seat-switch.d.ts +9 -3
  388. package/daemon/dist/domain/provider/claude-seat-switch.d.ts.map +1 -1
  389. package/daemon/dist/domain/provider/claude-seat-switch.js +100 -17
  390. package/daemon/dist/domain/provider/claude-seat-switch.js.map +1 -1
  391. package/daemon/dist/domain/provider/provider-service-impl.js +1 -1
  392. package/daemon/dist/domain/provider/provider-service-impl.js.map +1 -1
  393. package/daemon/dist/domain/provider/provider-service.d.ts +32 -2
  394. package/daemon/dist/domain/provider/provider-service.d.ts.map +1 -1
  395. package/daemon/dist/domain/provider/provider-types.d.ts +1 -1
  396. package/daemon/dist/domain/provider/provider-types.d.ts.map +1 -1
  397. package/daemon/dist/domain/queue-recovery.d.ts +1 -1
  398. package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
  399. package/daemon/dist/domain/queue-recovery.js +6 -2
  400. package/daemon/dist/domain/queue-recovery.js.map +1 -1
  401. package/daemon/dist/domain/queue-repository.d.ts +64 -8
  402. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  403. package/daemon/dist/domain/queue-repository.js +309 -76
  404. package/daemon/dist/domain/queue-repository.js.map +1 -1
  405. package/daemon/dist/domain/queue-stuck-sweep.d.ts +1 -1
  406. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  407. package/daemon/dist/domain/queue-stuck-sweep.js +59 -4
  408. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  409. package/daemon/dist/domain/queue-transition-log.d.ts +2 -0
  410. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  411. package/daemon/dist/domain/queue-transition-log.js +9 -0
  412. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  413. package/daemon/dist/domain/queue-wake-ladder.d.ts +3 -0
  414. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  415. package/daemon/dist/domain/queue-wake-ladder.js +124 -25
  416. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  417. package/daemon/dist/domain/restore-check-service.d.ts +2 -7
  418. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  419. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  420. package/daemon/dist/domain/restore-guidance.d.ts +70 -7
  421. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  422. package/daemon/dist/domain/restore-guidance.js +181 -18
  423. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  424. package/daemon/dist/domain/restore-orchestrator.d.ts +40 -3
  425. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  426. package/daemon/dist/domain/restore-orchestrator.js +276 -33
  427. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  428. package/daemon/dist/domain/resume-metadata-refresher.d.ts +2 -1
  429. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  430. package/daemon/dist/domain/resume-metadata-refresher.js +20 -6
  431. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  432. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  433. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  434. package/daemon/dist/domain/rig-repository.d.ts +14 -0
  435. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  436. package/daemon/dist/domain/rig-repository.js +57 -1
  437. package/daemon/dist/domain/rig-repository.js.map +1 -1
  438. package/daemon/dist/domain/rig-teardown.d.ts +18 -0
  439. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  440. package/daemon/dist/domain/rig-teardown.js +73 -17
  441. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  442. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  443. package/daemon/dist/domain/rigspec-codec.js +6 -0
  444. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  445. package/daemon/dist/domain/rigspec-exporter.d.ts +8 -0
  446. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  447. package/daemon/dist/domain/rigspec-exporter.js +66 -3
  448. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  449. package/daemon/dist/domain/rigspec-instantiator.d.ts +7 -4
  450. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  451. package/daemon/dist/domain/rigspec-instantiator.js +38 -11
  452. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  453. package/daemon/dist/domain/rigspec-preflight.d.ts +4 -0
  454. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  455. package/daemon/dist/domain/rigspec-preflight.js +35 -1
  456. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  457. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  458. package/daemon/dist/domain/rigspec-schema.js +56 -6
  459. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  460. package/daemon/dist/domain/runner-permissions.d.ts +150 -0
  461. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -0
  462. package/daemon/dist/domain/runner-permissions.js +383 -0
  463. package/daemon/dist/domain/runner-permissions.js.map +1 -0
  464. package/daemon/dist/domain/runtime-adapter.d.ts +28 -0
  465. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  466. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  467. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  468. package/daemon/dist/domain/runtime-switch-materials.js +3 -0
  469. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  470. package/daemon/dist/domain/runtime-verifier.d.ts.map +1 -1
  471. package/daemon/dist/domain/runtime-verifier.js +9 -4
  472. package/daemon/dist/domain/runtime-verifier.js.map +1 -1
  473. package/daemon/dist/domain/scope/scope-audit.d.ts +1 -1
  474. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  475. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  476. package/daemon/dist/domain/scope/types.d.ts +3 -0
  477. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  478. package/daemon/dist/domain/scope/types.js.map +1 -1
  479. package/daemon/dist/domain/seat-activity-service.d.ts +7 -0
  480. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  481. package/daemon/dist/domain/seat-activity-service.js +47 -7
  482. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  483. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  484. package/daemon/dist/domain/seat-attention-reconciler.js +8 -1
  485. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  486. package/daemon/dist/domain/seat-delivery-guard.d.ts +22 -4
  487. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  488. package/daemon/dist/domain/seat-delivery-guard.js +80 -11
  489. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  490. package/daemon/dist/domain/seat-effort.d.ts +6 -0
  491. package/daemon/dist/domain/seat-effort.d.ts.map +1 -1
  492. package/daemon/dist/domain/seat-effort.js +0 -2
  493. package/daemon/dist/domain/seat-effort.js.map +1 -1
  494. package/daemon/dist/domain/seat-handover-planner.js +1 -1
  495. package/daemon/dist/domain/seat-handover-planner.js.map +1 -1
  496. package/daemon/dist/domain/seat-handover-service.d.ts +25 -10
  497. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  498. package/daemon/dist/domain/seat-handover-service.js +164 -31
  499. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  500. package/daemon/dist/domain/seat-launch-additions.d.ts +6 -0
  501. package/daemon/dist/domain/seat-launch-additions.d.ts.map +1 -1
  502. package/daemon/dist/domain/seat-launch-additions.js +41 -11
  503. package/daemon/dist/domain/seat-launch-additions.js.map +1 -1
  504. package/daemon/dist/domain/seat-lifecycle-service.d.ts +24 -2
  505. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  506. package/daemon/dist/domain/seat-lifecycle-service.js +65 -2
  507. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  508. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  509. package/daemon/dist/domain/seat-restart-in-place.js +6 -1
  510. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  511. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  512. package/daemon/dist/domain/seat-runtime-switch-service.js +21 -3
  513. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  514. package/daemon/dist/domain/seat-skill-storage.d.ts +8 -6
  515. package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
  516. package/daemon/dist/domain/seat-skill-storage.js +27 -7
  517. package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
  518. package/daemon/dist/domain/seat-status-service.d.ts +5 -0
  519. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  520. package/daemon/dist/domain/seat-status-service.js +9 -0
  521. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  522. package/daemon/dist/domain/seat-structural-activity-service.d.ts +15 -5
  523. package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
  524. package/daemon/dist/domain/seat-structural-activity-service.js +21 -7
  525. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  526. package/daemon/dist/domain/self-attach-service.d.ts +8 -1
  527. package/daemon/dist/domain/self-attach-service.d.ts.map +1 -1
  528. package/daemon/dist/domain/self-attach-service.js +26 -0
  529. package/daemon/dist/domain/self-attach-service.js.map +1 -1
  530. package/daemon/dist/domain/session-transport.d.ts +17 -0
  531. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  532. package/daemon/dist/domain/session-transport.js +247 -31
  533. package/daemon/dist/domain/session-transport.js.map +1 -1
  534. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  535. package/daemon/dist/domain/snapshot-capture.js +15 -0
  536. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  537. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +2 -0
  538. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -1
  539. package/daemon/dist/domain/spec-library-workflow-scanner.js +5 -1
  540. package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -1
  541. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
  542. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  543. package/daemon/dist/domain/startup-orchestrator.js +106 -8
  544. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  545. package/daemon/dist/domain/stream-intake.d.ts +51 -0
  546. package/daemon/dist/domain/stream-intake.d.ts.map +1 -0
  547. package/daemon/dist/domain/stream-intake.js +438 -0
  548. package/daemon/dist/domain/stream-intake.js.map +1 -0
  549. package/daemon/dist/domain/successor-session-launcher.d.ts +3 -0
  550. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  551. package/daemon/dist/domain/successor-session-launcher.js +2 -0
  552. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  553. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  554. package/daemon/dist/domain/terminal/herdr-adapter.js +4 -3
  555. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  556. package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -1
  557. package/daemon/dist/domain/terminal/herdr-follow-view.js +22 -4
  558. package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -1
  559. package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
  560. package/daemon/dist/domain/terminal/herdr-viewer.js +8 -4
  561. package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
  562. package/daemon/dist/domain/terminal/login-shell.d.ts +10 -0
  563. package/daemon/dist/domain/terminal/login-shell.d.ts.map +1 -0
  564. package/daemon/dist/domain/terminal/login-shell.js +37 -0
  565. package/daemon/dist/domain/terminal/login-shell.js.map +1 -0
  566. package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -1
  567. package/daemon/dist/domain/terminal/rex-layout.js +2 -1
  568. package/daemon/dist/domain/terminal/rex-layout.js.map +1 -1
  569. package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts +12 -1
  570. package/daemon/dist/domain/terminal/scope-task-terminal-view.d.ts.map +1 -1
  571. package/daemon/dist/domain/terminal/scope-task-terminal-view.js +120 -18
  572. package/daemon/dist/domain/terminal/scope-task-terminal-view.js.map +1 -1
  573. package/daemon/dist/domain/terminal/terminal-following.js +1 -1
  574. package/daemon/dist/domain/terminal/terminal-following.js.map +1 -1
  575. package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
  576. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  577. package/daemon/dist/domain/terminal/terminal-service.d.ts +3 -2
  578. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  579. package/daemon/dist/domain/terminal/terminal-service.js +18 -27
  580. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  581. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  582. package/daemon/dist/domain/terminal/tile-attach.js +15 -5
  583. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  584. package/daemon/dist/domain/terminal/view-composer.d.ts +6 -3
  585. package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
  586. package/daemon/dist/domain/terminal/view-composer.js +15 -5
  587. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  588. package/daemon/dist/domain/tmux-server-selection.d.ts +47 -0
  589. package/daemon/dist/domain/tmux-server-selection.d.ts.map +1 -0
  590. package/daemon/dist/domain/tmux-server-selection.js +220 -0
  591. package/daemon/dist/domain/tmux-server-selection.js.map +1 -0
  592. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  593. package/daemon/dist/domain/transcript-store.js +19 -10
  594. package/daemon/dist/domain/transcript-store.js.map +1 -1
  595. package/daemon/dist/domain/types.d.ts +54 -0
  596. package/daemon/dist/domain/types.d.ts.map +1 -1
  597. package/daemon/dist/domain/types.js.map +1 -1
  598. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  599. package/daemon/dist/domain/user-settings/settings-browser.js +3 -1
  600. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  601. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  602. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  603. package/daemon/dist/domain/user-settings/settings-store.js +23 -0
  604. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  605. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +11 -0
  606. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -0
  607. package/daemon/dist/domain/watchdog-delivery-receipts.js +134 -0
  608. package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -0
  609. package/daemon/dist/domain/watchdog-delivery.d.ts +7 -1
  610. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  611. package/daemon/dist/domain/watchdog-delivery.js +24 -8
  612. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  613. package/daemon/dist/domain/watchdog-policy-engine.d.ts +21 -2
  614. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  615. package/daemon/dist/domain/watchdog-policy-engine.js +52 -23
  616. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  617. package/daemon/dist/domain/workflow-projector.js +3 -3
  618. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  619. package/daemon/dist/domain/workflow-runtime.d.ts +1 -1
  620. package/daemon/dist/domain/workflow-runtime.js +3 -3
  621. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  622. package/daemon/dist/domain/working-liveness.d.ts +66 -0
  623. package/daemon/dist/domain/working-liveness.d.ts.map +1 -0
  624. package/daemon/dist/domain/working-liveness.js +94 -0
  625. package/daemon/dist/domain/working-liveness.js.map +1 -0
  626. package/daemon/dist/domain/workspace/frontmatter-validator.js +4 -2
  627. package/daemon/dist/domain/workspace/frontmatter-validator.js.map +1 -1
  628. package/daemon/dist/index.d.ts +4 -0
  629. package/daemon/dist/index.d.ts.map +1 -1
  630. package/daemon/dist/index.js +17 -0
  631. package/daemon/dist/index.js.map +1 -1
  632. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  633. package/daemon/dist/lib/pane-envelope.js +9 -3
  634. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  635. package/daemon/dist/middleware/auth-bearer-token.js +2 -2
  636. package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
  637. package/daemon/dist/routes/activity.d.ts +6 -0
  638. package/daemon/dist/routes/activity.d.ts.map +1 -1
  639. package/daemon/dist/routes/activity.js +317 -22
  640. package/daemon/dist/routes/activity.js.map +1 -1
  641. package/daemon/dist/routes/attention.d.ts.map +1 -1
  642. package/daemon/dist/routes/attention.js +17 -5
  643. package/daemon/dist/routes/attention.js.map +1 -1
  644. package/daemon/dist/routes/bundles.js +3 -1
  645. package/daemon/dist/routes/bundles.js.map +1 -1
  646. package/daemon/dist/routes/compaction.js +4 -2
  647. package/daemon/dist/routes/compaction.js.map +1 -1
  648. package/daemon/dist/routes/environments.d.ts +3 -0
  649. package/daemon/dist/routes/environments.d.ts.map +1 -0
  650. package/daemon/dist/routes/environments.js +104 -0
  651. package/daemon/dist/routes/environments.js.map +1 -0
  652. package/daemon/dist/routes/gateway.d.ts +6 -0
  653. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  654. package/daemon/dist/routes/gateway.js +39 -0
  655. package/daemon/dist/routes/gateway.js.map +1 -1
  656. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  657. package/daemon/dist/routes/hosts.js +106 -8
  658. package/daemon/dist/routes/hosts.js.map +1 -1
  659. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  660. package/daemon/dist/routes/mission-control.js +6 -1
  661. package/daemon/dist/routes/mission-control.js.map +1 -1
  662. package/daemon/dist/routes/provider.d.ts.map +1 -1
  663. package/daemon/dist/routes/provider.js +53 -7
  664. package/daemon/dist/routes/provider.js.map +1 -1
  665. package/daemon/dist/routes/queue.d.ts.map +1 -1
  666. package/daemon/dist/routes/queue.js +21 -2
  667. package/daemon/dist/routes/queue.js.map +1 -1
  668. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  669. package/daemon/dist/routes/restore-check.js +5 -19
  670. package/daemon/dist/routes/restore-check.js.map +1 -1
  671. package/daemon/dist/routes/rigs.js +3 -0
  672. package/daemon/dist/routes/rigs.js.map +1 -1
  673. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  674. package/daemon/dist/routes/rigspec.js +8 -3
  675. package/daemon/dist/routes/rigspec.js.map +1 -1
  676. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  677. package/daemon/dist/routes/scope-audit.js +30 -0
  678. package/daemon/dist/routes/scope-audit.js.map +1 -1
  679. package/daemon/dist/routes/seat.d.ts.map +1 -1
  680. package/daemon/dist/routes/seat.js +32 -5
  681. package/daemon/dist/routes/seat.js.map +1 -1
  682. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  683. package/daemon/dist/routes/sessions.js +66 -20
  684. package/daemon/dist/routes/sessions.js.map +1 -1
  685. package/daemon/dist/routes/spec-library.d.ts.map +1 -1
  686. package/daemon/dist/routes/spec-library.js +60 -5
  687. package/daemon/dist/routes/spec-library.js.map +1 -1
  688. package/daemon/dist/routes/startup.js +2 -2
  689. package/daemon/dist/routes/startup.js.map +1 -1
  690. package/daemon/dist/routes/transport.d.ts.map +1 -1
  691. package/daemon/dist/routes/transport.js +31 -5
  692. package/daemon/dist/routes/transport.js.map +1 -1
  693. package/daemon/dist/server.d.ts +7 -0
  694. package/daemon/dist/server.d.ts.map +1 -1
  695. package/daemon/dist/server.js +57 -1
  696. package/daemon/dist/server.js.map +1 -1
  697. package/daemon/dist/startup.d.ts +2 -0
  698. package/daemon/dist/startup.d.ts.map +1 -1
  699. package/daemon/dist/startup.js +90 -37
  700. package/daemon/dist/startup.js.map +1 -1
  701. package/daemon/docs/reference/agent-spec.md +1 -1
  702. package/daemon/docs/reference/agent-startup-guide.md +119 -3
  703. package/daemon/docs/reference/agent-state-taxonomy.md +23 -2
  704. package/daemon/docs/reference/author-contracts.md +9 -9
  705. package/daemon/docs/reference/checked-seat-stop.md +12 -1
  706. package/daemon/docs/reference/community-harness-examples/dsh/README.md +96 -0
  707. package/daemon/docs/reference/community-harness-examples/dsh/dsh.yaml +20 -0
  708. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +626 -0
  709. package/daemon/docs/reference/community-harness-examples/openshell/README.md +5 -0
  710. package/daemon/docs/reference/community-harness-presets.md +25 -1
  711. package/daemon/docs/reference/daemon-http-clients.md +203 -0
  712. package/daemon/docs/reference/execution-platform-contract.md +1 -1
  713. package/daemon/docs/reference/gateway-participants.md +29 -17
  714. package/daemon/docs/reference/getting-started.md +36 -9
  715. package/daemon/docs/reference/harness-runner-contract.md +235 -26
  716. package/daemon/docs/reference/hosted-members.md +32 -0
  717. package/daemon/docs/reference/instance-layout.md +11 -0
  718. package/daemon/docs/reference/keeping-a-watch.md +22 -0
  719. package/daemon/docs/reference/pi-tool-selection-recovery.md +84 -0
  720. package/daemon/docs/reference/quickstart.md +9 -4
  721. package/daemon/docs/reference/rig-bundle.md +2 -2
  722. package/daemon/docs/reference/rig-spec.md +130 -14
  723. package/daemon/docs/reference/runner-conformance/README.md +77 -0
  724. package/daemon/docs/reference/runner-conformance/check-runner.mjs +818 -0
  725. package/daemon/docs/reference/runner-conformance/fake-acp-agent.mjs +150 -0
  726. package/daemon/docs/reference/sdlc-conventions.md +22 -3
  727. package/daemon/docs/reference/seat-delivery.md +31 -6
  728. package/daemon/docs/reference/slack-app-setup.md +55 -5
  729. package/daemon/docs/reference/terminal-sessions.md +100 -14
  730. package/daemon/docs/reference/tmux-servers.md +166 -0
  731. package/daemon/docs/reference/whats-new.md +294 -132
  732. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +4 -3
  733. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  734. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
  735. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +1 -1
  736. package/dist/acp/connector.d.ts.map +1 -1
  737. package/dist/acp/connector.js +6 -1
  738. package/dist/acp/connector.js.map +1 -1
  739. package/dist/atomic-text-write.d.ts +2 -0
  740. package/dist/atomic-text-write.d.ts.map +1 -1
  741. package/dist/atomic-text-write.js +17 -0
  742. package/dist/atomic-text-write.js.map +1 -1
  743. package/dist/build-info.js +3 -3
  744. package/dist/client.d.ts +3 -0
  745. package/dist/client.d.ts.map +1 -1
  746. package/dist/client.js +28 -0
  747. package/dist/client.js.map +1 -1
  748. package/dist/commands/attach.d.ts +1 -0
  749. package/dist/commands/attach.d.ts.map +1 -1
  750. package/dist/commands/attach.js +8 -2
  751. package/dist/commands/attach.js.map +1 -1
  752. package/dist/commands/broadcast.js +2 -1
  753. package/dist/commands/broadcast.js.map +1 -1
  754. package/dist/commands/compact.d.ts.map +1 -1
  755. package/dist/commands/compact.js +7 -4
  756. package/dist/commands/compact.js.map +1 -1
  757. package/dist/commands/config.d.ts.map +1 -1
  758. package/dist/commands/config.js +9 -3
  759. package/dist/commands/config.js.map +1 -1
  760. package/dist/commands/context.d.ts.map +1 -1
  761. package/dist/commands/context.js +1 -0
  762. package/dist/commands/context.js.map +1 -1
  763. package/dist/commands/daemon.d.ts.map +1 -1
  764. package/dist/commands/daemon.js +7 -1
  765. package/dist/commands/daemon.js.map +1 -1
  766. package/dist/commands/destroy.d.ts.map +1 -1
  767. package/dist/commands/destroy.js +2 -0
  768. package/dist/commands/destroy.js.map +1 -1
  769. package/dist/commands/doctor.d.ts +8 -1
  770. package/dist/commands/doctor.d.ts.map +1 -1
  771. package/dist/commands/doctor.js +126 -10
  772. package/dist/commands/doctor.js.map +1 -1
  773. package/dist/commands/down.d.ts.map +1 -1
  774. package/dist/commands/down.js +10 -0
  775. package/dist/commands/down.js.map +1 -1
  776. package/dist/commands/env.d.ts.map +1 -1
  777. package/dist/commands/env.js +10 -4
  778. package/dist/commands/env.js.map +1 -1
  779. package/dist/commands/environment.d.ts +8 -0
  780. package/dist/commands/environment.d.ts.map +1 -0
  781. package/dist/commands/environment.js +197 -0
  782. package/dist/commands/environment.js.map +1 -0
  783. package/dist/commands/export.d.ts +2 -0
  784. package/dist/commands/export.d.ts.map +1 -1
  785. package/dist/commands/export.js +31 -7
  786. package/dist/commands/export.js.map +1 -1
  787. package/dist/commands/gateway.js +15 -11
  788. package/dist/commands/gateway.js.map +1 -1
  789. package/dist/commands/host.d.ts +13 -6
  790. package/dist/commands/host.d.ts.map +1 -1
  791. package/dist/commands/host.js +112 -15
  792. package/dist/commands/host.js.map +1 -1
  793. package/dist/commands/project-jev.js +1 -1
  794. package/dist/commands/project-jev.js.map +1 -1
  795. package/dist/commands/provider.d.ts.map +1 -1
  796. package/dist/commands/provider.js +12 -5
  797. package/dist/commands/provider.js.map +1 -1
  798. package/dist/commands/ps.d.ts +2 -0
  799. package/dist/commands/ps.d.ts.map +1 -1
  800. package/dist/commands/ps.js +12 -3
  801. package/dist/commands/ps.js.map +1 -1
  802. package/dist/commands/queue.d.ts +1 -0
  803. package/dist/commands/queue.d.ts.map +1 -1
  804. package/dist/commands/queue.js +50 -6
  805. package/dist/commands/queue.js.map +1 -1
  806. package/dist/commands/scope.d.ts.map +1 -1
  807. package/dist/commands/scope.js +36 -2
  808. package/dist/commands/scope.js.map +1 -1
  809. package/dist/commands/seat.d.ts.map +1 -1
  810. package/dist/commands/seat.js +85 -8
  811. package/dist/commands/seat.js.map +1 -1
  812. package/dist/commands/send.d.ts.map +1 -1
  813. package/dist/commands/send.js +46 -16
  814. package/dist/commands/send.js.map +1 -1
  815. package/dist/commands/setup.d.ts.map +1 -1
  816. package/dist/commands/setup.js +18 -0
  817. package/dist/commands/setup.js.map +1 -1
  818. package/dist/commands/slack.d.ts.map +1 -1
  819. package/dist/commands/slack.js +5 -0
  820. package/dist/commands/slack.js.map +1 -1
  821. package/dist/commands/specs.d.ts +1 -1
  822. package/dist/commands/specs.d.ts.map +1 -1
  823. package/dist/commands/specs.js +44 -10
  824. package/dist/commands/specs.js.map +1 -1
  825. package/dist/commands/stream.d.ts.map +1 -1
  826. package/dist/commands/stream.js +6 -1
  827. package/dist/commands/stream.js.map +1 -1
  828. package/dist/commands/terminal.d.ts +2 -0
  829. package/dist/commands/terminal.d.ts.map +1 -1
  830. package/dist/commands/terminal.js +31 -2
  831. package/dist/commands/terminal.js.map +1 -1
  832. package/dist/commands/topology-default-agent.js +1 -1
  833. package/dist/commands/topology-default-agent.js.map +1 -1
  834. package/dist/commands/tui.d.ts +3 -2
  835. package/dist/commands/tui.d.ts.map +1 -1
  836. package/dist/commands/tui.js.map +1 -1
  837. package/dist/commands/walk.d.ts.map +1 -1
  838. package/dist/commands/walk.js +27 -10
  839. package/dist/commands/walk.js.map +1 -1
  840. package/dist/commands/workspace.d.ts.map +1 -1
  841. package/dist/commands/workspace.js +8 -1
  842. package/dist/commands/workspace.js.map +1 -1
  843. package/dist/config-store.d.ts +9 -1
  844. package/dist/config-store.d.ts.map +1 -1
  845. package/dist/config-store.js +33 -2
  846. package/dist/config-store.js.map +1 -1
  847. package/dist/cross-host-target.d.ts.map +1 -1
  848. package/dist/cross-host-target.js +3 -1
  849. package/dist/cross-host-target.js.map +1 -1
  850. package/dist/daemon-lifecycle.d.ts +6 -0
  851. package/dist/daemon-lifecycle.d.ts.map +1 -1
  852. package/dist/daemon-lifecycle.js +66 -4
  853. package/dist/daemon-lifecycle.js.map +1 -1
  854. package/dist/daemon-reachability.d.ts +2 -1
  855. package/dist/daemon-reachability.d.ts.map +1 -1
  856. package/dist/daemon-reachability.js +3 -2
  857. package/dist/daemon-reachability.js.map +1 -1
  858. package/dist/destroy-helpers.d.ts +3 -2
  859. package/dist/destroy-helpers.d.ts.map +1 -1
  860. package/dist/destroy-helpers.js +6 -3
  861. package/dist/destroy-helpers.js.map +1 -1
  862. package/dist/host-bindings.js +1 -1
  863. package/dist/host-bindings.js.map +1 -1
  864. package/dist/host-registry.d.ts +22 -0
  865. package/dist/host-registry.d.ts.map +1 -1
  866. package/dist/host-registry.js +121 -0
  867. package/dist/host-registry.js.map +1 -1
  868. package/dist/index.d.ts +2 -0
  869. package/dist/index.d.ts.map +1 -1
  870. package/dist/index.js +2 -0
  871. package/dist/index.js.map +1 -1
  872. package/dist/lazy-program.d.ts.map +1 -1
  873. package/dist/lazy-program.js +1 -0
  874. package/dist/lazy-program.js.map +1 -1
  875. package/dist/lib/scope/progress-edit.d.ts.map +1 -1
  876. package/dist/lib/scope/progress-edit.js +37 -7
  877. package/dist/lib/scope/progress-edit.js.map +1 -1
  878. package/dist/lib/scope/scope-audit.d.ts +1 -1
  879. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  880. package/dist/lib/scope/scope-audit.js.map +1 -1
  881. package/dist/lib/scope/scope-fs.d.ts +3 -0
  882. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  883. package/dist/lib/scope/scope-fs.js +39 -53
  884. package/dist/lib/scope/scope-fs.js.map +1 -1
  885. package/dist/lib/scope/types.d.ts +3 -0
  886. package/dist/lib/scope/types.d.ts.map +1 -1
  887. package/dist/lib/scope/types.js.map +1 -1
  888. package/dist/mcp-server.d.ts.map +1 -1
  889. package/dist/mcp-server.js +89 -18
  890. package/dist/mcp-server.js.map +1 -1
  891. package/dist/openrig-compat.d.ts +1 -1
  892. package/dist/openrig-compat.d.ts.map +1 -1
  893. package/dist/openrig-compat.js +2 -2
  894. package/dist/openrig-compat.js.map +1 -1
  895. package/dist/seat-launch-additions-lines.d.ts +2 -0
  896. package/dist/seat-launch-additions-lines.d.ts.map +1 -1
  897. package/dist/seat-launch-additions-lines.js +1 -0
  898. package/dist/seat-launch-additions-lines.js.map +1 -1
  899. package/dist/shared-tui.d.ts +4 -2
  900. package/dist/shared-tui.d.ts.map +1 -1
  901. package/dist/shared-tui.js +4 -11
  902. package/dist/shared-tui.js.map +1 -1
  903. package/dist/terminal-window.d.ts.map +1 -1
  904. package/dist/terminal-window.js +34 -29
  905. package/dist/terminal-window.js.map +1 -1
  906. package/dist/tmux-attachment.d.ts +17 -0
  907. package/dist/tmux-attachment.d.ts.map +1 -0
  908. package/dist/tmux-attachment.js +89 -0
  909. package/dist/tmux-attachment.js.map +1 -0
  910. package/package.json +2 -2
  911. package/tui/dist/attention/attention-model.d.ts +3 -2
  912. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  913. package/tui/dist/attention/attention-model.js +7 -4
  914. package/tui/dist/attention/attention-model.js.map +1 -1
  915. package/tui/dist/daemon-client.d.ts +4 -4
  916. package/tui/dist/daemon-client.d.ts.map +1 -1
  917. package/tui/dist/daemon-client.js +6 -5
  918. package/tui/dist/daemon-client.js.map +1 -1
  919. package/tui/dist/hydrate.d.ts.map +1 -1
  920. package/tui/dist/hydrate.js +16 -5
  921. package/tui/dist/hydrate.js.map +1 -1
  922. package/tui/dist/pulse/pulse-model.d.ts +1 -1
  923. package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
  924. package/tui/dist/pulse/pulse-model.js +6 -17
  925. package/tui/dist/pulse/pulse-model.js.map +1 -1
  926. package/tui/dist/render.d.ts.map +1 -1
  927. package/tui/dist/render.js +8 -2
  928. package/tui/dist/render.js.map +1 -1
  929. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  930. package/tui/dist/terminals/terminal-model.js +2 -1
  931. package/tui/dist/terminals/terminal-model.js.map +1 -1
  932. package/tui/dist/theme.d.ts.map +1 -1
  933. package/tui/dist/theme.js +7 -2
  934. package/tui/dist/theme.js.map +1 -1
  935. package/tui/dist/time.d.ts +2 -0
  936. package/tui/dist/time.d.ts.map +1 -1
  937. package/tui/dist/time.js +5 -0
  938. package/tui/dist/time.js.map +1 -1
  939. package/tui/dist/types.d.ts +2 -3
  940. package/tui/dist/types.d.ts.map +1 -1
  941. package/ui/dist/assets/index-BFOs3ejL.css +32 -0
  942. package/ui/dist/assets/{index-CMBgYrS7.js → index-CdkFwtld.js} +92 -92
  943. package/ui/dist/index.html +2 -2
  944. package/ui/dist/assets/index-DNU3XZr_.css +0 -32
@@ -0,0 +1,166 @@
1
+ # Choosing the tmux server for an OpenRig instance
2
+
3
+ `terminal.tmux_server` controls where the daemon creates and reads managed seats.
4
+ It accepts `inherit` (the default) or `isolated`. The environment override is
5
+ `OPENRIG_TMUX_SERVER`.
6
+
7
+ To keep managed seats out of your personal `tmux ls`, set this before starting a
8
+ new instance, or before a deliberate restart of an existing daemon:
9
+
10
+ ```sh
11
+ rig config set terminal.tmux_server isolated
12
+ ```
13
+
14
+ The setting is read once at daemon startup. Changing it does not move a running
15
+ seat. Inspect the effective choice with:
16
+
17
+ ```sh
18
+ rig terminal status --json
19
+ ```
20
+
21
+ The `tmux` object reports `requestedMode` (read at the last startup), effective
22
+ `mode`, `socketPath`, `serverArgs`, `migrationPending`, and `blockingSessions`.
23
+ The settings browser shows the configured value; terminal status shows what the
24
+ running daemon actually uses.
25
+
26
+ ## Server identity and configuration
27
+
28
+ In `inherit` mode, a new instance uses the launching shell's `TMUX` socket, or the
29
+ default socket under `TMUX_TMPDIR` (otherwise `/tmp`) when outside tmux. Native
30
+ commands retain tmux's existing environment-based selection. Printed attachments
31
+ and terminal metadata name a non-default server so a new terminal can reach it.
32
+ The default mode does not require a server record or an additional instance
33
+ identity check to start the daemon or use existing attachment paths.
34
+
35
+ In `isolated` mode, the socket is named `openrig-<hash>` under tmux's per-user
36
+ directory. The hash identifies the canonical `OPENRIG_HOME`: different homes get
37
+ different servers, and symlink aliases of one home share a server. Choose a short
38
+ `TMUX_TMPDIR` before the first isolated start if your normal temporary path would
39
+ exceed the platform's Unix socket path limit.
40
+
41
+ When isolation is requested or active, the daemon records the effective socket in
42
+ `OPENRIG_HOME/tmux-server.json` using an atomic, owner-only write. Keep this file
43
+ and the durable `tmux-server.initialized` marker with the instance state. A later shell
44
+ with different `TMUX` or `TMUX_TMPDIR` does not redirect an established isolated
45
+ instance. An invalid or unreadable isolation record is reported rather than overwritten.
46
+ If the record disappears while isolation is selected, startup and `destroy --all` stop before
47
+ touching sessions. Restore the record from an instance backup, or inspect the
48
+ running daemon's `rig terminal status --json` to recover its effective selection.
49
+ An ordinary inherited instance may record its socket for a later migration, but
50
+ missing, invalid or unwritable records do not prevent its normal startup.
51
+ The record's `pinned` flag distinguishes a fixed isolated or migration socket
52
+ from an advisory inherited record. Returning to ordinary inheritance commits
53
+ `pinned: false` and removes the active marker; an interrupted update must not
54
+ leave startup using one server and offline cleanup selecting another. A valid
55
+ unpinned record takes precedence over a leftover marker. Legacy inherited records
56
+ and the old `1` marker do not make ordinary inheritance depend on that file.
57
+
58
+ A newly started server loads tmux's normal system and user configuration,
59
+ including `~/.tmux.conf`; OpenRig does not substitute an empty configuration.
60
+ Existing OpenRig session options, such as `terminal.status_bar`, still apply.
61
+ An existing server does not reread its configuration merely because the daemon
62
+ restarts. Settings and sessions in a separate personal server are left alone.
63
+
64
+ ## Existing teams and deferred migration
65
+
66
+ At startup, the daemon checks the previously selected server before switching.
67
+ If registered sessions still exist there, it keeps that server and reports a
68
+ pending migration. Explicit `OPENRIG_HOME` ownership markers distinguish another
69
+ instance's namesakes; unmarked legacy sessions are retained conservatively. If
70
+ the old server cannot be inspected, the daemon also keeps it and reports why.
71
+
72
+ Stop the listed sessions deliberately, then restart the daemon again to apply the
73
+ new selection. Merely editing the setting or waiting for the last seat to stop
74
+ does not switch a running daemon. The same rule applies when returning to
75
+ `inherit` from isolation. A normal inherited start continues to follow its launching
76
+ environment, as before. No
77
+ live pane is moved, restarted or killed by server selection. Old viewing windows
78
+ can be closed separately after their conversations have stopped.
79
+
80
+ Bring a stopped team back with `rig up <name> --existing`. Its normal restoration
81
+ rules still apply: a seat without usable provider history requires an explicit
82
+ fresh-start choice before it launches.
83
+
84
+ On the first upgrade from a version without a socket record, the old-server
85
+ candidate comes from the launching environment. If live seats use a non-default
86
+ server, start the upgraded daemon from that original server to establish its
87
+ record, or stop those seats before changing servers. Earlier versions did not
88
+ persist enough information to find an arbitrary old socket from a different shell.
89
+
90
+ ## Attachments, discovery and cleanup
91
+
92
+ `rig capture`, managed launch/stop/recovery, terminal previews and desktop viewers
93
+ use the effective server. `rig ps --nodes --json` includes `tmuxServerArgs` and a
94
+ matching `tmuxAttachCommand` for bound tmux seats. `rig tui --shared` uses that
95
+ metadata. To attach a terminal directly, use the canonical session name:
96
+
97
+ ```sh
98
+ rig terminal attach '<session>'
99
+ rig terminal attach --read-only -- '<session>'
100
+ ```
101
+
102
+ These commands attach on the daemon's machine. They do not create a seat or
103
+ switch somebody else's tmux client. A local CLI pointed at an HTTP remote daemon
104
+ cannot attach a same-named local session. For an effectively isolated server,
105
+ terminal attachment, shared TUI and desktop windows also compare the daemon's
106
+ instance identity with the local durable identity before using local terminal
107
+ tools. A loopback URL through a port forward does not bypass this isolation check;
108
+ use the matching `OPENRIG_HOME` on the daemon's machine. Inherited servers retain
109
+ the existing local-host checks without requiring a matching durable identity.
110
+ SSH view tiles follow the viewing instance's effective mode. In `inherit`, they
111
+ use remote tmux through `ssh -t`, including `-r` for read-only views, and keep the
112
+ bounded, identity-checked reattachment when a seat's session is replaced. The
113
+ remote host needs only tmux and a POSIX shell, not OpenRig. Copyable recovery
114
+ commands remain plain `ssh -t ... tmux attach`. In `isolated`, tiles run
115
+ `rig terminal attach` on the remote host,
116
+ using that host's local instance and socket; both the remote CLI and daemon must
117
+ support this command. The remote shell must select the right `OPENRIG_HOME` when
118
+ using a custom home. Local socket paths are never sent to it, and an isolated
119
+ attachment failure does not fall back to a same-named default-server session.
120
+ An inherited view does not discover an isolated remote instance's socket; use
121
+ the remote instance's `rig terminal attach` directly for that mixed setup.
122
+
123
+ Discovery and adoption see the selected server. Existing sessions on another
124
+ server are not imported automatically. `rig attach --self` reports its current
125
+ socket and, for an isolated instance, rejects a different server before binding
126
+ or adding a node; an older
127
+ CLI without socket metadata must be updated to self-attach to an isolated
128
+ instance. A shell outside tmux can still attach as `external_cli`.
129
+
130
+ `rig destroy --all` reads the recorded effective server before stopping the daemon
131
+ or removing its state when isolation or a deferred migration pins it. Ordinary
132
+ `inherit` cleanup uses the invoking environment's normal tmux selection, as before;
133
+ an old advisory socket is not used to redirect it. Cleanup kills only registered
134
+ session names on the selected server.
135
+
136
+ Dedicated selection requires POSIX tmux. On Windows, psmux retains its existing
137
+ server behavior; requesting `isolated` produces a status note and a pending choice.
138
+
139
+ ## Two instances on one machine
140
+
141
+ Isolation selects only a tmux server. Give each daemon its own OpenRig home,
142
+ database and port as well. For example, from a directory where you want to keep
143
+ the two instances:
144
+
145
+ ```sh
146
+ mkdir -p .openrig-a .openrig-b
147
+ env OPENRIG_HOME="$PWD/.openrig-a" OPENRIG_DB="$PWD/.openrig-a/rig.db" \
148
+ OPENRIG_PORT=5311 OPENRIG_TMUX_SERVER=isolated rig daemon start
149
+ env OPENRIG_HOME="$PWD/.openrig-b" OPENRIG_DB="$PWD/.openrig-b/rig.db" \
150
+ OPENRIG_PORT=5312 OPENRIG_TMUX_SERVER=isolated rig daemon start
151
+ ```
152
+
153
+ Use the same instance-specific environment for every subsequent command, including
154
+ `rig up`, `rig terminal status --json`, attachment and `rig daemon stop`. Do not
155
+ reuse a database between these homes. Other inherited `OPENRIG_*` variables still
156
+ apply; start from a shell without selectors for another running instance.
157
+
158
+ The operating-system home, provider credentials and provider conversation history
159
+ remain shared unless configured separately. This setting does not isolate the
160
+ filesystem or network. Both inherited and isolated servers support the opt-in
161
+ `OPENRIG_TMUX_CONTROL=1` execution path; its control client connects to the same
162
+ server as the daemon's other tmux commands. On servers older than tmux 3.7c, or
163
+ whose version cannot be recognized as a fixed release, OpenRig uses spawned
164
+ clients instead: starting a control client while another session is created can
165
+ crash those servers (#2304). This avoids creating OpenRig's own control client;
166
+ it cannot protect the server from other tools' control clients.
@@ -1,22 +1,300 @@
1
- # What changed in OpenRig 0.7.7
1
+ # What changed in OpenRig 0.7.9
2
2
 
3
- This note is for an agent on an install that was just upgraded to 0.7.7. OpenRig
4
- 0.7.7 is 0.7.6 with three reliability fixes for managed Claude seats. If you
5
- upgraded from 0.7.5 or earlier, also read "What changed in OpenRig 0.7.6" below.
6
- For the full capability map, read
7
- `rig context get onboarding-width/public-what-you-can-do.md`. After the upgraded
8
- daemon starts, `rig context get reference/whats-new.md` describes this version.
9
- Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`;
10
- `$OPENRIG_HOME/reference/whats-new.md` can still be the previous copy until startup.
3
+ This note is for an agent on an install that was just upgraded to 0.7.9. OpenRig
4
+ 0.7.9 records default runner permits, passes a person's typed words to the
5
+ agent, turns stream intake on by default, and moves guidance for fresh Pi seats,
6
+ and fresh Codex seats on 0.164.0 or later, out of the repository's `AGENTS.md`.
7
+ If you upgraded from 0.7.7 or
8
+ earlier, also read "What changed in OpenRig 0.7.8" below. For the full
9
+ capability map, read `rig context get onboarding-width/public-what-you-can-do.md`.
10
+ After the upgraded daemon starts, `rig context get reference/whats-new.md`
11
+ describes this version. Without a running daemon, read the packaged
12
+ `daemon/docs/reference/whats-new.md`; `$OPENRIG_HOME/reference/whats-new.md` can
13
+ still be the previous copy until startup.
11
14
 
12
15
  ## After the upgrade
13
16
 
14
- - Restart the daemon (`rig daemon stop`, then `rig daemon start`) to load the new
15
- code. There are no database migrations.
16
- - The bundled openrig-core plugin stays at 0.1.23 with unchanged files, so there
17
- is no managed plugin refresh.
17
+ - **Restart the daemon** to load the new code: `rig daemon stop`, then
18
+ `rig daemon start`.
19
+ - **Migrations 146 to 149** record a Pi seat's guidance file, what OpenRig last
20
+ wrote in each managed guidance block, an index for reading a rig's outbox,
21
+ and the stream intake position.
22
+ - **Tell the person that stream intake is on.** Each `rig stream emit` now opens
23
+ an intake row for the kernel queue worker (`queue.worker`), or adds a note to
24
+ the one still unclaimed, and the row wakes the queue worker like any queue row.
25
+ Earlier stream history isn't replayed. If they want 0.7.8's behaviour, with no
26
+ intake rows, run `rig config set stream.intake off`.
27
+ - **The bundled openrig-core plugin goes from 0.1.24 to 0.1.25.** Its
28
+ seat-continuity-and-handover skill changed. Managed refresh preserves replaced
29
+ files under `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply local edits
30
+ you still need from the preserved copy.
31
+ - **Where seat guidance goes now:**
32
+ - a fresh Pi seat gets OpenRig's guidance in its own agent folder's
33
+ `AGENTS.md`, unless that file or folder is a link;
34
+ - a fresh Codex seat on Codex 0.164.0 or later gets it as launch developer
35
+ instructions, not in the repository `AGENTS.md`, when no config layer
36
+ OpenRig reads sets `developer_instructions`;
37
+ - a Codex resume, fork, restore or handover successor, an older or unknown
38
+ Codex, and a config layer that sets `developer_instructions` or can't be read
39
+ still use the repository `AGENTS.md`;
40
+ - if only the person's shell startup sets `CODEX_HOME`, OpenRig reads
41
+ `~/.codex`, so a `developer_instructions` set in their home is replaced for
42
+ that session. Declare the same absolute path as `CODEX_HOME` in the member's
43
+ or rig's `env:` to have it checked. `docs/reference/agent-startup-guide.md`
44
+ ("Codex guidance at launch") is the rule;
45
+ - a managed block a person edited by hand is kept and named
46
+ (`guidance_block_edited`), not replaced. Read the warning before you change
47
+ the block.
48
+ - **Slack:** on the first start after upgrading, the connector edits the asks
49
+ that ended earlier to show they were handled, at Slack's edit rate: about an
50
+ hour for 450 asks. `rig slack status` shows pending edits.
51
+ - **OpenShell:** rebuild a guest image built for 0.7.8 with this release's
52
+ helper; an older helper rejects the new startup step, and the error names the
53
+ rebuild.
18
54
 
19
- ## The fixes
55
+ ## Runner seats
56
+
57
+ Section 7 of `docs/reference/harness-runner-contract.md` is the rule for
58
+ permissions, and section 4 for activity. Read them before writing or changing a
59
+ runner.
60
+ - **Typed words:** a reply of just yes or no counts as the agent's allow or
61
+ reject. Any other words choose nothing: OpenRig's default permits the request
62
+ when the agent offered an allow option, and the read result carries the words
63
+ whole as `said`. A runner may queue them for the agent as an ordinary prompt
64
+ after the current turn, never as the answer; one that drops them still keeps
65
+ the contract. The ask now tells the person this.
66
+ - **Permit records:** each permit OpenRig decides by default (no one to ask, or
67
+ an ask closed without a choice, including a row passed to an agent seat) is
68
+ recorded once, as a stream item from the seat, naming the tool call, why no
69
+ person answered and the option given. Read them with
70
+ `rig stream list --tag runner-permission-permit` or `--source <seat>`. A record
71
+ has no destination and never changes the permit. Stream intake reads past it, so
72
+ it opens no intake row and wakes no one.
73
+ - **The working beat:** while a prompt is outstanding and the agent is alive, a
74
+ runner may post `active` / `liveness` so a long call keeps reading working.
75
+ After delivering an answer or permit, it posts `active` /
76
+ `permission_resolved`. A runner that sends no beats behaves as before. The Pi
77
+ runner and the dsh example post it.
78
+ - **Check a runner** with
79
+ `node daemon/docs/reference/runner-conformance/check-runner.mjs --runner '<command with {agent}>' --name <harness>`.
80
+ It now covers the beat, and no longer falsely fails a correct runner on a busy
81
+ machine.
82
+ - **The dsh example** reads `DSH_SEAT_BIN` and `DSH_SEAT_HOME` from the member's
83
+ `env:`, and section 8 names ACP's `session/resume`.
84
+
85
+ ## OpenShell workers
86
+
87
+ 0.7.9 includes a repair for the OpenShell worker that wasn't usable in 0.7.8,
88
+ but it hasn't run end to end in our release testing. Don't rely on this path in
89
+ 0.7.9. Startup now reaches the guest through a hash-checked first-input file,
90
+ and nothing is typed through the host viewer. Readiness checks the guest's own
91
+ execution, and a failed owned delete reports the stage that failed. If you set
92
+ one up anyway, follow `daemon/assets/openshell/README.md` in the installed
93
+ package, rebuild the guest image first, and name the costs to the person
94
+ ("Provider registration and image construction can incur costs"). "Never grant
95
+ the guest access to the daemon's main API port (normally 7433)."
96
+
97
+ ## Assistants connected through a grant service (experimental)
98
+
99
+ Experimental, unsupported, off by default, and at the person's own risk. With
100
+ `rig mcp serve --http --grant-service <url>` and a grant service the person
101
+ supplies and runs, a connected assistant can claim, update and park the rows
102
+ addressed to its own seat, and see its team with `rig_team`, within the scope its
103
+ existing tools have. Nothing wakes it: an item stays queued until its receiver
104
+ claims it. Name the outside service, and the exposure of serving MCP over HTTP,
105
+ to the person before you set this up. `docs/reference/hosted-members.md` is the
106
+ rule.
107
+
108
+ ## Other changes to act on
109
+
110
+ - **Held messages:** a seat that starts, or takes over a seat, with held
111
+ messages is told how many there are. Read them with
112
+ `rig seat held-messages <seat>`.
113
+ - **Unconfirmed sends:** `rig send --verify` now reports unconfirmed and exits 1
114
+ when it can't see what its Enter did, and `rig walk` reports unconfirmed
115
+ instead of lost. Inspect the recipient before any resend.
116
+ - **Deadlines:** to accept a re-estimate without unclaiming the work, run
117
+ `rig queue update <id> --closure-required-at <ISO>`.
118
+ - **Shared workspaces:** any registered person can settle another's ask as
119
+ themselves, and the first committed answer wins; a later answer gets 409
120
+ `qitem_already_terminal` and records nothing. A person registered with no
121
+ connector binding is asked on Steering and in the Feed only.
122
+ - **Handover:** a fresh or rebuild successor's first turn lists its startup
123
+ files, role first. A successor that started without a required startup file is
124
+ marked in the seat list.
125
+ - **Ambiguous rig names:** when an active rig name matches more than one rig,
126
+ `rig env down`, `status` and `logs` list the matching rig IDs and stop, and
127
+ `rig doctor --spec` reports conformance as unknown. Use the rig ID.
128
+ - **Seat activity:** window samples older than their bound no longer decide a
129
+ seat's activity, so a seat whose pane can't be read reads unknown rather than
130
+ its last verdict. Treat unknown as unknown, not idle.
131
+ - **Launch options:** `specs.builtins_visible: false` hides built-in specs
132
+ (`rig specs ls --include-builtins` still lists them); `plugin_channels` gives
133
+ one Claude member its own `--channels`, untested with a real channel plugin.
134
+ - **Files:** `rig down` removes OpenRig's own additions from a working folder
135
+ once no live seat uses them. `rig export` with no `-o` writes
136
+ `rig-export.yaml` beside an existing `rig.yaml`. `rig workspace validate` exits
137
+ 1 for malformed optional frontmatter.
138
+ - **Kernels:** a new default kernel starts in `<workspace.root>/kernel`.
139
+ Existing kernels stay where they are. `docs/reference/agent-startup-guide.md`
140
+ explains the optional move; a fresh launch there starts a new native
141
+ conversation, so ask the person before moving.
142
+ - **PATH:** if preflight warns that a Codex seat's login shell can't find `rig`,
143
+ follow its fix. `getting-started.md` explains the `~/.profile` line and how to
144
+ check it with `bash -lc 'command -v node rig'`.
145
+
146
+ ## Limits to keep in view
147
+
148
+ - **OpenShell** hasn't run end to end in our release testing (above). A
149
+ same-generation reconciled launch opens no viewer, so run
150
+ `rig environment connect` yourself; non-text startup actions aren't supported
151
+ on environment seats.
152
+ - **Open updates for a person** read a 1,001-row window, so a page can come back
153
+ short, marked `truncated`.
154
+ - **Slack:** a private channel needs the documented route, which isn't tested,
155
+ and direct messages aren't supported. The channel and people reads haven't
156
+ been run against a live Slack workspace. Redaction of the bot token from a
157
+ transport error can still leave a malformed token fragment shorter than six
158
+ characters, so review an error before sharing it.
159
+ - **SSH host status** reads `unknown` behind a ProxyJump or ProxyCommand; that
160
+ isn't proof the connection is broken. `rig host ls` reads the ssh config with
161
+ `ssh -G`, which runs any `Match exec` command in it.
162
+ - **Shared asks:** a click's option written before its answer row can stand
163
+ beside or inside the closer's answer without the first clicker's authorship.
164
+ - **Permit records** last as long as stream retention keeps them. A permit a
165
+ runner makes on its own, when it can't reach OpenRig, is in its pane only. For
166
+ an ask opened before 0.7.9, a record may omit the option's kind.
167
+ - **Existing seats** pick up Codex launch instructions and the single
168
+ openrig-core skill load at their next fresh launch. A `CLAUDE.md` or
169
+ `AGENTS.md` that already grew a line per launch isn't trimmed.
170
+ - **Codex hooks after an upgrade:** Codex sessions kept open across the 0.7.8
171
+ upgrade showed "Hook failed — plugin contents changed; hook approval
172
+ required". The 0.7.9 behaviour, and hook recovery after a relaunch, haven't
173
+ been verified.
174
+ - **0.7.8's limits** on the dsh `env:` names, conformance false failures, typed
175
+ words, the README's operator address, a symlinked rebuild, the rebuild receipt,
176
+ a re-parked click and unrecorded default permits are fixed or changed. The
177
+ other 0.7.8 and 0.7.7 limits below, and the
178
+ [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6), still
179
+ apply.
180
+
181
+ ---
182
+
183
+ ## What changed in OpenRig 0.7.8
184
+
185
+ The changes from 0.7.7 to 0.7.8, published on 2026-11-05, for an install
186
+ upgrading from 0.7.7 or earlier.
187
+
188
+ ### After the upgrade
189
+
190
+ - **Restart the daemon** to load the new code: `rig daemon stop`, then
191
+ `rig daemon start`.
192
+ - **Migrations 142 to 145** store a Claude seat's MCP opt-out, seat activity
193
+ grants, OpenShell environment bindings and a seat's chosen permission person.
194
+ - **The bundled openrig-core plugin goes from 0.1.23 to 0.1.24.** One skill line
195
+ changed. Managed refresh preserves replaced files under
196
+ `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply local edits you still
197
+ need from the preserved copy.
198
+
199
+ ### Runner seats: a person answers permission requests
200
+
201
+ Section 7 of `docs/reference/harness-runner-contract.md` is the rule. Read it
202
+ before writing or changing a runner.
203
+ - **Who is asked:**
204
+ - **the default person** (`rig gateway default`, or the only registered
205
+ person) gets an ordinary ask in the Feed and on Slack;
206
+ - **a chosen person,** after
207
+ `rig seat set-permissions-to <seat> --to <person> --reason "…"`. `--clear`
208
+ returns to the default;
209
+ - **no one:** when no one can be asked, the request is "Permitted at once,
210
+ with the agent's own allow option";
211
+ - **refusal** is opt-in, with `--deny`. `rig seat status` shows the choice.
212
+ - **What a person's answer does:** a click gives that option, a plain yes gives
213
+ the allow, and a plain no gives the reject. "A person's no is never a grant."
214
+ An unanswered request stays pending until the agent's turn ends.
215
+ - **The runner's protocol:**
216
+ - `POST /api/activity/permission-requests` submits the request;
217
+ - `GET …/<askId>?waitSeconds=25` reads the answer (25 at most);
218
+ - `POST …/<askId>/withdraw` withdraws it at the turn's end.
219
+
220
+ Deliver an answer once, only to the live request.
221
+ - **Check a runner** with
222
+ `node daemon/docs/reference/runner-conformance/check-runner.mjs --runner '<command with {agent}>' --name <harness>`
223
+ from the installed package. It needs Node and tmux, and no daemon, model or
224
+ network.
225
+ - **The worked example** is the dsh runner under
226
+ `daemon/docs/reference/community-harness-examples/dsh/`.
227
+ - **A seat activity grant** lets a runner outside the host's hook setup report
228
+ activity for one seat and launch, without the install-wide hook token.
229
+
230
+ ### OpenShell workers
231
+
232
+ 0.7.8 includes `rig environment` (`setup`, `create`, `attach`) and a reference
233
+ for binding a seat to an NVIDIA OpenShell sandbox (`daemon/assets/openshell/README.md`).
234
+ **In our release testing the worker never became usable:** after the sandbox was
235
+ created and the native process started, `rig environment connect` failed when its
236
+ check timed out after 5 seconds, so no team work ran. Don't rely on this path in
237
+ 0.7.8; 0.7.9's repair is described above.
238
+
239
+ **What it needs:**
240
+ - NVIDIA OpenShell 0.1.6;
241
+ - a Linux image;
242
+ - an API-backed provider using `ANTHROPIC_API_KEY`. Subscription or OAuth
243
+ credentials aren't supported.
244
+
245
+ "Provider registration and image construction can incur costs", so name them to
246
+ the person before you start. "Never grant the guest access to the daemon's main
247
+ API port (normally 7433)."
248
+
249
+ ### Other changes to act on
250
+
251
+ - **Mission following:** `rig terminal open mission:<id> --follow --provider herdr`
252
+ follows a mission's current owners, with the same Herdr path as slices.
253
+ - **Launch choices:**
254
+ - `claude_mcp: none` on a Claude member launches it without MCP servers;
255
+ - `rig config set terminal.tmux_server isolated` gives this OpenRig home its
256
+ own persistent tmux server.
257
+ - **Hosts:** `rig host edit` and `rig host remove` correct or retire a host
258
+ entry. Use them instead of editing `hosts.yaml` by hand.
259
+ - **Another user's daemon:** when `rig doctor` warns that the port is held by
260
+ another OS user's daemon, follow its fix (`rig config set daemon.port <free-port>`),
261
+ or set `OPENRIG_URL` to share that daemon on purpose.
262
+ - **tmux control mode:** with `OPENRIG_TMUX_CONTROL=1`, OpenRig starts a control
263
+ client only on tmux 3.7c or newer, and uses spawned clients otherwise.
264
+ - **Read-only tmux clients:** a submit key refused because of one goes through
265
+ the paste route.
266
+ - **Slack:** a typed reply to a decision parked on its person is recorded as the
267
+ answer. Read the person's words; don't treat the close as approval.
268
+ - **The TUI:** agent pages now show health findings and recently finished items,
269
+ and an agent spec's "not loaded in this view" means it wasn't read, not that
270
+ nothing runs it.
271
+
272
+ ### Limits to keep in view
273
+
274
+ - **No harness has run end to end under the runner contract yet.** The dsh
275
+ example and the conformance check were checked against stand-ins.
276
+ - **The answer owner is a registered person,** and a colleague's answer is
277
+ followed on this host only. A request handed to another host waits as needs
278
+ input until the turn ends.
279
+ - **Permits and answers aren't recorded** beyond the runner's pane and the ask.
280
+ If the agent offers only `allow_always`, a permit makes its harness remember a
281
+ permission nobody chose.
282
+ - **Coming as follow-ups:** recording permits made when no one can be asked, and
283
+ passing typed words that aren't a plain yes or no to the agent.
284
+ - **The dsh example keeps one hold per seat:** two asks in one turn can leave one
285
+ waiting after the hold is released.
286
+ - **An OpenShell worker's activity reads unknown,** sampled from the pane, never
287
+ idle.
288
+ - **The 0.7.7 limits below, and the [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6), still apply.**
289
+
290
+ ---
291
+
292
+ ## What changed in OpenRig 0.7.7
293
+
294
+ The changes from 0.7.6 to 0.7.7, a reliability patch for 0.7.6, published on
295
+ 2026-11-02. All three fixes are in 0.7.8.
296
+
297
+ ### The fixes
20
298
 
21
299
  - A Claude seat at an empty prompt reads idle again when Claude prints
22
300
  "✔ Update installed · /restart to apply" (or "Restart to apply") below its mode
@@ -39,7 +317,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
39
317
  the seat's resume target on the new, unprimed conversation.
40
318
  ([#2341](https://github.com/mvschwarz/openrig/issues/2341), [#2354](https://github.com/mvschwarz/openrig/pull/2354))
41
319
 
42
- ## Limits to keep in view
320
+ ### Limits to keep in view
43
321
 
44
322
  - Other reasons managed compaction can wait are unchanged.
45
323
  - The input-box check is a read just before the paste, not a lock: typing that
@@ -47,120 +325,4 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
47
325
  - If a seat's current occupant generation was never registered (an adopted Claude
48
326
  with another generation, or a managed launch whose tenure record failed to write),
49
327
  hooks don't move its resume token after the first one.
50
- - The 0.7.6 limits below still apply.
51
-
52
- ---
53
-
54
- ## What changed in OpenRig 0.7.6
55
-
56
- The changes from 0.7.5 to 0.7.6, for an install upgrading from 0.7.5 or earlier.
57
-
58
- ### After the upgrade
59
-
60
- - Restart the daemon (`rig daemon stop`, then `rig daemon start`) to load the new
61
- code. Two database migrations record account-home selection and whether a
62
- community harness launch declared a runner. Both use prefix 141, with distinct
63
- full filenames.
64
- - The bundled openrig-core plugin goes from 0.1.22 to 0.1.23. Its Claude activity
65
- hook clears permission marks after tool batches. Managed refresh preserves
66
- replaced files under `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply
67
- local edits you still need from the preserved copy.
68
-
69
- ### Follow a slice's work in one workspace
70
-
71
- Use `rig terminal open slice:<name-or-id> --follow --provider herdr`. Membership
72
- comes from pending, in-progress and blocked queue rows tagged with the exact
73
- slice. Associate a row with `rig queue create --slice <name-or-id>`; a handoff
74
- inherits its tags unless replaced. A mission-only tag does not associate every
75
- slice. One owner appears once, with all its obligations listed.
76
-
77
- When a slice's folder name repeats across missions, tag its work with the slice's
78
- unique ID (`rig queue create --slice <id>`) or add `--mission <mission>`. A row
79
- tagged only with the shared name cannot be placed, so the view reads incomplete
80
- until it is.
81
-
82
- New slice views default to four automatic tiles (`--max-tiles` overrides it);
83
- qitem views keep eight. A known empty slice stays following and can repopulate.
84
- An incomplete read keeps the prior viewers. Missing or ambiguous scope identities
85
- are errors, never an empty team. Pins, drafts, unknown input and focus retain
86
- former viewers. Closing a viewer does not stop its agent.
87
-
88
- An owner's join refused before any pane split can join on a later refresh;
89
- hold notices keep the original seat, phase and reason. A created viewer whose
90
- attach has not yet run can continue without replacing its pane. A viewer whose
91
- attach already ran and then exited back to a shell is not restarted
92
- automatically, so the whole slice view can hold until that tile is resolved.
93
- No tested workaround is offered for that case.
94
-
95
- Slice following targets the Linux Herdr 0.9.5 / protocol 22 path. Mission
96
- following is not included. See
97
- `reference/terminal-sessions.md` for controls, bounds and refresh behavior.
98
- Configured Herdr session endpoints now carry through viewer/follow operations.
99
- The TUI's terminal action opens the agent, pod or rig currently being viewed.
100
-
101
- ### Changes agents should act on
102
-
103
- - **A readiness deadline does not end a still-starting daemon.** A nonzero
104
- pending result names the child PID, launch endpoint and log. The child stays
105
- running and the startup reservation stays in place; readiness is not
106
- confirmed. Follow the returned pending guidance before attempting recovery.
107
- - **Read exited state honestly.** A verified exited process in a retained pane
108
- reads `pane_exited`, instead of running and ready. Its outstanding work uses
109
- the existing recovery-finding route. Unknown observations still mean unknown.
110
- - **Use the same member settings when expanding.** `rig expand` now carries raw
111
- members to the canonical rig validator, keeping env, effort and startup
112
- settings. Restores keep the model saved with `rig seat set-model`.
113
- - **Account-home moves start a fresh conversation with a handover.**
114
- `rig provider switch --seat <seat> --to-account <name> --account-home <dir>`
115
- selects an existing home; preview with `--dry-run`. `--clear-account-home`
116
- returns to configured defaults, not historical credentials. Check the moved
117
- seat's account and conversation.
118
- - **Claude API-key switching resumes the same conversation but interrupts work.**
119
- Use `rig provider switch --seat <seat> --to-account api --api-key-file <abs>`;
120
- return with `--to-account plan --token-file <abs>`. The API-key path remains
121
- unqualified. Do not combine it with account-home selectors. Credential files
122
- stay private; budgets remain the caller's responsibility.
123
- - **A new Claude member can name its subscription token in the spec:**
124
- `claude_token: {label: name, file: /abs/token}`, beside its own
125
- `env.CLAUDE_CONFIG_DIR`. This stores a file reference, not the token. Validation
126
- does not read the file; a missing or unreadable token uses the existing launch
127
- fallback notice, so verify the account actually used.
128
- - **Git over SSH uses the daemon's SSH agent** in managed seats. Make sure that
129
- agent has the intended key (`ssh-add -l`).
130
- - **Slack button answers resume decisions parked on the person asked.** Set
131
- `rig slack setup --reactions off` if acknowledgement emoji should not wake
132
- agents. The default remains `route`; manifest regeneration preserves it.
133
- Replies posted outside a deleted Slack thread are tracked where Slack put them.
134
- - **Queue delivery keeps its original intent.** A wake refused at a selection
135
- prompt retries after it clears. Cross-host `queue create --verify` reads the
136
- destination's receipt. An unreadable receipt stays unconfirmed; do not replay
137
- a create just because verification could not establish delivery.
138
- - **Preset authors can opt into `runner: true` and `passes_model: true`.** The
139
- runner also requires `launch_result: true` and reports activity through the
140
- existing hook route. Model input arrives as `OPENRIG_MODEL`. Passed means the
141
- launch command was sent, not that the harness applied that model; the observed
142
- model remains unknown. Cursor and Hermes examples leave model passing off
143
- pending native qualification.
144
- Start with the draft [integration author contracts](author-contracts.md) for
145
- harness, runner and platform duties, with implemented interfaces distinguished from proposals.
146
- - **Update viewer API handling.** `/api/terminal/viewer/ensure` returns 400 for
147
- `view_required` and `unknown_provider` where it previously returned 200 with
148
- an error body. Slice not-found is 404; ambiguous/unavailable is 409. Continue
149
- reading the body code. Unsupported follow kinds keep `follow_view_required`
150
- in a 200 `ok:false` response.
151
-
152
- ### Limits to keep in view
153
-
154
- - The reported [Codex hook-refresh refusal (#2200)](https://github.com/mvschwarz/openrig/issues/2200)
155
- remains unresolved. A verified Node-launcher fix is included, but that does
156
- not establish that this report is fixed. If
157
- `rig seat restart <seat> --keep-conversation` refuses, nothing is stopped:
158
- leave the seat running and report the refusal with CLI and daemon versions.
159
- A refused restart has not refreshed hooks; review any Codex hook prompt.
160
- - Retained messages are not delivered. Protected Codex pastes and unreadable
161
- composers can still retain work; inspect the explanation, use a larger pane
162
- or shorten the message. Turning the typing guard off removes protection.
163
- - Inventory now avoids redundant reads, but no general speed or stability
164
- improvement is claimed without comparable measurements.
165
- - Internet-facing hosted members remain experimental, unsupported, off by
166
- default and at your own risk. Slice following does not require them.
328
+ - The [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6) still apply.
@@ -98,9 +98,10 @@ node "$SKILL_DIR/scripts/backup-sqlite.mjs" \
98
98
  --destination "/safe/path/openrig-before-upgrade.sqlite"
99
99
  ```
100
100
 
101
- The helper refuses to overwrite a destination, uses SQLite's backup operation,
102
- and verifies the backup with `PRAGMA integrity_check`. It does not stop the
103
- daemon or restore a database.
101
+ The helper refuses to overwrite a destination, uses the `sqlite3` CLI `.backup`
102
+ command when available (falling back to an in-process backup via `node:sqlite`
103
+ when the CLI is absent), and verifies the backup with `PRAGMA integrity_check`.
104
+ It does not stop the daemon or restore a database.
104
105
 
105
106
  ### Plan or apply safe managed-plugin refreshes
106
107