@openrig/cli 0.7.8 → 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 (660) hide show
  1. package/README.md +6 -6
  2. package/daemon/assets/openshell/README.md +4 -2
  3. package/daemon/assets/openshell/guest.py +13 -0
  4. package/daemon/assets/openshell/preset.yaml +1 -0
  5. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +12 -3
  8. package/daemon/context-packs/help/manifest.yaml +1 -1
  9. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  10. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +99 -29
  11. package/daemon/context-packs/reference/getting-started.md +30 -8
  12. package/daemon/context-packs/reference/instance-layout.md +11 -0
  13. package/daemon/context-packs/reference/manifest.yaml +1 -1
  14. package/daemon/context-packs/reference/rig-spec.md +61 -2
  15. package/daemon/context-packs/reference/whats-new.md +198 -140
  16. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  17. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +4 -3
  31. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  33. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +12 -3
  68. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  71. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  72. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  73. package/daemon/dist/adapters/claude-code-adapter.d.ts +6 -0
  74. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  75. package/daemon/dist/adapters/claude-code-adapter.js +14 -68
  76. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  77. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  78. package/daemon/dist/adapters/claude-resume.js +13 -4
  79. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  80. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +29 -0
  81. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  82. package/daemon/dist/adapters/codex-runtime-adapter.js +118 -12
  83. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  84. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/community-harness-runtime-adapter.js +3 -0
  86. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/omp-runtime-adapter.d.ts +5 -0
  88. package/daemon/dist/adapters/omp-runtime-adapter.d.ts.map +1 -1
  89. package/daemon/dist/adapters/omp-runtime-adapter.js +4 -0
  90. package/daemon/dist/adapters/omp-runtime-adapter.js.map +1 -1
  91. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  92. package/daemon/dist/adapters/openshell-driver.js +8 -2
  93. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  94. package/daemon/dist/adapters/pi-runner.d.ts +39 -5
  95. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  96. package/daemon/dist/adapters/pi-runner.js +97 -19
  97. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  98. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +22 -0
  99. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  100. package/daemon/dist/adapters/pi-runtime-adapter.js +39 -8
  101. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  102. package/daemon/dist/adapters/preflight-exec.d.ts +2 -0
  103. package/daemon/dist/adapters/preflight-exec.d.ts.map +1 -1
  104. package/daemon/dist/adapters/preflight-exec.js +3 -1
  105. package/daemon/dist/adapters/preflight-exec.js.map +1 -1
  106. package/daemon/dist/adapters/stub-runtime-adapter.d.ts +5 -0
  107. package/daemon/dist/adapters/stub-runtime-adapter.d.ts.map +1 -1
  108. package/daemon/dist/adapters/stub-runtime-adapter.js +7 -4
  109. package/daemon/dist/adapters/stub-runtime-adapter.js.map +1 -1
  110. package/daemon/dist/adapters/tmux-exec.d.ts +3 -0
  111. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  112. package/daemon/dist/adapters/tmux-exec.js +35 -1
  113. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  114. package/daemon/dist/adapters/tmux.d.ts +3 -0
  115. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  116. package/daemon/dist/adapters/tmux.js +28 -3
  117. package/daemon/dist/adapters/tmux.js.map +1 -1
  118. package/daemon/dist/build-info.js +3 -3
  119. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  120. package/daemon/dist/db/all-migrations.js +8 -0
  121. package/daemon/dist/db/all-migrations.js.map +1 -1
  122. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts +6 -0
  123. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts.map +1 -0
  124. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js +8 -0
  125. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js.map +1 -0
  126. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts +9 -0
  127. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts.map +1 -0
  128. package/daemon/dist/db/migrations/147_managed_block_writes.js +19 -0
  129. package/daemon/dist/db/migrations/147_managed_block_writes.js.map +1 -0
  130. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts +8 -0
  131. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts.map +1 -0
  132. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js +12 -0
  133. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js.map +1 -0
  134. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts +4 -0
  135. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts.map +1 -0
  136. package/daemon/dist/db/migrations/149_stream_intake_cursor.js +14 -0
  137. package/daemon/dist/db/migrations/149_stream_intake_cursor.js.map +1 -0
  138. package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
  139. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
  140. package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
  141. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  142. package/daemon/dist/domain/bootstrap-orchestrator.js +3 -1
  143. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  144. package/daemon/dist/domain/bundle-archive.d.ts.map +1 -1
  145. package/daemon/dist/domain/bundle-archive.js +40 -4
  146. package/daemon/dist/domain/bundle-archive.js.map +1 -1
  147. package/daemon/dist/domain/bundle-behaviour.d.ts.map +1 -1
  148. package/daemon/dist/domain/bundle-behaviour.js +7 -0
  149. package/daemon/dist/domain/bundle-behaviour.js.map +1 -1
  150. package/daemon/dist/domain/bundle-content-routing.d.ts +1 -0
  151. package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
  152. package/daemon/dist/domain/bundle-content-routing.js +3 -1
  153. package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
  154. package/daemon/dist/domain/bundle-source-resolver.d.ts +2 -0
  155. package/daemon/dist/domain/bundle-source-resolver.d.ts.map +1 -1
  156. package/daemon/dist/domain/bundle-source-resolver.js +4 -4
  157. package/daemon/dist/domain/bundle-source-resolver.js.map +1 -1
  158. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +1 -1
  159. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  160. package/daemon/dist/domain/claude-compaction-enforcer.js +14 -9
  161. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  162. package/daemon/dist/domain/claude-owned-settings.d.ts +19 -0
  163. package/daemon/dist/domain/claude-owned-settings.d.ts.map +1 -0
  164. package/daemon/dist/domain/claude-owned-settings.js +160 -0
  165. package/daemon/dist/domain/claude-owned-settings.js.map +1 -0
  166. package/daemon/dist/domain/claude-plugin-channels.d.ts +2 -0
  167. package/daemon/dist/domain/claude-plugin-channels.d.ts.map +1 -0
  168. package/daemon/dist/domain/claude-plugin-channels.js +12 -0
  169. package/daemon/dist/domain/claude-plugin-channels.js.map +1 -0
  170. package/daemon/dist/domain/claude-theme-menu.d.ts +5 -0
  171. package/daemon/dist/domain/claude-theme-menu.d.ts.map +1 -0
  172. package/daemon/dist/domain/claude-theme-menu.js +43 -0
  173. package/daemon/dist/domain/claude-theme-menu.js.map +1 -0
  174. package/daemon/dist/domain/codex-pane-patterns.d.ts +1 -0
  175. package/daemon/dist/domain/codex-pane-patterns.d.ts.map +1 -1
  176. package/daemon/dist/domain/codex-pane-patterns.js +2 -0
  177. package/daemon/dist/domain/codex-pane-patterns.js.map +1 -1
  178. package/daemon/dist/domain/composer-prompts.d.ts +2 -0
  179. package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
  180. package/daemon/dist/domain/composer-prompts.js +3 -2
  181. package/daemon/dist/domain/composer-prompts.js.map +1 -1
  182. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts +10 -6
  183. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts.map +1 -1
  184. package/daemon/dist/domain/desired-claude-activity-hooks.js +69 -13
  185. package/daemon/dist/domain/desired-claude-activity-hooks.js.map +1 -1
  186. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  187. package/daemon/dist/domain/draft-aware-delivery.js +8 -2
  188. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  189. package/daemon/dist/domain/environment-lifecycle.d.ts +7 -0
  190. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  191. package/daemon/dist/domain/environment-lifecycle.js +15 -2
  192. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  193. package/daemon/dist/domain/environment-startup.d.ts +3 -1
  194. package/daemon/dist/domain/environment-startup.d.ts.map +1 -1
  195. package/daemon/dist/domain/environment-startup.js +31 -5
  196. package/daemon/dist/domain/environment-startup.js.map +1 -1
  197. package/daemon/dist/domain/gateway/human-readiness.d.ts +2 -1
  198. package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -1
  199. package/daemon/dist/domain/gateway/human-readiness.js +6 -0
  200. package/daemon/dist/domain/gateway/human-readiness.js.map +1 -1
  201. package/daemon/dist/domain/gateway/human-registry.d.ts +2 -1
  202. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  203. package/daemon/dist/domain/gateway/human-registry.js +9 -7
  204. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  205. package/daemon/dist/domain/gateway/participants.d.ts +26 -0
  206. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
  207. package/daemon/dist/domain/gateway/participants.js +15 -0
  208. package/daemon/dist/domain/gateway/participants.js.map +1 -1
  209. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  210. package/daemon/dist/domain/gateway/slack/inbound.js +21 -5
  211. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  212. package/daemon/dist/domain/gateway/slack/message.d.ts +3 -0
  213. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  214. package/daemon/dist/domain/gateway/slack/message.js +4 -3
  215. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  216. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +3 -2
  217. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  218. package/daemon/dist/domain/gateway/slack/queue-access.js +17 -6
  219. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  220. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts +1 -0
  221. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts.map +1 -1
  222. package/daemon/dist/domain/gateway/slack/recovery-budget.js +1 -0
  223. package/daemon/dist/domain/gateway/slack/recovery-budget.js.map +1 -1
  224. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts +37 -0
  225. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -0
  226. package/daemon/dist/domain/gateway/slack/settled-asks.js +276 -0
  227. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -0
  228. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +32 -0
  229. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  230. package/daemon/dist/domain/gateway/slack/slack-api.js +40 -2
  231. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  232. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  233. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +30 -6
  234. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  235. package/daemon/dist/domain/human-questions.d.ts +3 -1
  236. package/daemon/dist/domain/human-questions.d.ts.map +1 -1
  237. package/daemon/dist/domain/human-questions.js.map +1 -1
  238. package/daemon/dist/domain/kernel-boot-tracker.d.ts +3 -2
  239. package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -1
  240. package/daemon/dist/domain/kernel-boot-tracker.js +2 -1
  241. package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -1
  242. package/daemon/dist/domain/kernel-boot.d.ts +11 -6
  243. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  244. package/daemon/dist/domain/kernel-boot.js +27 -5
  245. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  246. package/daemon/dist/domain/kernel-hook-review.d.ts +3 -1
  247. package/daemon/dist/domain/kernel-hook-review.d.ts.map +1 -1
  248. package/daemon/dist/domain/kernel-hook-review.js +12 -3
  249. package/daemon/dist/domain/kernel-hook-review.js.map +1 -1
  250. package/daemon/dist/domain/managed-block-records.d.ts +54 -0
  251. package/daemon/dist/domain/managed-block-records.d.ts.map +1 -0
  252. package/daemon/dist/domain/managed-block-records.js +130 -0
  253. package/daemon/dist/domain/managed-block-records.js.map +1 -0
  254. package/daemon/dist/domain/managed-blocks.d.ts +14 -0
  255. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  256. package/daemon/dist/domain/managed-blocks.js +24 -4
  257. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  258. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +26 -10
  259. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  260. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +98 -26
  261. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  262. package/daemon/dist/domain/native-process-lineage.d.ts +2 -1
  263. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  264. package/daemon/dist/domain/native-process-lineage.js +57 -5
  265. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  266. package/daemon/dist/domain/node-inventory.d.ts +1 -0
  267. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  268. package/daemon/dist/domain/node-inventory.js +24 -2
  269. package/daemon/dist/domain/node-inventory.js.map +1 -1
  270. package/daemon/dist/domain/outbox-handler.d.ts +5 -0
  271. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  272. package/daemon/dist/domain/outbox-handler.js +28 -0
  273. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  274. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  275. package/daemon/dist/domain/profile-resolver.js +7 -1
  276. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  277. package/daemon/dist/domain/queue-recovery.d.ts +1 -1
  278. package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
  279. package/daemon/dist/domain/queue-recovery.js +6 -2
  280. package/daemon/dist/domain/queue-recovery.js.map +1 -1
  281. package/daemon/dist/domain/queue-repository.d.ts +32 -7
  282. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  283. package/daemon/dist/domain/queue-repository.js +165 -50
  284. package/daemon/dist/domain/queue-repository.js.map +1 -1
  285. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  286. package/daemon/dist/domain/queue-stuck-sweep.js +28 -4
  287. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  288. package/daemon/dist/domain/queue-transition-log.d.ts +2 -0
  289. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  290. package/daemon/dist/domain/queue-transition-log.js +9 -0
  291. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  292. package/daemon/dist/domain/restore-guidance.d.ts +70 -7
  293. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  294. package/daemon/dist/domain/restore-guidance.js +181 -18
  295. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  296. package/daemon/dist/domain/restore-orchestrator.d.ts +5 -0
  297. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  298. package/daemon/dist/domain/restore-orchestrator.js +115 -17
  299. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  300. package/daemon/dist/domain/rig-repository.d.ts +4 -0
  301. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  302. package/daemon/dist/domain/rig-repository.js +20 -1
  303. package/daemon/dist/domain/rig-repository.js.map +1 -1
  304. package/daemon/dist/domain/rig-teardown.d.ts +18 -0
  305. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  306. package/daemon/dist/domain/rig-teardown.js +73 -17
  307. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  308. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  309. package/daemon/dist/domain/rigspec-codec.js +2 -0
  310. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  311. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  312. package/daemon/dist/domain/rigspec-exporter.js +6 -1
  313. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  314. package/daemon/dist/domain/rigspec-instantiator.d.ts +7 -4
  315. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  316. package/daemon/dist/domain/rigspec-instantiator.js +19 -7
  317. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  318. package/daemon/dist/domain/rigspec-preflight.d.ts +4 -0
  319. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  320. package/daemon/dist/domain/rigspec-preflight.js +35 -1
  321. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  322. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  323. package/daemon/dist/domain/rigspec-schema.js +32 -5
  324. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  325. package/daemon/dist/domain/runner-permissions.d.ts +15 -0
  326. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  327. package/daemon/dist/domain/runner-permissions.js +74 -9
  328. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  329. package/daemon/dist/domain/runtime-adapter.d.ts +19 -1
  330. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  331. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  332. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  333. package/daemon/dist/domain/runtime-switch-materials.js +3 -0
  334. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  335. package/daemon/dist/domain/runtime-verifier.d.ts.map +1 -1
  336. package/daemon/dist/domain/runtime-verifier.js +9 -4
  337. package/daemon/dist/domain/runtime-verifier.js.map +1 -1
  338. package/daemon/dist/domain/scope/scope-audit.d.ts +1 -1
  339. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  340. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  341. package/daemon/dist/domain/scope/types.d.ts +3 -0
  342. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  343. package/daemon/dist/domain/scope/types.js.map +1 -1
  344. package/daemon/dist/domain/seat-activity-service.d.ts +7 -0
  345. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  346. package/daemon/dist/domain/seat-activity-service.js +47 -7
  347. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  348. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  349. package/daemon/dist/domain/seat-attention-reconciler.js +8 -1
  350. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  351. package/daemon/dist/domain/seat-delivery-guard.d.ts +22 -4
  352. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  353. package/daemon/dist/domain/seat-delivery-guard.js +80 -11
  354. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  355. package/daemon/dist/domain/seat-handover-service.d.ts +23 -10
  356. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  357. package/daemon/dist/domain/seat-handover-service.js +119 -3
  358. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  359. package/daemon/dist/domain/seat-launch-additions.d.ts +6 -0
  360. package/daemon/dist/domain/seat-launch-additions.d.ts.map +1 -1
  361. package/daemon/dist/domain/seat-launch-additions.js +41 -11
  362. package/daemon/dist/domain/seat-launch-additions.js.map +1 -1
  363. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  364. package/daemon/dist/domain/seat-lifecycle-service.js +3 -1
  365. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  366. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  367. package/daemon/dist/domain/seat-runtime-switch-service.js +17 -3
  368. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  369. package/daemon/dist/domain/seat-skill-storage.d.ts +2 -2
  370. package/daemon/dist/domain/seat-skill-storage.js +2 -2
  371. package/daemon/dist/domain/seat-structural-activity-service.d.ts +15 -5
  372. package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
  373. package/daemon/dist/domain/seat-structural-activity-service.js +21 -7
  374. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  375. package/daemon/dist/domain/session-transport.d.ts +7 -0
  376. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  377. package/daemon/dist/domain/session-transport.js +145 -31
  378. package/daemon/dist/domain/session-transport.js.map +1 -1
  379. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  380. package/daemon/dist/domain/snapshot-capture.js +1 -0
  381. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  382. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +2 -0
  383. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -1
  384. package/daemon/dist/domain/spec-library-workflow-scanner.js +5 -1
  385. package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -1
  386. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
  387. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  388. package/daemon/dist/domain/startup-orchestrator.js +74 -7
  389. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  390. package/daemon/dist/domain/stream-intake.d.ts +51 -0
  391. package/daemon/dist/domain/stream-intake.d.ts.map +1 -0
  392. package/daemon/dist/domain/stream-intake.js +438 -0
  393. package/daemon/dist/domain/stream-intake.js.map +1 -0
  394. package/daemon/dist/domain/successor-session-launcher.d.ts +2 -0
  395. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  396. package/daemon/dist/domain/successor-session-launcher.js +1 -0
  397. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  398. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  399. package/daemon/dist/domain/terminal/herdr-adapter.js +4 -3
  400. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  401. package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
  402. package/daemon/dist/domain/terminal/herdr-viewer.js +8 -4
  403. package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
  404. package/daemon/dist/domain/terminal/login-shell.d.ts +10 -0
  405. package/daemon/dist/domain/terminal/login-shell.d.ts.map +1 -0
  406. package/daemon/dist/domain/terminal/login-shell.js +37 -0
  407. package/daemon/dist/domain/terminal/login-shell.js.map +1 -0
  408. package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -1
  409. package/daemon/dist/domain/terminal/rex-layout.js +2 -1
  410. package/daemon/dist/domain/terminal/rex-layout.js.map +1 -1
  411. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  412. package/daemon/dist/domain/terminal/tile-attach.js +15 -5
  413. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  414. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  415. package/daemon/dist/domain/transcript-store.js +11 -5
  416. package/daemon/dist/domain/transcript-store.js.map +1 -1
  417. package/daemon/dist/domain/types.d.ts +16 -0
  418. package/daemon/dist/domain/types.d.ts.map +1 -1
  419. package/daemon/dist/domain/types.js.map +1 -1
  420. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  421. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  422. package/daemon/dist/domain/user-settings/settings-store.js +14 -0
  423. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  424. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +11 -0
  425. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -0
  426. package/daemon/dist/domain/watchdog-delivery-receipts.js +134 -0
  427. package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -0
  428. package/daemon/dist/domain/watchdog-delivery.d.ts +6 -1
  429. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  430. package/daemon/dist/domain/watchdog-delivery.js +10 -6
  431. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  432. package/daemon/dist/domain/watchdog-policy-engine.d.ts +19 -2
  433. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  434. package/daemon/dist/domain/watchdog-policy-engine.js +49 -22
  435. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  436. package/daemon/dist/domain/workflow-projector.js +3 -3
  437. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  438. package/daemon/dist/domain/workflow-runtime.js +3 -3
  439. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  440. package/daemon/dist/domain/working-liveness.d.ts +66 -0
  441. package/daemon/dist/domain/working-liveness.d.ts.map +1 -0
  442. package/daemon/dist/domain/working-liveness.js +94 -0
  443. package/daemon/dist/domain/working-liveness.js.map +1 -0
  444. package/daemon/dist/domain/workspace/frontmatter-validator.js +4 -2
  445. package/daemon/dist/domain/workspace/frontmatter-validator.js.map +1 -1
  446. package/daemon/dist/index.d.ts +1 -1
  447. package/daemon/dist/index.d.ts.map +1 -1
  448. package/daemon/dist/index.js +3 -0
  449. package/daemon/dist/index.js.map +1 -1
  450. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  451. package/daemon/dist/lib/pane-envelope.js +9 -3
  452. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  453. package/daemon/dist/middleware/auth-bearer-token.js +2 -2
  454. package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
  455. package/daemon/dist/routes/activity.d.ts +2 -0
  456. package/daemon/dist/routes/activity.d.ts.map +1 -1
  457. package/daemon/dist/routes/activity.js +60 -5
  458. package/daemon/dist/routes/activity.js.map +1 -1
  459. package/daemon/dist/routes/attention.d.ts.map +1 -1
  460. package/daemon/dist/routes/attention.js +17 -5
  461. package/daemon/dist/routes/attention.js.map +1 -1
  462. package/daemon/dist/routes/bundles.js +3 -1
  463. package/daemon/dist/routes/bundles.js.map +1 -1
  464. package/daemon/dist/routes/gateway.d.ts +6 -0
  465. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  466. package/daemon/dist/routes/gateway.js +39 -0
  467. package/daemon/dist/routes/gateway.js.map +1 -1
  468. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  469. package/daemon/dist/routes/hosts.js +26 -4
  470. package/daemon/dist/routes/hosts.js.map +1 -1
  471. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  472. package/daemon/dist/routes/mission-control.js +6 -1
  473. package/daemon/dist/routes/mission-control.js.map +1 -1
  474. package/daemon/dist/routes/queue.d.ts.map +1 -1
  475. package/daemon/dist/routes/queue.js +21 -2
  476. package/daemon/dist/routes/queue.js.map +1 -1
  477. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  478. package/daemon/dist/routes/scope-audit.js +30 -0
  479. package/daemon/dist/routes/scope-audit.js.map +1 -1
  480. package/daemon/dist/routes/seat.d.ts.map +1 -1
  481. package/daemon/dist/routes/seat.js +3 -3
  482. package/daemon/dist/routes/seat.js.map +1 -1
  483. package/daemon/dist/routes/spec-library.d.ts.map +1 -1
  484. package/daemon/dist/routes/spec-library.js +60 -5
  485. package/daemon/dist/routes/spec-library.js.map +1 -1
  486. package/daemon/dist/routes/startup.js +2 -2
  487. package/daemon/dist/routes/startup.js.map +1 -1
  488. package/daemon/dist/routes/transport.d.ts.map +1 -1
  489. package/daemon/dist/routes/transport.js +8 -3
  490. package/daemon/dist/routes/transport.js.map +1 -1
  491. package/daemon/dist/server.d.ts +1 -0
  492. package/daemon/dist/server.d.ts.map +1 -1
  493. package/daemon/dist/server.js +1 -0
  494. package/daemon/dist/server.js.map +1 -1
  495. package/daemon/dist/startup.d.ts.map +1 -1
  496. package/daemon/dist/startup.js +30 -12
  497. package/daemon/dist/startup.js.map +1 -1
  498. package/daemon/docs/reference/agent-spec.md +1 -1
  499. package/daemon/docs/reference/agent-startup-guide.md +115 -3
  500. package/daemon/docs/reference/agent-state-taxonomy.md +23 -2
  501. package/daemon/docs/reference/author-contracts.md +6 -6
  502. package/daemon/docs/reference/checked-seat-stop.md +12 -1
  503. package/daemon/docs/reference/community-harness-examples/dsh/README.md +32 -7
  504. package/daemon/docs/reference/community-harness-examples/dsh/dsh.yaml +2 -2
  505. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +101 -18
  506. package/daemon/docs/reference/daemon-http-clients.md +203 -0
  507. package/daemon/docs/reference/execution-platform-contract.md +1 -1
  508. package/daemon/docs/reference/gateway-participants.md +29 -17
  509. package/daemon/docs/reference/getting-started.md +30 -8
  510. package/daemon/docs/reference/harness-runner-contract.md +93 -19
  511. package/daemon/docs/reference/hosted-members.md +32 -0
  512. package/daemon/docs/reference/instance-layout.md +11 -0
  513. package/daemon/docs/reference/keeping-a-watch.md +22 -0
  514. package/daemon/docs/reference/pi-tool-selection-recovery.md +2 -1
  515. package/daemon/docs/reference/quickstart.md +9 -4
  516. package/daemon/docs/reference/rig-bundle.md +2 -2
  517. package/daemon/docs/reference/rig-spec.md +61 -2
  518. package/daemon/docs/reference/runner-conformance/README.md +5 -3
  519. package/daemon/docs/reference/runner-conformance/check-runner.mjs +136 -16
  520. package/daemon/docs/reference/runner-conformance/fake-acp-agent.mjs +10 -3
  521. package/daemon/docs/reference/sdlc-conventions.md +22 -3
  522. package/daemon/docs/reference/seat-delivery.md +31 -6
  523. package/daemon/docs/reference/slack-app-setup.md +55 -5
  524. package/daemon/docs/reference/terminal-sessions.md +15 -5
  525. package/daemon/docs/reference/whats-new.md +198 -140
  526. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +4 -3
  527. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  528. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
  529. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +1 -1
  530. package/dist/atomic-text-write.d.ts +2 -0
  531. package/dist/atomic-text-write.d.ts.map +1 -1
  532. package/dist/atomic-text-write.js +17 -0
  533. package/dist/atomic-text-write.js.map +1 -1
  534. package/dist/build-info.js +3 -3
  535. package/dist/commands/broadcast.js +2 -1
  536. package/dist/commands/broadcast.js.map +1 -1
  537. package/dist/commands/config.d.ts.map +1 -1
  538. package/dist/commands/config.js +1 -0
  539. package/dist/commands/config.js.map +1 -1
  540. package/dist/commands/context.d.ts.map +1 -1
  541. package/dist/commands/context.js +1 -0
  542. package/dist/commands/context.js.map +1 -1
  543. package/dist/commands/doctor.d.ts +1 -1
  544. package/dist/commands/doctor.d.ts.map +1 -1
  545. package/dist/commands/doctor.js +48 -6
  546. package/dist/commands/doctor.js.map +1 -1
  547. package/dist/commands/down.d.ts.map +1 -1
  548. package/dist/commands/down.js +10 -0
  549. package/dist/commands/down.js.map +1 -1
  550. package/dist/commands/env.d.ts.map +1 -1
  551. package/dist/commands/env.js +9 -3
  552. package/dist/commands/env.js.map +1 -1
  553. package/dist/commands/environment.d.ts.map +1 -1
  554. package/dist/commands/environment.js +5 -2
  555. package/dist/commands/environment.js.map +1 -1
  556. package/dist/commands/export.d.ts +2 -0
  557. package/dist/commands/export.d.ts.map +1 -1
  558. package/dist/commands/export.js +26 -5
  559. package/dist/commands/export.js.map +1 -1
  560. package/dist/commands/gateway.js +15 -11
  561. package/dist/commands/gateway.js.map +1 -1
  562. package/dist/commands/host.d.ts +13 -6
  563. package/dist/commands/host.d.ts.map +1 -1
  564. package/dist/commands/host.js +35 -8
  565. package/dist/commands/host.js.map +1 -1
  566. package/dist/commands/project-jev.js +1 -1
  567. package/dist/commands/project-jev.js.map +1 -1
  568. package/dist/commands/provider.d.ts.map +1 -1
  569. package/dist/commands/provider.js +10 -5
  570. package/dist/commands/provider.js.map +1 -1
  571. package/dist/commands/ps.d.ts +2 -0
  572. package/dist/commands/ps.d.ts.map +1 -1
  573. package/dist/commands/ps.js +12 -3
  574. package/dist/commands/ps.js.map +1 -1
  575. package/dist/commands/queue.d.ts +1 -0
  576. package/dist/commands/queue.d.ts.map +1 -1
  577. package/dist/commands/queue.js +38 -4
  578. package/dist/commands/queue.js.map +1 -1
  579. package/dist/commands/scope.d.ts.map +1 -1
  580. package/dist/commands/scope.js +36 -2
  581. package/dist/commands/scope.js.map +1 -1
  582. package/dist/commands/seat.d.ts.map +1 -1
  583. package/dist/commands/seat.js +31 -4
  584. package/dist/commands/seat.js.map +1 -1
  585. package/dist/commands/send.d.ts.map +1 -1
  586. package/dist/commands/send.js +46 -16
  587. package/dist/commands/send.js.map +1 -1
  588. package/dist/commands/slack.d.ts.map +1 -1
  589. package/dist/commands/slack.js +5 -0
  590. package/dist/commands/slack.js.map +1 -1
  591. package/dist/commands/specs.d.ts +1 -1
  592. package/dist/commands/specs.d.ts.map +1 -1
  593. package/dist/commands/specs.js +44 -10
  594. package/dist/commands/specs.js.map +1 -1
  595. package/dist/commands/stream.d.ts.map +1 -1
  596. package/dist/commands/stream.js +6 -1
  597. package/dist/commands/stream.js.map +1 -1
  598. package/dist/commands/topology-default-agent.js +1 -1
  599. package/dist/commands/topology-default-agent.js.map +1 -1
  600. package/dist/commands/walk.d.ts.map +1 -1
  601. package/dist/commands/walk.js +27 -10
  602. package/dist/commands/walk.js.map +1 -1
  603. package/dist/commands/workspace.d.ts.map +1 -1
  604. package/dist/commands/workspace.js +8 -1
  605. package/dist/commands/workspace.js.map +1 -1
  606. package/dist/config-store.d.ts +7 -1
  607. package/dist/config-store.d.ts.map +1 -1
  608. package/dist/config-store.js +23 -2
  609. package/dist/config-store.js.map +1 -1
  610. package/dist/lib/scope/progress-edit.d.ts.map +1 -1
  611. package/dist/lib/scope/progress-edit.js +37 -7
  612. package/dist/lib/scope/progress-edit.js.map +1 -1
  613. package/dist/lib/scope/scope-audit.d.ts +1 -1
  614. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  615. package/dist/lib/scope/scope-audit.js.map +1 -1
  616. package/dist/lib/scope/scope-fs.d.ts +3 -0
  617. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  618. package/dist/lib/scope/scope-fs.js +39 -53
  619. package/dist/lib/scope/scope-fs.js.map +1 -1
  620. package/dist/lib/scope/types.d.ts +3 -0
  621. package/dist/lib/scope/types.d.ts.map +1 -1
  622. package/dist/lib/scope/types.js.map +1 -1
  623. package/dist/mcp-server.d.ts.map +1 -1
  624. package/dist/mcp-server.js +53 -16
  625. package/dist/mcp-server.js.map +1 -1
  626. package/dist/seat-launch-additions-lines.d.ts +2 -0
  627. package/dist/seat-launch-additions-lines.d.ts.map +1 -1
  628. package/dist/seat-launch-additions-lines.js +1 -0
  629. package/dist/seat-launch-additions-lines.js.map +1 -1
  630. package/package.json +1 -1
  631. package/tui/dist/attention/attention-model.d.ts +3 -2
  632. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  633. package/tui/dist/attention/attention-model.js +7 -4
  634. package/tui/dist/attention/attention-model.js.map +1 -1
  635. package/tui/dist/daemon-client.d.ts +4 -4
  636. package/tui/dist/daemon-client.d.ts.map +1 -1
  637. package/tui/dist/daemon-client.js +6 -5
  638. package/tui/dist/daemon-client.js.map +1 -1
  639. package/tui/dist/hydrate.d.ts.map +1 -1
  640. package/tui/dist/hydrate.js +10 -4
  641. package/tui/dist/hydrate.js.map +1 -1
  642. package/tui/dist/pulse/pulse-model.d.ts +1 -1
  643. package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
  644. package/tui/dist/pulse/pulse-model.js +6 -17
  645. package/tui/dist/pulse/pulse-model.js.map +1 -1
  646. package/tui/dist/render.js +1 -1
  647. package/tui/dist/render.js.map +1 -1
  648. package/tui/dist/theme.d.ts.map +1 -1
  649. package/tui/dist/theme.js +7 -2
  650. package/tui/dist/theme.js.map +1 -1
  651. package/tui/dist/time.d.ts +2 -0
  652. package/tui/dist/time.d.ts.map +1 -1
  653. package/tui/dist/time.js +5 -0
  654. package/tui/dist/time.js.map +1 -1
  655. package/tui/dist/types.d.ts +2 -3
  656. package/tui/dist/types.d.ts.map +1 -1
  657. package/ui/dist/assets/index-BFOs3ejL.css +32 -0
  658. package/ui/dist/assets/{index-Ch6UxNld.js → index-CdkFwtld.js} +81 -81
  659. package/ui/dist/index.html +2 -2
  660. package/ui/dist/assets/index-DNU3XZr_.css +0 -32
package/README.md CHANGED
@@ -26,9 +26,9 @@ use:
26
26
 
27
27
  ```sh
28
28
  # Claude Code
29
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.8/skills/rigs --skill rigs --agent claude-code
29
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.9/skills/rigs --skill rigs --agent claude-code
30
30
  # Codex
31
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.8/skills/rigs --skill rigs --agent codex
31
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.9/skills/rigs --skill rigs --agent codex
32
32
  ```
33
33
 
34
34
  Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what you want built. The skill has your agent tell
@@ -68,14 +68,14 @@ Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Co
68
68
 
69
69
  ### Install it yourself
70
70
 
71
- This runs OpenRig's install script from the `v0.7.8` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
71
+ This runs OpenRig's install script from the `v0.7.9` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
72
72
 
73
73
  ```bash
74
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.8/scripts/install.sh | sh -s -- --dry-run
75
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.8/scripts/install.sh | sh
74
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.9/scripts/install.sh | sh -s -- --dry-run
75
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.9/scripts/install.sh | sh
76
76
  ```
77
77
 
78
- If a provider isn't signed in yet, the last step reports `FAILED [4/4]`, and `rig setup` lists the sign-in under "Some steps need attention". If the only remaining failures are provider sign-ins, the install steps finished; sign in to each selected provider as below and continue.
78
+ If the last step isn't ready, the installer reports `INSTALLED, SETUP NOT COMPLETE` and points to the details from `rig setup` above. Follow that output and any reported Fix, then rerun `rig setup`; the CLI does not need reinstalling. If the only remaining failures are provider sign-ins, sign in to each selected provider as below and continue.
79
79
 
