@openrig/cli 0.7.16 → 0.7.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (817) hide show
  1. package/README.md +9 -9
  2. package/daemon/assets/onboarding/02-self-and-competent-action.md +5 -41
  3. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +22 -6
  8. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +5 -0
  11. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +23 -0
  12. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +11 -0
  13. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +25 -5
  14. package/daemon/assets/skills/rigs/SKILL.md +95 -42
  15. package/daemon/assets/skills/rigs/references/installing-for-someone.md +47 -0
  16. package/daemon/context-packs/help/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  18. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +123 -35
  19. package/daemon/context-packs/reference/getting-started.md +8 -8
  20. package/daemon/context-packs/reference/manifest.yaml +1 -1
  21. package/daemon/context-packs/reference/rig-spec.md +166 -0
  22. package/daemon/context-packs/reference/whats-new.md +294 -6
  23. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +23 -0
  32. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  39. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +2 -0
  40. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  48. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/openrig-user/SKILL.md +11 -0
  55. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +25 -5
  78. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  82. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  83. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/claude-code-adapter.js +52 -8
  86. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  88. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  89. package/daemon/dist/adapters/claude-resume.js +17 -7
  90. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  91. package/daemon/dist/adapters/kernel-authority.d.ts +1 -1
  92. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  93. package/daemon/dist/adapters/kernel-authority.js +22 -10
  94. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  95. package/daemon/dist/adapters/openshell-driver.d.ts +1 -0
  96. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  97. package/daemon/dist/adapters/openshell-driver.js +3 -0
  98. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  99. package/daemon/dist/adapters/openshell-podman-observer.d.ts +9 -7
  100. package/daemon/dist/adapters/openshell-podman-observer.d.ts.map +1 -1
  101. package/daemon/dist/adapters/openshell-podman-observer.js +20 -3
  102. package/daemon/dist/adapters/openshell-podman-observer.js.map +1 -1
  103. package/daemon/dist/adapters/pi-runner-protocol.d.ts +43 -0
  104. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  105. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  106. package/daemon/dist/adapters/pi-runner.d.ts +88 -5
  107. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  108. package/daemon/dist/adapters/pi-runner.js +707 -43
  109. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  110. package/daemon/dist/adapters/tmux-credential-env.d.ts +4 -0
  111. package/daemon/dist/adapters/tmux-credential-env.d.ts.map +1 -0
  112. package/daemon/dist/adapters/tmux-credential-env.js +14 -0
  113. package/daemon/dist/adapters/tmux-credential-env.js.map +1 -0
  114. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  115. package/daemon/dist/adapters/tmux-exec.js +4 -3
  116. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  117. package/daemon/dist/adapters/tmux-server.d.ts +2 -2
  118. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  119. package/daemon/dist/adapters/tmux-server.js +12 -4
  120. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  121. package/daemon/dist/adapters/tmux.d.ts +223 -12
  122. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  123. package/daemon/dist/adapters/tmux.js +836 -30
  124. package/daemon/dist/adapters/tmux.js.map +1 -1
  125. package/daemon/dist/attention-surface.d.ts +4 -1
  126. package/daemon/dist/attention-surface.d.ts.map +1 -1
  127. package/daemon/dist/attention-surface.js.map +1 -1
  128. package/daemon/dist/build-info.js +3 -3
  129. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  130. package/daemon/dist/db/all-migrations.js +12 -0
  131. package/daemon/dist/db/all-migrations.js.map +1 -1
  132. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts +6 -0
  133. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.d.ts.map +1 -0
  134. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js +10 -0
  135. package/daemon/dist/db/migrations/168_context_usage_occupant_generation.js.map +1 -0
  136. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts +3 -0
  137. package/daemon/dist/db/migrations/170_rig_delivery_drains.d.ts.map +1 -0
  138. package/daemon/dist/db/migrations/170_rig_delivery_drains.js +21 -0
  139. package/daemon/dist/db/migrations/170_rig_delivery_drains.js.map +1 -0
  140. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts +4 -0
  141. package/daemon/dist/db/migrations/171_claude_auto_mode.d.ts.map +1 -0
  142. package/daemon/dist/db/migrations/171_claude_auto_mode.js +9 -0
  143. package/daemon/dist/db/migrations/171_claude_auto_mode.js.map +1 -0
  144. package/daemon/dist/db/migrations/171_node_input_route.d.ts +4 -0
  145. package/daemon/dist/db/migrations/171_node_input_route.d.ts.map +1 -0
  146. package/daemon/dist/db/migrations/171_node_input_route.js +6 -0
  147. package/daemon/dist/db/migrations/171_node_input_route.js.map +1 -0
  148. package/daemon/dist/db/migrations/172_queue_return_route.d.ts +3 -0
  149. package/daemon/dist/db/migrations/172_queue_return_route.d.ts.map +1 -0
  150. package/daemon/dist/db/migrations/172_queue_return_route.js +13 -0
  151. package/daemon/dist/db/migrations/172_queue_return_route.js.map +1 -0
  152. package/daemon/dist/db/migrations/173_node_process_limits.d.ts +4 -0
  153. package/daemon/dist/db/migrations/173_node_process_limits.d.ts.map +1 -0
  154. package/daemon/dist/db/migrations/173_node_process_limits.js +6 -0
  155. package/daemon/dist/db/migrations/173_node_process_limits.js.map +1 -0
  156. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  157. package/daemon/dist/domain/activity-grants.js +2 -0
  158. package/daemon/dist/domain/activity-grants.js.map +1 -1
  159. package/daemon/dist/domain/agent-activity-store.d.ts +36 -1
  160. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  161. package/daemon/dist/domain/agent-activity-store.js +192 -3
  162. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  163. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +10 -0
  164. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -1
  165. package/daemon/dist/domain/agent-images/resume-token-discovery.js +21 -0
  166. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  167. package/daemon/dist/domain/applied-launch-observation-store.d.ts +5 -0
  168. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  169. package/daemon/dist/domain/applied-launch-observation-store.js +57 -21
  170. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  171. package/daemon/dist/domain/builtin-startup-files.d.ts +26 -12
  172. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  173. package/daemon/dist/domain/builtin-startup-files.js +73 -34
  174. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  175. package/daemon/dist/domain/claude-auto-mode.d.ts +64 -0
  176. package/daemon/dist/domain/claude-auto-mode.d.ts.map +1 -0
  177. package/daemon/dist/domain/claude-auto-mode.js +114 -0
  178. package/daemon/dist/domain/claude-auto-mode.js.map +1 -0
  179. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +2 -0
  180. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  181. package/daemon/dist/domain/claude-compaction-enforcer.js +11 -4
  182. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  183. package/daemon/dist/domain/claude-continuation-launch.d.ts +5 -1
  184. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -1
  185. package/daemon/dist/domain/claude-continuation-launch.js +51 -2
  186. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -1
  187. package/daemon/dist/domain/claude-core-plugin-env.d.ts +7 -3
  188. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  189. package/daemon/dist/domain/claude-core-plugin-env.js +11 -8
  190. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  191. package/daemon/dist/domain/codex-daemon-support.d.ts.map +1 -1
  192. package/daemon/dist/domain/codex-daemon-support.js +6 -1
  193. package/daemon/dist/domain/codex-daemon-support.js.map +1 -1
  194. package/daemon/dist/domain/codex-thread-id.d.ts +13 -0
  195. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  196. package/daemon/dist/domain/codex-thread-id.js +132 -9
  197. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  198. package/daemon/dist/domain/community-harness-launch-result.d.ts +2 -0
  199. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -1
  200. package/daemon/dist/domain/community-harness-launch-result.js +5 -1
  201. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -1
  202. package/daemon/dist/domain/connection-contract.d.ts +91 -0
  203. package/daemon/dist/domain/connection-contract.d.ts.map +1 -1
  204. package/daemon/dist/domain/connection-contract.js +75 -1
  205. package/daemon/dist/domain/connection-contract.js.map +1 -1
  206. package/daemon/dist/domain/context-usage-store.d.ts +16 -2
  207. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  208. package/daemon/dist/domain/context-usage-store.js +70 -15
  209. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  210. package/daemon/dist/domain/current-work.d.ts +11 -1
  211. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  212. package/daemon/dist/domain/current-work.js +107 -12
  213. package/daemon/dist/domain/current-work.js.map +1 -1
  214. package/daemon/dist/domain/cwd-resolution.d.ts +2 -0
  215. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  216. package/daemon/dist/domain/cwd-resolution.js +7 -2
  217. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  218. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  219. package/daemon/dist/domain/draft-aware-delivery.js +5 -1
  220. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  221. package/daemon/dist/domain/environment-lifecycle.d.ts +15 -0
  222. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  223. package/daemon/dist/domain/environment-lifecycle.js +22 -4
  224. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  225. package/daemon/dist/domain/errors.d.ts +4 -0
  226. package/daemon/dist/domain/errors.d.ts.map +1 -1
  227. package/daemon/dist/domain/errors.js +7 -0
  228. package/daemon/dist/domain/errors.js.map +1 -1
  229. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  230. package/daemon/dist/domain/execution-view.js +8 -1
  231. package/daemon/dist/domain/execution-view.js.map +1 -1
  232. package/daemon/dist/domain/existing-rig-restore.d.ts +2 -0
  233. package/daemon/dist/domain/existing-rig-restore.d.ts.map +1 -1
  234. package/daemon/dist/domain/existing-rig-restore.js +1 -0
  235. package/daemon/dist/domain/existing-rig-restore.js.map +1 -1
  236. package/daemon/dist/domain/expected-conversation.d.ts.map +1 -1
  237. package/daemon/dist/domain/expected-conversation.js +26 -11
  238. package/daemon/dist/domain/expected-conversation.js.map +1 -1
  239. package/daemon/dist/domain/gateway/destination-resolver.d.ts +4 -0
  240. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  241. package/daemon/dist/domain/gateway/destination-resolver.js +10 -3
  242. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  243. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +3 -1
  244. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -1
  245. package/daemon/dist/domain/gateway/operator-delivery-engine.js +120 -6
  246. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -1
  247. package/daemon/dist/domain/gateway/slack/capabilities.d.ts +9 -1
  248. package/daemon/dist/domain/gateway/slack/capabilities.d.ts.map +1 -1
  249. package/daemon/dist/domain/gateway/slack/capabilities.js +6 -1
  250. package/daemon/dist/domain/gateway/slack/capabilities.js.map +1 -1
  251. package/daemon/dist/domain/gateway/slack/inbound-admission.js +1 -1
  252. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -1
  253. package/daemon/dist/domain/gateway/slack/inbound.d.ts +4 -0
  254. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  255. package/daemon/dist/domain/gateway/slack/inbound.js +15 -1
  256. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  257. package/daemon/dist/domain/gateway/slack/manifest.d.ts +5 -1
  258. package/daemon/dist/domain/gateway/slack/manifest.d.ts.map +1 -1
  259. package/daemon/dist/domain/gateway/slack/manifest.js +12 -3
  260. package/daemon/dist/domain/gateway/slack/manifest.js.map +1 -1
  261. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -0
  262. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  263. package/daemon/dist/domain/gateway/slack/message.js +4 -1
  264. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  265. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +2 -0
  266. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  268. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/settled-asks.js +6 -5
  271. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  272. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +1 -0
  273. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  274. package/daemon/dist/domain/gateway/slack/slack-api.js +7 -2
  275. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  276. package/daemon/dist/domain/harness-not-started-notice.d.ts +36 -0
  277. package/daemon/dist/domain/harness-not-started-notice.d.ts.map +1 -0
  278. package/daemon/dist/domain/harness-not-started-notice.js +81 -0
  279. package/daemon/dist/domain/harness-not-started-notice.js.map +1 -0
  280. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  281. package/daemon/dist/domain/health-diagnosis.js +4 -0
  282. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  283. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  284. package/daemon/dist/domain/input-read-diagnostic.js +1 -1
  285. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -1
  286. package/daemon/dist/domain/instance-initialization.d.ts +2 -0
  287. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -1
  288. package/daemon/dist/domain/instance-initialization.js +2 -1
  289. package/daemon/dist/domain/instance-initialization.js.map +1 -1
  290. package/daemon/dist/domain/member-connection.d.ts +14 -0
  291. package/daemon/dist/domain/member-connection.d.ts.map +1 -0
  292. package/daemon/dist/domain/member-connection.js +34 -0
  293. package/daemon/dist/domain/member-connection.js.map +1 -0
  294. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  295. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -1
  296. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  297. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +3 -1
  298. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  299. package/daemon/dist/domain/model-divergence/current-model-reader.js +32 -7
  300. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  301. package/daemon/dist/domain/native-model-picker.d.ts +2 -0
  302. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -1
  303. package/daemon/dist/domain/native-model-picker.js +8 -2
  304. package/daemon/dist/domain/native-model-picker.js.map +1 -1
  305. package/daemon/dist/domain/native-permission-store.d.ts +6 -2
  306. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  307. package/daemon/dist/domain/native-permission-store.js +12 -5
  308. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  309. package/daemon/dist/domain/native-resume-probe.d.ts +5 -0
  310. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  311. package/daemon/dist/domain/native-resume-probe.js +172 -21
  312. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  313. package/daemon/dist/domain/network/network-connector.d.ts.map +1 -1
  314. package/daemon/dist/domain/network/network-connector.js +16 -5
  315. package/daemon/dist/domain/network/network-connector.js.map +1 -1
  316. package/daemon/dist/domain/network/network-installations.d.ts +5 -4
  317. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -1
  318. package/daemon/dist/domain/network/network-installations.js +42 -11
  319. package/daemon/dist/domain/network/network-installations.js.map +1 -1
  320. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  321. package/daemon/dist/domain/node-inventory.js +28 -0
  322. package/daemon/dist/domain/node-inventory.js.map +1 -1
  323. package/daemon/dist/domain/node-launcher.d.ts +11 -0
  324. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  325. package/daemon/dist/domain/node-launcher.js +23 -7
  326. package/daemon/dist/domain/node-launcher.js.map +1 -1
  327. package/daemon/dist/domain/occupant-invalidator.d.ts +4 -1
  328. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  329. package/daemon/dist/domain/occupant-invalidator.js +10 -2
  330. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  331. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  332. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  333. package/daemon/dist/domain/operation-correlation.js +1 -1
  334. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  335. package/daemon/dist/domain/outbox-handler.d.ts +50 -0
  336. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  337. package/daemon/dist/domain/outbox-handler.js +255 -1
  338. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  339. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  340. package/daemon/dist/domain/parked-query.js +3 -1
  341. package/daemon/dist/domain/parked-query.js.map +1 -1
  342. package/daemon/dist/domain/permission-account.d.ts +28 -1
  343. package/daemon/dist/domain/permission-account.d.ts.map +1 -1
  344. package/daemon/dist/domain/permission-account.js +55 -11
  345. package/daemon/dist/domain/permission-account.js.map +1 -1
  346. package/daemon/dist/domain/permission-drift.d.ts +2 -0
  347. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  348. package/daemon/dist/domain/permission-drift.js.map +1 -1
  349. package/daemon/dist/domain/pi-compaction-request-store.d.ts +16 -0
  350. package/daemon/dist/domain/pi-compaction-request-store.d.ts.map +1 -0
  351. package/daemon/dist/domain/pi-compaction-request-store.js +40 -0
  352. package/daemon/dist/domain/pi-compaction-request-store.js.map +1 -0
  353. package/daemon/dist/domain/pi-compaction-service.d.ts +82 -0
  354. package/daemon/dist/domain/pi-compaction-service.d.ts.map +1 -0
  355. package/daemon/dist/domain/pi-compaction-service.js +229 -0
  356. package/daemon/dist/domain/pi-compaction-service.js.map +1 -0
  357. package/daemon/dist/domain/process-limits.d.ts +37 -0
  358. package/daemon/dist/domain/process-limits.d.ts.map +1 -0
  359. package/daemon/dist/domain/process-limits.js +69 -0
  360. package/daemon/dist/domain/process-limits.js.map +1 -0
  361. package/daemon/dist/domain/process-table.d.ts +9 -0
  362. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  363. package/daemon/dist/domain/process-table.js +21 -4
  364. package/daemon/dist/domain/process-table.js.map +1 -1
  365. package/daemon/dist/domain/proof/judgments.d.ts +7 -0
  366. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  367. package/daemon/dist/domain/proof/judgments.js +27 -1
  368. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  369. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  370. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  371. package/daemon/dist/domain/ps-projection.js +6 -1
  372. package/daemon/dist/domain/ps-projection.js.map +1 -1
  373. package/daemon/dist/domain/queue-erasure.d.ts +18 -7
  374. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  375. package/daemon/dist/domain/queue-erasure.js +270 -41
  376. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  377. package/daemon/dist/domain/queue-repository.d.ts +81 -16
  378. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  379. package/daemon/dist/domain/queue-repository.js +325 -76
  380. package/daemon/dist/domain/queue-repository.js.map +1 -1
  381. package/daemon/dist/domain/queue-stuck-sweep.d.ts +3 -0
  382. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  383. package/daemon/dist/domain/queue-stuck-sweep.js +90 -30
  384. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  385. package/daemon/dist/domain/queue-transition-log.d.ts +5 -3
  386. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  387. package/daemon/dist/domain/queue-transition-log.js +9 -6
  388. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  389. package/daemon/dist/domain/queue-wake-ladder.d.ts +8 -0
  390. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  391. package/daemon/dist/domain/queue-wake-ladder.js +245 -41
  392. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  393. package/daemon/dist/domain/queue-wake-repository.d.ts +2 -1
  394. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  395. package/daemon/dist/domain/queue-wake-repository.js +31 -4
  396. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  397. package/daemon/dist/domain/restore-check-service.d.ts +23 -0
  398. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  399. package/daemon/dist/domain/restore-check-service.js +198 -12
  400. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  401. package/daemon/dist/domain/restore-orchestrator.d.ts +64 -3
  402. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  403. package/daemon/dist/domain/restore-orchestrator.js +335 -82
  404. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  405. package/daemon/dist/domain/restore-plan-preview.d.ts +28 -1
  406. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  407. package/daemon/dist/domain/restore-plan-preview.js +17 -5
  408. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  409. package/daemon/dist/domain/restore-preconditions.d.ts +26 -0
  410. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  411. package/daemon/dist/domain/restore-preconditions.js +63 -1
  412. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  413. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  414. package/daemon/dist/domain/resume-metadata-refresher.js +4 -1
  415. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  416. package/daemon/dist/domain/resume-token-validation.d.ts +3 -1
  417. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  418. package/daemon/dist/domain/resume-token-validation.js +6 -3
  419. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  420. package/daemon/dist/domain/return-route.d.ts +73 -0
  421. package/daemon/dist/domain/return-route.d.ts.map +1 -0
  422. package/daemon/dist/domain/return-route.js +124 -0
  423. package/daemon/dist/domain/return-route.js.map +1 -0
  424. package/daemon/dist/domain/rig-delivery-drain.d.ts +46 -0
  425. package/daemon/dist/domain/rig-delivery-drain.d.ts.map +1 -0
  426. package/daemon/dist/domain/rig-delivery-drain.js +128 -0
  427. package/daemon/dist/domain/rig-delivery-drain.js.map +1 -0
  428. package/daemon/dist/domain/rig-expansion-service.js +1 -1
  429. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  430. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  431. package/daemon/dist/domain/rig-lifecycle-service.js +4 -1
  432. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  433. package/daemon/dist/domain/rig-repository.d.ts +12 -0
  434. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  435. package/daemon/dist/domain/rig-repository.js +73 -0
  436. package/daemon/dist/domain/rig-repository.js.map +1 -1
  437. package/daemon/dist/domain/rig-teardown.d.ts +22 -3
  438. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  439. package/daemon/dist/domain/rig-teardown.js +99 -20
  440. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  441. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  442. package/daemon/dist/domain/rigspec-codec.js +9 -0
  443. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  444. package/daemon/dist/domain/rigspec-exporter.d.ts +6 -0
  445. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  446. package/daemon/dist/domain/rigspec-exporter.js +30 -0
  447. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  448. package/daemon/dist/domain/rigspec-instantiator.d.ts +22 -2
  449. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  450. package/daemon/dist/domain/rigspec-instantiator.js +82 -23
  451. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  452. package/daemon/dist/domain/rigspec-preflight.d.ts +1 -1
  453. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  454. package/daemon/dist/domain/rigspec-preflight.js +16 -1
  455. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  456. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  457. package/daemon/dist/domain/rigspec-schema.js +44 -1
  458. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  459. package/daemon/dist/domain/rosters.d.ts +12 -0
  460. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  461. package/daemon/dist/domain/rosters.js +17 -4
  462. package/daemon/dist/domain/rosters.js.map +1 -1
  463. package/daemon/dist/domain/runner-channel.d.ts +33 -0
  464. package/daemon/dist/domain/runner-channel.d.ts.map +1 -0
  465. package/daemon/dist/domain/runner-channel.js +179 -0
  466. package/daemon/dist/domain/runner-channel.js.map +1 -0
  467. package/daemon/dist/domain/runner-grant-launch.js +2 -2
  468. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  469. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  470. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  471. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  472. package/daemon/dist/domain/runtime-switch-materials.js +4 -3
  473. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  474. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  475. package/daemon/dist/domain/scope/scope-audit.js +55 -3
  476. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  477. package/daemon/dist/domain/seat-attention-reconciler.d.ts +6 -4
  478. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  479. package/daemon/dist/domain/seat-attention-reconciler.js +17 -10
  480. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  481. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  482. package/daemon/dist/domain/seat-delivery-guard.js +2 -1
  483. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  484. package/daemon/dist/domain/seat-handover-service.d.ts +27 -4
  485. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  486. package/daemon/dist/domain/seat-handover-service.js +209 -64
  487. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  488. package/daemon/dist/domain/seat-identity-reconciler.d.ts +8 -1
  489. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  490. package/daemon/dist/domain/seat-identity-reconciler.js +52 -12
  491. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  492. package/daemon/dist/domain/seat-launch-environment.d.ts +3 -2
  493. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  494. package/daemon/dist/domain/seat-launch-environment.js +16 -4
  495. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  496. package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -4
  497. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  498. package/daemon/dist/domain/seat-lifecycle-service.js +68 -2
  499. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  500. package/daemon/dist/domain/seat-restart-in-place.d.ts +9 -2
  501. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  502. package/daemon/dist/domain/seat-restart-in-place.js +34 -2
  503. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  504. package/daemon/dist/domain/seat-runtime-switch-service.d.ts +4 -0
  505. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  506. package/daemon/dist/domain/seat-runtime-switch-service.js +9 -3
  507. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  508. package/daemon/dist/domain/seat-status-service.d.ts +4 -0
  509. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  510. package/daemon/dist/domain/seat-status-service.js +31 -6
  511. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  512. package/daemon/dist/domain/session-name.d.ts +13 -0
  513. package/daemon/dist/domain/session-name.d.ts.map +1 -1
  514. package/daemon/dist/domain/session-name.js +77 -0
  515. package/daemon/dist/domain/session-name.js.map +1 -1
  516. package/daemon/dist/domain/session-registry.d.ts +7 -1
  517. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  518. package/daemon/dist/domain/session-registry.js +7 -4
  519. package/daemon/dist/domain/session-registry.js.map +1 -1
  520. package/daemon/dist/domain/session-transport.d.ts +16 -3
  521. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  522. package/daemon/dist/domain/session-transport.js +161 -16
  523. package/daemon/dist/domain/session-transport.js.map +1 -1
  524. package/daemon/dist/domain/shared-conversation.d.ts +58 -0
  525. package/daemon/dist/domain/shared-conversation.d.ts.map +1 -0
  526. package/daemon/dist/domain/shared-conversation.js +98 -0
  527. package/daemon/dist/domain/shared-conversation.js.map +1 -0
  528. package/daemon/dist/domain/shared-history-selection.d.ts +1 -0
  529. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  530. package/daemon/dist/domain/shared-history-selection.js +3 -1
  531. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  532. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  533. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  534. package/daemon/dist/domain/snapshot-capture.js +19 -12
  535. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  536. package/daemon/dist/domain/startup-phase-timing.d.ts +19 -0
  537. package/daemon/dist/domain/startup-phase-timing.d.ts.map +1 -0
  538. package/daemon/dist/domain/startup-phase-timing.js +23 -0
  539. package/daemon/dist/domain/startup-phase-timing.js.map +1 -0
  540. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  541. package/daemon/dist/domain/startup-submission-evidence.js +3 -2
  542. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  543. package/daemon/dist/domain/successor-session-launcher.d.ts +9 -0
  544. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  545. package/daemon/dist/domain/successor-session-launcher.js +24 -7
  546. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  547. package/daemon/dist/domain/team-operations.d.ts +6 -6
  548. package/daemon/dist/domain/team-operations.d.ts.map +1 -1
  549. package/daemon/dist/domain/team-operations.js +2 -4
  550. package/daemon/dist/domain/team-operations.js.map +1 -1
  551. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +6 -0
  552. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -1
  553. package/daemon/dist/domain/terminal/herdr-app-provider.js +23 -1
  554. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -1
  555. package/daemon/dist/domain/terminal-policy.js +1 -1
  556. package/daemon/dist/domain/terminal-policy.js.map +1 -1
  557. package/daemon/dist/domain/types.d.ts +91 -6
  558. package/daemon/dist/domain/types.d.ts.map +1 -1
  559. package/daemon/dist/domain/types.js.map +1 -1
  560. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  561. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  562. package/daemon/dist/domain/user-settings/settings-store.js +6 -0
  563. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  564. package/daemon/dist/domain/watchdog-delivery.d.ts +1 -1
  565. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  566. package/daemon/dist/domain/watchdog-delivery.js +6 -3
  567. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  568. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  569. package/daemon/dist/domain/watchdog-jobs-repository.js +1 -0
  570. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  571. package/daemon/dist/domain/watchdog-policy-engine.d.ts +9 -0
  572. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  573. package/daemon/dist/domain/watchdog-policy-engine.js +42 -5
  574. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  575. package/daemon/dist/domain/workflow-instance-store.d.ts +3 -2
  576. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  577. package/daemon/dist/domain/workflow-instance-store.js +6 -4
  578. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  579. package/daemon/dist/domain/workflow-projector.d.ts +48 -0
  580. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  581. package/daemon/dist/domain/workflow-projector.js +160 -90
  582. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  583. package/daemon/dist/domain/workflow-reconciliation.d.ts +7 -1
  584. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -1
  585. package/daemon/dist/domain/workflow-reconciliation.js +51 -13
  586. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -1
  587. package/daemon/dist/domain/workflow-runtime.d.ts +5 -3
  588. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  589. package/daemon/dist/domain/workflow-runtime.js +48 -22
  590. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  591. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -1
  592. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  593. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +35 -7
  594. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  595. package/daemon/dist/gateway-slack-surface.d.ts +2 -2
  596. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  597. package/daemon/dist/gateway-slack-surface.js +1 -1
  598. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  599. package/daemon/dist/index.d.ts.map +1 -1
  600. package/daemon/dist/index.js +13 -2
  601. package/daemon/dist/index.js.map +1 -1
  602. package/daemon/dist/routes/activity.d.ts.map +1 -1
  603. package/daemon/dist/routes/activity.js +105 -2
  604. package/daemon/dist/routes/activity.js.map +1 -1
  605. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  606. package/daemon/dist/routes/agent-images.js +6 -1
  607. package/daemon/dist/routes/agent-images.js.map +1 -1
  608. package/daemon/dist/routes/attention.d.ts.map +1 -1
  609. package/daemon/dist/routes/attention.js +2 -1
  610. package/daemon/dist/routes/attention.js.map +1 -1
  611. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  612. package/daemon/dist/routes/compaction.js +46 -7
  613. package/daemon/dist/routes/compaction.js.map +1 -1
  614. package/daemon/dist/routes/queue.d.ts +4 -1
  615. package/daemon/dist/routes/queue.d.ts.map +1 -1
  616. package/daemon/dist/routes/queue.js +266 -38
  617. package/daemon/dist/routes/queue.js.map +1 -1
  618. package/daemon/dist/routes/require-sender-identity.d.ts +4 -3
  619. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  620. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  621. package/daemon/dist/routes/restore-check.d.ts.map +1 -1
  622. package/daemon/dist/routes/restore-check.js +18 -0
  623. package/daemon/dist/routes/restore-check.js.map +1 -1
  624. package/daemon/dist/routes/rig-delivery-drain.d.ts +3 -0
  625. package/daemon/dist/routes/rig-delivery-drain.d.ts.map +1 -0
  626. package/daemon/dist/routes/rig-delivery-drain.js +46 -0
  627. package/daemon/dist/routes/rig-delivery-drain.js.map +1 -0
  628. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  629. package/daemon/dist/routes/rigspec.js +24 -4
  630. package/daemon/dist/routes/rigspec.js.map +1 -1
  631. package/daemon/dist/routes/seat.d.ts.map +1 -1
  632. package/daemon/dist/routes/seat.js +107 -6
  633. package/daemon/dist/routes/seat.js.map +1 -1
  634. package/daemon/dist/routes/sessions.js +14 -3
  635. package/daemon/dist/routes/sessions.js.map +1 -1
  636. package/daemon/dist/routes/startup.d.ts.map +1 -1
  637. package/daemon/dist/routes/startup.js +127 -29
  638. package/daemon/dist/routes/startup.js.map +1 -1
  639. package/daemon/dist/routes/up.d.ts.map +1 -1
  640. package/daemon/dist/routes/up.js +16 -4
  641. package/daemon/dist/routes/up.js.map +1 -1
  642. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  643. package/daemon/dist/routes/watchdog.js +18 -1
  644. package/daemon/dist/routes/watchdog.js.map +1 -1
  645. package/daemon/dist/routes/workflow.js +1 -1
  646. package/daemon/dist/routes/workflow.js.map +1 -1
  647. package/daemon/dist/server.d.ts +3 -0
  648. package/daemon/dist/server.d.ts.map +1 -1
  649. package/daemon/dist/server.js +13 -0
  650. package/daemon/dist/server.js.map +1 -1
  651. package/daemon/dist/startup.d.ts.map +1 -1
  652. package/daemon/dist/startup.js +57 -16
  653. package/daemon/dist/startup.js.map +1 -1
  654. package/daemon/docs/reference/agent-startup-guide.md +5 -3
  655. package/daemon/docs/reference/community-harness-examples/dsh/README.md +8 -0
  656. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +139 -5
  657. package/daemon/docs/reference/community-harness-presets.md +2 -0
  658. package/daemon/docs/reference/daemon-http-clients.md +123 -6
  659. package/daemon/docs/reference/getting-started.md +8 -8
  660. package/daemon/docs/reference/harness-runner-contract.md +91 -1
  661. package/daemon/docs/reference/herdr-app.md +6 -0
  662. package/daemon/docs/reference/hosted-members.md +4 -2
  663. package/daemon/docs/reference/network-connector.md +4 -3
  664. package/daemon/docs/reference/queue-erasure.md +16 -1
  665. package/daemon/docs/reference/quickstart.md +2 -2
  666. package/daemon/docs/reference/rig-spec.md +166 -0
  667. package/daemon/docs/reference/rosters.md +9 -0
  668. package/daemon/docs/reference/sdlc-conventions.md +5 -1
  669. package/daemon/docs/reference/slack-app-setup.md +39 -21
  670. package/daemon/docs/reference/whats-new.md +294 -6
  671. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +23 -0
  672. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +1 -1
  673. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +2 -0
  674. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +22 -6
  675. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +26 -5
  676. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +92 -18
  677. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +9 -6
  678. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +12 -0
  679. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +26 -5
  680. package/dist/acp/connector.js +1 -1
  681. package/dist/acp/connector.js.map +1 -1
  682. package/dist/build-info.js +3 -3
  683. package/dist/cli-error.d.ts.map +1 -1
  684. package/dist/cli-error.js +7 -1
  685. package/dist/cli-error.js.map +1 -1
  686. package/dist/client.d.ts +2 -1
  687. package/dist/client.d.ts.map +1 -1
  688. package/dist/client.js +3 -2
  689. package/dist/client.js.map +1 -1
  690. package/dist/commands/ask.d.ts.map +1 -1
  691. package/dist/commands/ask.js +92 -11
  692. package/dist/commands/ask.js.map +1 -1
  693. package/dist/commands/broadcast.js +9 -5
  694. package/dist/commands/broadcast.js.map +1 -1
  695. package/dist/commands/compact.d.ts +3 -4
  696. package/dist/commands/compact.d.ts.map +1 -1
  697. package/dist/commands/compact.js +76 -16
  698. package/dist/commands/compact.js.map +1 -1
  699. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  700. package/dist/commands/config-init-workspace.js +3 -0
  701. package/dist/commands/config-init-workspace.js.map +1 -1
  702. package/dist/commands/config.d.ts.map +1 -1
  703. package/dist/commands/config.js +2 -0
  704. package/dist/commands/config.js.map +1 -1
  705. package/dist/commands/down.d.ts.map +1 -1
  706. package/dist/commands/down.js +7 -1
  707. package/dist/commands/down.js.map +1 -1
  708. package/dist/commands/environment.js +1 -1
  709. package/dist/commands/environment.js.map +1 -1
  710. package/dist/commands/export.d.ts.map +1 -1
  711. package/dist/commands/export.js +2 -1
  712. package/dist/commands/export.js.map +1 -1
  713. package/dist/commands/fork.d.ts.map +1 -1
  714. package/dist/commands/fork.js +2 -0
  715. package/dist/commands/fork.js.map +1 -1
  716. package/dist/commands/launch.d.ts.map +1 -1
  717. package/dist/commands/launch.js +11 -3
  718. package/dist/commands/launch.js.map +1 -1
  719. package/dist/commands/network.d.ts +2 -0
  720. package/dist/commands/network.d.ts.map +1 -1
  721. package/dist/commands/network.js +14 -1
  722. package/dist/commands/network.js.map +1 -1
  723. package/dist/commands/ps.d.ts +28 -0
  724. package/dist/commands/ps.d.ts.map +1 -1
  725. package/dist/commands/ps.js +76 -2
  726. package/dist/commands/ps.js.map +1 -1
  727. package/dist/commands/queue.d.ts +1 -1
  728. package/dist/commands/queue.d.ts.map +1 -1
  729. package/dist/commands/queue.js +350 -29
  730. package/dist/commands/queue.js.map +1 -1
  731. package/dist/commands/restore.d.ts.map +1 -1
  732. package/dist/commands/restore.js +6 -1
  733. package/dist/commands/restore.js.map +1 -1
  734. package/dist/commands/rig.d.ts +2 -0
  735. package/dist/commands/rig.d.ts.map +1 -1
  736. package/dist/commands/rig.js +36 -2
  737. package/dist/commands/rig.js.map +1 -1
  738. package/dist/commands/roster.d.ts +3 -0
  739. package/dist/commands/roster.d.ts.map +1 -1
  740. package/dist/commands/seat.d.ts.map +1 -1
  741. package/dist/commands/seat.js +128 -9
  742. package/dist/commands/seat.js.map +1 -1
  743. package/dist/commands/send.d.ts.map +1 -1
  744. package/dist/commands/send.js +47 -6
  745. package/dist/commands/send.js.map +1 -1
  746. package/dist/commands/setup.d.ts.map +1 -1
  747. package/dist/commands/setup.js +5 -3
  748. package/dist/commands/setup.js.map +1 -1
  749. package/dist/commands/slack.d.ts +2 -1
  750. package/dist/commands/slack.d.ts.map +1 -1
  751. package/dist/commands/slack.js +38 -2
  752. package/dist/commands/slack.js.map +1 -1
  753. package/dist/commands/terminal.d.ts.map +1 -1
  754. package/dist/commands/terminal.js +5 -5
  755. package/dist/commands/terminal.js.map +1 -1
  756. package/dist/commands/up.d.ts.map +1 -1
  757. package/dist/commands/up.js +10 -0
  758. package/dist/commands/up.js.map +1 -1
  759. package/dist/commands/workflow.d.ts.map +1 -1
  760. package/dist/commands/workflow.js +10 -4
  761. package/dist/commands/workflow.js.map +1 -1
  762. package/dist/config-store.d.ts +3 -1
  763. package/dist/config-store.d.ts.map +1 -1
  764. package/dist/config-store.js +5 -0
  765. package/dist/config-store.js.map +1 -1
  766. package/dist/daemon-lifecycle.d.ts.map +1 -1
  767. package/dist/daemon-lifecycle.js +1 -0
  768. package/dist/daemon-lifecycle.js.map +1 -1
  769. package/dist/lib/bundle-check.d.ts.map +1 -1
  770. package/dist/lib/bundle-check.js +33 -3
  771. package/dist/lib/bundle-check.js.map +1 -1
  772. package/dist/lib/model-observation.d.ts.map +1 -1
  773. package/dist/lib/model-observation.js +9 -3
  774. package/dist/lib/model-observation.js.map +1 -1
  775. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  776. package/dist/lib/scope/scope-audit.js +55 -3
  777. package/dist/lib/scope/scope-audit.js.map +1 -1
  778. package/dist/local-db.d.ts +5 -0
  779. package/dist/local-db.d.ts.map +1 -0
  780. package/dist/local-db.js +23 -0
  781. package/dist/local-db.js.map +1 -0
  782. package/dist/local-origin.d.ts.map +1 -1
  783. package/dist/local-origin.js +2 -17
  784. package/dist/local-origin.js.map +1 -1
  785. package/dist/mcp-server.d.ts.map +1 -1
  786. package/dist/mcp-server.js +170 -27
  787. package/dist/mcp-server.js.map +1 -1
  788. package/dist/person-registration-offer.d.ts.map +1 -1
  789. package/dist/person-registration-offer.js +2 -1
  790. package/dist/person-registration-offer.js.map +1 -1
  791. package/dist/sender-identity.d.ts +18 -6
  792. package/dist/sender-identity.d.ts.map +1 -1
  793. package/dist/sender-identity.js +67 -7
  794. package/dist/sender-identity.js.map +1 -1
  795. package/dist/terminal-window-rex.d.ts +1 -1
  796. package/dist/terminal-window-rex.d.ts.map +1 -1
  797. package/dist/terminal-window-rex.js +3 -2
  798. package/dist/terminal-window-rex.js.map +1 -1
  799. package/dist/terminal-window.js +3 -3
  800. package/dist/terminal-window.js.map +1 -1
  801. package/package.json +2 -2
  802. package/tui/dist/config/config-model.js +1 -1
  803. package/tui/dist/config/config-model.js.map +1 -1
  804. package/tui/dist/daemon-client.d.ts +3 -1
  805. package/tui/dist/daemon-client.d.ts.map +1 -1
  806. package/tui/dist/daemon-client.js +6 -3
  807. package/tui/dist/daemon-client.js.map +1 -1
  808. package/tui/dist/hydrate.d.ts.map +1 -1
  809. package/tui/dist/hydrate.js +31 -1
  810. package/tui/dist/hydrate.js.map +1 -1
  811. package/tui/dist/render.d.ts.map +1 -1
  812. package/tui/dist/render.js +106 -15
  813. package/tui/dist/render.js.map +1 -1
  814. package/tui/dist/types.d.ts +2 -0
  815. package/tui/dist/types.d.ts.map +1 -1
  816. package/ui/dist/assets/{index-BvUEh33d.js → index-1O1f3A7K.js} +55 -55
  817. package/ui/dist/index.html +1 -1
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Ninety-three top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.16`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.18`). This marker describes the pack's teaching, not publication or live
15
15
  adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
16
16
  What changed in the installed version, and what to do about it, is one read away:
17
17
  `rig context get reference/whats-new.md`.
@@ -35,8 +35,10 @@ one command away. Your memory of the fleet is a claim about the past.
35
35
  cells you were scanning for. A seat whose tmux session is confirmed gone reads `detached`
36
36
  (activity reason `session_missing`), and `rig ps --nodes` says to restore or relaunch it. Since 0.7.14 `rig ps` ends with connected
37
37
  assistants and their check-in line, and node reads take turns through their three synchronous
38
- steps, so other reads and sends aren't held behind a burst of them; a nodes response is no longer
39
- one snapshot across those steps, and in a burst each one comes later.
38
+ steps. In the change's own tests, health checks and queue reads were no longer held behind a whole
39
+ burst of them; a comparison under load didn't attribute a gain to it (`rig ps --nodes` showed no
40
+ change, and sends were inconclusive). A nodes response is no longer one snapshot across those
41
+ steps, and in a burst each one comes later.
40
42
  A verified exited process in a retained pane reads `pane_exited`, instead of running and ready;
41
43
  outstanding work uses the existing recovery-finding route. An unknown observation is not an exit.
42
44
  `rig ps --nodes` also shows the model each seat was last seen using (`modelObservation`, with its
@@ -132,7 +134,10 @@ unseen — which makes messages the one delivery channel that never gets skipped
132
134
  staged but not submitted): the message may still have arrived, so inspect with `rig capture`
133
135
  before any resend, and don't let a script resend on that exit code alone. Since 0.7.14 an ordinary
134
136
  send is refused as needing input while an open Claude Code or Codex `/model` picker is
135
- positively identified; nothing is typed. A
137
+ positively identified; nothing is typed. That's shown by the change's own tests, not yet checked
138
+ with the real Claude Code and Codex programs on 0.7.14. Since 0.7.17 that refusal says to close the
139
+ picker (Esc) in that pane and send again, and doesn't offer `--dangerously-interact`, because text
140
+ typed there picks a model. A
136
141
  producer-link advisory reading `no_activity_signal` means activity could not be determined;
137
142
  confirm by effect, never relaunch on it. A send or wake to a seat whose latest hook is a
138
143
  question waiting for a person is refused with `target_needs_input`, even when its screen
@@ -400,7 +405,9 @@ your context, your compaction and your replacement — and it is the only thing
400
405
  up to the 30-second default, even when Slack isn't set up or the row won't be posted. With `output.compact` on (off by default;
401
406
  `rig config set output.compact true`), the queue write commands print a short receipt, `rig queue show` leaves out empty fields,
402
407
  `rig queue transitions` shows the latest five, and `rig whoami --json` bounds its peer list; `--full` (or `--all-peers`) prints
403
- everything.
408
+ everything. Since 0.7.18 `rig queue tag <id> --add <tag>` adds tags to a row that already
409
+ exists, in any state, without changing its state, claim or closure; an added `project:`,
410
+ `mission:` or `slice:` tag reaches the scope views like a create-time tag.
404
411
  - **`rig queue show`** — what a row *actually says*. The header is not the body. On a closed row,
405
412
  `--full` adds `closingTransition`: how it ended, who closed it and the closing note.
406
413
  `rig queue show`, `list`, `transitions`, `update` and `block` take `--host <id>` for a row on
@@ -542,8 +549,10 @@ relay is a reason to inspect the available routing, not to surrender judgment to
542
549
  inputs before changing a progressed run. Ordinary show and TUI inspection distinguish
543
550
  source-only edits (such as a catalog address) from executable changes. Preview names
544
551
  changed steps, incompatibilities and an exact apply command. Supported revisions preserve
545
- completed/live steps, receipts, required obligations and child custody; new work must
546
- depend on unfinished work. A changed completed/live contract needs explicit reconsideration:
552
+ completed/live steps, receipts, required obligations and child custody. An obsolete
553
+ dependency can be removed from unstarted work: the preview names each removed edge, each
554
+ loosened required order and each step it makes ready, and applying projects each ready step
555
+ once. A changed completed/live contract needs explicit reconsideration:
547
556
  restore it and revise unstarted successors. Revision does not guess a migration or replay
548
557
  accepted consequences. Exception-routing corrections can be adopted for future occurrences;
549
558
  existing exception obligations retain custody. Editing source alone does not change the
@@ -566,8 +575,9 @@ relay is a reason to inspect the available routing, not to surrender judgment to
566
575
  without pretending it completed.
567
576
  Since 0.7.16, when a queue handoff closed the frontier packet, route to the same target adopts
568
577
  the queue's single handoff successor and writes nothing to the queue, and `rig workflow project`
569
- records the agent's exit on the closed packet without changing its queue history. A write-free
570
- replay needs the original `--packet`, and a canceled packet isn't treated as terminal.
578
+ records the agent's exit on the closed packet without changing its queue history. In 0.7.16 a
579
+ write-free replay needed the original `--packet`; since 0.7.17 a repeated route without it
580
+ selects the successor it adopted and writes nothing. A canceled packet isn't treated as terminal.
571
581
  - **`rig workflow resume`** — after correcting a failure, redrive its step while retaining
572
582
  completed work. A dependency branch can fail while siblings remain live. Use
573
583
  `--occurrence <failed-qitem-id>` to select that failure (required when several are
@@ -597,10 +607,32 @@ install to a team doing the work. The daemon installs it for the person's own ag
597
607
  (`~/.claude/skills/rigs` and `~/.agents/skills/rigs`) and refreshes it on every upgrade; a copy
598
608
  added with skills.sh is left alone and never refreshed. Since 0.7.16 the skill tells the agent to
599
609
  bring these prompts (a seat's permission, trust or hook-review prompt) to the person as questions
600
- by default, and to send the key the current screen shows for their choice. It may decide a kind of
601
- prompt only under the person's explicit instruction, and never records its own decision as the
602
- person's. Its setup path teaches an installing assistant the person stays with to keep its own
603
- return address, so the team's questions come back to it, and the skill follows a task handed on to another host with `rig queue show <id> --host <host>`.
610
+ by default, and to send the key the current screen shows for their choice. It tells the agent to
611
+ decide a kind of prompt only under the person's explicit instruction, and never to record its own
612
+ decision as the person's. When 0.7.16 was tested, in one Claude setup an agent still recorded
613
+ approvals it made itself as "Person approved", so those entries alone don't establish the person's
614
+ approval. Its setup path teaches an installing assistant the person stays with to keep its own
615
+ return address for the team's questions. In 0.7.16, OpenRig's own question about a
616
+ seat's prompt doesn't reach a person who isn't registered; it waits with the kernel operator, and
617
+ registering wasn't tested as a fix for this. Since 0.7.17, when the person stays in their own
618
+ conversation, the installer is instructed to hand their goal over as a task from that conversation's
619
+ address, and the kernel operator to bring a seat's prompt there as a task, with its choices verbatim,
620
+ to relay only the person's recorded words, and to offer a pane only as their choice. Nothing wakes
621
+ that conversation, so a question waits until the person returns; a prompt that changes between its
622
+ capture and the key can take the key. In 0.7.17's first trial, with Claude Code and a simulated
623
+ person, a reviewer's permission question never reached the person, the person's agent twice offered a
624
+ bare terminal attachment as a way to answer a seat's prompt, and the work didn't reach a reviewed
625
+ commit; this guidance doesn't reliably complete that journey, and a second trial wasn't run.
626
+ Since 0.7.18, `rig queue create --return-route auto` hands the goal over and gives the person's
627
+ conversation an address (`--return-route self` for a session that joined the team, or another
628
+ conversation's address). Every handoff carries the route, and when routed work is held at a seat's
629
+ prompt or waits on it, a prompt that isn't a choice dialog is sent to the route as a task. Choice
630
+ prompts, a prompt already with the gateway, and a route that can't be used (another host's, two that
631
+ disagree, or a relay that couldn't be made) keep their existing path. It arrives on the
632
+ conversation's next turn: nothing wakes an idle conversation, arrival isn't guaranteed, and a prompt
633
+ can still change between its capture and the key. No end-to-end result with a person is claimed yet. Without `--return-route` nothing changes. The
634
+ skill also follows a task handed on to another
635
+ host with `rig queue show <id> --host <host>`.
604
636
 
605
637
  `starter` and `factory` are built in: preview the team, inspect `rig up <team> --cwd . --plan`,
606
638
  and follow `docs/reference/getting-started.md`. `first-project` is starter's old name and still
@@ -631,12 +663,16 @@ not have to tear one down to change it, and you rarely have to start from nothin
631
663
  A fresh Pi seat normally keeps OpenRig's guidance in its own agent folder, and a fresh Codex
632
664
  0.164.0+ seat normally gets it as launch developer instructions, so neither adds it to the
633
665
  repository's `AGENTS.md`. The repository file is still used when the Pi folder or its `AGENTS.md`
634
- is a link, when a Codex config layer sets `developer_instructions` or can't be read, and for a
635
- Codex resume, fork, restore or handover successor, or an older or unknown Codex version
636
- (`docs/reference/agent-startup-guide.md` has the rule). At
666
+ is a link, when a Codex config layer sets `developer_instructions` or can't be read, for a Codex
667
+ fork or handover successor, a Codex resume in a rig without pods, or an older or unknown Codex
668
+ version. An eligible Codex resume (a rig with pods, Codex 0.164.0 or later, no configured
669
+ guidance, readable configuration) sends the missing blocks it can read with the resume instead;
670
+ a block whose source is gone or can't be read is reported missing, and the seat-skills line,
671
+ after the person's yes, still goes to `AGENTS.md` (`docs/reference/agent-startup-guide.md` has
672
+ the rule). At
637
673
  launch, a block a person edited is kept and named (`guidance_block_edited`), not replaced.
638
674
  `rig up <rig> --existing` puts back the OpenRig guidance blocks `rig down` removed before a
639
- resumed seat starts. A seat still missing one makes the rig `partially_restored` (its node lists
675
+ resumed seat starts, except on that eligible Codex resume, where those readable blocks go with the resume. A seat still missing one makes the rig `partially_restored` (its node lists
640
676
  `guidanceGaps`) and `rig up` exits 1. A seat that wasn't running at the snapshot, but whose
641
677
  earlier session left a resume token, stops at `awaiting-decision` instead of starting fresh, in
642
678
  `rig up --existing` and in `rig launch` (exit 1); the message names the command that starts it
@@ -725,10 +761,18 @@ not have to tear one down to change it, and you rarely have to start from nothin
725
761
  what OpenRig wrote or that another seat shares by a link. Any other guidance block goes even if
726
762
  someone edited it.
727
763
  **Since 0.7.12 it stops only a tmux session that carries the seat's own `OPENRIG_NODE_ID`**, on the
728
- server and session it read. A terminal OpenRig didn't create, a mismarked or replaced one, or a seat
729
- joined with `rig attach --self` from a tmux pane is left running, and `rig down` exits 2 naming it and the manual way
730
- to stop it. Teardown is incomplete for those terminals: if one is yours, look at it and stop it
764
+ server and session it read. A seat whose session OpenRig didn't start (adopted, bound, reconciled, or
765
+ joined with `rig attach --self` inside tmux) is released as `rig unclaim` does, whatever marker it carries: its session
766
+ keeps running as its owner's, and `rig down` names it (`Released, not stopped`; `released` in `--json`).
767
+ A seat joined as an external CLI (outside tmux) keeps its claim on `rig down`.
768
+ A later `rig down` or `rig down --delete` leaves that seat's guidance and Claude settings alone until tmux
769
+ shows its session is gone. Any other unmarked, mismarked or replaced terminal is left running, and
770
+ `rig down` exits 2 naming it and the manual way to stop it; if one is yours, look at it and stop it
731
771
  yourself, then run `rig down` again.
772
+ To pause a rig's automatic delivery for maintenance without stopping anything, since 0.7.17
773
+ `POST /api/rigs/<rigId>/delivery-drain` holds its queue wakes, watchdog delivery and stuck-sweep
774
+ findings until an explicit END (`/delivery-drain/end`); direct sends and native starts aren't held
775
+ (`docs/reference/daemon-http-clients.md`).
732
776
  - **`rig launch <rig> [seat]`** — one seat is down; start just that one, without disturbing the
733
777
  rest. It takes the rig's name or ID; a name shared by more than one active rig stops and lists their IDs. Add `--plan` to preview it first, locally or with `--host`; a plan is never sent to a
734
778
  daemon older than 0.5.9, which would ignore it and launch. A seat whose agent exited to a shell in
@@ -796,8 +840,9 @@ not have to tear one down to change it, and you rarely have to start from nothin
796
840
  conversation continuity stays unverified. Both refuse while typing protection is on.
797
841
  - **`rig unclaim` / `rig release`** — stop managing one adopted session, or all of them,
798
842
  **without killing the process or the agent inside it**. Handing something back to its human is a
799
- first-class move, not an abandonment. To stop an adopted session after unclaiming it, end its
800
- process and its tmux session; closing only the viewing window detaches it. Since 0.7.13 a fresh
843
+ first-class move, not an abandonment. `rig down` releases an adopted session the same way and never
844
+ ends it; to stop one, end its process and its tmux session yourself (closing only the viewing window
845
+ detaches it). Since 0.7.13 a fresh
801
846
  `rig launch` after `rig unclaim` ended the server's last session reopens the server (a released
802
847
  session that's still running blocks it, as before).
803
848
 
@@ -875,7 +920,9 @@ version, from checking the environment to a useful report to the OpenRig team.
875
920
  and when the daemon is down or unverified. Local reading shows selected disk intent with
876
921
  provenance and read errors; it does not substitute for live queue, execution or topology data.
877
922
  A registered remote host stays in the topology tree on every tab, and drilling in lists its rigs
878
- over HTTP; an SSH host stays listed, but its rigs can't be read there.
923
+ over HTTP; an SSH host stays listed, but its rigs can't be read there. Since 0.7.17, with
924
+ `rig config set ui.topology_remote_seats true` (off by default), a remote rig's TABLE tab reads its
925
+ seats, read-only.
879
926
  These reading controls do not start a daemon or resume seats; skipping an already accepted
880
927
  operation does not cancel it.
881
928
  In startup, Enter starts only the selected daemon; then choose rigs and individual seats,
@@ -907,8 +954,20 @@ version, from checking the environment to a useful report to the OpenRig team.
907
954
  tries the saved conversation when the seat has a resume token but no saved startup context, and
908
955
  records the `startup_context` gap; a successful resume reads `partially_restored`, and a missing
909
956
  conversation or failed start keeps its own status. restore-check reads that seat yellow. Both warn when a snapshot's named Codex profile was cleared
910
- from the current seat. A rig can still read `fully_restored` past a seat restore didn't start or
911
- one left attached, and a seat left as a bare shell still counts as running in `rig ps`.
957
+ from the current seat. On 0.7.16 a rig could still read `fully_restored` past a seat restore didn't start
958
+ or one left attached; since 0.7.17 such a rig reads `partially_restored` and restore names the
959
+ skipped seat, though restore-check's recovery plan still counts seats restore leaves alone. In
960
+ 0.7.17 a seat left as a bare shell still counted as running in `rig ps`; since 0.7.18 it doesn't,
961
+ and a seat with a delegation parent or escalation destination gets that owner one queue item per
962
+ restore, listing its shells, each cause and the next step (others stay in the result's `unrouted`
963
+ list). Since
964
+ 0.7.18 `rig up --existing --cwd` honors `--cwd`, each restored seat's checkpoint is its own file
965
+ (`.rigged-checkpoint-<session>-<digest>.md`; the seat isn't told where it is, and a written file
966
+ isn't proof it was read), and restore and restore-check name agents that share a recorded
967
+ conversation, leaving the choice to you. Since 0.7.17 one banked original
968
+ conversation can be resumed through the daemon's opt-in `/api/startup/<rigId>/nodes/<nodeId>/original`
969
+ route; a result it can't prove stays partial, and it never substitutes a fresh conversation
970
+ (`docs/reference/daemon-http-clients.md`).
912
971
  - **`rig restore-packet write` / `read` / `validate`** — a seat is about to die or must move
913
972
  runtimes; capture what it knows into a portable artifact instead of losing it with the process.
914
973
  - **Upgrading is agent-led** — load the shipped `openrig-upgrade` skill for the bounded inspect,
@@ -939,6 +998,8 @@ version, from checking the environment to a useful report to the OpenRig team.
939
998
  successor is running, `rig seat handover <seat> --recover --reason "<why>"` adopts it instead of
940
999
  leaving the seat with its retiring occupant: it proves the successor from the failed attempt's
941
1000
  record and records the conversation it holds now (or, with a warning, the one its launch named).
1001
+ Recovery from a real failed handover wasn't checked when 0.7.16 was tested. Since 0.7.18 it
1002
+ accepts a successor that is the only pane of its session's current window, as the launch does.
942
1003
  - **`rig seat clear-attention` / `set-resume-token`** — clear a stale attention flag, or repair a
943
1004
  lost resume handle so restore works next time.
944
1005
  - **`rig seat continue <seat>`** — a launch stopped on Claude's bypass-permissions consent dialog.
@@ -994,6 +1055,13 @@ version, from checking the environment to a useful report to the OpenRig team.
994
1055
  home selected for that original. A stale expectation returns
995
1056
  `runtime_home_conflict` and applies nothing. The result says whether the home and the original
996
1057
  conversation are found there, and reports the running process as unverified.
1058
+ - **Per-seat choices since 0.7.18, all opt-in:** `rig seat set-input-route <seat> --route native
1059
+ --reason <text>` gives a seat with a capable live runner native input instead of terminal typing
1060
+ (typed stays the default; a native seat's work isn't cancelled when a permission is withdrawn).
1061
+ On Linux/systemd hosts, `process_limits: { tasks_max: N }` on a member requests a cap on the tasks
1062
+ its own processes may hold (`docs/reference/rig-spec.md`): a fresh start whose limit isn't seen to
1063
+ take effect is refused, a recovery that can't apply it may try without the limit (with a warning),
1064
+ and an uncertain start is reported and not retried. An export names a stored limit it can't read.
997
1065
  - **`rig seat set-permissions <seat> --mode <mode> --reason <text>`** — select one seat's native
998
1066
  permission mode for its future managed launches; it relaunches nothing, and `inherit` clears the
999
1067
  selection. `rig seat status` reports the selection, but a status read does not prove the
@@ -1001,7 +1069,12 @@ version, from checking the environment to a useful report to the OpenRig team.
1001
1069
  seat its own tool rules, audited, from its next managed launch or resume, even in a shared folder;
1002
1070
  `claude_permissions: { allow: [...], deny: [...] }` on the member declares them. They're native tool
1003
1071
  rules, not OS isolation, an allow list doesn't withdraw broader inherited grants, and member denies
1004
- aren't claimed to hold in bypass mode. `--codex-permissions <file>` gives one Codex seat its own
1072
+ aren't claimed to hold in bypass mode. `--auto-mode <file>` (JSON `autoMode` block: `environment`,
1073
+ `allow`, `soft_deny`, `hard_deny`, `classifyAllShell`) gives one Claude seat its own auto mode classifier
1074
+ settings, added to user and managed settings; `--clear-auto-mode` clears it, and `claude_auto_mode` on
1075
+ the member declares it. Without `"$defaults"`, a list may replace Claude's built-in entries for that
1076
+ section, unless another scope (user or managed settings) keeps `"$defaults"` there; OpenRig warns
1077
+ but doesn't add it, and `claude auto-mode config` shows the effective lists. `--codex-permissions <file>` gives one Codex seat its own
1005
1078
  sandbox and approval settings (`sandbox`, `approval`, and for `workspace-write` also
1006
1079
  `network_access`, `writable_roots`, `exclude_tmpdir_env_var` and `exclude_slash_tmp`), passed as
1007
1080
  flags on every managed launch, resume, restore and handover; `codex_permissions` on the member
@@ -1011,7 +1084,9 @@ version, from checking the environment to a useful report to the OpenRig team.
1011
1084
  (native read, write and deny rules for that seat's own invocation), carried through managed launch,
1012
1085
  resume, restore and rebuild: a concrete conflict in the seat's effective Codex configuration stops
1013
1086
  the launch and names a remedy, an unreadable one reports "policy not verified", and the resume
1014
- command `rig ps` shows carries its flags. Enforcement on macOS and Windows is unverified. A client can save a seat's permissions, policy, model or effort against
1087
+ command `rig ps` shows carries its flags. When 0.7.16 was tested, enforcement wasn't checked with a
1088
+ real Codex seat, and neither were a manual resume with that command nor two seats keeping their
1089
+ policies apart. A client can save a seat's permissions, policy, model or effort against
1015
1090
  the node id it showed; if that node is gone, a same-named replacement isn't chosen
1016
1091
  (`docs/reference/seat-node-targeting.md`).
1017
1092
  - **`rig seat set-effort <seat> --effort <level> --reason <text>`** (or `--clear`) — save one seat's
@@ -1029,13 +1104,17 @@ version, from checking the environment to a useful report to the OpenRig team.
1029
1104
  Known limit: in `draft-aware`, a multi-line message to a Claude seat can stay unsubmitted when the
1030
1105
  paste changes Claude's footer hint, and later sends wait behind it; check the seat's composer.
1031
1106
  Since 0.7.15 `draft-aware` re-checks right before an automatic paste and holds after recent
1032
- client activity or when tmux can't be read; typing after that last check still isn't seen. With
1033
- Claude Code's full-width auto-update-failure footer on screen, an empty `draft-aware` seat can
1034
- hold an ordinary send; `rig seat held-messages` shows it. On OpenRig 0.7.15, with Codex 0.167.1
1107
+ client activity or when tmux can't be read; typing after that last check still isn't seen. On 0.7.16,
1108
+ with Claude Code's full-width auto-update-failure footer on screen, an empty `draft-aware` seat
1109
+ could hold an ordinary send; since 0.7.17 an empty box under Claude Code 2.1.322 or 2.1.323's wide
1110
+ paste hint and auto-update failure reads as empty and the send goes once (checked with Claude
1111
+ Code 2.1.322 and 2.1.323 in a test run), while another wording still holds
1112
+ (`rig seat held-messages` shows it). On OpenRig 0.7.15, with Codex 0.167.1
1035
1113
  and 0.167.2, a send to a busy `draft-aware` seat could be pasted without Enter, neither delivered
1036
1114
  nor held, with its text left in the input. Since OpenRig 0.7.16, OpenRig reads Codex's "tab to
1037
1115
  queue" hint row, so a send to a busy Codex seat with an empty input
1038
- is delivered once, and a person's draft under that hint is still held. A draft typed while a
1116
+ is delivered once, and a person's draft under that hint is still held. That's shown by the
1117
+ change's own tests; it wasn't checked with the real programs when 0.7.16 was tested. A draft typed while a
1039
1118
  conditional Enter's own checks wait makes the guard refuse with `draft_input_changed`; text typed
1040
1119
  after its input read can still be submitted with OpenRig's text.
1041
1120
  `rig seat status` shows the requested/effective mode; wait for pending activation to finish.
@@ -1053,6 +1132,8 @@ version, from checking the environment to a useful report to the OpenRig team.
1053
1132
  changes no native permissions or typing-guard level. `rig seat status` shows it.
1054
1133
  - **`rig compact-plan`** → **`rig compact`** — who is near the context wall, then act on it.
1055
1134
  **Ordering matters: running `compact` without the plan is guessing which seat needed it.**
1135
+ Since 0.7.18 `rig compact <pi-seat>` requests Pi's own compaction through the seat's guarded send
1136
+ path instead of refusing, and `--state` reports that attempt.
1056
1137
  Managed compaction waits for the seat's restore map before compacting; `rig compact --state`,
1057
1138
  `--cancel` and `--skip-map` inspect, stop or skip that wait; since 0.7.14 `--state` also names the
1058
1139
  input check behind a `draft_input_unknown` stop (`inputReadFailure`). If preparation stops at an ordinary
@@ -1119,11 +1200,14 @@ version, from checking the environment to a useful report to the OpenRig team.
1119
1200
  cached hook keeps that trust, as with any hook trusted in Codex; the trust covers that
1120
1201
  `CODEX_HOME`, so your own Codex sessions there load the plugin too, and its hooks do nothing
1121
1202
  outside an OpenRig seat; adding your own Codex hook can trigger a re-review of one OpenRig hook.
1203
+ On 0.7.17, when a Codex seat's `config.toml` or `hooks.json` is a symbolic link, OpenRig records
1204
+ its hook trust under the link's target, as in 0.7.14, and such a seat may be asked to review hooks
1205
+ again. With a linked `config.toml`, OpenRig can also miss a setting stored for it that turns
1206
+ OpenRig's hooks off, and set those hooks up anyway when it moves them into `hooks.json` (#3078).
1122
1207
  Since 0.7.15, when a new openrig-core changes one of those six hook declarations, the boot or
1123
1208
  launch that installs it renews OpenRig's approvals from its own record, in the daemon's Codex
1124
1209
  home at boot and in a seat's own Codex home at its launch, instead of stopping at Codex's review.
1125
- A person's own choice in any layer OpenRig reads keeps the review. A linked `config.toml` or
1126
- `hooks.json` still has its trust recorded under the link's target.
1210
+ A person's own choice in any layer OpenRig reads keeps the review.
1127
1211
  - **Know what compaction costs before you reach for it.** On some runtimes what comes back has
1128
1212
  enough context left to believe it knows everything and not enough to actually know anything — and
1129
1213
  **the compacted agent is the only one who knows it happened**, while every other seat keeps
@@ -1686,7 +1770,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1686
1770
  shell command. Its queue tools (`rig_queue_create`, `rig_queue_show`, `rig_queue_list`,
1687
1771
  `rig_queue_claim`, `rig_queue_update`, `rig_queue_handoff`, `rig_queue_unclaim`) act as the seat
1688
1772
  named by `OPENRIG_SESSION_NAME`, so an agent with no shell can hand work to the team, read the
1689
- closing note as its answer, and pass on or put back work it holds. Unless it declares a webhook
1773
+ closing note as its answer, and pass on or put back work it holds. Since 0.7.17, for an external
1774
+ connection, `rig_queue_show` labels who acted apart from the reader (`viewer`, `item.createdBy`,
1775
+ actor labels, with `you` true only for this connection). Unless it declares a webhook
1690
1776
  trigger (below), nothing wakes such an agent; it sees new work when it checks. Its tools cover
1691
1777
  the whole delegation loop:
1692
1778
  find its seat, team and lead (`rig_whoami`, `rig_team`), hand work on and follow the handoff's
@@ -1720,7 +1806,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
1720
1806
  answer returns it in progress). A roster entry can declare a webhook trigger (`wake.webhook`,
1721
1807
  with secret names, never values): OpenRig then POSTs a pointer to the row when work lands, and a
1722
1808
  2xx records only that the ring was accepted, not that anything woke. When work waits for a
1723
- member nothing can wake, or a rung member doesn't claim it in time, its person is told.
1809
+ member nothing can wake, or a rung member doesn't claim it in time, its person is told. Since
1810
+ 0.7.17, work for a member with no wake trigger has a delivery record reading `awaiting-pickup:` (it
1811
+ waits in its queue until the member reads it), not `unroutable:`.
1724
1812
  A hosted member's roster entry shows whether it's checking in: its expected cadence and its last
1725
1813
  check-in, read as checking in, overdue, not yet checked in or checking in on request, and unknown
1726
1814
  when that can't be read. It's a status, never a gate on delivery. Since 0.7.14 `rig ps`,
@@ -186,10 +186,10 @@ agent doing the setup. Both use this release's tag:
186
186
 
187
187
  ```sh
188
188
  # Claude Code
189
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs" --skill rigs --agent claude-code
189
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.18/skills/rigs" --skill rigs --agent claude-code
190
190
 
191
191
  # Codex
192
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.16/skills/rigs" --skill rigs --agent codex
192
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.18/skills/rigs" --skill rigs --agent codex
193
193
  ```
194
194
 
195
195
  If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
@@ -204,11 +204,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
204
204
  script will do and changes nothing:
205
205
 
206
206
  ```sh
207
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh -s -- --dry-run
207
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.18/scripts/install.sh | sh -s -- --dry-run
208
208
  ```
209
209
 
210
210
  The same command without `--dry-run`,
211
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.16/scripts/install.sh | sh`, installs the
211
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.18/scripts/install.sh | sh`, installs the
212
212
  latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
213
213
  present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
214
214
  Codex and may install a missing one, as described below. A failed step prints
@@ -672,7 +672,7 @@ rig ps --nodes --rig starter
672
672
  Preview the selected seats, models and resources. Plan checks resolution and
673
673
  preflight for the working directory. The kernel is already your entry point; this step starts the chosen project
674
674
  team. Read readiness for the project seats, not only daemon health. Have the person answer a named authentication, trust, hook-review or
675
- permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When the person works through their own agent, the agent brings each trust, hook-review or permission prompt to them as a question and sends their choice, so they don't need to open that seat's terminal; a sign-in still needs the person. When a seat stops at such a prompt, `rig up` reports
675
+ permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When the person works through their own agent, the `rigs` skill tells that agent to bring each trust, hook-review or permission prompt to them as a question and to send their choice itself, rather than have them open that seat's terminal or type into it; a sign-in still needs the person. When a seat stops at such a prompt, `rig up` reports
676
676
  `Status: partial`, prints `Startup attention (<seat>): <reason>` and exits 1;
677
677
  `rig ps --nodes` repeats it as "Startup details". The reason ends with the command
678
678
  to run once the prompt is answered: `rig seat continue <seat>`, which delivers the
@@ -758,9 +758,9 @@ Herdr, use `rig terminal open starter --provider herdr`; for the shared
758
758
  dashboard together with the kernel conversations, use the
759
759
  [saved first view](#open-the-kernel-conversations). The equivalent
760
760
  cmux provider is also available. Read the opened/absent/degraded result: a
761
- partial terminal view is not a healthy team. Each `--provider herdr` open adds
762
- a new workspace, numbered when the name is taken; return to the one already open
763
- when you want to preserve it. From inside Herdr, `rig terminal open <view> --window`
761
+ partial terminal view is not a healthy team. A `--provider herdr` open focuses a
762
+ workspace that still shows this view live instead of adding a copy; otherwise it
763
+ adds a new workspace, numbered when the name is taken. From inside Herdr, `rig terminal open <view> --window`
764
764
  focuses a matching space instead of adding one. Herdr's own status for a seat can
765
765
  read idle or unknown while OpenRig shows it waiting (`needs-input`), for example in
766
766
  a narrow tile that wraps Claude's footer, or in a tile that shows the inner tmux
@@ -1,7 +1,7 @@
1
1
  # Reference guides the help pack and command help link to, loaded one file or section at a time by address
2
2
  # (rig context get reference/<file>#<section>). Each file is a symlink to docs/reference/.
3
3
  name: reference
4
- version: "0.7.16"
4
+ version: "0.7.18"
5
5
  taxonomy: world
6
6
  purpose: "Version-matched reference guides the help guide and command help link to. Load a single file or section by address; don't load the whole pack."
7
7
  files:
@@ -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.