@openrig/cli 0.7.15 → 0.7.17

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 (603) hide show
  1. package/README.md +9 -9
  2. package/daemon/assets/onboarding/02-self-and-competent-action.md +5 -41
  3. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig/README.md +26 -7
  7. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +22 -6
  9. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  11. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +4 -1
  12. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +1 -1
  13. package/daemon/assets/skills/rigs/SKILL.md +155 -41
  14. package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
  15. package/daemon/context-packs/help/manifest.yaml +1 -1
  16. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +169 -40
  18. package/daemon/context-packs/reference/getting-started.md +12 -11
  19. package/daemon/context-packs/reference/manifest.yaml +4 -1
  20. package/daemon/context-packs/reference/product-journey-sdlc.md +348 -0
  21. package/daemon/context-packs/reference/rig-spec.md +92 -4
  22. package/daemon/context-packs/reference/whats-new.md +397 -5
  23. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +4 -1
  27. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  39. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
  40. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  48. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +1 -1
  78. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  81. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  82. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  83. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.js +42 -6
  85. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  86. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  87. package/daemon/dist/adapters/claude-resume.js +4 -2
  88. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  89. package/daemon/dist/adapters/codex-resume.d.ts +2 -0
  90. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  91. package/daemon/dist/adapters/codex-resume.js +28 -11
  92. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  93. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +15 -0
  94. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  95. package/daemon/dist/adapters/codex-runtime-adapter.js +75 -28
  96. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  97. package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
  98. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  99. package/daemon/dist/adapters/openshell-driver.js +3 -0
  100. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  101. package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
  102. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
  103. package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
  104. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
  105. package/daemon/dist/adapters/pi-runner.d.ts +38 -4
  106. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  107. package/daemon/dist/adapters/pi-runner.js +244 -30
  108. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  109. package/daemon/dist/adapters/tmux.d.ts +6 -0
  110. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  111. package/daemon/dist/adapters/tmux.js +17 -3
  112. package/daemon/dist/adapters/tmux.js.map +1 -1
  113. package/daemon/dist/build-info.js +3 -3
  114. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  115. package/daemon/dist/db/all-migrations.js +8 -0
  116. package/daemon/dist/db/all-migrations.js.map +1 -1
  117. package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts +14 -0
  118. package/daemon/dist/db/migrations/167_seat_handover_attempts.d.ts.map +1 -0
  119. package/daemon/dist/db/migrations/167_seat_handover_attempts.js +54 -0
  120. package/daemon/dist/db/migrations/167_seat_handover_attempts.js.map +1 -0
  121. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
  122. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
  123. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
  124. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
  125. package/daemon/dist/db/migrations/169_seat_runtime_home_records.d.ts +5 -0
  126. package/daemon/dist/db/migrations/169_seat_runtime_home_records.d.ts.map +1 -0
  127. package/daemon/dist/db/migrations/169_seat_runtime_home_records.js +25 -0
  128. package/daemon/dist/db/migrations/169_seat_runtime_home_records.js.map +1 -0
  129. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
  130. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
  131. package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
  132. package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
  133. package/daemon/dist/domain/claim-service.d.ts +1 -3
  134. package/daemon/dist/domain/claim-service.d.ts.map +1 -1
  135. package/daemon/dist/domain/claim-service.js +3 -1
  136. package/daemon/dist/domain/claim-service.js.map +1 -1
  137. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +11 -0
  138. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  139. package/daemon/dist/domain/claude-compaction-enforcer.js +83 -36
  140. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  141. package/daemon/dist/domain/codex-filesystem-preflight.d.ts +33 -0
  142. package/daemon/dist/domain/codex-filesystem-preflight.d.ts.map +1 -0
  143. package/daemon/dist/domain/codex-filesystem-preflight.js +255 -0
  144. package/daemon/dist/domain/codex-filesystem-preflight.js.map +1 -0
  145. package/daemon/dist/domain/codex-member-permissions.d.ts +23 -2
  146. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
  147. package/daemon/dist/domain/codex-member-permissions.js +55 -9
  148. package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
  149. package/daemon/dist/domain/codex-network-default.d.ts +13 -0
  150. package/daemon/dist/domain/codex-network-default.d.ts.map +1 -1
  151. package/daemon/dist/domain/codex-network-default.js +37 -30
  152. package/daemon/dist/domain/codex-network-default.js.map +1 -1
  153. package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
  154. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  155. package/daemon/dist/domain/codex-thread-id.js +132 -9
  156. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  157. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  158. package/daemon/dist/domain/compaction-restore-notice.js +59 -13
  159. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  160. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  161. package/daemon/dist/domain/connection-contract.js +2 -1
  162. package/daemon/dist/domain/connection-contract.js.map +1 -1
  163. package/daemon/dist/domain/context-usage-store.d.ts +11 -2
  164. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  165. package/daemon/dist/domain/context-usage-store.js +33 -13
  166. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  167. package/daemon/dist/domain/current-work.d.ts +5 -0
  168. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  169. package/daemon/dist/domain/current-work.js +66 -4
  170. package/daemon/dist/domain/current-work.js.map +1 -1
  171. package/daemon/dist/domain/destination-successor.d.ts +3 -0
  172. package/daemon/dist/domain/destination-successor.d.ts.map +1 -0
  173. package/daemon/dist/domain/destination-successor.js +49 -0
  174. package/daemon/dist/domain/destination-successor.js.map +1 -0
  175. package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
  176. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  177. package/daemon/dist/domain/environment-lifecycle.js +22 -4
  178. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  179. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
  180. package/daemon/dist/domain/expected-conversation.js +26 -11
  181. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  182. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  183. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  184. package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
  185. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  186. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
  187. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  188. package/daemon/dist/domain/gateway/operator-delivery-engine.js +14 -4
  189. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  190. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  191. package/daemon/dist/domain/health-diagnosis.js +4 -0
  192. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  193. package/daemon/dist/domain/health-passive-ceremony.d.ts +3 -0
  194. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  195. package/daemon/dist/domain/health-passive-ceremony.js +45 -4
  196. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  197. package/daemon/dist/domain/hosts/fleet-scopes.d.ts +111 -0
  198. package/daemon/dist/domain/hosts/fleet-scopes.d.ts.map +1 -0
  199. package/daemon/dist/domain/hosts/fleet-scopes.js +231 -0
  200. package/daemon/dist/domain/hosts/fleet-scopes.js.map +1 -0
  201. package/daemon/dist/domain/hosts/read-through.d.ts +1 -1
  202. package/daemon/dist/domain/hosts/read-through.d.ts.map +1 -1
  203. package/daemon/dist/domain/hosts/read-through.js +4 -0
  204. package/daemon/dist/domain/hosts/read-through.js.map +1 -1
  205. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  206. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
  207. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  208. package/daemon/dist/domain/native-model-picker.d.ts +2 -0
  209. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
  210. package/daemon/dist/domain/native-model-picker.js +8 -2
  211. package/daemon/dist/domain/native-model-picker.js.map +1 -1
  212. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  213. package/daemon/dist/domain/native-permission-store.js +12 -5
  214. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  215. package/daemon/dist/domain/native-process-lineage.d.ts +11 -1
  216. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  217. package/daemon/dist/domain/native-process-lineage.js +25 -4
  218. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  219. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  220. package/daemon/dist/domain/native-resume-probe.js +109 -26
  221. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  222. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  223. package/daemon/dist/domain/network/network-connector.js +5 -3
  224. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  225. package/daemon/dist/domain/network/network-installations.d.ts +5 -4
  226. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  227. package/daemon/dist/domain/network/network-installations.js +42 -11
  228. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  229. package/daemon/dist/domain/node-launcher.d.ts +6 -0
  230. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  231. package/daemon/dist/domain/node-launcher.js +10 -3
  232. package/daemon/dist/domain/node-launcher.js.map +1 -1
  233. package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
  234. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  235. package/daemon/dist/domain/occupant-invalidator.js +10 -2
  236. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  237. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  238. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  239. package/daemon/dist/domain/operation-correlation.js +1 -1
  240. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  241. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  242. package/daemon/dist/domain/permission-account.js +8 -6
  243. package/daemon/dist/domain/permission-account.js.map +1 -1
  244. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  245. package/daemon/dist/domain/permission-drift.js +1 -1
  246. package/daemon/dist/domain/permission-drift.js.map +1 -1
  247. package/daemon/dist/domain/queue-destination-check.d.ts +2 -0
  248. package/daemon/dist/domain/queue-destination-check.d.ts.map +1 -1
  249. package/daemon/dist/domain/queue-destination-check.js +8 -11
  250. package/daemon/dist/domain/queue-destination-check.js.map +1 -1
  251. package/daemon/dist/domain/queue-erasure.d.ts +7 -1
  252. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  253. package/daemon/dist/domain/queue-erasure.js +226 -20
  254. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  255. package/daemon/dist/domain/queue-repository.d.ts +39 -17
  256. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  257. package/daemon/dist/domain/queue-repository.js +96 -64
  258. package/daemon/dist/domain/queue-repository.js.map +1 -1
  259. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  260. package/daemon/dist/domain/queue-stuck-sweep.js +49 -21
  261. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  262. package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
  263. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  264. package/daemon/dist/domain/queue-transition-log.js +9 -0
  265. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  266. package/daemon/dist/domain/queue-waiting.d.ts +4 -4
  267. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  268. package/daemon/dist/domain/queue-waiting.js +30 -16
  269. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  270. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  271. package/daemon/dist/domain/queue-wake-ladder.js +90 -24
  272. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  273. package/daemon/dist/domain/receiver-context.js +1 -1
  274. package/daemon/dist/domain/receiver-context.js.map +1 -1
  275. package/daemon/dist/domain/restore-check-service.d.ts +13 -0
  276. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  277. package/daemon/dist/domain/restore-check-service.js +122 -9
  278. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  279. package/daemon/dist/domain/restore-orchestrator.d.ts +4 -1
  280. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  281. package/daemon/dist/domain/restore-orchestrator.js +132 -48
  282. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  283. package/daemon/dist/domain/restore-preconditions.d.ts +2 -0
  284. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  285. package/daemon/dist/domain/restore-preconditions.js +2 -0
  286. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  287. package/daemon/dist/domain/resume-metadata-refresher.d.ts +17 -4
  288. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  289. package/daemon/dist/domain/resume-metadata-refresher.js +64 -15
  290. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  291. package/daemon/dist/domain/resume-token-capture.d.ts +6 -0
  292. package/daemon/dist/domain/resume-token-capture.d.ts.map +1 -1
  293. package/daemon/dist/domain/resume-token-capture.js +14 -8
  294. package/daemon/dist/domain/resume-token-capture.js.map +1 -1
  295. package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
  296. package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
  297. package/daemon/dist/domain/rig-delivery-drain.js +128 -0
  298. package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
  299. package/daemon/dist/domain/rig-edge-ops.js +1 -1
  300. package/daemon/dist/domain/rig-edge-ops.js.map +1 -1
  301. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  302. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  303. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  304. package/daemon/dist/domain/rig-teardown.d.ts +20 -3
  305. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  306. package/daemon/dist/domain/rig-teardown.js +71 -11
  307. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  308. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  309. package/daemon/dist/domain/rigspec-instantiator.js +6 -2
  310. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  311. package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
  312. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  313. package/daemon/dist/domain/rigspec-preflight.js +36 -1
  314. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  315. package/daemon/dist/domain/rosters.d.ts +19 -0
  316. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  317. package/daemon/dist/domain/rosters.js +69 -12
  318. package/daemon/dist/domain/rosters.js.map +1 -1
  319. package/daemon/dist/domain/runtime-adapter.d.ts +15 -0
  320. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  321. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  322. package/daemon/dist/domain/seat-delivery-guard.d.ts +8 -2
  323. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  324. package/daemon/dist/domain/seat-delivery-guard.js +38 -3
  325. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  326. package/daemon/dist/domain/seat-handover-attempts.d.ts +50 -0
  327. package/daemon/dist/domain/seat-handover-attempts.d.ts.map +1 -0
  328. package/daemon/dist/domain/seat-handover-attempts.js +75 -0
  329. package/daemon/dist/domain/seat-handover-attempts.js.map +1 -0
  330. package/daemon/dist/domain/seat-handover-service.d.ts +64 -1
  331. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  332. package/daemon/dist/domain/seat-handover-service.js +443 -29
  333. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  334. package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
  335. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  336. package/daemon/dist/domain/seat-launch-environment.js +16 -4
  337. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  338. package/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -2
  339. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  340. package/daemon/dist/domain/seat-lifecycle-service.js +48 -2
  341. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  342. package/daemon/dist/domain/seat-runtime-home-record-types.d.ts +16 -0
  343. package/daemon/dist/domain/seat-runtime-home-record-types.d.ts.map +1 -0
  344. package/daemon/dist/domain/seat-runtime-home-record-types.js +2 -0
  345. package/daemon/dist/domain/seat-runtime-home-record-types.js.map +1 -0
  346. package/daemon/dist/domain/seat-runtime-home-record.d.ts +173 -0
  347. package/daemon/dist/domain/seat-runtime-home-record.d.ts.map +1 -0
  348. package/daemon/dist/domain/seat-runtime-home-record.js +317 -0
  349. package/daemon/dist/domain/seat-runtime-home-record.js.map +1 -0
  350. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +7 -0
  351. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  352. package/daemon/dist/domain/seat-runtime-switch-service.js +47 -2
  353. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  354. package/daemon/dist/domain/seat-skill-storage.d.ts +16 -1
  355. package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -1
  356. package/daemon/dist/domain/seat-skill-storage.js +178 -1
  357. package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
  358. package/daemon/dist/domain/session-name.d.ts +13 -0
  359. package/daemon/dist/domain/session-name.d.ts.map +1 -1
  360. package/daemon/dist/domain/session-name.js +77 -0
  361. package/daemon/dist/domain/session-name.js.map +1 -1
  362. package/daemon/dist/domain/session-registry.d.ts +7 -1
  363. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  364. package/daemon/dist/domain/session-registry.js +7 -4
  365. package/daemon/dist/domain/session-registry.js.map +1 -1
  366. package/daemon/dist/domain/session-transport.d.ts +1 -0
  367. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  368. package/daemon/dist/domain/session-transport.js +33 -9
  369. package/daemon/dist/domain/session-transport.js.map +1 -1
  370. package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
  371. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  372. package/daemon/dist/domain/shared-history-selection.js +3 -1
  373. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  374. package/daemon/dist/domain/skill-catalog.d.ts +3 -0
  375. package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
  376. package/daemon/dist/domain/skill-catalog.js +7 -3
  377. package/daemon/dist/domain/skill-catalog.js.map +1 -1
  378. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  379. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  380. package/daemon/dist/domain/snapshot-capture.js +24 -12
  381. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  382. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  383. package/daemon/dist/domain/startup-submission-evidence.js +3 -2
  384. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  385. package/daemon/dist/domain/successor-session-launcher.d.ts +16 -0
  386. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  387. package/daemon/dist/domain/successor-session-launcher.js +70 -38
  388. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  389. package/daemon/dist/domain/types.d.ts +43 -2
  390. package/daemon/dist/domain/types.d.ts.map +1 -1
  391. package/daemon/dist/domain/types.js.map +1 -1
  392. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  393. package/daemon/dist/domain/user-settings/settings-browser.js +3 -1
  394. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  395. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  396. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  397. package/daemon/dist/domain/user-settings/settings-store.js +6 -0
  398. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  399. package/daemon/dist/domain/watchdog-policy-engine.d.ts +4 -0
  400. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  401. package/daemon/dist/domain/watchdog-policy-engine.js +28 -1
  402. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  403. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  404. package/daemon/dist/domain/workflow-exception-escalation.js +13 -8
  405. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  406. package/daemon/dist/domain/workflow-instance-store.d.ts +14 -2
  407. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  408. package/daemon/dist/domain/workflow-instance-store.js +41 -4
  409. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  410. package/daemon/dist/domain/workflow-projector.d.ts +55 -0
  411. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  412. package/daemon/dist/domain/workflow-projector.js +355 -174
  413. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  414. package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
  415. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  416. package/daemon/dist/domain/workflow-reconciliation.js +51 -13
  417. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  418. package/daemon/dist/domain/workflow-runtime.d.ts +11 -3
  419. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  420. package/daemon/dist/domain/workflow-runtime.js +141 -27
  421. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  422. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  423. package/daemon/dist/lib/pane-envelope.js +12 -7
  424. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  425. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  426. package/daemon/dist/routes/compaction.js +6 -3
  427. package/daemon/dist/routes/compaction.js.map +1 -1
  428. package/daemon/dist/routes/queue.d.ts.map +1 -1
  429. package/daemon/dist/routes/queue.js +78 -31
  430. package/daemon/dist/routes/queue.js.map +1 -1
  431. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  432. package/daemon/dist/routes/restore-check.js +17 -0
  433. package/daemon/dist/routes/restore-check.js.map +1 -1
  434. package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
  435. package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
  436. package/daemon/dist/routes/rig-delivery-drain.js +46 -0
  437. package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
  438. package/daemon/dist/routes/scopes.d.ts.map +1 -1
  439. package/daemon/dist/routes/scopes.js +102 -19
  440. package/daemon/dist/routes/scopes.js.map +1 -1
  441. package/daemon/dist/routes/seat.d.ts.map +1 -1
  442. package/daemon/dist/routes/seat.js +50 -2
  443. package/daemon/dist/routes/seat.js.map +1 -1
  444. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  445. package/daemon/dist/routes/sessions.js +54 -10
  446. package/daemon/dist/routes/sessions.js.map +1 -1
  447. package/daemon/dist/routes/startup.d.ts.map +1 -1
  448. package/daemon/dist/routes/startup.js +230 -40
  449. package/daemon/dist/routes/startup.js.map +1 -1
  450. package/daemon/dist/routes/transport.d.ts.map +1 -1
  451. package/daemon/dist/routes/transport.js +36 -2
  452. package/daemon/dist/routes/transport.js.map +1 -1
  453. package/daemon/dist/routes/up.js +2 -0
  454. package/daemon/dist/routes/up.js.map +1 -1
  455. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  456. package/daemon/dist/routes/watchdog.js +7 -1
  457. package/daemon/dist/routes/watchdog.js.map +1 -1
  458. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  459. package/daemon/dist/routes/workflow.js +23 -5
  460. package/daemon/dist/routes/workflow.js.map +1 -1
  461. package/daemon/dist/server.d.ts.map +1 -1
  462. package/daemon/dist/server.js +2 -0
  463. package/daemon/dist/server.js.map +1 -1
  464. package/daemon/dist/startup.d.ts.map +1 -1
  465. package/daemon/dist/startup.js +111 -37
  466. package/daemon/dist/startup.js.map +1 -1
  467. package/daemon/docs/reference/agent-startup-guide.md +90 -2
  468. package/daemon/docs/reference/daemon-http-clients.md +69 -0
  469. package/daemon/docs/reference/developing.md +1 -1
  470. package/daemon/docs/reference/gateway-participants.md +5 -3
  471. package/daemon/docs/reference/getting-started.md +12 -11
  472. package/daemon/docs/reference/hosted-members.md +4 -2
  473. package/daemon/docs/reference/network-connector.md +4 -3
  474. package/daemon/docs/reference/queue-erasure.md +16 -1
  475. package/daemon/docs/reference/quickstart.md +2 -2
  476. package/daemon/docs/reference/rig-spec.md +92 -4
  477. package/daemon/docs/reference/rosters.md +26 -0
  478. package/daemon/docs/reference/seat-delivery.md +7 -1
  479. package/daemon/docs/reference/whats-new.md +397 -5
  480. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  481. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
  482. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  483. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +78 -18
  484. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
  485. package/dist/build-info.js +3 -3
  486. package/dist/client.d.ts +7 -3
  487. package/dist/client.d.ts.map +1 -1
  488. package/dist/client.js +11 -2
  489. package/dist/client.js.map +1 -1
  490. package/dist/commands/config.d.ts.map +1 -1
  491. package/dist/commands/config.js +2 -0
  492. package/dist/commands/config.js.map +1 -1
  493. package/dist/commands/down.d.ts.map +1 -1
  494. package/dist/commands/down.js +5 -1
  495. package/dist/commands/down.js.map +1 -1
  496. package/dist/commands/environment.js +1 -1
  497. package/dist/commands/environment.js.map +1 -1
  498. package/dist/commands/launch.d.ts.map +1 -1
  499. package/dist/commands/launch.js +8 -0
  500. package/dist/commands/launch.js.map +1 -1
  501. package/dist/commands/mcp.d.ts.map +1 -1
  502. package/dist/commands/mcp.js +18 -1
  503. package/dist/commands/mcp.js.map +1 -1
  504. package/dist/commands/network.d.ts +2 -0
  505. package/dist/commands/network.d.ts.map +1 -1
  506. package/dist/commands/network.js +14 -1
  507. package/dist/commands/network.js.map +1 -1
  508. package/dist/commands/ps.d.ts.map +1 -1
  509. package/dist/commands/ps.js +11 -5
  510. package/dist/commands/ps.js.map +1 -1
  511. package/dist/commands/queue.d.ts +1 -1
  512. package/dist/commands/queue.d.ts.map +1 -1
  513. package/dist/commands/queue.js +49 -12
  514. package/dist/commands/queue.js.map +1 -1
  515. package/dist/commands/restore.d.ts.map +1 -1
  516. package/dist/commands/restore.js +6 -1
  517. package/dist/commands/restore.js.map +1 -1
  518. package/dist/commands/roster.d.ts +4 -2
  519. package/dist/commands/roster.d.ts.map +1 -1
  520. package/dist/commands/roster.js +2 -2
  521. package/dist/commands/roster.js.map +1 -1
  522. package/dist/commands/seat.d.ts +2 -0
  523. package/dist/commands/seat.d.ts.map +1 -1
  524. package/dist/commands/seat.js +201 -14
  525. package/dist/commands/seat.js.map +1 -1
  526. package/dist/commands/send.d.ts.map +1 -1
  527. package/dist/commands/send.js +31 -6
  528. package/dist/commands/send.js.map +1 -1
  529. package/dist/commands/setup.d.ts.map +1 -1
  530. package/dist/commands/setup.js +5 -3
  531. package/dist/commands/setup.js.map +1 -1
  532. package/dist/commands/up.d.ts.map +1 -1
  533. package/dist/commands/up.js +7 -0
  534. package/dist/commands/up.js.map +1 -1
  535. package/dist/commands/walk.d.ts.map +1 -1
  536. package/dist/commands/walk.js +4 -0
  537. package/dist/commands/walk.js.map +1 -1
  538. package/dist/commands/workflow.d.ts.map +1 -1
  539. package/dist/commands/workflow.js +30 -4
  540. package/dist/commands/workflow.js.map +1 -1
  541. package/dist/config-store.d.ts +3 -1
  542. package/dist/config-store.d.ts.map +1 -1
  543. package/dist/config-store.js +5 -0
  544. package/dist/config-store.js.map +1 -1
  545. package/dist/lib/bundle-check.d.ts.map +1 -1
  546. package/dist/lib/bundle-check.js +33 -3
  547. package/dist/lib/bundle-check.js.map +1 -1
  548. package/dist/mcp-http.d.ts +3 -0
  549. package/dist/mcp-http.d.ts.map +1 -1
  550. package/dist/mcp-http.js +13 -0
  551. package/dist/mcp-http.js.map +1 -1
  552. package/dist/mcp-server.d.ts +9 -2
  553. package/dist/mcp-server.d.ts.map +1 -1
  554. package/dist/mcp-server.js +287 -69
  555. package/dist/mcp-server.js.map +1 -1
  556. package/dist/person-registration-offer.d.ts.map +1 -1
  557. package/dist/person-registration-offer.js +2 -1
  558. package/dist/person-registration-offer.js.map +1 -1
  559. package/package.json +2 -2
  560. package/tui/dist/commands/registry.d.ts.map +1 -1
  561. package/tui/dist/commands/registry.js +1 -0
  562. package/tui/dist/commands/registry.js.map +1 -1
  563. package/tui/dist/config/config-model.js +1 -1
  564. package/tui/dist/config/config-model.js.map +1 -1
  565. package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -1
  566. package/tui/dist/crash-cart/start-daemon.js +4 -2
  567. package/tui/dist/crash-cart/start-daemon.js.map +1 -1
  568. package/tui/dist/daemon-client.d.ts +12 -1
  569. package/tui/dist/daemon-client.d.ts.map +1 -1
  570. package/tui/dist/daemon-client.js +44 -2
  571. package/tui/dist/daemon-client.js.map +1 -1
  572. package/tui/dist/hydrate.d.ts +1 -1
  573. package/tui/dist/hydrate.d.ts.map +1 -1
  574. package/tui/dist/hydrate.js +43 -1
  575. package/tui/dist/hydrate.js.map +1 -1
  576. package/tui/dist/main.js +3 -0
  577. package/tui/dist/main.js.map +1 -1
  578. package/tui/dist/page-read.d.ts.map +1 -1
  579. package/tui/dist/page-read.js +2 -1
  580. package/tui/dist/page-read.js.map +1 -1
  581. package/tui/dist/render.d.ts.map +1 -1
  582. package/tui/dist/render.js +110 -16
  583. package/tui/dist/render.js.map +1 -1
  584. package/tui/dist/scopes/fleet-scopes-model.d.ts +73 -0
  585. package/tui/dist/scopes/fleet-scopes-model.d.ts.map +1 -0
  586. package/tui/dist/scopes/fleet-scopes-model.js +102 -0
  587. package/tui/dist/scopes/fleet-scopes-model.js.map +1 -0
  588. package/tui/dist/scopes/scopes-model.d.ts +2 -0
  589. package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
  590. package/tui/dist/scopes/scopes-model.js +7 -4
  591. package/tui/dist/scopes/scopes-model.js.map +1 -1
  592. package/tui/dist/sections.d.ts.map +1 -1
  593. package/tui/dist/sections.js +5 -0
  594. package/tui/dist/sections.js.map +1 -1
  595. package/tui/dist/startup.d.ts +5 -0
  596. package/tui/dist/startup.d.ts.map +1 -1
  597. package/tui/dist/startup.js +12 -0
  598. package/tui/dist/startup.js.map +1 -1
  599. package/tui/dist/state.d.ts.map +1 -1
  600. package/tui/dist/state.js +12 -5
  601. package/tui/dist/state.js.map +1 -1
  602. package/tui/dist/types.d.ts +18 -1
  603. package/tui/dist/types.d.ts.map +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ It's the open-source system behind my AI civilization experiments.
14
14
 
15
15
  ![The OpenRig TUI: the build rig as a graph, then as a table of seats with runtime, model, context and state, then one seat in detail (real recording, 10 seconds)](assets/readme/openrig-agents-working.gif)
16
16
 
17
- **Start here:** [the guided first-use path](docs/reference/quickstart.md): install, talk to the kernel operator, then choose a team for your first useful change.
17
+ **Start here:** [the guided first-use path](docs/reference/quickstart.md): install, talk to OpenRig's operator, then choose a team for your first useful change.
18
18
 
19
19
  Not setting this up today? Get the next walkthrough and occasional OpenRig updates → https://openrig.dev/follow
20
20
 
@@ -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.15/skills/rigs --skill rigs --agent claude-code
29
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs --skill rigs --agent claude-code
30
30
  # Codex
31
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent codex
31
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.17/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
@@ -42,7 +42,7 @@ Already have OpenRig? Use the tag that matches `rig --version`, or upgrade first
42
42
 
43
43
  Prefer to type the commands yourself? [Install it yourself ↓](#install-it-yourself)
44
44
 
45
- Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Code or Codex account: one is enough, since the kernel operator adapts the shipped `starter` team to whichever you have. On Linux, the distribution's own Node.js can be older (Ubuntu 24.04's is 18); install a supported version with [nvm](https://github.com/nvm-sh/nvm) (`nvm install 22`) or NodeSource. On a Mac with Apple silicon, use Node.js 22 ([compatibility history](docs/releases/v0.5.15.md#known-compatibility-limitation)). On a Mac where you aren't an administrator, or where Homebrew belongs to another account (its `brew install` is refused), install Node.js in your own home folder with [nvm](https://github.com/nvm-sh/nvm): run `touch ~/.zshrc` (a new Mac account has none, and nvm's installer only adds itself to a profile file that already exists), then nvm's install command, for nvm v0.40.8 `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash` ([nvm's page](https://github.com/nvm-sh/nvm#install--update-script) has the newest), open a new terminal, and run `nvm install 22`. nvm itself needs no administrator password, and `npm install -g` then installs into your nvm folder. If nvm's installer says you need Apple's command line tools, run `xcode-select --install`, then its install command again. On Windows, use WSL2, the Windows route OpenRig supports; native Windows isn't supported. OpenRig's automated tests don't run on WSL2 yet; see [one user's working setup](docs/reference/getting-started.md#wsl2-a-reported-working-setup).
45
+ Setting up Node.js on Linux, on a Mac where you aren't an administrator, or on Windows (WSL2)? See [Before you start](docs/reference/getting-started.md#before-you-start).
46
46
 
47
47
  > **What OpenRig changes on your machine**
48
48
  > - **Install:** `@openrig/cli` goes in globally with npm.
@@ -68,11 +68,11 @@ 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.15` 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.17` 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.15/scripts/install.sh | sh -s -- --dry-run
75
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.15/scripts/install.sh | sh
74
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh -s -- --dry-run
75
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh
76
76
  ```
77
77
 
78
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.
@@ -367,7 +367,7 @@ Hono HTTP daemon
367
367
  SQLite + tmux + runtime adapters
368
368
  ```
369
369
 
370
- - **CLI**: Commands for both humans and agents to launch teams, inspect state, send messages, track owned work, and manage context.
370
+ - **CLI**: Commands for both humans and agents to launch teams, inspect state, send messages, track tasks in the queue, and manage context.
371
371
  - **TUI**: Topology explorer, table and graph views, seat details, Specs, Projects, Terminals, Feed, and System. Navigate with the keyboard, mouse, or command bar.
372
372
  - **MCP**: Tools so agents can manage their own topology (`rig_up`, `rig_ps`, `rig_send`, `rig_chatroom_send`, etc.)
373
373
  - **Runtimes**: Native Claude Code and Codex sessions, terminal nodes, and Pi and Oh My Pi via RPC runners.
@@ -521,7 +521,7 @@ OpenRig is open source and self-hosted, with Claude Code and Codex in the same t
521
521
  - **Docs**: [openrig.dev/docs](https://openrig.dev/docs) ([documentation index for agents](https://openrig.dev/llms.txt))
522
522
  - **What's new**: [openrig.dev/whats-new](https://openrig.dev/whats-new) (every release, in plain words)
523
523
  - **Features**: [openrig.dev/features](https://openrig.dev/features)
524
- - **Integrations**: [openrig.dev/integrations](https://openrig.dev/integrations) (assistants, harnesses and environments, with setup and test status)
524
+ - **Integrations**: [openrig.dev/integrations](https://openrig.dev/integrations) (coding agents, chat agents and the tools around them, with setup and test status)
525
525
  - **Blog**: [openrig.dev/blog](https://openrig.dev/blog) · [Why I Built OpenRig](https://esoteric.run/blog/why-i-built-openrig)
526
526
  - **Open Specification**: [openrig.dev/specs](https://openrig.dev/specs)
527
527
  - **Videos**: [youtube.com/@openrig](https://www.youtube.com/@openrig)
@@ -44,47 +44,11 @@ than printing a summary and disappearing.
44
44
 
45
45
  ## When you are installing OpenRig for someone
46
46
 
47
- After setup and a working selected login, use `rig daemon start` if stopped. On a fresh instance it also starts the
48
- kernel, including the operator and advisor. They are part of installation; choosing a project team comes later.
49
- Keep the kernel for a normal install. `rig daemon start --no-kernel` is for automation or an explicit request to
50
- omit its startup, including the operator that helps the person start a team.
51
- Read `rig status` and `rig ps --nodes --rig kernel`: started is not ready. The view may open
52
- while agents finish starting; report their actual state and use the guide's existing recovery routes when needed.
53
- Right after OpenRig is installed or started, and whenever the person wants to see their agents or OpenRig again,
54
- open the OpenRig TUI and operator for them: say so, then run `rig terminal open saved:kernel --window --json` on the
55
- daemon's desktop. Don't wait for particular words. The command opens a new terminal tab/window using
56
- installed herdr, otherwise plain tmux; inside Herdr it opens a space there. It preserves existing conversations. The default view
57
- needs no YAML edit. Below 120 measured columns (or unknown width), show the operator alone first; from 120,
58
- show dashboard and operator equally side by side. The advisor always has a separate tab or tmux window.
59
- This applies to Claude-only, Codex-only and mixed kernels.
60
- Keep the queue worker off the first view and accessible through the TUI. Reuse existing conversations and accounts.
61
- Inspect the result and visible content using authorized desktop tools, or report that visibility is unconfirmed.
62
- Herdr is visible only inside a terminal the person can see. Creating a workspace or switching the shared TUI
63
- to `:terminals` does not open that terminal. A window request or CLI success alone is not visual proof. On a
64
- desktop, do not finish by showing a table or suggesting a command instead of opening the requested view.
65
- Only if the window cannot open, `rig tui --shared` is the named dashboard-only fallback, not the operator's
66
- conversation. Explain the failure and help with the chosen fallback; do not attach in your own terminal.
67
- Over headless SSH, explain that no visible terminal opened; tell the person to open a new terminal window or
68
- tab and give one complete connection and attachment command using the current Herdr endpoint, as in the guide.
69
- No, SSH and headless use are valid background outcomes. If the person chooses a manual operator attachment after
70
- a failure, find the `operator.agent` row with
71
- `rig ps --nodes --rig kernel --json --fields logicalId,canonicalSessionName,tmuxAttachCommand`. Give `env -u TMUX` followed by
72
- that row's `tmuxAttachCommand`, exactly as listed (it names the daemon's tmux server when that isn't the default
73
- one), for a new terminal on the same host and user (over SSH, connect there first). Ctrl-b, then d detaches without stopping it.
74
- Ask the person's goal and project folder, then hand them to the ready operator; do not implement the project yourself.
75
- Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName` with
76
- `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>.'`,
77
- or have the person type the goal and folder in the operator's pane. Show where the operator answers and let it
78
- help them choose a team before any starter launch.
79
- If the person gives you a goal later, forward it, the folder and constraints with `rig send`; leave implementation
80
- with the operator's team instead of taking over the work yourself.
81
- Installation is complete when the operator is ready and the person is talking to it, not merely when the daemon is
82
- healthy. If they choose to talk later, leave the exact connection step and say that the handoff is still pending.
83
-
84
- Read `rig context get reference/getting-started.md#open-the-kernel-conversations` for the commands and manual
85
- path. Without a working daemon, the same guide is `daemon/docs/reference/getting-started.md` in the installed
86
- `@openrig/cli` package. Confirm what actually opened; on a headless host or unavailable display, say so and give the
87
- person the exact connection/attach step. Opening a terminal is not permission to start or reset seats or provision accounts.
47
+ Use the `rigs` skill and read its `references/installing-for-someone.md` before you start the daemon or open anything for the
48
+ person. It holds the whole installation, startup and operator-handoff procedure, and a seat's startup text does not repeat it.
49
+ If the skill or that reference is missing (an older install), read the getting-started guide's "Start the kernel and check its state" and
50
+ "Open the kernel conversations" sections: `rig context get reference/getting-started.md`, or, without a working daemon,
51
+ `daemon/docs/reference/getting-started.md` in the installed `@openrig/cli` package.
88
52
 
89
53
  ## When you need more
90
54
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
5
5
  "logo": "assets/logo.svg"
6
6
  }
@@ -70,11 +70,24 @@ codex mcp add openrig --env OPENRIG_SESSION_NAME=<address> -- rig mcp serve --fr
70
70
 
71
71
  - **VS Code:** verified on 1.145. Older versions, such as 1.110, don't load Agent Plugins.
72
72
  - **Cursor:** verified on 3.27, as a local plugin.
73
- - **Copilot CLI:** not yet verified; the steps follow its documentation.
73
+ - **Copilot CLI:** verified on 1.0.107. Install from this repository's marketplace, and trust the folder when Copilot
74
+ CLI asks:
74
75
 
75
- Install the plugin from this folder with the app's own install-from-folder step. In VS Code that's **Chat: Install Plugin
76
- from Source**; in Cursor, copy the folder to `~/.cursor/plugins/local/openrig` and reload. The app starts one `openrig`
77
- server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load the skill.
76
+ ```bash
77
+ copilot plugin marketplace add mvschwarz/openrig
78
+ copilot plugin install openrig@openrig-app
79
+ ```
80
+
81
+ Unlike the other apps, this installs the plugin from this repository's main branch, not from your OpenRig package, so
82
+ its skill can be newer than the OpenRig you run.
83
+
84
+ Copilot CLI also loads the skills in `~/.agents/skills`. Where OpenRig's own skills are installed there, it can choose
85
+ OpenRig's `openrig-skills` skill before this plugin's `working-with-an-openrig-team`. If it does, it may ask for a
86
+ skill pack that isn't there and get `pack_not_found`: ask it to use `working-with-an-openrig-team`.
87
+
88
+ In VS Code and Cursor, install the plugin from this folder with the app's own install-from-folder step. In VS Code
89
+ that's **Chat: Install Plugin from Source**; in Cursor, copy the folder to `~/.cursor/plugins/local/openrig` and reload.
90
+ The app starts one `openrig` server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load the skill.
78
91
 
79
92
  - **No seat:** these apps can't set a seat for a plugin's server, so it starts with none. An app started from a shell
80
93
  where `OPENRIG_SESSION_NAME` (or the older `RIGGED_SESSION_NAME`) is set passes it on, but only for that launch: on
@@ -90,14 +103,20 @@ server, `rig mcp serve --front-door`, from the root `mcp.json`, and should load
90
103
  - Environment export needs an HTTP work grant, which a plugin's local server never has.
91
104
  - **To give the app a seat,** add your own MCP server that runs `rig mcp serve --front-door` with
92
105
  `OPENRIG_SESSION_NAME=<address>` in its environment, and turn the plugin's `openrig` server off, so the app runs one
93
- OpenRig server. The plugin's skill stays installed. Verified on VS Code 1.145 and Cursor 3.27, where the team's
94
- questions then reach you and your answers are recorded, across a reopen:
106
+ OpenRig server. The plugin's skill stays installed. Verified on VS Code 1.145, Cursor 3.27 and Copilot CLI 1.0.107,
107
+ where the team's questions then reach you and your answers are recorded, across a reopen:
95
108
  - **VS Code:** add it to your user `mcp.json` under a name other than `openrig`, such as `openrig-seat`, and disable
96
109
  the plugin's `openrig` in **MCP: List Servers**. Two servers named `openrig` are hard to tell apart, and starting
97
110
  one can stop the other.
98
111
  - **Cursor:** add it to `.cursor/mcp.json` (the project's or your user one), turn it on, and disable
99
112
  **openrig · Plugin** in **Customize → MCPs**.
100
- - **Copilot CLI:** add it the CLI's own way and turn the plugin's server off; not yet verified.
113
+ - **Copilot CLI:** add it, then turn the plugin's server off. Copilot CLI saves both, so the seat holds in new
114
+ sessions:
115
+
116
+ ```bash
117
+ copilot mcp add openrig-seat --env OPENRIG_SESSION_NAME=<address> -- rig mcp serve --front-door
118
+ copilot mcp disable openrig
119
+ ```
101
120
 
102
121
  ## What it doesn't do
103
122
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "openrig",
4
- "version": "0.7.15",
4
+ "version": "0.7.17",
5
5
  "description": "Work with your OpenRig team from your coding agent: hand it work, follow that work, answer its questions and read what it returns.",
6
6
  "author": {
7
7
  "name": "Mike Schwarz",
@@ -33,9 +33,19 @@ behave; this skill is the loop around them.
33
33
 
34
34
  > To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
35
35
  > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
36
- > check it when the person asks. Don't ask in your own terminal: the person isn't there. If you hand this item on,
37
- > copy this paragraph into the new item. When you finish, put the outcome in this item's resolution and any file in
38
- > its evidence ref.
36
+ > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
37
+ > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
38
+ > doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
39
+ > question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a new
40
+ > answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'` with
41
+ > the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep the
42
+ > reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
43
+ > stays a no. If they gave no answer, or their words don't clearly
44
+ > pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
45
+ > never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
46
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
47
+ > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
48
+ > evidence ref.
39
49
  - Tell the person the `qitemId` it returns. It's how both of you find this work again.
40
50
  - If the call times out, check `rig_queue_show` with that same `qitemId` before trying again. If you retry, pass the same id
41
51
  as `qitemId`. Never retry with a new one: that creates the work twice.
@@ -46,7 +56,10 @@ behave; this skill is the loop around them.
46
56
  - When a seat hands the work on, the item names the next one. Follow the chain to the newest item before you report.
47
57
  - Report what the record says. An accepted or claimed item isn't finished work, and a quiet one isn't stuck: say what you
48
58
  saw and when it last changed.
49
- - Nothing wakes this chat when the team finishes. Check again when the person asks, or when they come back.
59
+ - Before you say the work is done, find the newest review of it on the chain and tell the person its outcome. Work a
60
+ review sent back with something to fix isn't done, even if a commit exists: say what the review asked for.
61
+ - Nothing wakes this chat when the team asks or finishes. While its work is open, check each time the person talks to
62
+ you, and when they come back.
50
63
 
51
64
  ## The team's questions
52
65
 
@@ -56,8 +69,11 @@ behave; this skill is the loop around them.
56
69
  `rig_queue_update`: `state` `done`, `closureReason` `no-follow-on`, and exactly what the person typed in `resolution`,
57
70
  nothing else: no label such as "The person's answer:", no quotation marks, and no notes, paths or summaries of your own.
58
71
  If the person isn't there to answer, leave the item open and tell them it's waiting. Never choose an answer for them.
59
- - Some questions go to the person directly, outside your seat. Those wait for them where they already answer the team,
60
- such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
72
+ - A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat, the
73
+ exact action and the choices it offers, and record the person's words the same way. The agent that sent it passes
74
+ their answer to the seat.
75
+ - Some questions go to a registered person directly, outside your seat. Those wait for them where they already answer
76
+ the team, such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
61
77
 
62
78
  ## Read the result
63
79
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
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.30",
3
+ "version": "0.1.31",
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",
@@ -106,7 +106,10 @@ You are about to lose every connection you have built. Spend this turn making th
106
106
  3. **Open the map with a summary** of 10 to 20 lines: who you are, what you hold, what mattered in this
107
107
  window, what is next and who authorizes it, and any hold in force. **Publish that summary as your seat
108
108
  recap** too: save it, plus a line naming the map's path, to a file and run
109
- `rig context recap-write --file <that file>`, which writes your own seat's recap. If your world profile has a seat
109
+ `rig context recap-write --file <that file>`, which writes your own seat's recap. Give the file's literal absolute
110
+ path, with no shell variable assignment or command substitution: Claude Code's allow rules don't match past an
111
+ assignment (apart from a few known-safe variables), and an ask or deny rule still wins, so such a command can stop at
112
+ an approval prompt, and OpenRig won't send `/compact` while it waits. If your world profile has a seat
110
113
  recap atom, it loads this recap, and an old recap would be served as if it were current.
111
114
  4. **Then write the connections.** Choose what this seat needs; these are examples, not a template:
112
115
  - **State:** rows you hold (id, state), branches and PR heads, the hold or release in force and who gave
@@ -101,7 +101,7 @@ A seat stays `Stable` even if multiple candidate-occupants were produced and dis
101
101
 
102
102
  ## Failure modes (5)
103
103
 
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.
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. **If the failure came after the in-place respawn, with the successor launched** (its readiness closed, its context packet didn't land, or finalization refused), the previous occupant is already ended and the successor may be running in the pane, not adopted: another handover ends it. When the failure recorded the attempt, its guidance names `rig seat handover <seat> --recover --reason <why>`, which proves the pane's one Claude is that launch and adopts it, keeping its conversation and typing nothing into it (`successor_identity_unproven` changes nothing; `handover_attempt_superseded` means another launch or handover took the seat since; Claude Code only).
105
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.**
106
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.
107
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.