80
80
  **Or step by step:**
81
81
 
@@ -6,7 +6,7 @@ The image recipe is an input recipe, not a published prebuilt image or a reprodu
6
6
 
7
7
  ## Install the reference and work connection
8
8
 
9
- Run the environment commands from your managed OpenRig seat. In a plain shell, set `OPENRIG_SESSION_NAME` to the actual acting `member@rig` address, for example `export OPENRIG_SESSION_NAME=operator@kernel` when operating as that member. The CLI uses this existing convention to stamp `X-OpenRig-Session`; it attributes requests within the daemon's trusted transport, and is not authentication. The work and activity credentials below are separate authorities, not replacements for this actor attribution.
9
+ Run the environment commands from your managed OpenRig seat. In a plain shell, set `OPENRIG_SESSION_NAME` to the actual acting `member@rig` address, for example `export OPENRIG_SESSION_NAME=operator-agent@kernel` when operating as that member. The CLI uses this existing convention to stamp `X-OpenRig-Session`; it attributes requests within the daemon's trusted transport, and is not authentication. The work and activity credentials below are separate authorities, not replacements for this actor attribution.
10
10
 
11
11
  Start an MCP HTTP listener using `rig mcp serve --http --help` and the normal member-grant file on this daemon host. Select a guest-reachable address and explicit port. Setup adds one non-owner, one-seat, one-rig work grant in that existing file and stores its bearer credential in a private managed file. It prints only the file reference. Existing files/presets with different bytes are preserved.
12
12
 
@@ -17,7 +17,7 @@ rig environment setup --directory ./openshell-example --binding worker-one \
17
17
  --guest-base-url http://host.openshell.internal:7782 --json
18
18
  ```
19
19
 
20
- Enable the daemon's separate guest activity listener with `OPENRIG_GUEST_ACTIVITY_PORT=7782` and a guest-reachable `OPENRIG_GUEST_ACTIVITY_HOST` in the daemon launch environment. It is disabled by default; this is an explicit additional listener, not a change to the main API's binding. The bind host must be an address on the daemon host that the guest can actually reach; a listener bound only to `127.0.0.1` is not reachable through a host alias that maps to a different interface. Set `OPENRIG_GUEST_ACTIVITY_HOST` to that selected host address and use its guest-visible name in `--guest-base-url`. With rootless networking, verify the host alias's route rather than assuming it reaches loopback. Bind the MCP listener to its separately selected guest-reachable address as well. The listener serves only `POST /api/activity/hooks` and the three permission-request routes (`POST /api/activity/permission-requests`, `GET /api/activity/permission-requests/<askId>` and `POST /api/activity/permission-requests/<askId>/withdraw`), using the seat/generation grant. It exposes no queue, config, event-stream or parked-seat reads and refuses the install-wide token. Use the actual guest-reachable MCP and guest-activity ports. Setup generates `policy.yaml` for those two selected host/port pairs, without blanket egress. Never grant the guest access to the daemon's main API port (normally 7433). OpenShell's REST policy applies to a host and port: the dedicated listener confines the surface, while its activity grant and the separate MCP work grant authorize their respective requests. The activity rule names `/usr/bin/node`, matching the selected plugin hook interpreter. Qualify that path in your image. The separate read-only `platform.claude.com` rule is for the pinned native startup check and carries no inference credential.
20
+ Enable the daemon's separate guest activity listener with `OPENRIG_GUEST_ACTIVITY_PORT=7782` and a guest-reachable `OPENRIG_GUEST_ACTIVITY_HOST` in the daemon launch environment. The port must differ from the daemon's main port, or the daemon refuses to start, and the host defaults to `127.0.0.1`. It is disabled by default; this is an explicit additional listener, not a change to the main API's binding. The bind host must be an address on the daemon host that the guest can actually reach; a listener bound only to `127.0.0.1` is not reachable through a host alias that maps to a different interface. Set `OPENRIG_GUEST_ACTIVITY_HOST` to that selected host address and use its guest-visible name in `--guest-base-url`. With rootless networking, verify the host alias's route rather than assuming it reaches loopback. Bind the MCP listener to its separately selected guest-reachable address as well. The listener serves only `POST /api/activity/hooks` and the three permission-request routes (`POST /api/activity/permission-requests`, `GET /api/activity/permission-requests/<askId>` and `POST /api/activity/permission-requests/<askId>/withdraw`), using the seat/generation grant. It exposes no queue, config, event-stream or parked-seat reads and refuses the install-wide token. Use the actual guest-reachable MCP and guest-activity ports. Setup generates `policy.yaml` for those two selected host/port pairs, without blanket egress. Never grant the guest access to the daemon's main API port (normally 7433). OpenShell's REST policy applies to a host and port: the dedicated listener confines the surface, while its activity grant and the separate MCP work grant authorize their respective requests. The activity rule names `/usr/bin/node`, matching the selected plugin hook interpreter. Qualify that path in your image. The separate read-only `platform.claude.com` rule is for the pinned native startup check and carries no inference credential.
21
21
 
22
22
  Import `claude-code-provider.yaml` using OpenShell's provider-profile commands, then create a provider with its `ANTHROPIC_API_KEY` environment lookup. See `openshell provider --help`; keep the master credential in provider custody, never an argument or source file. `create` passes that provider reference with `--no-auto-providers`. The guest helper saves only the provider-injected reference in a private file and uses Claude's `apiKeyHelper`. It does not copy an owner authentication home.
23
23
 
@@ -122,6 +122,8 @@ The first source tests use fake provider transport, the actual guest helper's fi
122
122
 
123
123
  Driver protocol 1 is documented by `driver-v1.schema.json` and the daemon's `EnvironmentDriver` interface. Core owns placement provenance, operation intent, resolved-file selection, selected task completion and receipts; the driver owns fixed OpenShell CLI transport and guest path mapping. There is no generic plugin loader or alternative task store. Projection is bounded to 4096 files, 1 MiB per file and 32 MiB total. Unsupported runtime resources/subagents refuse the selected launch explicitly; ordinary host runtimes keep their existing behavior. Cross-host migration, RAM snapshots and arbitrary native-store portability remain outside this reference.
124
124
 
125
+ Startup uses a private, hash-checked `control/first-input.txt` file and a bounded initial prompt pointing Claude to it. Core prepares the guest with `--prepare --first-input-required`; an older helper rejects that option before publishing the launch latch. Rebuild the maintained image with this helper when updating the worker. Startup identity, projected role/context references and applicable text actions never pass through the host viewer's input. Native ingestion remains separately observed; a passed input is not proof that Claude read it. Viewer readiness checks the recorded guest execution, and opening the viewer checks live resource identity and generation without repeating full projection validation.
126
+
125
127
  ## Lifecycle and restore limits
126
128
 
127
129
  The placement name is supplied by the caller. Create refuses an already-listed name, and each binding retains its one selected name; OpenRig does not reserve names globally across bindings. Immediately before stop/delete, OpenRig checks the saved immutable identity, then the pinned vendor call addresses the name and workspace. A deliberate reuse of that name between inspection and the vendor call could affect the replacement. The pinned CLI has no expected-id condition for these calls. Later reconciliation cannot undo that mutation.
@@ -111,6 +111,11 @@ def descriptor(root, pending=False):
111
111
  data = regular(root, file["path"])
112
112
  if len(data) != file["bytes"] or digest(data) != file["sha256"]:
113
113
  raise Refused("environment_projection_changed")
114
+ first_input = value.get("firstInput")
115
+ if first_input:
116
+ data = regular(root, first_input["path"])
117
+ if digest(data) != first_input["sha256"] or len(data) != first_input["bytes"]:
118
+ raise Refused("environment_projection_changed")
114
119
  # P1-P3 never silently replace a requested native conversation with a fresh one.
115
120
  if value.get("resumeToken"):
116
121
  if value.get("nativeType") != "community:openshell-claude" or value["resumeToken"] != value["nativeId"]:
@@ -177,6 +182,11 @@ def launch(root):
177
182
  argv.extend(["--effort", value["effort"]])
178
183
  if value.get("permissionMode"):
179
184
  argv.extend(["--permission-mode", value["permissionMode"]])
185
+ if value.get("firstInput"):
186
+ # A bounded file reference is the initial user turn; no startup bytes are typed through a host viewer.
187
+ argv.append("Read " + str(safe(root, value["firstInput"]["path"])) + " as your selected OpenRig startup input. "
188
+ "It contains your identity, role/context references and instructions. Use the authenticated OpenRig MCP tools "
189
+ "inside this guest; host-only rig CLI commands in context require their MCP equivalents.")
180
190
  work = safe(root, "work")
181
191
  work.mkdir(exist_ok=True)
182
192
  os.chdir(work)
@@ -222,6 +232,7 @@ def main():
222
232
  p.add_argument("--previous")
223
233
  p.add_argument("--mode", choices=("0600", "0700"), default="0600")
224
234
  p.add_argument("--prepare", action="store_true")
235
+ p.add_argument("--first-input-required", action="store_true")
225
236
  p.add_argument("--identity", action="store_true")
226
237
  p.add_argument("--stop-native")
227
238
  p.add_argument("--generation")
@@ -255,6 +266,8 @@ def main():
255
266
  return {"ok": True, "sha256": digest(data), "bytes": len(data)}
256
267
  if args.prepare:
257
268
  value = descriptor(root, pending=True)
269
+ if args.first_input_required and not value.get("firstInput"):
270
+ raise Refused("environment_descriptor_invalid")
258
271
  encoded = json.dumps(value, sort_keys=True, separators=(",", ":")).encode()
259
272
  published = safe(root, "control/launch.json")
260
273
  if published.exists():
@@ -10,3 +10,4 @@ limits:
10
10
  launch_result: true
11
11
  resume: true
12
12
  passes_model: true
13
+ first_input: true
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -73,6 +73,15 @@ This is the system's truth-source for "how did the current occupant get
73
73
  there." Without it, the control plane shows the current occupant but
74
74
  not the legitimacy of the transition.
75
75
 
76
+ `rig seat handover`'s receipt reports it under `sideEffects`:
77
+ `provenanceRecordWritten` says whether this handover's lineage record (its
78
+ occupant tenure) exists, and `departingProcess` says how the old process
79
+ ended (`ended-graceful`, `ended-forced`, or `not-touched` for a discovered
80
+ successor). If `provenanceRecordWritten` is false, the seat is already bound
81
+ to the successor and only its lineage record is missing: check the daemon
82
+ log, which names the first such failure since the daemon started, and don't
83
+ run the handover again, which would replace the occupant a second time.
84
+
76
85
  ## State models — independent
77
86
 
78
87
  ### Occupant-creation state (per candidate)
@@ -85,7 +94,7 @@ not the legitimacy of the transition.
85
94
 
86
95
  1. **Stable** — current occupant attached, no in-flight binding
87
96
  2. **Binding** — handover in progress
88
- 3. **Bound** — handover succeeded; provenance record written
97
+ 3. **Bound** — handover succeeded; provenance record written (or missing, when the receipt says so: see failure mode 3)
89
98
  4. **Unchanged** — bind failed before completion; seat retains old occupant
90
99
 
91
100
  A seat stays `Stable` even if multiple candidate-occupants were produced and discarded.
@@ -94,7 +103,7 @@ A seat stays `Stable` even if multiple candidate-occupants were produced and dis
94
103
 
95
104
  1. **Candidate creation failed** — `rebuild` couldn't synthesize from artifacts; `fork` couldn't resolve `session_source`; `fresh` couldn't launch. **Action**: bind operation does not begin; seat unchanged; provenance records the failed candidate-creation step.
96
105
  2. **Old occupant cannot be detached cleanly** — runtime hung, tmux locked, etc. **Action**: bind halts mid-flight; seat enters `Binding` state with explicit "halted" sub-status; operator alerted. **Do NOT auto-rollback by reattaching old-occupant if detach didn't complete cleanly.**
97
- 3. **Bind succeeded but provenance write failed** — disk/db error. **Action**: not durable until provenance writes; treat as `Binding` halted, not `Bound`.
106
+ 3. **Bind succeeded but the lineage record didn't write** — disk/db error; the receipt says `provenanceRecordWritten: false`. **Action**: the binding is committed and the successor is the occupant; only its lineage record is missing. Report it as bound with the record missing, check the daemon log (it names the first such failure since the daemon started), and don't run the handover again.
98
107
  4. **Old occupant disposition unfulfillable** — operator requested `advise` (keep alive as advisor) but runtime can't keep old alive. **Action**: degrade to `retire` with explicit notification, OR fail if operator passed strict-disposition flag.
99
108
  5. **Concurrent handover attempts** — two operations target the same seat. **Action**: serialize by seat-id lock; second attempt refuses with clear error.
100
109
 
@@ -104,7 +113,7 @@ A seat stays `Stable` even if multiple candidate-occupants were produced and dis
104
113
  - **Do NOT introduce successor-suffix seat names** (`lead2`/`lead3`). Stable seat identity is the architectural goal. The live address stays stable. A retired tenure is distinguished by its ledger
105
114
  generation and exact history token; preserving it does not require a renamed live pane.
106
115
 
107
- - **Do NOT report `seatBindingOutcome: handed_over`** if the provenance record didn't write durably.
116
+ - **Do NOT report a handover's provenance record as written** unless its receipt says `provenanceRecordWritten: true`; a bound seat whose record is missing is reported as exactly that (failure mode 3).
108
117
  - **Do NOT auto-rollback a half-completed handover** by re-attaching the old occupant unless detach completed cleanly first.
109
118
 
110
119
  ## Composition and current command surface
@@ -1,6 +1,6 @@
1
1
  # Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
2
2
  name: help
3
- version: "0.7.8"
3
+ version: "0.7.9"
4
4
  taxonomy: world
5
5
  purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
6
6
  files:
@@ -1,6 +1,6 @@
1
1
  # Public capability and source-map width for the default onboarding walk.
2
2
  name: onboarding-width
3
- version: "0.7.8"
3
+ version: "0.7.9"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files:
@@ -10,8 +10,8 @@ already does it, or two verbs crossed already answer it. **You cannot look up a
10
10
  not know exists.** So the point of what follows is not skill. It is recognition: that when a task
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
- Ninety top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.6`). This marker describes the pack's teaching, not publication or live
13
+ Ninety-one top-level verbs ship (capability canon refreshed through
14
+ `capability-delta-v0.7.9`). This marker describes the pack's teaching, not publication or live
15
15
  adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
16
16
  What changed in the installed version, and what to do about it, is one read away:
17
17
  `rig context get reference/whats-new.md`.
@@ -108,7 +108,10 @@ unseen — which makes messages the one delivery channel that never gets skipped
108
108
  - **`rig send`** — put words in front of one seat, several, a pod, or a rig. **`--verify` checks
109
109
  pane-only delivery**: the text was staged at the far end, not that the agent consumed or acted
110
110
  on it. Alternate-screen and queued-command cases can still yield false negatives, so
111
- consequential delivery gets an effect check at the far end rather than a blind retry. A
111
+ consequential delivery gets an effect check at the far end rather than a blind retry.
112
+ `--verify` exits 1 when it can't confirm what its Enter did (`submission unconfirmed`, or text
113
+ staged but not submitted): the message may still have arrived, so inspect with `rig capture`
114
+ before any resend, and don't let a script resend on that exit code alone. A
112
115
  producer-link advisory reading `no_activity_signal` means activity could not be determined;
113
116
  confirm by effect, never relaunch on it. A send or wake to a seat whose latest hook is a
114
117
  question waiting for a person is refused with `target_needs_input`, even when its screen
@@ -144,7 +147,7 @@ unseen — which makes messages the one delivery channel that never gets skipped
144
147
  and the box was empty after Enter; it only reports.
145
148
  - **`rig broadcast`** — one fact to everyone at once, rather than relaying it N times and getting
146
149
  the wording wrong on the fourth. **Blast radius is real** — on a large rig this lands in every
147
- seat's turn.
150
+ seat's turn. A broadcast that reached no one says so.
148
151
  - **`rig capture <seat>`** — read what is on their screen right now. **`--rig` / `--pod`** captures
149
152
  every seat in one call. `--lines N` is the last N lines (stderr says how many earlier lines were
150
153
  cut); `--history-plus-pane` gives the older N history lines plus the whole pane. A short capture
@@ -171,8 +174,11 @@ unseen — which makes messages the one delivery channel that never gets skipped
171
174
  connection refusals, and reset or closed connections are retried until that deadline; other errors,
172
175
  including an error answer from the daemon such as a removed rig, still end the wait.
173
176
  - **`rig stream emit` / `list` / `watch` / `archive`** — drop an observation somewhere the *next*
174
- agent will find it. Emitting costs nothing and does not interrupt anyone; the value appears when
175
- someone lists the stream before starting. **`rig stream show <id>`** says what became of one:
177
+ agent will find it. By default an emit also reaches the kernel's queue worker: it opens an
178
+ intake row for `queue.worker`, which wakes it like any queue row, or adds a note to that seat's
179
+ intake row still pending, and a `critical` or `--interrupt` item makes the row urgent.
180
+ `stream.intake` names the receiving seat; `rig config set stream.intake off` keeps emits passive.
181
+ A runner's default-permit record opens no row. **`rig stream show <id>`** says what became of one:
176
182
  its routing, linked work and that work's state. Items emitted from 0.7.1 on are kept 30 days or
177
183
  the newest 20,000 (`retention.stream_days`, `retention.stream_max_items`) unless a record names
178
184
  them, and a body over 16 KiB is stored truncated.
@@ -235,11 +241,14 @@ unseen — which makes messages the one delivery channel that never gets skipped
235
241
  New slice views default to four automatic tiles (`--max-tiles` overrides it). Known empty slices
236
242
  stay following; incomplete reads keep prior viewers, and draft/focus protection still applies.
237
243
  A join refused before a pane split can join on a later refresh. Hold notices keep the seat and phase.
238
- The first notice keeps the original reason; later notices can show a generic reason, while the
239
- original failure remains in the journal.
244
+ Later notices label the current confirmation apart from the first failure, also after the follower
245
+ is recreated, so the original reason stays in view.
240
246
  An attach that ran and then exited to a shell is not restarted automatically; the whole slice view
241
247
  can hold until that tile is resolved. No tested workaround is offered for that case.
242
- Slice following targets the Linux Herdr 0.9.5 / protocol 22 path. Mission following is not included in 0.7.6.
248
+ **`rig terminal open mission:<id> --follow --provider herdr`** follows a mission's current owners the same way: the
249
+ union of active rows with that exact `mission:` tag and rows associated with its indexed child slices, each counted
250
+ once, with four automatic tiles by default. Flat legacy slices without that parent association aren't inferred into
251
+ the mission. Slice and mission following target the Linux Herdr 0.9.5 / protocol 22 path.
243
252
  An unconfirmed pane is reported as `pane_unconfirmed`, not counted as opened. Inspect before
244
253
  retrying: an unconfirmed result does not prove that nothing opened.
245
254
  Add `--session <name>` to select a Herdr session for that request; `--session default`
@@ -259,7 +268,8 @@ unseen — which makes messages the one delivery channel that never gets skipped
259
268
  piece and its matching Claude/Codex turn closure must arrive before pacing onward, including
260
269
  the last piece. Initial missing evidence is explicitly unverified; a record lost or replaced
261
270
  during verification stops the walk. Use `rig walk --help` for those receipts and bounds.
262
- Delivery and turn completion do not prove comprehension.
271
+ A piece whose delivery or submission can't be confirmed reads unconfirmed, not lost: inspect
272
+ before resending. Delivery and turn completion do not prove comprehension.
263
273
  - **`rig slack`** — inspect and manage one connector implementation. Use registered-human
264
274
  readiness for the delivery decision and `queue create --verify` for its receipt; connector
265
275
  setup or verification is not an outbound human message. After a connection gap the daemon
@@ -322,7 +332,9 @@ your context, your compaction and your replacement — and it is the only thing
322
332
  `--note` does not reopen a terminal row; terminal-to-active repair requires explicit `--reopen`
323
333
  with both `--state` and `--note`. `--summary` on its own corrects a row's subject in any state,
324
334
  and a close with `--resolution "<outcome>"` stores the outcome on the row; `--state done
325
- --evidence-ref <path>` also keeps the artifact's pointer on it.
335
+ --evidence-ref <path>` also keeps the artifact's pointer on it. To accept a re-estimate,
336
+ `--closure-required-at <iso>` on an in-progress row moves its deadline and keeps the claim,
337
+ recording the old and new time and who accepted it.
326
338
  - **`rig queue handoff`** — pass work so the close and the create are **one transaction**, instead
327
339
  of closing yours, failing to create theirs, and stranding the work in between. A standing sweep
328
340
  checks recently closed rows (a 24-hour lookback) and flags a `handed_off_to` closure whose
@@ -364,6 +376,8 @@ your context, your compaction and your replacement — and it is the only thing
364
376
  front of a seat that it can *refuse*. Mail, not assignment.
365
377
  - **`rig queue outbox-record` / `outbox-list`** — what you dispatched, in a record that survives
366
378
  your context. Stale requests you forgot are invisible to you and expensive to everyone else.
379
+ A receipt reads `indeterminate`, not delivered or failed, when the text may have reached the
380
+ seat: an unconfirmed send, or a write attempted before an error. Inspect before resending.
367
381
  - **`rig queue fallback`** — reroute a row whose destination cannot receive it, without losing it
368
382
  or rewriting its history.
369
383
 
@@ -513,6 +527,13 @@ not have to tear one down to change it, and you rarely have to start from nothin
513
527
  rig. `rig up` with a pod-aware spec on a stopped team's name replaces that team (the earlier one
514
528
  is archived), so check `rig ps --nodes` first. A rig name containing a dot is refused before
515
529
  launch, because tmux would rename its sessions. Launch-created `AGENTS.md` or `CLAUDE` files now show in `git status`.
530
+ A fresh Pi seat normally keeps OpenRig's guidance in its own agent folder, and a fresh Codex
531
+ 0.164.0+ seat normally gets it as launch developer instructions, so neither adds it to the
532
+ repository's `AGENTS.md`. The repository file is still used when the Pi folder or its `AGENTS.md`
533
+ is a link, when a Codex config layer sets `developer_instructions` or can't be read, and for a
534
+ Codex resume, fork, restore or handover successor, or an older or unknown Codex version
535
+ (`docs/reference/agent-startup-guide.md` has the rule). At
536
+ launch, a block a person edited is kept and named (`guidance_block_edited`), not replaced.
516
537
  `rig up <rig> --existing` puts back the OpenRig guidance blocks `rig down` removed before a
517
538
  resumed seat starts. A seat still missing one makes the rig `partially_restored` (its node lists
518
539
  `guidanceGaps`) and `rig up` exits 1. A seat that wasn't running at the snapshot, but whose
@@ -532,12 +553,18 @@ not have to tear one down to change it, and you rarely have to start from nothin
532
553
  `CODEX_HOME`, `OPENRIG_*` and the allowlisted provider auth variables) and its own `env`. Put an
533
554
  account or key in the seat's `env` or `rig up --env`, or set the key to true. Running seats are
534
555
  untouched, and `rig setup` warns when it sees a custom tmux configuration.
556
+ `rig config set terminal.tmux_server isolated` (default `inherit`) keeps managed seats on their own tmux server,
557
+ out of the person's `tmux ls`; it's read at daemon start, and `rig terminal attach '<session>'` reaches a seat. It
558
+ selects only the tmux server: home, credentials, filesystem and network stay shared.
535
559
  **`rig up <spec> --name <rig>`** runs one spec as another rig under that name; the rig keeps the
536
560
  name for `--existing`, snapshots and restore, and the spec file isn't changed.
537
561
  - **A Claude member can bring its own setup** in the rig spec: `agent_file`,
538
562
  `append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
539
563
  that seat's own storage, never the project, so one seat in a shared repository can have its own
540
- persona, prompt or plugins. A bundle's before-install view lists them.
564
+ persona, prompt or plugins. A bundle's before-install view lists them. `plugin_channels`
565
+ (`plugin:<name>@<marketplace>` entries) registers that seat alone for those plugins' channel
566
+ notifications, through Claude's `--channels`. `claude_mcp: none` on a Claude member starts it with no MCP
567
+ servers, plugin servers included, on fresh, resume and fork launches.
541
568
  - **A new Claude member can name a prepared subscription token** with
542
569
  `claude_token: {label: name, file: /abs/token}` beside its `env.CLAUDE_CONFIG_DIR`; the seat stores
543
570
  the file reference and reads it at launch. A missing/unreadable token uses the existing fallback
@@ -550,11 +577,20 @@ not have to tear one down to change it, and you rarely have to start from nothin
550
577
  harness its first startup text through a private file named by `OPENRIG_FIRST_INPUT`. Examples for
551
578
  Cursor, Hermes and OpenClaw are in `docs/reference/community-harness-examples/`; OpenClaw's local
552
579
  and Gateway-client examples each resume a named conversation. A preset can declare `runner: true`
553
- (with `launch_result: true`) so activity follows its runner reports, recorded per launch.
580
+ (with `launch_result: true`) so activity follows its runner reports, recorded per launch. A runner seat's
581
+ permission requests reach a person: the default person, or one chosen with `rig seat set-permissions-to <seat>
582
+ --to <person> --reason "…"` (`--clear` returns to the default; `--deny` opts the seat in to refusal). When no one
583
+ can be asked, the request is permitted with the agent's own allow option, and a person's no is never a grant.
584
+ Each permit OpenRig decides by default is recorded once, as a stream item from the seat that wakes no one:
585
+ `rig stream list --tag runner-permission-permit`. A person's reply in other words chooses nothing; the read
586
+ result carries it whole as `said`, for the runner to pass to the agent as an ordinary prompt, never as the answer.
587
+ The installed package's `daemon/docs/reference/community-harness-examples/dsh/` is an example runner, and
588
+ `node "$(npm root -g)/@openrig/cli/daemon/docs/reference/runner-conformance/check-runner.mjs" --runner '<command with {agent}>' --name <harness>` checks a
589
+ runner with no daemon, model, credentials or network.
554
590
  `passes_model: true` sends the declared model as `OPENRIG_MODEL`; it does not establish the
555
591
  effective model. Cursor and Hermes examples leave model passing off pending native qualification.
556
592
  `docs/reference/community-harness-presets.md` is the contract: what a community harness gets from
557
- OpenRig and what it doesn't (no turn-cancel verb, no approvals reaching OpenRig), how to write
593
+ OpenRig and what it doesn't (no turn-cancel verb; permission requests reach OpenRig only from a runner preset), how to write
558
594
  one, and how promotion is judged. Whether processes a harness starts outside its pane survive
559
595
  isn't exercised. An OpenClaw seat whose last local turn was refused reads as needing attention
560
596
  (`OPENCLAW_TURN_NOT_RECOVERED`): OpenRig doesn't recover that turn, and a send submits a new one,
@@ -566,7 +602,12 @@ not have to tear one down to change it, and you rarely have to start from nothin
566
602
  human mode it first prints one line with each agent's last known activity, or “unknown”: a
567
603
  best-effort snapshot, not a record of what was interrupted. With `--host`, a remote teardown
568
604
  that reports errors exits 2. For a community harness seat it prints `Pane stopped: <seat>`
569
- (`paneOnly` in `--json`): the harness's own processes may keep running after its pane.
605
+ (`paneOnly` in `--json`): the harness's own processes may keep running after its pane. Once no
606
+ live seat uses a working folder, it takes back what OpenRig added there: its guidance blocks, and
607
+ a Claude folder's status line, activity hooks and context collector. It keeps and lists an
608
+ edited skills-line block, edited team skill files, and settings or a collector that don't match
609
+ what OpenRig wrote or that another seat shares by a link. Any other guidance block goes even if
610
+ someone edited it.
570
611
  - **`rig launch <rig> [seat]`** — one seat is down; start just that one, without disturbing the
571
612
  rest. It takes the rig's name or ID; a name shared by more than one active rig stops and lists their IDs. Add `--plan` to preview it first, locally or with `--host`; a plan is never sent to a
572
613
  daemon older than 0.5.9, which would ignore it and launch. A seat whose agent exited to a shell in
@@ -663,7 +704,8 @@ version, from checking the environment to a useful report to the OpenRig team.
663
704
  `/healthz` reports the daemon's effective UID as `euid`, beside `pid`. Running several OpenRig
664
705
  homes on one machine on purpose: `rig config set daemon.db_conflict stop` refuses a start whose
665
706
  database another live daemon already holds (the default, `warn`, only warns), and
666
- `rig daemon start --allow-db-conflict` allows one deliberate start.
707
+ `rig daemon start --allow-db-conflict` allows one deliberate start. A start still in progress reads
708
+ `Daemon starting: launch reserved by pid N since T; not listening yet` in `rig daemon status`, not stopped.
667
709
  - **A busy daemon isn't a down one.** The CLI refuses only when the daemon is confirmed down
668
710
  (stopped, stale, a refused probe), its probe is blocked, or it's a sibling home; a busy daemon
669
711
  gets the real request. A write that then times out says its outcome is **unknown**: check its
@@ -674,7 +716,9 @@ version, from checking the environment to a useful report to the OpenRig team.
674
716
  credential, the way setup does; it fails for a harness the person doesn't use, which they can
675
717
  ignore. A pass is not "ready": local credential availability is not proof that a provider accepts
676
718
  the credential or that an agent can work. `rig setup` and `rig doctor` also check that tmux
677
- can capture a pane, on a throwaway server (`tmux_capture`); no tmux version is refused.
719
+ can capture a pane, on a throwaway server (`tmux_capture`); no tmux version is refused. When the
720
+ configured port's daemon belongs to another OS user (by `/healthz`'s `euid`), doctor warns and names the fix:
721
+ `rig config set daemon.port <free-port>`, then `rig daemon start`. Nothing is stopped or refused.
678
722
  **`rig preflight`** asks whether this machine can run OpenRig at all.
679
723
  - **Bare `rig`** — the same TUI for first setup, daemon-down startup and ordinary work.
680
724
  After a successful daemon read it opens the ordinary work views, even when no rig is running;
@@ -733,7 +777,10 @@ version, from checking the environment to a useful report to the OpenRig team.
733
777
  effectful handover path.** Both forms perform the operation by default; pass `--dry-run`
734
778
  to plan without changing the seat. Check the selected source and continuity evidence first. A
735
779
  seat can be handed over again into its own pane, so a seat left half-handed-over recovers by
736
- running the handover again.
780
+ running the handover again. A Claude seat started through a `#!` wrapper that runs Claude without
781
+ `exec`, or through the installer's `~/.local/bin/claude` symlink, rebuilds with `--source
782
+ rebuild`; a failed rebuild leaves the resume target on the earlier conversation, so rebuild again
783
+ rather than relaunching it fresh.
737
784
  - **`rig seat clear-attention` / `set-resume-token`** — clear a stale attention flag, or repair a
738
785
  lost resume handle so restore works next time.
739
786
  - **`rig seat continue <seat>`** — a launch stopped on Claude's bypass-permissions consent dialog.
@@ -803,7 +850,8 @@ version, from checking the environment to a useful report to the OpenRig team.
803
850
  paste changes Claude's footer hint, and later sends wait behind it; check the seat's composer.
804
851
  `rig seat status` shows the requested/effective mode; wait for pending activation to finish.
805
852
  **`rig seat held-messages`** lists what was retained and **`rig seat retire-held-message`**
806
- retires one; changing mode does not replay old held messages. Draft-aware returns the exact
853
+ retires one; changing mode does not replay old held messages. A seat that starts, or a successor
854
+ that takes it over, with held messages is told how many and how to read them; nothing is replayed. Draft-aware returns the exact
807
855
  refusal and original ID immediately; callers decide further action, with no daemon retry timer.
808
856
  - **`rig seat set-terminal-policy <seat> --preset no-peer-interventions|help-within-instructions|full-control
809
857
  --reason <text>`** — choose how far OpenRig and peers may act on a seat: `--helper <addresses…>`
@@ -826,14 +874,21 @@ version, from checking the environment to a useful report to the OpenRig team.
826
874
  that stays quiet after `/compact`; they don't wait for its next turn. The managed `/compact` is
827
875
  kept short enough to run as a command and is sent only to an idle seat; its own result reads
828
876
  `submitted, unconfirmed` (it reached the seat, not proof compaction ran), `uncertain` (not
829
- replayed) or `not sent`, so confirm by effect. Claude seats that select `openrig-core` load its
877
+ replayed) or `not sent`, so confirm by effect. Before each paste (preparation prompt, `/compact`,
878
+ restore prompt) it checks the input box and holds that step while the box holds typed,
879
+ unreadable or changed input, so a draft needs no typing guard to protect it; the check is a read just before the paste,
880
+ not a lock. An idle Claude seat under the installed-update notice still reads idle, so it needs no
881
+ hand compaction for that. Claude seats that select `openrig-core` load its
830
882
  hooks; a seat can give a slow refocus more time with `OPENRIG_REFOCUS_BUDGET_MS` (4500 to 52000).
831
883
  The refocus work packet stays off by default for Claude Code and Codex;
832
884
  `OPENRIG_REFOCUS_WORK_PACKET=1` turns it on, with each field bounded.
833
885
  `policies.claude_compaction.preparation_root` (an absolute path) puts restore maps where seats
834
886
  may write. A daemon restart picks a managed compaction up where it stopped: an owed restore step
835
887
  resumes, a `/compact` that may have been sent is never sent again, and `rig compact --state`
836
- shows anything stranded or owed. `rig seat status` shows an owed restore stage and its last
888
+ shows anything stranded or owed. A map finished during automatic preparation stays armed for the next idle moment
889
+ through the next retry interval; `--state` shows `idleDeadlineAt`. In either mode, expiry reads
890
+ `map_complete_seat_never_idle` when the map is finished, or `preparation_incomplete` when it is not.
891
+ `rig seat status` shows an owed restore stage and its last
837
892
  delivery result, and repeated delivery failures open one queue item for the seat's orchestrator, or a
838
893
  person when it has none.
839
894
  - **Codex seats get `openrig-core` too: its refocus after a compaction and its skills, with no
@@ -1056,6 +1111,8 @@ reaching them is ordinary work rather than an escalation.
1056
1111
 
1057
1112
  - **`rig host add` / `rename` / `doctor`** — make another machine reachable as one pasted address,
1058
1113
  see which host you are acting on, and check a registered host is *actually* usable end to end.
1114
+ `rig host edit <id>` corrects an entry (its id and transport stay fixed), and `rig host remove <id>` deletes
1115
+ only the registry entry: credential files, the learned identity and the selection stay as they are.
1059
1116
  - **A cross-host queue write that times out reads INDETERMINATE, not failed.** The CLI waits 15
1060
1117
  seconds for the daemon's answer, and `rig queue create` with no answer reads the row back once by
1061
1118
  its ID. Reconcile by that ID before any retry; don't send the write twice.
@@ -1072,8 +1129,9 @@ reaching them is ordinary work rather than an escalation.
1072
1129
  transitions before retrying. `rig send` remains agent-terminal delivery only.
1073
1130
  `--human-questions-file` adds clickable decision questions. On an unparked ask, a typed Slack
1074
1131
  reply is kept in `humanAnswers` under the first unanswered question. On a question parked on
1075
- its own person, a typed reply resumes it but isn't recorded as the answer; the owner receives
1076
- it as a message instead. Buttons work in both cases. Closing isn't approval.
1132
+ its own person, that person's typed reply resumes it and is kept the same way, in the same
1133
+ transaction; a reply whose order against the posted question can't be confirmed resumes it
1134
+ with the words in context and isn't recorded. Buttons work in both cases. Closing isn't approval.
1077
1135
  - **When project policy calls for human judgment or an update, load `messaging-the-human`.**
1078
1136
  Use `rig context get skills/core/messaging-the-human/SKILL.md` for a complete decision brief,
1079
1137
  related supplemental detail and explicit quiet-update intent. An FYI creates no approval
@@ -1081,14 +1139,16 @@ reaching them is ordinary work rather than an escalation.
1081
1139
  System World teaches these mechanics; Project World decides when and why they apply.
1082
1140
  Existing `<entityId>@host` blockers are internal custody labels mapped through the registry
1083
1141
  to the external participant, not a separate outbound route.
1084
- - **`rig gateway human add`** — register a person and their connector binding. Registration or
1142
+ - **`rig gateway human add`** — register a person and their connector binding, or none: a person
1143
+ with no connector is asked on Steering and in the Feed only. Registration or
1085
1144
  connector changes do not themselves authorize a message. Several people can be registered:
1086
1145
  **`rig gateway default <id>`** (or `--default` on `human add`; `--clear` removes it) chooses the
1087
1146
  default person, who receives the last escalation step, the notice digest, Mission Control's
1088
1147
  my-queue view, workflow fallbacks and pairing approvals. One registered person is the default;
1089
- with several and none chosen, those wait (`undeliverable:no-default-person`). A registered person
1090
- can't settle an ask that was asked of someone else (`answer_not_recorded`), and a park addressed
1091
- to a registered person can be resolved.
1148
+ with several and none chosen, those wait (`undeliverable:no-default-person`). Any registered
1149
+ person can settle an ask that was asked of someone else, recorded as themselves beside the person
1150
+ asked. The first committed answer wins; a later one gets 409 `qitem_already_terminal` and records
1151
+ nothing. A park addressed to a registered person can be resolved.
1092
1152
  - **`rig gateway channel add <id> --display-name <name> --binding
1093
1153
  slack:<connectorRef>:<secretsRef>:<channelId>`** — a Slack shared channel as one participant,
1094
1154
  `<id>@external` (Slack only). Anyone writing there reaches the team, registered or not. Each row
@@ -1250,7 +1310,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1250
1310
  restarts the seat in place and prints a restart command for every peer on that home. For a Claude
1251
1311
  seat, `--to-account <label> --token-file <absolute path>` moves it to its own subscription token
1252
1312
  (from `claude setup-token`, in a file only the user can read); OpenRig keeps the path and label,
1253
- never the token, and `--stored-login` moves it back. These seat account and runtime moves were
1313
+ never the token, and `--stored-login` moves it back. On a stopped Claude seat it relaunches nothing: it
1314
+ saves the reference only when the seat's next launch would resume the conversation, and names that
1315
+ `rig launch`. These seat account and runtime moves were
1254
1316
  tested with stubs, not real accounts, before 0.7.2: check a moved seat's account and conversation
1255
1317
  yourself after the first move.
1256
1318
  - **Move to an existing account home** with `rig provider switch --seat <seat> --to-account <name>
@@ -1268,6 +1330,10 @@ your circumstances is configuration, and the ones that are not, another agent ca
1268
1330
  never overrides a user-declared table; see `docs/reference/agent-spec.md`.
1269
1331
  - **`rig env`** — the real services behind a rig: are they up, what are they saying, how do you
1270
1332
  stop them without killing the rig.
1333
+ - **`rig environment`** — not `rig env`: places a worker seat in an NVIDIA OpenShell sandbox and returns
1334
+ verified result files (`setup`, `create` or `attach`, `export`; reference in the packaged
1335
+ `daemon/assets/openshell/README.md`). In 0.7.8's release testing the worker never became usable, so
1336
+ read the installed version's release notes before relying on it.
1271
1337
  - **`rig setup`** — what OpenRig would change about this machine, shown before it touches anything.
1272
1338
  It installs herdr by default on macOS and Linux (`--no-herdr` declines; if the install fails,
1273
1339
  views fall back to plain tmux) and on a Mac offers Ghostty once (`--ghostty` / `--no-ghostty`).
@@ -1370,6 +1436,10 @@ your circumstances is configuration, and the ones that are not, another agent ca
1370
1436
  own risk.** Local assistants can connect locally. Internet access needs your own TLS tunnel or
1371
1437
  proxy and a narrowly scoped, revocable token; see `reference/hosted-members.md`. Task terminal
1372
1438
  following does not require internet exposure.
1439
+ - **`reference/daemon-http-clients.md`** — for a program that calls the daemon's HTTP API instead of
1440
+ the CLI. It covers the registered people, a person's open updates, a rig's outbox (every seat's
1441
+ messages, newest first) in one request, Slack channels and people without holding the bot token, and opt-in decision revisions,
1442
+ where a stale `expectedRevision` gets 409 and writes nothing.
1373
1443
  - **`rig skill loadout --runtime <claude-code|codex>`** — inspect the exact catalog revision,
1374
1444
  selectors, target, and current/missing/shadowed/conflicting state for one working directory.
1375
1445
  `--apply` writes only the managed ownership set, is idempotent, and refuses local edits or
@@ -1451,6 +1521,6 @@ deliberate writing.
1451
1521
 
1452
1522
  **`rig --help`**, then `rig <verb> --help`.
1453
1523
 
1454
- Ninety verbs ship, and this page named most of them once. **You will not remember which — you
1524
+ Ninety-one verbs ship, and this page named most of them once. **You will not remember which — you
1455
1525
  are meant to remember only that the list is long enough to be worth reading before you build
1456
1526
  anything.** The question is never *how do I write this*; it is **does this already exist**.
@@ -55,7 +55,8 @@ together in that home; it needs its own working sign-in and doesn't relocate `~/
55
55
  > - Codex: hooks, workspace trust and team-selected config fragments (including MCP) in the selected
56
56
  > `CODEX_HOME/config.toml`, default `~/.codex/config.toml`. These affect other Codex sessions using that home.
57
57
  > - Claude Code: workspace trust in `~/.claude.json`, and activity hooks in the project's
58
- > `.claude/settings.local.json`, plus a status line unless you already have your own.
58
+ > `.claude/settings.local.json`, plus a status line unless you already have your own. `rig down` takes the hooks
59
+ > and status line back out once no Claude seat uses that directory.
59
60
  > - Discovery skills go in `~/.claude/skills` and `~/.agents/skills`.
60
61
  > - Each seat's `CLAUDE.md` or `AGENTS.md` gets OpenRig's managed blocks (culture, identity, onboarding). One more
61
62
  > line, pointing an agent at its seat skills, is added only on a yes: saved at setup, or set where the daemon runs
@@ -75,8 +76,17 @@ You need Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude
75
76
  Code or Codex account: one is enough, since the kernel operator adapts the
76
77
  shipped `starter` team to whichever you have. On Linux, the distribution's own
77
78
  Node.js can be older (Ubuntu 24.04's is 18); install a supported version with
78
- [nvm](https://github.com/nvm-sh/nvm) (`nvm install 22`) or NodeSource. On a Mac
79
- with Apple silicon, use Node.js 22 (see the [compatibility
79
+ [nvm](https://github.com/nvm-sh/nvm) (`nvm install 22`) or NodeSource.
80
+
81
+ For a tarball or manual Node install on Linux, put its bin directory on PATH in
82
+ `~/.profile`, for example `export PATH="/path/to/node/bin:$PATH"`, rather than only
83
+ in an interactive `~/.bashrc`. Bash reads the first of `~/.bash_profile`,
84
+ `~/.bash_login` and `~/.profile`; if one of the first two exists, source `~/.profile`
85
+ there. Other shells use their own login file (for example, zsh's `~/.zprofile`).
86
+ Check `bash -lc 'command -v node rig'`: both paths must appear in the output.
87
+ Use Codex's tool shell for this check if it differs from Bash.
88
+
89
+ On a Mac with Apple silicon, use Node.js 22 (see the [compatibility
80
90
  history](../releases/v0.5.15.md#known-compatibility-limitation)). On a Mac where
81
91
  you aren't an administrator, or where Homebrew belongs to another account (its
82
92
  `brew install` is refused), install Node.js in your own home folder with
@@ -191,16 +201,17 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
191
201
  script will do and changes nothing:
192
202
 
193
203
  ```sh
194
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.8/scripts/install.sh | sh -s -- --dry-run
204
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.9/scripts/install.sh | sh -s -- --dry-run
195
205
  ```
196
206
 
197
207
  The same command without `--dry-run`,
198
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.8/scripts/install.sh | sh`, installs the
208
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.9/scripts/install.sh | sh`, installs the
199
209
  latest published `@openrig/cli` with `npm install -g`,
200
210
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
201
211
  Codex and may install a missing one, as described below. A failed step prints
202
- `FAILED [n/4] <command or check> (exit <code>)`. Where a provider isn't signed in yet, step 4 ends that way and
203
- `rig setup` lists each sign-in under "Some steps need attention". If the only remaining failures are provider
212
+ `FAILED [n/4] <command or check> (exit <code>)` for steps 1–3. If step 4 is not ready, it reports
213
+ `INSTALLED, SETUP NOT COMPLETE` and points to the details from `rig setup` above. Follow that output and any Fix, then rerun
214
+ `rig setup`; the CLI does not need reinstalling. If the only remaining failures are provider
204
215
  sign-ins, the install steps finished: sign in to each selected provider as below, then continue at
205
216
  [Start the kernel](#start-the-kernel-and-check-its-state). To install only what the selected providers need, go step
206
217
  by step instead:
@@ -290,6 +301,17 @@ fine; if both accounts are authenticated, the kernel uses both even when your
290
301
  later project uses just one. A request to use only one provider for everything
291
302
  is a separate choice.
292
303
 
304
+ `/api/kernel/status` retains the chosen template (`rig.yaml`,
305
+ `rig-claude-only.yaml` or `rig-codex-only.yaml`) across daemon restarts and
306
+ recovery, including starts with `--no-kernel`. It reads the rig's latest rig-spec
307
+ bootstrap record, including a partial launch, so an older kernel's recorded
308
+ selection is also available. This is the original selection; the rig's live spec
309
+ describes its current configuration. The saved source must match a template under
310
+ the current installation’s built-in specs directory. A custom project path with
311
+ the same directory suffix, an old source path that can no longer be verified
312
+ (for example, after a Node version change moves the global install), or a kernel
313
+ without bootstrap history reports an unknown variant.
314
+
293
315
  **Started is not ready.** Read the `Kernel:` boot state in `rig status` and the
294
316
  individual seat state in `rig ps --nodes --rig kernel`. The view may open while
295
317
  agents finish starting; describe that state, without claiming they are ready.
@@ -482,7 +504,7 @@ different points in the same journey:
482
504
  | What you see | Why and what to do next |
483
505
  | --- | --- |
484
506
  | Codex offers to switch to a cheaper model near a rate limit | This is Codex's own menu. Ask the person to choose in the seat's terminal; do not silently change the team's configured model. OpenRig disables Codex's startup update check for managed launches, but does not answer this model-choice menu. |
485
- | A missing Node.js, npm or tmux; an install download or command fails | The named prerequisite or install step did not finish. Read its error and the [platform and provider instructions](#install-and-sign-in), resolve that step, then recheck it. `FAILED [4/4]` with only selected-provider sign-ins outstanding means the package installed but those logins still need the person. |
507
+ | A missing Node.js, npm or tmux; an install download or command fails | The named prerequisite or install step did not finish. Read its error and the [platform and provider instructions](#install-and-sign-in), resolve that step, then recheck it. `INSTALLED, SETUP NOT COMPLETE` means the CLI is installed but setup needs attention; follow its output and any Fix, then rerun `rig setup`. |
486
508
  | The installing harness refuses a tool call or asks for permission | Its native rules, sandbox or automatic permission decision apply before OpenRig can run. Claude Code's [auto mode can deny calls](https://code.claude.com/docs/en/auto-mode-config) as well as approve them. Show the specific refusal and ask the person to review it in the harness permission controls or run that named step themselves. Keep their chosen restrictions; a refused call does not prove the OpenRig command failed. |
487
509
  | Herdr or Ghostty installation is unavailable or declined | Herdr is optional for the view: `--window` uses plain tmux when Herdr is absent, and its install failure is a warning. On macOS, Terminal.app is the fallback when supported Ghostty is absent. An explicitly requested Ghostty install can fail setup; resolve that install or decline it with `--no-ghostty`, preserving earlier choices. Address separate required-tool or login failures. Existing cmux remains supported. |
488
510
  | macOS asks for Automation access, or the window action is denied | The command asks the desktop terminal app to open a new surface. Let the person answer the system prompt. Read the error and inspect any new window before retrying an uncertain action; do not silently switch apps and open a duplicate. |