@openrig/cli 0.7.16 → 0.7.18

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 (817) 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/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +5 -0
  11. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
  12. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
  13. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +25 -5
  14. package/daemon/assets/skills/rigs/SKILL.md +95 -42
  15. package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
  16. package/daemon/context-packs/help/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  18. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +123 -35
  19. package/daemon/context-packs/reference/getting-started.md +8 -8
  20. package/daemon/context-packs/reference/manifest.yaml +1 -1
  21. package/daemon/context-packs/reference/rig-spec.md +166 -0
  22. package/daemon/context-packs/reference/whats-new.md +294 -6
  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/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +23 -0
  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/SKILL.md +11 -0
  55. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +25 -5
  78. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  82. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  83. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/claude-code-adapter.js +52 -8
  86. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  88. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  89. package/daemon/dist/adapters/claude-resume.js +17 -7
  90. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  91. package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
  92. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  93. package/daemon/dist/adapters/kernel-authority.js +22 -10
  94. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  95. package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
  96. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  97. package/daemon/dist/adapters/openshell-driver.js +3 -0
  98. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  99. package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
  100. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
  101. package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
  102. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
  103. package/daemon/dist/adapters/pi-runner-protocol.d.ts +43 -0
  104. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  105. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  106. package/daemon/dist/adapters/pi-runner.d.ts +88 -5
  107. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  108. package/daemon/dist/adapters/pi-runner.js +707 -43
  109. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  110. package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
  111. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
  112. package/daemon/dist/adapters/tmux-credential-env.js +14 -0
  113. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
  114. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  115. package/daemon/dist/adapters/tmux-exec.js +4 -3
  116. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  117. package/daemon/dist/adapters/tmux-server.d.ts +2 -2
  118. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  119. package/daemon/dist/adapters/tmux-server.js +12 -4
  120. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  121. package/daemon/dist/adapters/tmux.d.ts +223 -12
  122. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  123. package/daemon/dist/adapters/tmux.js +836 -30
  124. package/daemon/dist/adapters/tmux.js.map +1 -1
  125. package/daemon/dist/attention-surface.d.ts +4 -1
  126. package/daemon/dist/attention-surface.d.ts.map +1 -1
  127. package/daemon/dist/attention-surface.js.map +1 -1
  128. package/daemon/dist/build-info.js +3 -3
  129. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  130. package/daemon/dist/db/all-migrations.js +12 -0
  131. package/daemon/dist/db/all-migrations.js.map +1 -1
  132. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
  133. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
  134. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
  135. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
  136. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
  137. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
  138. package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
  139. package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
  140. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
  141. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
  142. package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
  143. package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
  144. package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
  145. package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
  146. package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
  147. package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
  148. package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
  149. package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
  150. package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
  151. package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
  152. package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
  153. package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
  154. package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
  155. package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
  156. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  157. package/daemon/dist/domain/activity-grants.js +2 -0
  158. package/daemon/dist/domain/activity-grants.js.map +1 -1
  159. package/daemon/dist/domain/agent-activity-store.d.ts +36 -1
  160. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  161. package/daemon/dist/domain/agent-activity-store.js +192 -3
  162. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  163. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
  164. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
  165. package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
  166. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  167. package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
  168. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  169. package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
  170. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  171. package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
  172. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  173. package/daemon/dist/domain/builtin-startup-files.js +73 -34
  174. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  175. package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
  176. package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
  177. package/daemon/dist/domain/claude-auto-mode.js +114 -0
  178. package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
  179. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +2 -0
  180. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  181. package/daemon/dist/domain/claude-compaction-enforcer.js +11 -4
  182. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  183. package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
  184. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  185. package/daemon/dist/domain/claude-continuation-launch.js +51 -2
  186. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  187. package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
  188. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  189. package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
  190. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  191. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  192. package/daemon/dist/domain/codex-daemon-support.js +6 -1
  193. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  194. package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
  195. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  196. package/daemon/dist/domain/codex-thread-id.js +132 -9
  197. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  198. package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
  199. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  200. package/daemon/dist/domain/community-harness-launch-result.js +5 -1
  201. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  202. package/daemon/dist/domain/connection-contract.d.ts +91 -0
  203. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  204. package/daemon/dist/domain/connection-contract.js +75 -1
  205. package/daemon/dist/domain/connection-contract.js.map +1 -1
  206. package/daemon/dist/domain/context-usage-store.d.ts +16 -2
  207. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  208. package/daemon/dist/domain/context-usage-store.js +70 -15
  209. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  210. package/daemon/dist/domain/current-work.d.ts +11 -1
  211. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  212. package/daemon/dist/domain/current-work.js +107 -12
  213. package/daemon/dist/domain/current-work.js.map +1 -1
  214. package/daemon/dist/domain/cwd-resolution.d.ts +2 -0
  215. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  216. package/daemon/dist/domain/cwd-resolution.js +7 -2
  217. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  218. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  219. package/daemon/dist/domain/draft-aware-delivery.js +5 -1
  220. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  221. package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
  222. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  223. package/daemon/dist/domain/environment-lifecycle.js +22 -4
  224. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  225. package/daemon/dist/domain/errors.d.ts +4 -0
  226. package/daemon/dist/domain/errors.d.ts.map +1 -1
  227. package/daemon/dist/domain/errors.js +7 -0
  228. package/daemon/dist/domain/errors.js.map +1 -1
  229. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  230. package/daemon/dist/domain/execution-view.js +8 -1
  231. package/daemon/dist/domain/execution-view.js.map +1 -1
  232. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  233. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  234. package/daemon/dist/domain/existing-rig-restore.js +1 -0
  235. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  236. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
  237. package/daemon/dist/domain/expected-conversation.js +26 -11
  238. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  239. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  240. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  241. package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
  242. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  243. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
  244. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  245. package/daemon/dist/domain/gateway/operator-delivery-engine.js +120 -6
  246. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  247. package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
  248. package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
  249. package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
  250. package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
  251. package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
  252. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  253. package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
  254. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  255. package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
  256. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  257. package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
  258. package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
  259. package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
  260. package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
  261. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -0
  262. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  263. package/daemon/dist/domain/gateway/slack/message.js +4 -1
  264. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  265. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  266. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  268. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
  271. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  272. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
  273. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  274. package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
  275. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  276. package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
  277. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
  278. package/daemon/dist/domain/harness-not-started-notice.js +81 -0
  279. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
  280. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  281. package/daemon/dist/domain/health-diagnosis.js +4 -0
  282. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  283. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  284. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  285. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  286. package/daemon/dist/domain/instance-initialization.d.ts +2 -0
  287. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
  288. package/daemon/dist/domain/instance-initialization.js +2 -1
  289. package/daemon/dist/domain/instance-initialization.js.map +1 -1
  290. package/daemon/dist/domain/member-connection.d.ts +14 -0
  291. package/daemon/dist/domain/member-connection.d.ts.map +1 -0
  292. package/daemon/dist/domain/member-connection.js +34 -0
  293. package/daemon/dist/domain/member-connection.js.map +1 -0
  294. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  295. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
  296. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  297. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
  298. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  299. package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
  300. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  301. package/daemon/dist/domain/native-model-picker.d.ts +2 -0
  302. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
  303. package/daemon/dist/domain/native-model-picker.js +8 -2
  304. package/daemon/dist/domain/native-model-picker.js.map +1 -1
  305. package/daemon/dist/domain/native-permission-store.d.ts +6 -2
  306. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  307. package/daemon/dist/domain/native-permission-store.js +12 -5
  308. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  309. package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
  310. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  311. package/daemon/dist/domain/native-resume-probe.js +172 -21
  312. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  313. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  314. package/daemon/dist/domain/network/network-connector.js +16 -5
  315. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  316. package/daemon/dist/domain/network/network-installations.d.ts +5 -4
  317. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  318. package/daemon/dist/domain/network/network-installations.js +42 -11
  319. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  320. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  321. package/daemon/dist/domain/node-inventory.js +28 -0
  322. package/daemon/dist/domain/node-inventory.js.map +1 -1
  323. package/daemon/dist/domain/node-launcher.d.ts +11 -0
  324. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  325. package/daemon/dist/domain/node-launcher.js +23 -7
  326. package/daemon/dist/domain/node-launcher.js.map +1 -1
  327. package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
  328. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  329. package/daemon/dist/domain/occupant-invalidator.js +10 -2
  330. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  331. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  332. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  333. package/daemon/dist/domain/operation-correlation.js +1 -1
  334. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  335. package/daemon/dist/domain/outbox-handler.d.ts +50 -0
  336. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  337. package/daemon/dist/domain/outbox-handler.js +255 -1
  338. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  339. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  340. package/daemon/dist/domain/parked-query.js +3 -1
  341. package/daemon/dist/domain/parked-query.js.map +1 -1
  342. package/daemon/dist/domain/permission-account.d.ts +28 -1
  343. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  344. package/daemon/dist/domain/permission-account.js +55 -11
  345. package/daemon/dist/domain/permission-account.js.map +1 -1
  346. package/daemon/dist/domain/permission-drift.d.ts +2 -0
  347. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  348. package/daemon/dist/domain/permission-drift.js.map +1 -1
  349. package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
  350. package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
  351. package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
  352. package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
  353. package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
  354. package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
  355. package/daemon/dist/domain/pi-compaction-service.js +229 -0
  356. package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
  357. package/daemon/dist/domain/process-limits.d.ts +37 -0
  358. package/daemon/dist/domain/process-limits.d.ts.map +1 -0
  359. package/daemon/dist/domain/process-limits.js +69 -0
  360. package/daemon/dist/domain/process-limits.js.map +1 -0
  361. package/daemon/dist/domain/process-table.d.ts +9 -0
  362. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  363. package/daemon/dist/domain/process-table.js +21 -4
  364. package/daemon/dist/domain/process-table.js.map +1 -1
  365. package/daemon/dist/domain/proof/judgments.d.ts +7 -0
  366. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  367. package/daemon/dist/domain/proof/judgments.js +27 -1
  368. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  369. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  370. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  371. package/daemon/dist/domain/ps-projection.js +6 -1
  372. package/daemon/dist/domain/ps-projection.js.map +1 -1
  373. package/daemon/dist/domain/queue-erasure.d.ts +18 -7
  374. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  375. package/daemon/dist/domain/queue-erasure.js +270 -41
  376. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  377. package/daemon/dist/domain/queue-repository.d.ts +81 -16
  378. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  379. package/daemon/dist/domain/queue-repository.js +325 -76
  380. package/daemon/dist/domain/queue-repository.js.map +1 -1
  381. package/daemon/dist/domain/queue-stuck-sweep.d.ts +3 -0
  382. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  383. package/daemon/dist/domain/queue-stuck-sweep.js +90 -30
  384. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  385. package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
  386. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  387. package/daemon/dist/domain/queue-transition-log.js +9 -6
  388. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  389. package/daemon/dist/domain/queue-wake-ladder.d.ts +8 -0
  390. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  391. package/daemon/dist/domain/queue-wake-ladder.js +245 -41
  392. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  393. package/daemon/dist/domain/queue-wake-repository.d.ts +2 -1
  394. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  395. package/daemon/dist/domain/queue-wake-repository.js +31 -4
  396. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  397. package/daemon/dist/domain/restore-check-service.d.ts +23 -0
  398. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  399. package/daemon/dist/domain/restore-check-service.js +198 -12
  400. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  401. package/daemon/dist/domain/restore-orchestrator.d.ts +64 -3
  402. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  403. package/daemon/dist/domain/restore-orchestrator.js +335 -82
  404. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  405. package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
  406. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  407. package/daemon/dist/domain/restore-plan-preview.js +17 -5
  408. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  409. package/daemon/dist/domain/restore-preconditions.d.ts +26 -0
  410. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  411. package/daemon/dist/domain/restore-preconditions.js +63 -1
  412. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  413. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  414. package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
  415. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  416. package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
  417. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  418. package/daemon/dist/domain/resume-token-validation.js +6 -3
  419. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  420. package/daemon/dist/domain/return-route.d.ts +73 -0
  421. package/daemon/dist/domain/return-route.d.ts.map +1 -0
  422. package/daemon/dist/domain/return-route.js +124 -0
  423. package/daemon/dist/domain/return-route.js.map +1 -0
  424. package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
  425. package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
  426. package/daemon/dist/domain/rig-delivery-drain.js +128 -0
  427. package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
  428. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  429. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  430. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  431. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  432. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  433. package/daemon/dist/domain/rig-repository.d.ts +12 -0
  434. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  435. package/daemon/dist/domain/rig-repository.js +73 -0
  436. package/daemon/dist/domain/rig-repository.js.map +1 -1
  437. package/daemon/dist/domain/rig-teardown.d.ts +22 -3
  438. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  439. package/daemon/dist/domain/rig-teardown.js +99 -20
  440. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  441. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  442. package/daemon/dist/domain/rigspec-codec.js +9 -0
  443. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  444. package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
  445. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  446. package/daemon/dist/domain/rigspec-exporter.js +30 -0
  447. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  448. package/daemon/dist/domain/rigspec-instantiator.d.ts +22 -2
  449. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  450. package/daemon/dist/domain/rigspec-instantiator.js +82 -23
  451. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  452. package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
  453. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  454. package/daemon/dist/domain/rigspec-preflight.js +16 -1
  455. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  456. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  457. package/daemon/dist/domain/rigspec-schema.js +44 -1
  458. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  459. package/daemon/dist/domain/rosters.d.ts +12 -0
  460. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  461. package/daemon/dist/domain/rosters.js +17 -4
  462. package/daemon/dist/domain/rosters.js.map +1 -1
  463. package/daemon/dist/domain/runner-channel.d.ts +33 -0
  464. package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
  465. package/daemon/dist/domain/runner-channel.js +179 -0
  466. package/daemon/dist/domain/runner-channel.js.map +1 -0
  467. package/daemon/dist/domain/runner-grant-launch.js +2 -2
  468. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  469. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  470. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  471. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  472. package/daemon/dist/domain/runtime-switch-materials.js +4 -3
  473. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  474. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  475. package/daemon/dist/domain/scope/scope-audit.js +55 -3
  476. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  477. package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
  478. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  479. package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
  480. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  481. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  482. package/daemon/dist/domain/seat-delivery-guard.js +2 -1
  483. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  484. package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
  485. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  486. package/daemon/dist/domain/seat-handover-service.js +209 -64
  487. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  488. package/daemon/dist/domain/seat-identity-reconciler.d.ts +8 -1
  489. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  490. package/daemon/dist/domain/seat-identity-reconciler.js +52 -12
  491. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  492. package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
  493. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  494. package/daemon/dist/domain/seat-launch-environment.js +16 -4
  495. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  496. package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -4
  497. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  498. package/daemon/dist/domain/seat-lifecycle-service.js +68 -2
  499. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  500. package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
  501. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  502. package/daemon/dist/domain/seat-restart-in-place.js +34 -2
  503. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  504. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
  505. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  506. package/daemon/dist/domain/seat-runtime-switch-service.js +9 -3
  507. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  508. package/daemon/dist/domain/seat-status-service.d.ts +4 -0
  509. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  510. package/daemon/dist/domain/seat-status-service.js +31 -6
  511. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  512. package/daemon/dist/domain/session-name.d.ts +13 -0
  513. package/daemon/dist/domain/session-name.d.ts.map +1 -1
  514. package/daemon/dist/domain/session-name.js +77 -0
  515. package/daemon/dist/domain/session-name.js.map +1 -1
  516. package/daemon/dist/domain/session-registry.d.ts +7 -1
  517. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  518. package/daemon/dist/domain/session-registry.js +7 -4
  519. package/daemon/dist/domain/session-registry.js.map +1 -1
  520. package/daemon/dist/domain/session-transport.d.ts +16 -3
  521. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  522. package/daemon/dist/domain/session-transport.js +161 -16
  523. package/daemon/dist/domain/session-transport.js.map +1 -1
  524. package/daemon/dist/domain/shared-conversation.d.ts +58 -0
  525. package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
  526. package/daemon/dist/domain/shared-conversation.js +98 -0
  527. package/daemon/dist/domain/shared-conversation.js.map +1 -0
  528. package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
  529. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  530. package/daemon/dist/domain/shared-history-selection.js +3 -1
  531. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  532. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  533. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  534. package/daemon/dist/domain/snapshot-capture.js +19 -12
  535. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  536. package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
  537. package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
  538. package/daemon/dist/domain/startup-phase-timing.js +23 -0
  539. package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
  540. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  541. package/daemon/dist/domain/startup-submission-evidence.js +3 -2
  542. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  543. package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
  544. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  545. package/daemon/dist/domain/successor-session-launcher.js +24 -7
  546. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  547. package/daemon/dist/domain/team-operations.d.ts +6 -6
  548. package/daemon/dist/domain/team-operations.d.ts.map +1 -1
  549. package/daemon/dist/domain/team-operations.js +2 -4
  550. package/daemon/dist/domain/team-operations.js.map +1 -1
  551. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
  552. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
  553. package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
  554. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
  555. package/daemon/dist/domain/terminal-policy.js +1 -1
  556. package/daemon/dist/domain/terminal-policy.js.map +1 -1
  557. package/daemon/dist/domain/types.d.ts +91 -6
  558. package/daemon/dist/domain/types.d.ts.map +1 -1
  559. package/daemon/dist/domain/types.js.map +1 -1
  560. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  561. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  562. package/daemon/dist/domain/user-settings/settings-store.js +6 -0
  563. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  564. package/daemon/dist/domain/watchdog-delivery.d.ts +1 -1
  565. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  566. package/daemon/dist/domain/watchdog-delivery.js +6 -3
  567. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  568. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  569. package/daemon/dist/domain/watchdog-jobs-repository.js +1 -0
  570. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  571. package/daemon/dist/domain/watchdog-policy-engine.d.ts +9 -0
  572. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  573. package/daemon/dist/domain/watchdog-policy-engine.js +42 -5
  574. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  575. package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
  576. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  577. package/daemon/dist/domain/workflow-instance-store.js +6 -4
  578. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  579. package/daemon/dist/domain/workflow-projector.d.ts +48 -0
  580. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  581. package/daemon/dist/domain/workflow-projector.js +160 -90
  582. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  583. package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
  584. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  585. package/daemon/dist/domain/workflow-reconciliation.js +51 -13
  586. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  587. package/daemon/dist/domain/workflow-runtime.d.ts +5 -3
  588. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  589. package/daemon/dist/domain/workflow-runtime.js +48 -22
  590. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  591. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
  592. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  593. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
  594. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  595. package/daemon/dist/gateway-slack-surface.d.ts +2 -2
  596. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  597. package/daemon/dist/gateway-slack-surface.js +1 -1
  598. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  599. package/daemon/dist/index.d.ts.map +1 -1
  600. package/daemon/dist/index.js +13 -2
  601. package/daemon/dist/index.js.map +1 -1
  602. package/daemon/dist/routes/activity.d.ts.map +1 -1
  603. package/daemon/dist/routes/activity.js +105 -2
  604. package/daemon/dist/routes/activity.js.map +1 -1
  605. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  606. package/daemon/dist/routes/agent-images.js +6 -1
  607. package/daemon/dist/routes/agent-images.js.map +1 -1
  608. package/daemon/dist/routes/attention.d.ts.map +1 -1
  609. package/daemon/dist/routes/attention.js +2 -1
  610. package/daemon/dist/routes/attention.js.map +1 -1
  611. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  612. package/daemon/dist/routes/compaction.js +46 -7
  613. package/daemon/dist/routes/compaction.js.map +1 -1
  614. package/daemon/dist/routes/queue.d.ts +4 -1
  615. package/daemon/dist/routes/queue.d.ts.map +1 -1
  616. package/daemon/dist/routes/queue.js +266 -38
  617. package/daemon/dist/routes/queue.js.map +1 -1
  618. package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
  619. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  620. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  621. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  622. package/daemon/dist/routes/restore-check.js +18 -0
  623. package/daemon/dist/routes/restore-check.js.map +1 -1
  624. package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
  625. package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
  626. package/daemon/dist/routes/rig-delivery-drain.js +46 -0
  627. package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
  628. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  629. package/daemon/dist/routes/rigspec.js +24 -4
  630. package/daemon/dist/routes/rigspec.js.map +1 -1
  631. package/daemon/dist/routes/seat.d.ts.map +1 -1
  632. package/daemon/dist/routes/seat.js +107 -6
  633. package/daemon/dist/routes/seat.js.map +1 -1
  634. package/daemon/dist/routes/sessions.js +14 -3
  635. package/daemon/dist/routes/sessions.js.map +1 -1
  636. package/daemon/dist/routes/startup.d.ts.map +1 -1
  637. package/daemon/dist/routes/startup.js +127 -29
  638. package/daemon/dist/routes/startup.js.map +1 -1
  639. package/daemon/dist/routes/up.d.ts.map +1 -1
  640. package/daemon/dist/routes/up.js +16 -4
  641. package/daemon/dist/routes/up.js.map +1 -1
  642. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  643. package/daemon/dist/routes/watchdog.js +18 -1
  644. package/daemon/dist/routes/watchdog.js.map +1 -1
  645. package/daemon/dist/routes/workflow.js +1 -1
  646. package/daemon/dist/routes/workflow.js.map +1 -1
  647. package/daemon/dist/server.d.ts +3 -0
  648. package/daemon/dist/server.d.ts.map +1 -1
  649. package/daemon/dist/server.js +13 -0
  650. package/daemon/dist/server.js.map +1 -1
  651. package/daemon/dist/startup.d.ts.map +1 -1
  652. package/daemon/dist/startup.js +57 -16
  653. package/daemon/dist/startup.js.map +1 -1
  654. package/daemon/docs/reference/agent-startup-guide.md +5 -3
  655. package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
  656. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +139 -5
  657. package/daemon/docs/reference/community-harness-presets.md +2 -0
  658. package/daemon/docs/reference/daemon-http-clients.md +123 -6
  659. package/daemon/docs/reference/getting-started.md +8 -8
  660. package/daemon/docs/reference/harness-runner-contract.md +91 -1
  661. package/daemon/docs/reference/herdr-app.md +6 -0
  662. package/daemon/docs/reference/hosted-members.md +4 -2
  663. package/daemon/docs/reference/network-connector.md +4 -3
  664. package/daemon/docs/reference/queue-erasure.md +16 -1
  665. package/daemon/docs/reference/quickstart.md +2 -2
  666. package/daemon/docs/reference/rig-spec.md +166 -0
  667. package/daemon/docs/reference/rosters.md +9 -0
  668. package/daemon/docs/reference/sdlc-conventions.md +5 -1
  669. package/daemon/docs/reference/slack-app-setup.md +39 -21
  670. package/daemon/docs/reference/whats-new.md +294 -6
  671. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
  672. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  673. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
  674. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  675. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +26 -5
  676. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +92 -18
  677. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
  678. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
  679. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +26 -5
  680. package/dist/acp/connector.js +1 -1
  681. package/dist/acp/connector.js.map +1 -1
  682. package/dist/build-info.js +3 -3
  683. package/dist/cli-error.d.ts.map +1 -1
  684. package/dist/cli-error.js +7 -1
  685. package/dist/cli-error.js.map +1 -1
  686. package/dist/client.d.ts +2 -1
  687. package/dist/client.d.ts.map +1 -1
  688. package/dist/client.js +3 -2
  689. package/dist/client.js.map +1 -1
  690. package/dist/commands/ask.d.ts.map +1 -1
  691. package/dist/commands/ask.js +92 -11
  692. package/dist/commands/ask.js.map +1 -1
  693. package/dist/commands/broadcast.js +9 -5
  694. package/dist/commands/broadcast.js.map +1 -1
  695. package/dist/commands/compact.d.ts +3 -4
  696. package/dist/commands/compact.d.ts.map +1 -1
  697. package/dist/commands/compact.js +76 -16
  698. package/dist/commands/compact.js.map +1 -1
  699. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  700. package/dist/commands/config-init-workspace.js +3 -0
  701. package/dist/commands/config-init-workspace.js.map +1 -1
  702. package/dist/commands/config.d.ts.map +1 -1
  703. package/dist/commands/config.js +2 -0
  704. package/dist/commands/config.js.map +1 -1
  705. package/dist/commands/down.d.ts.map +1 -1
  706. package/dist/commands/down.js +7 -1
  707. package/dist/commands/down.js.map +1 -1
  708. package/dist/commands/environment.js +1 -1
  709. package/dist/commands/environment.js.map +1 -1
  710. package/dist/commands/export.d.ts.map +1 -1
  711. package/dist/commands/export.js +2 -1
  712. package/dist/commands/export.js.map +1 -1
  713. package/dist/commands/fork.d.ts.map +1 -1
  714. package/dist/commands/fork.js +2 -0
  715. package/dist/commands/fork.js.map +1 -1
  716. package/dist/commands/launch.d.ts.map +1 -1
  717. package/dist/commands/launch.js +11 -3
  718. package/dist/commands/launch.js.map +1 -1
  719. package/dist/commands/network.d.ts +2 -0
  720. package/dist/commands/network.d.ts.map +1 -1
  721. package/dist/commands/network.js +14 -1
  722. package/dist/commands/network.js.map +1 -1
  723. package/dist/commands/ps.d.ts +28 -0
  724. package/dist/commands/ps.d.ts.map +1 -1
  725. package/dist/commands/ps.js +76 -2
  726. package/dist/commands/ps.js.map +1 -1
  727. package/dist/commands/queue.d.ts +1 -1
  728. package/dist/commands/queue.d.ts.map +1 -1
  729. package/dist/commands/queue.js +350 -29
  730. package/dist/commands/queue.js.map +1 -1
  731. package/dist/commands/restore.d.ts.map +1 -1
  732. package/dist/commands/restore.js +6 -1
  733. package/dist/commands/restore.js.map +1 -1
  734. package/dist/commands/rig.d.ts +2 -0
  735. package/dist/commands/rig.d.ts.map +1 -1
  736. package/dist/commands/rig.js +36 -2
  737. package/dist/commands/rig.js.map +1 -1
  738. package/dist/commands/roster.d.ts +3 -0
  739. package/dist/commands/roster.d.ts.map +1 -1
  740. package/dist/commands/seat.d.ts.map +1 -1
  741. package/dist/commands/seat.js +128 -9
  742. package/dist/commands/seat.js.map +1 -1
  743. package/dist/commands/send.d.ts.map +1 -1
  744. package/dist/commands/send.js +47 -6
  745. package/dist/commands/send.js.map +1 -1
  746. package/dist/commands/setup.d.ts.map +1 -1
  747. package/dist/commands/setup.js +5 -3
  748. package/dist/commands/setup.js.map +1 -1
  749. package/dist/commands/slack.d.ts +2 -1
  750. package/dist/commands/slack.d.ts.map +1 -1
  751. package/dist/commands/slack.js +38 -2
  752. package/dist/commands/slack.js.map +1 -1
  753. package/dist/commands/terminal.d.ts.map +1 -1
  754. package/dist/commands/terminal.js +5 -5
  755. package/dist/commands/terminal.js.map +1 -1
  756. package/dist/commands/up.d.ts.map +1 -1
  757. package/dist/commands/up.js +10 -0
  758. package/dist/commands/up.js.map +1 -1
  759. package/dist/commands/workflow.d.ts.map +1 -1
  760. package/dist/commands/workflow.js +10 -4
  761. package/dist/commands/workflow.js.map +1 -1
  762. package/dist/config-store.d.ts +3 -1
  763. package/dist/config-store.d.ts.map +1 -1
  764. package/dist/config-store.js +5 -0
  765. package/dist/config-store.js.map +1 -1
  766. package/dist/daemon-lifecycle.d.ts.map +1 -1
  767. package/dist/daemon-lifecycle.js +1 -0
  768. package/dist/daemon-lifecycle.js.map +1 -1
  769. package/dist/lib/bundle-check.d.ts.map +1 -1
  770. package/dist/lib/bundle-check.js +33 -3
  771. package/dist/lib/bundle-check.js.map +1 -1
  772. package/dist/lib/model-observation.d.ts.map +1 -1
  773. package/dist/lib/model-observation.js +9 -3
  774. package/dist/lib/model-observation.js.map +1 -1
  775. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  776. package/dist/lib/scope/scope-audit.js +55 -3
  777. package/dist/lib/scope/scope-audit.js.map +1 -1
  778. package/dist/local-db.d.ts +5 -0
  779. package/dist/local-db.d.ts.map +1 -0
  780. package/dist/local-db.js +23 -0
  781. package/dist/local-db.js.map +1 -0
  782. package/dist/local-origin.d.ts.map +1 -1
  783. package/dist/local-origin.js +2 -17
  784. package/dist/local-origin.js.map +1 -1
  785. package/dist/mcp-server.d.ts.map +1 -1
  786. package/dist/mcp-server.js +170 -27
  787. package/dist/mcp-server.js.map +1 -1
  788. package/dist/person-registration-offer.d.ts.map +1 -1
  789. package/dist/person-registration-offer.js +2 -1
  790. package/dist/person-registration-offer.js.map +1 -1
  791. package/dist/sender-identity.d.ts +18 -6
  792. package/dist/sender-identity.d.ts.map +1 -1
  793. package/dist/sender-identity.js +67 -7
  794. package/dist/sender-identity.js.map +1 -1
  795. package/dist/terminal-window-rex.d.ts +1 -1
  796. package/dist/terminal-window-rex.d.ts.map +1 -1
  797. package/dist/terminal-window-rex.js +3 -2
  798. package/dist/terminal-window-rex.js.map +1 -1
  799. package/dist/terminal-window.js +3 -3
  800. package/dist/terminal-window.js.map +1 -1
  801. package/package.json +2 -2
  802. package/tui/dist/config/config-model.js +1 -1
  803. package/tui/dist/config/config-model.js.map +1 -1
  804. package/tui/dist/daemon-client.d.ts +3 -1
  805. package/tui/dist/daemon-client.d.ts.map +1 -1
  806. package/tui/dist/daemon-client.js +6 -3
  807. package/tui/dist/daemon-client.js.map +1 -1
  808. package/tui/dist/hydrate.d.ts.map +1 -1
  809. package/tui/dist/hydrate.js +31 -1
  810. package/tui/dist/hydrate.js.map +1 -1
  811. package/tui/dist/render.d.ts.map +1 -1
  812. package/tui/dist/render.js +106 -15
  813. package/tui/dist/render.js.map +1 -1
  814. package/tui/dist/types.d.ts +2 -0
  815. package/tui/dist/types.d.ts.map +1 -1
  816. package/ui/dist/assets/{index-BvUEh33d.js → index-1O1f3A7K.js} +55 -55
  817. package/ui/dist/index.html +1 -1
@@ -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,21 @@ 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 with a
180
+ return route ("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. Tell them in a line that this goal's route selects
182
+ this conversation ahead of a Slack connection they've registered; their other work doesn't change. Don't tell
183
+ the operator they'll answer in its pane.
184
+ - **They'll talk to the operator in its pane:** find the `operator.agent` row in `rig ps --nodes --rig kernel --json`,
185
+ take its `canonicalSessionName` (never the logical ID or a guessed name) and send:
186
+ `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>.'`
187
+ - Ask where they want to answer only when it's genuinely unclear, and only once.
188
+
189
+ Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
190
+ permission choice they made, chosen or declined, in either handoff.
178
191
  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
192
+ 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
193
  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
194
  that with the question. Show them where the operator answers, and don't build the project yourself.
182
195
  - **If you start a team yourself** instead of through the operator, do its fit check first. A built-in team can need a
@@ -186,40 +199,64 @@ person needs in their project or home folder and name that path.
186
199
  or you can't tell, say so before launching and let them choose: the operator adapts the team to the logins they have,
187
200
  or they sign in first.
188
201
  - **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.
202
+ route), you're their front door to the team: you hand it the goal, bring its questions to them, its seats' permission
203
+ prompts included, and bring back what it produced and what its latest review found, through the task queue rather
204
+ than the operator's screen.
191
205
  - **Your return address:** if this session joined the team (above), it's the `OPENRIG_SESSION_NAME` that
192
- `rig attach` printed. Otherwise agree one with the person on the kernel's rig, such as `claude-app@kernel` or
193
- `codex-app@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no file is written.
194
- If the person keeps more than one of these conversations, give each its own address (for example
195
- `claude-app-2@kernel`); one address shares its questions.
206
+ `rig attach` printed, and you hand over the goal with `--return-route self`. Otherwise OpenRig issues you one when
207
+ you hand over the goal with `--return-route auto` (below): an address on the kernel's rig, such as
208
+ `conversation-3f2a9c1b7e44@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no
209
+ file is written. If the person keeps more than one of these conversations, each hands over its own goal and gets its
210
+ own address; one address shares its questions.
196
211
  To tell the team what it's for, the person can add it to a roster as a hosted member
197
212
  (`docs/reference/hosted-members.md` in the OpenRig package).
198
- Put it in front of every `rig queue` command: `OPENRIG_SESSION_NAME=<address> rig queue ...` (add
213
+ Once you have it, put it in front of every other `rig queue` command: `OPENRIG_SESSION_NAME=<address> rig queue ...` (add
199
214
  `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). A `--source` name only labels the one task it's
200
215
  on: claiming and answering the team's questions need the address in `OPENRIG_SESSION_NAME`.
201
216
  - **Hand over the goal:** write it to a file with what the message above carries (that you're the agent that
202
217
  installed OpenRig and the person stays with you, the goal, folder, branch, constraints, logins and permission
203
- choices), and end it with this paragraph, filling in your address:
218
+ choices), and end it with this paragraph:
204
219
 
205
- > To ask me anything, create a queue item to `<address>` (`rig queue create --destination <address> ...`), then
220
+ > To ask me anything, create a queue item to my return address, this item's `returnRoute` (`rig queue show <this
221
+ > id> --full` prints it): `rig queue create --destination <that address> ...`, then
206
222
  > 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.
223
+ > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
224
+ > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
225
+ > doing and any escalation's id, unless a question about that prompt is already open at my address. Whoever sent
226
+ > the question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a
227
+ > new answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'`
228
+ > with the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep
229
+ > the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
230
+ > stays a no. If they gave no answer, or their words don't
231
+ > clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
232
+ > and never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
233
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
234
+ > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
235
+ > evidence ref.
210
236
 
211
237
  Then run
212
- `OPENRIG_SESSION_NAME=<address> rig queue create --destination <canonicalSessionName> --summary "<the goal in a sentence>" --body-file <file> --verify`.
213
- Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find this work
214
- again.
215
- - **The team's questions** come to your address as tasks:
238
+ `rig queue create --destination <canonicalSessionName> --return-route auto --summary "<the goal in a sentence>" --body-file <file> --verify`
239
+ (if this session joined, `--return-route self` with your `OPENRIG_SESSION_NAME` in front). It prints
240
+ `Return route: <address>`: that's your address from now on. The goal's handoffs carry it. Bring a seat's prompt in
241
+ this work to this address as a task; it may still not reach you by itself, so check the seats when the person is
242
+ waiting. Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find
243
+ this work again. If the outcome is unknown, repeat the same command with
244
+ `--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
245
+ same address.
246
+ - **When a question arrives at your address as a task,** list the pending work with
216
247
  `OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`. Read each in full
217
248
  (`rig queue show <id> --full`) and show the person the whole question in the team's words. Record only what they
218
249
  tell you, a condition included ("yes, but only on a branch"): claim it, then
219
- `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution "<their words>"`.
250
+ `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution '<their words>'`,
251
+ keeping their words in single quotes and writing each `'` in them as `'\''`, so the shell runs and changes nothing in them.
220
252
  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
253
  asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
222
254
  it open and tell them it's waiting; never answer for them.
255
+ A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat,
256
+ the exact action and the choices it offers, and record their words the same way. The agent that sent it passes
257
+ their answer to the seat, so don't send that prompt's answer yourself as well. A task from OpenRig itself
258
+ (`daemon@kernel`: "<seat> is stopped at a prompt in the work you handed over") is a prompt no agent is relaying:
259
+ capture the seat to show it, record their words on that task, and send their choice yourself, as its text says.
223
260
  - **A question only on the operator's screen:** if the operator asks in its pane and nothing reached your address,
224
261
  read it with `rig capture <canonicalSessionName>`, show the person, and send their words as a new task to the
225
262
  operator that names your task's ID, not as keys typed into its pane.
@@ -232,7 +269,8 @@ person needs in their project or home folder and name that path.
232
269
  `rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
233
270
  owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
234
271
  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.
272
+ - **Nothing wakes this chat** when the team asks or finishes: while its work is open, check your address each time
273
+ the person talks to you, and when they come back.
236
274
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
237
275
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
238
276
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -242,28 +280,38 @@ person needs in their project or home folder and name that path.
242
280
  seat a model their account can run with `rig seat set-model`, then start it again with
243
281
  `rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. Either way the operator starts a
244
282
  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
283
+ - **Installation is finished** when the operator is ready and the person is talking to it or, when they stay with you,
284
+ once the goal has reached it as a task with your return route (read its wake outcome); a healthy daemon alone isn't
246
285
  that. If they'd rather talk later, keep that choice, leave them the exact connection step and say the handoff to the
247
286
  operator is still pending.
248
287
  - **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
249
288
  running in that repository, tell the operator.
250
289
  - **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
290
  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
291
+ - **Bring seat permission prompts to the person here, as questions, for as long as the team works,** whether you or
292
+ the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
254
293
  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
294
  relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
256
295
  seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
257
296
  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
297
+ exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
298
+ open at your address (the operator or a team seat sent it), use that one: record their words on it, and its sender
299
+ passes them on, not you (on OpenRig's own task about it, you pass them on). Once you've recorded them, that prompt stays its sender's to answer even while the seat
300
+ still shows it: don't ask about it again or send anything for it unless the prompt changes or the sender asks you
301
+ 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
302
  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,
303
+ `rig send <seat>@<rig> "<key>" --dangerously-interact --reason 'task <id>: <their choice, in their words>'`, with
304
+ the goal's task ID (leave out `task <id>:` when there's no task), where `<key>` is the digit or letter that capture
305
+ shows for their choice, never their words: the text is typed as keys, and a letter can pick a menu's shortcut. Keep
306
+ the reason in single quotes, so the shell runs nothing in their words and the record keeps them as they wrote them;
307
+ write each `'` in them as `'\''`. If
308
+ the screen shows no key for their choice, ask them. If they give no answer, or their words don't clearly pick one
309
+ choice (a condition the action doesn't plainly meet, say), ask them again before sending anything; a no stays a
310
+ no. When their choice is Escape,
264
311
  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,
312
+ `rig send <seat>@<rig> $'\e' --dangerously-interact --reason 'task <id>: <their choice, in their words>'`. It's sent
313
+ once, with no Enter added. Then capture the seat and check the effect before sending anything more; never send or
314
+ resend an answer while its effect is unknown. Never answer a prompt on your own and record it as theirs,
267
315
  even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
268
316
  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
317
  kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
@@ -332,10 +380,15 @@ Follow these steps by default. Only when the person declined the Codex offer abo
332
380
  and report what the record says; `rig capture <seat>@<rig>` only shows what an agent is doing right now. Then read
333
381
  what it produced and tell the person what the team actually did (the branch, commit, review or PR text), not just
334
382
  that you sent it.
383
+ - **Read the latest review before you say it's done:** find the newest review of that work on the chain and tell the
384
+ person its outcome. Work a review sent back with something to fix isn't done, even if a commit exists: say what
385
+ the review asked for, and follow the work until a later review clears it or the person decides.
335
386
  - **Give the team more work:** write the goal to a file: what to change, in which repository and branch, what done
336
387
  looks like, and that the result comes back to you (the branch or commit, the review, any PR text), ending with the
337
388
  reply paragraph above. Then
338
- `OPENRIG_SESSION_NAME=<address> rig queue create --destination <seat>@<rig> --summary "<the goal in a sentence>" --body-file <file> --verify`.
389
+ `OPENRIG_SESSION_NAME=<address> rig queue create --destination <seat>@<rig> --return-route self --summary "<the goal in a sentence>" --body-file <file> --verify`.
390
+ Each goal carries its own route: without `--return-route self`, its seats' prompts don't come to you, and the
391
+ `returnRoute` the reply paragraph points the team to is empty.
339
392
  A message informs, and a queue task is the work someone owns. Read its wake outcome as above before you send
340
393
  anything else.
341
394
  - **Then ask what's next.** If no team can take the work, fix that or ask the person. Don't quietly do it yourself.
@@ -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 with a return route 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 with your return route, 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.18"
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.18"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files: