@openrig/cli 0.7.16 → 0.7.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (817) hide show
  1. package/README.md +9 -9
  2. package/daemon/assets/onboarding/02-self-and-competent-action.md +5 -41
  3. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +22 -6
  8. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +5 -0
  11. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
  12. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
  13. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +25 -5
  14. package/daemon/assets/skills/rigs/SKILL.md +95 -42
  15. package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
  16. package/daemon/context-packs/help/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  18. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +123 -35
  19. package/daemon/context-packs/reference/getting-started.md +8 -8
  20. package/daemon/context-packs/reference/manifest.yaml +1 -1
  21. package/daemon/context-packs/reference/rig-spec.md +166 -0
  22. package/daemon/context-packs/reference/whats-new.md +294 -6
  23. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +23 -0
  32. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  39. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
  40. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  48. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/openrig-user/SKILL.md +11 -0
  55. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +25 -5
  78. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  82. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  83. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/claude-code-adapter.js +52 -8
  86. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  88. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  89. package/daemon/dist/adapters/claude-resume.js +17 -7
  90. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  91. package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
  92. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  93. package/daemon/dist/adapters/kernel-authority.js +22 -10
  94. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  95. package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
  96. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  97. package/daemon/dist/adapters/openshell-driver.js +3 -0
  98. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  99. package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
  100. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
  101. package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
  102. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
  103. package/daemon/dist/adapters/pi-runner-protocol.d.ts +43 -0
  104. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  105. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  106. package/daemon/dist/adapters/pi-runner.d.ts +88 -5
  107. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  108. package/daemon/dist/adapters/pi-runner.js +707 -43
  109. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  110. package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
  111. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
  112. package/daemon/dist/adapters/tmux-credential-env.js +14 -0
  113. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
  114. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  115. package/daemon/dist/adapters/tmux-exec.js +4 -3
  116. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  117. package/daemon/dist/adapters/tmux-server.d.ts +2 -2
  118. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  119. package/daemon/dist/adapters/tmux-server.js +12 -4
  120. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  121. package/daemon/dist/adapters/tmux.d.ts +223 -12
  122. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  123. package/daemon/dist/adapters/tmux.js +836 -30
  124. package/daemon/dist/adapters/tmux.js.map +1 -1
  125. package/daemon/dist/attention-surface.d.ts +4 -1
  126. package/daemon/dist/attention-surface.d.ts.map +1 -1
  127. package/daemon/dist/attention-surface.js.map +1 -1
  128. package/daemon/dist/build-info.js +3 -3
  129. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  130. package/daemon/dist/db/all-migrations.js +12 -0
  131. package/daemon/dist/db/all-migrations.js.map +1 -1
  132. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
  133. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
  134. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
  135. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
  136. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
  137. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
  138. package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
  139. package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
  140. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
  141. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
  142. package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
  143. package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
  144. package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
  145. package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
  146. package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
  147. package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
  148. package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
  149. package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
  150. package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
  151. package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
  152. package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
  153. package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
  154. package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
  155. package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
  156. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  157. package/daemon/dist/domain/activity-grants.js +2 -0
  158. package/daemon/dist/domain/activity-grants.js.map +1 -1
  159. package/daemon/dist/domain/agent-activity-store.d.ts +36 -1
  160. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  161. package/daemon/dist/domain/agent-activity-store.js +192 -3
  162. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  163. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
  164. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
  165. package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
  166. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  167. package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
  168. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  169. package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
  170. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  171. package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
  172. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  173. package/daemon/dist/domain/builtin-startup-files.js +73 -34
  174. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  175. package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
  176. package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
  177. package/daemon/dist/domain/claude-auto-mode.js +114 -0
  178. package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
  179. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +2 -0
  180. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  181. package/daemon/dist/domain/claude-compaction-enforcer.js +11 -4
  182. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  183. package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
  184. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  185. package/daemon/dist/domain/claude-continuation-launch.js +51 -2
  186. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  187. package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
  188. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  189. package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
  190. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  191. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  192. package/daemon/dist/domain/codex-daemon-support.js +6 -1
  193. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  194. package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
  195. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  196. package/daemon/dist/domain/codex-thread-id.js +132 -9
  197. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  198. package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
  199. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  200. package/daemon/dist/domain/community-harness-launch-result.js +5 -1
  201. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  202. package/daemon/dist/domain/connection-contract.d.ts +91 -0
  203. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  204. package/daemon/dist/domain/connection-contract.js +75 -1
  205. package/daemon/dist/domain/connection-contract.js.map +1 -1
  206. package/daemon/dist/domain/context-usage-store.d.ts +16 -2
  207. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  208. package/daemon/dist/domain/context-usage-store.js +70 -15
  209. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  210. package/daemon/dist/domain/current-work.d.ts +11 -1
  211. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  212. package/daemon/dist/domain/current-work.js +107 -12
  213. package/daemon/dist/domain/current-work.js.map +1 -1
  214. package/daemon/dist/domain/cwd-resolution.d.ts +2 -0
  215. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  216. package/daemon/dist/domain/cwd-resolution.js +7 -2
  217. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  218. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  219. package/daemon/dist/domain/draft-aware-delivery.js +5 -1
  220. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  221. package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
  222. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  223. package/daemon/dist/domain/environment-lifecycle.js +22 -4
  224. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  225. package/daemon/dist/domain/errors.d.ts +4 -0
  226. package/daemon/dist/domain/errors.d.ts.map +1 -1
  227. package/daemon/dist/domain/errors.js +7 -0
  228. package/daemon/dist/domain/errors.js.map +1 -1
  229. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  230. package/daemon/dist/domain/execution-view.js +8 -1
  231. package/daemon/dist/domain/execution-view.js.map +1 -1
  232. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  233. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  234. package/daemon/dist/domain/existing-rig-restore.js +1 -0
  235. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  236. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
  237. package/daemon/dist/domain/expected-conversation.js +26 -11
  238. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  239. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  240. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  241. package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
  242. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  243. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
  244. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  245. package/daemon/dist/domain/gateway/operator-delivery-engine.js +120 -6
  246. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  247. package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
  248. package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
  249. package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
  250. package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
  251. package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
  252. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  253. package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
  254. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  255. package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
  256. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  257. package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
  258. package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
  259. package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
  260. package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
  261. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -0
  262. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  263. package/daemon/dist/domain/gateway/slack/message.js +4 -1
  264. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  265. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  266. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  268. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
  271. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  272. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
  273. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  274. package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
  275. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  276. package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
  277. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
  278. package/daemon/dist/domain/harness-not-started-notice.js +81 -0
  279. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
  280. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  281. package/daemon/dist/domain/health-diagnosis.js +4 -0
  282. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  283. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  284. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  285. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  286. package/daemon/dist/domain/instance-initialization.d.ts +2 -0
  287. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
  288. package/daemon/dist/domain/instance-initialization.js +2 -1
  289. package/daemon/dist/domain/instance-initialization.js.map +1 -1
  290. package/daemon/dist/domain/member-connection.d.ts +14 -0
  291. package/daemon/dist/domain/member-connection.d.ts.map +1 -0
  292. package/daemon/dist/domain/member-connection.js +34 -0
  293. package/daemon/dist/domain/member-connection.js.map +1 -0
  294. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  295. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
  296. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  297. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
  298. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  299. package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
  300. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  301. package/daemon/dist/domain/native-model-picker.d.ts +2 -0
  302. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
  303. package/daemon/dist/domain/native-model-picker.js +8 -2
  304. package/daemon/dist/domain/native-model-picker.js.map +1 -1
  305. package/daemon/dist/domain/native-permission-store.d.ts +6 -2
  306. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  307. package/daemon/dist/domain/native-permission-store.js +12 -5
  308. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  309. package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
  310. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  311. package/daemon/dist/domain/native-resume-probe.js +172 -21
  312. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  313. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  314. package/daemon/dist/domain/network/network-connector.js +16 -5
  315. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  316. package/daemon/dist/domain/network/network-installations.d.ts +5 -4
  317. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  318. package/daemon/dist/domain/network/network-installations.js +42 -11
  319. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  320. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  321. package/daemon/dist/domain/node-inventory.js +28 -0
  322. package/daemon/dist/domain/node-inventory.js.map +1 -1
  323. package/daemon/dist/domain/node-launcher.d.ts +11 -0
  324. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  325. package/daemon/dist/domain/node-launcher.js +23 -7
  326. package/daemon/dist/domain/node-launcher.js.map +1 -1
  327. package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
  328. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  329. package/daemon/dist/domain/occupant-invalidator.js +10 -2
  330. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  331. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  332. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  333. package/daemon/dist/domain/operation-correlation.js +1 -1
  334. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  335. package/daemon/dist/domain/outbox-handler.d.ts +50 -0
  336. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  337. package/daemon/dist/domain/outbox-handler.js +255 -1
  338. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  339. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  340. package/daemon/dist/domain/parked-query.js +3 -1
  341. package/daemon/dist/domain/parked-query.js.map +1 -1
  342. package/daemon/dist/domain/permission-account.d.ts +28 -1
  343. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  344. package/daemon/dist/domain/permission-account.js +55 -11
  345. package/daemon/dist/domain/permission-account.js.map +1 -1
  346. package/daemon/dist/domain/permission-drift.d.ts +2 -0
  347. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  348. package/daemon/dist/domain/permission-drift.js.map +1 -1
  349. package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
  350. package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
  351. package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
  352. package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
  353. package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
  354. package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
  355. package/daemon/dist/domain/pi-compaction-service.js +229 -0
  356. package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
  357. package/daemon/dist/domain/process-limits.d.ts +37 -0
  358. package/daemon/dist/domain/process-limits.d.ts.map +1 -0
  359. package/daemon/dist/domain/process-limits.js +69 -0
  360. package/daemon/dist/domain/process-limits.js.map +1 -0
  361. package/daemon/dist/domain/process-table.d.ts +9 -0
  362. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  363. package/daemon/dist/domain/process-table.js +21 -4
  364. package/daemon/dist/domain/process-table.js.map +1 -1
  365. package/daemon/dist/domain/proof/judgments.d.ts +7 -0
  366. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  367. package/daemon/dist/domain/proof/judgments.js +27 -1
  368. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  369. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  370. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  371. package/daemon/dist/domain/ps-projection.js +6 -1
  372. package/daemon/dist/domain/ps-projection.js.map +1 -1
  373. package/daemon/dist/domain/queue-erasure.d.ts +18 -7
  374. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  375. package/daemon/dist/domain/queue-erasure.js +270 -41
  376. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  377. package/daemon/dist/domain/queue-repository.d.ts +81 -16
  378. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  379. package/daemon/dist/domain/queue-repository.js +325 -76
  380. package/daemon/dist/domain/queue-repository.js.map +1 -1
  381. package/daemon/dist/domain/queue-stuck-sweep.d.ts +3 -0
  382. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  383. package/daemon/dist/domain/queue-stuck-sweep.js +90 -30
  384. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  385. package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
  386. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  387. package/daemon/dist/domain/queue-transition-log.js +9 -6
  388. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  389. package/daemon/dist/domain/queue-wake-ladder.d.ts +8 -0
  390. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  391. package/daemon/dist/domain/queue-wake-ladder.js +245 -41
  392. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  393. package/daemon/dist/domain/queue-wake-repository.d.ts +2 -1
  394. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  395. package/daemon/dist/domain/queue-wake-repository.js +31 -4
  396. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  397. package/daemon/dist/domain/restore-check-service.d.ts +23 -0
  398. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  399. package/daemon/dist/domain/restore-check-service.js +198 -12
  400. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  401. package/daemon/dist/domain/restore-orchestrator.d.ts +64 -3
  402. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  403. package/daemon/dist/domain/restore-orchestrator.js +335 -82
  404. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  405. package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
  406. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  407. package/daemon/dist/domain/restore-plan-preview.js +17 -5
  408. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  409. package/daemon/dist/domain/restore-preconditions.d.ts +26 -0
  410. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  411. package/daemon/dist/domain/restore-preconditions.js +63 -1
  412. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  413. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  414. package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
  415. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  416. package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
  417. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  418. package/daemon/dist/domain/resume-token-validation.js +6 -3
  419. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  420. package/daemon/dist/domain/return-route.d.ts +73 -0
  421. package/daemon/dist/domain/return-route.d.ts.map +1 -0
  422. package/daemon/dist/domain/return-route.js +124 -0
  423. package/daemon/dist/domain/return-route.js.map +1 -0
  424. package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
  425. package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
  426. package/daemon/dist/domain/rig-delivery-drain.js +128 -0
  427. package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
  428. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  429. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  430. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  431. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  432. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  433. package/daemon/dist/domain/rig-repository.d.ts +12 -0
  434. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  435. package/daemon/dist/domain/rig-repository.js +73 -0
  436. package/daemon/dist/domain/rig-repository.js.map +1 -1
  437. package/daemon/dist/domain/rig-teardown.d.ts +22 -3
  438. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  439. package/daemon/dist/domain/rig-teardown.js +99 -20
  440. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  441. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  442. package/daemon/dist/domain/rigspec-codec.js +9 -0
  443. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  444. package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
  445. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  446. package/daemon/dist/domain/rigspec-exporter.js +30 -0
  447. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  448. package/daemon/dist/domain/rigspec-instantiator.d.ts +22 -2
  449. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  450. package/daemon/dist/domain/rigspec-instantiator.js +82 -23
  451. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  452. package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
  453. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  454. package/daemon/dist/domain/rigspec-preflight.js +16 -1
  455. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  456. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  457. package/daemon/dist/domain/rigspec-schema.js +44 -1
  458. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  459. package/daemon/dist/domain/rosters.d.ts +12 -0
  460. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  461. package/daemon/dist/domain/rosters.js +17 -4
  462. package/daemon/dist/domain/rosters.js.map +1 -1
  463. package/daemon/dist/domain/runner-channel.d.ts +33 -0
  464. package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
  465. package/daemon/dist/domain/runner-channel.js +179 -0
  466. package/daemon/dist/domain/runner-channel.js.map +1 -0
  467. package/daemon/dist/domain/runner-grant-launch.js +2 -2
  468. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  469. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  470. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  471. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  472. package/daemon/dist/domain/runtime-switch-materials.js +4 -3
  473. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  474. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  475. package/daemon/dist/domain/scope/scope-audit.js +55 -3
  476. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  477. package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
  478. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  479. package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
  480. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  481. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  482. package/daemon/dist/domain/seat-delivery-guard.js +2 -1
  483. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  484. package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
  485. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  486. package/daemon/dist/domain/seat-handover-service.js +209 -64
  487. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  488. package/daemon/dist/domain/seat-identity-reconciler.d.ts +8 -1
  489. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  490. package/daemon/dist/domain/seat-identity-reconciler.js +52 -12
  491. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  492. package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
  493. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  494. package/daemon/dist/domain/seat-launch-environment.js +16 -4
  495. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  496. package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -4
  497. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  498. package/daemon/dist/domain/seat-lifecycle-service.js +68 -2
  499. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  500. package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
  501. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  502. package/daemon/dist/domain/seat-restart-in-place.js +34 -2
  503. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  504. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
  505. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  506. package/daemon/dist/domain/seat-runtime-switch-service.js +9 -3
  507. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  508. package/daemon/dist/domain/seat-status-service.d.ts +4 -0
  509. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  510. package/daemon/dist/domain/seat-status-service.js +31 -6
  511. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  512. package/daemon/dist/domain/session-name.d.ts +13 -0
  513. package/daemon/dist/domain/session-name.d.ts.map +1 -1
  514. package/daemon/dist/domain/session-name.js +77 -0
  515. package/daemon/dist/domain/session-name.js.map +1 -1
  516. package/daemon/dist/domain/session-registry.d.ts +7 -1
  517. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  518. package/daemon/dist/domain/session-registry.js +7 -4
  519. package/daemon/dist/domain/session-registry.js.map +1 -1
  520. package/daemon/dist/domain/session-transport.d.ts +16 -3
  521. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  522. package/daemon/dist/domain/session-transport.js +161 -16
  523. package/daemon/dist/domain/session-transport.js.map +1 -1
  524. package/daemon/dist/domain/shared-conversation.d.ts +58 -0
  525. package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
  526. package/daemon/dist/domain/shared-conversation.js +98 -0
  527. package/daemon/dist/domain/shared-conversation.js.map +1 -0
  528. package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
  529. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  530. package/daemon/dist/domain/shared-history-selection.js +3 -1
  531. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  532. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  533. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  534. package/daemon/dist/domain/snapshot-capture.js +19 -12
  535. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  536. package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
  537. package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
  538. package/daemon/dist/domain/startup-phase-timing.js +23 -0
  539. package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
  540. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  541. package/daemon/dist/domain/startup-submission-evidence.js +3 -2
  542. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  543. package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
  544. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  545. package/daemon/dist/domain/successor-session-launcher.js +24 -7
  546. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  547. package/daemon/dist/domain/team-operations.d.ts +6 -6
  548. package/daemon/dist/domain/team-operations.d.ts.map +1 -1
  549. package/daemon/dist/domain/team-operations.js +2 -4
  550. package/daemon/dist/domain/team-operations.js.map +1 -1
  551. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
  552. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
  553. package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
  554. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
  555. package/daemon/dist/domain/terminal-policy.js +1 -1
  556. package/daemon/dist/domain/terminal-policy.js.map +1 -1
  557. package/daemon/dist/domain/types.d.ts +91 -6
  558. package/daemon/dist/domain/types.d.ts.map +1 -1
  559. package/daemon/dist/domain/types.js.map +1 -1
  560. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  561. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  562. package/daemon/dist/domain/user-settings/settings-store.js +6 -0
  563. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  564. package/daemon/dist/domain/watchdog-delivery.d.ts +1 -1
  565. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  566. package/daemon/dist/domain/watchdog-delivery.js +6 -3
  567. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  568. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  569. package/daemon/dist/domain/watchdog-jobs-repository.js +1 -0
  570. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  571. package/daemon/dist/domain/watchdog-policy-engine.d.ts +9 -0
  572. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  573. package/daemon/dist/domain/watchdog-policy-engine.js +42 -5
  574. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  575. package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
  576. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  577. package/daemon/dist/domain/workflow-instance-store.js +6 -4
  578. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  579. package/daemon/dist/domain/workflow-projector.d.ts +48 -0
  580. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  581. package/daemon/dist/domain/workflow-projector.js +160 -90
  582. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  583. package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
  584. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  585. package/daemon/dist/domain/workflow-reconciliation.js +51 -13
  586. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  587. package/daemon/dist/domain/workflow-runtime.d.ts +5 -3
  588. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  589. package/daemon/dist/domain/workflow-runtime.js +48 -22
  590. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  591. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
  592. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  593. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
  594. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  595. package/daemon/dist/gateway-slack-surface.d.ts +2 -2
  596. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  597. package/daemon/dist/gateway-slack-surface.js +1 -1
  598. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  599. package/daemon/dist/index.d.ts.map +1 -1
  600. package/daemon/dist/index.js +13 -2
  601. package/daemon/dist/index.js.map +1 -1
  602. package/daemon/dist/routes/activity.d.ts.map +1 -1
  603. package/daemon/dist/routes/activity.js +105 -2
  604. package/daemon/dist/routes/activity.js.map +1 -1
  605. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  606. package/daemon/dist/routes/agent-images.js +6 -1
  607. package/daemon/dist/routes/agent-images.js.map +1 -1
  608. package/daemon/dist/routes/attention.d.ts.map +1 -1
  609. package/daemon/dist/routes/attention.js +2 -1
  610. package/daemon/dist/routes/attention.js.map +1 -1
  611. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  612. package/daemon/dist/routes/compaction.js +46 -7
  613. package/daemon/dist/routes/compaction.js.map +1 -1
  614. package/daemon/dist/routes/queue.d.ts +4 -1
  615. package/daemon/dist/routes/queue.d.ts.map +1 -1
  616. package/daemon/dist/routes/queue.js +266 -38
  617. package/daemon/dist/routes/queue.js.map +1 -1
  618. package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
  619. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  620. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  621. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  622. package/daemon/dist/routes/restore-check.js +18 -0
  623. package/daemon/dist/routes/restore-check.js.map +1 -1
  624. package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
  625. package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
  626. package/daemon/dist/routes/rig-delivery-drain.js +46 -0
  627. package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
  628. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  629. package/daemon/dist/routes/rigspec.js +24 -4
  630. package/daemon/dist/routes/rigspec.js.map +1 -1
  631. package/daemon/dist/routes/seat.d.ts.map +1 -1
  632. package/daemon/dist/routes/seat.js +107 -6
  633. package/daemon/dist/routes/seat.js.map +1 -1
  634. package/daemon/dist/routes/sessions.js +14 -3
  635. package/daemon/dist/routes/sessions.js.map +1 -1
  636. package/daemon/dist/routes/startup.d.ts.map +1 -1
  637. package/daemon/dist/routes/startup.js +127 -29
  638. package/daemon/dist/routes/startup.js.map +1 -1
  639. package/daemon/dist/routes/up.d.ts.map +1 -1
  640. package/daemon/dist/routes/up.js +16 -4
  641. package/daemon/dist/routes/up.js.map +1 -1
  642. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  643. package/daemon/dist/routes/watchdog.js +18 -1
  644. package/daemon/dist/routes/watchdog.js.map +1 -1
  645. package/daemon/dist/routes/workflow.js +1 -1
  646. package/daemon/dist/routes/workflow.js.map +1 -1
  647. package/daemon/dist/server.d.ts +3 -0
  648. package/daemon/dist/server.d.ts.map +1 -1
  649. package/daemon/dist/server.js +13 -0
  650. package/daemon/dist/server.js.map +1 -1
  651. package/daemon/dist/startup.d.ts.map +1 -1
  652. package/daemon/dist/startup.js +57 -16
  653. package/daemon/dist/startup.js.map +1 -1
  654. package/daemon/docs/reference/agent-startup-guide.md +5 -3
  655. package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
  656. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +139 -5
  657. package/daemon/docs/reference/community-harness-presets.md +2 -0
  658. package/daemon/docs/reference/daemon-http-clients.md +123 -6
  659. package/daemon/docs/reference/getting-started.md +8 -8
  660. package/daemon/docs/reference/harness-runner-contract.md +91 -1
  661. package/daemon/docs/reference/herdr-app.md +6 -0
  662. package/daemon/docs/reference/hosted-members.md +4 -2
  663. package/daemon/docs/reference/network-connector.md +4 -3
  664. package/daemon/docs/reference/queue-erasure.md +16 -1
  665. package/daemon/docs/reference/quickstart.md +2 -2
  666. package/daemon/docs/reference/rig-spec.md +166 -0
  667. package/daemon/docs/reference/rosters.md +9 -0
  668. package/daemon/docs/reference/sdlc-conventions.md +5 -1
  669. package/daemon/docs/reference/slack-app-setup.md +39 -21
  670. package/daemon/docs/reference/whats-new.md +294 -6
  671. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
  672. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  673. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
  674. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  675. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +26 -5
  676. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +92 -18
  677. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
  678. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
  679. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +26 -5
  680. package/dist/acp/connector.js +1 -1
  681. package/dist/acp/connector.js.map +1 -1
  682. package/dist/build-info.js +3 -3
  683. package/dist/cli-error.d.ts.map +1 -1
  684. package/dist/cli-error.js +7 -1
  685. package/dist/cli-error.js.map +1 -1
  686. package/dist/client.d.ts +2 -1
  687. package/dist/client.d.ts.map +1 -1
  688. package/dist/client.js +3 -2
  689. package/dist/client.js.map +1 -1
  690. package/dist/commands/ask.d.ts.map +1 -1
  691. package/dist/commands/ask.js +92 -11
  692. package/dist/commands/ask.js.map +1 -1
  693. package/dist/commands/broadcast.js +9 -5
  694. package/dist/commands/broadcast.js.map +1 -1
  695. package/dist/commands/compact.d.ts +3 -4
  696. package/dist/commands/compact.d.ts.map +1 -1
  697. package/dist/commands/compact.js +76 -16
  698. package/dist/commands/compact.js.map +1 -1
  699. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  700. package/dist/commands/config-init-workspace.js +3 -0
  701. package/dist/commands/config-init-workspace.js.map +1 -1
  702. package/dist/commands/config.d.ts.map +1 -1
  703. package/dist/commands/config.js +2 -0
  704. package/dist/commands/config.js.map +1 -1
  705. package/dist/commands/down.d.ts.map +1 -1
  706. package/dist/commands/down.js +7 -1
  707. package/dist/commands/down.js.map +1 -1
  708. package/dist/commands/environment.js +1 -1
  709. package/dist/commands/environment.js.map +1 -1
  710. package/dist/commands/export.d.ts.map +1 -1
  711. package/dist/commands/export.js +2 -1
  712. package/dist/commands/export.js.map +1 -1
  713. package/dist/commands/fork.d.ts.map +1 -1
  714. package/dist/commands/fork.js +2 -0
  715. package/dist/commands/fork.js.map +1 -1
  716. package/dist/commands/launch.d.ts.map +1 -1
  717. package/dist/commands/launch.js +11 -3
  718. package/dist/commands/launch.js.map +1 -1
  719. package/dist/commands/network.d.ts +2 -0
  720. package/dist/commands/network.d.ts.map +1 -1
  721. package/dist/commands/network.js +14 -1
  722. package/dist/commands/network.js.map +1 -1
  723. package/dist/commands/ps.d.ts +28 -0
  724. package/dist/commands/ps.d.ts.map +1 -1
  725. package/dist/commands/ps.js +76 -2
  726. package/dist/commands/ps.js.map +1 -1
  727. package/dist/commands/queue.d.ts +1 -1
  728. package/dist/commands/queue.d.ts.map +1 -1
  729. package/dist/commands/queue.js +350 -29
  730. package/dist/commands/queue.js.map +1 -1
  731. package/dist/commands/restore.d.ts.map +1 -1
  732. package/dist/commands/restore.js +6 -1
  733. package/dist/commands/restore.js.map +1 -1
  734. package/dist/commands/rig.d.ts +2 -0
  735. package/dist/commands/rig.d.ts.map +1 -1
  736. package/dist/commands/rig.js +36 -2
  737. package/dist/commands/rig.js.map +1 -1
  738. package/dist/commands/roster.d.ts +3 -0
  739. package/dist/commands/roster.d.ts.map +1 -1
  740. package/dist/commands/seat.d.ts.map +1 -1
  741. package/dist/commands/seat.js +128 -9
  742. package/dist/commands/seat.js.map +1 -1
  743. package/dist/commands/send.d.ts.map +1 -1
  744. package/dist/commands/send.js +47 -6
  745. package/dist/commands/send.js.map +1 -1
  746. package/dist/commands/setup.d.ts.map +1 -1
  747. package/dist/commands/setup.js +5 -3
  748. package/dist/commands/setup.js.map +1 -1
  749. package/dist/commands/slack.d.ts +2 -1
  750. package/dist/commands/slack.d.ts.map +1 -1
  751. package/dist/commands/slack.js +38 -2
  752. package/dist/commands/slack.js.map +1 -1
  753. package/dist/commands/terminal.d.ts.map +1 -1
  754. package/dist/commands/terminal.js +5 -5
  755. package/dist/commands/terminal.js.map +1 -1
  756. package/dist/commands/up.d.ts.map +1 -1
  757. package/dist/commands/up.js +10 -0
  758. package/dist/commands/up.js.map +1 -1
  759. package/dist/commands/workflow.d.ts.map +1 -1
  760. package/dist/commands/workflow.js +10 -4
  761. package/dist/commands/workflow.js.map +1 -1
  762. package/dist/config-store.d.ts +3 -1
  763. package/dist/config-store.d.ts.map +1 -1
  764. package/dist/config-store.js +5 -0
  765. package/dist/config-store.js.map +1 -1
  766. package/dist/daemon-lifecycle.d.ts.map +1 -1
  767. package/dist/daemon-lifecycle.js +1 -0
  768. package/dist/daemon-lifecycle.js.map +1 -1
  769. package/dist/lib/bundle-check.d.ts.map +1 -1
  770. package/dist/lib/bundle-check.js +33 -3
  771. package/dist/lib/bundle-check.js.map +1 -1
  772. package/dist/lib/model-observation.d.ts.map +1 -1
  773. package/dist/lib/model-observation.js +9 -3
  774. package/dist/lib/model-observation.js.map +1 -1
  775. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  776. package/dist/lib/scope/scope-audit.js +55 -3
  777. package/dist/lib/scope/scope-audit.js.map +1 -1
  778. package/dist/local-db.d.ts +5 -0
  779. package/dist/local-db.d.ts.map +1 -0
  780. package/dist/local-db.js +23 -0
  781. package/dist/local-db.js.map +1 -0
  782. package/dist/local-origin.d.ts.map +1 -1
  783. package/dist/local-origin.js +2 -17
  784. package/dist/local-origin.js.map +1 -1
  785. package/dist/mcp-server.d.ts.map +1 -1
  786. package/dist/mcp-server.js +170 -27
  787. package/dist/mcp-server.js.map +1 -1
  788. package/dist/person-registration-offer.d.ts.map +1 -1
  789. package/dist/person-registration-offer.js +2 -1
  790. package/dist/person-registration-offer.js.map +1 -1
  791. package/dist/sender-identity.d.ts +18 -6
  792. package/dist/sender-identity.d.ts.map +1 -1
  793. package/dist/sender-identity.js +67 -7
  794. package/dist/sender-identity.js.map +1 -1
  795. package/dist/terminal-window-rex.d.ts +1 -1
  796. package/dist/terminal-window-rex.d.ts.map +1 -1
  797. package/dist/terminal-window-rex.js +3 -2
  798. package/dist/terminal-window-rex.js.map +1 -1
  799. package/dist/terminal-window.js +3 -3
  800. package/dist/terminal-window.js.map +1 -1
  801. package/package.json +2 -2
  802. package/tui/dist/config/config-model.js +1 -1
  803. package/tui/dist/config/config-model.js.map +1 -1
  804. package/tui/dist/daemon-client.d.ts +3 -1
  805. package/tui/dist/daemon-client.d.ts.map +1 -1
  806. package/tui/dist/daemon-client.js +6 -3
  807. package/tui/dist/daemon-client.js.map +1 -1
  808. package/tui/dist/hydrate.d.ts.map +1 -1
  809. package/tui/dist/hydrate.js +31 -1
  810. package/tui/dist/hydrate.js.map +1 -1
  811. package/tui/dist/render.d.ts.map +1 -1
  812. package/tui/dist/render.js +106 -15
  813. package/tui/dist/render.js.map +1 -1
  814. package/tui/dist/types.d.ts +2 -0
  815. package/tui/dist/types.d.ts.map +1 -1
  816. package/ui/dist/assets/{index-BvUEh33d.js → index-1O1f3A7K.js} +55 -55
  817. package/ui/dist/index.html +1 -1
@@ -1,4 +1,292 @@
1
- # What changed in OpenRig 0.7.16
1
+ # What changed in OpenRig 0.7.18
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.18.
4
+ OpenRig 0.7.18 can send a team's seat prompts to the conversation your person
5
+ handed the work over from, restore says more truthfully what it left running,
6
+ and three settings can be chosen per seat: native input, Claude's auto mode
7
+ and, on Linux, a task limit. It adds four database migrations. If you upgraded
8
+ from 0.7.16 or earlier, also read "What changed in OpenRig 0.7.17" below, and so
9
+ on back. For the full capability map, read
10
+ `rig context get onboarding-width/public-what-you-can-do.md`. After the upgraded
11
+ daemon starts, `rig context get reference/whats-new.md` describes this version.
12
+ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
13
+
14
+ ## After the upgrade
15
+
16
+ - **Restart the daemon** (`rig daemon stop`, then `rig daemon start`), with a
17
+ database backup first. Your agents keep running through it; don't use
18
+ `rig down`. If the daemon was started with `--db`, back up that path and pass
19
+ the same `--db` to `rig daemon start`. Four migrations run before it listens
20
+ (`171_claude_auto_mode`, `171_node_input_route`, `172_queue_return_route`,
21
+ `173_node_process_limits`); each adds columns or indexes. Going back to
22
+ 0.7.17 after them isn't established.
23
+ - **The plugins:** `openrig` carries 0.7.18, and openrig-core moves to 0.1.32
24
+ because its skills and refocus hook changed.
25
+
26
+ ## Your person's own conversation
27
+
28
+ - **A return route:** when your person stays in their own conversation, hand
29
+ their goal over with `rig queue create --return-route auto` (or
30
+ `--return-route self` from a session that joined the team). Every handoff
31
+ carries the route. When routed work is held at a seat's prompt, or waits on
32
+ it, a prompt that isn't a choice dialog is sent to that conversation as a
33
+ task. Choice prompts, a prompt already with the gateway, and a route that
34
+ can't be used (another host's, two that disagree, or a relay that couldn't be
35
+ made) keep their existing path. The `rigs` skill teaches this.
36
+ - **Guidance:** the kernel operator is instructed to answer a registered person
37
+ where they wrote (not proof an answer is delivered), and
38
+ `messaging-the-human` says how to close the ask an answer settles.
39
+ - **Slack and MCP:** a button answer keeps each option's history and who gave
40
+ it; a click that fails to record enters the existing retry path, which fills
41
+ only a still-unanswered question; and `rig_question_answer` sends the
42
+ operator token when the daemon requires one.
43
+
44
+ ## Recovery
45
+
46
+ - **A bare shell restore leaves no longer counts as running** in `rig ps`,
47
+ including a recreated seat; a seat with a delegation parent or escalation
48
+ destination gets that owner one queue item per restore.
49
+ - **After OpenRig's home moved:** `rig up --existing --cwd` honors `--cwd`,
50
+ names a missing saved folder and leaves a declared project folder
51
+ unscaffolded, and Claude seats keep the core plugin. Each restored seat's
52
+ checkpoint is its own file, `.rigged-checkpoint-<session>-<digest>.md`.
53
+ - **Restore and `restore-check` name agents that share a recorded
54
+ conversation,** and `rig seat handover --recover` accepts a successor alone in
55
+ its session's current window.
56
+ - **Also:** a later `rig down` no longer exits 2 over a released session's kept
57
+ skills (a plain `down` of a stopped rig still exits 1), and Codex 0.167.1 and
58
+ 0.167.2 seats read their real activity.
59
+
60
+ ## Queue, delivery and settings
61
+
62
+ - **Per-seat choices, all opt-in:** `rig seat set-input-route <seat> --route
63
+ native --reason <text>`; Claude's `autoMode` (`claude_auto_mode`, or
64
+ `rig seat set-permissions --auto-mode`); and on Linux with systemd, a
65
+ requested task limit, `process_limits: { tasks_max: N }`. A fresh start whose
66
+ limit isn't seen to take effect is refused; a recovery that can't apply it
67
+ may try without the limit, with a warning; an uncertain start is reported and
68
+ not retried.
69
+ - **`rig compact <pi-seat>`** requests Pi's own compaction; `--state` reports
70
+ the attempt.
71
+ - **Queue:** `rig queue tag <id> --add <tag>` adds tags to an existing row, and
72
+ `rig queue list` names a handed-off row's successors.
73
+
74
+ ## Limits to keep in view
75
+
76
+ - **A routed prompt waits for the conversation's next turn;** nothing wakes an
77
+ idle one, and arrival isn't guaranteed. A prompt can still change between
78
+ OpenRig reading it and sending the key.
79
+ - **Checkpoints:** the seat isn't told where its file is, and a written file
80
+ isn't proof it was read. After a `--cwd` restore, `rig down` doesn't clean
81
+ OpenRig's Claude settings, hooks and collector from that folder. When a full
82
+ restore recreates a seat, its result can still list it as not started.
83
+ - **Native input route:** withdrawing a permission doesn't cancel a native
84
+ seat's work in progress.
85
+ - **Queue help** says a human seat such as `human@host` asks no one; that holds
86
+ only for an unregistered one.
87
+ - **The older notes below are each version's own:** their upgrade steps install
88
+ that version, and where one points to a 0.7.8 or 0.7.9 section below, read
89
+ that version's GitHub Release instead. 0.7.17's maintenance drain lets
90
+ delivery go on when its record can't be read; the daemon log then says
91
+ `control read unavailable; allowing automatic delivery`.
92
+ - **Linked Codex config files:** when a Codex seat's `config.toml` or
93
+ `hooks.json` is a symbolic link, OpenRig records its hook trust under the
94
+ link's target, as in 0.7.14. A change to key it by the file's own name isn't
95
+ in this release, and such a seat may be asked to review hooks again. With a
96
+ linked `config.toml`, OpenRig can also miss a setting stored for it that
97
+ turns OpenRig's hooks off, and set those hooks up anyway when it moves them
98
+ into `hooks.json`.
99
+ - **0.7.17's limits below still apply,** except the bare-shell count, the
100
+ second `rig down`'s exit 2 and Codex 0.167.1 and 0.167.2's `unknown`.
101
+
102
+ ## What changed in OpenRig 0.7.17
103
+
104
+ This note is for an agent on an install that was just upgraded to 0.7.17.
105
+ OpenRig 0.7.17 teaches the installer, the kernel operator and the `rigs` skill
106
+ to bring a team's questions to the conversation your person started it from:
107
+ when they stay in their own Claude Code conversation, a seat's prompt is to go
108
+ there as a task, and only their recorded words back to the seat. In this
109
+ release's first trial, that guidance didn't complete the journey (see "Limits
110
+ to keep in view"). Restore and
111
+ `rig down` report more of what they did, a rig's automatic delivery can be held
112
+ during maintenance, and three daemon read paths changed. It adds two database
113
+ migrations. If you upgraded from 0.7.15 or
114
+ earlier, also read "What changed in OpenRig 0.7.16" below, and so on back. For
115
+ the full capability map, read
116
+ `rig context get onboarding-width/public-what-you-can-do.md`. After the upgraded
117
+ daemon starts, `rig context get reference/whats-new.md` describes this version.
118
+ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
119
+
120
+ ### After the upgrade
121
+
122
+ - **Restart the daemon** (`rig daemon stop`, then `rig daemon start`), with a
123
+ database backup first. Your agents keep running through it; don't use
124
+ `rig down`. Migration 168 records the occupant generation with each Claude
125
+ context sample, and migration 170 adds `rig_delivery_drains`. Going back to
126
+ 0.7.16 after them isn't established.
127
+ - **The `openrig` plugin carries 0.7.17,** because its
128
+ `working-with-an-openrig-team` skill changed. openrig-core stays 0.1.31.
129
+ - **One new setting:** `ui.topology_remote_seats` (off by default) lets the TUI's
130
+ topology TABLE read a remote rig's seats, read-only.
131
+
132
+ ### Your person's own conversation
133
+
134
+ - **If your person installed OpenRig from their own Claude Code conversation and
135
+ stays there,** the installer is instructed to hand their goal to the team as a
136
+ task from that conversation's address, and no longer says they'll answer in
137
+ the operator's pane. Ask where they'll answer only when that's genuinely unclear.
138
+ - **The kernel operator is instructed to bring a seat's prompt to that address
139
+ as a task,** with the prompt and its choices verbatim, the seat, what it was
140
+ doing and the escalation's id, and to relay only the person's recorded words:
141
+ the key from a fresh capture, the reason starting `task <id>:`, and the effect
142
+ checked. It is to tell the person the lead has their goal, that the team is
143
+ instructed to bring its questions and the result to that conversation but a
144
+ seat's prompt may still wait without reaching it, and to offer the team's
145
+ space or a seat's terminal only if they choose to watch or answer in the pane.
146
+ A person who chose the panes gets the earlier instructions unchanged.
147
+ - **If you're the person's agent,** check your address while work is open, show
148
+ a forwarded prompt whole, and read the newest review before saying the work is
149
+ done (the `rigs` skill and `working-with-an-openrig-team`).
150
+ - **The launch plan** now says a team seat with no permission policy gets the
151
+ team default. An empty person registry reads
152
+ `undeliverable:no-registered-human`; a registry that failed to load still
153
+ reads `unavailable:human-registry`.
154
+ - **The installing-for-someone procedure** is no longer in every seat's
155
+ startup text; read it from the `rigs` skill's
156
+ `references/installing-for-someone.md` when you need it.
157
+
158
+ ### Recovery
159
+
160
+ - **Restore** reads `partially_restored`, and names the seat, when it skipped a
161
+ seat that isn't in the snapshot's roster or left one attached. Which seats
162
+ launch is unchanged. An adopted seat keeps its recorded session name when tmux
163
+ and OpenRig's addressing keep it as given; otherwise restore names the old and
164
+ new address.
165
+ - **Resume one banked original conversation** (opt-in): read
166
+ `GET /api/startup/<rigId>/nodes/<nodeId>/original?snapshotId=<id>&historySessionId=<id>`,
167
+ then POST `action: "resume"` with that `revision`, an `operationId` and the
168
+ exact `expectedOriginal`. Keep the operation id after a timeout: repeating the
169
+ same request reconciles instead of dispatching again. A result that can't be
170
+ proven stays partial. Details: `docs/reference/daemon-http-clients.md`.
171
+ - **Hold one rig's automatic delivery during maintenance:**
172
+ `POST /api/rigs/<rigId>/delivery-drain` with a `drainId`, `owner` and
173
+ `reviewAt` holds its queue wakes, watchdog delivery and stuck-sweep findings;
174
+ `POST /api/rigs/<rigId>/delivery-drain/end` ends it. A review deadline prompts
175
+ the owner and never ends the drain. Direct sends and native starts aren't
176
+ held, and unknown delivery isn't replayed.
177
+ - **A restore that can't confirm it stopped a blank session** keeps that
178
+ session's record and binding: the seat reads `attention_required` and says the
179
+ session may still be running. Check with `rig capture`, stop it with
180
+ `rig seat stop`, then retry.
181
+ - **`rig down` releases a claimed tmux session** (self-attached inside tmux,
182
+ adopted, bound or reconciled), prints `Released, not stopped: <session>`, and
183
+ exits 0; the session keeps running. An external CLI attachment is unchanged on
184
+ `down`. Separately, `rig remove` or `shrink` of a member that joined with
185
+ `rig attach --self` outside tmux no longer fails with `409 kill_failed`.
186
+ - **Claude resume and handover:** a pane that moves during resume-token capture
187
+ leaves the token unknown; discovered handover resolves a relative
188
+ `CLAUDE_CONFIG_DIR` against the seat's directory.
189
+
190
+ ### Delivery, workflows and tools
191
+
192
+ - **Three daemon read paths changed:** the stuck sweep reads undelivered ids in
193
+ windows and yields between them (a window and one row's derivation are still
194
+ synchronous); Codex thread lookup reads only new log rows after its first full
195
+ read per process and Codex home (a cold or fallback read is still full); a work
196
+ node's `SPEC.md` is reread when its file metadata changed, within a two-second
197
+ settle window, or when that metadata can't be read. No speed claim is made for
198
+ this release.
199
+ - **Draft-aware delivery** reads an empty input box under Claude Code 2.1.322 or
200
+ 2.1.323's wide paste hint and auto-update failure as empty and sends once
201
+ (checked with Claude Code 2.1.322 and 2.1.323 in a test run), and
202
+ `rig send --dangerously-interact` without `--type-without-checking` now stops
203
+ on a person's text there (shown by its tests; not yet checked with Claude
204
+ Code itself).
205
+ - **Claude's question dialog,** in the several-question, editor-shortcut and
206
+ preview layouts OpenRig recognizes, refuses an ordinary send with
207
+ `target_needs_input` (shown by its tests; not yet checked with Claude Code
208
+ itself).
209
+ - **A send at a model picker** says to close it with Esc; don't use
210
+ `--dangerously-interact` there. A Claude seat that won't start under managed
211
+ `disableSideloadFlags` names the setting.
212
+ - **A resumed Codex conversation** isn't told to sign in again because of an old
213
+ token-refresh failure that newer output follows. A refusal that is still the
214
+ latest thing Codex printed, or a marked quote in an unfinished code block with
215
+ nothing newer above the composer, can still read current.
216
+ - **`rig provider switch --token-file`:** the Claude token step is now kept for
217
+ pane readings it used to drop (Claude itself, nothing, another POSIX shell);
218
+ after a failed environment correction it's kept only for a session proven to
219
+ be this seat's, and never for fish or Nushell. An account-home or wrapped
220
+ launch in a non-POSIX pane still refuses. A command carrying the step doesn't
221
+ prove the token was applied; check the seat's account.
222
+ - **A hosted member with no wake trigger** gets an `awaiting-pickup:` record: its
223
+ work waits in its queue until it reads it. Don't read that as a failure.
224
+ - **A `rig queue handoff` whose answer was lost** names the source row to read
225
+ (`rig queue show '<id>' --full --json`) before any retry.
226
+ - **`rig workflow revise`** can remove an obsolete required order from unstarted
227
+ work and projects the newly ready work once. Replaying a `rig workflow route`
228
+ that adopted a queue handoff's sole successor, without `--packet`, selects that
229
+ successor and writes nothing.
230
+ - **An external connection's `rig_queue_show`** adds `viewer`, `item.createdBy`
231
+ and actor labels, with `you` true only for this connection.
232
+ - **Also:** `rig bundle check` reports schema-invalid configuration names;
233
+ `rig queue erase --members <empty file> --rig <id>` erases an account rig that
234
+ never had a member; a Pi or OMP runner pane names its model and state;
235
+ `rig environment recreate` handles a replaced Podman socket (not run against a
236
+ live engine); the text output of `rig network status` and the connect
237
+ confirmation hide a hub URL's query string (`--json` keeps the full URL);
238
+ `rig setup` prints the harness login line.
239
+
240
+ ### Limits to keep in view
241
+
242
+ - **Your person's conversation isn't woken.** A seat's question waits until
243
+ they return to it, and a prompt that changes between the capture and the key
244
+ can take the key. In this release's first trial, with Claude Code and a
245
+ simulated person, a reviewer's permission question never reached the person,
246
+ the person's agent twice offered a bare terminal attachment as a way to
247
+ answer a seat's prompt, and the work didn't reach a reviewed commit. No
248
+ return address for the person's conversation had been established, and no
249
+ escalation for the reviewer's question was recorded. This route doesn't
250
+ reliably complete that journey, and a second trial wasn't run.
251
+ - **Restore's overall result:** `restore-check`'s recovery plan still counts
252
+ seats restore leaves alone, and says restore tries the conversation for an
253
+ in-roster external CLI seat. A seat left as a bare shell after "Harness not
254
+ started" still counts as running in `rig ps`.
255
+ - **A second `rig down`** while a released session runs reports that seat's
256
+ kept skills as an error and exits 2. After `rig down --delete`, a later
257
+ `rig down` of another rig in the same working directory may remove OpenRig's
258
+ shared guidance and Claude additions there while the released session runs.
259
+ - **A Codex seat resumed on 0.167.1 or 0.167.2** can read `unknown`
260
+ (`unrecognized_client_version`).
261
+ - **Draft-aware delivery beside the wide footer** accepts only Claude Code's two
262
+ known failure wordings; a new one reads unknown and holds.
263
+ - **Claude's preview question dialog** in a pane too narrow for its 30-column
264
+ option column plus 4-column gap can render differently and read unknown, so
265
+ an ordinary send isn't refused there.
266
+ - **`rig scope` and `rig proof` can't be limited to a rig's own project.**
267
+ - **Reading queue state with `rig queue list`:** the median time was about 22%
268
+ (about 90 ms) slower than 0.7.16 in a matched test on a pre-release build. The
269
+ cause wasn't found, and the final build wasn't re-measured.
270
+ - **Linked Codex config files:** when a Codex seat's `config.toml` or
271
+ `hooks.json` is a symbolic link, OpenRig records its hook trust under the
272
+ link's target, as in 0.7.14. A change to key it by the file's own name isn't
273
+ in this release, and such a seat may be asked to review hooks again. With a
274
+ linked `config.toml`, OpenRig can also miss a setting stored for it that
275
+ turns OpenRig's hooks off, and set those hooks up anyway when it moves them
276
+ into `hooks.json`. ([#3078](https://github.com/mvschwarz/openrig/issues/3078))
277
+ - **"Person approved" entries** an agent recorded for its own approvals don't
278
+ establish the person's approval; check the conversation.
279
+ - **Slack buttons:** in 0.7.16's tests, an answer given by button wasn't seen to
280
+ reach OpenRig, and the cause isn't known. Type the reply instead.
281
+ - **Managed compaction with Claude Code 2.1.322:** typed text in the input box
282
+ can carry `/compact` along as text while `rig compact --state` reports it
283
+ sent, and the draft-aware guard can leave the preparation prompt unsent.
284
+ Empty the box first and check the seat compacted.
285
+ - **No memory claim** is made for this release.
286
+ - **0.7.16's limits** below still apply unless this release changes them (the
287
+ wide-footer case and restore's overall result).
288
+
289
+ ## What changed in OpenRig 0.7.16
2
290
 
3
291
  This note is for an agent on an install that was just upgraded to 0.7.16.
4
292
  OpenRig 0.7.16 keeps the team's launch default for a seat whose policy is the
@@ -15,7 +303,7 @@ the full capability map, read
15
303
  daemon starts, `rig context get reference/whats-new.md` describes this version.
16
304
  Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
17
305
 
18
- ## After the upgrade
306
+ ### After the upgrade
19
307
 
20
308
  - **Stop, back up, install, then start.** `rig daemon stop` (seats keep running,
21
309
  so don't use `rig down`), copy the database file (`rig config get db.path`
@@ -27,7 +315,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
27
315
  - **The plugins:** the `openrig` plugin's manifests carry the CLI's version,
28
316
  0.7.16. openrig-core moves to 0.1.31, because its skills changed.
29
317
 
30
- ## A person's first team
318
+ ### A person's first team
31
319
 
32
320
  - **`standard` and `open` keep the team default.** A seat whose effective policy
33
321
  is the built-in `standard` or `open` launches with the team default's
@@ -60,7 +348,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
60
348
  stays with to keep its own return address, so the team's questions come back
61
349
  to it. ([#3134](https://github.com/mvschwarz/openrig/pull/3134))
62
350
 
63
- ## Recovery
351
+ ### Recovery
64
352
 
65
353
  - **After an upgrade, a seat's packaged recovery skills come back current:**
66
354
  on `rig up --existing`, a seat's own unedited copies of OpenRig's packaged
@@ -104,7 +392,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
104
392
  its default loopback-plus-Tailscale bind when none is configured. It doesn't
105
393
  promise a kernel that isn't listed. ([#3181](https://github.com/mvschwarz/openrig/pull/3181), [#3227](https://github.com/mvschwarz/openrig/pull/3227))
106
394
 
107
- ## Delivery, workflows and tools
395
+ ### Delivery, workflows and tools
108
396
 
109
397
  - **A send to a missing seat prints "Recorded, not delivered"**: the message is
110
398
  in the sender's outbox, `--verify` exits nonzero, and a queue row keeps its
@@ -136,7 +424,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
136
424
  works with `--nodes --json`. The TUI's Projects view can span registered
137
425
  hosts. ([#3107](https://github.com/mvschwarz/openrig/pull/3107), [#3240](https://github.com/mvschwarz/openrig/pull/3240), [#3191](https://github.com/mvschwarz/openrig/pull/3191))
138
426
 
139
- ## Limits to keep in view
427
+ ### Limits to keep in view
140
428
 
141
429
  - **Restore's overall result:** a rig can still read `fully_restored` while a
142
430
  seat restore didn't start, or a seat kept in its external CLI attachment,
@@ -12,6 +12,8 @@ metadata:
12
12
  - queue create
13
13
  - queue transitions
14
14
  - queue block
15
+ - queue update
16
+ - queue resolve
15
17
  - workflow project
16
18
  - send
17
19
  openrig:
@@ -165,6 +167,27 @@ cases above applies, and `--verify` reports it the same way. A message the
165
167
  human started at the top level of the channel has no thread yet, so the answer
166
168
  posts as a new message.
167
169
 
170
+ For unsolicited status updates, send a person what changed, not your standing
171
+ state. After the first notice, check what you last sent them about that work:
172
+ if nothing changed, send nothing, however many times you wake; if something did,
173
+ say what changed rather than re-sending the earlier brief. Answer the person's
174
+ questions even when the work has not changed. When their answer arrives, close
175
+ the ask it answers. A registered person's reply in the ask's own thread resolves
176
+ it, recorded as theirs. A reply routed to someone else, a shared channel's
177
+ correspondence from someone unregistered, and a late reply that recovery finds
178
+ don't answer it, so check what the ask recorded. For an answer that reached you
179
+ any other way (in another of your threads, or as a new message), close the ask
180
+ yourself, noting which reply answered it, so their answer isn't left reading as
181
+ ignored:
182
+
183
+ ```bash
184
+ rig queue update <ask-id> --state done --closure-reason no-follow-on \
185
+ --note "<which reply answered it>"
186
+ ```
187
+
188
+ That resumes a row blocked on the ask. For a row parked on the person itself,
189
+ `rig queue resolve <id> --decision "<their words>"` records it instead.
190
+
168
191
  A **decision** with a few clear choices can carry `--human-questions-file <path>`:
169
192
  a JSON array of 1–4 questions, each
170
193
  `{"id", "question", "options": [{"id", "label", "recommended"?}]}` with 2–4
@@ -542,6 +542,6 @@ resume as failed; do not silently replace the original sessions.
542
542
 
543
543
  ## Optional growth, with the same two seats
544
544
 
545
- When the same coordination obligations recur, move the reusable workflow to `project.yaml` under `lifecycle.profiles.small-change-v1`, with `required_steps: [check, finish]` and a `workflow` mapping; keep `lifecycle.profile: small-change-v1`. Remove mission-specific paths/objectives from the reusable base and supply them through each mission's context/arrangement. Missions can inherit it unchanged, explicitly `mode: extend` to add uniquely named steps, or `mode: override` with a complete arrangement that preserves required obligations. `required_steps` names real stable step IDs, not prose headings. This optional design is not a second validated manifest in this example.
545
+ When the same coordination obligations recur, move the reusable workflow to `project.yaml` under `lifecycle.profiles.small-change-v1`, with `required_steps: [check, finish]` and a `workflow` mapping; keep `lifecycle.profile: small-change-v1`. Remove mission-specific paths/objectives from the reusable base and supply them through each mission's context/arrangement. Missions can inherit it unchanged, explicitly `mode: extend` to add uniquely named steps, or `mode: override` with a complete arrangement that preserves required obligations. A mission that leaves out one of the profile's pods still keeps that pod's required step IDs, and their required order, in its `mode: override` arrangement. Give each such step to the workflow's `orchestrator_role` and keep its `depends_on`. Its objective says the step doesn't apply to this mission, and asks the orchestrator to record who decided that, and why, when it closes the step. That's a recorded judgment, never a pass for the missing pod's work, and the steps that depend on it wait for it to close. Leaving the step out instead fails compilation with `lifecycle_required_step_missing`. A running instance can't drop one either: reconciliation asks to preserve the obligation and record an attributed disposition. `required_steps` names real stable step IDs, not prose headings. This optional design is not a second validated manifest in this example.
546
546
 
547
547
  Slices remain the work/spec/progress/proof home. If a project instead chooses per-slice execution, the native compiler supports `execution.actor_role`, `preferred_targets`, `depends_on` and `allowed_exits`, but do not imply those independently add steps beneath an already selected mission/profile graph. Compile the chosen single graph, inspect the result, and instantiate or explicitly revise the existing instance. Retained running inputs do not silently follow disk edits. Add more roles, SDLC advice, typed gates or release obligations only when the user's work requires them. No mandatory wave, release graph, private lifecycle helper or seven-seat factory is part of this first example.
@@ -43,6 +43,8 @@ host, use the host's normal operator ceremony. On a recovery-friendly build VM,
43
43
  the orchestrator may adopt a tested runtime directly, but still observes each
44
44
  step and stops on unexplained drift.
45
45
 
46
+ For opt-in **delivery-only** maintenance, read `rig context get reference/daemon-http-clients.md#per-rig-delivery-drain`: `/api/rigs/:rigId/delivery-drain` requires an explicit END; **automatic native starts are NOT deferred**.
47
+
46
48
  ## When recovery crosses an instance boundary
47
49
 
48
50
  Before either lane changes runtime state, record one host-qualified executor and
@@ -33,9 +33,19 @@ behave; this skill is the loop around them.
33
33
 
34
34
  > To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
35
35
  > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
36
- > check it when the person asks. Don't ask in your own terminal: the person isn't there. If you hand this item on,
37
- > copy this paragraph into the new item. When you finish, put the outcome in this item's resolution and any file in
38
- > its evidence ref.
36
+ > check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
37
+ > permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
38
+ > doing and any escalation's id, unless a question about that prompt is already open at my seat. Whoever sent the
39
+ > question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a new
40
+ > answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'` with
41
+ > the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep the
42
+ > reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
43
+ > stays a no. If they gave no answer, or their words don't clearly
44
+ > pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything, and
45
+ > never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
46
+ > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
47
+ > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
48
+ > evidence ref.
39
49
  - Tell the person the `qitemId` it returns. It's how both of you find this work again.
40
50
  - If the call times out, check `rig_queue_show` with that same `qitemId` before trying again. If you retry, pass the same id
41
51
  as `qitemId`. Never retry with a new one: that creates the work twice.
@@ -46,7 +56,10 @@ behave; this skill is the loop around them.
46
56
  - When a seat hands the work on, the item names the next one. Follow the chain to the newest item before you report.
47
57
  - Report what the record says. An accepted or claimed item isn't finished work, and a quiet one isn't stuck: say what you
48
58
  saw and when it last changed.
49
- - Nothing wakes this chat when the team finishes. Check again when the person asks, or when they come back.
59
+ - Before you say the work is done, find the newest review of it on the chain and tell the person its outcome. Work a
60
+ review sent back with something to fix isn't done, even if a commit exists: say what the review asked for.
61
+ - Nothing wakes this chat when the team asks or finishes. While its work is open, check each time the person talks to
62
+ you, and when they come back.
50
63
 
51
64
  ## The team's questions
52
65
 
@@ -56,8 +69,11 @@ behave; this skill is the loop around them.
56
69
  `rig_queue_update`: `state` `done`, `closureReason` `no-follow-on`, and exactly what the person typed in `resolution`,
57
70
  nothing else: no label such as "The person's answer:", no quotation marks, and no notes, paths or summaries of your own.
58
71
  If the person isn't there to answer, leave the item open and tell them it's waiting. Never choose an answer for them.
59
- - Some questions go to the person directly, outside your seat. Those wait for them where they already answer the team,
60
- such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
72
+ - A question can be a seat's permission prompt that the operator or a team seat sent you: show it with the seat, the
73
+ exact action and the choices it offers, and record the person's words the same way. The agent that sent it passes
74
+ their answer to the seat.
75
+ - Some questions go to a registered person directly, outside your seat. Those wait for them where they already answer
76
+ the team, such as the OpenRig TUI or Slack. You can mention that they're waiting; answering them isn't yours.
61
77
 
62
78
  ## Read the result
63
79
 
@@ -23,11 +23,32 @@ You plan it and route the work to your team; independent review comes before any
23
23
 
24
24
  When the goal is done, close the operator's row with the result.
25
25
 
26
- **If a seat you're waiting on stops at a prompt,** for example a reviewer asking to run a command, tell the person in
27
- your own pane which seat is waiting, exactly what it asks and how to reach it. In
28
- `rig ps --nodes --json --fields canonicalSessionName,agentActivity,tmuxAttachCommand` that seat shows `needs_input`;
29
- `rig capture <session>` with its `canonicalSessionName` shows the prompt, and its `tmuxAttachCommand` is the command to
30
- give (if it has none, give its name). Don't answer another seat's prompt yourself.
26
+ **If a seat you're waiting on stops at a prompt,** for example a reviewer asking to run a command, look at your goal row
27
+ first (`rig queue show <id> --full`). With a `returnRoute`, the person answers from their own conversation, not from your
28
+ pane, so don't ask them here or give them an attach command:
29
+ - **A permission prompt, with a route on this machine** (`<member>@<rig>`, nothing after the rig): OpenRig brings that
30
+ seat's prompt there as a task while the work is with that seat or your row waits on it. Hand the work over, or block
31
+ your row on the seat or its row (`rig queue block <id> --on <seat or row id>`). When more than one return route is
32
+ involved (another goal waiting on that seat names a different address), nothing chooses between them, so a task may
33
+ not come: look for one at each address first
34
+ (`rig queue list --destination <address> --state pending,in-progress,blocked`), and if there's none, ask as in the
35
+ next item, through the return address of the goal the seat is working on. One answer goes to the seat, and you pass
36
+ it on.
37
+ - **A choice menu** (a list of options, such as a usage-limit dialog), **or a route that names another machine**
38
+ (`<member>@<rig>@<host>`): nothing brings it there, so ask the person yourself, as your goal's reply paragraph says.
39
+ Create a question task to the `returnRoute` exactly as written, with the seat, the prompt's own text and its choices
40
+ and what the seat was doing, then block your row on it (for a question on another machine,
41
+ `--on external:<host>/<question id> --wake-after <duration>`: a plain `--on <question id>` is refused there, because
42
+ that row lives on the other host). You pass their answer on to the seat, and no one else does. If
43
+ that create is refused because the machine isn't reachable from here, say so on your goal row
44
+ (`rig queue update <id> --note '<the seat, what it asks, and that the question did not reach them>'`), the record the
45
+ person's agent follows; your pane doesn't reach them.
46
+ - **No route:** tell the person in your own pane which seat is waiting, exactly what it asks and how to reach it. In
47
+ `rig ps --nodes --json --fields canonicalSessionName,agentActivity,tmuxAttachCommand` that seat shows `needs_input`;
48
+ `rig capture <session>` with its `canonicalSessionName` shows the prompt, and its `tmuxAttachCommand` is the command to
49
+ give (if it has none, give its name).
50
+
51
+ Don't answer another seat's prompt yourself.
31
52
 
32
53
  `rig down` and `rig seat stop` end agents' sessions and any work in progress, and `rig up <spec>` on a stopped team's
33
54
  name replaces it with a new team. Don't run them unless the person asked; check `rig ps --nodes` first.