@openrig/cli 0.7.17 → 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 (657) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +5 -0
  9. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
  10. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
  11. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +25 -5
  12. package/daemon/assets/skills/rigs/SKILL.md +33 -19
  13. package/daemon/assets/skills/rigs/references/installing-for-someone.md +2 -2
  14. package/daemon/context-packs/help/manifest.yaml +1 -1
  15. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  16. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +42 -8
  17. package/daemon/context-packs/reference/getting-started.md +4 -4
  18. package/daemon/context-packs/reference/manifest.yaml +1 -1
  19. package/daemon/context-packs/reference/rig-spec.md +166 -0
  20. package/daemon/context-packs/reference/whats-new.md +107 -6
  21. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +23 -0
  30. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/openrig-user/SKILL.md +11 -0
  50. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +25 -5
  73. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  77. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  78. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  79. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  80. package/daemon/dist/adapters/claude-code-adapter.js +16 -5
  81. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  82. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  83. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  84. package/daemon/dist/adapters/claude-resume.js +13 -5
  85. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  86. package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
  87. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  88. package/daemon/dist/adapters/kernel-authority.js +22 -10
  89. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  90. package/daemon/dist/adapters/pi-runner-protocol.d.ts +43 -0
  91. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  92. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  93. package/daemon/dist/adapters/pi-runner.d.ts +50 -1
  94. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  95. package/daemon/dist/adapters/pi-runner.js +463 -13
  96. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  97. package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
  98. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
  99. package/daemon/dist/adapters/tmux-credential-env.js +14 -0
  100. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
  101. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  102. package/daemon/dist/adapters/tmux-exec.js +4 -3
  103. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  104. package/daemon/dist/adapters/tmux-server.d.ts +2 -2
  105. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  106. package/daemon/dist/adapters/tmux-server.js +12 -4
  107. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  108. package/daemon/dist/adapters/tmux.d.ts +220 -12
  109. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  110. package/daemon/dist/adapters/tmux.js +835 -29
  111. package/daemon/dist/adapters/tmux.js.map +1 -1
  112. package/daemon/dist/attention-surface.d.ts +4 -1
  113. package/daemon/dist/attention-surface.d.ts.map +1 -1
  114. package/daemon/dist/attention-surface.js.map +1 -1
  115. package/daemon/dist/build-info.js +3 -3
  116. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  117. package/daemon/dist/db/all-migrations.js +8 -0
  118. package/daemon/dist/db/all-migrations.js.map +1 -1
  119. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
  120. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
  121. package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
  122. package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
  123. package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
  124. package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
  125. package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
  126. package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
  127. package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
  128. package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
  129. package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
  130. package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
  131. package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
  132. package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
  133. package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
  134. package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
  135. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  136. package/daemon/dist/domain/activity-grants.js +2 -0
  137. package/daemon/dist/domain/activity-grants.js.map +1 -1
  138. package/daemon/dist/domain/agent-activity-store.d.ts +36 -1
  139. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  140. package/daemon/dist/domain/agent-activity-store.js +192 -3
  141. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  142. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
  143. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
  144. package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
  145. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  146. package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
  147. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  148. package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
  149. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  150. package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
  151. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  152. package/daemon/dist/domain/builtin-startup-files.js +73 -34
  153. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  154. package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
  155. package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
  156. package/daemon/dist/domain/claude-auto-mode.js +114 -0
  157. package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
  158. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +2 -0
  159. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  160. package/daemon/dist/domain/claude-compaction-enforcer.js +11 -4
  161. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  162. package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
  163. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  164. package/daemon/dist/domain/claude-continuation-launch.js +51 -2
  165. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  166. package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
  167. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  168. package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
  169. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  170. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  171. package/daemon/dist/domain/codex-daemon-support.js +6 -1
  172. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  173. package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
  174. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  175. package/daemon/dist/domain/community-harness-launch-result.js +5 -1
  176. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  177. package/daemon/dist/domain/connection-contract.d.ts +91 -0
  178. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  179. package/daemon/dist/domain/connection-contract.js +73 -0
  180. package/daemon/dist/domain/connection-contract.js.map +1 -1
  181. package/daemon/dist/domain/context-usage-store.d.ts +5 -0
  182. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  183. package/daemon/dist/domain/context-usage-store.js +37 -2
  184. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  185. package/daemon/dist/domain/current-work.d.ts +6 -1
  186. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  187. package/daemon/dist/domain/current-work.js +41 -8
  188. package/daemon/dist/domain/current-work.js.map +1 -1
  189. package/daemon/dist/domain/cwd-resolution.d.ts +2 -0
  190. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  191. package/daemon/dist/domain/cwd-resolution.js +7 -2
  192. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  193. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  194. package/daemon/dist/domain/draft-aware-delivery.js +5 -1
  195. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  196. package/daemon/dist/domain/errors.d.ts +4 -0
  197. package/daemon/dist/domain/errors.d.ts.map +1 -1
  198. package/daemon/dist/domain/errors.js +7 -0
  199. package/daemon/dist/domain/errors.js.map +1 -1
  200. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  201. package/daemon/dist/domain/execution-view.js +8 -1
  202. package/daemon/dist/domain/execution-view.js.map +1 -1
  203. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  204. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  205. package/daemon/dist/domain/existing-rig-restore.js +1 -0
  206. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  207. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  208. package/daemon/dist/domain/gateway/operator-delivery-engine.js +107 -3
  209. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  210. package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
  211. package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
  212. package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
  213. package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
  214. package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
  215. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  216. package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
  217. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  218. package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
  219. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  220. package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
  221. package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
  222. package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
  223. package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
  224. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -0
  225. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  226. package/daemon/dist/domain/gateway/slack/message.js +4 -1
  227. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  228. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  229. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  230. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  231. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  232. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  233. package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
  234. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  235. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
  236. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  237. package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
  238. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  239. package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
  240. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
  241. package/daemon/dist/domain/harness-not-started-notice.js +81 -0
  242. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
  243. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  244. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  245. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  246. package/daemon/dist/domain/instance-initialization.d.ts +2 -0
  247. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
  248. package/daemon/dist/domain/instance-initialization.js +2 -1
  249. package/daemon/dist/domain/instance-initialization.js.map +1 -1
  250. package/daemon/dist/domain/member-connection.d.ts +14 -0
  251. package/daemon/dist/domain/member-connection.d.ts.map +1 -0
  252. package/daemon/dist/domain/member-connection.js +34 -0
  253. package/daemon/dist/domain/member-connection.js.map +1 -0
  254. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
  255. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  256. package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
  257. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  258. package/daemon/dist/domain/native-permission-store.d.ts +6 -2
  259. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  260. package/daemon/dist/domain/native-permission-store.js +12 -5
  261. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  262. package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
  263. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  264. package/daemon/dist/domain/native-resume-probe.js +94 -10
  265. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  266. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  267. package/daemon/dist/domain/network/network-connector.js +11 -2
  268. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  269. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  270. package/daemon/dist/domain/node-inventory.js +28 -0
  271. package/daemon/dist/domain/node-inventory.js.map +1 -1
  272. package/daemon/dist/domain/node-launcher.d.ts +8 -0
  273. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  274. package/daemon/dist/domain/node-launcher.js +19 -4
  275. package/daemon/dist/domain/node-launcher.js.map +1 -1
  276. package/daemon/dist/domain/outbox-handler.d.ts +50 -0
  277. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  278. package/daemon/dist/domain/outbox-handler.js +255 -1
  279. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  280. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  281. package/daemon/dist/domain/parked-query.js +3 -1
  282. package/daemon/dist/domain/parked-query.js.map +1 -1
  283. package/daemon/dist/domain/permission-account.d.ts +28 -1
  284. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  285. package/daemon/dist/domain/permission-account.js +55 -11
  286. package/daemon/dist/domain/permission-account.js.map +1 -1
  287. package/daemon/dist/domain/permission-drift.d.ts +2 -0
  288. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  289. package/daemon/dist/domain/permission-drift.js.map +1 -1
  290. package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
  291. package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
  292. package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
  293. package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
  294. package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
  295. package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
  296. package/daemon/dist/domain/pi-compaction-service.js +229 -0
  297. package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
  298. package/daemon/dist/domain/process-limits.d.ts +37 -0
  299. package/daemon/dist/domain/process-limits.d.ts.map +1 -0
  300. package/daemon/dist/domain/process-limits.js +69 -0
  301. package/daemon/dist/domain/process-limits.js.map +1 -0
  302. package/daemon/dist/domain/process-table.d.ts +9 -0
  303. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  304. package/daemon/dist/domain/process-table.js +21 -4
  305. package/daemon/dist/domain/process-table.js.map +1 -1
  306. package/daemon/dist/domain/proof/judgments.d.ts +7 -0
  307. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  308. package/daemon/dist/domain/proof/judgments.js +27 -1
  309. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  310. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  311. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  312. package/daemon/dist/domain/ps-projection.js +6 -1
  313. package/daemon/dist/domain/ps-projection.js.map +1 -1
  314. package/daemon/dist/domain/queue-erasure.d.ts +11 -6
  315. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  316. package/daemon/dist/domain/queue-erasure.js +44 -21
  317. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  318. package/daemon/dist/domain/queue-repository.d.ts +62 -14
  319. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  320. package/daemon/dist/domain/queue-repository.js +270 -65
  321. package/daemon/dist/domain/queue-repository.js.map +1 -1
  322. package/daemon/dist/domain/queue-stuck-sweep.d.ts +3 -0
  323. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  324. package/daemon/dist/domain/queue-stuck-sweep.js +45 -13
  325. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  326. package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
  327. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  328. package/daemon/dist/domain/queue-transition-log.js +9 -6
  329. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  330. package/daemon/dist/domain/queue-wake-ladder.d.ts +8 -0
  331. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  332. package/daemon/dist/domain/queue-wake-ladder.js +155 -17
  333. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  334. package/daemon/dist/domain/queue-wake-repository.d.ts +2 -1
  335. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  336. package/daemon/dist/domain/queue-wake-repository.js +31 -4
  337. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  338. package/daemon/dist/domain/restore-check-service.d.ts +10 -0
  339. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  340. package/daemon/dist/domain/restore-check-service.js +76 -3
  341. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  342. package/daemon/dist/domain/restore-orchestrator.d.ts +60 -2
  343. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  344. package/daemon/dist/domain/restore-orchestrator.js +241 -50
  345. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  346. package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
  347. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  348. package/daemon/dist/domain/restore-plan-preview.js +17 -5
  349. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  350. package/daemon/dist/domain/restore-preconditions.d.ts +24 -0
  351. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  352. package/daemon/dist/domain/restore-preconditions.js +61 -1
  353. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  354. package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
  355. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  356. package/daemon/dist/domain/resume-token-validation.js +6 -3
  357. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  358. package/daemon/dist/domain/return-route.d.ts +73 -0
  359. package/daemon/dist/domain/return-route.d.ts.map +1 -0
  360. package/daemon/dist/domain/return-route.js +124 -0
  361. package/daemon/dist/domain/return-route.js.map +1 -0
  362. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  363. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  364. package/daemon/dist/domain/rig-repository.d.ts +12 -0
  365. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  366. package/daemon/dist/domain/rig-repository.js +73 -0
  367. package/daemon/dist/domain/rig-repository.js.map +1 -1
  368. package/daemon/dist/domain/rig-teardown.d.ts +4 -2
  369. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  370. package/daemon/dist/domain/rig-teardown.js +32 -13
  371. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  372. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  373. package/daemon/dist/domain/rigspec-codec.js +9 -0
  374. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  375. package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
  376. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  377. package/daemon/dist/domain/rigspec-exporter.js +30 -0
  378. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  379. package/daemon/dist/domain/rigspec-instantiator.d.ts +22 -2
  380. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  381. package/daemon/dist/domain/rigspec-instantiator.js +82 -23
  382. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  383. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  384. package/daemon/dist/domain/rigspec-schema.js +44 -1
  385. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  386. package/daemon/dist/domain/rosters.d.ts +12 -0
  387. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  388. package/daemon/dist/domain/rosters.js +17 -4
  389. package/daemon/dist/domain/rosters.js.map +1 -1
  390. package/daemon/dist/domain/runner-channel.d.ts +33 -0
  391. package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
  392. package/daemon/dist/domain/runner-channel.js +179 -0
  393. package/daemon/dist/domain/runner-channel.js.map +1 -0
  394. package/daemon/dist/domain/runner-grant-launch.js +2 -2
  395. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  396. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  397. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  398. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  399. package/daemon/dist/domain/runtime-switch-materials.js +4 -3
  400. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  401. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  402. package/daemon/dist/domain/scope/scope-audit.js +55 -3
  403. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  404. package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
  405. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  406. package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
  407. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  408. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  409. package/daemon/dist/domain/seat-delivery-guard.js +2 -1
  410. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  411. package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
  412. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  413. package/daemon/dist/domain/seat-handover-service.js +203 -63
  414. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  415. package/daemon/dist/domain/seat-identity-reconciler.d.ts +8 -1
  416. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  417. package/daemon/dist/domain/seat-identity-reconciler.js +52 -12
  418. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  419. package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -4
  420. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  421. package/daemon/dist/domain/seat-lifecycle-service.js +68 -2
  422. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  423. package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
  424. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  425. package/daemon/dist/domain/seat-restart-in-place.js +34 -2
  426. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  427. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
  428. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  429. package/daemon/dist/domain/seat-runtime-switch-service.js +9 -3
  430. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  431. package/daemon/dist/domain/seat-status-service.d.ts +4 -0
  432. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  433. package/daemon/dist/domain/seat-status-service.js +31 -6
  434. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  435. package/daemon/dist/domain/session-transport.d.ts +16 -3
  436. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  437. package/daemon/dist/domain/session-transport.js +134 -9
  438. package/daemon/dist/domain/session-transport.js.map +1 -1
  439. package/daemon/dist/domain/shared-conversation.d.ts +58 -0
  440. package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
  441. package/daemon/dist/domain/shared-conversation.js +98 -0
  442. package/daemon/dist/domain/shared-conversation.js.map +1 -0
  443. package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
  444. package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
  445. package/daemon/dist/domain/startup-phase-timing.js +23 -0
  446. package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
  447. package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
  448. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  449. package/daemon/dist/domain/successor-session-launcher.js +24 -7
  450. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  451. package/daemon/dist/domain/team-operations.d.ts +6 -6
  452. package/daemon/dist/domain/team-operations.d.ts.map +1 -1
  453. package/daemon/dist/domain/team-operations.js +2 -4
  454. package/daemon/dist/domain/team-operations.js.map +1 -1
  455. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
  456. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
  457. package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
  458. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
  459. package/daemon/dist/domain/terminal-policy.js +1 -1
  460. package/daemon/dist/domain/terminal-policy.js.map +1 -1
  461. package/daemon/dist/domain/types.d.ts +82 -5
  462. package/daemon/dist/domain/types.d.ts.map +1 -1
  463. package/daemon/dist/domain/types.js.map +1 -1
  464. package/daemon/dist/domain/watchdog-delivery.d.ts +1 -1
  465. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  466. package/daemon/dist/domain/watchdog-delivery.js +6 -3
  467. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  468. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  469. package/daemon/dist/domain/watchdog-jobs-repository.js +1 -0
  470. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  471. package/daemon/dist/domain/watchdog-policy-engine.d.ts +5 -0
  472. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  473. package/daemon/dist/domain/watchdog-policy-engine.js +14 -4
  474. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  475. package/daemon/dist/domain/workflow-runtime.d.ts +1 -1
  476. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  477. package/daemon/dist/domain/workflow-runtime.js +4 -2
  478. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  479. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
  480. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  481. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
  482. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  483. package/daemon/dist/gateway-slack-surface.d.ts +2 -2
  484. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  485. package/daemon/dist/gateway-slack-surface.js +1 -1
  486. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  487. package/daemon/dist/index.d.ts.map +1 -1
  488. package/daemon/dist/index.js +13 -2
  489. package/daemon/dist/index.js.map +1 -1
  490. package/daemon/dist/routes/activity.d.ts.map +1 -1
  491. package/daemon/dist/routes/activity.js +105 -2
  492. package/daemon/dist/routes/activity.js.map +1 -1
  493. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  494. package/daemon/dist/routes/agent-images.js +6 -1
  495. package/daemon/dist/routes/agent-images.js.map +1 -1
  496. package/daemon/dist/routes/attention.d.ts.map +1 -1
  497. package/daemon/dist/routes/attention.js +2 -1
  498. package/daemon/dist/routes/attention.js.map +1 -1
  499. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  500. package/daemon/dist/routes/compaction.js +46 -7
  501. package/daemon/dist/routes/compaction.js.map +1 -1
  502. package/daemon/dist/routes/queue.d.ts +4 -1
  503. package/daemon/dist/routes/queue.d.ts.map +1 -1
  504. package/daemon/dist/routes/queue.js +232 -34
  505. package/daemon/dist/routes/queue.js.map +1 -1
  506. package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
  507. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  508. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  509. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  510. package/daemon/dist/routes/restore-check.js +1 -0
  511. package/daemon/dist/routes/restore-check.js.map +1 -1
  512. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  513. package/daemon/dist/routes/rigspec.js +24 -4
  514. package/daemon/dist/routes/rigspec.js.map +1 -1
  515. package/daemon/dist/routes/seat.d.ts.map +1 -1
  516. package/daemon/dist/routes/seat.js +107 -6
  517. package/daemon/dist/routes/seat.js.map +1 -1
  518. package/daemon/dist/routes/sessions.js +14 -3
  519. package/daemon/dist/routes/sessions.js.map +1 -1
  520. package/daemon/dist/routes/startup.js +7 -1
  521. package/daemon/dist/routes/startup.js.map +1 -1
  522. package/daemon/dist/routes/up.d.ts.map +1 -1
  523. package/daemon/dist/routes/up.js +14 -4
  524. package/daemon/dist/routes/up.js.map +1 -1
  525. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  526. package/daemon/dist/routes/watchdog.js +18 -1
  527. package/daemon/dist/routes/watchdog.js.map +1 -1
  528. package/daemon/dist/server.d.ts +3 -0
  529. package/daemon/dist/server.d.ts.map +1 -1
  530. package/daemon/dist/server.js +11 -0
  531. package/daemon/dist/server.js.map +1 -1
  532. package/daemon/dist/startup.d.ts.map +1 -1
  533. package/daemon/dist/startup.js +51 -16
  534. package/daemon/dist/startup.js.map +1 -1
  535. package/daemon/docs/reference/agent-startup-guide.md +2 -1
  536. package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
  537. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +139 -5
  538. package/daemon/docs/reference/community-harness-presets.md +2 -0
  539. package/daemon/docs/reference/daemon-http-clients.md +61 -12
  540. package/daemon/docs/reference/getting-started.md +4 -4
  541. package/daemon/docs/reference/harness-runner-contract.md +91 -1
  542. package/daemon/docs/reference/herdr-app.md +6 -0
  543. package/daemon/docs/reference/quickstart.md +2 -2
  544. package/daemon/docs/reference/rig-spec.md +166 -0
  545. package/daemon/docs/reference/rosters.md +9 -0
  546. package/daemon/docs/reference/sdlc-conventions.md +5 -1
  547. package/daemon/docs/reference/slack-app-setup.md +39 -21
  548. package/daemon/docs/reference/whats-new.md +107 -6
  549. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
  550. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +26 -5
  551. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +19 -5
  552. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +1 -1
  553. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
  554. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +26 -5
  555. package/dist/acp/connector.js +1 -1
  556. package/dist/acp/connector.js.map +1 -1
  557. package/dist/build-info.js +3 -3
  558. package/dist/cli-error.d.ts.map +1 -1
  559. package/dist/cli-error.js +7 -1
  560. package/dist/cli-error.js.map +1 -1
  561. package/dist/client.d.ts +2 -1
  562. package/dist/client.d.ts.map +1 -1
  563. package/dist/client.js +3 -2
  564. package/dist/client.js.map +1 -1
  565. package/dist/commands/ask.d.ts.map +1 -1
  566. package/dist/commands/ask.js +92 -11
  567. package/dist/commands/ask.js.map +1 -1
  568. package/dist/commands/broadcast.js +9 -5
  569. package/dist/commands/broadcast.js.map +1 -1
  570. package/dist/commands/compact.d.ts +3 -4
  571. package/dist/commands/compact.d.ts.map +1 -1
  572. package/dist/commands/compact.js +76 -16
  573. package/dist/commands/compact.js.map +1 -1
  574. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  575. package/dist/commands/config-init-workspace.js +3 -0
  576. package/dist/commands/config-init-workspace.js.map +1 -1
  577. package/dist/commands/down.d.ts.map +1 -1
  578. package/dist/commands/down.js +3 -1
  579. package/dist/commands/down.js.map +1 -1
  580. package/dist/commands/export.d.ts.map +1 -1
  581. package/dist/commands/export.js +2 -1
  582. package/dist/commands/export.js.map +1 -1
  583. package/dist/commands/fork.d.ts.map +1 -1
  584. package/dist/commands/fork.js +2 -0
  585. package/dist/commands/fork.js.map +1 -1
  586. package/dist/commands/launch.d.ts.map +1 -1
  587. package/dist/commands/launch.js +11 -3
  588. package/dist/commands/launch.js.map +1 -1
  589. package/dist/commands/ps.d.ts +28 -0
  590. package/dist/commands/ps.d.ts.map +1 -1
  591. package/dist/commands/ps.js +76 -2
  592. package/dist/commands/ps.js.map +1 -1
  593. package/dist/commands/queue.d.ts.map +1 -1
  594. package/dist/commands/queue.js +309 -21
  595. package/dist/commands/queue.js.map +1 -1
  596. package/dist/commands/rig.d.ts +2 -0
  597. package/dist/commands/rig.d.ts.map +1 -1
  598. package/dist/commands/rig.js +36 -2
  599. package/dist/commands/rig.js.map +1 -1
  600. package/dist/commands/roster.d.ts +3 -0
  601. package/dist/commands/roster.d.ts.map +1 -1
  602. package/dist/commands/seat.d.ts.map +1 -1
  603. package/dist/commands/seat.js +126 -7
  604. package/dist/commands/seat.js.map +1 -1
  605. package/dist/commands/send.d.ts.map +1 -1
  606. package/dist/commands/send.js +47 -6
  607. package/dist/commands/send.js.map +1 -1
  608. package/dist/commands/setup.js +2 -2
  609. package/dist/commands/setup.js.map +1 -1
  610. package/dist/commands/slack.d.ts +2 -1
  611. package/dist/commands/slack.d.ts.map +1 -1
  612. package/dist/commands/slack.js +38 -2
  613. package/dist/commands/slack.js.map +1 -1
  614. package/dist/commands/terminal.d.ts.map +1 -1
  615. package/dist/commands/terminal.js +5 -5
  616. package/dist/commands/terminal.js.map +1 -1
  617. package/dist/commands/up.d.ts.map +1 -1
  618. package/dist/commands/up.js +3 -0
  619. package/dist/commands/up.js.map +1 -1
  620. package/dist/commands/workflow.d.ts.map +1 -1
  621. package/dist/commands/workflow.js +4 -0
  622. package/dist/commands/workflow.js.map +1 -1
  623. package/dist/daemon-lifecycle.d.ts.map +1 -1
  624. package/dist/daemon-lifecycle.js +1 -0
  625. package/dist/daemon-lifecycle.js.map +1 -1
  626. package/dist/lib/model-observation.d.ts.map +1 -1
  627. package/dist/lib/model-observation.js +9 -3
  628. package/dist/lib/model-observation.js.map +1 -1
  629. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  630. package/dist/lib/scope/scope-audit.js +55 -3
  631. package/dist/lib/scope/scope-audit.js.map +1 -1
  632. package/dist/local-db.d.ts +5 -0
  633. package/dist/local-db.d.ts.map +1 -0
  634. package/dist/local-db.js +23 -0
  635. package/dist/local-db.js.map +1 -0
  636. package/dist/local-origin.d.ts.map +1 -1
  637. package/dist/local-origin.js +2 -17
  638. package/dist/local-origin.js.map +1 -1
  639. package/dist/mcp-server.d.ts.map +1 -1
  640. package/dist/mcp-server.js +122 -18
  641. package/dist/mcp-server.js.map +1 -1
  642. package/dist/sender-identity.d.ts +18 -6
  643. package/dist/sender-identity.d.ts.map +1 -1
  644. package/dist/sender-identity.js +67 -7
  645. package/dist/sender-identity.js.map +1 -1
  646. package/dist/terminal-window-rex.d.ts +1 -1
  647. package/dist/terminal-window-rex.d.ts.map +1 -1
  648. package/dist/terminal-window-rex.js +3 -2
  649. package/dist/terminal-window-rex.js.map +1 -1
  650. package/dist/terminal-window.js +3 -3
  651. package/dist/terminal-window.js.map +1 -1
  652. package/package.json +1 -1
  653. package/tui/dist/daemon-client.d.ts.map +1 -1
  654. package/tui/dist/daemon-client.js +2 -1
  655. package/tui/dist/daemon-client.js.map +1 -1
  656. package/ui/dist/assets/{index-BvUEh33d.js → index-1O1f3A7K.js} +55 -55
  657. package/ui/dist/index.html +1 -1
@@ -294,6 +294,67 @@ managed-launch path. Other version pairs and native enforcement need their own c
294
294
  The launch still uses inline JSON, subject to the operating system's argument-size
295
295
  limits.
296
296
 
297
+ ### Per-member Claude auto mode settings
298
+
299
+ A Claude member can carry its own [`autoMode` block](https://code.claude.com/docs/en/auto-mode-config),
300
+ which steers the auto mode classifier. Claude reads `autoMode` from user settings, managed
301
+ settings and `--settings`, but not from a project's `.claude/settings*.json`. OpenRig passes the
302
+ block in the seat's `--settings`, so it applies to this seat only:
303
+
304
+ ```yaml
305
+ claude_auto_mode:
306
+ environment:
307
+ - "$defaults"
308
+ - "Source control: github.com/acme; pushing issue branches and opening PRs is routine for this team"
309
+ soft_deny: ["$defaults", "Never run database migrations outside the migrations CLI"]
310
+ classifyAllShell: false # optional
311
+ ```
312
+
313
+ The field takes Claude's own keys: `environment`, `allow`, `soft_deny` and `hard_deny`, each a
314
+ list of prose entries, and `classifyAllShell` (true or false). It is also supported on legacy
315
+ flat Claude nodes. Other runtimes and other keys are refused. Entries are prose the classifier
316
+ reads, not tool patterns. Use `claude_permissions` for tool rules.
317
+
318
+ For an existing seat, put the complete replacement block in a JSON file:
319
+
320
+ ```sh
321
+ rig seat set-permissions dev-build@team --auto-mode auto-mode.json --reason "Trust the team's GitHub org"
322
+ rig seat set-permissions dev-build@team --clear-auto-mode --reason "Back to user settings only"
323
+ ```
324
+
325
+ Each change is audited. It applies at the next managed launch or resume, and it leaves the
326
+ permission mode, running process and history unchanged. Restore and same-seat handover read the
327
+ same record. A fork copies the source's current block. Export writes the current record for
328
+ Claude members only. On another runtime, the block stays dormant and applies again if the seat
329
+ switches back to Claude.
330
+
331
+ How Claude combines the block with your other settings:
332
+
333
+ - **Scopes add up.** Claude adds the seat's entries to the entries from your user and managed
334
+ settings. The seat block can't remove those entries. It's additive, not a hard boundary, though:
335
+ Claude treats `allow` entries as exceptions to `soft_deny` entries from any scope, so the seat's
336
+ `allow` can override a user or managed `soft_deny`.
337
+ - **`$defaults` decides the built-in entries.** Claude puts its built-in entries for a section
338
+ where any scope lists `"$defaults"`. A non-empty list without `"$defaults"` drops the built-in
339
+ entries for that section, unless another scope keeps `"$defaults"` there. The built-in
340
+ `soft_deny` entries include force-push protection.
341
+ - **An empty list adds no entries.** Claude's docs say a list without `"$defaults"` replaces the
342
+ built-in entries, but Claude Code 2.1.322 kept them for an empty list, so OpenRig warns that it
343
+ may replace them. `--clear-auto-mode` only stops OpenRig passing a block. Neither removes user or
344
+ managed entries.
345
+
346
+ OpenRig warns when a list leaves out `"$defaults"`, or when an entry looks like a tool rule, in
347
+ `rig spec validate`, `rig up --plan`, the `set-permissions` output and `rig seat status`. It never
348
+ adds `"$defaults"` for you or refuses the block. `rig seat status` shows the saved block and the
349
+ block the current occupant's launch sent, and notes when the next launch isn't planned in auto
350
+ mode. To see the classifier's effective lists for a block, run the `claude --settings '…'
351
+ auto-mode config` command that status prints. It shows the lists as they would be where you
352
+ run it, so your user and managed settings are included.
353
+
354
+ If the saved block can't be read, the seat still launches, resumes, forks and exports without it.
355
+ The launch result, `rig seat status`, the fork result and the exported file say the block wasn't
356
+ sent or carried. Set it again with `--auto-mode`, or clear it with `--clear-auto-mode`.
357
+
297
358
  ### Per-member Codex permissions
298
359
 
299
360
  Codex members can record their own sandbox and approval choice, even when they share a project folder:
@@ -876,6 +937,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
876
937
  | `advisor` | string | no | — | Claude-only Advisor model for this seat. Overrides the AgentSpec profile/default; blank or non-string values are ignored with an advisory. |
877
938
  | `claude_mcp` | `none` | no | normal loading | Claude members only. Disable MCP server loading for this agent on every launch and resume. Omit the field to keep Claude's normal configuration; see [Claude MCP loading](#claude-mcp-loading-runtime-claude-code). |
878
939
  | `launch_wrapper` | string[] | no | — | Local `pi`, `codex`, `claude-code` and community-harness members; runner presets must declare wrapper support. Literal argument prefix applied to the native executable and its arguments on fresh launch, relaunch, rebuild, resume, fork, restore and handover; `[]` explicitly clears a stored wrapper when re-applying an authored spec, while omitting the key leaves an existing seat's stored choice unchanged. See [Launch wrapper](#launch-wrapper-runtime-pi-and-codex). |
940
+ | `process_limits` | map | no | — | Linux/systemd hosts only, opt-in for this seat. `{ tasks_max: N }` (an integer from 1 to 4194304) puts the seat's own processes in a systemd user scope of their own with `TasksMax=N`; the other seats, the daemon and the terminal server stay outside it. Applies to the seat's new launches; a fresh launch the host can't cap is not started, and a recovery goes ahead with a warning. Any other key (a memory or CPU limit) is refused. `{}` clears a stored limit when re-applying an authored spec; omitting the key leaves it unchanged. Valid on terminal members too. See [Process limits](#process-limits-linuxsystemd). |
879
941
  | `permission_policy` | string | no | — | Member-level permission policy; overrides the rig's. Not valid on terminal members. |
880
942
  | `env` | map | no | — | Launch environment for this seat, laid over the rig's `env`. Same rules as the rig-level field. Valid on terminal members too. See "Launch environment" below. |
881
943
  | `agent_file` | string | no | — | Claude members only. A Claude agent definition (a `.md` file with `name` in its frontmatter) for this seat. It's copied into the seat's own storage and launched as `--agent openrig:<name>`. A path beside the spec: no `..`, not absolute. |
@@ -1037,6 +1099,110 @@ members:
1037
1099
  - **Persistence and clear:** On new seats, absent or `launch_wrapper: []` stores no wrapper. Applying an authored spec to an existing seat retains the stored selection when absent, clears it with `launch_wrapper: []`, and replaces it with a non-empty array. Recreation/import uses the incoming spec; older snapshots preserve the current selection. First-start retry refuses wrapper changes. Runtime switches carry it to supported successors; validation occurs at execution. There is no live edit verb: change the spec and use the supported create/recreate/apply flow. Export and node inventory include the configured value.
1038
1100
  - **Boundary:** An argv prefix is not proof of sandbox isolation, tooling availability, memory wiring or governance enforcement. Verify the wrapper and runtime independently.
1039
1101
 
1102
+ ### Process limits (Linux/systemd)
1103
+
1104
+ Set `process_limits` on a member to cap how many tasks (processes and threads) that seat's own processes may hold at
1105
+ once, so a seat that forks without end hits its own limit instead of the host's:
1106
+
1107
+ ```yaml
1108
+ members:
1109
+ - id: impl
1110
+ agent_ref: local:agents/impl
1111
+ profile: default
1112
+ runtime: codex
1113
+ cwd: .
1114
+ process_limits:
1115
+ tasks_max: 512
1116
+ ```
1117
+
1118
+ - **Opt-in, per seat, no default:** Only a member with `process_limits.tasks_max` gets a limit. Without the key, a seat
1119
+ launches exactly as before. `tasks_max` is the only supported key; any other key, such as a memory or CPU limit, is
1120
+ refused by name rather than accepted and ignored.
1121
+ - **The boundary:** The seat's pane command starts in a transient `systemd-run --user --scope` of its own, in
1122
+ `openrigseats.slice`, with `TasksMax=N` as its only limit. The seat's processes leave the terminal server's scope:
1123
+ a limit an operator put on that scope no longer covers this seat. The other seats, the daemon and the terminal server
1124
+ stay where they were, outside this seat's limit. Processes the seat itself starts through `systemd-run --user` land
1125
+ in units of their own and are not counted against it. The limit guards the host against a seat's runaway forks; it
1126
+ is not isolation. The seat's environment names the shared terminal server (`TMUX`), so a pane, window, popup or
1127
+ `run-shell` the seat asks that server for (a harness's teammate panes too) is forked by the server, outside this
1128
+ seat's scope and its limit. The limit is also cooperative: a process in the seat that reaches the user manager can
1129
+ raise its own scope's `TasksMax` with `systemctl --user set-property`. The short-lived terminal OpenRig opens to
1130
+ check that a Claude conversation can be resumed runs without the seat's identity, outside any seat scope.
1131
+ - **A fresh launch that can't get the limit is not started:** A fresh launch (first launch by `rig up`, `rig seat launch
1132
+ --fresh`, and a relaunch without a snapshot; a first start through the restore path, such as a never-occupied seat's
1133
+ start or auto-rehydrate, is a recovery, below) says it couldn't apply the limit instead of starting the seat without
1134
+ it, with one of four codes:
1135
+ - `process_limits_unsupported` for a positive inability of the host: not Linux, `systemd-run` or `systemctl` not on
1136
+ the daemon's `PATH`, a systemd too old for seat scopes (it needs 236 or later), no user manager running for the
1137
+ user (no socket to reach it), or a throwaway scope with no cgroup v2 path, no `pids.max`, or a `pids.max` that is
1138
+ not the value (the pids controller is not delegated);
1139
+ - `process_limits_setup` when this setup can't use a scope, with the way out: no `XDG_RUNTIME_DIR` and no
1140
+ `/run/user/<uid>` (start the daemon with `XDG_RUNTIME_DIR` set, or as a systemd user service), coreutils' `timeout`
1141
+ not on the daemon's `PATH`, `terminal.inherit_tmux_environment` on (a seat with a limit needs the scoped launch
1142
+ environment: set it to false), a daemon that gives seats no launch environment, or a seat placed in an environment
1143
+ guest (its agent runs in the guest, and a scope on this host would hold only the local viewer);
1144
+ - `process_limits_unverified` (retryable) when it isn't known either way: the user manager timed out or its socket
1145
+ refused the connection (starting or restarting), the probe read nothing or output it could not understand, an error not recognized, a launch setting
1146
+ that couldn't be read, a failed check from the last minute (reported with its age), or a scope start the launch
1147
+ didn't see in time (its new session is removed, by the identity tmux printed when it made it, and the seat is never
1148
+ started again without the limit; when it can't be removed, the refusal says the session may still be running and
1149
+ how to stop it, without a retry, and its `processLimits` carries `possiblyRunning: true` and `retryable` false). What
1150
+ was seen of the command is said apart from what became of its terminal: only a start that failed before the command
1151
+ (the pane died with its start marker still pending) reads "not started" and retryable. When the command started in
1152
+ the scope but its process wasn't seen there in time, when the time ran out with the pane still alive (its wrapper
1153
+ can still start the command after the last look), or when its pane or its start marker couldn't be read, the refusal says the
1154
+ command started (or may have), what became of its terminal, and suggests no retry:
1155
+ `processLimits.commandStarted` is `true` or `"unknown"`, and `retryable` is false. A capped launch whose `new-session`
1156
+ printed no pane and whose session can't be read back is refused the same possibly-running way (a session positively
1157
+ absent stays `session_not_created`). The first launch after that minute checks again, so a setup fixed meanwhile is
1158
+ seen;
1159
+ - `process_limits_invalid` when the seat's stored value can't be read: only this seat is affected, and the value is
1160
+ kept until a re-applied spec replaces or clears it.
1161
+ Over HTTP, `process_limits_unverified` answers 409 and the other three 422, with `retryable` and `processLimits` (the
1162
+ kind, the reason and the requested value). A daemon that is not itself a systemd user service is no reason: the probe
1163
+ decides. To launch an existing seat as before, re-apply its spec with `process_limits: {}`: with the key just
1164
+ removed, the stored limit stays (see "Persistence and clear").
1165
+ - **A recovery goes ahead without it, and says so:** A handover, a runtime switch and a restart in place choose their
1166
+ path before anything is stopped. A restore and a resume (`rig up` from a snapshot, an auto-rehydrate, a resume of the
1167
+ seat's own conversation) are recoveries too, the fresh launch a restore falls back to for a seat with no saved startup
1168
+ context included: nothing of the seat runs then, and right after a reboot the user manager
1169
+ may not answer yet. Where the limit can't be applied, they go on without it and return a structured
1170
+ warning (`processLimits`: `state: "not_applied"`, the kind, the reason, whether a retry may help); the request stays
1171
+ stored, and the seat's status reads "requested, not applied" until a fresh launch applies it. A recovery never stops a
1172
+ seat and then fails for its limit. A scope failure late in the path (after the check) starts the seat again without
1173
+ the limit only when the seat's command is seen not to have started in the scope; when that can't be told (the start
1174
+ wasn't seen in time, or the command started in the scope and ended), nothing is run a second time, and the warning
1175
+ reads `state: "unknown"`. A restart in place keeps the process tree it has (and a limit already applied to it); when
1176
+ that process's limit can't be read back, its warning reads `unknown`. A bare agent pane's respawn carries no seat
1177
+ environment: it keeps the limit, in a new scope, only when the running process reads back as `applied` and a new
1178
+ scope can be made; otherwise it comes back without the limit, with the warning.
1179
+ - **When it applies:** Each launch reads the stored value and starts the seat's new pane in a new scope. A seat that is
1180
+ already running is never moved or stopped: a changed value applies at that seat's next launch. A daemon restart
1181
+ relaunches nothing, so running seats keep the scope they started in.
1182
+ - **Status:** `rig seat status <seat>` reads the limit back from the seat's running process, never from the spec
1183
+ alone. It reads the seat's own pane or, when no pane is recorded for the seat, its session's active pane, and says
1184
+ which (`readFrom`). The states: `applied` (its process is in a seat scope whose `pids.max` is the value), "requested,
1185
+ not applied" (known not under it: not running, launched before the key or by a recovery without it, another
1186
+ `pids.max`, or placed in an environment guest, whose pane holds only a local viewer, with the reason), `unsupported`
1187
+ (not under it, and the host positively can't make the scope), `unknown` (the readback failed), "stored value invalid"
1188
+ (the stored request can't be read; only this seat is affected, and the value is kept). A seat with no limit stored
1189
+ shows nothing and is not read at all, so a seat whose limit was cleared while it ran stays in its launch's scope,
1190
+ unreported, until its next fresh launch starts it without one. It also shows `pids.current` and how many times a fork hit the limit (`pids.events` `max`). Never
1191
+ stop a seat's scope by hand: that kills every process in it; use `rig seat stop`. Stopping a seat ends its session,
1192
+ not its scope: a process the seat left running detached stays in that old scope, under its limit, until it exits,
1193
+ and the status, which reads only the running seat's pane, doesn't show it.
1194
+ - **Values:** `tasks_max` takes any count from 1 (systemd's own minimum) to 4194304 (the kernel's `PID_MAX_LIMIT`). No
1195
+ floor is imposed for every runtime: how many tasks a harness needs is the operator's choice, and a fork past the
1196
+ limit fails visibly as a limit hit.
1197
+ - **Persistence and clear:** On new seats, absent or `process_limits: {}` stores no limit. Applying an authored spec to
1198
+ an existing seat retains the stored limit when the key is absent, clears it with `process_limits: {}`, and replaces it
1199
+ otherwise; the new value is stored before that launch. First-start retry refuses a changed limit, and keeps a stored
1200
+ value it can't read as it is (that launch reports `process_limits_invalid`). Export includes the configured value. A
1201
+ seat whose stored value can't be read is exported without `process_limits`, and the rest of the rig exports as usual.
1202
+ The stored value stays as it is, and the export names the seat: a `# Not carried:` line at the top of the YAML (which
1203
+ `rig export` prints) with how to fix or clear it, and the `X-OpenRig-Export-Warnings` header on YAML and JSON (which
1204
+ `rig spec show --json` prints as a warning).
1205
+
1040
1206
  ### Pi (`runtime: pi`)
1041
1207
 
1042
1208
  `runtime: pi` launches the Pi coding agent (`pi --mode rpc`) through OpenRig's RPC runner.
@@ -109,6 +109,15 @@ the direction marks are allowed, as names need them. A label that breaks those r
109
109
  loading: it's ignored with `label_problem`, and the member is named by its seat as before. An external caller's entry
110
110
  carries that `label_problem`, so an unusable label doesn't read as absent.
111
111
 
112
+ A member whose owner says it takes no requests declares `takes_requests: false`, with an optional `takes_requests_note`
113
+ saying why in plain text (the label rule). `rig_team` shows it as `takesRequests: false` and `takesRequestsNote` on that
114
+ entry, so a sender's assistant can choose another before sending. Work sent to it is still written:
115
+ `rig_queue_create` and `rig_queue_handoff` answer as before, and add `requestsAdvisory` with the note, so the sender
116
+ can send it elsewhere. When some rosters can't be read, or this daemon's host id isn't known yet, `requestsAdvisory`
117
+ says whether it takes requests isn't known, and the write goes ahead. A `takes_requests` that isn't `true` or `false`,
118
+ or a note that breaks the label rule or comes without `takes_requests: false`, doesn't stop the roster loading:
119
+ `takes_requests_problem` says why, and an unusable note leaves the flag in place.
120
+
112
121
  The roster at `rosters/network-<rig>.json` names that rig's team. Without that file, the roster whose `id` is the
113
122
  rig's name does (the `<rig>.json` the starter and factory leads write; the first by file name if several do). For an
114
123
  external caller, `rig_team` reports its `name` as `rig.displayName`, beside the rig's own name. The name follows the
@@ -37,7 +37,7 @@ one does not deprecate the others. Nothing below deletes or overrides an existin
37
37
  | **PRODUCT / MISSION PREPARATION** | **The product-management pass** — the layer above planning, run by the advisor/PM seat before planners touch a mission. The build is a lossy compression pipeline (PM intent → planner spec → builder code); nothing leaks downward by proximity, so this pass grounds in the raw sources, synthesizes ONE scope of record, presents owner decisions decision-ready, mints slices at plan time, deposits the full design contract INLINE in each design-bearing spec (owner words verbatim, settled decisions, evidence, shape of done, anti-goals), routes the complete reading list and internet-research assignments from the spec itself, frames each slice's planning-dial rung with its reason, and rereads every spec as the narrow downstream reader. The measuring stick: SPEC.md alone, plus what it explicitly routes to, reproduces the intent in a reader with none of the author's context. Full reference: `product-management-pass.md`. |
38
38
  | **PLAN** | **The planning dial** — planning rigor is a spectrum chosen per piece: P0 mini-requirements and pointers (simple, reversible work) · P1 an authored spec with a proof contract (the default) · P2 plus a research round before the spec freezes, run BEFORE build dispatch · P3 plus an adversarial pass by a non-author, judged against product goals, landing amendments with proof-contract teeth · P4 plus a blind from-scratch design diffed against priors before proceeding. Dial up by what the piece is, exactly as build care is priced below. Full reference: `planning-dial.md`. |
39
39
  | **BUILD** | **Part A, the simple flow** (below — the default) · **product-journey components** — a mission-selectable menu for greenfield work, drift recovery, public journey probes, one evidence-gated look at the layer below, minimal repair, independent QA/review, integration, and installed smoke; compose only what the work needs in mission/slice YAML, never as a new mode or mandatory pipeline. Full reference: `product-journey-sdlc.md` · **the wave model** — slices build in parallel in disjoint file territories, an integrator merges serially, and independent review fires once per wave (two reviewers with different vantages, never the writers; fix rounds re-earn verdicts at one final revision; per-slice discipline stays failing-test-first and verify-by-effect). The wave IS the care dial: what shares a wave decides how much review each piece gets · **Part B, the rigorous overlay** (below — only when assigned). These combine: a wave can carry one Part-B piece. Full wave reference: `wave-sdlc.md`. |
40
- | **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its hard edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE; when the slice's `slice.yaml` carries `execution.depends_on`, that list takes precedence); soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. **EC-2, wave-as-data:** wave composition + review model live in `mission.yaml` `arrangement.waves` (`{id, slices, review_model?}`; a slice may also name its wave in `slice.yaml` `execution.wave`). Only when the mission has no `mission.yaml`, or it is malformed, does the view fall back to the legacy form: the newest queue row tagged `format:wave-map-v1` and `mission:<mission>` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. **Lanes:** Q1 lists each in-progress row as a lane; a row parked on `external:<what>` also appears as a waiting lane, marked `waiting: {on}`. `external:` records an outside dependency (a review, a decision, a capacity limit, a lifecycle step); it does not mean an outside party owns all the work, or that the parked seat is the slice's builder. The views show it as a waiting row (the seat, the blocker, a link to the row), not as the slice's assignment. It yields to an in-progress lane on the same slice, and it is not counted in `lanes_live`, so `q1_lanes` can be longer than `lanes_live`. Rows parked on a qitem, a human seat, or a `fold:`/`auth:` gate are not lanes. Existing batons are never rewritten. |
40
+ | **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its build-order edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE), and the execution view's sequencing reads them as edges. Proof readiness and eligibility use only `slice.yaml`'s `execution.depends_on`; frontmatter-only edges stay advisory there (#1372). When `slice.yaml` carries `execution.depends_on`, that list takes precedence; soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. In `rig view show execution`, each `readiness.slices[]` entry says which applied in `dependsOnBasis`: `slice.yaml` (its list, `[]` included), `frontmatter-advisory` (an inline JSON array in the SPEC frontmatter only), `frontmatter-unparsed` (a frontmatter list in another form, not read as edges) or `not-recorded` (no order recorded: INDETERMINATE, not none). In all but `slice.yaml`, eligibility assumes no recorded edges. **EC-2, wave-as-data:** wave composition + review model live in `mission.yaml` `arrangement.waves` (`{id, slices, review_model?}`; a slice may also name its wave in `slice.yaml` `execution.wave`). Only when the mission has no `mission.yaml`, or it is malformed, does the view fall back to the legacy form: the newest queue row tagged `format:wave-map-v1` and `mission:<mission>` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. **Lanes:** Q1 lists each in-progress row as a lane; a row parked on `external:<what>` also appears as a waiting lane, marked `waiting: {on}`. `external:` records an outside dependency (a review, a decision, a capacity limit, a lifecycle step); it does not mean an outside party owns all the work, or that the parked seat is the slice's builder. The views show it as a waiting row (the seat, the blocker, a link to the row), not as the slice's assignment. It yields to an in-progress lane on the same slice, and it is not counted in `lanes_live`, so `q1_lanes` can be longer than `lanes_live`. Rows parked on a qitem, a human seat, or a `fold:`/`auth:` gate are not lanes. Existing batons are never rewritten. |
41
41
  | **RELEASE** | The release ceremony conventions (publication identity, honest release notes) and the CAPABILITY-DELTA LIFECYCLE LAW: each release's delta is authored at the fence and bound to the exact candidate, then reconciled to the published cut. Expiry requires both the canon header naming the absorbed delta and a distinct successor delta existing; a draft header alone is insufficient. Verify the actual boundary event and stop citing an expired delta. Full statement: `release-boundary.md` §6. |
42
42
  | **BOUNDARY** | **The release boundary** — housekeeping run once per fence so the next release starts clean: seats reset or re-primed per their continuity needs, memory distilled (keep what changed a decision recently), every queue swept by destination and dispositioned, substrate torn down, boards frozen as records, a clean-box baseline captured. A checklist of judgment guides, not gates. Full reference: `release-boundary.md`. |
43
43
 
@@ -121,6 +121,10 @@ Each slice directory carries:
121
121
  approval starts here.
122
122
  - **`## Proof contract`** — a checkbox list of promised deliverables (see
123
123
  B1). The UI's DELIVERED section pairs each item with its proof.
124
+ - Since 2026-11-15 the scope audit also accepts, in place of those two lists,
125
+ a single `## Requirements` list of bullets that start `R<n>.` and carry
126
+ their proof after `Observable:`; the scaffold and `rig proof` still use the
127
+ two lists.
124
128
  - **`PROGRESS.md`** — the slice's current delivery state and retained outcome
125
129
  log. Record material changes with links to proof; historical checkboxes are
126
130
  testimony, not current acceptance authority. For a selected proof policy,
@@ -18,6 +18,7 @@ create it in.
18
18
  rig slack manifest # the manifest as YAML
19
19
  rig slack manifest --url # Slack's create-app link with the manifest prefilled
20
20
  rig slack manifest --json # the manifest, its scopes and events, and why each scope is requested
21
+ rig slack manifest --private-channel # opt in to private-channel scopes and message.groups
21
22
  ```
22
23
 
23
24
  The TUI shows the same link on the Connections page while Slack is not configured. Neither the
@@ -32,8 +33,8 @@ not fill in; if so, follow the form.
32
33
  1. Open the link from `rig slack manifest --url` in a browser.
33
34
  > **Note on Slack's manifest dialog:** If opening the link results in an empty manifest `{}`
34
35
  > or Slack reports an error translating the manifest, copy the output of `rig slack manifest`
35
- > (run without flags) and paste it directly into the **YAML** tab in Slack's "Create an app from
36
- > an app manifest" dialog.
36
+ > (run without `--url`, and with `--private-channel` if you chose it) and paste it directly into
37
+ > the **YAML** tab in Slack's "Create an app from an app manifest" dialog.
37
38
  2. Sign in to Slack if asked, pick the workspace, review the prefilled manifest, and click
38
39
  **Next**, then **Create**. (If **Create** stays disabled, go **Back** and check that a
39
40
  development workspace is selected and the manifest step shows no error).
@@ -53,9 +54,10 @@ not fill in; if so, follow the form.
53
54
  `rig slack verify` reports NOT ready until the app is a member.
54
55
  9. Register yourself as the human the connector delivers to, with a Slack binding that names
55
56
  your Slack user ID (`rig gateway human add`; its `--help` shows the binding format).
56
- Messages from Slack users who are not registered are not delivered. `rig slack enable`
57
- needs a readable human registry: on a fresh install with no registry, or with an invalid
58
- one, it is refused.
57
+ If the shared channel is registered, messages from otherwise unregistered Slack users
58
+ can be admitted as that channel participant; the envelope preserves the actual Slack
59
+ sender. `rig slack enable` needs a readable human registry: on a fresh install with no
60
+ registry, or with an invalid one, it is refused.
59
61
  10. Run `rig slack setup --channel <channel-id> --secrets-env-file <path>`, then
60
62
  `rig slack verify`, then `rig slack enable`.
61
63
  11. Enabling treats the asks already open as seen, so none of them post. To see them in Slack, run
@@ -77,8 +79,8 @@ not fill in; if so, follow the form.
77
79
 
78
80
  ## What the app asks for
79
81
 
80
- Run `rig slack manifest --json` for the exact list and the reason for each scope. There are two
81
- groups:
82
+ Run `rig slack manifest --json` for the exact list and the reason for each scope. The default
83
+ manifest has two groups:
82
84
 
83
85
  - **Baseline scopes**: posting messages, reading message history in public channels the app is
84
86
  a member of, and reading channel details.
@@ -102,26 +104,42 @@ If a feature scope was not granted, the effect differs by feature:
102
104
  - **Named bots** (`users:read`): Slack refuses the bot lookup, so a named bot's posts are not
103
105
  delivered, and the daemon log names the refusal. Nothing else changes.
104
106
 
105
- So after installing, compare the granted scopes Slack shows for the app with all eight scopes that
106
- `rig slack manifest --json` lists.
107
+ So after installing, compare the granted scopes Slack shows for the app with the eight scopes that
108
+ the default manifest lists.
107
109
 
108
110
  The app subscribes to messages in public channels it is a member of (`message.channels`), to
109
- mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). The manifest does
111
+ mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). The default manifest does
110
112
  not request direct-message or private-channel access.
111
113
 
112
114
  ### Using a private channel
113
115
 
114
- The connector doesn't check whether a channel is public or private, so a private channel can be
115
- the default channel or a mapped one once the app can read it. OpenRig doesn't test this setup. In
116
- the app's settings:
117
-
118
- 1. Under **OAuth & Permissions**, add the bot scopes `groups:history` (read messages in private
119
- channels the app is in) and `groups:read` (read a private channel's details; `rig slack verify`
120
- needs it to confirm the app is a member).
121
- 2. Under **Event Subscriptions**, subscribe to the bot event `message.groups`.
122
- 3. Reinstall the app to the workspace, then invite it to the private channel.
123
- 4. To have `rig slack verify` require the new scopes too, run
124
- `rig slack setup --required-scopes chat:write,channels:history,channels:read,groups:history,groups:read`.
116
+ The public-channel manifest is still the default. To create an app that can read private channels,
117
+ use `rig slack manifest --private-channel` (or add `--url` or `--json`). It adds the bot scopes
118
+ `groups:history` and `groups:read` and the `message.groups` event; the default manifest adds none of
119
+ these. Review the private-channel manifest in Slack, reinstall the app, and invite it to each
120
+ private default or mapped channel. This manifest and verify diagnostic do not prove that live
121
+ Slack delivery will work.
122
+
123
+ `groups:read` is also needed for Slack's `conversations.info` lookup to inspect private-channel
124
+ details. Without access, Slack can refuse the lookup, for example with `missing_scope` or
125
+ `channel_not_found`; the exact error depends on the lookup and access conditions. A failed or
126
+ malformed privacy lookup leaves privacy unknown and does not establish that the channel is public
127
+ or private. `rig slack verify` uses its existing lookup. For a channel Slack identifies as private,
128
+ it reports missing private-channel scopes only when the grant header is available and points to
129
+ `rig slack manifest --private-channel`. This is diagnostic only: it does not change existing
130
+ readiness or exit behavior. Human output says `channel privacy unknown` when privacy is unavailable,
131
+ and `private channel grant status unknown` when privacy is known but Slack did not return an
132
+ available scope list. Both are informational lines, not private-scope warnings. With `--json`, each
133
+ `member` includes `isPrivate` (`true`, `false`, or `null` when privacy is unavailable) and
134
+ `privateScopes` with `status` (`not-applicable`, `unknown`, `missing`, or `complete`) and a `missing`
135
+ list. An unavailable grant header leaves the private-scope status unknown.
136
+
137
+ If you explicitly want `rig slack verify` to include these scopes in its configured baseline, use
138
+ the existing `--required-scopes` option:
139
+
140
+ ```sh
141
+ rig slack setup --required-scopes chat:write,channels:history,channels:read,groups:history,groups:read
142
+ ```
125
143
 
126
144
  Direct messages are not supported.
127
145
 
@@ -1,4 +1,105 @@
1
- # What changed in OpenRig 0.7.17
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
2
103
 
3
104
  This note is for an agent on an install that was just upgraded to 0.7.17.
4
105
  OpenRig 0.7.17 teaches the installer, the kernel operator and the `rigs` skill
@@ -16,7 +117,7 @@ the full capability map, read
16
117
  daemon starts, `rig context get reference/whats-new.md` describes this version.
17
118
  Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
18
119
 
19
- ## After the upgrade
120
+ ### After the upgrade
20
121
 
21
122
  - **Restart the daemon** (`rig daemon stop`, then `rig daemon start`), with a
22
123
  database backup first. Your agents keep running through it; don't use
@@ -28,7 +129,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
28
129
  - **One new setting:** `ui.topology_remote_seats` (off by default) lets the TUI's
29
130
  topology TABLE read a remote rig's seats, read-only.
30
131
 
31
- ## Your person's own conversation
132
+ ### Your person's own conversation
32
133
 
33
134
  - **If your person installed OpenRig from their own Claude Code conversation and
34
135
  stays there,** the installer is instructed to hand their goal to the team as a
@@ -54,7 +155,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
54
155
  startup text; read it from the `rigs` skill's
55
156
  `references/installing-for-someone.md` when you need it.
56
157
 
57
- ## Recovery
158
+ ### Recovery
58
159
 
59
160
  - **Restore** reads `partially_restored`, and names the seat, when it skipped a
60
161
  seat that isn't in the snapshot's roster or left one attached. Which seats
@@ -86,7 +187,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
86
187
  leaves the token unknown; discovered handover resolves a relative
87
188
  `CLAUDE_CONFIG_DIR` against the seat's directory.
88
189
 
89
- ## Delivery, workflows and tools
190
+ ### Delivery, workflows and tools
90
191
 
91
192
  - **Three daemon read paths changed:** the stuck sweep reads undelivered ids in
92
193
  windows and yields between them (a window and one row's derivation are still
@@ -136,7 +237,7 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
136
237
  confirmation hide a hub URL's query string (`--json` keeps the full URL);
137
238
  `rig setup` prints the harness login line.
138
239
 
139
- ## Limits to keep in view
240
+ ### Limits to keep in view
140
241
 
141
242
  - **Your person's conversation isn't woken.** A seat's question waits until
142
243
  they return to it, and a prompt that changes between the capture and the key
@@ -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
@@ -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.
@@ -47,10 +47,20 @@ You run OpenRig on behalf of the user. The operator pod's `operator.human`
47
47
  member holds their shared terminal view. A person's decisions go where they
48
48
  actually answer: this pane while they talk to you here; the return address of
49
49
  the conversation they stay in, when an installer or their own agent gave you
50
- work from one (the task's source and its reply paragraph name it); otherwise the
50
+ work from one (the task's `returnRoute` names it; on a task without one, its
51
+ source and its reply paragraph do); otherwise the
51
52
  registered human channel. A terminal attachment, the shared TUI included, is not
52
53
  a person's address.
53
54
 
55
+ A registered person who writes to you (a row from their `<id>@external` address,
56
+ however it reached you) is one of the people you work for. Answer them where
57
+ they wrote, with `--reply-to` their row, as `messaging-the-human` shows. You
58
+ don't need the terminal user's leave to answer them. Their registered address
59
+ doesn't make them an outsider. "A person's decisions go where they actually
60
+ answer" is about decisions the team needs from a person, not permission to
61
+ answer one. Actions at the hard lines (credentials, destructive deletes, money,
62
+ publishing) still stop and ask about the action.
63
+
54
64
  ## What you do
55
65
 
56
66
  - Bring rigs up and down (`rig up <spec>`, `rig down <rigId>`). `rig down` and `rig seat stop`
@@ -413,10 +423,14 @@ configurations, as below; do not take the pin from a cached page summary.
413
423
  bare `tmux attach`. Don't answer another seat's prompt yourself.
414
424
  A seat stopped at a prompt also reaches you as a queue row tagged
415
425
  `wake-escalation` and `wake-prompt-refusal`; nothing was typed into the
416
- seat. When the person answers from their own conversation (a return
417
- address you hold), take the prompt there as a task, unless a question
418
- about that prompt is already open there: then its sender passes on the
419
- answer, and you block the escalation on that question instead. Capture the
426
+ seat. When OpenRig already sent that prompt to the person's return route
427
+ as a task (the escalation's operator marker says
428
+ `decision=return-route:<address>`), don't send another: the person's own
429
+ agent records their answer there and passes it on. Otherwise, when the
430
+ person answers from their own conversation (a return address you hold),
431
+ take the prompt there as a task, unless a question about that prompt is
432
+ already open there: then its sender passes on the answer, and you block
433
+ the escalation on that question instead. Capture the
420
434
  seat, then
421
435
  `rig queue create --destination <address> --summary "<seat> asks: <action>" --body-file <file>`
422
436
  with the prompt's own text and choices verbatim, the seat, what it was doing