@openrig/cli 0.7.18 → 0.7.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (647) hide show
  1. package/README.md +7 -6
  2. package/daemon/assets/claude-hook-bridge.cjs +146 -0
  3. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  8. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/README.md +1 -1
  10. package/daemon/assets/plugins/openrig-core/hooks/claude.json +14 -14
  11. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +43 -22
  12. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +1 -0
  13. package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +1 -1
  14. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +70 -2
  15. package/daemon/assets/skills/rigs/SKILL.md +40 -19
  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 +16 -7
  19. package/daemon/context-packs/reference/getting-started.md +9 -4
  20. package/daemon/context-packs/reference/manifest.yaml +1 -1
  21. package/daemon/context-packs/reference/rig-spec.md +56 -26
  22. package/daemon/context-packs/reference/whats-new.md +82 -11
  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/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/mission-slice-sop/SKILL.md +1 -1
  49. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/refocusing/scripts/trace-to-root.py +70 -2
  74. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  78. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  79. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  80. package/daemon/dist/adapters/claude-code-adapter.d.ts +9 -0
  81. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  82. package/daemon/dist/adapters/claude-code-adapter.js +41 -4
  83. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  84. package/daemon/dist/adapters/claude-resume.d.ts +2 -0
  85. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  86. package/daemon/dist/adapters/claude-resume.js +3 -1
  87. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  88. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +5 -0
  89. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  90. package/daemon/dist/adapters/codex-runtime-adapter.js +45 -10
  91. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  92. package/daemon/dist/adapters/kernel-authority.d.ts +7 -0
  93. package/daemon/dist/adapters/kernel-authority.d.ts.map +1 -1
  94. package/daemon/dist/adapters/kernel-authority.js +24 -1
  95. package/daemon/dist/adapters/kernel-authority.js.map +1 -1
  96. package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
  97. package/daemon/dist/adapters/pi-resume.js +5 -7
  98. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  99. package/daemon/dist/adapters/pi-runner-protocol.d.ts +5 -1
  100. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  101. package/daemon/dist/adapters/pi-runner.d.ts +34 -0
  102. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  103. package/daemon/dist/adapters/pi-runner.js +359 -26
  104. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  105. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +7 -1
  106. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  107. package/daemon/dist/adapters/pi-runtime-adapter.js +29 -19
  108. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  109. package/daemon/dist/adapters/tmux.d.ts +54 -34
  110. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  111. package/daemon/dist/adapters/tmux.js +183 -57
  112. package/daemon/dist/adapters/tmux.js.map +1 -1
  113. package/daemon/dist/build-info.js +3 -3
  114. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  115. package/daemon/dist/db/all-migrations.js +6 -0
  116. package/daemon/dist/db/all-migrations.js.map +1 -1
  117. package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts +5 -0
  118. package/daemon/dist/db/migrations/171_seat_hook_bridge.d.ts.map +1 -0
  119. package/daemon/dist/db/migrations/171_seat_hook_bridge.js +25 -0
  120. package/daemon/dist/db/migrations/171_seat_hook_bridge.js.map +1 -0
  121. package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts +6 -0
  122. package/daemon/dist/db/migrations/174_session_launched_cwd.d.ts.map +1 -0
  123. package/daemon/dist/db/migrations/174_session_launched_cwd.js +8 -0
  124. package/daemon/dist/db/migrations/174_session_launched_cwd.js.map +1 -0
  125. package/daemon/dist/db/migrations/175_core_app_access.d.ts +3 -0
  126. package/daemon/dist/db/migrations/175_core_app_access.d.ts.map +1 -0
  127. package/daemon/dist/db/migrations/175_core_app_access.js +26 -0
  128. package/daemon/dist/db/migrations/175_core_app_access.js.map +1 -0
  129. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  130. package/daemon/dist/domain/activity-grants.js +6 -4
  131. package/daemon/dist/domain/activity-grants.js.map +1 -1
  132. package/daemon/dist/domain/agent-activity-store.d.ts +23 -0
  133. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  134. package/daemon/dist/domain/agent-activity-store.js +62 -5
  135. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  136. package/daemon/dist/domain/claude-activity-hooks.d.ts +4 -2
  137. package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
  138. package/daemon/dist/domain/claude-activity-hooks.js +5 -3
  139. package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
  140. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +64 -3
  141. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  142. package/daemon/dist/domain/claude-compaction-enforcer.js +203 -6
  143. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  144. package/daemon/dist/domain/compaction-restore-notice.d.ts +3 -1
  145. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  146. package/daemon/dist/domain/compaction-restore-notice.js +22 -3
  147. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  148. package/daemon/dist/domain/configured-account.d.ts +3 -0
  149. package/daemon/dist/domain/configured-account.d.ts.map +1 -0
  150. package/daemon/dist/domain/configured-account.js +10 -0
  151. package/daemon/dist/domain/configured-account.js.map +1 -0
  152. package/daemon/dist/domain/core-app-access.d.ts +51 -0
  153. package/daemon/dist/domain/core-app-access.d.ts.map +1 -0
  154. package/daemon/dist/domain/core-app-access.js +107 -0
  155. package/daemon/dist/domain/core-app-access.js.map +1 -0
  156. package/daemon/dist/domain/core-app-job.d.ts +411 -0
  157. package/daemon/dist/domain/core-app-job.d.ts.map +1 -0
  158. package/daemon/dist/domain/core-app-job.js +537 -0
  159. package/daemon/dist/domain/core-app-job.js.map +1 -0
  160. package/daemon/dist/domain/current-park-arm.d.ts +4 -0
  161. package/daemon/dist/domain/current-park-arm.d.ts.map +1 -0
  162. package/daemon/dist/domain/current-park-arm.js +14 -0
  163. package/daemon/dist/domain/current-park-arm.js.map +1 -0
  164. package/daemon/dist/domain/cwd-resolution.d.ts +12 -0
  165. package/daemon/dist/domain/cwd-resolution.d.ts.map +1 -1
  166. package/daemon/dist/domain/cwd-resolution.js +21 -1
  167. package/daemon/dist/domain/cwd-resolution.js.map +1 -1
  168. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  169. package/daemon/dist/domain/execution-view.js +9 -3
  170. package/daemon/dist/domain/execution-view.js.map +1 -1
  171. package/daemon/dist/domain/gateway/participants.d.ts +2 -0
  172. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
  173. package/daemon/dist/domain/gateway/participants.js +5 -1
  174. package/daemon/dist/domain/gateway/participants.js.map +1 -1
  175. package/daemon/dist/domain/gateway/slack/message.d.ts +1 -0
  176. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  177. package/daemon/dist/domain/gateway/slack/message.js +37 -17
  178. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  179. package/daemon/dist/domain/gateway/slack/settled-asks.js +1 -1
  180. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  181. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +1 -0
  182. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  183. package/daemon/dist/domain/gateway/slack/slack-delivery.js +2 -0
  184. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  185. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +4 -0
  186. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  187. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +26 -2
  188. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  189. package/daemon/dist/domain/hook-bridge.d.ts +345 -0
  190. package/daemon/dist/domain/hook-bridge.d.ts.map +1 -0
  191. package/daemon/dist/domain/hook-bridge.js +547 -0
  192. package/daemon/dist/domain/hook-bridge.js.map +1 -0
  193. package/daemon/dist/domain/hosted-wake.d.ts +9 -0
  194. package/daemon/dist/domain/hosted-wake.d.ts.map +1 -1
  195. package/daemon/dist/domain/hosted-wake.js +45 -6
  196. package/daemon/dist/domain/hosted-wake.js.map +1 -1
  197. package/daemon/dist/domain/human-ask-attention.d.ts +10 -0
  198. package/daemon/dist/domain/human-ask-attention.d.ts.map +1 -0
  199. package/daemon/dist/domain/human-ask-attention.js +22 -0
  200. package/daemon/dist/domain/human-ask-attention.js.map +1 -0
  201. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +4 -0
  202. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -1
  203. package/daemon/dist/domain/mission-control/mission-control-action-log.js +8 -1
  204. package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -1
  205. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +10 -0
  206. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  207. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +64 -12
  208. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  209. package/daemon/dist/domain/native-continuation-notice.d.ts +16 -0
  210. package/daemon/dist/domain/native-continuation-notice.d.ts.map +1 -0
  211. package/daemon/dist/domain/native-continuation-notice.js +79 -0
  212. package/daemon/dist/domain/native-continuation-notice.js.map +1 -0
  213. package/daemon/dist/domain/native-process-lineage.d.ts +16 -0
  214. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  215. package/daemon/dist/domain/native-process-lineage.js +48 -3
  216. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  217. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  218. package/daemon/dist/domain/node-inventory.js +27 -6
  219. package/daemon/dist/domain/node-inventory.js.map +1 -1
  220. package/daemon/dist/domain/node-launcher.d.ts +6 -0
  221. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  222. package/daemon/dist/domain/node-launcher.js +16 -2
  223. package/daemon/dist/domain/node-launcher.js.map +1 -1
  224. package/daemon/dist/domain/outbox-handler.d.ts +21 -3
  225. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  226. package/daemon/dist/domain/outbox-handler.js +88 -8
  227. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  228. package/daemon/dist/domain/park-wake-text.d.ts +18 -0
  229. package/daemon/dist/domain/park-wake-text.d.ts.map +1 -1
  230. package/daemon/dist/domain/park-wake-text.js +44 -0
  231. package/daemon/dist/domain/park-wake-text.js.map +1 -1
  232. package/daemon/dist/domain/policies/idle-gate-qitem.d.ts +3 -0
  233. package/daemon/dist/domain/policies/idle-gate-qitem.d.ts.map +1 -1
  234. package/daemon/dist/domain/policies/idle-gate-qitem.js +15 -0
  235. package/daemon/dist/domain/policies/idle-gate-qitem.js.map +1 -1
  236. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +6 -1
  237. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  238. package/daemon/dist/domain/policies/parked-owner-consumer.js +28 -1
  239. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  240. package/daemon/dist/domain/process-limits.d.ts +21 -11
  241. package/daemon/dist/domain/process-limits.d.ts.map +1 -1
  242. package/daemon/dist/domain/process-limits.js +74 -20
  243. package/daemon/dist/domain/process-limits.js.map +1 -1
  244. package/daemon/dist/domain/process-table.d.ts +15 -0
  245. package/daemon/dist/domain/process-table.d.ts.map +1 -1
  246. package/daemon/dist/domain/process-table.js +39 -0
  247. package/daemon/dist/domain/process-table.js.map +1 -1
  248. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  249. package/daemon/dist/domain/queue-erasure.js +3 -0
  250. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  251. package/daemon/dist/domain/queue-repository.d.ts +60 -7
  252. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  253. package/daemon/dist/domain/queue-repository.js +178 -36
  254. package/daemon/dist/domain/queue-repository.js.map +1 -1
  255. package/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -0
  256. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  257. package/daemon/dist/domain/queue-stuck-sweep.js +29 -0
  258. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  259. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  260. package/daemon/dist/domain/queue-waiting.js +28 -3
  261. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  262. package/daemon/dist/domain/queue-wake-ladder.d.ts +12 -0
  263. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  264. package/daemon/dist/domain/queue-wake-ladder.js +115 -14
  265. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  266. package/daemon/dist/domain/queue-wake-repository.d.ts +8 -0
  267. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  268. package/daemon/dist/domain/queue-wake-repository.js +48 -8
  269. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  270. package/daemon/dist/domain/reconciler.d.ts +18 -2
  271. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  272. package/daemon/dist/domain/reconciler.js +40 -0
  273. package/daemon/dist/domain/reconciler.js.map +1 -1
  274. package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -1
  275. package/daemon/dist/domain/restore-attempt-receipt.js +3 -2
  276. package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -1
  277. package/daemon/dist/domain/restore-orchestrator.d.ts +5 -1
  278. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  279. package/daemon/dist/domain/restore-orchestrator.js +73 -8
  280. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  281. package/daemon/dist/domain/restore-topology.d.ts +7 -1
  282. package/daemon/dist/domain/restore-topology.d.ts.map +1 -1
  283. package/daemon/dist/domain/restore-topology.js +21 -0
  284. package/daemon/dist/domain/restore-topology.js.map +1 -1
  285. package/daemon/dist/domain/resume-metadata-refresher.d.ts +2 -3
  286. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  287. package/daemon/dist/domain/resume-metadata-refresher.js +6 -25
  288. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  289. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  290. package/daemon/dist/domain/rig-repository.js +7 -6
  291. package/daemon/dist/domain/rig-repository.js.map +1 -1
  292. package/daemon/dist/domain/rig-teardown.d.ts +16 -3
  293. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  294. package/daemon/dist/domain/rig-teardown.js +73 -9
  295. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  296. package/daemon/dist/domain/rigspec-exporter.js +2 -2
  297. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  298. package/daemon/dist/domain/rigspec-instantiator.d.ts +5 -0
  299. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  300. package/daemon/dist/domain/rigspec-instantiator.js +17 -7
  301. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  302. package/daemon/dist/domain/rosters.d.ts +11 -0
  303. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  304. package/daemon/dist/domain/rosters.js +21 -2
  305. package/daemon/dist/domain/rosters.js.map +1 -1
  306. package/daemon/dist/domain/runner-channel.d.ts +35 -3
  307. package/daemon/dist/domain/runner-channel.d.ts.map +1 -1
  308. package/daemon/dist/domain/runner-channel.js +177 -8
  309. package/daemon/dist/domain/runner-channel.js.map +1 -1
  310. package/daemon/dist/domain/runner-permissions.d.ts +26 -3
  311. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  312. package/daemon/dist/domain/runner-permissions.js +160 -39
  313. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  314. package/daemon/dist/domain/scope/mission-parent.d.ts +19 -0
  315. package/daemon/dist/domain/scope/mission-parent.d.ts.map +1 -0
  316. package/daemon/dist/domain/scope/mission-parent.js +134 -0
  317. package/daemon/dist/domain/scope/mission-parent.js.map +1 -0
  318. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  319. package/daemon/dist/domain/scope/scope-audit.js +8 -0
  320. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  321. package/daemon/dist/domain/scope/types.d.ts +3 -1
  322. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  323. package/daemon/dist/domain/scope/types.js +5 -1
  324. package/daemon/dist/domain/scope/types.js.map +1 -1
  325. package/daemon/dist/domain/seat-delivery-guard.d.ts +14 -2
  326. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  327. package/daemon/dist/domain/seat-delivery-guard.js +53 -14
  328. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  329. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  330. package/daemon/dist/domain/seat-handover-service.js +9 -4
  331. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  332. package/daemon/dist/domain/seat-identity-reconciler.d.ts +4 -3
  333. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  334. package/daemon/dist/domain/seat-identity-reconciler.js +40 -5
  335. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  336. package/daemon/dist/domain/seat-lifecycle-service.d.ts +14 -6
  337. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  338. package/daemon/dist/domain/seat-lifecycle-service.js +104 -22
  339. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  340. package/daemon/dist/domain/seat-restart-in-place.d.ts.map +1 -1
  341. package/daemon/dist/domain/seat-restart-in-place.js +4 -1
  342. package/daemon/dist/domain/seat-restart-in-place.js.map +1 -1
  343. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  344. package/daemon/dist/domain/seat-runtime-switch-service.js +2 -0
  345. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  346. package/daemon/dist/domain/seat-skill-apply.d.ts +1 -1
  347. package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -1
  348. package/daemon/dist/domain/seat-skill-apply.js +3 -2
  349. package/daemon/dist/domain/seat-skill-apply.js.map +1 -1
  350. package/daemon/dist/domain/session-registry.d.ts +5 -1
  351. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  352. package/daemon/dist/domain/session-registry.js +12 -1
  353. package/daemon/dist/domain/session-registry.js.map +1 -1
  354. package/daemon/dist/domain/session-transport.d.ts +40 -1
  355. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  356. package/daemon/dist/domain/session-transport.js +211 -10
  357. package/daemon/dist/domain/session-transport.js.map +1 -1
  358. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -1
  359. package/daemon/dist/domain/shared-history-selection.js +9 -5
  360. package/daemon/dist/domain/shared-history-selection.js.map +1 -1
  361. package/daemon/dist/domain/slices/slice-indexer.d.ts +1 -1
  362. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  363. package/daemon/dist/domain/slices/slice-indexer.js +4 -0
  364. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  365. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
  366. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  367. package/daemon/dist/domain/startup-orchestrator.js +6 -4
  368. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  369. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  370. package/daemon/dist/domain/successor-session-launcher.js +10 -4
  371. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  372. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +35 -1
  373. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  374. package/daemon/dist/domain/terminal/herdr-adapter.js +231 -33
  375. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  376. package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
  377. package/daemon/dist/domain/terminal/herdr-sessions.js +2 -1
  378. package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
  379. package/daemon/dist/domain/terminal/rig-viewer-records.d.ts +59 -0
  380. package/daemon/dist/domain/terminal/rig-viewer-records.d.ts.map +1 -0
  381. package/daemon/dist/domain/terminal/rig-viewer-records.js +210 -0
  382. package/daemon/dist/domain/terminal/rig-viewer-records.js.map +1 -0
  383. package/daemon/dist/domain/terminal/terminal-provider.d.ts +2 -0
  384. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  385. package/daemon/dist/domain/terminal/terminal-service.d.ts +99 -4
  386. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  387. package/daemon/dist/domain/terminal/terminal-service.js +556 -36
  388. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  389. package/daemon/dist/domain/terminal/tile-layout.js +1 -1
  390. package/daemon/dist/domain/terminal/tile-layout.js.map +1 -1
  391. package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts +25 -0
  392. package/daemon/dist/domain/terminal/tmux-viewer-guard.d.ts.map +1 -0
  393. package/daemon/dist/domain/terminal/tmux-viewer-guard.js +70 -0
  394. package/daemon/dist/domain/terminal/tmux-viewer-guard.js.map +1 -0
  395. package/daemon/dist/domain/transcript-grep-worker.d.ts +2 -0
  396. package/daemon/dist/domain/transcript-grep-worker.d.ts.map +1 -0
  397. package/daemon/dist/domain/transcript-grep-worker.js +108 -0
  398. package/daemon/dist/domain/transcript-grep-worker.js.map +1 -0
  399. package/daemon/dist/domain/transcript-grep.d.ts +26 -0
  400. package/daemon/dist/domain/transcript-grep.d.ts.map +1 -0
  401. package/daemon/dist/domain/transcript-grep.js +90 -0
  402. package/daemon/dist/domain/transcript-grep.js.map +1 -0
  403. package/daemon/dist/domain/transcript-store.d.ts +8 -2
  404. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  405. package/daemon/dist/domain/transcript-store.js +10 -60
  406. package/daemon/dist/domain/transcript-store.js.map +1 -1
  407. package/daemon/dist/domain/types.d.ts +69 -2
  408. package/daemon/dist/domain/types.d.ts.map +1 -1
  409. package/daemon/dist/domain/types.js.map +1 -1
  410. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +4 -0
  411. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -1
  412. package/daemon/dist/domain/watchdog-delivery-receipts.js +35 -2
  413. package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -1
  414. package/daemon/dist/domain/watchdog-delivery.d.ts +44 -0
  415. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  416. package/daemon/dist/domain/watchdog-delivery.js +60 -2
  417. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  418. package/daemon/dist/domain/watchdog-history-log.d.ts +12 -0
  419. package/daemon/dist/domain/watchdog-history-log.d.ts.map +1 -1
  420. package/daemon/dist/domain/watchdog-history-log.js +19 -1
  421. package/daemon/dist/domain/watchdog-history-log.js.map +1 -1
  422. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +32 -0
  423. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  424. package/daemon/dist/domain/watchdog-jobs-repository.js +78 -0
  425. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  426. package/daemon/dist/domain/watchdog-policy-engine.d.ts +17 -3
  427. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  428. package/daemon/dist/domain/watchdog-policy-engine.js +19 -5
  429. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  430. package/daemon/dist/domain/workflow-projector.js +1 -1
  431. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  432. package/daemon/dist/domain/workflow-runtime.d.ts +12 -0
  433. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  434. package/daemon/dist/domain/workflow-runtime.js +64 -7
  435. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  436. package/daemon/dist/domain/workflow-step-trail-log.d.ts +2 -2
  437. package/daemon/dist/domain/workflow-step-trail-log.d.ts.map +1 -1
  438. package/daemon/dist/domain/workflow-step-trail-log.js.map +1 -1
  439. package/daemon/dist/domain/workflow-types.d.ts +3 -1
  440. package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  441. package/daemon/dist/domain/workflow-types.js.map +1 -1
  442. package/daemon/dist/index.d.ts.map +1 -1
  443. package/daemon/dist/index.js +5 -1
  444. package/daemon/dist/index.js.map +1 -1
  445. package/daemon/dist/lib/pane-envelope.d.ts +3 -0
  446. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  447. package/daemon/dist/lib/pane-envelope.js +3 -1
  448. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  449. package/daemon/dist/mission-parent-surface.d.ts +2 -0
  450. package/daemon/dist/mission-parent-surface.d.ts.map +1 -0
  451. package/daemon/dist/mission-parent-surface.js +2 -0
  452. package/daemon/dist/mission-parent-surface.js.map +1 -0
  453. package/daemon/dist/routes/activity.d.ts +18 -1
  454. package/daemon/dist/routes/activity.d.ts.map +1 -1
  455. package/daemon/dist/routes/activity.js +47 -9
  456. package/daemon/dist/routes/activity.js.map +1 -1
  457. package/daemon/dist/routes/attention.d.ts.map +1 -1
  458. package/daemon/dist/routes/attention.js +194 -177
  459. package/daemon/dist/routes/attention.js.map +1 -1
  460. package/daemon/dist/routes/core-app.d.ts +10 -0
  461. package/daemon/dist/routes/core-app.d.ts.map +1 -0
  462. package/daemon/dist/routes/core-app.js +175 -0
  463. package/daemon/dist/routes/core-app.js.map +1 -0
  464. package/daemon/dist/routes/hook-bridge.d.ts +3 -0
  465. package/daemon/dist/routes/hook-bridge.d.ts.map +1 -0
  466. package/daemon/dist/routes/hook-bridge.js +158 -0
  467. package/daemon/dist/routes/hook-bridge.js.map +1 -0
  468. package/daemon/dist/routes/missions.d.ts.map +1 -1
  469. package/daemon/dist/routes/missions.js +14 -2
  470. package/daemon/dist/routes/missions.js.map +1 -1
  471. package/daemon/dist/routes/queue.d.ts +1 -1
  472. package/daemon/dist/routes/queue.d.ts.map +1 -1
  473. package/daemon/dist/routes/queue.js +8 -5
  474. package/daemon/dist/routes/queue.js.map +1 -1
  475. package/daemon/dist/routes/rigspec.js +1 -1
  476. package/daemon/dist/routes/rigspec.js.map +1 -1
  477. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  478. package/daemon/dist/routes/scope-audit.js +7 -1
  479. package/daemon/dist/routes/scope-audit.js.map +1 -1
  480. package/daemon/dist/routes/seat.d.ts.map +1 -1
  481. package/daemon/dist/routes/seat.js +30 -4
  482. package/daemon/dist/routes/seat.js.map +1 -1
  483. package/daemon/dist/routes/slices.d.ts.map +1 -1
  484. package/daemon/dist/routes/slices.js +21 -2
  485. package/daemon/dist/routes/slices.js.map +1 -1
  486. package/daemon/dist/routes/startup.js +2 -1
  487. package/daemon/dist/routes/startup.js.map +1 -1
  488. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  489. package/daemon/dist/routes/terminal.js +47 -6
  490. package/daemon/dist/routes/terminal.js.map +1 -1
  491. package/daemon/dist/routes/transcripts.d.ts.map +1 -1
  492. package/daemon/dist/routes/transcripts.js +16 -1
  493. package/daemon/dist/routes/transcripts.js.map +1 -1
  494. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  495. package/daemon/dist/routes/watchdog.js +3 -2
  496. package/daemon/dist/routes/watchdog.js.map +1 -1
  497. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  498. package/daemon/dist/routes/workflow.js +5 -0
  499. package/daemon/dist/routes/workflow.js.map +1 -1
  500. package/daemon/dist/server.d.ts +2 -0
  501. package/daemon/dist/server.d.ts.map +1 -1
  502. package/daemon/dist/server.js +11 -0
  503. package/daemon/dist/server.js.map +1 -1
  504. package/daemon/dist/startup.d.ts.map +1 -1
  505. package/daemon/dist/startup.js +90 -33
  506. package/daemon/dist/startup.js.map +1 -1
  507. package/daemon/dist/terminal-viewer-guard-surface.d.ts +2 -0
  508. package/daemon/dist/terminal-viewer-guard-surface.d.ts.map +1 -0
  509. package/daemon/dist/terminal-viewer-guard-surface.js +2 -0
  510. package/daemon/dist/terminal-viewer-guard-surface.js.map +1 -0
  511. package/daemon/docs/reference/agent-startup-guide.md +4 -1
  512. package/daemon/docs/reference/claude-status-line.md +3 -2
  513. package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +6 -0
  514. package/daemon/docs/reference/community-harness-examples/dsh/README.md +1 -1
  515. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +186 -30
  516. package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +6 -0
  517. package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +6 -0
  518. package/daemon/docs/reference/community-harness-examples/openshell/README.md +2 -0
  519. package/daemon/docs/reference/community-harness-examples/pi-tui/openrig-pi-tui-launch +6 -0
  520. package/daemon/docs/reference/community-harness-presets.md +6 -5
  521. package/daemon/docs/reference/core-app.md +212 -0
  522. package/daemon/docs/reference/daemon-http-clients.md +6 -0
  523. package/daemon/docs/reference/getting-started.md +9 -4
  524. package/daemon/docs/reference/harness-runner-contract.md +50 -4
  525. package/daemon/docs/reference/hosted-members.md +21 -1
  526. package/daemon/docs/reference/quickstart.md +4 -3
  527. package/daemon/docs/reference/rig-spec.md +56 -26
  528. package/daemon/docs/reference/rosters.md +8 -0
  529. package/daemon/docs/reference/sdlc-conventions.md +42 -5
  530. package/daemon/docs/reference/seat-delivery.md +87 -6
  531. package/daemon/docs/reference/terminal-sessions.md +99 -1
  532. package/daemon/docs/reference/whats-new.md +82 -11
  533. package/daemon/specs/rigs/launch/factory/guidance/lead-first-move.md +4 -3
  534. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +13 -3
  535. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +4 -3
  536. package/dist/ask-wake.d.ts.map +1 -1
  537. package/dist/ask-wake.js +8 -1
  538. package/dist/ask-wake.js.map +1 -1
  539. package/dist/build-info.js +3 -3
  540. package/dist/commands/archive.js +1 -1
  541. package/dist/commands/archive.js.map +1 -1
  542. package/dist/commands/daemon.d.ts.map +1 -1
  543. package/dist/commands/daemon.js +7 -0
  544. package/dist/commands/daemon.js.map +1 -1
  545. package/dist/commands/down.d.ts.map +1 -1
  546. package/dist/commands/down.js +5 -0
  547. package/dist/commands/down.js.map +1 -1
  548. package/dist/commands/ps.d.ts +2 -1
  549. package/dist/commands/ps.d.ts.map +1 -1
  550. package/dist/commands/ps.js +9 -4
  551. package/dist/commands/ps.js.map +1 -1
  552. package/dist/commands/queue.js +4 -4
  553. package/dist/commands/queue.js.map +1 -1
  554. package/dist/commands/roster.d.ts +5 -0
  555. package/dist/commands/roster.d.ts.map +1 -1
  556. package/dist/commands/scope.d.ts.map +1 -1
  557. package/dist/commands/scope.js +346 -9
  558. package/dist/commands/scope.js.map +1 -1
  559. package/dist/commands/seat.d.ts.map +1 -1
  560. package/dist/commands/seat.js +90 -8
  561. package/dist/commands/seat.js.map +1 -1
  562. package/dist/commands/send.d.ts +2 -0
  563. package/dist/commands/send.d.ts.map +1 -1
  564. package/dist/commands/send.js +3 -1
  565. package/dist/commands/send.js.map +1 -1
  566. package/dist/commands/terminal.d.ts +56 -0
  567. package/dist/commands/terminal.d.ts.map +1 -1
  568. package/dist/commands/terminal.js +194 -4
  569. package/dist/commands/terminal.js.map +1 -1
  570. package/dist/commands/transcript.js +1 -1
  571. package/dist/commands/transcript.js.map +1 -1
  572. package/dist/commands/unarchive.js +1 -1
  573. package/dist/commands/unarchive.js.map +1 -1
  574. package/dist/commands/workflow-follow.d.ts +3 -1
  575. package/dist/commands/workflow-follow.d.ts.map +1 -1
  576. package/dist/commands/workflow-follow.js +25 -6
  577. package/dist/commands/workflow-follow.js.map +1 -1
  578. package/dist/commands/workflow-render.d.ts.map +1 -1
  579. package/dist/commands/workflow-render.js +5 -1
  580. package/dist/commands/workflow-render.js.map +1 -1
  581. package/dist/commands/workflow.d.ts.map +1 -1
  582. package/dist/commands/workflow.js +14 -4
  583. package/dist/commands/workflow.js.map +1 -1
  584. package/dist/daemon-lifecycle.d.ts.map +1 -1
  585. package/dist/daemon-lifecycle.js +11 -0
  586. package/dist/daemon-lifecycle.js.map +1 -1
  587. package/dist/lib/scope/mission-composition.d.ts +1 -0
  588. package/dist/lib/scope/mission-composition.d.ts.map +1 -1
  589. package/dist/lib/scope/mission-composition.js +14 -0
  590. package/dist/lib/scope/mission-composition.js.map +1 -1
  591. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  592. package/dist/lib/scope/scope-audit.js +8 -0
  593. package/dist/lib/scope/scope-audit.js.map +1 -1
  594. package/dist/lib/scope/scope-fs.d.ts +10 -0
  595. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  596. package/dist/lib/scope/scope-fs.js +60 -0
  597. package/dist/lib/scope/scope-fs.js.map +1 -1
  598. package/dist/lib/scope/types.d.ts +3 -1
  599. package/dist/lib/scope/types.d.ts.map +1 -1
  600. package/dist/lib/scope/types.js +5 -1
  601. package/dist/lib/scope/types.js.map +1 -1
  602. package/dist/mcp-server.d.ts.map +1 -1
  603. package/dist/mcp-server.js +18 -8
  604. package/dist/mcp-server.js.map +1 -1
  605. package/dist/restore-packet/packet-writer.d.ts.map +1 -1
  606. package/dist/restore-packet/packet-writer.js +8 -5
  607. package/dist/restore-packet/packet-writer.js.map +1 -1
  608. package/dist/terminal-window.d.ts +2 -1
  609. package/dist/terminal-window.d.ts.map +1 -1
  610. package/dist/terminal-window.js +567 -41
  611. package/dist/terminal-window.js.map +1 -1
  612. package/package.json +1 -1
  613. package/tui/dist/daemon-client.d.ts +4 -0
  614. package/tui/dist/daemon-client.d.ts.map +1 -1
  615. package/tui/dist/daemon-client.js.map +1 -1
  616. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  617. package/tui/dist/execution/execution-model.js +22 -5
  618. package/tui/dist/execution/execution-model.js.map +1 -1
  619. package/tui/dist/hydrate.d.ts.map +1 -1
  620. package/tui/dist/hydrate.js +6 -3
  621. package/tui/dist/hydrate.js.map +1 -1
  622. package/tui/dist/navigator.d.ts +1 -1
  623. package/tui/dist/navigator.d.ts.map +1 -1
  624. package/tui/dist/navigator.js +4 -2
  625. package/tui/dist/navigator.js.map +1 -1
  626. package/tui/dist/pulse/render-pulse.d.ts.map +1 -1
  627. package/tui/dist/pulse/render-pulse.js +7 -14
  628. package/tui/dist/pulse/render-pulse.js.map +1 -1
  629. package/tui/dist/render.d.ts.map +1 -1
  630. package/tui/dist/render.js +29 -21
  631. package/tui/dist/render.js.map +1 -1
  632. package/tui/dist/stylize.d.ts.map +1 -1
  633. package/tui/dist/stylize.js +3 -3
  634. package/tui/dist/stylize.js.map +1 -1
  635. package/tui/dist/terminals/terminal-model.d.ts +1 -0
  636. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  637. package/tui/dist/terminals/terminal-model.js +4 -2
  638. package/tui/dist/terminals/terminal-model.js.map +1 -1
  639. package/tui/dist/types.d.ts +1 -0
  640. package/tui/dist/types.d.ts.map +1 -1
  641. package/tui/dist/visual-layout.d.ts +3 -0
  642. package/tui/dist/visual-layout.d.ts.map +1 -1
  643. package/tui/dist/visual-layout.js +17 -0
  644. package/tui/dist/visual-layout.js.map +1 -1
  645. package/ui/dist/assets/{index-1O1f3A7K.js → index-B-sMy02c.js} +107 -107
  646. package/ui/dist/assets/{index-BX8TUZ0E.css → index-DiN7RwWg.css} +1 -1
  647. package/ui/dist/index.html +2 -2
@@ -13,6 +13,11 @@ working on what the person wants, and shows how to work with that team from here
13
13
  if the person asks you to. When they say what they want built, give it to OpenRig's operator (step 2) instead of
14
14
  building it yourself.
15
15
 
16
+ **If `/rigs` or your skill tool said this skill doesn't exist** right after it was added to a running Claude Code
17
+ session: that session doesn't see a skills folder created after it started. Ask the person to type `/reload-skills`
18
+ (Claude Code 2.1.152 or later), or start a new session, then `/rigs`. Until then, read this whole file before you act on
19
+ it; a step skipped here changes where the person answers the team.
20
+
16
21
  Tell the person what you're about to run and why before you run it. Don't install system packages or change their
17
22
  machine without a yes, and don't start a team, including `rig up`, without their yes to what it will start; a yes they
18
23
  already gave for that same launch counts, so don't ask twice. Starting OpenRig and a team writes files: Codex hooks and settings in
@@ -175,16 +180,23 @@ commands; if the two ever differ, this step is right.
175
180
  <seat>@<rig>`), on their yes only.
176
181
  - A machine they'll pair with needs its own person: registering here doesn't give that machine one.
177
182
  - **Give the operator the goal:** ask what they want worked on, in which repository and on which branch, unless they've
178
- said. Hand it over by where the person will answer the team, from what they've already told you:
179
- - **They stay here** (they said so, or they can't use the operator's pane): hand the goal over as a task with a
180
- return route ("If the person stays with you" below), giving the operator your return address for the team's questions and
183
+ said. Hand it over by where the person will answer the team. Staying here is the default: the pane route needs their
184
+ explicit choice.
185
+ - **They stay here** (they said so, or they haven't chosen the pane): hand the goal over as a task with a return
186
+ route ("If the person stays with you" below), giving the operator your return address for the team's questions and
181
187
  result. A seat's prompt may still not reach this conversation. Tell them in a line that this goal's route selects
182
- this conversation ahead of a Slack connection they've registered; their other work doesn't change. Don't tell
183
- the operator they'll answer in its pane.
184
- - **They'll talk to the operator in its pane:** find the `operator.agent` row in `rig ps --nodes --rig kernel --json`,
185
- take its `canonicalSessionName` (never the logical ID or a guessed name) and send:
188
+ this conversation ahead of a Slack connection they've registered; their other work doesn't change, and they can
189
+ talk to the operator in its pane instead whenever they like. Don't tell the operator they'll answer in its pane.
190
+ - **They'll talk to the operator in its pane** (when they chose it): offer the pane only once the view opened where
191
+ they can see it; check how `rig terminal open` ended, above, first. If they chose it and no view can open, give them
192
+ the connection step above and keep their choice, and say the pane is pending until they open or attach to it.
193
+ Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName` (never the
194
+ logical ID or a guessed name) and send:
186
195
  `rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
187
- - Ask where they want to answer only when it's genuinely unclear, and only once.
196
+ If no view opened, put this in place of its second sentence: "The person chose to answer in your pane; it is not open
197
+ for them yet, so your questions wait there until they open or attach to it."
198
+ - **Their choice holds:** a later goal goes by the route they chose until they say otherwise. Don't ask where they'll
199
+ answer before the handoff, and don't switch routes on your own.
188
200
 
189
201
  Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
190
202
  permission choice they made, chosen or declined, in either handoff.
@@ -210,9 +222,11 @@ commands; if the two ever differ, this step is right.
210
222
  own address; one address shares its questions.
211
223
  To tell the team what it's for, the person can add it to a roster as a hosted member
212
224
  (`docs/reference/hosted-members.md` in the OpenRig package).
213
- Once you have it, put it in front of every other `rig queue` command: `OPENRIG_SESSION_NAME=<address> rig queue ...` (add
214
- `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). A `--source` name only labels the one task it's
215
- on: claiming and answering the team's questions need the address in `OPENRIG_SESSION_NAME`.
225
+ Once you have it, put it in front of every other `rig queue` and `rig send` command:
226
+ `OPENRIG_SESSION_NAME=<address> rig queue ...` or `OPENRIG_SESSION_NAME=<address> rig send ...` (add
227
+ `OPENRIG_HOME=<home>` when OpenRig doesn't use the default home). Without it, a send reaches the seat from
228
+ `<unknown sender>`. A `--source` name only labels the one task it's on: claiming and answering the team's questions
229
+ need the address in `OPENRIG_SESSION_NAME`.
216
230
  - **Hand over the goal:** write it to a file with what the message above carries (that you're the agent that
217
231
  installed OpenRig and the person stays with you, the goal, folder, branch, constraints, logins and permission
218
232
  choices), and end it with this paragraph:
@@ -229,7 +243,8 @@ commands; if the two ever differ, this step is right.
229
243
  > the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
230
244
  > stays a no. If they gave no answer, or their words don't
231
245
  > clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
232
- > and never pick a "don't ask again" choice they didn't pick. Check the effect, and never send again while it's
246
+ > and never pick a "don't ask again" choice they didn't pick. Their answer covers only the prompt it answered: a
247
+ > later prompt, even one like it, is a new question to me. Check the effect, and never send again while it's
233
248
  > unknown. If you hand this item on or give this work to another seat, copy this paragraph into the new item. When
234
249
  > you finish, put the outcome in this item's resolution, with what the latest review found, and any file in its
235
250
  > evidence ref.
@@ -269,8 +284,9 @@ commands; if the two ever differ, this step is right.
269
284
  `rig send <destination> "task <id> is yours"`); `failed` (the wake didn't land, and the task is still
270
285
  owed: wake it the same way); `indeterminate` or `still-pending` (unknown, neither failed nor delivered: check
271
286
  before you wake it again). A pending task with no wake isn't lost or done.
272
- - **Nothing wakes this chat** when the team asks or finishes: while its work is open, check your address each time
273
- the person talks to you, and when they come back.
287
+ - **Nothing wakes this chat** when the team asks or finishes: while its work is open, start each of your turns by
288
+ listing your address's tasks (above), before anything else, including when the person talks to you and when they
289
+ come back.
274
290
  - **If the operator answers with a model error,** such as "… not supported when using Codex with a ChatGPT account", its
275
291
  Codex sign-in works but that account can't run the model. OpenRig put the operator on Codex because the sign-in
276
292
  passed. Tell the person which model failed. If Claude Code is signed in, offer to move the operator to it; on their
@@ -291,8 +307,10 @@ commands; if the two ever differ, this step is right.
291
307
  - **Bring seat permission prompts to the person here, as questions, for as long as the team works,** whether you or
292
308
  the operator started it, and whether or not they joined. This is your default responsibility, not a fallback. A permission prompt
293
309
  is the person's to answer: they decide, which doesn't mean they type it into the seat's pane, so don't decline to
294
- relay it. After each step you hand off, and before you report progress, check `rig ps --nodes --rig <rig>` for a
295
- seat stopped at a prompt, and repeat that check while you wait for a seat's result, so a prompt that appears after
310
+ relay it. After each step you hand off, and before you report progress, first list your address's tasks
311
+ (`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`): a prompt OpenRig or the team
312
+ already sent you is there as its own task, so answer it there. Then check `rig ps --nodes --rig <rig>` for a
313
+ seat stopped at a prompt, and repeat both checks while you wait for a seat's result, so a prompt that appears after
296
314
  your last check still reaches them. Show the person each one, with any others waiting, one line each (seat,
297
315
  exact action, the choices offered), and the whole prompt when they ask. If a question about that prompt is already
298
316
  open at your address (the operator or a team seat sent it), use that one: record their words on it, and its sender
@@ -312,9 +330,12 @@ commands; if the two ever differ, this step is right.
312
330
  `rig send <seat>@<rig> $'\e' --dangerously-interact --reason 'task <id>: <their choice, in their words>'`. It's sent
313
331
  once, with no Enter added. Then capture the seat and check the effect before sending anything more; never send or
314
332
  resend an answer while its effect is unknown. Never answer a prompt on your own and record it as theirs,
315
- even one that only reads: ask them, and send their answer. A yes to one prompt isn't a
316
- yes to the next, and never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
317
- kind of future prompt (say, "approve prompts that only write inside my project"), you may decide each one: read its
333
+ even one that only reads: ask them, and send their answer. **An answer covers exactly the prompt it answered:** "yes,
334
+ this once" means that one prompt. Each later prompt goes back to them, even one that looks the same, only reads, or
335
+ comes from the same seat or work, and never cite an earlier answer as their approval of a new prompt, in `--reason`
336
+ or anywhere else. Never pick a "don't ask again" choice they didn't pick. If they've told you outright to decide a
337
+ kind of future prompt (say, "approve prompts that only write inside my project"; "this once" never is one), you may
338
+ decide each one: read its
318
339
  whole action, answer only when it's clearly inside what they said, and tell them you answered under that instruction,
319
340
  not that they said yes. Say the same in `--reason`: your call under their instruction, not their approval. Bring
320
341
  anything unclear or outside it back to them; a command's name or a path that looks like
@@ -1,6 +1,6 @@
1
1
  # Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
2
2
  name: help
3
- version: "0.7.18"
3
+ version: "0.7.19"
4
4
  taxonomy: world
5
5
  purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
6
6
  files:
@@ -1,6 +1,6 @@
1
1
  # Public capability and source-map width for the default onboarding walk.
2
2
  name: onboarding-width
3
- version: "0.7.18"
3
+ version: "0.7.19"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files:
@@ -630,8 +630,11 @@ prompt or waits on it, a prompt that isn't a choice dialog is sent to the route
630
630
  prompts, a prompt already with the gateway, and a route that can't be used (another host's, two that
631
631
  disagree, or a relay that couldn't be made) keep their existing path. It arrives on the
632
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
633
+ can still change between its capture and the key. In two measured Claude first-user runs the return
634
+ route was NOT MET: one agent set no route, and the other set it and finished reviewed, committed work
635
+ but read the prompt relays only after the prompts had been answered and approved later prompts beyond
636
+ the person's one-time consent. Neither run met all first-user criteria. Without `--return-route`
637
+ nothing changes. The skill also follows a task handed on to another
635
638
  host with `rig queue show <id> --host <host>`.
636
639
 
637
640
  `starter` and `factory` are built in: preview the team, inspect `rig up <team> --cwd . --plan`,
@@ -1099,8 +1102,10 @@ version, from checking the environment to a useful report to the OpenRig team.
1099
1102
  delivery), `draft-aware` (retained at once when the input box is busy or unreadable),
1100
1103
  `sends-only` (deliberate sends from people and agents type; OpenRig's own notices are held),
1101
1104
  `openrig-urgent` (OpenRig's own messages and anything marked urgent type), `urgent-only` (only
1102
- urgent messages type) or `hold` (no automatic input; one held notice per wake instead of
1103
- re-nudges). `--enabled true|false` remains compatible: true selects hold, false selects off.
1105
+ urgent messages type), `queue-only` (for a seat a person types in: deliberate sends type, never
1106
+ over a draft; OpenRig's notices never type, and a watchdog reminder arrives as a cold queue row or
1107
+ a note on the parked row it's about) or `hold` (no automatic input; one held notice per wake
1108
+ instead of re-nudges). `--enabled true|false` remains compatible: true selects hold, false selects off.
1104
1109
  Known limit: in `draft-aware`, a multi-line message to a Claude seat can stay unsubmitted when the
1105
1110
  paste changes Claude's footer hint, and later sends wait behind it; check the seat's composer.
1106
1111
  Since 0.7.15 `draft-aware` re-checks right before an automatic paste and holds after recent
@@ -1151,7 +1156,11 @@ version, from checking the environment to a useful report to the OpenRig team.
1151
1156
  managed compaction, refocus waits for the restore request, which names the `refocusing` skill
1152
1157
  (the daemon installs it globally); three failed refocus attempts in a row for one occupant post
1153
1158
  one issue to the stream. The turn boundary, restore request and read-depth audit reach a seat
1154
- that stays quiet after `/compact`; they don't wait for its next turn. The managed `/compact` is
1159
+ that stays quiet after `/compact`; they don't wait for its next turn. They do wait for the seat to
1160
+ report that it compacted (a SessionStart hook with source `compact`), because Claude Code holds an
1161
+ accepted `/compact` behind the turn the seat is running; after 10 minutes with no report they go
1162
+ ahead, subject to the existing delivery checks, and a report that comes later owes the sequence
1163
+ once more only if it arrives within two hours of the `/compact` write. The managed `/compact` is
1155
1164
  kept short enough to run as a command and is sent only to an idle seat; its own result reads
1156
1165
  `submitted, unconfirmed` (it reached the seat, not proof compaction ran), `uncertain` (not
1157
1166
  replayed) or `not sent`, so confirm by effect. Before each paste (preparation prompt, `/compact`,
@@ -1200,8 +1209,8 @@ version, from checking the environment to a useful report to the OpenRig team.
1200
1209
  cached hook keeps that trust, as with any hook trusted in Codex; the trust covers that
1201
1210
  `CODEX_HOME`, so your own Codex sessions there load the plugin too, and its hooks do nothing
1202
1211
  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
1212
+ On 0.7.17 and 0.7.18, when a Codex seat's `config.toml` or `hooks.json` is a symbolic link, OpenRig
1213
+ records its hook trust under the link's target, as in 0.7.14, and such a seat may be asked to review hooks
1205
1214
  again. With a linked `config.toml`, OpenRig can also miss a setting stored for it that turns
1206
1215
  OpenRig's hooks off, and set those hooks up anyway when it moves them into `hooks.json` (#3078).
1207
1216
  Since 0.7.15, when a new openrig-core changes one of those six hook declarations, the boot or
@@ -186,10 +186,10 @@ agent doing the setup. Both use this release's tag:
186
186
 
187
187
  ```sh
188
188
  # Claude Code
189
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.18/skills/rigs" --skill rigs --agent claude-code
189
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs" --skill rigs --agent claude-code
190
190
 
191
191
  # Codex
192
- npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.18/skills/rigs" --skill rigs --agent codex
192
+ npx skills add "https://github.com/mvschwarz/openrig/tree/v0.7.19/skills/rigs" --skill rigs --agent codex
193
193
  ```
194
194
 
195
195
  If OpenRig is already installed, use the release tag matching your installed `rig --version` instead: replace the tag
@@ -197,6 +197,10 @@ after `tree/` with it, including its `v` prefix. `rig --version` prints the vers
197
197
  `0.6.11 (379f0a0d)`; the tag is `v0.6.11`. The skill is in the repository from v0.6.6; on an older install, use the
198
198
  v0.6.6 tag or upgrade first.
199
199
 
200
+ A Claude Code session that was already running doesn't see a skills folder created after it started: neither the
201
+ project's `.claude/skills` that this command adds nor the `~/.claude/skills` the daemon fills on its first start. In
202
+ that session, type `/reload-skills` (Claude Code 2.1.152 or later), or start a new one, before `/rigs`.
203
+
200
204
  These are the pinned, per-agent forms used on the [rigs pages](https://openrig.dev/rigs).
201
205
  You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
202
206
 
@@ -204,11 +208,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
204
208
  script will do and changes nothing:
205
209
 
206
210
  ```sh
207
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.18/scripts/install.sh | sh -s -- --dry-run
211
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.19/scripts/install.sh | sh -s -- --dry-run
208
212
  ```
209
213
 
210
214
  The same command without `--dry-run`,
211
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.18/scripts/install.sh | sh`, installs the
215
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.19/scripts/install.sh | sh`, installs the
212
216
  latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check if the installed checker is
213
217
  present (otherwise it reports the check skipped), then runs `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
214
218
  Codex and may install a missing one, as described below. A failed step prints
@@ -925,6 +929,7 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
925
929
  | Viewing terminal was closed | Open the conversations again with `rig terminal open saved:kernel --window`; `rig tui --shared` is only the dashboard fallback if that window cannot open. Do not relaunch the team. |
926
930
  | Daemon restarted but tmux survived | Re-read `rig status` and the existing queue; a daemon restart is not a fresh project. |
927
931
  | Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
932
+ | OpenRig's home moved (a new `HOME`, account or machine), and restoring an existing rig reports that no rig was found | A shell that exports `OPENRIG_HOME` (legacy `RIGGED_HOME`) or `OPENRIG_DB` still points `rig` and any daemon it starts at the old home, and a daemon started there makes an empty home at that path. Run `rig daemon stop` from that shell first. Then point `OPENRIG_HOME` at the new home folder and `OPENRIG_DB` at the database file in it, or unset them (an unset `OPENRIG_HOME` follows `HOME`), and start the daemon again. A seat whose saved folder isn't on this machine starts in another folder, which the restore names when it can read the seat's terminal; to choose the folder, run `rig up <rig> --existing --cwd <dir>`. |
928
933
  | Launch reports no usable snapshot | Inspect the existing rig and retained project files, then follow the same-seat recovery below. |
929
934
  | Work is waiting on a prompt or decision | Read the row, transition and named prompt; preserve the obligation until the missing decision arrives. |
930
935
 
@@ -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.18"
4
+ version: "0.7.19"
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:
@@ -937,7 +937,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
937
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. |
938
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). |
939
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). |
940
+ | `process_limits` | map | no | — | Linux/systemd hosts only, opt-in for this seat, each key on its own. `{ tasks_max: N }` (an integer from 1 to 4194304) and `{ memory_max: <size> }` (an integer number of bytes, or `<n>K`, `M`, `G` or `T`, base 1024; a whole number of MiB up to 2^53 − 2^20 bytes) put the seat's own processes in a systemd user scope of their own with `TasksMax=N` and `MemoryMax=<bytes>`; both keys together share that one scope. 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 CPU limit) is refused. `{}` clears the stored limits when re-applying an authored spec, a mapping replaces them whole, and omitting the key leaves them unchanged. Valid on terminal members too. See [Process limits](#process-limits-linuxsystemd). |
941
941
  | `permission_policy` | string | no | — | Member-level permission policy; overrides the rig's. Not valid on terminal members. |
942
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. |
943
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. |
@@ -1102,7 +1102,8 @@ members:
1102
1102
  ### Process limits (Linux/systemd)
1103
1103
 
1104
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:
1105
+ once, how much memory they may be charged, or both, so a seat that forks or allocates without end hits its own limit
1106
+ instead of the host's:
1106
1107
 
1107
1108
  ```yaml
1108
1109
  members:
@@ -1113,13 +1114,16 @@ members:
1113
1114
  cwd: .
1114
1115
  process_limits:
1115
1116
  tasks_max: 512
1117
+ memory_max: 4G
1116
1118
  ```
1117
1119
 
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.
1120
+ - **Opt-in, per seat and per key, no default:** Only a member with `process_limits.tasks_max` or
1121
+ `process_limits.memory_max` gets a limit, and only the keys it sets. Without the map, a seat launches exactly as
1122
+ before. `tasks_max` and `memory_max` are the only supported keys; any other key, such as a CPU limit, is refused by
1123
+ name rather than accepted and ignored.
1121
1124
  - **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:
1125
+ `openrigseats.slice`, with `TasksMax=N` and/or `MemoryMax=<bytes>` as its only limits (one scope for both). The
1126
+ seat's processes leave the terminal server's scope:
1123
1127
  a limit an operator put on that scope no longer covers this seat. The other seats, the daemon and the terminal server
1124
1128
  stay where they were, outside this seat's limit. Processes the seat itself starts through `systemd-run --user` land
1125
1129
  in units of their own and are not counted against it. The limit guards the host against a seat's runaway forks; it
@@ -1128,6 +1132,13 @@ members:
1128
1132
  seat's scope and its limit. The limit is also cooperative: a process in the seat that reaches the user manager can
1129
1133
  raise its own scope's `TasksMax` with `systemctl --user set-property`. The short-lived terminal OpenRig opens to
1130
1134
  check that a Claude conversation can be resumed runs without the seat's identity, outside any seat scope.
1135
+ - **What `memory_max` counts:** the memory charged to the seat's scope (`memory.max`): its processes' RAM and the page
1136
+ cache their file reads and writes bring in. Swap is not limited (no `MemorySwapMax=` is set): on a host with swap, a
1137
+ seat at its limit is reclaimed and may swap, which shows as a limit hit, not as an OOM kill. When reclaim can't keep
1138
+ it under the limit, the kernel's OOM killer kills a process in the seat's scope. With `OOMPolicy=continue` (systemd
1139
+ 253 or later, set when the host takes it) the rest of the scope goes on; on an older systemd, that first OOM kill
1140
+ stops the seat's whole scope, so the whole seat ends. Pages a process was charged before it entered the scope stay
1141
+ charged where they were. The panes the terminal server forks (above) are outside this limit too.
1131
1142
  - **A fresh launch that can't get the limit is not started:** A fresh launch (first launch by `rig up`, `rig seat launch
1132
1143
  --fresh`, and a relaunch without a snapshot; a first start through the restore path, such as a never-occupied seat's
1133
1144
  start or auto-rehydrate, is a recovery, below) says it couldn't apply the limit instead of starting the seat without
@@ -1135,23 +1146,29 @@ members:
1135
1146
  - `process_limits_unsupported` for a positive inability of the host: not Linux, `systemd-run` or `systemctl` not on
1136
1147
  the daemon's `PATH`, a systemd too old for seat scopes (it needs 236 or later), no user manager running for the
1137
1148
  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);
1149
+ not the value (the pids controller is not delegated), no `memory.max`, or a `memory.max` that is not the value (the
1150
+ memory controller is not delegated), or a `MemoryMax=` systemd refused. The seat has one scope, so a host that
1151
+ supports only one of the requested keys refuses the whole seat; `processLimits.limit` (`tasks_max` or
1152
+ `memory_max`) names the one it can't give when it is known;
1139
1153
  - `process_limits_setup` when this setup can't use a scope, with the way out: no `XDG_RUNTIME_DIR` and no
1140
1154
  `/run/user/<uid>` (start the daemon with `XDG_RUNTIME_DIR` set, or as a systemd user service), coreutils' `timeout`
1141
1155
  not on the daemon's `PATH`, `terminal.inherit_tmux_environment` on (a seat with a limit needs the scoped launch
1142
1156
  environment: set it to false), a daemon that gives seats no launch environment, or a seat placed in an environment
1143
1157
  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
1158
+ - `process_limits_unverified` (retryable, save where said below) when it isn't known either way: the user manager
1159
+ timed out or its socket refused the connection (starting or restarting), the probe read nothing (no `pids.max` or
1160
+ `memory.max` it asked for) or output it could not understand, the probe command ended with SIGKILL (exit 137)
1161
+ under the requested `MemoryMax=` (the process and the cause aren't confirmed: the OOM killer at that limit, the
1162
+ host's OOM killer, systemd-oomd or a manual kill look the same; a larger value may help; `processLimits.limit` is
1163
+ `memory_max`), an error not recognized, a launch setting that couldn't be read, a failed check from the last minute (reported with its age), or a scope start the launch
1147
1164
  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
1165
  started again without the limit; when it can't be removed, the refusal says the session may still be running and
1149
1166
  how to stop it, without a retry, and its `processLimits` carries `possiblyRunning: true` and `retryable` false). What
1150
1167
  was seen of the command is said apart from what became of its terminal: only a start that failed before the command
1151
1168
  (the pane died with its start marker still pending) reads "not started" and retryable. When the command started in
1152
1169
  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:
1170
+ can still start the command after the last look), or when its pane or its start marker couldn't be read, the
1171
+ refusal says the command started (or may have), what became of its terminal, and suggests no retry:
1155
1172
  `processLimits.commandStarted` is `true` or `"unknown"`, and `retryable` is false. A capped launch whose `new-session`
1156
1173
  printed no pane and whose session can't be read back is refused the same possibly-running way (a session positively
1157
1174
  absent stays `session_not_created`). The first launch after that minute checks again, so a setup fixed meanwhile is
@@ -1159,7 +1176,7 @@ members:
1159
1176
  - `process_limits_invalid` when the seat's stored value can't be read: only this seat is affected, and the value is
1160
1177
  kept until a re-applied spec replaces or clears it.
1161
1178
  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
1179
+ kind, the reason, the requested values and, when known, the `limit`). A daemon that is not itself a systemd user service is no reason: the probe
1163
1180
  decides. To launch an existing seat as before, re-apply its spec with `process_limits: {}`: with the key just
1164
1181
  removed, the stored limit stays (see "Persistence and clear").
1165
1182
  - **A recovery goes ahead without it, and says so:** A handover, a runtime switch and a restart in place choose their
@@ -1172,32 +1189,45 @@ members:
1172
1189
  seat and then fails for its limit. A scope failure late in the path (after the check) starts the seat again without
1173
1190
  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
1191
  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.
1192
+ reads `state: "unknown"`, with `commandStarted` (`true` or `"unknown"`) as in the fresh refusal; its `retryable` only
1193
+ says the limit check may pass at the next fresh launch, since nothing is refused or run again. A restart in place
1194
+ keeps the process tree it has (and a limit already applied to it); when that process's limit can't be read back, its
1195
+ warning reads `unknown`. A bare agent pane's respawn carries no seat environment: it keeps the limit, in a new scope,
1196
+ only when the running process reads back as `applied` and a new scope can be made; otherwise it comes back without
1197
+ the limit, with the warning.
1179
1198
  - **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
1199
  already running is never moved or stopped: a changed value applies at that seat's next launch. A daemon restart
1181
1200
  relaunches nothing, so running seats keep the scope they started in.
1182
1201
  - **Status:** `rig seat status <seat>` reads the limit back from the seat's running process, never from the spec
1183
1202
  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`
1203
+ which (`readFrom`). The states: `applied` (its process is in a seat scope whose `pids.max` and `memory.max` are the
1204
+ values, each one requested), "requested, not applied" (known not under it: not running, launched before the key or by
1205
+ a recovery without it, another `pids.max` or `memory.max`, the reason naming which, or placed in an environment guest, whose pane holds only a local viewer, with the reason), `unsupported`
1187
1206
  (not under it, and the host positively can't make the scope), `unknown` (the readback failed), "stored value invalid"
1188
1207
  (the stored request can't be read; only this seat is affected, and the value is kept). A seat with no limit stored
1189
1208
  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
1209
+ unreported, until its next fresh launch starts it without one. With `tasks_max`, it also shows `pids.current` and how many times a fork hit the limit (`pids.events` `max`). With `memory_max`, apart from those, it shows `memory.current`, how many times the seat's usage was about to go over the limit (`memory.events` `max`), and how many processes in its scope an OOM killer killed (`memory.events` `oom_kill`: any OOM killer, so a kill there is not proof that this limit ended the seat). Never
1191
1210
  stop a seat's scope by hand: that kills every process in it; use `rig seat stop`. Stopping a seat ends its session,
1192
1211
  not its scope: a process the seat left running detached stays in that old scope, under its limit, until it exits,
1193
1212
  and the status, which reads only the running seat's pane, doesn't show it.
1194
1213
  - **Values:** `tasks_max` takes any count from 1 (systemd's own minimum) to 4194304 (the kernel's `PID_MAX_LIMIT`). No
1195
1214
  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.
1215
+ limit fails visibly as a limit hit. `memory_max` takes an integer number of bytes or a string `<n>K`, `<n>M`, `<n>G`
1216
+ or `<n>T` (base 1024, as systemd reads it; `512M` and `536870912` are the same value), and it must be a whole number
1217
+ of MiB: the kernel keeps `memory.max` in pages and reads back the page multiple below, so only a MiB multiple reads
1218
+ back exactly as asked on every page size. There is no floor in the spec: the throwaway `/bin/sh` that proves the
1219
+ limit inside a scope with it decides the low end. When the probe ends with SIGKILL at launch, the refusal is
1220
+ `process_limits_unverified` with `limit: memory_max`, saying what was seen and that a larger value may help
1221
+ (`process_limits_unverified`, above). Its top is 2^53 − 2^20 bytes (9007199253692416), the largest MiB multiple the daemon
1222
+ keeps exactly. As for `tasks_max`, no floor is imposed for every runtime, and the OOM kills show in the status. A
1223
+ percentage, `infinity`, 0, a negative or fractional value, a lowercase or unknown suffix, an empty string, a number
1224
+ of bytes written as a string, a value that isn't a whole number of MiB or one above that top is refused by name.
1197
1225
  - **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
1226
+ an existing seat retains the stored limits when the key is absent, clears both with `process_limits: {}`, and
1227
+ replaces them whole otherwise (`{ tasks_max: 8 }` over a stored `{ tasks_max: 8, memory_max: 4G }` clears the memory
1228
+ limit); the new value is stored before that launch. First-start retry refuses a changed limit, and keeps a stored
1229
+ value it can't read as it is (that launch reports `process_limits_invalid`). Export includes the configured value,
1230
+ with `memory_max` in bytes. A
1201
1231
  seat whose stored value can't be read is exported without `process_limits`, and the rest of the rig exports as usual.
1202
1232
  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
1233
  `rig export` prints) with how to fix or clear it, and the `X-OpenRig-Export-Warnings` header on YAML and JSON (which
@@ -1226,7 +1256,7 @@ members:
1226
1256
  - **Credentials:** Provision each seat separately, or put the provider's key variable in `recovery.provider_auth_env_allowlist` (for example `ANTHROPIC_API_KEY` or `MISTRAL_API_KEY`). The allowlist accepts the key variable of every provider in OpenRig's OMP provider map, from `anthropic` through `litellm`. A seat receives a key only when its `model` is written as `provider/id`, such as `anthropic/claude-sonnet-4-5`. Short names such as `opus` pass no key. A provider whose key is scoped to one endpoint also accepts that endpoint's variable: `anthropic`, `openai` and `litellm` each take their `<PROVIDER>_BASE_URL` — `ANTHROPIC_BASE_URL`, `OPENAI_BASE_URL`, `LITELLM_BASE_URL`. The allowlist admits each variable on its own, so an endpoint named without its key is admitted too, which suits a keyless local proxy. The launch gate admits these endpoint names for OMP seats; the match against the seat's declared `provider/id` happens at the OMP child, which forwards a matching endpoint already in the runner's environment just as it forwards a key. OMP also reads the launch directory's `.env`, so use a trusted working directory.
1227
1257
  - **Approval posture:** The default floor is `--approval-mode always-ask`. Because the runner is headless, OMP approval requests are cancelled and the seat stays in needing-attention after the turn ends, until the next agent run starts. A `full_bypass` permission policy selects `--approval-mode yolo`.
1228
1258
  - **Model errors:** Errors are printed in the pane. A completed assistant failure with a numeric `errorStatus` of 408, 429, 500, 502, 503, 504, or 529 returns to idle at terminal `agent_end`, allowing an ordinary retry. Until that terminal boundary it stays in needing-attention. Intermediate `agent_end(isTerminal:false)` events do not release attention. A statusless failed retry summary retains that classification only when its attempt matches an announced retry and its final error exactly matches the latest typed transient assistant failure in that attempt. New assistant/turn boundaries invalidate the previous failure; unmatched summaries remain runtime errors. Rejected prompts, auth/configuration failures, exhausted retries without a typed transient status, and untyped errors (including text such as `529 overloaded`) retain attention until the next agent run starts. The runner does not classify diagnostic text. A transient failure does not clear a denied approval or another unresolved runtime failure in the same turn.
1229
- - **Restore:** OMP creates its session file after the first persisted turn. A new seat with no persisted turn has no resume token, so a restore leaves it awaiting a decision. Start it fresh with `rig seat launch <seat> --fresh --reason "<why>"`, the command `rig start` and `rig up --existing` print for that seat. After that file exists, OpenRig restores that exact session file. If a full rig restore leaves an OMP seat in `attention_required` or `failed`, `rig seat clear-attention` cannot yet reconcile it to `operator_recovered`, even with `--reason`, because restore reconciliation only verifies Claude Code and Codex processes ([#41](https://github.com/mvschwarz/openrig/issues/41)). Relaunch that seat with `rig seat launch <seat> --fresh --reason "<why>"`, or restore it manually. `rig seat launch --fresh` refuses a managed seat whose pane is still running unless you add `--stop`, which ends what is running there; add it only when you mean to replace that session.
1259
+ - **Restore:** OMP creates its session file after the first persisted turn. A new seat with no persisted turn has no resume token, so a restore leaves it awaiting a decision. Start it fresh with `rig seat launch <seat> --fresh --reason "<why>"`, the command `rig start` and `rig up --existing` print for that seat. After that file exists, OpenRig restores that exact session file. If a full rig restore leaves an OMP seat in `attention_required` or `failed`, `rig seat clear-attention` cannot yet reconcile it to `operator_recovered`, even with `--reason`, because restore reconciliation only verifies Claude Code and Codex processes ([#41](https://github.com/mvschwarz/openrig/issues/41)). Relaunch that seat with `rig seat launch <seat> --fresh --reason "<why>"`, or restore it manually. `rig seat launch --fresh` refuses a managed seat whose pane is still running unless you add `--stop`, which ends what is running there; add it only when you mean to replace that session. A pane that holds only a shell after a failed start (the harness never started, or returned to the shell, and the pane is an idle shell now) is replaced without `--stop`.
1230
1260
 
1231
1261
  ### Terminal Nodes
1232
1262
 
@@ -1,4 +1,64 @@
1
- # What changed in OpenRig 0.7.18
1
+ # What changed in OpenRig 0.7.19
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.19.
4
+ OpenRig 0.7.19 improves how a team brings permission prompts to a person, reports interrupted recovery, and starts again after a failed launch. It also adds optional Claude hook delivery, per-seat Linux memory limits, and a versioned interface for apps answering human questions.
5
+
6
+ ## Before you upgrade
7
+
8
+ Run the upgrade in the environment that owns your daemon, keeping the same `OPENRIG_HOME` if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use `rig down` for this upgrade.
9
+
10
+ If the daemon was started with `--db`, replace the `DB=` line below with that actual database path. Pass the same `--db "$DB"` to every `rig daemon start`, including recovery; `rig config get db.path` reads this shell's configuration, not the running daemon's launch arguments.
11
+
12
+ ```sh
13
+ rig daemon stop &&
14
+ DB="$(rig config get db.path)" &&
15
+ BACKUP="$DB.before-0.7.19-$(date -u +%Y%m%dT%H%M%SZ)" &&
16
+ { [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
17
+ cp "$DB" "$BACKUP" &&
18
+ { [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
19
+ npm install -g @openrig/cli@0.7.19 &&
20
+ rig daemon start
21
+ ```
22
+
23
+ A failure stops the following commands. Fix it before continuing. If stopping failed, use `rig daemon status`: when it says “Daemon stopped”, continue from `DB=`; when it says “Daemon PID is absent”, start the daemon with its original home/database settings before retrying the block.
24
+
25
+ Three additive migrations record the hook bridge, each session's launched folder, and app access. Keep the backup: downgrading the migrated database to 0.7.18 is not established. Bundled `openrig` is 0.7.19; `openrig-core` is 0.1.33.
26
+
27
+ ## Questions and consent
28
+
29
+ A permission prompt can reach the existing alert route even when its seat has no open work. A recovery waiting directly on that prompted seat or row no longer hides the prompt. Clears from an earlier occupant do not clear the current occupant's alert. ([#3425](https://github.com/mvschwarz/openrig/pull/3425), [#3446](https://github.com/mvschwarz/openrig/pull/3446))
30
+
31
+ The installer guidance keeps your conversation unless you choose the operator's pane, and teaches reloading a skill added during the session. The guidance says an answer covers that prompt, rather than permission to answer unrelated prompts later. ([#3423](https://github.com/mvschwarz/openrig/pull/3423), [#3431](https://github.com/mvschwarz/openrig/pull/3431), [#3454](https://github.com/mvschwarz/openrig/pull/3454))
32
+
33
+ ## Recovery and delivery
34
+
35
+ Restore now reports skipped saved hooks and missing working folders as gaps. Restore's working-folder projection skips a folder confirmed absent; adapter home/state setup is separate. A fresh launch from a spec can still create its declared folder. Recreated seats' notices and receipts agree about which seat launched, and a delivered sequence can close its notice. Closure is best-effort if bookkeeping fails; a later sequence can still owe work. ([#3430](https://github.com/mvschwarz/openrig/pull/3430), [#3436](https://github.com/mvschwarz/openrig/pull/3436), [#3450](https://github.com/mvschwarz/openrig/pull/3450), [#3350](https://github.com/mvschwarz/openrig/pull/3350), [#3415](https://github.com/mvschwarz/openrig/pull/3415))
36
+
37
+ `launch --fresh` can replace the shell left by a failed start without `--stop`. Fresh launch can reopen a terminal server after a host restart when the old process is confirmed gone. A missing tmux server reads stopped; unavailable readings remain uncertain. Duplicate automatic watchdog registration no longer aborts startup. ([#3392](https://github.com/mvschwarz/openrig/pull/3392), [#3435](https://github.com/mvschwarz/openrig/pull/3435), [#3429](https://github.com/mvschwarz/openrig/pull/3429), [#3443](https://github.com/mvschwarz/openrig/pull/3443))
38
+
39
+ For a seat you type in, `rig seat set-typing-guard <seat> --mode queue-only --reason <text>` keeps ordinary automatic notices out of its input. Watchdog reminders can be noted on a matching row or recorded in a new queue row without a nudge; parked-owner reminders remain retained. Interrupted reminders survive daemon restart. Other delivery modes keep their own behavior. ([#3418](https://github.com/mvschwarz/openrig/pull/3418), [#3461](https://github.com/mvschwarz/openrig/pull/3461))
40
+
41
+ Claude hook delivery is opt-in: `rig seat set-hook-bridge <seat> --enabled true --reason <text>`, then inspect `rig seat hook-bridge <seat>`. On supported Claude versions, launch or restore installs the bridge; it takes messages only after this occupant's waiter has armed. Until then, ordinary typed delivery applies. If an already-routed bridge becomes unavailable, fallback follows the existing delivery checks and names why. A hook handoff is not proof the agent read or acted on it. ([#3270](https://github.com/mvschwarz/openrig/pull/3270), [#3445](https://github.com/mvschwarz/openrig/pull/3445))
42
+
43
+ ## Settings and connected tools
44
+
45
+ On Linux with systemd, `process_limits: { memory_max: "512M" }` requests a per-seat memory limit alongside `tasks_max`; swap is separate. `rig seat status` shows the observed limit and counters. A limit that cannot be verified is reported, not silently claimed effective. ([#3417](https://github.com/mvschwarz/openrig/pull/3417))
46
+
47
+ Apps can use the versioned [human-answer interface](https://github.com/mvschwarz/openrig/blob/v0.7.19/docs/reference/core-app.md) to read questions, submit answers and recover receipts. Credentials identify an app and permitted actors; they are not private per-person logins. Other improvements bind external input to its run, cancel named native invocations after permission withdrawal, add optional webhook signatures, and pass advisory participant fields through `rig_team`. ([#3426](https://github.com/mvschwarz/openrig/pull/3426), [#3420](https://github.com/mvschwarz/openrig/pull/3420), [#3364](https://github.com/mvschwarz/openrig/pull/3364), [#3396](https://github.com/mvschwarz/openrig/pull/3396), [#3410](https://github.com/mvschwarz/openrig/pull/3410))
48
+
49
+ ## Known limits
50
+
51
+ - A later unreadable tmux sample can show recorded running again after an earlier stopped reading. “Liveness unconfirmed” is not evidence of a live process; inspect the seat before relying on that label.
52
+ - Linked Codex configuration files retain version-specific hook-trust limits. This release does not migrate existing noncanonical state or include the linked-path alias change wholesale. Review any hook prompt yourself; do not treat this upgrade as prior consent.
53
+ - Queue-only reminders are not exactly-once: a lost note receipt can repeat a note, and an interruption while changing back to typed delivery can repeat the occurrence. Check the row before acting twice.
54
+ - Downgrading past the Claude hook `exec` change can leave generated settings unrecognized by the older daemon. Keep your settings backup and inspect them before restarting an older release. ([#3427](https://github.com/mvschwarz/openrig/pull/3427))
55
+ - Manual compaction preparation can be held at queue-only. Inspect `rig compact <seat> --state` and `rig seat held-messages <seat>` before deliberately choosing an existing delivery route or level; changing the level does not replay retained messages.
56
+
57
+ ## Credits
58
+
59
+ Thanks to Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie, Evgeny Zotov, James B. Shields, Mike Schwarz, NIKHIL, Roberto Campos, Samuel, Samuel Smith, Wu Shuwen, billbenetti, and dependabot[bot]. Their contributions also improve terminal column sizing, JSON errors, transcript searches, workflow ownership, account-label display, scope links, cleanup and documentation.
60
+
61
+ ## What changed in OpenRig 0.7.18
2
62
 
3
63
  This note is for an agent on an install that was just upgraded to 0.7.18.
4
64
  OpenRig 0.7.18 can send a team's seat prompts to the conversation your person
@@ -65,7 +125,10 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
65
125
  requested task limit, `process_limits: { tasks_max: N }`. A fresh start whose
66
126
  limit isn't seen to take effect is refused; a recovery that can't apply it
67
127
  may try without the limit, with a warning; an uncertain start is reported and
68
- not retried.
128
+ not retried. OpenRig 0.7.17 rejects teams whose exported `rig.yaml` contains
129
+ `claude_auto_mode` or `process_limits`. Upgrade the receiving install to
130
+ 0.7.18, or remove those fields from a copy only if you intend to share without
131
+ those per-seat settings.
69
132
  - **`rig compact <pi-seat>`** requests Pi's own compaction; `--state` reports
70
133
  the attempt.
71
134
  - **Queue:** `rig queue tag <id> --add <tag>` adds tags to an existing row, and
@@ -173,7 +236,9 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
173
236
  `reviewAt` holds its queue wakes, watchdog delivery and stuck-sweep findings;
174
237
  `POST /api/rigs/<rigId>/delivery-drain/end` ends it. A review deadline prompts
175
238
  the owner and never ends the drain. Direct sends and native starts aren't
176
- held, and unknown delivery isn't replayed.
239
+ held, and unknown delivery isn't replayed. If the drain record can't be
240
+ read, delivery isn't held: the daemon log says
241
+ `control read unavailable; allowing automatic delivery` and delivery goes on.
177
242
  - **A restore that can't confirm it stopped a blank session** keeps that
178
243
  session's record and binding: the seat reads `attention_required` and says the
179
244
  session may still be running. Check with `rig capture`, stop it with
@@ -305,10 +370,11 @@ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`
305
370
 
306
371
  ### After the upgrade
307
372
 
308
- - **Stop, back up, install, then start.** `rig daemon stop` (seats keep running,
309
- so don't use `rig down`), copy the database file (`rig config get db.path`
310
- shows it), install 0.7.16 with the existing installation method, then
311
- `rig daemon start`.
373
+ - **Stop, back up, install, then start.** These were the steps for upgrading to
374
+ 0.7.16; for a later version, follow the steps in that version's note.
375
+ `rig daemon stop` (seats keep running, so don't use `rig down`), copy the
376
+ database file (`rig config get db.path` shows it), install 0.7.16 with the
377
+ existing installation method, then `rig daemon start`.
312
378
  - **Two migrations run before the daemon listens.** Migration 167 adds
313
379
  `seat_handover_attempts` and migration 169 adds `seat_runtime_home_records`.
314
380
  Going back to 0.7.15 after them isn't established; keep the backup.
@@ -1078,7 +1144,9 @@ service keeps its seats when its unit restarts. It adds five database
1078
1144
  migrations. On OpenShell 0.1.6 the worker's maintained cleanup now works, but
1079
1145
  the worker still isn't end to end. If you upgraded
1080
1146
  from 0.7.9 or earlier, also read "What changed in OpenRig 0.7.10" below, and
1081
- from 0.7.8 or earlier, "What changed in OpenRig 0.7.9" too. For the full
1147
+ from 0.7.8 or earlier, the
1148
+ [0.7.9 release notes](https://github.com/mvschwarz/openrig/releases/tag/v0.7.9)
1149
+ too. For the full
1082
1150
  capability map, read `rig context get onboarding-width/public-what-you-can-do.md`.
1083
1151
  After the upgraded daemon starts, `rig context get reference/whats-new.md`
1084
1152
  describes this version. Without a running daemon, read the packaged
@@ -1503,13 +1571,16 @@ daemon's main API port (normally 7433)."
1503
1571
  memory for five minutes and lost on a daemon restart.
1504
1572
  - **Agent spec advisories** don't show for a native resume that continues a
1505
1573
  saved conversation.
1506
- - **The other 0.7.9 limits below still apply:** open updates for a person, Slack,
1574
+ - **The other limits in the
1575
+ [0.7.9 release notes](https://github.com/mvschwarz/openrig/releases/tag/v0.7.9)
1576
+ still apply:** open updates for a person, Slack,
1507
1577
  SSH host status, shared asks, permit records, existing seats, Codex hooks, and
1508
1578
  grant-service assistants not being woken. 0.7.9's limits on a restore request
1509
1579
  held after compaction, `rig broadcast`'s `FAILED`, what has run under the
1510
1580
  runner contract, and Codex seats' `rig: command not found` are fixed or
1511
- changed. The 0.7.8 limits below that 0.7.9
1512
- didn't fix or change, and the
1581
+ changed. The limits in the
1582
+ [0.7.8 release notes](https://github.com/mvschwarz/openrig/releases/tag/v0.7.8)
1583
+ that 0.7.9 didn't fix or change, and the
1513
1584
  [0.7.7](https://github.com/mvschwarz/openrig/releases/tag/v0.7.7) and
1514
1585
  [0.7.6](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6) limits, still
1515
1586
  apply.
@@ -1,7 +1,7 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-operated-software"
4
- version: "0.7.18"
4
+ version: "0.7.19"
5
5
  taxonomy: "skills"
6
6
  purpose: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."
7
7
  files:
@@ -1,7 +1,7 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-operated-workflows"
4
- version: "0.7.18"
4
+ version: "0.7.19"
5
5
  taxonomy: "skills"
6
6
  purpose: "Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop."
7
7
  files: