@openrig/cli 0.7.17 → 0.7.19

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 (986) hide show
  1. package/README.md +7 -6
  2. package/daemon/assets/claude-hook-bridge.cjs +146 -0
  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-core/.claude-plugin/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/README.md +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/claude.json +14 -14
  11. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +43 -22
  12. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +6 -0
  13. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
  14. package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +1 -1
  15. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
  16. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +95 -7
  17. package/daemon/assets/skills/rigs/SKILL.md +68 -33
  18. package/daemon/assets/skills/rigs/references/installing-for-someone.md +2 -2
  19. package/daemon/context-packs/help/manifest.yaml +1 -1
  20. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  21. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +57 -14
  22. package/daemon/context-packs/reference/getting-started.md +9 -4
  23. package/daemon/context-packs/reference/manifest.yaml +1 -1
  24. package/daemon/context-packs/reference/rig-spec.md +197 -1
  25. package/daemon/context-packs/reference/whats-new.md +187 -15
  26. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +23 -0
  35. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/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/SKILL.md +1 -1
  53. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/openrig-user/SKILL.md +11 -0
  56. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +95 -7
  79. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  83. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  84. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  85. package/daemon/dist/adapters/claude-code-adapter.d.ts +9 -0
  86. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  87. package/daemon/dist/adapters/claude-code-adapter.js +57 -9
  88. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  89. package/daemon/dist/adapters/claude-resume.d.ts +4 -1
  90. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  91. package/daemon/dist/adapters/claude-resume.js +15 -5
  92. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  93. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -0
  94. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  95. package/daemon/dist/adapters/codex-runtime-adapter.js +45 -10
  96. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  97. package/daemon/dist/adapters/kernel-authority.d.ts +8 -1
  98. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  99. package/daemon/dist/adapters/kernel-authority.js +45 -10
  100. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  101. package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
  102. package/daemon/dist/adapters/pi-resume.js +5 -7
  103. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  104. package/daemon/dist/adapters/pi-runner-protocol.d.ts +47 -0
  105. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  106. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  107. package/daemon/dist/adapters/pi-runner.d.ts +84 -1
  108. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  109. package/daemon/dist/adapters/pi-runner.js +799 -16
  110. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  111. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +7 -1
  112. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  113. package/daemon/dist/adapters/pi-runtime-adapter.js +29 -19
  114. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  115. package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
  116. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
  117. package/daemon/dist/adapters/tmux-credential-env.js +14 -0
  118. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
  119. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  120. package/daemon/dist/adapters/tmux-exec.js +4 -3
  121. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  122. package/daemon/dist/adapters/tmux-server.d.ts +2 -2
  123. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  124. package/daemon/dist/adapters/tmux-server.js +12 -4
  125. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  126. package/daemon/dist/adapters/tmux.d.ts +242 -14
  127. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  128. package/daemon/dist/adapters/tmux.js +966 -34
  129. package/daemon/dist/adapters/tmux.js.map +1 -1
  130. package/daemon/dist/attention-surface.d.ts +4 -1
  131. package/daemon/dist/attention-surface.d.ts.map +1 -1
  132. package/daemon/dist/attention-surface.js.map +1 -1
  133. package/daemon/dist/build-info.js +3 -3
  134. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  135. package/daemon/dist/db/all-migrations.js +14 -0
  136. package/daemon/dist/db/all-migrations.js.map +1 -1
  137. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
  138. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
  139. package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
  140. package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
  141. package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
  142. package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
  143. package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
  144. package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
  145. package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts +5 -0
  146. package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts.map +1 -0
  147. package/daemon/dist/db/migrations/171_seat_hook_bridge.js +25 -0
  148. package/daemon/dist/db/migrations/171_seat_hook_bridge.js.map +1 -0
  149. package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
  150. package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
  151. package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
  152. package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
  153. package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
  154. package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
  155. package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
  156. package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
  157. package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts +6 -0
  158. package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts.map +1 -0
  159. package/daemon/dist/db/migrations/174_session_launched_cwd.js +8 -0
  160. package/daemon/dist/db/migrations/174_session_launched_cwd.js.map +1 -0
  161. package/daemon/dist/db/migrations/175_core_app_access.d.ts +3 -0
  162. package/daemon/dist/db/migrations/175_core_app_access.d.ts.map +1 -0
  163. package/daemon/dist/db/migrations/175_core_app_access.js +26 -0
  164. package/daemon/dist/db/migrations/175_core_app_access.js.map +1 -0
  165. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  166. package/daemon/dist/domain/activity-grants.js +8 -4
  167. package/daemon/dist/domain/activity-grants.js.map +1 -1
  168. package/daemon/dist/domain/agent-activity-store.d.ts +59 -1
  169. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  170. package/daemon/dist/domain/agent-activity-store.js +250 -4
  171. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  172. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
  173. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
  174. package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
  175. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  176. package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
  177. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  178. package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
  179. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  180. package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
  181. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  182. package/daemon/dist/domain/builtin-startup-files.js +73 -34
  183. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  184. package/daemon/dist/domain/claude-activity-hooks.d.ts +4 -2
  185. package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
  186. package/daemon/dist/domain/claude-activity-hooks.js +5 -3
  187. package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
  188. package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
  189. package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
  190. package/daemon/dist/domain/claude-auto-mode.js +114 -0
  191. package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
  192. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +66 -3
  193. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  194. package/daemon/dist/domain/claude-compaction-enforcer.js +214 -10
  195. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  196. package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
  197. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  198. package/daemon/dist/domain/claude-continuation-launch.js +51 -2
  199. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  200. package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
  201. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  202. package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
  203. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  204. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  205. package/daemon/dist/domain/codex-daemon-support.js +6 -1
  206. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  207. package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
  208. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  209. package/daemon/dist/domain/community-harness-launch-result.js +5 -1
  210. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  211. package/daemon/dist/domain/compaction-restore-notice.d.ts +3 -1
  212. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  213. package/daemon/dist/domain/compaction-restore-notice.js +22 -3
  214. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  215. package/daemon/dist/domain/configured-account.d.ts +3 -0
  216. package/daemon/dist/domain/configured-account.d.ts.map +1 -0
  217. package/daemon/dist/domain/configured-account.js +10 -0
  218. package/daemon/dist/domain/configured-account.js.map +1 -0
  219. package/daemon/dist/domain/connection-contract.d.ts +91 -0
  220. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  221. package/daemon/dist/domain/connection-contract.js +73 -0
  222. package/daemon/dist/domain/connection-contract.js.map +1 -1
  223. package/daemon/dist/domain/context-usage-store.d.ts +5 -0
  224. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  225. package/daemon/dist/domain/context-usage-store.js +37 -2
  226. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  227. package/daemon/dist/domain/core-app-access.d.ts +51 -0
  228. package/daemon/dist/domain/core-app-access.d.ts.map +1 -0
  229. package/daemon/dist/domain/core-app-access.js +107 -0
  230. package/daemon/dist/domain/core-app-access.js.map +1 -0
  231. package/daemon/dist/domain/core-app-job.d.ts +411 -0
  232. package/daemon/dist/domain/core-app-job.d.ts.map +1 -0
  233. package/daemon/dist/domain/core-app-job.js +537 -0
  234. package/daemon/dist/domain/core-app-job.js.map +1 -0
  235. package/daemon/dist/domain/current-park-arm.d.ts +4 -0
  236. package/daemon/dist/domain/current-park-arm.d.ts.map +1 -0
  237. package/daemon/dist/domain/current-park-arm.js +14 -0
  238. package/daemon/dist/domain/current-park-arm.js.map +1 -0
  239. package/daemon/dist/domain/current-work.d.ts +6 -1
  240. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  241. package/daemon/dist/domain/current-work.js +41 -8
  242. package/daemon/dist/domain/current-work.js.map +1 -1
  243. package/daemon/dist/domain/cwd-resolution.d.ts +14 -0
  244. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  245. package/daemon/dist/domain/cwd-resolution.js +28 -3
  246. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  247. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  248. package/daemon/dist/domain/draft-aware-delivery.js +5 -1
  249. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  250. package/daemon/dist/domain/errors.d.ts +4 -0
  251. package/daemon/dist/domain/errors.d.ts.map +1 -1
  252. package/daemon/dist/domain/errors.js +7 -0
  253. package/daemon/dist/domain/errors.js.map +1 -1
  254. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  255. package/daemon/dist/domain/execution-view.js +17 -4
  256. package/daemon/dist/domain/execution-view.js.map +1 -1
  257. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  258. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  259. package/daemon/dist/domain/existing-rig-restore.js +1 -0
  260. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  261. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  262. package/daemon/dist/domain/gateway/operator-delivery-engine.js +107 -3
  263. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  264. package/daemon/dist/domain/gateway/participants.d.ts +2 -0
  265. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
  266. package/daemon/dist/domain/gateway/participants.js +5 -1
  267. package/daemon/dist/domain/gateway/participants.js.map +1 -1
  268. package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
  269. package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
  271. package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
  272. package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
  273. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  274. package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
  275. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  276. package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
  277. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  278. package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
  279. package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
  280. package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
  281. package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
  282. package/daemon/dist/domain/gateway/slack/message.d.ts +2 -0
  283. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  284. package/daemon/dist/domain/gateway/slack/message.js +41 -18
  285. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  286. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  287. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  288. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  289. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  290. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  291. package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
  292. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  293. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
  294. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  295. package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
  296. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  297. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +1 -0
  298. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  299. package/daemon/dist/domain/gateway/slack/slack-delivery.js +2 -0
  300. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  301. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +4 -0
  302. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  303. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +26 -2
  304. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  305. package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
  306. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
  307. package/daemon/dist/domain/harness-not-started-notice.js +81 -0
  308. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
  309. package/daemon/dist/domain/hook-bridge.d.ts +345 -0
  310. package/daemon/dist/domain/hook-bridge.d.ts.map +1 -0
  311. package/daemon/dist/domain/hook-bridge.js +547 -0
  312. package/daemon/dist/domain/hook-bridge.js.map +1 -0
  313. package/daemon/dist/domain/hosted-wake.d.ts +9 -0
  314. package/daemon/dist/domain/hosted-wake.d.ts.map +1 -1
  315. package/daemon/dist/domain/hosted-wake.js +45 -6
  316. package/daemon/dist/domain/hosted-wake.js.map +1 -1
  317. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  318. package/daemon/dist/domain/human-ask-attention.d.ts +10 -0
  319. package/daemon/dist/domain/human-ask-attention.d.ts.map +1 -0
  320. package/daemon/dist/domain/human-ask-attention.js +22 -0
  321. package/daemon/dist/domain/human-ask-attention.js.map +1 -0
  322. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  323. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  324. package/daemon/dist/domain/instance-initialization.d.ts +2 -0
  325. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
  326. package/daemon/dist/domain/instance-initialization.js +2 -1
  327. package/daemon/dist/domain/instance-initialization.js.map +1 -1
  328. package/daemon/dist/domain/member-connection.d.ts +14 -0
  329. package/daemon/dist/domain/member-connection.d.ts.map +1 -0
  330. package/daemon/dist/domain/member-connection.js +34 -0
  331. package/daemon/dist/domain/member-connection.js.map +1 -0
  332. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +4 -0
  333. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -1
  334. package/daemon/dist/domain/mission-control/mission-control-action-log.js +8 -1
  335. package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -1
  336. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +10 -0
  337. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  338. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +64 -12
  339. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  340. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
  341. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  342. package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
  343. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  344. package/daemon/dist/domain/native-continuation-notice.d.ts +16 -0
  345. package/daemon/dist/domain/native-continuation-notice.d.ts.map +1 -0
  346. package/daemon/dist/domain/native-continuation-notice.js +79 -0
  347. package/daemon/dist/domain/native-continuation-notice.js.map +1 -0
  348. package/daemon/dist/domain/native-permission-store.d.ts +6 -2
  349. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  350. package/daemon/dist/domain/native-permission-store.js +12 -5
  351. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  352. package/daemon/dist/domain/native-process-lineage.d.ts +16 -0
  353. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  354. package/daemon/dist/domain/native-process-lineage.js +48 -3
  355. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  356. package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
  357. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  358. package/daemon/dist/domain/native-resume-probe.js +94 -10
  359. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  360. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  361. package/daemon/dist/domain/network/network-connector.js +11 -2
  362. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  363. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  364. package/daemon/dist/domain/node-inventory.js +55 -6
  365. package/daemon/dist/domain/node-inventory.js.map +1 -1
  366. package/daemon/dist/domain/node-launcher.d.ts +14 -0
  367. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  368. package/daemon/dist/domain/node-launcher.js +35 -6
  369. package/daemon/dist/domain/node-launcher.js.map +1 -1
  370. package/daemon/dist/domain/outbox-handler.d.ts +69 -1
  371. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  372. package/daemon/dist/domain/outbox-handler.js +337 -3
  373. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  374. package/daemon/dist/domain/park-wake-text.d.ts +18 -0
  375. package/daemon/dist/domain/park-wake-text.d.ts.map +1 -1
  376. package/daemon/dist/domain/park-wake-text.js +44 -0
  377. package/daemon/dist/domain/park-wake-text.js.map +1 -1
  378. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  379. package/daemon/dist/domain/parked-query.js +3 -1
  380. package/daemon/dist/domain/parked-query.js.map +1 -1
  381. package/daemon/dist/domain/permission-account.d.ts +28 -1
  382. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  383. package/daemon/dist/domain/permission-account.js +55 -11
  384. package/daemon/dist/domain/permission-account.js.map +1 -1
  385. package/daemon/dist/domain/permission-drift.d.ts +2 -0
  386. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  387. package/daemon/dist/domain/permission-drift.js.map +1 -1
  388. package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
  389. package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
  390. package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
  391. package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
  392. package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
  393. package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
  394. package/daemon/dist/domain/pi-compaction-service.js +229 -0
  395. package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
  396. package/daemon/dist/domain/policies/idle-gate-qitem.d.ts +3 -0
  397. package/daemon/dist/domain/policies/idle-gate-qitem.d.ts.map +1 -1
  398. package/daemon/dist/domain/policies/idle-gate-qitem.js +15 -0
  399. package/daemon/dist/domain/policies/idle-gate-qitem.js.map +1 -1
  400. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +6 -1
  401. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  402. package/daemon/dist/domain/policies/parked-owner-consumer.js +28 -1
  403. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  404. package/daemon/dist/domain/process-limits.d.ts +47 -0
  405. package/daemon/dist/domain/process-limits.d.ts.map +1 -0
  406. package/daemon/dist/domain/process-limits.js +123 -0
  407. package/daemon/dist/domain/process-limits.js.map +1 -0
  408. package/daemon/dist/domain/process-table.d.ts +24 -0
  409. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  410. package/daemon/dist/domain/process-table.js +60 -4
  411. package/daemon/dist/domain/process-table.js.map +1 -1
  412. package/daemon/dist/domain/proof/judgments.d.ts +7 -0
  413. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  414. package/daemon/dist/domain/proof/judgments.js +27 -1
  415. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  416. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  417. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  418. package/daemon/dist/domain/ps-projection.js +6 -1
  419. package/daemon/dist/domain/ps-projection.js.map +1 -1
  420. package/daemon/dist/domain/queue-erasure.d.ts +11 -6
  421. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  422. package/daemon/dist/domain/queue-erasure.js +47 -21
  423. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  424. package/daemon/dist/domain/queue-repository.d.ts +122 -21
  425. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  426. package/daemon/dist/domain/queue-repository.js +448 -101
  427. package/daemon/dist/domain/queue-repository.js.map +1 -1
  428. package/daemon/dist/domain/queue-stuck-sweep.d.ts +5 -0
  429. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  430. package/daemon/dist/domain/queue-stuck-sweep.js +74 -13
  431. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  432. package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
  433. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  434. package/daemon/dist/domain/queue-transition-log.js +9 -6
  435. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  436. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  437. package/daemon/dist/domain/queue-waiting.js +28 -3
  438. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  439. package/daemon/dist/domain/queue-wake-ladder.d.ts +20 -0
  440. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  441. package/daemon/dist/domain/queue-wake-ladder.js +264 -25
  442. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  443. package/daemon/dist/domain/queue-wake-repository.d.ts +10 -1
  444. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  445. package/daemon/dist/domain/queue-wake-repository.js +79 -12
  446. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  447. package/daemon/dist/domain/reconciler.d.ts +18 -2
  448. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  449. package/daemon/dist/domain/reconciler.js +40 -0
  450. package/daemon/dist/domain/reconciler.js.map +1 -1
  451. package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -1
  452. package/daemon/dist/domain/restore-attempt-receipt.js +3 -2
  453. package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -1
  454. package/daemon/dist/domain/restore-check-service.d.ts +10 -0
  455. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  456. package/daemon/dist/domain/restore-check-service.js +76 -3
  457. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  458. package/daemon/dist/domain/restore-orchestrator.d.ts +65 -3
  459. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  460. package/daemon/dist/domain/restore-orchestrator.js +311 -55
  461. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  462. package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
  463. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  464. package/daemon/dist/domain/restore-plan-preview.js +17 -5
  465. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  466. package/daemon/dist/domain/restore-preconditions.d.ts +24 -0
  467. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  468. package/daemon/dist/domain/restore-preconditions.js +61 -1
  469. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  470. package/daemon/dist/domain/restore-topology.d.ts +7 -1
  471. package/daemon/dist/domain/restore-topology.d.ts.map +1 -1
  472. package/daemon/dist/domain/restore-topology.js +21 -0
  473. package/daemon/dist/domain/restore-topology.js.map +1 -1
  474. package/daemon/dist/domain/resume-metadata-refresher.d.ts +2 -3
  475. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  476. package/daemon/dist/domain/resume-metadata-refresher.js +6 -25
  477. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  478. package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
  479. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  480. package/daemon/dist/domain/resume-token-validation.js +6 -3
  481. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  482. package/daemon/dist/domain/return-route.d.ts +73 -0
  483. package/daemon/dist/domain/return-route.d.ts.map +1 -0
  484. package/daemon/dist/domain/return-route.js +124 -0
  485. package/daemon/dist/domain/return-route.js.map +1 -0
  486. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  487. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  488. package/daemon/dist/domain/rig-repository.d.ts +12 -0
  489. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  490. package/daemon/dist/domain/rig-repository.js +74 -0
  491. package/daemon/dist/domain/rig-repository.js.map +1 -1
  492. package/daemon/dist/domain/rig-teardown.d.ts +20 -5
  493. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  494. package/daemon/dist/domain/rig-teardown.js +105 -22
  495. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  496. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  497. package/daemon/dist/domain/rigspec-codec.js +9 -0
  498. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  499. package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
  500. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  501. package/daemon/dist/domain/rigspec-exporter.js +30 -0
  502. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  503. package/daemon/dist/domain/rigspec-instantiator.d.ts +27 -2
  504. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  505. package/daemon/dist/domain/rigspec-instantiator.js +95 -26
  506. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  507. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  508. package/daemon/dist/domain/rigspec-schema.js +44 -1
  509. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  510. package/daemon/dist/domain/rosters.d.ts +23 -0
  511. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  512. package/daemon/dist/domain/rosters.js +37 -5
  513. package/daemon/dist/domain/rosters.js.map +1 -1
  514. package/daemon/dist/domain/runner-channel.d.ts +65 -0
  515. package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
  516. package/daemon/dist/domain/runner-channel.js +348 -0
  517. package/daemon/dist/domain/runner-channel.js.map +1 -0
  518. package/daemon/dist/domain/runner-grant-launch.js +2 -2
  519. package/daemon/dist/domain/runner-permissions.d.ts +26 -3
  520. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  521. package/daemon/dist/domain/runner-permissions.js +160 -39
  522. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  523. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  524. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  525. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  526. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  527. package/daemon/dist/domain/runtime-switch-materials.js +4 -3
  528. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  529. package/daemon/dist/domain/scope/mission-parent.d.ts +19 -0
  530. package/daemon/dist/domain/scope/mission-parent.d.ts.map +1 -0
  531. package/daemon/dist/domain/scope/mission-parent.js +134 -0
  532. package/daemon/dist/domain/scope/mission-parent.js.map +1 -0
  533. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  534. package/daemon/dist/domain/scope/scope-audit.js +63 -3
  535. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  536. package/daemon/dist/domain/scope/types.d.ts +3 -1
  537. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  538. package/daemon/dist/domain/scope/types.js +5 -1
  539. package/daemon/dist/domain/scope/types.js.map +1 -1
  540. package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
  541. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  542. package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
  543. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  544. package/daemon/dist/domain/seat-delivery-guard.d.ts +14 -2
  545. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  546. package/daemon/dist/domain/seat-delivery-guard.js +55 -15
  547. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  548. package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
  549. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  550. package/daemon/dist/domain/seat-handover-service.js +210 -65
  551. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  552. package/daemon/dist/domain/seat-identity-reconciler.d.ts +12 -4
  553. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  554. package/daemon/dist/domain/seat-identity-reconciler.js +92 -17
  555. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  556. package/daemon/dist/domain/seat-lifecycle-service.d.ts +31 -6
  557. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  558. package/daemon/dist/domain/seat-lifecycle-service.js +172 -24
  559. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  560. package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
  561. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  562. package/daemon/dist/domain/seat-restart-in-place.js +38 -3
  563. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  564. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
  565. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  566. package/daemon/dist/domain/seat-runtime-switch-service.js +11 -3
  567. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  568. package/daemon/dist/domain/seat-skill-apply.d.ts +1 -1
  569. package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -1
  570. package/daemon/dist/domain/seat-skill-apply.js +3 -2
  571. package/daemon/dist/domain/seat-skill-apply.js.map +1 -1
  572. package/daemon/dist/domain/seat-status-service.d.ts +4 -0
  573. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  574. package/daemon/dist/domain/seat-status-service.js +31 -6
  575. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  576. package/daemon/dist/domain/session-registry.d.ts +5 -1
  577. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  578. package/daemon/dist/domain/session-registry.js +12 -1
  579. package/daemon/dist/domain/session-registry.js.map +1 -1
  580. package/daemon/dist/domain/session-transport.d.ts +56 -4
  581. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  582. package/daemon/dist/domain/session-transport.js +344 -18
  583. package/daemon/dist/domain/session-transport.js.map +1 -1
  584. package/daemon/dist/domain/shared-conversation.d.ts +58 -0
  585. package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
  586. package/daemon/dist/domain/shared-conversation.js +98 -0
  587. package/daemon/dist/domain/shared-conversation.js.map +1 -0
  588. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  589. package/daemon/dist/domain/shared-history-selection.js +9 -5
  590. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  591. package/daemon/dist/domain/slices/slice-indexer.d.ts +1 -1
  592. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  593. package/daemon/dist/domain/slices/slice-indexer.js +4 -0
  594. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  595. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
  596. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  597. package/daemon/dist/domain/startup-orchestrator.js +6 -4
  598. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  599. package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
  600. package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
  601. package/daemon/dist/domain/startup-phase-timing.js +23 -0
  602. package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
  603. package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
  604. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  605. package/daemon/dist/domain/successor-session-launcher.js +33 -10
  606. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  607. package/daemon/dist/domain/team-operations.d.ts +6 -6
  608. package/daemon/dist/domain/team-operations.d.ts.map +1 -1
  609. package/daemon/dist/domain/team-operations.js +2 -4
  610. package/daemon/dist/domain/team-operations.js.map +1 -1
  611. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +35 -1
  612. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  613. package/daemon/dist/domain/terminal/herdr-adapter.js +231 -33
  614. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  615. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
  616. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
  617. package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
  618. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
  619. package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
  620. package/daemon/dist/domain/terminal/herdr-sessions.js +2 -1
  621. package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
  622. package/daemon/dist/domain/terminal/rig-viewer-records.d.ts +59 -0
  623. package/daemon/dist/domain/terminal/rig-viewer-records.d.ts.map +1 -0
  624. package/daemon/dist/domain/terminal/rig-viewer-records.js +210 -0
  625. package/daemon/dist/domain/terminal/rig-viewer-records.js.map +1 -0
  626. package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
  627. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  628. package/daemon/dist/domain/terminal/terminal-service.d.ts +99 -4
  629. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  630. package/daemon/dist/domain/terminal/terminal-service.js +556 -36
  631. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  632. package/daemon/dist/domain/terminal/tile-layout.js +1 -1
  633. package/daemon/dist/domain/terminal/tile-layout.js.map +1 -1
  634. package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts +25 -0
  635. package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts.map +1 -0
  636. package/daemon/dist/domain/terminal/tmux-viewer-guard.js +70 -0
  637. package/daemon/dist/domain/terminal/tmux-viewer-guard.js.map +1 -0
  638. package/daemon/dist/domain/terminal-policy.js +1 -1
  639. package/daemon/dist/domain/terminal-policy.js.map +1 -1
  640. package/daemon/dist/domain/transcript-grep-worker.d.ts +2 -0
  641. package/daemon/dist/domain/transcript-grep-worker.d.ts.map +1 -0
  642. package/daemon/dist/domain/transcript-grep-worker.js +108 -0
  643. package/daemon/dist/domain/transcript-grep-worker.js.map +1 -0
  644. package/daemon/dist/domain/transcript-grep.d.ts +26 -0
  645. package/daemon/dist/domain/transcript-grep.d.ts.map +1 -0
  646. package/daemon/dist/domain/transcript-grep.js +90 -0
  647. package/daemon/dist/domain/transcript-grep.js.map +1 -0
  648. package/daemon/dist/domain/transcript-store.d.ts +8 -2
  649. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  650. package/daemon/dist/domain/transcript-store.js +10 -60
  651. package/daemon/dist/domain/transcript-store.js.map +1 -1
  652. package/daemon/dist/domain/types.d.ts +149 -5
  653. package/daemon/dist/domain/types.d.ts.map +1 -1
  654. package/daemon/dist/domain/types.js.map +1 -1
  655. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +4 -0
  656. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -1
  657. package/daemon/dist/domain/watchdog-delivery-receipts.js +35 -2
  658. package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -1
  659. package/daemon/dist/domain/watchdog-delivery.d.ts +45 -1
  660. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  661. package/daemon/dist/domain/watchdog-delivery.js +66 -5
  662. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  663. package/daemon/dist/domain/watchdog-history-log.d.ts +12 -0
  664. package/daemon/dist/domain/watchdog-history-log.d.ts.map +1 -1
  665. package/daemon/dist/domain/watchdog-history-log.js +19 -1
  666. package/daemon/dist/domain/watchdog-history-log.js.map +1 -1
  667. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +32 -0
  668. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  669. package/daemon/dist/domain/watchdog-jobs-repository.js +79 -0
  670. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  671. package/daemon/dist/domain/watchdog-policy-engine.d.ts +22 -3
  672. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  673. package/daemon/dist/domain/watchdog-policy-engine.js +33 -9
  674. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  675. package/daemon/dist/domain/workflow-projector.js +1 -1
  676. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  677. package/daemon/dist/domain/workflow-runtime.d.ts +13 -1
  678. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  679. package/daemon/dist/domain/workflow-runtime.js +68 -9
  680. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  681. package/daemon/dist/domain/workflow-step-trail-log.d.ts +2 -2
  682. package/daemon/dist/domain/workflow-step-trail-log.d.ts.map +1 -1
  683. package/daemon/dist/domain/workflow-step-trail-log.js.map +1 -1
  684. package/daemon/dist/domain/workflow-types.d.ts +3 -1
  685. package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  686. package/daemon/dist/domain/workflow-types.js.map +1 -1
  687. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
  688. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  689. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
  690. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  691. package/daemon/dist/gateway-slack-surface.d.ts +2 -2
  692. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  693. package/daemon/dist/gateway-slack-surface.js +1 -1
  694. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  695. package/daemon/dist/index.d.ts.map +1 -1
  696. package/daemon/dist/index.js +17 -2
  697. package/daemon/dist/index.js.map +1 -1
  698. package/daemon/dist/lib/pane-envelope.d.ts +3 -0
  699. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  700. package/daemon/dist/lib/pane-envelope.js +3 -1
  701. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  702. package/daemon/dist/mission-parent-surface.d.ts +2 -0
  703. package/daemon/dist/mission-parent-surface.d.ts.map +1 -0
  704. package/daemon/dist/mission-parent-surface.js +2 -0
  705. package/daemon/dist/mission-parent-surface.js.map +1 -0
  706. package/daemon/dist/routes/activity.d.ts +18 -1
  707. package/daemon/dist/routes/activity.d.ts.map +1 -1
  708. package/daemon/dist/routes/activity.js +150 -9
  709. package/daemon/dist/routes/activity.js.map +1 -1
  710. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  711. package/daemon/dist/routes/agent-images.js +6 -1
  712. package/daemon/dist/routes/agent-images.js.map +1 -1
  713. package/daemon/dist/routes/attention.d.ts.map +1 -1
  714. package/daemon/dist/routes/attention.js +194 -176
  715. package/daemon/dist/routes/attention.js.map +1 -1
  716. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  717. package/daemon/dist/routes/compaction.js +46 -7
  718. package/daemon/dist/routes/compaction.js.map +1 -1
  719. package/daemon/dist/routes/core-app.d.ts +10 -0
  720. package/daemon/dist/routes/core-app.d.ts.map +1 -0
  721. package/daemon/dist/routes/core-app.js +175 -0
  722. package/daemon/dist/routes/core-app.js.map +1 -0
  723. package/daemon/dist/routes/hook-bridge.d.ts +3 -0
  724. package/daemon/dist/routes/hook-bridge.d.ts.map +1 -0
  725. package/daemon/dist/routes/hook-bridge.js +158 -0
  726. package/daemon/dist/routes/hook-bridge.js.map +1 -0
  727. package/daemon/dist/routes/missions.d.ts.map +1 -1
  728. package/daemon/dist/routes/missions.js +14 -2
  729. package/daemon/dist/routes/missions.js.map +1 -1
  730. package/daemon/dist/routes/queue.d.ts +4 -1
  731. package/daemon/dist/routes/queue.d.ts.map +1 -1
  732. package/daemon/dist/routes/queue.js +239 -38
  733. package/daemon/dist/routes/queue.js.map +1 -1
  734. package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
  735. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  736. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  737. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  738. package/daemon/dist/routes/restore-check.js +1 -0
  739. package/daemon/dist/routes/restore-check.js.map +1 -1
  740. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  741. package/daemon/dist/routes/rigspec.js +24 -4
  742. package/daemon/dist/routes/rigspec.js.map +1 -1
  743. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  744. package/daemon/dist/routes/scope-audit.js +7 -1
  745. package/daemon/dist/routes/scope-audit.js.map +1 -1
  746. package/daemon/dist/routes/seat.d.ts.map +1 -1
  747. package/daemon/dist/routes/seat.js +133 -6
  748. package/daemon/dist/routes/seat.js.map +1 -1
  749. package/daemon/dist/routes/sessions.js +14 -3
  750. package/daemon/dist/routes/sessions.js.map +1 -1
  751. package/daemon/dist/routes/slices.d.ts.map +1 -1
  752. package/daemon/dist/routes/slices.js +21 -2
  753. package/daemon/dist/routes/slices.js.map +1 -1
  754. package/daemon/dist/routes/startup.js +9 -2
  755. package/daemon/dist/routes/startup.js.map +1 -1
  756. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  757. package/daemon/dist/routes/terminal.js +47 -6
  758. package/daemon/dist/routes/terminal.js.map +1 -1
  759. package/daemon/dist/routes/transcripts.d.ts.map +1 -1
  760. package/daemon/dist/routes/transcripts.js +16 -1
  761. package/daemon/dist/routes/transcripts.js.map +1 -1
  762. package/daemon/dist/routes/up.d.ts.map +1 -1
  763. package/daemon/dist/routes/up.js +14 -4
  764. package/daemon/dist/routes/up.js.map +1 -1
  765. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  766. package/daemon/dist/routes/watchdog.js +21 -3
  767. package/daemon/dist/routes/watchdog.js.map +1 -1
  768. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  769. package/daemon/dist/routes/workflow.js +5 -0
  770. package/daemon/dist/routes/workflow.js.map +1 -1
  771. package/daemon/dist/server.d.ts +5 -0
  772. package/daemon/dist/server.d.ts.map +1 -1
  773. package/daemon/dist/server.js +22 -0
  774. package/daemon/dist/server.js.map +1 -1
  775. package/daemon/dist/startup.d.ts.map +1 -1
  776. package/daemon/dist/startup.js +140 -48
  777. package/daemon/dist/startup.js.map +1 -1
  778. package/daemon/dist/terminal-viewer-guard-surface.d.ts +2 -0
  779. package/daemon/dist/terminal-viewer-guard-surface.d.ts.map +1 -0
  780. package/daemon/dist/terminal-viewer-guard-surface.js +2 -0
  781. package/daemon/dist/terminal-viewer-guard-surface.js.map +1 -0
  782. package/daemon/docs/reference/agent-startup-guide.md +5 -1
  783. package/daemon/docs/reference/claude-status-line.md +3 -2
  784. package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +6 -0
  785. package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
  786. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +310 -20
  787. package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +6 -0
  788. package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +6 -0
  789. package/daemon/docs/reference/community-harness-examples/openshell/README.md +2 -0
  790. package/daemon/docs/reference/community-harness-examples/pi-tui/openrig-pi-tui-launch +6 -0
  791. package/daemon/docs/reference/community-harness-presets.md +7 -4
  792. package/daemon/docs/reference/core-app.md +212 -0
  793. package/daemon/docs/reference/daemon-http-clients.md +67 -12
  794. package/daemon/docs/reference/getting-started.md +9 -4
  795. package/daemon/docs/reference/harness-runner-contract.md +140 -4
  796. package/daemon/docs/reference/herdr-app.md +6 -0
  797. package/daemon/docs/reference/hosted-members.md +21 -1
  798. package/daemon/docs/reference/quickstart.md +4 -3
  799. package/daemon/docs/reference/rig-spec.md +197 -1
  800. package/daemon/docs/reference/rosters.md +17 -0
  801. package/daemon/docs/reference/sdlc-conventions.md +47 -6
  802. package/daemon/docs/reference/seat-delivery.md +87 -6
  803. package/daemon/docs/reference/slack-app-setup.md +39 -21
  804. package/daemon/docs/reference/terminal-sessions.md +99 -1
  805. package/daemon/docs/reference/whats-new.md +187 -15
  806. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
  807. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +27 -5
  808. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +32 -8
  809. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +1 -1
  810. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
  811. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +27 -5
  812. package/dist/acp/connector.js +1 -1
  813. package/dist/acp/connector.js.map +1 -1
  814. package/dist/ask-wake.d.ts.map +1 -1
  815. package/dist/ask-wake.js +8 -1
  816. package/dist/ask-wake.js.map +1 -1
  817. package/dist/build-info.js +3 -3
  818. package/dist/cli-error.d.ts.map +1 -1
  819. package/dist/cli-error.js +7 -1
  820. package/dist/cli-error.js.map +1 -1
  821. package/dist/client.d.ts +2 -1
  822. package/dist/client.d.ts.map +1 -1
  823. package/dist/client.js +3 -2
  824. package/dist/client.js.map +1 -1
  825. package/dist/commands/archive.js +1 -1
  826. package/dist/commands/archive.js.map +1 -1
  827. package/dist/commands/ask.d.ts.map +1 -1
  828. package/dist/commands/ask.js +92 -11
  829. package/dist/commands/ask.js.map +1 -1
  830. package/dist/commands/broadcast.js +9 -5
  831. package/dist/commands/broadcast.js.map +1 -1
  832. package/dist/commands/compact.d.ts +3 -4
  833. package/dist/commands/compact.d.ts.map +1 -1
  834. package/dist/commands/compact.js +76 -16
  835. package/dist/commands/compact.js.map +1 -1
  836. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  837. package/dist/commands/config-init-workspace.js +3 -0
  838. package/dist/commands/config-init-workspace.js.map +1 -1
  839. package/dist/commands/daemon.d.ts.map +1 -1
  840. package/dist/commands/daemon.js +7 -0
  841. package/dist/commands/daemon.js.map +1 -1
  842. package/dist/commands/down.d.ts.map +1 -1
  843. package/dist/commands/down.js +8 -1
  844. package/dist/commands/down.js.map +1 -1
  845. package/dist/commands/export.d.ts.map +1 -1
  846. package/dist/commands/export.js +2 -1
  847. package/dist/commands/export.js.map +1 -1
  848. package/dist/commands/fork.d.ts.map +1 -1
  849. package/dist/commands/fork.js +2 -0
  850. package/dist/commands/fork.js.map +1 -1
  851. package/dist/commands/launch.d.ts.map +1 -1
  852. package/dist/commands/launch.js +11 -3
  853. package/dist/commands/launch.js.map +1 -1
  854. package/dist/commands/ps.d.ts +30 -1
  855. package/dist/commands/ps.d.ts.map +1 -1
  856. package/dist/commands/ps.js +85 -6
  857. package/dist/commands/ps.js.map +1 -1
  858. package/dist/commands/queue.d.ts.map +1 -1
  859. package/dist/commands/queue.js +309 -21
  860. package/dist/commands/queue.js.map +1 -1
  861. package/dist/commands/rig.d.ts +2 -0
  862. package/dist/commands/rig.d.ts.map +1 -1
  863. package/dist/commands/rig.js +36 -2
  864. package/dist/commands/rig.js.map +1 -1
  865. package/dist/commands/roster.d.ts +8 -0
  866. package/dist/commands/roster.d.ts.map +1 -1
  867. package/dist/commands/scope.d.ts.map +1 -1
  868. package/dist/commands/scope.js +346 -9
  869. package/dist/commands/scope.js.map +1 -1
  870. package/dist/commands/seat.d.ts.map +1 -1
  871. package/dist/commands/seat.js +213 -12
  872. package/dist/commands/seat.js.map +1 -1
  873. package/dist/commands/send.d.ts +2 -0
  874. package/dist/commands/send.d.ts.map +1 -1
  875. package/dist/commands/send.js +50 -7
  876. package/dist/commands/send.js.map +1 -1
  877. package/dist/commands/setup.js +2 -2
  878. package/dist/commands/setup.js.map +1 -1
  879. package/dist/commands/slack.d.ts +2 -1
  880. package/dist/commands/slack.d.ts.map +1 -1
  881. package/dist/commands/slack.js +38 -2
  882. package/dist/commands/slack.js.map +1 -1
  883. package/dist/commands/terminal.d.ts +56 -0
  884. package/dist/commands/terminal.d.ts.map +1 -1
  885. package/dist/commands/terminal.js +199 -9
  886. package/dist/commands/terminal.js.map +1 -1
  887. package/dist/commands/transcript.js +1 -1
  888. package/dist/commands/transcript.js.map +1 -1
  889. package/dist/commands/unarchive.js +1 -1
  890. package/dist/commands/unarchive.js.map +1 -1
  891. package/dist/commands/up.d.ts.map +1 -1
  892. package/dist/commands/up.js +3 -0
  893. package/dist/commands/up.js.map +1 -1
  894. package/dist/commands/workflow-follow.d.ts +3 -1
  895. package/dist/commands/workflow-follow.d.ts.map +1 -1
  896. package/dist/commands/workflow-follow.js +25 -6
  897. package/dist/commands/workflow-follow.js.map +1 -1
  898. package/dist/commands/workflow-render.d.ts.map +1 -1
  899. package/dist/commands/workflow-render.js +5 -1
  900. package/dist/commands/workflow-render.js.map +1 -1
  901. package/dist/commands/workflow.d.ts.map +1 -1
  902. package/dist/commands/workflow.js +18 -4
  903. package/dist/commands/workflow.js.map +1 -1
  904. package/dist/daemon-lifecycle.d.ts.map +1 -1
  905. package/dist/daemon-lifecycle.js +12 -0
  906. package/dist/daemon-lifecycle.js.map +1 -1
  907. package/dist/lib/model-observation.d.ts.map +1 -1
  908. package/dist/lib/model-observation.js +9 -3
  909. package/dist/lib/model-observation.js.map +1 -1
  910. package/dist/lib/scope/mission-composition.d.ts +1 -0
  911. package/dist/lib/scope/mission-composition.d.ts.map +1 -1
  912. package/dist/lib/scope/mission-composition.js +14 -0
  913. package/dist/lib/scope/mission-composition.js.map +1 -1
  914. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  915. package/dist/lib/scope/scope-audit.js +63 -3
  916. package/dist/lib/scope/scope-audit.js.map +1 -1
  917. package/dist/lib/scope/scope-fs.d.ts +10 -0
  918. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  919. package/dist/lib/scope/scope-fs.js +60 -0
  920. package/dist/lib/scope/scope-fs.js.map +1 -1
  921. package/dist/lib/scope/types.d.ts +3 -1
  922. package/dist/lib/scope/types.d.ts.map +1 -1
  923. package/dist/lib/scope/types.js +5 -1
  924. package/dist/lib/scope/types.js.map +1 -1
  925. package/dist/local-db.d.ts +5 -0
  926. package/dist/local-db.d.ts.map +1 -0
  927. package/dist/local-db.js +23 -0
  928. package/dist/local-db.js.map +1 -0
  929. package/dist/local-origin.d.ts.map +1 -1
  930. package/dist/local-origin.js +2 -17
  931. package/dist/local-origin.js.map +1 -1
  932. package/dist/mcp-server.d.ts.map +1 -1
  933. package/dist/mcp-server.js +138 -24
  934. package/dist/mcp-server.js.map +1 -1
  935. package/dist/restore-packet/packet-writer.d.ts.map +1 -1
  936. package/dist/restore-packet/packet-writer.js +8 -5
  937. package/dist/restore-packet/packet-writer.js.map +1 -1
  938. package/dist/sender-identity.d.ts +18 -6
  939. package/dist/sender-identity.d.ts.map +1 -1
  940. package/dist/sender-identity.js +67 -7
  941. package/dist/sender-identity.js.map +1 -1
  942. package/dist/terminal-window-rex.d.ts +1 -1
  943. package/dist/terminal-window-rex.d.ts.map +1 -1
  944. package/dist/terminal-window-rex.js +3 -2
  945. package/dist/terminal-window-rex.js.map +1 -1
  946. package/dist/terminal-window.d.ts +2 -1
  947. package/dist/terminal-window.d.ts.map +1 -1
  948. package/dist/terminal-window.js +570 -44
  949. package/dist/terminal-window.js.map +1 -1
  950. package/package.json +1 -1
  951. package/tui/dist/daemon-client.d.ts +4 -0
  952. package/tui/dist/daemon-client.d.ts.map +1 -1
  953. package/tui/dist/daemon-client.js +2 -1
  954. package/tui/dist/daemon-client.js.map +1 -1
  955. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  956. package/tui/dist/execution/execution-model.js +22 -5
  957. package/tui/dist/execution/execution-model.js.map +1 -1
  958. package/tui/dist/hydrate.d.ts.map +1 -1
  959. package/tui/dist/hydrate.js +6 -3
  960. package/tui/dist/hydrate.js.map +1 -1
  961. package/tui/dist/navigator.d.ts +1 -1
  962. package/tui/dist/navigator.d.ts.map +1 -1
  963. package/tui/dist/navigator.js +4 -2
  964. package/tui/dist/navigator.js.map +1 -1
  965. package/tui/dist/pulse/render-pulse.d.ts.map +1 -1
  966. package/tui/dist/pulse/render-pulse.js +7 -14
  967. package/tui/dist/pulse/render-pulse.js.map +1 -1
  968. package/tui/dist/render.d.ts.map +1 -1
  969. package/tui/dist/render.js +29 -21
  970. package/tui/dist/render.js.map +1 -1
  971. package/tui/dist/stylize.d.ts.map +1 -1
  972. package/tui/dist/stylize.js +3 -3
  973. package/tui/dist/stylize.js.map +1 -1
  974. package/tui/dist/terminals/terminal-model.d.ts +1 -0
  975. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  976. package/tui/dist/terminals/terminal-model.js +4 -2
  977. package/tui/dist/terminals/terminal-model.js.map +1 -1
  978. package/tui/dist/types.d.ts +1 -0
  979. package/tui/dist/types.d.ts.map +1 -1
  980. package/tui/dist/visual-layout.d.ts +3 -0
  981. package/tui/dist/visual-layout.d.ts.map +1 -1
  982. package/tui/dist/visual-layout.js +17 -0
  983. package/tui/dist/visual-layout.js.map +1 -1
  984. package/ui/dist/assets/{index-BvUEh33d.js → index-B-sMy02c.js} +116 -116
  985. package/ui/dist/assets/{index-BX8TUZ0E.css → index-DiN7RwWg.css} +1 -1
  986. package/ui/dist/index.html +2 -2
@@ -6,10 +6,18 @@ import datetime
6
6
  import json
7
7
  import os
8
8
  import re
9
+ import shutil
9
10
  import subprocess
10
11
  import sys
12
+ import time
11
13
  from pathlib import Path
12
14
 
15
+ TRACE_STARTED = time.monotonic()
16
+ try:
17
+ PARENT_TRACE_BUDGET = max(0, float(os.environ.get("OPENRIG_REFOCUS_PARENT_BUDGET_MS", "1650")) / 1000)
18
+ except ValueError:
19
+ PARENT_TRACE_BUDGET = 1.65
20
+
13
21
  SHELVES = {"rigs", "pods", "seats", "missions", "slices"}
14
22
  # The daemon's exact current-work refusal meaning "this seat holds no in-progress typed baton"
15
23
  # (daemon domain/current-work.js, NO_TYPED_IN_PROGRESS). Only this exact text earns the work-root
@@ -26,10 +34,10 @@ SESSION_CHARS = re.compile(r"[A-Za-z0-9\-_.@]+")
26
34
  HUMAN_CLASS_SESSION = re.compile(r"human(?:-[A-Za-z0-9._-]+)?@(?:kernel|host)|[A-Za-z0-9._:-]+@external")
27
35
 
28
36
 
29
- def rig_output(*args):
37
+ def rig_output(*args, timeout=10):
30
38
  try:
31
39
  result = subprocess.run(
32
- ["rig", *args], capture_output=True, text=True, timeout=10, check=False
40
+ ["rig", *args], capture_output=True, text=True, timeout=timeout, check=False
33
41
  )
34
42
  except (OSError, subprocess.SubprocessError):
35
43
  return None
@@ -94,6 +102,44 @@ def read(path):
94
102
  return None
95
103
 
96
104
 
105
+ def may_have_parent(node, spec_text, timeout):
106
+ # Avoid a parser process for ordinary documents without any possible key.
107
+ # For possible links, use the same YAML parser as the CLI before querying.
108
+ manifest = read(node / "mission.yaml")
109
+ if manifest is None and (node / "mission.yaml").exists():
110
+ return None
111
+ frontmatter = re.match(r"\A---[ \t]*\r?\n([\s\S]*?)\r?\n---[ \t]*(?:\r?\n|$)", spec_text)
112
+ text = manifest if manifest is not None else (frontmatter.group(1) if frontmatter else "")
113
+ if not re.search(r"parent|\\|\*|<<|\?", text, re.IGNORECASE):
114
+ return False
115
+ if timeout <= 0:
116
+ return None
117
+ rig = shutil.which("rig")
118
+ paths = [str(Path(__file__).resolve().parent), str(node), str(Path.cwd())]
119
+ if rig:
120
+ paths.append(str(Path(rig).resolve().parent))
121
+ script = """
122
+ const fs = require('node:fs');
123
+ const path = require('node:path');
124
+ const input = JSON.parse(fs.readFileSync(0, 'utf8'));
125
+ let yamlPath;
126
+ try { yamlPath = require.resolve('yaml', { paths: input.paths }); }
127
+ catch {
128
+ const cli = require.resolve('@openrig/cli', { paths: input.paths });
129
+ yamlPath = require.resolve('yaml', { paths: [path.dirname(cli)] });
130
+ }
131
+ const YAML = require(yamlPath);
132
+ const doc = YAML.parse(input.text);
133
+ const value = input.manifest ? doc?.metadata?.parent : doc?.parent;
134
+ process.stdout.write(typeof value === 'string' && value.trim() ? 'yes' : 'no');
135
+ """
136
+ try:
137
+ result = subprocess.run(["node", "-e", script], input=json.dumps({"text": text, "manifest": manifest is not None, "paths": paths}), capture_output=True, text=True, timeout=timeout, check=False)
138
+ except (OSError, subprocess.SubprocessError):
139
+ return None
140
+ return {"yes": True, "no": False}.get(result.stdout) if result.returncode == 0 else None
141
+
142
+
97
143
  # Contract twin of CLI scope-fs.ts and daemon scope/node-file.ts; parity is tested.
98
144
  NOTES_FILE_PRECEDENCE = ("NOTES.md", "MISSION_NOTES.md")
99
145
 
@@ -294,6 +340,28 @@ def render_work(start, root, depth, failures, fallback=None, packet=False):
294
340
  body = f"intent: {value}" if value else "MISSING INTENT — no readable intent: field"
295
341
  output.append(f"\n### {label} · {spec.name}\n{body}")
296
342
 
343
+ # Parent links are logical edges, not filesystem ancestors. Ask the
344
+ # scope reader to resolve IDs so tracing uses the same rules as CLI.
345
+ remaining = PARENT_TRACE_BUDGET - (time.monotonic() - TRACE_STARTED)
346
+ has_parent = may_have_parent(node, text, remaining)
347
+ if has_parent is None:
348
+ failures.append(f"parent link unavailable or timed out: {node}")
349
+ output.append(f"PARENT TRACE GAP — unable to read parent link within budget at {node}")
350
+ elif has_parent:
351
+ remaining = PARENT_TRACE_BUDGET - (time.monotonic() - TRACE_STARTED)
352
+ workspace = next((ancestor for ancestor in node.parents if under_root(ancestor, root) and (ancestor / "project.yaml").is_file()), node.parent)
353
+ raw = rig_output("scope", "mission", "show", str(node), "--workspace", str(workspace), "--json", timeout=remaining) if remaining > 0 else None
354
+ try:
355
+ mission = json.loads(raw)["mission"]
356
+ for parent in mission["parentChain"]:
357
+ output.append(f"PARENT · {parent['id']} · {parent['path']}\nintent: {parent.get('intent') or 'MISSING INTENT'}")
358
+ if mission.get("parentGap"):
359
+ failures.append(mission["parentGap"])
360
+ output.append(f"PARENT TRACE GAP — {mission['parentGap']}")
361
+ except (TypeError, ValueError, KeyError):
362
+ failures.append(f"parent link unavailable or timed out: {node}")
363
+ output.append(f"PARENT TRACE GAP — unable to read parent link within budget at {node}")
364
+
297
365
  notes, resolution_error = resolve_notes(node)
298
366
  if resolution_error:
299
367
  failures.append(resolution_error)
@@ -404,7 +472,7 @@ def render_held_and_next(evidence):
404
472
  return "\n".join(output)
405
473
 
406
474
 
407
- def render_candidates(evidence, root, depth, failures, extra_roots=()):
475
+ def render_candidates(evidence, root, depth, failures, extra_roots=(), project=None, project_unknown=None):
408
476
  """The work section from labelled queue evidence. One direct, resolved tag is shown as the
409
477
  work with its source; anything less certain lists every candidate and asks the agent."""
410
478
  candidates = evidence.get("candidates") or []
@@ -444,9 +512,18 @@ def render_candidates(evidence, root, depth, failures, extra_roots=()):
444
512
  output.append(f"Missions on this host: {listing}")
445
513
  output.append("Then read that mission's current intent as text:")
446
514
  output.append(f" python3 {Path(__file__).resolve()} --trees work --packet --work-start {missions_root}/<mission>")
447
- orientation = render_work(root, root, "light", failures, packet=True)
515
+ # Nothing in progress: orient from the seat's selected project, which may live outside
516
+ # workspace.root (#3320), or say why none was selected. Held and next work stay evidence only.
517
+ orient_root = root
518
+ if not candidates and not unknown and project:
519
+ orient_root = Path(project).expanduser().resolve()
520
+ elif not candidates and not unknown and project_unknown:
521
+ output.append(f"PROJECT UNSELECTED — {project_unknown}; showing the work root instead")
522
+ orientation = render_work(orient_root, orient_root, "light", failures, packet=True)
448
523
  _, _, rest = orientation.partition("\n")
449
- output.append("\n## ORIENTATION — the project-level chain, not your work\n" + rest.lstrip("\n"))
524
+ heading = ("the selected project's chain, not your work" if orient_root is not root
525
+ else "the project-level chain, not your work")
526
+ output.append(f"\n## ORIENTATION — {heading}\n" + rest.lstrip("\n"))
450
527
  return "\n".join(output)
451
528
 
452
529
 
@@ -524,6 +601,8 @@ def main():
524
601
  parser.add_argument("--topology-start")
525
602
  parser.add_argument("--work-start")
526
603
  parser.add_argument("--work-root", action="append", default=[], help="an extra root the work trace may ascend to, for a catalogued project outside workspace.root; repeatable (also OPENRIG_REFOCUS_WORK_ROOT, separated by the OS path separator)")
604
+ parser.add_argument("--work-project", help="the root of the project selected for this seat (as work-install selects it); the broad orientation when there is no current typed baton")
605
+ parser.add_argument("--work-project-unknown", help="why no single project was selected for this seat")
527
606
  parser.add_argument("--work-basis", help="the daemon's reason no current work node was named")
528
607
  parser.add_argument("--work-unknown", help="why the current work node could not be read")
529
608
  parser.add_argument("--unresolved-work-advisory", action="store_true", help="show unresolved typed work as an advisory with broad orientation")
@@ -565,13 +644,22 @@ def main():
565
644
  if explicit:
566
645
  sections.append(render_work(Path(explicit), work_root_for(explicit, root, extra_roots), args.depth, failures, packet=args.packet))
567
646
  elif evidence is not None:
568
- sections.append(render_candidates(evidence, root, args.depth, failures, extra_roots))
647
+ sections.append(render_candidates(evidence, root, args.depth, failures, extra_roots,
648
+ project=args.work_project, project_unknown=args.work_project_unknown))
569
649
  elif args.work_candidates:
570
650
  pass # the unreadable-evidence gap above is the answer; never fall back to the root
651
+ elif args.work_basis == NO_CURRENT_BATON_BASIS and args.work_project:
652
+ # The seat's selected project, which may live outside workspace.root (#3320).
653
+ project = Path(args.work_project).expanduser().resolve()
654
+ sections.append(render_work(project, project, args.depth, failures, packet=args.packet, fallback=(
655
+ f"no current typed baton ({args.work_basis}). Showing the selected project's chain from its root: "
656
+ "a broad orientation, not evidence of a current mission")))
571
657
  elif args.work_basis == NO_CURRENT_BATON_BASIS:
658
+ unselected = (f"\nPROJECT UNSELECTED — {args.work_project_unknown}; showing the work root instead"
659
+ if args.work_project_unknown else "")
572
660
  sections.append(render_work(root, root, args.depth, failures, packet=args.packet, fallback=(
573
661
  f"no current typed baton ({args.work_basis}). Showing the project-level chain from the work root: "
574
- "a broad orientation, not evidence of a current mission")))
662
+ "a broad orientation, not evidence of a current mission" + unselected)))
575
663
  elif args.unresolved_work_advisory and args.work_basis and args.work_basis.startswith("typed work did not resolve: "):
576
664
  sections.append(f"## WORK TRACE\nTRACE GAP — no single current work node: {args.work_basis}")
577
665
  sections.append(render_work(root, root, args.depth, failures, packet=args.packet, fallback=(
@@ -13,6 +13,11 @@ working on what the person wants, and shows how to work with that team from here
13
13
  if the person asks you to. When they say what they want built, give it to OpenRig's operator (step 2) instead of
14
14
  building it yourself.
15
15
 
16
+ **If `/rigs` or your skill tool said this skill doesn't exist** right after it was added to a running Claude Code
17
+ session: that session doesn't see a skills folder created after it started. Ask the person to type `/reload-skills`
18
+ (Claude Code 2.1.152 or later), or start a new session, then `/rigs`. Until then, read this whole file before you act on
19
+ it; a step skipped here changes where the person answers the team.
20
+
16
21
  Tell the person what you're about to run and why before you run it. Don't install system packages or change their
17
22
  machine without a yes, and don't start a team, including `rig up`, without their yes to what it will start; a yes they
18
23
  already gave for that same launch counts, so don't ask twice. Starting OpenRig and a team writes files: Codex hooks and settings in
@@ -175,14 +180,23 @@ commands; if the two ever differ, this step is right.
175
180
  <seat>@<rig>`), on their yes only.
176
181
  - A machine they'll pair with needs its own person: registering here doesn't give that machine one.
177
182
  - **Give the operator the goal:** ask what they want worked on, in which repository and on which branch, unless they've
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:
183
+ said. Hand it over by where the person will answer the team. Staying here is the default: the pane route needs their
184
+ explicit choice.
185
+ - **They stay here** (they said so, or they haven't chosen the pane): hand the goal over as a task with a return
186
+ route ("If the person stays with you" below), giving the operator your return address for the team's questions and
187
+ result. A seat's prompt may still not reach this conversation. Tell them in a line that this goal's route selects
188
+ this conversation ahead of a Slack connection they've registered; their other work doesn't change, and they can
189
+ talk to the operator in its pane instead whenever they like. Don't tell the operator they'll answer in its pane.
190
+ - **They'll talk to the operator in its pane** (when they chose it): offer the pane only once the view opened where
191
+ they can see it; check how `rig terminal open` ended, above, first. If they chose it and no view can open, give them
192
+ the connection step above and keep their choice, and say the pane is pending until they open or attach to it.
193
+ Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName` (never the
194
+ logical ID or a guessed name) and send:
184
195
  `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.
196
+ If no view opened, put this in place of its second sentence: "The person chose to answer in your pane; it is not open
197
+ for them yet, so your questions wait there until they open or attach to it."
198
+ - **Their choice holds:** a later goal goes by the route they chose until they say otherwise. Don't ask where they'll
199
+ answer before the handoff, and don't switch routes on your own.
186
200
 
187
201
  Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
188
202
  permission choice they made, chosen or declined, in either handoff.
@@ -201,20 +215,24 @@ commands; if the two ever differ, this step is right.
201
215
  prompts included, and bring back what it produced and what its latest review found, through the task queue rather
202
216
  than the operator's screen.
203
217
  - **Your return address:** if this session joined the team (above), it's the `OPENRIG_SESSION_NAME` that
204
- `rig attach` printed. Otherwise agree one with the person on the kernel's rig, such as `claude-app@kernel` or
205
- `codex-app@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no file is written.
206
- If the person keeps more than one of these conversations, give each its own address (for example
207
- `claude-app-2@kernel`); one address shares its questions.
218
+ `rig attach` printed, and you hand over the goal with `--return-route self`. Otherwise OpenRig issues you one when
219
+ you hand over the goal with `--return-route auto` (below): an address on the kernel's rig, such as
220
+ `conversation-3f2a9c1b7e44@kernel`. It's an address the queue takes tasks for; nothing is launched for it and no
221
+ file is written. If the person keeps more than one of these conversations, each hands over its own goal and gets its
222
+ own address; one address shares its questions.
208
223
  To tell the team what it's for, the person can add it to a roster as a hosted member
209
224
  (`docs/reference/hosted-members.md` in the OpenRig package).
210
- Put it in front of every `rig queue` command: `OPENRIG_SESSION_NAME=<address> rig queue ...` (add
211
- `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). A `--source` name only labels the one task it's
212
- on: claiming and answering the team's questions need the address in `OPENRIG_SESSION_NAME`.
225
+ Once you have it, put it in front of every other `rig queue` and `rig send` command:
226
+ `OPENRIG_SESSION_NAME=<address> rig queue ...` or `OPENRIG_SESSION_NAME=<address> rig send ...` (add
227
+ `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). Without it, a send reaches the seat from
228
+ `<unknown sender>`. A `--source` name only labels the one task it's on: claiming and answering the team's questions
229
+ need the address in `OPENRIG_SESSION_NAME`.
213
230
  - **Hand over the goal:** write it to a file with what the message above carries (that you're the agent that
214
231
  installed OpenRig and the person stays with you, the goal, folder, branch, constraints, logins and permission
215
- choices), and end it with this paragraph, filling in your address:
232
+ choices), and end it with this paragraph:
216
233
 
217
- > To ask me anything, create a queue item to `<address>` (`rig queue create --destination <address> ...`), then
234
+ > To ask me anything, create a queue item to my return address, this item's `returnRoute` (`rig queue show <this
235
+ > id> --full` prints it): `rig queue create --destination <that address> ...`, then
218
236
  > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
219
237
  > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
220
238
  > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
@@ -225,26 +243,35 @@ commands; if the two ever differ, this step is right.
225
243
  > the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
226
244
  > stays a no. If they gave no answer, or their words don't
227
245
  > 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
246
+ > and never pick a "don't ask again" choice they didn't pick. Their answer covers only the prompt it answered: a
247
+ > later prompt, even one like it, is a new question to me. Check the effect, and never send again while it's
229
248
  > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
230
249
  > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
231
250
  > evidence ref.
232
251
 
233
252
  Then run
234
- `OPENRIG_SESSION_NAME=<address> rig queue create --destination <canonicalSessionName> --summary "<the goal in a sentence>" --body-file <file> --verify`.
235
- Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find this work
236
- again.
237
- - **The team's questions** come to your address as tasks:
253
+ `rig queue create --destination <canonicalSessionName> --return-route auto --summary "<the goal in a sentence>" --body-file <file> --verify`
254
+ (if this session joined, `--return-route self` with your `OPENRIG_SESSION_NAME` in front). It prints
255
+ `Return route: <address>`: that's your address from now on. The goal's handoffs carry it. Bring a seat's prompt in
256
+ this work to this address as a task; it may still not reach you by itself, so check the seats when the person is
257
+ waiting. Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find
258
+ this work again. If the outcome is unknown, repeat the same command with
259
+ `--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
260
+ same address.
261
+ - **When a question arrives at your address as a task,** list the pending work with
238
262
  `OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`. Read each in full
239
263
  (`rig queue show <id> --full`) and show the person the whole question in the team's words. Record only what they
240
264
  tell you, a condition included ("yes, but only on a branch"): claim it, then
241
- `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution "<their words>"`.
265
+ `OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution '<their words>'`,
266
+ keeping their words in single quotes and writing each `'` in them as `'\''`, so the shell runs and changes nothing in them.
242
267
  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
243
268
  asked decides what they mean. You speak as yourself, never as the person. If they aren't there to answer, leave
244
269
  it open and tell them it's waiting; never answer for them.
245
270
  A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat,
246
271
  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.
272
+ their answer to the seat, so don't send that prompt's answer yourself as well. A task from OpenRig itself
273
+ (`daemon@kernel`: "<seat> is stopped at a prompt in the work you handed over") is a prompt no agent is relaying:
274
+ capture the seat to show it, record their words on that task, and send their choice yourself, as its text says.
248
275
  - **A question only on the operator's screen:** if the operator asks in its pane and nothing reached your address,
249
276
  read it with `rig capture <canonicalSessionName>`, show the person, and send their words as a new task to the
250
277
  operator that names your task's ID, not as keys typed into its pane.
@@ -257,8 +284,9 @@ commands; if the two ever differ, this step is right.
257
284
  `rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
258
285
  owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
259
286
  before you wake it again). A pending task with no wake isn't lost or done.
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.
287
+ - **Nothing wakes this chat** when the team asks or finishes: while its work is open, start each of your turns by
288
+ listing your address's tasks (above), before anything else, including when the person talks to you and when they
289
+ come back.
262
290
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
263
291
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
264
292
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -269,7 +297,7 @@ commands; if the two ever differ, this step is right.
269
297
  `rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. Either way the operator starts a
270
298
  new conversation without your handoff, so send it again: the goal, folder, branch, constraints and permission choices.
271
299
  - **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
300
+ once the goal has reached it as a task with your return route (read its wake outcome); a healthy daemon alone isn't
273
301
  that. If they'd rather talk later, keep that choice, leave them the exact connection step and say the handoff to the
274
302
  operator is still pending.
275
303
  - **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
@@ -279,12 +307,14 @@ commands; if the two ever differ, this step is right.
279
307
  - **Bring seat permission prompts to the person here, as questions, for as long as the team works,** whether you or
280
308
  the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
281
309
  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
282
- relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
283
- seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
310
+ relay it. After each step you hand off, and before you report progress, first list your address's tasks
311
+ (`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`): a prompt OpenRig or the team
312
+ already sent you is there as its own task, so answer it there. Then check `rig ps --nodes --rig <rig>` for a
313
+ seat stopped at a prompt, and repeat both checks while you wait for a seat's result, so a prompt that appears after
284
314
  your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
285
315
  exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
286
316
  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
317
+ 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
288
318
  still shows it: don't ask about it again or send anything for it unless the prompt changes or the sender asks you
289
319
  again. For a commit, also say whether the team's review has run; they may be expecting one. Before sending their choice, capture that
290
320
  seat again: if its prompt changed, don't reuse the answer. Then send exactly the choice they made for that prompt:
@@ -300,9 +330,12 @@ commands; if the two ever differ, this step is right.
300
330
  `rig send <seat>@<rig> $'\e' --dangerously-interact --reason 'task <id>: <their choice, in their words>'`. It's sent
301
331
  once, with no Enter added. Then capture the seat and check the effect before sending anything more; never send or
302
332
  resend an answer while its effect is unknown. Never answer a prompt on your own and record it as theirs,
303
- even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
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
305
- kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
333
+ even one that only reads: ask them, and send their answer. **An answer covers exactly the prompt it answered:** "yes,
334
+ this once" means that one prompt. Each later prompt goes back to them, even one that looks the same, only reads, or
335
+ comes from the same seat or work, and never cite an earlier answer as their approval of a new prompt, in `--reason`
336
+ or anywhere else. Never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
337
+ kind of future prompt (say, "approve prompts that only write inside my project"; "this once" never is one), you may
338
+ decide each one: read its
306
339
  whole action, answer only when it's clearly inside what they said, and tell them you answered under that instruction,
307
340
  not that they said yes. Say the same in `--reason`: your call under their instruction, not their approval. Bring
308
341
  anything unclear or outside it back to them; a command's name or a path that looks like
@@ -374,7 +407,9 @@ Follow these steps by default. Only when the person declined the Codex offer abo
374
407
  - **Give the team more work:** write the goal to a file: what to change, in which repository and branch, what done
375
408
  looks like, and that the result comes back to you (the branch or commit, the review, any PR text), ending with the
376
409
  reply paragraph above. Then
377
- `OPENRIG_SESSION_NAME=<address> rig queue create --destination <seat>@<rig> --summary "<the goal in a sentence>" --body-file <file> --verify`.
410
+ `OPENRIG_SESSION_NAME=<address> rig queue create --destination <seat>@<rig> --return-route self --summary "<the goal in a sentence>" --body-file <file> --verify`.
411
+ Each goal carries its own route: without `--return-route self`, its seats' prompts don't come to you, and the
412
+ `returnRoute` the reply paragraph points the team to is empty.
378
413
  A message informs, and a queue task is the work someone owns. Read its wake outcome as above before you send
379
414
  anything else.
380
415
  - **Then ask what's next.** If no team can take the work, fix that or ask the person. Don't quietly do it yourself.
@@ -34,12 +34,12 @@ Ask the person's goal, project folder and branch unless they've said, then hand
34
34
  Find the `operator.agent` row with `rig ps --nodes --rig kernel --json` and use its `canonicalSessionName` with
35
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
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
37
+ as a queue task with a return route instead.) Show where the operator answers and let it
38
38
  help them choose a team before any starter launch.
39
39
  If the person gives you a goal later, forward it, the folder and constraints the same way, by the route they chose;
40
40
  leave implementation with the operator's team instead of taking over the work yourself.
41
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.
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
43
 
44
44
  Read `rig context get reference/getting-started.md#open-the-kernel-conversations` for the commands and manual
45
45
  path. Without a working daemon, the same guide is `daemon/docs/reference/getting-started.md` in the installed
@@ -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.17"
3
+ version: "0.7.19"
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.17"
3
+ version: "0.7.19"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files:
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Ninety-three top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.17`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.18`). This marker describes the pack's teaching, not publication or live
15
15
  adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
16
16
  What changed in the installed version, and what to do about it, is one read away:
17
17
  `rig context get reference/whats-new.md`.
@@ -135,7 +135,9 @@ unseen — which makes messages the one delivery channel that never gets skipped
135
135
  before any resend, and don't let a script resend on that exit code alone. Since 0.7.14 an ordinary
136
136
  send is refused as needing input while an open Claude Code or Codex `/model` picker is
137
137
  positively identified; nothing is typed. That's shown by the change's own tests, not yet checked
138
- with the real Claude Code and Codex programs on 0.7.14. A
138
+ with the real Claude Code and Codex programs on 0.7.14. Since 0.7.17 that refusal says to close the
139
+ picker (Esc) in that pane and send again, and doesn't offer `--dangerously-interact`, because text
140
+ typed there picks a model. A
139
141
  producer-link advisory reading `no_activity_signal` means activity could not be determined;
140
142
  confirm by effect, never relaunch on it. A send or wake to a seat whose latest hook is a
141
143
  question waiting for a person is refused with `target_needs_input`, even when its screen
@@ -403,7 +405,9 @@ your context, your compaction and your replacement — and it is the only thing
403
405
  up to the 30-second default, even when Slack isn't set up or the row won't be posted. With `output.compact` on (off by default;
404
406
  `rig config set output.compact true`), the queue write commands print a short receipt, `rig queue show` leaves out empty fields,
405
407
  `rig queue transitions` shows the latest five, and `rig whoami --json` bounds its peer list; `--full` (or `--all-peers`) prints
406
- everything.
408
+ everything. Since 0.7.18 `rig queue tag <id> --add <tag>` adds tags to a row that already
409
+ exists, in any state, without changing its state, claim or closure; an added `project:`,
410
+ `mission:` or `slice:` tag reaches the scope views like a create-time tag.
407
411
  - **`rig queue show`** — what a row *actually says*. The header is not the body. On a closed row,
408
412
  `--full` adds `closingTransition`: how it ended, who closed it and the closing note.
409
413
  `rig queue show`, `list`, `transitions`, `update` and `block` take `--host <id>` for a row on
@@ -618,8 +622,19 @@ that conversation, so a question waits until the person returns; a prompt that c
618
622
  capture and the key can take the key. In 0.7.17's first trial, with Claude Code and a simulated
619
623
  person, a reviewer's permission question never reached the person, the person's agent twice offered a
620
624
  bare terminal attachment as a way to answer a seat's prompt, and the work didn't reach a reviewed
621
- commit; this guidance doesn't reliably complete that journey, and a second trial wasn't run. The
622
- skill also follows a task handed on to another
625
+ commit; this guidance doesn't reliably complete that journey, and a second trial wasn't run.
626
+ Since 0.7.18, `rig queue create --return-route auto` hands the goal over and gives the person's
627
+ conversation an address (`--return-route self` for a session that joined the team, or another
628
+ conversation's address). Every handoff carries the route, and when routed work is held at a seat's
629
+ prompt or waits on it, a prompt that isn't a choice dialog is sent to the route as a task. Choice
630
+ prompts, a prompt already with the gateway, and a route that can't be used (another host's, two that
631
+ disagree, or a relay that couldn't be made) keep their existing path. It arrives on the
632
+ conversation's next turn: nothing wakes an idle conversation, arrival isn't guaranteed, and a prompt
633
+ can still change between its capture and the key. In two measured Claude first-user runs the return
634
+ route was NOT MET: one agent set no route, and the other set it and finished reviewed, committed work
635
+ but read the prompt relays only after the prompts had been answered and approved later prompts beyond
636
+ the person's one-time consent. Neither run met all first-user criteria. Without `--return-route`
637
+ nothing changes. The skill also follows a task handed on to another
623
638
  host with `rig queue show <id> --host <host>`.
624
639
 
625
640
  `starter` and `factory` are built in: preview the team, inspect `rig up <team> --cwd . --plan`,
@@ -944,8 +959,15 @@ version, from checking the environment to a useful report to the OpenRig team.
944
959
  conversation or failed start keeps its own status. restore-check reads that seat yellow. Both warn when a snapshot's named Codex profile was cleared
945
960
  from the current seat. On 0.7.16 a rig could still read `fully_restored` past a seat restore didn't start
946
961
  or one left attached; since 0.7.17 such a rig reads `partially_restored` and restore names the
947
- skipped seat, though restore-check's recovery plan still counts seats restore leaves alone. A seat
948
- left as a bare shell still counts as running in `rig ps`. Since 0.7.17 one banked original
962
+ skipped seat, though restore-check's recovery plan still counts seats restore leaves alone. In
963
+ 0.7.17 a seat left as a bare shell still counted as running in `rig ps`; since 0.7.18 it doesn't,
964
+ and a seat with a delegation parent or escalation destination gets that owner one queue item per
965
+ restore, listing its shells, each cause and the next step (others stay in the result's `unrouted`
966
+ list). Since
967
+ 0.7.18 `rig up --existing --cwd` honors `--cwd`, each restored seat's checkpoint is its own file
968
+ (`.rigged-checkpoint-<session>-<digest>.md`; the seat isn't told where it is, and a written file
969
+ isn't proof it was read), and restore and restore-check name agents that share a recorded
970
+ conversation, leaving the choice to you. Since 0.7.17 one banked original
949
971
  conversation can be resumed through the daemon's opt-in `/api/startup/<rigId>/nodes/<nodeId>/original`
950
972
  route; a result it can't prove stays partial, and it never substitutes a fresh conversation
951
973
  (`docs/reference/daemon-http-clients.md`).
@@ -979,7 +1001,8 @@ version, from checking the environment to a useful report to the OpenRig team.
979
1001
  successor is running, `rig seat handover <seat> --recover --reason "<why>"` adopts it instead of
980
1002
  leaving the seat with its retiring occupant: it proves the successor from the failed attempt's
981
1003
  record and records the conversation it holds now (or, with a warning, the one its launch named).
982
- Recovery from a real failed handover wasn't checked when 0.7.16 was tested.
1004
+ Recovery from a real failed handover wasn't checked when 0.7.16 was tested. Since 0.7.18 it
1005
+ accepts a successor that is the only pane of its session's current window, as the launch does.
983
1006
  - **`rig seat clear-attention` / `set-resume-token`** — clear a stale attention flag, or repair a
984
1007
  lost resume handle so restore works next time.
985
1008
  - **`rig seat continue <seat>`** — a launch stopped on Claude's bypass-permissions consent dialog.
@@ -1035,6 +1058,13 @@ version, from checking the environment to a useful report to the OpenRig team.
1035
1058
  home selected for that original. A stale expectation returns
1036
1059
  `runtime_home_conflict` and applies nothing. The result says whether the home and the original
1037
1060
  conversation are found there, and reports the running process as unverified.
1061
+ - **Per-seat choices since 0.7.18, all opt-in:** `rig seat set-input-route <seat> --route native
1062
+ --reason <text>` gives a seat with a capable live runner native input instead of terminal typing
1063
+ (typed stays the default; a native seat's work isn't cancelled when a permission is withdrawn).
1064
+ On Linux/systemd hosts, `process_limits: { tasks_max: N }` on a member requests a cap on the tasks
1065
+ its own processes may hold (`docs/reference/rig-spec.md`): a fresh start whose limit isn't seen to
1066
+ take effect is refused, a recovery that can't apply it may try without the limit (with a warning),
1067
+ and an uncertain start is reported and not retried. An export names a stored limit it can't read.
1038
1068
  - **`rig seat set-permissions <seat> --mode <mode> --reason <text>`** — select one seat's native
1039
1069
  permission mode for its future managed launches; it relaunches nothing, and `inherit` clears the
1040
1070
  selection. `rig seat status` reports the selection, but a status read does not prove the
@@ -1042,7 +1072,12 @@ version, from checking the environment to a useful report to the OpenRig team.
1042
1072
  seat its own tool rules, audited, from its next managed launch or resume, even in a shared folder;
1043
1073
  `claude_permissions: { allow: [...], deny: [...] }` on the member declares them. They're native tool
1044
1074
  rules, not OS isolation, an allow list doesn't withdraw broader inherited grants, and member denies
1045
- aren't claimed to hold in bypass mode. `--codex-permissions <file>` gives one Codex seat its own
1075
+ aren't claimed to hold in bypass mode. `--auto-mode <file>` (JSON `autoMode` block: `environment`,
1076
+ `allow`, `soft_deny`, `hard_deny`, `classifyAllShell`) gives one Claude seat its own auto mode classifier
1077
+ settings, added to user and managed settings; `--clear-auto-mode` clears it, and `claude_auto_mode` on
1078
+ the member declares it. Without `"$defaults"`, a list may replace Claude's built-in entries for that
1079
+ section, unless another scope (user or managed settings) keeps `"$defaults"` there; OpenRig warns
1080
+ but doesn't add it, and `claude auto-mode config` shows the effective lists. `--codex-permissions <file>` gives one Codex seat its own
1046
1081
  sandbox and approval settings (`sandbox`, `approval`, and for `workspace-write` also
1047
1082
  `network_access`, `writable_roots`, `exclude_tmpdir_env_var` and `exclude_slash_tmp`), passed as
1048
1083
  flags on every managed launch, resume, restore and handover; `codex_permissions` on the member
@@ -1067,8 +1102,10 @@ version, from checking the environment to a useful report to the OpenRig team.
1067
1102
  delivery), `draft-aware` (retained at once when the input box is busy or unreadable),
1068
1103
  `sends-only` (deliberate sends from people and agents type; OpenRig's own notices are held),
1069
1104
  `openrig-urgent` (OpenRig's own messages and anything marked urgent type), `urgent-only` (only
1070
- urgent messages type) or `hold` (no automatic input; one held notice per wake instead of
1071
- re-nudges). `--enabled true|false` remains compatible: true selects hold, false selects off.
1105
+ urgent messages type), `queue-only` (for a seat a person types in: deliberate sends type, never
1106
+ over a draft; OpenRig's notices never type, and a watchdog reminder arrives as a cold queue row or
1107
+ a note on the parked row it's about) or `hold` (no automatic input; one held notice per wake
1108
+ instead of re-nudges). `--enabled true|false` remains compatible: true selects hold, false selects off.
1072
1109
  Known limit: in `draft-aware`, a multi-line message to a Claude seat can stay unsubmitted when the
1073
1110
  paste changes Claude's footer hint, and later sends wait behind it; check the seat's composer.
1074
1111
  Since 0.7.15 `draft-aware` re-checks right before an automatic paste and holds after recent
@@ -1100,6 +1137,8 @@ version, from checking the environment to a useful report to the OpenRig team.
1100
1137
  changes no native permissions or typing-guard level. `rig seat status` shows it.
1101
1138
  - **`rig compact-plan`** → **`rig compact`** — who is near the context wall, then act on it.
1102
1139
  **Ordering matters: running `compact` without the plan is guessing which seat needed it.**
1140
+ Since 0.7.18 `rig compact <pi-seat>` requests Pi's own compaction through the seat's guarded send
1141
+ path instead of refusing, and `--state` reports that attempt.
1103
1142
  Managed compaction waits for the seat's restore map before compacting; `rig compact --state`,
1104
1143
  `--cancel` and `--skip-map` inspect, stop or skip that wait; since 0.7.14 `--state` also names the
1105
1144
  input check behind a `draft_input_unknown` stop (`inputReadFailure`). If preparation stops at an ordinary
@@ -1117,7 +1156,11 @@ version, from checking the environment to a useful report to the OpenRig team.
1117
1156
  managed compaction, refocus waits for the restore request, which names the `refocusing` skill
1118
1157
  (the daemon installs it globally); three failed refocus attempts in a row for one occupant post
1119
1158
  one issue to the stream. The turn boundary, restore request and read-depth audit reach a seat
1120
- that stays quiet after `/compact`; they don't wait for its next turn. The managed `/compact` is
1159
+ that stays quiet after `/compact`; they don't wait for its next turn. They do wait for the seat to
1160
+ report that it compacted (a SessionStart hook with source `compact`), because Claude Code holds an
1161
+ accepted `/compact` behind the turn the seat is running; after 10 minutes with no report they go
1162
+ ahead, subject to the existing delivery checks, and a report that comes later owes the sequence
1163
+ once more only if it arrives within two hours of the `/compact` write. The managed `/compact` is
1121
1164
  kept short enough to run as a command and is sent only to an idle seat; its own result reads
1122
1165
  `submitted, unconfirmed` (it reached the seat, not proof compaction ran), `uncertain` (not
1123
1166
  replayed) or `not sent`, so confirm by effect. Before each paste (preparation prompt, `/compact`,
@@ -1166,8 +1209,8 @@ version, from checking the environment to a useful report to the OpenRig team.
1166
1209
  cached hook keeps that trust, as with any hook trusted in Codex; the trust covers that
1167
1210
  `CODEX_HOME`, so your own Codex sessions there load the plugin too, and its hooks do nothing
1168
1211
  outside an OpenRig seat; adding your own Codex hook can trigger a re-review of one OpenRig hook.
1169
- On 0.7.17, when a Codex seat's `config.toml` or `hooks.json` is a symbolic link, OpenRig records
1170
- its hook trust under the link's target, as in 0.7.14, and such a seat may be asked to review hooks
1212
+ On 0.7.17 and 0.7.18, when a Codex seat's `config.toml` or `hooks.json` is a symbolic link, OpenRig
1213
+ records its hook trust under the link's target, as in 0.7.14, and such a seat may be asked to review hooks
1171
1214
  again. With a linked `config.toml`, OpenRig can also miss a setting stored for it that turns
1172
1215
  OpenRig's hooks off, and set those hooks up anyway when it moves them into `hooks.json` (#3078).
1173
1216
  Since 0.7.15, when a new openrig-core changes one of those six hook declarations, the boot or
@@ -186,10 +186,10 @@ agent doing the setup. Both use this release's tag:
186
186
 
187
187
  ```sh
188
188
  # Claude Code
189
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs" --skill rigs --agent claude-code
189
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs" --skill rigs --agent claude-code
190
190
 
191
191
  # Codex
192
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.17/skills/rigs" --skill rigs --agent codex
192
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs" --skill rigs --agent codex
193
193
  ```
194
194
 
195
195
  If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
@@ -197,6 +197,10 @@ after `tree/` with it, including its `v` prefix. `rig --version` prints the vers
197
197
  `0.6.11 (379f0a0d)`; the tag is `v0.6.11`. The skill is in the repository from v0.6.6; on an older install, use the
198
198
  v0.6.6 tag or upgrade first.
199
199
 
200
+ A Claude Code session that was already running doesn't see a skills folder created after it started: neither the
201
+ project's `.claude/skills` that this command adds nor the `~/.claude/skills` the daemon fills on its first start. In
202
+ that session, type `/reload-skills` (Claude Code 2.1.152 or later), or start a new one, before `/rigs`.
203
+
200
204
  These are the pinned, per-agent forms used on the [rigs pages](https://openrig.dev/rigs).
201
205
  You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
202
206
 
@@ -204,11 +208,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
204
208
  script will do and changes nothing:
205
209
 
206
210
  ```sh
207
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh -s -- --dry-run
211
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.19/scripts/install.sh | sh -s -- --dry-run
208
212
  ```
209
213
 
210
214
  The same command without `--dry-run`,
211
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.17/scripts/install.sh | sh`, installs the
215
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.19/scripts/install.sh | sh`, installs the
212
216
  latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
213
217
  present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
214
218
  Codex and may install a missing one, as described below. A failed step prints
@@ -925,6 +929,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
925
929
  | Viewing terminal was closed | Open the conversations again with `rig terminal open saved:kernel --window`; `rig tui --shared` is only the dashboard fallback if that window cannot open. Do not relaunch the team. |
926
930
  | Daemon restarted but tmux survived | Re-read `rig status` and the existing queue; a daemon restart is not a fresh project. |
927
931
  | Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
932
+ | OpenRig's home moved (a new `HOME`, account or machine), and restoring an existing rig reports that no rig was found | A shell that exports `OPENRIG_HOME` (legacy `RIGGED_HOME`) or `OPENRIG_DB` still points `rig` and any daemon it starts at the old home, and a daemon started there makes an empty home at that path. Run `rig daemon stop` from that shell first. Then point `OPENRIG_HOME` at the new home folder and `OPENRIG_DB` at the database file in it, or unset them (an unset `OPENRIG_HOME` follows `HOME`), and start the daemon again. A seat whose saved folder isn't on this machine starts in another folder, which the restore names when it can read the seat's terminal; to choose the folder, run `rig up <rig> --existing --cwd <dir>`. |
928
933
  | Launch reports no usable snapshot | Inspect the existing rig and retained project files, then follow the same-seat recovery below. |
929
934
  | Work is waiting on a prompt or decision | Read the row, transition and named prompt; preserve the obligation until the missing decision arrives. |
930
935