@openrig/cli 0.7.16 → 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 (363) 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/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +22 -6
  8. package/daemon/assets/skills/rigs/SKILL.md +68 -29
  9. package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
  10. package/daemon/context-packs/help/manifest.yaml +1 -1
  11. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  12. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +87 -33
  13. package/daemon/context-packs/reference/getting-started.md +8 -8
  14. package/daemon/context-packs/reference/manifest.yaml +1 -1
  15. package/daemon/context-packs/reference/whats-new.md +193 -6
  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-software-factory/references/worked-example.md +1 -1
  31. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
  32. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  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/core/working-with-an-openrig-team/SKILL.md +22 -6
  40. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  72. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  73. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  74. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  75. package/daemon/dist/adapters/claude-code-adapter.js +36 -3
  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 +4 -2
  79. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  80. package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
  81. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  82. package/daemon/dist/adapters/openshell-driver.js +3 -0
  83. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  84. package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
  85. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
  86. package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
  87. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
  88. package/daemon/dist/adapters/pi-runner.d.ts +38 -4
  89. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  90. package/daemon/dist/adapters/pi-runner.js +244 -30
  91. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  92. package/daemon/dist/adapters/tmux.d.ts +3 -0
  93. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  94. package/daemon/dist/adapters/tmux.js +1 -1
  95. package/daemon/dist/adapters/tmux.js.map +1 -1
  96. package/daemon/dist/build-info.js +3 -3
  97. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  98. package/daemon/dist/db/all-migrations.js +4 -0
  99. package/daemon/dist/db/all-migrations.js.map +1 -1
  100. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
  101. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
  102. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
  103. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
  104. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
  105. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
  106. package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
  107. package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
  108. package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
  109. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  110. package/daemon/dist/domain/codex-thread-id.js +132 -9
  111. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  112. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  113. package/daemon/dist/domain/connection-contract.js +2 -1
  114. package/daemon/dist/domain/connection-contract.js.map +1 -1
  115. package/daemon/dist/domain/context-usage-store.d.ts +11 -2
  116. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  117. package/daemon/dist/domain/context-usage-store.js +33 -13
  118. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  119. package/daemon/dist/domain/current-work.d.ts +5 -0
  120. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  121. package/daemon/dist/domain/current-work.js +66 -4
  122. package/daemon/dist/domain/current-work.js.map +1 -1
  123. package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
  124. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  125. package/daemon/dist/domain/environment-lifecycle.js +22 -4
  126. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  127. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
  128. package/daemon/dist/domain/expected-conversation.js +26 -11
  129. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  130. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  131. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  132. package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
  133. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  134. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
  135. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  136. package/daemon/dist/domain/gateway/operator-delivery-engine.js +14 -4
  137. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  138. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  139. package/daemon/dist/domain/health-diagnosis.js +4 -0
  140. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  141. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  142. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
  143. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  144. package/daemon/dist/domain/native-model-picker.d.ts +2 -0
  145. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
  146. package/daemon/dist/domain/native-model-picker.js +8 -2
  147. package/daemon/dist/domain/native-model-picker.js.map +1 -1
  148. package/daemon/dist/domain/native-resume-probe.js +78 -11
  149. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  150. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  151. package/daemon/dist/domain/network/network-connector.js +5 -3
  152. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  153. package/daemon/dist/domain/network/network-installations.d.ts +5 -4
  154. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  155. package/daemon/dist/domain/network/network-installations.js +42 -11
  156. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  157. package/daemon/dist/domain/node-launcher.d.ts +3 -0
  158. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  159. package/daemon/dist/domain/node-launcher.js +4 -3
  160. package/daemon/dist/domain/node-launcher.js.map +1 -1
  161. package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
  162. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  163. package/daemon/dist/domain/occupant-invalidator.js +10 -2
  164. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  165. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  166. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  167. package/daemon/dist/domain/operation-correlation.js +1 -1
  168. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  169. package/daemon/dist/domain/queue-erasure.d.ts +7 -1
  170. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  171. package/daemon/dist/domain/queue-erasure.js +226 -20
  172. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  173. package/daemon/dist/domain/queue-repository.d.ts +19 -2
  174. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  175. package/daemon/dist/domain/queue-repository.js +59 -15
  176. package/daemon/dist/domain/queue-repository.js.map +1 -1
  177. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  178. package/daemon/dist/domain/queue-stuck-sweep.js +49 -21
  179. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  180. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  181. package/daemon/dist/domain/queue-wake-ladder.js +90 -24
  182. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  183. package/daemon/dist/domain/restore-check-service.d.ts +13 -0
  184. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  185. package/daemon/dist/domain/restore-check-service.js +122 -9
  186. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  187. package/daemon/dist/domain/restore-orchestrator.d.ts +4 -1
  188. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  189. package/daemon/dist/domain/restore-orchestrator.js +95 -33
  190. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  191. package/daemon/dist/domain/restore-preconditions.d.ts +2 -0
  192. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  193. package/daemon/dist/domain/restore-preconditions.js +2 -0
  194. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  195. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  196. package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
  197. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  198. package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
  199. package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
  200. package/daemon/dist/domain/rig-delivery-drain.js +128 -0
  201. package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
  202. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  203. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  204. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  205. package/daemon/dist/domain/rig-teardown.d.ts +20 -3
  206. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  207. package/daemon/dist/domain/rig-teardown.js +71 -11
  208. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  209. package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
  210. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  211. package/daemon/dist/domain/rigspec-preflight.js +16 -1
  212. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  213. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  214. package/daemon/dist/domain/seat-handover-service.js +6 -1
  215. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  216. package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
  217. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  218. package/daemon/dist/domain/seat-launch-environment.js +16 -4
  219. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  220. package/daemon/dist/domain/session-name.d.ts +13 -0
  221. package/daemon/dist/domain/session-name.d.ts.map +1 -1
  222. package/daemon/dist/domain/session-name.js +77 -0
  223. package/daemon/dist/domain/session-name.js.map +1 -1
  224. package/daemon/dist/domain/session-registry.d.ts +7 -1
  225. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  226. package/daemon/dist/domain/session-registry.js +7 -4
  227. package/daemon/dist/domain/session-registry.js.map +1 -1
  228. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  229. package/daemon/dist/domain/session-transport.js +27 -7
  230. package/daemon/dist/domain/session-transport.js.map +1 -1
  231. package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
  232. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  233. package/daemon/dist/domain/shared-history-selection.js +3 -1
  234. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  235. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  236. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  237. package/daemon/dist/domain/snapshot-capture.js +19 -12
  238. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  239. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  240. package/daemon/dist/domain/startup-submission-evidence.js +3 -2
  241. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  242. package/daemon/dist/domain/types.d.ts +9 -1
  243. package/daemon/dist/domain/types.d.ts.map +1 -1
  244. package/daemon/dist/domain/types.js.map +1 -1
  245. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  246. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  247. package/daemon/dist/domain/user-settings/settings-store.js +6 -0
  248. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  249. package/daemon/dist/domain/watchdog-policy-engine.d.ts +4 -0
  250. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  251. package/daemon/dist/domain/watchdog-policy-engine.js +28 -1
  252. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  253. package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
  254. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  255. package/daemon/dist/domain/workflow-instance-store.js +6 -4
  256. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  257. package/daemon/dist/domain/workflow-projector.d.ts +48 -0
  258. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  259. package/daemon/dist/domain/workflow-projector.js +160 -90
  260. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  261. package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
  262. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  263. package/daemon/dist/domain/workflow-reconciliation.js +51 -13
  264. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  265. package/daemon/dist/domain/workflow-runtime.d.ts +4 -2
  266. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  267. package/daemon/dist/domain/workflow-runtime.js +46 -22
  268. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  269. package/daemon/dist/routes/queue.d.ts.map +1 -1
  270. package/daemon/dist/routes/queue.js +34 -4
  271. package/daemon/dist/routes/queue.js.map +1 -1
  272. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  273. package/daemon/dist/routes/restore-check.js +17 -0
  274. package/daemon/dist/routes/restore-check.js.map +1 -1
  275. package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
  276. package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
  277. package/daemon/dist/routes/rig-delivery-drain.js +46 -0
  278. package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
  279. package/daemon/dist/routes/startup.d.ts.map +1 -1
  280. package/daemon/dist/routes/startup.js +120 -28
  281. package/daemon/dist/routes/startup.js.map +1 -1
  282. package/daemon/dist/routes/up.js +2 -0
  283. package/daemon/dist/routes/up.js.map +1 -1
  284. package/daemon/dist/routes/workflow.js +1 -1
  285. package/daemon/dist/routes/workflow.js.map +1 -1
  286. package/daemon/dist/server.d.ts.map +1 -1
  287. package/daemon/dist/server.js +2 -0
  288. package/daemon/dist/server.js.map +1 -1
  289. package/daemon/dist/startup.d.ts.map +1 -1
  290. package/daemon/dist/startup.js +6 -0
  291. package/daemon/dist/startup.js.map +1 -1
  292. package/daemon/docs/reference/agent-startup-guide.md +3 -2
  293. package/daemon/docs/reference/daemon-http-clients.md +68 -0
  294. package/daemon/docs/reference/getting-started.md +8 -8
  295. package/daemon/docs/reference/hosted-members.md +4 -2
  296. package/daemon/docs/reference/network-connector.md +4 -3
  297. package/daemon/docs/reference/queue-erasure.md +16 -1
  298. package/daemon/docs/reference/quickstart.md +2 -2
  299. package/daemon/docs/reference/whats-new.md +193 -6
  300. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  301. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
  302. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  303. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +78 -18
  304. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
  305. package/dist/build-info.js +3 -3
  306. package/dist/commands/config.d.ts.map +1 -1
  307. package/dist/commands/config.js +2 -0
  308. package/dist/commands/config.js.map +1 -1
  309. package/dist/commands/down.d.ts.map +1 -1
  310. package/dist/commands/down.js +5 -1
  311. package/dist/commands/down.js.map +1 -1
  312. package/dist/commands/environment.js +1 -1
  313. package/dist/commands/environment.js.map +1 -1
  314. package/dist/commands/network.d.ts +2 -0
  315. package/dist/commands/network.d.ts.map +1 -1
  316. package/dist/commands/network.js +14 -1
  317. package/dist/commands/network.js.map +1 -1
  318. package/dist/commands/queue.d.ts +1 -1
  319. package/dist/commands/queue.d.ts.map +1 -1
  320. package/dist/commands/queue.js +43 -10
  321. package/dist/commands/queue.js.map +1 -1
  322. package/dist/commands/restore.d.ts.map +1 -1
  323. package/dist/commands/restore.js +6 -1
  324. package/dist/commands/restore.js.map +1 -1
  325. package/dist/commands/seat.js +3 -3
  326. package/dist/commands/seat.js.map +1 -1
  327. package/dist/commands/setup.d.ts.map +1 -1
  328. package/dist/commands/setup.js +5 -3
  329. package/dist/commands/setup.js.map +1 -1
  330. package/dist/commands/up.d.ts.map +1 -1
  331. package/dist/commands/up.js +7 -0
  332. package/dist/commands/up.js.map +1 -1
  333. package/dist/commands/workflow.d.ts.map +1 -1
  334. package/dist/commands/workflow.js +6 -4
  335. package/dist/commands/workflow.js.map +1 -1
  336. package/dist/config-store.d.ts +3 -1
  337. package/dist/config-store.d.ts.map +1 -1
  338. package/dist/config-store.js +5 -0
  339. package/dist/config-store.js.map +1 -1
  340. package/dist/lib/bundle-check.d.ts.map +1 -1
  341. package/dist/lib/bundle-check.js +33 -3
  342. package/dist/lib/bundle-check.js.map +1 -1
  343. package/dist/mcp-server.d.ts.map +1 -1
  344. package/dist/mcp-server.js +48 -9
  345. package/dist/mcp-server.js.map +1 -1
  346. package/dist/person-registration-offer.d.ts.map +1 -1
  347. package/dist/person-registration-offer.js +2 -1
  348. package/dist/person-registration-offer.js.map +1 -1
  349. package/package.json +2 -2
  350. package/tui/dist/config/config-model.js +1 -1
  351. package/tui/dist/config/config-model.js.map +1 -1
  352. package/tui/dist/daemon-client.d.ts +3 -1
  353. package/tui/dist/daemon-client.d.ts.map +1 -1
  354. package/tui/dist/daemon-client.js +4 -2
  355. package/tui/dist/daemon-client.js.map +1 -1
  356. package/tui/dist/hydrate.d.ts.map +1 -1
  357. package/tui/dist/hydrate.js +31 -1
  358. package/tui/dist/hydrate.js.map +1 -1
  359. package/tui/dist/render.d.ts.map +1 -1
  360. package/tui/dist/render.js +106 -15
  361. package/tui/dist/render.js.map +1 -1
  362. package/tui/dist/types.d.ts +2 -0
  363. 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.16/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.16/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.16` 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.16/scripts/install.sh | sh -s -- --dry-run
75
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/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.16",
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.16",
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.16",
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
  }
@@ -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.16",
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
 
@@ -72,6 +72,10 @@ person needs in their project or home folder and name that path.
72
72
 
73
73
  ## 2. Open OpenRig and give its operator the goal
74
74
 
75
+ A seat's startup text points an installing agent here. [references/installing-for-someone.md](references/installing-for-someone.md)
76
+ adds what this step does not spell out (starting the daemon and kernel, what counts as ready and as finished) and relays the same
77
+ commands; if the two ever differ, this step is right.
78
+
75
79
  - **Start OpenRig:** `rig daemon status`, and `rig daemon start` if it isn't running. `rig preflight` and `rig doctor`
76
80
  don't start it. Starting it also starts OpenRig's own team, the kernel, whose operator sets up the person's team.
77
81
  Keep it. If its output says no person is registered, make the offer it names before you go on, and register only on
@@ -103,7 +107,8 @@ person needs in their project or home folder and name that path.
103
107
  dashboard-only fallback; explain the failure and help with the chosen fallback. Herdr is visible only in a terminal
104
108
  the person can see; switching the shared TUI to `:terminals` does not open one. No and headless/SSH use are valid
105
109
  background outcomes. Provider-only `--provider herdr`, `--provider cmux` or `--provider rex` is for a provider that's
106
- already running, not the first desktop window, and each such open adds a new workspace. `--provider herdr-app` opens
110
+ already running, not the first desktop window. Each `cmux` or `rex` open adds a new workspace; `herdr` focuses one
111
+ that still shows the view live, else adds one. `--provider herdr-app` opens
107
112
  the view in the herdr-app window you run it in (it adds OpenRig's mods there first). Inside a herdr-app
108
113
  terminal, plain `rig terminal open <view>` does the same when that window is answering. `--window` always asks for a
109
114
  new desktop window.
@@ -156,11 +161,13 @@ person needs in their project or home folder and name that path.
156
161
  name someone else), and don't offer again.
157
162
  - Several people with no default: ask which should get requests nobody is named for (`rig gateway default <id>`),
158
163
  or leave it. Never pick one yourself.
159
- - Nobody is registered: offer it in a sentence or two. OpenRig's questions, such as another machine asking to pair,
160
- need a person to reach. Ask the name to use (their login name is only a suggestion). On yes, run
164
+ - Nobody is registered: offer it in a sentence or two. Registering gives OpenRig its own way to reach them with
165
+ questions no agent is bringing them, such as a team seat's permission prompt or another machine asking to pair. If
166
+ they stay with you, you bring them the team's questions and its result here either way ("If the person stays with
167
+ you" below). Ask the name to use (their login name is only a suggestion). On yes, run
161
168
  `rig gateway human add <id> --display-name "<name>" --delivery-class B --default`: they're reached in the TUI's Feed
162
- and Steering, and Slack can be added later. On no or not now, register nothing and say that questions to a person
163
- can't reach anyone until someone is registered, with that command for later.
169
+ and Steering, and Slack can be added later. On no or not now, register nothing and say that questions no agent
170
+ brings them, such as pairing, can't reach them until someone is registered, with that command for later.
164
171
  - Never pass `--default` over an existing default, or `--replace`, unless they ask. Their own words decide: a
165
172
  different name, Slack now, or not now.
166
173
  - An agent reads their answers: the kernel operator, or the agent chosen in `agents.operator_session`. If the kernel
@@ -168,15 +175,19 @@ person needs in their project or home folder and name that path.
168
175
  <seat>@<rig>`), on their yes only.
169
176
  - A machine they'll pair with needs its own person: registering here doesn't give that machine one.
170
177
  - **Give the operator the goal:** ask what they want worked on, in which repository and on which branch, unless they've
171
- said. Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName`
172
- (never the logical ID or a guessed name) and send:
173
- `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
174
- If the person stays here, hand the goal over as a task from your own address instead, so the operator's questions
175
- and the result come back to you ("If the person stays with you" below). Carry their constraints, which logins they
176
- have (an installed provider that isn't signed in doesn't count), and any permission choice they made, chosen or
177
- declined, in either handoff.
178
+ said. Hand it over by where the person will answer the team, from what they've already told you:
179
+ - **They stay here** (they said so, or they can't use the operator's pane): hand the goal over as a task from your
180
+ own address ("If the person stays with you" below), giving the operator your return address for the team's questions and
181
+ result. A seat's prompt may still not reach this conversation. Don't tell the operator they'll answer in its pane.
182
+ - **They'll talk to the operator in its pane:** find the `operator.agent` row in `rig ps --nodes --rig kernel --json`,
183
+ take its `canonicalSessionName` (never the logical ID or a guessed name) and send:
184
+ `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
185
+ - Ask where they want to answer only when it's genuinely unclear, and only once.
186
+
187
+ Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
188
+ permission choice they made, chosen or declined, in either handoff.
178
189
  Or the person types the goal and folder in the operator's pane. If they give you a goal later, forward it the same
179
- way. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
190
+ way, by the route they chose. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
180
191
  shows, and gives the goal to the team's lead. Before that yes, it says what launching into their folder changes for their own agent there; relay
181
192
  that with the question. Show them where the operator answers, and don't build the project yourself.
182
193
  - **If you start a team yourself** instead of through the operator, do its fit check first. A built-in team can need a
@@ -186,8 +197,9 @@ person needs in their project or home folder and name that path.
186
197
  or you can't tell, say so before launching and let them choose: the operator adapts the team to the logins they have,
187
198
  or they sign in first.
188
199
  - **If the person stays with you** (unless they declined the Codex offer below and explicitly chose the operator
189
- route), you're their front door to the team: you hand it the goal, bring its questions to them and bring back what
190
- it produced, through the task queue rather than the operator's screen.
200
+ route), you're their front door to the team: you hand it the goal, bring its questions to them, its seats' permission
201
+ prompts included, and bring back what it produced and what its latest review found, through the task queue rather
202
+ than the operator's screen.
191
203
  - **Your return address:** if this session joined the team (above), it's the `OPENRIG_SESSION_NAME` that
192
204
  `rig attach` printed. Otherwise agree one with the person on the kernel's rig, such as `claude-app@kernel` or
193
205
  `codex-app@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no file is written.
@@ -204,9 +216,19 @@ person needs in their project or home folder and name that path.
204
216
 
205
217
  > To ask me anything, create a queue item to `<address>` (`rig queue create --destination <address> ...`), then
206
218
  > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
207
- > check it when the person asks. Don't ask in your own terminal: the person isn't there. If you hand this item on,
208
- > copy this paragraph into the new item. When you finish, put the outcome in this item's resolution and any file in
209
- > its evidence ref.
219
+ > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
220
+ > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
221
+ > doing and any escalation's id, unless a question about that prompt is already open at my address. Whoever sent
222
+ > the question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a
223
+ > new answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'`
224
+ > with the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep
225
+ > the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
226
+ > stays a no. If they gave no answer, or their words don't
227
+ > clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
228
+ > and never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
229
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
230
+ > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
231
+ > evidence ref.
210
232
 
211
233
  Then run
212
234
  `OPENRIG_SESSION_NAME=<address> rig queue create --destination <canonicalSessionName> --summary "<the goal in a sentence>" --body-file <file> --verify`.
@@ -220,6 +242,9 @@ person needs in their project or home folder and name that path.
220
242
  Add no label, quotation marks or notes of your own, and don't turn their words into a yes or a no: the agent that
221
243
  asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
222
244
  it open and tell them it's waiting; never answer for them.
245
+ A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat,
246
+ the exact action and the choices it offers, and record their words the same way. The agent that sent it passes
247
+ their answer to the seat, so don't send that prompt's answer yourself as well.
223
248
  - **A question only on the operator's screen:** if the operator asks in its pane and nothing reached your address,
224
249
  read it with `rig capture <canonicalSessionName>`, show the person, and send their words as a new task to the
225
250
  operator that names your task's ID, not as keys typed into its pane.
@@ -232,7 +257,8 @@ person needs in their project or home folder and name that path.
232
257
  `rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
233
258
  owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
234
259
  before you wake it again). A pending task with no wake isn't lost or done.
235
- - **Nothing wakes this chat** when the team asks or finishes: check your address when the person asks or comes back.
260
+ - **Nothing wakes this chat** when the team asks or finishes: while its work is open, check your address each time
261
+ the person talks to you, and when they come back.
236
262
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
237
263
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
238
264
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -242,28 +268,38 @@ person needs in their project or home folder and name that path.
242
268
  seat a model their account can run with `rig seat set-model`, then start it again with
243
269
  `rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. Either way the operator starts a
244
270
  new conversation without your handoff, so send it again: the goal, folder, branch, constraints and permission choices.
245
- - **Installation is finished** when the operator is ready and the person is talking to it; a healthy daemon alone isn't
271
+ - **Installation is finished** when the operator is ready and the person is talking to it or, when they stay with you,
272
+ once the goal has reached it as a task from your address (read its wake outcome); a healthy daemon alone isn't
246
273
  that. If they'd rather talk later, keep that choice, leave them the exact connection step and say the handoff to the
247
274
  operator is still pending.
248
275
  - **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
249
276
  running in that repository, tell the operator.
250
277
  - **Check it's ready before you say so:** `rig ps --nodes --rig <rig>`. If an agent is stopped at a prompt or a menu,
251
278
  read it with `rig capture <seat>@<rig>`.
252
- - **Seat permission prompts come to the person here, as questions, for as long as the team works,** whether you or
253
- the operator started it, and whether or not they joined. This is the default, not a fallback. A permission prompt
279
+ - **Bring seat permission prompts to the person here, as questions, for as long as the team works,** whether you or
280
+ the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
254
281
  is the person's to answer: they decide, which doesn't mean they type it into the seat's pane, so don't decline to
255
282
  relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
256
283
  seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
257
284
  your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
258
- exact action, the choices offered), and the whole prompt when they ask. For a commit, also say whether the team's
259
- review has run; they may be expecting one. Before sending their choice, capture that
285
+ exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
286
+ open at your address (the operator or a team seat sent it), use that one: record their words on it, and its sender
287
+ passes them on, not you. Once you've recorded them, that prompt stays its sender's to answer even while the seat
288
+ still shows it: don't ask about it again or send anything for it unless the prompt changes or the sender asks you
289
+ again. For a commit, also say whether the team's review has run; they may be expecting one. Before sending their choice, capture that
260
290
  seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
261
- `rig send <seat>@<rig> "<key>" --dangerously-interact --reason "<their choice, in their words>"`, where `<key>` is
262
- the digit or letter that capture shows for their choice, never their words: the text is typed as keys, and a letter
263
- can pick a menu's shortcut. If the screen shows no key for their choice, ask them. When their choice is Escape,
291
+ `rig send <seat>@<rig> "<key>" --dangerously-interact --reason 'task <id>: <their choice, in their words>'`, with
292
+ the goal's task ID (leave out `task <id>:` when there's no task), where `<key>` is the digit or letter that capture
293
+ shows for their choice, never their words: the text is typed as keys, and a letter can pick a menu's shortcut. Keep
294
+ the reason in single quotes, so the shell runs nothing in their words and the record keeps them as they wrote them;
295
+ write each `'` in them as `'\''`. If
296
+ the screen shows no key for their choice, ask them. If they give no answer, or their words don't clearly pick one
297
+ choice (a condition the action doesn't plainly meet, say), ask them again before sending anything; a no stays a
298
+ no. When their choice is Escape,
264
299
  send the key itself, written with bash or zsh quoting:
265
- `rig send <seat>@<rig> $'\e' --dangerously-interact --reason "<their choice, in their words>"`. It's sent once, with
266
- no Enter added. Never answer a prompt on your own and record it as theirs,
300
+ `rig send <seat>@<rig> $'\e' --dangerously-interact --reason 'task <id>: <their choice, in their words>'`. It's sent
301
+ once, with no Enter added. Then capture the seat and check the effect before sending anything more; never send or
302
+ resend an answer while its effect is unknown. Never answer a prompt on your own and record it as theirs,
267
303
  even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
268
304
  yes to the next, and never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
269
305
  kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
@@ -332,6 +368,9 @@ Follow these steps by default. Only when the person declined the Codex offer abo
332
368
  and report what the record says; `rig capture <seat>@<rig>` only shows what an agent is doing right now. Then read
333
369
  what it produced and tell the person what the team actually did (the branch, commit, review or PR text), not just
334
370
  that you sent it.
371
+ - **Read the latest review before you say it's done:** find the newest review of that work on the chain and tell the
372
+ person its outcome. Work a review sent back with something to fix isn't done, even if a commit exists: say what
373
+ the review asked for, and follow the work until a later review clears it or the person decides.
335
374
  - **Give the team more work:** write the goal to a file: what to change, in which repository and branch, what done
336
375
  looks like, and that the result comes back to you (the branch or commit, the review, any PR text), ending with the
337
376
  reply paragraph above. Then
@@ -0,0 +1,47 @@
1
+ # Installing OpenRig for someone
2
+
3
+ The agent that installed OpenRig for a person follows step 2 of the `rigs` skill. This note adds what that step does not spell out
4
+ (starting the daemon and kernel, what counts as ready and as finished) and relays the same commands; if the two ever differ, step 2 is
5
+ right. A seat's startup text carries only a pointer to it.
6
+
7
+ After setup and a working selected login, use `rig daemon start` if stopped. On a fresh instance it also starts the
8
+ kernel, including the operator and advisor. They are part of installation; choosing a project team comes later.
9
+ Keep the kernel for a normal install. `rig daemon start --no-kernel` is for automation or an explicit request to
10
+ omit its startup, including the operator that helps the person start a team.
11
+ Read `rig status` and `rig ps --nodes --rig kernel`: started is not ready. The view may open
12
+ while agents finish starting; report their actual state and use the guide's existing recovery routes when needed.
13
+ Right after OpenRig is installed or started, and whenever the person wants to see their agents or OpenRig again,
14
+ open the OpenRig TUI and operator for them: say so, then run `rig terminal open saved:kernel --window --json` on the
15
+ daemon's desktop. Don't wait for particular words. The command opens a new terminal tab/window using
16
+ installed herdr, otherwise plain tmux; inside Herdr it opens a space there. It preserves existing conversations. The default view
17
+ needs no YAML edit. Below 120 measured columns (or unknown width), show the operator alone first; from 120,
18
+ show dashboard and operator equally side by side. The advisor always has a separate tab or tmux window.
19
+ This applies to Claude-only, Codex-only and mixed kernels.
20
+ Keep the queue worker off the first view and accessible through the TUI. Reuse existing conversations and accounts.
21
+ Inspect the result and visible content using authorized desktop tools, or report that visibility is unconfirmed.
22
+ Herdr is visible only inside a terminal the person can see. Creating a workspace or switching the shared TUI
23
+ to `:terminals` does not open that terminal. A window request or CLI success alone is not visual proof. On a
24
+ desktop, do not finish by showing a table or suggesting a command instead of opening the requested view.
25
+ Only if the window cannot open, `rig tui --shared` is the named dashboard-only fallback, not the operator's
26
+ conversation. Explain the failure and help with the chosen fallback; do not attach in your own terminal.
27
+ Over headless SSH, explain that no visible terminal opened; ask the person to open a new terminal window or tab on the
28
+ daemon's host (over SSH, a new SSH session to it) and relay the command OpenRig printed, exactly, rather than composing one.
29
+ No, SSH and headless use are valid background outcomes. If OpenRig printed no command, find the `operator.agent` row with
30
+ `rig ps --nodes --rig kernel --json --fields logicalId,canonicalSessionName,tmuxAttachCommand`. Give `env -u TMUX` followed by
31
+ that row's `tmuxAttachCommand`, exactly as listed (it names the daemon's tmux server when that isn't the default
32
+ one), for a new terminal on the same host and user (over SSH, connect there first). Ctrl-b, then d detaches without stopping it.
33
+ Ask the person's goal, project folder and branch unless they've said, then hand them to the ready operator; do not implement the project yourself.
34
+ Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName` with
35
+ `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`,
36
+ or have the person type the goal and folder in the operator's pane. (If the person stays with you, the skill's step 2 hands the goal over
37
+ as a queue task from your own address instead.) Show where the operator answers and let it
38
+ help them choose a team before any starter launch.
39
+ If the person gives you a goal later, forward it, the folder and constraints the same way, by the route they chose;
40
+ leave implementation with the operator's team instead of taking over the work yourself.
41
+ Installation is complete when the operator is ready and the person is talking to it or, when they stay with you, once
42
+ the goal has reached it as a task from your address, not merely when the daemon is healthy. If they choose to talk later, leave the exact connection step and say that the handoff is still pending.
43
+
44
+ Read `rig context get reference/getting-started.md#open-the-kernel-conversations` for the commands and manual
45
+ path. Without a working daemon, the same guide is `daemon/docs/reference/getting-started.md` in the installed
46
+ `@openrig/cli` package. Confirm what actually opened; on a headless host or unavailable display, say so and give the
47
+ person the exact connection/attach step. Opening a terminal is not permission to start or reset seats or provision accounts.
@@ -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.16"
3
+ version: "0.7.17"
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.16"
3
+ version: "0.7.17"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files: