@openrig/cli 0.7.11 → 0.7.12

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 (772) hide show
  1. package/README.md +9 -6
  2. package/daemon/assets/guidance/openrig-context-entry.md +8 -0
  3. package/daemon/assets/herdr-app/mods/rig-cell-header/main.js +15 -0
  4. package/daemon/assets/herdr-app/mods/rig-cell-header/mod.json +1 -0
  5. package/daemon/assets/herdr-app/mods/rig-ended/main.js +14 -0
  6. package/daemon/assets/herdr-app/mods/rig-ended/mod.json +1 -0
  7. package/daemon/assets/herdr-app/mods/rig-pad/main.js +10 -0
  8. package/daemon/assets/herdr-app/mods/rig-pad/mod.json +1 -0
  9. package/daemon/assets/herdr-app/mods/rig-strip/main.js +153 -0
  10. package/daemon/assets/herdr-app/mods/rig-strip/mod.json +1 -0
  11. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  12. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  13. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +15 -0
  14. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus-state.cjs +103 -0
  15. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +170 -86
  16. package/daemon/assets/plugins/openrig-core/skills/agent-operated-software/SKILL.md +5 -1
  17. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +3 -2
  18. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +1 -1
  19. package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +1 -1
  20. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +10 -6
  21. package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +1 -1
  22. package/daemon/assets/skills/rigs/SKILL.md +37 -2
  23. package/daemon/context-packs/help/help.md +18 -0
  24. package/daemon/context-packs/help/manifest.yaml +1 -1
  25. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  26. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +48 -21
  27. package/daemon/context-packs/reference/getting-started.md +18 -3
  28. package/daemon/context-packs/reference/manifest.yaml +1 -1
  29. package/daemon/context-packs/reference/rig-spec.md +15 -9
  30. package/daemon/context-packs/reference/tmux-servers.md +2 -2
  31. package/daemon/context-packs/reference/whats-new.md +141 -121
  32. package/daemon/context-packs/skills/agent-operated-software/SKILL.md +5 -1
  33. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +3 -2
  37. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +1 -0
  46. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/openrig-user/SKILL.md +1 -1
  63. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/pods/review-team/SKILL.md +2 -0
  76. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  82. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  83. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  84. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  86. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +1 -1
  87. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  88. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +10 -6
  89. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  90. package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +1 -1
  91. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  92. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  93. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  94. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  95. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  96. package/daemon/dist/adapters/claude-code-adapter.js +18 -3
  97. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  98. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  99. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  100. package/daemon/dist/adapters/claude-resume.js +13 -5
  101. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  102. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  103. package/daemon/dist/adapters/codex-runtime-adapter.js +18 -2
  104. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  105. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +10 -6
  106. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  107. package/daemon/dist/adapters/community-harness-runtime-adapter.js +78 -24
  108. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  109. package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts +27 -0
  110. package/daemon/dist/adapters/pi-community-runtime-adapter.d.ts.map +1 -0
  111. package/daemon/dist/adapters/pi-community-runtime-adapter.js +38 -0
  112. package/daemon/dist/adapters/pi-community-runtime-adapter.js.map +1 -0
  113. package/daemon/dist/adapters/pi-runner-protocol.d.ts +5 -3
  114. package/daemon/dist/adapters/pi-runner-protocol.d.ts.map +1 -1
  115. package/daemon/dist/adapters/pi-runner-protocol.js +6 -1
  116. package/daemon/dist/adapters/pi-runner-protocol.js.map +1 -1
  117. package/daemon/dist/adapters/pi-runner.d.ts +9 -4
  118. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  119. package/daemon/dist/adapters/pi-runner.js +104 -30
  120. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  121. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +32 -15
  122. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  123. package/daemon/dist/adapters/pi-runtime-adapter.js +41 -10
  124. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  125. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  126. package/daemon/dist/adapters/tmux-exec.js +13 -4
  127. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  128. package/daemon/dist/adapters/tmux-server.d.ts +2 -0
  129. package/daemon/dist/adapters/tmux-server.d.ts.map +1 -1
  130. package/daemon/dist/adapters/tmux-server.js +1 -1
  131. package/daemon/dist/adapters/tmux-server.js.map +1 -1
  132. package/daemon/dist/adapters/tmux.d.ts +14 -1
  133. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  134. package/daemon/dist/adapters/tmux.js +77 -15
  135. package/daemon/dist/adapters/tmux.js.map +1 -1
  136. package/daemon/dist/attention-surface.d.ts +7 -0
  137. package/daemon/dist/attention-surface.d.ts.map +1 -1
  138. package/daemon/dist/attention-surface.js.map +1 -1
  139. package/daemon/dist/build-info.js +3 -3
  140. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  141. package/daemon/dist/db/all-migrations.js +10 -0
  142. package/daemon/dist/db/all-migrations.js.map +1 -1
  143. package/daemon/dist/db/migrations/155_queue_erasure.d.ts +12 -0
  144. package/daemon/dist/db/migrations/155_queue_erasure.d.ts.map +1 -0
  145. package/daemon/dist/db/migrations/155_queue_erasure.js +28 -0
  146. package/daemon/dist/db/migrations/155_queue_erasure.js.map +1 -0
  147. package/daemon/dist/db/migrations/156_queue_erasure_link_indexes.d.ts +4 -0
  148. package/daemon/dist/db/migrations/156_queue_erasure_link_indexes.d.ts.map +1 -0
  149. package/daemon/dist/db/migrations/156_queue_erasure_link_indexes.js +14 -0
  150. package/daemon/dist/db/migrations/156_queue_erasure_link_indexes.js.map +1 -0
  151. package/daemon/dist/db/migrations/157_queue_erasure_batches.d.ts +9 -0
  152. package/daemon/dist/db/migrations/157_queue_erasure_batches.d.ts.map +1 -0
  153. package/daemon/dist/db/migrations/157_queue_erasure_batches.js +18 -0
  154. package/daemon/dist/db/migrations/157_queue_erasure_batches.js.map +1 -0
  155. package/daemon/dist/db/migrations/158_queue_inbox_checkins.d.ts +8 -0
  156. package/daemon/dist/db/migrations/158_queue_inbox_checkins.d.ts.map +1 -0
  157. package/daemon/dist/db/migrations/158_queue_inbox_checkins.js +15 -0
  158. package/daemon/dist/db/migrations/158_queue_inbox_checkins.js.map +1 -0
  159. package/daemon/dist/db/migrations/159_queue_items_handed_off_from_index.d.ts +5 -0
  160. package/daemon/dist/db/migrations/159_queue_items_handed_off_from_index.d.ts.map +1 -0
  161. package/daemon/dist/db/migrations/159_queue_items_handed_off_from_index.js +9 -0
  162. package/daemon/dist/db/migrations/159_queue_items_handed_off_from_index.js.map +1 -0
  163. package/daemon/dist/domain/agent-activity-store.d.ts +4 -2
  164. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  165. package/daemon/dist/domain/agent-activity-store.js +11 -7
  166. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  167. package/daemon/dist/domain/builtin-startup-files.d.ts +8 -0
  168. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  169. package/daemon/dist/domain/builtin-startup-files.js +37 -11
  170. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  171. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +30 -17
  172. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  173. package/daemon/dist/domain/claude-compaction-enforcer.js +140 -66
  174. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  175. package/daemon/dist/domain/claude-continuation-launch.d.ts +16 -0
  176. package/daemon/dist/domain/claude-continuation-launch.d.ts.map +1 -0
  177. package/daemon/dist/domain/claude-continuation-launch.js +110 -0
  178. package/daemon/dist/domain/claude-continuation-launch.js.map +1 -0
  179. package/daemon/dist/domain/claude-git-trust-root.d.ts +11 -0
  180. package/daemon/dist/domain/claude-git-trust-root.d.ts.map +1 -0
  181. package/daemon/dist/domain/claude-git-trust-root.js +72 -0
  182. package/daemon/dist/domain/claude-git-trust-root.js.map +1 -0
  183. package/daemon/dist/domain/claude-managed-launch.d.ts +1 -0
  184. package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
  185. package/daemon/dist/domain/claude-managed-launch.js +5 -5
  186. package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
  187. package/daemon/dist/domain/community-harness-presets.d.ts +5 -0
  188. package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
  189. package/daemon/dist/domain/community-harness-presets.js +33 -6
  190. package/daemon/dist/domain/community-harness-presets.js.map +1 -1
  191. package/daemon/dist/domain/compaction-restore-notice.d.ts +3 -1
  192. package/daemon/dist/domain/compaction-restore-notice.d.ts.map +1 -1
  193. package/daemon/dist/domain/compaction-restore-notice.js +37 -6
  194. package/daemon/dist/domain/compaction-restore-notice.js.map +1 -1
  195. package/daemon/dist/domain/current-work.d.ts +52 -0
  196. package/daemon/dist/domain/current-work.d.ts.map +1 -1
  197. package/daemon/dist/domain/current-work.js +215 -0
  198. package/daemon/dist/domain/current-work.js.map +1 -1
  199. package/daemon/dist/domain/default-receiver.d.ts +40 -0
  200. package/daemon/dist/domain/default-receiver.d.ts.map +1 -0
  201. package/daemon/dist/domain/default-receiver.js +70 -0
  202. package/daemon/dist/domain/default-receiver.js.map +1 -0
  203. package/daemon/dist/domain/draft-aware-delivery.js +1 -1
  204. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  205. package/daemon/dist/domain/escalation-owner.d.ts.map +1 -1
  206. package/daemon/dist/domain/escalation-owner.js +8 -3
  207. package/daemon/dist/domain/escalation-owner.js.map +1 -1
  208. package/daemon/dist/domain/event-bus.d.ts +16 -8
  209. package/daemon/dist/domain/event-bus.d.ts.map +1 -1
  210. package/daemon/dist/domain/event-bus.js +50 -16
  211. package/daemon/dist/domain/event-bus.js.map +1 -1
  212. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  213. package/daemon/dist/domain/execution-view.js +28 -3
  214. package/daemon/dist/domain/execution-view.js.map +1 -1
  215. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +3 -0
  216. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
  217. package/daemon/dist/domain/gateway/gateway-subsystem.js +9 -0
  218. package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
  219. package/daemon/dist/domain/gateway/human-quiet-windows.d.ts +2 -1
  220. package/daemon/dist/domain/gateway/human-quiet-windows.d.ts.map +1 -1
  221. package/daemon/dist/domain/gateway/human-quiet-windows.js +2 -1
  222. package/daemon/dist/domain/gateway/human-quiet-windows.js.map +1 -1
  223. package/daemon/dist/domain/gateway/human-registry.d.ts +12 -1
  224. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  225. package/daemon/dist/domain/gateway/human-registry.js +64 -8
  226. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  227. package/daemon/dist/domain/gateway/relay-config.d.ts +5 -2
  228. package/daemon/dist/domain/gateway/relay-config.d.ts.map +1 -1
  229. package/daemon/dist/domain/gateway/relay-config.js +34 -3
  230. package/daemon/dist/domain/gateway/relay-config.js.map +1 -1
  231. package/daemon/dist/domain/gateway/relay-inbound.d.ts +11 -0
  232. package/daemon/dist/domain/gateway/relay-inbound.d.ts.map +1 -1
  233. package/daemon/dist/domain/gateway/relay-inbound.js +283 -41
  234. package/daemon/dist/domain/gateway/relay-inbound.js.map +1 -1
  235. package/daemon/dist/domain/gateway/relay-outbound.d.ts +5 -2
  236. package/daemon/dist/domain/gateway/relay-outbound.d.ts.map +1 -1
  237. package/daemon/dist/domain/gateway/relay-outbound.js +37 -6
  238. package/daemon/dist/domain/gateway/relay-outbound.js.map +1 -1
  239. package/daemon/dist/domain/gateway/slack/config.d.ts +21 -0
  240. package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
  241. package/daemon/dist/domain/gateway/slack/config.js +30 -3
  242. package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
  243. package/daemon/dist/domain/gateway/slack/message.d.ts +4 -0
  244. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  245. package/daemon/dist/domain/gateway/slack/message.js +7 -2
  246. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  247. package/daemon/dist/domain/gateway/slack/open-asks.d.ts +13 -1
  248. package/daemon/dist/domain/gateway/slack/open-asks.d.ts.map +1 -1
  249. package/daemon/dist/domain/gateway/slack/open-asks.js +58 -7
  250. package/daemon/dist/domain/gateway/slack/open-asks.js.map +1 -1
  251. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +9 -0
  252. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -1
  253. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -1
  254. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -1
  255. package/daemon/dist/domain/gateway/slack/settled-asks.js +19 -1
  256. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -1
  257. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +3 -0
  258. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  259. package/daemon/dist/domain/gateway/slack/slack-api.js +12 -4
  260. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  261. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +2 -0
  262. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  263. package/daemon/dist/domain/gateway/slack/slack-delivery.js +38 -12
  264. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  265. package/daemon/dist/domain/gateway/slack/slack-recovery.d.ts +12 -1
  266. package/daemon/dist/domain/gateway/slack/slack-recovery.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/slack-recovery.js +68 -10
  268. package/daemon/dist/domain/gateway/slack/slack-recovery.js.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +151 -47
  271. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  272. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +1 -0
  273. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
  274. package/daemon/dist/domain/gateway/slack/socket-inbound.js +5 -0
  275. package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
  276. package/daemon/dist/domain/gateway/slack/state-store.d.ts +4 -0
  277. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  278. package/daemon/dist/domain/gateway/slack/state-store.js +4 -1
  279. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  280. package/daemon/dist/domain/gateway/slack/thread-recovery.d.ts +23 -3
  281. package/daemon/dist/domain/gateway/slack/thread-recovery.d.ts.map +1 -1
  282. package/daemon/dist/domain/gateway/slack/thread-recovery.js +52 -10
  283. package/daemon/dist/domain/gateway/slack/thread-recovery.js.map +1 -1
  284. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -1
  285. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
  286. package/daemon/dist/domain/gateway/slack/thread-seat-map.js +7 -4
  287. package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
  288. package/daemon/dist/domain/guidance-projection.d.ts +39 -0
  289. package/daemon/dist/domain/guidance-projection.d.ts.map +1 -0
  290. package/daemon/dist/domain/guidance-projection.js +91 -0
  291. package/daemon/dist/domain/guidance-projection.js.map +1 -0
  292. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  293. package/daemon/dist/domain/health-passive-ceremony.js +31 -12
  294. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  295. package/daemon/dist/domain/hosted-wake.d.ts +5 -1
  296. package/daemon/dist/domain/hosted-wake.d.ts.map +1 -1
  297. package/daemon/dist/domain/hosted-wake.js +13 -3
  298. package/daemon/dist/domain/hosted-wake.js.map +1 -1
  299. package/daemon/dist/domain/launch-wrapper.d.ts +2 -1
  300. package/daemon/dist/domain/launch-wrapper.d.ts.map +1 -1
  301. package/daemon/dist/domain/launch-wrapper.js +6 -2
  302. package/daemon/dist/domain/launch-wrapper.js.map +1 -1
  303. package/daemon/dist/domain/managed-blocks.d.ts +3 -0
  304. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  305. package/daemon/dist/domain/managed-blocks.js +5 -0
  306. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  307. package/daemon/dist/domain/markdown-address.d.ts.map +1 -1
  308. package/daemon/dist/domain/markdown-address.js +12 -1
  309. package/daemon/dist/domain/markdown-address.js.map +1 -1
  310. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  311. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +37 -6
  312. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  313. package/daemon/dist/domain/native-process-arguments.d.ts +5 -0
  314. package/daemon/dist/domain/native-process-arguments.d.ts.map +1 -1
  315. package/daemon/dist/domain/native-process-arguments.js +60 -5
  316. package/daemon/dist/domain/native-process-arguments.js.map +1 -1
  317. package/daemon/dist/domain/node-inventory.js +3 -3
  318. package/daemon/dist/domain/node-inventory.js.map +1 -1
  319. package/daemon/dist/domain/package-manifest.d.ts.map +1 -1
  320. package/daemon/dist/domain/package-manifest.js +10 -5
  321. package/daemon/dist/domain/package-manifest.js.map +1 -1
  322. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -1
  323. package/daemon/dist/domain/policies/delivery-digest-flush.js +9 -1
  324. package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -1
  325. package/daemon/dist/domain/policies/mode-scheduled-end.d.ts +4 -1
  326. package/daemon/dist/domain/policies/mode-scheduled-end.d.ts.map +1 -1
  327. package/daemon/dist/domain/policies/mode-scheduled-end.js +19 -10
  328. package/daemon/dist/domain/policies/mode-scheduled-end.js.map +1 -1
  329. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  330. package/daemon/dist/domain/policies/parked-owner-consumer.js +3 -2
  331. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  332. package/daemon/dist/domain/policies/quiet-release.d.ts +19 -6
  333. package/daemon/dist/domain/policies/quiet-release.d.ts.map +1 -1
  334. package/daemon/dist/domain/policies/quiet-release.js +44 -7
  335. package/daemon/dist/domain/policies/quiet-release.js.map +1 -1
  336. package/daemon/dist/domain/proof/judgments.d.ts +11 -0
  337. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -1
  338. package/daemon/dist/domain/proof/judgments.js +61 -38
  339. package/daemon/dist/domain/proof/judgments.js.map +1 -1
  340. package/daemon/dist/domain/queue-blocker.d.ts +5 -0
  341. package/daemon/dist/domain/queue-blocker.d.ts.map +1 -0
  342. package/daemon/dist/domain/queue-blocker.js +12 -0
  343. package/daemon/dist/domain/queue-blocker.js.map +1 -0
  344. package/daemon/dist/domain/queue-erasure.d.ts +173 -0
  345. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -0
  346. package/daemon/dist/domain/queue-erasure.js +885 -0
  347. package/daemon/dist/domain/queue-erasure.js.map +1 -0
  348. package/daemon/dist/domain/queue-owner.d.ts +6 -0
  349. package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
  350. package/daemon/dist/domain/queue-owner.js +13 -4
  351. package/daemon/dist/domain/queue-owner.js.map +1 -1
  352. package/daemon/dist/domain/queue-repository.d.ts +160 -20
  353. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  354. package/daemon/dist/domain/queue-repository.js +449 -61
  355. package/daemon/dist/domain/queue-repository.js.map +1 -1
  356. package/daemon/dist/domain/queue-retention.d.ts +15 -1
  357. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  358. package/daemon/dist/domain/queue-retention.js +35 -0
  359. package/daemon/dist/domain/queue-retention.js.map +1 -1
  360. package/daemon/dist/domain/queue-stuck-sweep.d.ts +17 -4
  361. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  362. package/daemon/dist/domain/queue-stuck-sweep.js +246 -92
  363. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  364. package/daemon/dist/domain/queue-transition-log.d.ts +5 -2
  365. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  366. package/daemon/dist/domain/queue-transition-log.js +30 -5
  367. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  368. package/daemon/dist/domain/queue-waiting.d.ts +48 -2
  369. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  370. package/daemon/dist/domain/queue-waiting.js +73 -13
  371. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  372. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  373. package/daemon/dist/domain/queue-wake-ladder.js +79 -28
  374. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  375. package/daemon/dist/domain/rebuild-priming-chain.d.ts +3 -1
  376. package/daemon/dist/domain/rebuild-priming-chain.d.ts.map +1 -1
  377. package/daemon/dist/domain/rebuild-priming-chain.js +3 -1
  378. package/daemon/dist/domain/rebuild-priming-chain.js.map +1 -1
  379. package/daemon/dist/domain/refocus-record.d.ts +17 -0
  380. package/daemon/dist/domain/refocus-record.d.ts.map +1 -0
  381. package/daemon/dist/domain/refocus-record.js +94 -0
  382. package/daemon/dist/domain/refocus-record.js.map +1 -0
  383. package/daemon/dist/domain/restore-check-service.js +1 -1
  384. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  385. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  386. package/daemon/dist/domain/restore-guidance.js +5 -6
  387. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  388. package/daemon/dist/domain/restore-orchestrator.d.ts +2 -0
  389. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  390. package/daemon/dist/domain/restore-orchestrator.js +39 -18
  391. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  392. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  393. package/daemon/dist/domain/restore-plan-preview.js +2 -1
  394. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  395. package/daemon/dist/domain/resume-token-validation.d.ts +7 -0
  396. package/daemon/dist/domain/resume-token-validation.d.ts.map +1 -1
  397. package/daemon/dist/domain/resume-token-validation.js +13 -3
  398. package/daemon/dist/domain/resume-token-validation.js.map +1 -1
  399. package/daemon/dist/domain/rig-repository.js +3 -3
  400. package/daemon/dist/domain/rig-repository.js.map +1 -1
  401. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  402. package/daemon/dist/domain/rig-teardown.js +2 -1
  403. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  404. package/daemon/dist/domain/rigs-being-built.d.ts +5 -0
  405. package/daemon/dist/domain/rigs-being-built.d.ts.map +1 -0
  406. package/daemon/dist/domain/rigs-being-built.js +18 -0
  407. package/daemon/dist/domain/rigs-being-built.js.map +1 -0
  408. package/daemon/dist/domain/rigspec-instantiator.d.ts +3 -0
  409. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  410. package/daemon/dist/domain/rigspec-instantiator.js +32 -2
  411. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  412. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  413. package/daemon/dist/domain/rigspec-preflight.js +4 -1
  414. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  415. package/daemon/dist/domain/rigspec-schema.js +2 -2
  416. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  417. package/daemon/dist/domain/runner-permissions.d.ts +16 -0
  418. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  419. package/daemon/dist/domain/runner-permissions.js +95 -14
  420. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  421. package/daemon/dist/domain/runtime-adapter.d.ts +1 -0
  422. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  423. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  424. package/daemon/dist/domain/scope/logical-checkbox.d.ts.map +1 -1
  425. package/daemon/dist/domain/scope/logical-checkbox.js +14 -0
  426. package/daemon/dist/domain/scope/logical-checkbox.js.map +1 -1
  427. package/daemon/dist/domain/seat-activity-service.d.ts +12 -0
  428. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  429. package/daemon/dist/domain/seat-activity-service.js +85 -4
  430. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  431. package/daemon/dist/domain/seat-handover-service.d.ts +7 -0
  432. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  433. package/daemon/dist/domain/seat-handover-service.js +23 -8
  434. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  435. package/daemon/dist/domain/seat-kinds.d.ts +21 -0
  436. package/daemon/dist/domain/seat-kinds.d.ts.map +1 -0
  437. package/daemon/dist/domain/seat-kinds.js +27 -0
  438. package/daemon/dist/domain/seat-kinds.js.map +1 -0
  439. package/daemon/dist/domain/seat-launch-environment.d.ts +4 -0
  440. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  441. package/daemon/dist/domain/seat-launch-environment.js +7 -6
  442. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  443. package/daemon/dist/domain/seat-lifecycle-service.d.ts +12 -0
  444. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  445. package/daemon/dist/domain/seat-lifecycle-service.js +52 -11
  446. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  447. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  448. package/daemon/dist/domain/seat-runtime-switch-service.js +23 -12
  449. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  450. package/daemon/dist/domain/seat-skill-apply.d.ts +2 -0
  451. package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -1
  452. package/daemon/dist/domain/seat-skill-apply.js +5 -2
  453. package/daemon/dist/domain/seat-skill-apply.js.map +1 -1
  454. package/daemon/dist/domain/seat-skill-storage.js +1 -1
  455. package/daemon/dist/domain/seat-skill-storage.js.map +1 -1
  456. package/daemon/dist/domain/seat-status-service.d.ts +10 -0
  457. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  458. package/daemon/dist/domain/seat-status-service.js +36 -2
  459. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  460. package/daemon/dist/domain/seat-structural-activity-service.d.ts +8 -0
  461. package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
  462. package/daemon/dist/domain/seat-structural-activity-service.js +8 -2
  463. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  464. package/daemon/dist/domain/session-jsonl.d.ts +4 -2
  465. package/daemon/dist/domain/session-jsonl.d.ts.map +1 -1
  466. package/daemon/dist/domain/session-jsonl.js +56 -22
  467. package/daemon/dist/domain/session-jsonl.js.map +1 -1
  468. package/daemon/dist/domain/session-registry.d.ts +20 -3
  469. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  470. package/daemon/dist/domain/session-registry.js +39 -3
  471. package/daemon/dist/domain/session-registry.js.map +1 -1
  472. package/daemon/dist/domain/session-transport.d.ts +28 -4
  473. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  474. package/daemon/dist/domain/session-transport.js +236 -56
  475. package/daemon/dist/domain/session-transport.js.map +1 -1
  476. package/daemon/dist/domain/slices/slice-indexer.d.ts +41 -0
  477. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  478. package/daemon/dist/domain/slices/slice-indexer.js +463 -22
  479. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  480. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  481. package/daemon/dist/domain/startup-orchestrator.js +5 -2
  482. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  483. package/daemon/dist/domain/startup-submission-evidence.d.ts +1 -0
  484. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  485. package/daemon/dist/domain/startup-submission-evidence.js +18 -4
  486. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  487. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  488. package/daemon/dist/domain/terminal/herdr-adapter.js +3 -2
  489. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  490. package/daemon/dist/domain/terminal/herdr-app-install.d.ts +28 -0
  491. package/daemon/dist/domain/terminal/herdr-app-install.d.ts.map +1 -0
  492. package/daemon/dist/domain/terminal/herdr-app-install.js +170 -0
  493. package/daemon/dist/domain/terminal/herdr-app-install.js.map +1 -0
  494. package/daemon/dist/domain/terminal/herdr-app-layout.d.ts +79 -0
  495. package/daemon/dist/domain/terminal/herdr-app-layout.d.ts.map +1 -0
  496. package/daemon/dist/domain/terminal/herdr-app-layout.js +134 -0
  497. package/daemon/dist/domain/terminal/herdr-app-layout.js.map +1 -0
  498. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts +123 -0
  499. package/daemon/dist/domain/terminal/herdr-app-provider.d.ts.map +1 -0
  500. package/daemon/dist/domain/terminal/herdr-app-provider.js +681 -0
  501. package/daemon/dist/domain/terminal/herdr-app-provider.js.map +1 -0
  502. package/daemon/dist/domain/terminal/herdr-app-state.d.ts +91 -0
  503. package/daemon/dist/domain/terminal/herdr-app-state.d.ts.map +1 -0
  504. package/daemon/dist/domain/terminal/herdr-app-state.js +140 -0
  505. package/daemon/dist/domain/terminal/herdr-app-state.js.map +1 -0
  506. package/daemon/dist/domain/terminal/herdr-app-transport.d.ts +68 -0
  507. package/daemon/dist/domain/terminal/herdr-app-transport.d.ts.map +1 -0
  508. package/daemon/dist/domain/terminal/herdr-app-transport.js +133 -0
  509. package/daemon/dist/domain/terminal/herdr-app-transport.js.map +1 -0
  510. package/daemon/dist/domain/terminal/terminal-provider.d.ts +18 -0
  511. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  512. package/daemon/dist/domain/terminal/terminal-service.d.ts +28 -3
  513. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  514. package/daemon/dist/domain/terminal/terminal-service.js +41 -8
  515. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  516. package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
  517. package/daemon/dist/domain/terminal/view-composer.js +1 -0
  518. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  519. package/daemon/dist/domain/time-bound-advisory.js +3 -3
  520. package/daemon/dist/domain/time-bound-advisory.js.map +1 -1
  521. package/daemon/dist/domain/types.d.ts +51 -0
  522. package/daemon/dist/domain/types.d.ts.map +1 -1
  523. package/daemon/dist/domain/types.js.map +1 -1
  524. package/daemon/dist/domain/user-settings/settings-browser.d.ts +2 -1
  525. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  526. package/daemon/dist/domain/user-settings/settings-browser.js +22 -3
  527. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  528. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  529. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  530. package/daemon/dist/domain/user-settings/settings-store.js +35 -0
  531. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  532. package/daemon/dist/domain/wake-recovery.d.ts.map +1 -1
  533. package/daemon/dist/domain/wake-recovery.js +3 -2
  534. package/daemon/dist/domain/wake-recovery.js.map +1 -1
  535. package/daemon/dist/domain/whoami-service.d.ts +6 -0
  536. package/daemon/dist/domain/whoami-service.d.ts.map +1 -1
  537. package/daemon/dist/domain/whoami-service.js +9 -1
  538. package/daemon/dist/domain/whoami-service.js.map +1 -1
  539. package/daemon/dist/domain/workflow-projector.js +1 -1
  540. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  541. package/daemon/dist/domain/workflow-runtime.js +4 -4
  542. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  543. package/daemon/dist/domain/workflow-spec-cache.d.ts +14 -0
  544. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  545. package/daemon/dist/domain/workflow-spec-cache.js +28 -7
  546. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  547. package/daemon/dist/index.d.ts +2 -1
  548. package/daemon/dist/index.d.ts.map +1 -1
  549. package/daemon/dist/index.js +9 -1
  550. package/daemon/dist/index.js.map +1 -1
  551. package/daemon/dist/lib/pane-envelope.d.ts +3 -0
  552. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  553. package/daemon/dist/lib/pane-envelope.js +3 -1
  554. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  555. package/daemon/dist/routes/activity.d.ts.map +1 -1
  556. package/daemon/dist/routes/activity.js +110 -23
  557. package/daemon/dist/routes/activity.js.map +1 -1
  558. package/daemon/dist/routes/attention.d.ts.map +1 -1
  559. package/daemon/dist/routes/attention.js +2 -0
  560. package/daemon/dist/routes/attention.js.map +1 -1
  561. package/daemon/dist/routes/config.d.ts.map +1 -1
  562. package/daemon/dist/routes/config.js +9 -1
  563. package/daemon/dist/routes/config.js.map +1 -1
  564. package/daemon/dist/routes/events.js +7 -2
  565. package/daemon/dist/routes/events.js.map +1 -1
  566. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  567. package/daemon/dist/routes/gateway.js +34 -5
  568. package/daemon/dist/routes/gateway.js.map +1 -1
  569. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  570. package/daemon/dist/routes/hosts.js +146 -46
  571. package/daemon/dist/routes/hosts.js.map +1 -1
  572. package/daemon/dist/routes/provider.js +1 -1
  573. package/daemon/dist/routes/provider.js.map +1 -1
  574. package/daemon/dist/routes/queue.d.ts +19 -0
  575. package/daemon/dist/routes/queue.d.ts.map +1 -1
  576. package/daemon/dist/routes/queue.js +232 -43
  577. package/daemon/dist/routes/queue.js.map +1 -1
  578. package/daemon/dist/routes/skills.d.ts.map +1 -1
  579. package/daemon/dist/routes/skills.js +8 -2
  580. package/daemon/dist/routes/skills.js.map +1 -1
  581. package/daemon/dist/routes/slices.d.ts.map +1 -1
  582. package/daemon/dist/routes/slices.js +156 -28
  583. package/daemon/dist/routes/slices.js.map +1 -1
  584. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  585. package/daemon/dist/routes/terminal.js +40 -3
  586. package/daemon/dist/routes/terminal.js.map +1 -1
  587. package/daemon/dist/routes/transport.d.ts.map +1 -1
  588. package/daemon/dist/routes/transport.js +0 -1
  589. package/daemon/dist/routes/transport.js.map +1 -1
  590. package/daemon/dist/startup.d.ts +34 -0
  591. package/daemon/dist/startup.d.ts.map +1 -1
  592. package/daemon/dist/startup.js +190 -10
  593. package/daemon/dist/startup.js.map +1 -1
  594. package/daemon/docs/reference/agent-spec.md +2 -4
  595. package/daemon/docs/reference/agent-startup-guide.md +24 -2
  596. package/daemon/docs/reference/community-harness-examples/omo/omo.yaml +14 -0
  597. package/daemon/docs/reference/community-harness-presets.md +56 -2
  598. package/daemon/docs/reference/daemon-http-clients.md +15 -1
  599. package/daemon/docs/reference/edge-types.md +6 -4
  600. package/daemon/docs/reference/gateway-participants.md +19 -0
  601. package/daemon/docs/reference/gateway-relay.md +41 -12
  602. package/daemon/docs/reference/getting-started.md +18 -3
  603. package/daemon/docs/reference/harness-runner-contract.md +61 -12
  604. package/daemon/docs/reference/health-diagnosis.md +5 -1
  605. package/daemon/docs/reference/help.md +18 -0
  606. package/daemon/docs/reference/herdr-app.md +148 -0
  607. package/daemon/docs/reference/hosted-members.md +19 -7
  608. package/daemon/docs/reference/keeping-a-watch.md +3 -1
  609. package/daemon/docs/reference/queue-erasure.md +161 -0
  610. package/daemon/docs/reference/quickstart.md +1 -1
  611. package/daemon/docs/reference/rig-spec.md +15 -9
  612. package/daemon/docs/reference/runner-conformance/README.md +3 -0
  613. package/daemon/docs/reference/runner-conformance/check-runner.mjs +27 -6
  614. package/daemon/docs/reference/runner-conformance/fake-acp-agent.mjs +1 -1
  615. package/daemon/docs/reference/sdlc-conventions.md +16 -1
  616. package/daemon/docs/reference/seat-delivery.md +10 -3
  617. package/daemon/docs/reference/slack-app-setup.md +37 -12
  618. package/daemon/docs/reference/terminal-sessions.md +28 -15
  619. package/daemon/docs/reference/tmux-servers.md +2 -2
  620. package/daemon/docs/reference/whats-new.md +141 -121
  621. package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +1 -0
  622. package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +2 -0
  623. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +24 -0
  624. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +7 -4
  625. package/daemon/specs/rigs/launch/kernel/rig.yaml +6 -3
  626. package/daemon/specs/rigs/launch/starter/guidance/lead-first-move.md +3 -1
  627. package/dist/build-info.js +3 -3
  628. package/dist/client.js +2 -2
  629. package/dist/client.js.map +1 -1
  630. package/dist/commands/config.d.ts.map +1 -1
  631. package/dist/commands/config.js +11 -1
  632. package/dist/commands/config.js.map +1 -1
  633. package/dist/commands/context.d.ts.map +1 -1
  634. package/dist/commands/context.js +44 -4
  635. package/dist/commands/context.js.map +1 -1
  636. package/dist/commands/daemon.d.ts.map +1 -1
  637. package/dist/commands/daemon.js +17 -3
  638. package/dist/commands/daemon.js.map +1 -1
  639. package/dist/commands/gateway.d.ts.map +1 -1
  640. package/dist/commands/gateway.js +21 -4
  641. package/dist/commands/gateway.js.map +1 -1
  642. package/dist/commands/host.d.ts.map +1 -1
  643. package/dist/commands/host.js +10 -1
  644. package/dist/commands/host.js.map +1 -1
  645. package/dist/commands/launch.d.ts +1 -0
  646. package/dist/commands/launch.d.ts.map +1 -1
  647. package/dist/commands/launch.js +1 -1
  648. package/dist/commands/launch.js.map +1 -1
  649. package/dist/commands/proof.d.ts.map +1 -1
  650. package/dist/commands/proof.js +18 -6
  651. package/dist/commands/proof.js.map +1 -1
  652. package/dist/commands/provider.js +1 -1
  653. package/dist/commands/ps.d.ts +9 -1
  654. package/dist/commands/ps.d.ts.map +1 -1
  655. package/dist/commands/ps.js +23 -2
  656. package/dist/commands/ps.js.map +1 -1
  657. package/dist/commands/queue.d.ts.map +1 -1
  658. package/dist/commands/queue.js +226 -8
  659. package/dist/commands/queue.js.map +1 -1
  660. package/dist/commands/scope.d.ts +2 -0
  661. package/dist/commands/scope.d.ts.map +1 -1
  662. package/dist/commands/scope.js +15 -0
  663. package/dist/commands/scope.js.map +1 -1
  664. package/dist/commands/seat.d.ts.map +1 -1
  665. package/dist/commands/seat.js +64 -10
  666. package/dist/commands/seat.js.map +1 -1
  667. package/dist/commands/send.d.ts +2 -0
  668. package/dist/commands/send.d.ts.map +1 -1
  669. package/dist/commands/send.js +16 -6
  670. package/dist/commands/send.js.map +1 -1
  671. package/dist/commands/setup.js +1 -1
  672. package/dist/commands/setup.js.map +1 -1
  673. package/dist/commands/skill.d.ts.map +1 -1
  674. package/dist/commands/skill.js +5 -0
  675. package/dist/commands/skill.js.map +1 -1
  676. package/dist/commands/slack.d.ts +1 -1
  677. package/dist/commands/slack.d.ts.map +1 -1
  678. package/dist/commands/slack.js +5 -1
  679. package/dist/commands/slack.js.map +1 -1
  680. package/dist/commands/status.d.ts.map +1 -1
  681. package/dist/commands/status.js +11 -1
  682. package/dist/commands/status.js.map +1 -1
  683. package/dist/commands/terminal.d.ts +22 -0
  684. package/dist/commands/terminal.d.ts.map +1 -1
  685. package/dist/commands/terminal.js +116 -7
  686. package/dist/commands/terminal.js.map +1 -1
  687. package/dist/commands/up.d.ts.map +1 -1
  688. package/dist/commands/up.js +22 -0
  689. package/dist/commands/up.js.map +1 -1
  690. package/dist/commands/whoami.d.ts.map +1 -1
  691. package/dist/commands/whoami.js +13 -2
  692. package/dist/commands/whoami.js.map +1 -1
  693. package/dist/commands/workflow-errors.js +1 -1
  694. package/dist/commands/workflow-errors.js.map +1 -1
  695. package/dist/commands/workflow.js +1 -1
  696. package/dist/commands/workflow.js.map +1 -1
  697. package/dist/config-store.d.ts +8 -1
  698. package/dist/config-store.d.ts.map +1 -1
  699. package/dist/config-store.js +60 -0
  700. package/dist/config-store.js.map +1 -1
  701. package/dist/daemon-start-lock.d.ts +24 -2
  702. package/dist/daemon-start-lock.d.ts.map +1 -1
  703. package/dist/daemon-start-lock.js +125 -4
  704. package/dist/daemon-start-lock.js.map +1 -1
  705. package/dist/lib/scope/logical-checkbox.d.ts.map +1 -1
  706. package/dist/lib/scope/logical-checkbox.js +14 -0
  707. package/dist/lib/scope/logical-checkbox.js.map +1 -1
  708. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  709. package/dist/lib/scope/scope-fs.js +36 -2
  710. package/dist/lib/scope/scope-fs.js.map +1 -1
  711. package/dist/mcp-server.d.ts.map +1 -1
  712. package/dist/mcp-server.js +49 -8
  713. package/dist/mcp-server.js.map +1 -1
  714. package/dist/recap-seat.d.ts +28 -0
  715. package/dist/recap-seat.d.ts.map +1 -0
  716. package/dist/recap-seat.js +41 -0
  717. package/dist/recap-seat.js.map +1 -0
  718. package/dist/seat-attention.d.ts +24 -0
  719. package/dist/seat-attention.d.ts.map +1 -0
  720. package/dist/seat-attention.js +119 -0
  721. package/dist/seat-attention.js.map +1 -0
  722. package/dist/terminal-window.d.ts.map +1 -1
  723. package/dist/terminal-window.js +3 -3
  724. package/dist/terminal-window.js.map +1 -1
  725. package/package.json +1 -1
  726. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  727. package/tui/dist/attention/attention-model.js +3 -0
  728. package/tui/dist/attention/attention-model.js.map +1 -1
  729. package/tui/dist/config/config-model.d.ts.map +1 -1
  730. package/tui/dist/config/config-model.js +6 -1
  731. package/tui/dist/config/config-model.js.map +1 -1
  732. package/tui/dist/config/pairing.d.ts +49 -0
  733. package/tui/dist/config/pairing.d.ts.map +1 -0
  734. package/tui/dist/config/pairing.js +98 -0
  735. package/tui/dist/config/pairing.js.map +1 -0
  736. package/tui/dist/daemon-client.d.ts +11 -1
  737. package/tui/dist/daemon-client.d.ts.map +1 -1
  738. package/tui/dist/daemon-client.js +18 -5
  739. package/tui/dist/daemon-client.js.map +1 -1
  740. package/tui/dist/detail.d.ts +3 -0
  741. package/tui/dist/detail.d.ts.map +1 -1
  742. package/tui/dist/detail.js +6 -1
  743. package/tui/dist/detail.js.map +1 -1
  744. package/tui/dist/execution/execution-model.d.ts +2 -0
  745. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  746. package/tui/dist/execution/execution-model.js +10 -3
  747. package/tui/dist/execution/execution-model.js.map +1 -1
  748. package/tui/dist/health/health-model.d.ts.map +1 -1
  749. package/tui/dist/health/health-model.js +27 -11
  750. package/tui/dist/health/health-model.js.map +1 -1
  751. package/tui/dist/hydrate.d.ts.map +1 -1
  752. package/tui/dist/hydrate.js +4 -2
  753. package/tui/dist/hydrate.js.map +1 -1
  754. package/tui/dist/main.js +6 -1
  755. package/tui/dist/main.js.map +1 -1
  756. package/tui/dist/scopes/scopes-model.d.ts +9 -0
  757. package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
  758. package/tui/dist/scopes/scopes-model.js +27 -1
  759. package/tui/dist/scopes/scopes-model.js.map +1 -1
  760. package/tui/dist/state.d.ts.map +1 -1
  761. package/tui/dist/state.js +4 -3
  762. package/tui/dist/state.js.map +1 -1
  763. package/tui/dist/terminals/open-window.d.ts +21 -1
  764. package/tui/dist/terminals/open-window.d.ts.map +1 -1
  765. package/tui/dist/terminals/open-window.js +46 -9
  766. package/tui/dist/terminals/open-window.js.map +1 -1
  767. package/tui/dist/terminals/terminal-model.d.ts +8 -1
  768. package/tui/dist/terminals/terminal-model.d.ts.map +1 -1
  769. package/tui/dist/terminals/terminal-model.js +25 -8
  770. package/tui/dist/terminals/terminal-model.js.map +1 -1
  771. package/tui/dist/types.d.ts +18 -2
  772. package/tui/dist/types.d.ts.map +1 -1
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Ninety-two top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.11`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.12`). This marker describes the pack's teaching, not publication or live
15
15
  adoption. Read this once for shape, and let it make you suspicious that a thing already exists.
16
16
  What changed in the installed version, and what to do about it, is one read away:
17
17
  `rig context get reference/whats-new.md`.
@@ -62,6 +62,8 @@ one command away. Your memory of the fleet is a claim about the past.
62
62
  arguments) and Claude's bounded suggested rules, which can contain paths, patterns or sensitive
63
63
  values. It's evidence, not an applied permission: it applies and approves nothing, and it's held
64
64
  in memory for five minutes and lost on a daemon restart (`docs/reference/seat-delivery.md`).
65
+ It also shows when guidance was written relative to the session's recorded moments, and what
66
+ the seat's refocus hook recorded; every seat's managed guidance points to its skills, help and project context.
65
67
  - **`rig view list` / `rig view show <lens>`** — named lenses over coordination state: use
66
68
  `view show escalations` for owner attention, `view show pickup` for claimed-row state, and
67
69
  `view show execution` for done/now/next and current authored planning guidance with its
@@ -104,6 +106,10 @@ one command away. Your memory of the fleet is a claim about the past.
104
106
  before querying the database yourself. If `retention.events_days` is set (default `0` keeps
105
107
  everything), the history-only event types (views, snapshots, watchdog firings, queue events) older
106
108
  than that are pruned, and an older window reports them as a `retained_sequence_gap`.
109
+ Closed work's content and metadata can also be erased on a schedule
110
+ (`retention.closed_content_days`, `retention.closed_metadata_days`; `0`, the default, keeps them),
111
+ with an optional `retention.erasure_ledger`, for a retention policy or an account deletion. It's
112
+ opt-in, and a retried create can't bring erased work back.
107
113
  - **Check the exit code.** Many commands used to print nothing and exit 0 when a daemon read
108
114
  failed; now they exit 1 or 2. Empty output from a failed read is not empty state.
109
115
 
@@ -138,19 +144,26 @@ unseen — which makes messages the one delivery channel that never gets skipped
138
144
  (`transport.draft_delivery` `deliver`): the message is pasted at the cursor and the combined input
139
145
  submitted as one prompt, and the result says when it joined a draft OpenRig saw. Tell the person.
140
146
  `rig config set transport.draft_delivery refuse` brings back the refusal (`prompt_draft`) from the
141
- next send. Menus, permission prompts, a seat's typing guard, managed compaction and
142
- `--wait-for-idle` refuse or wait under either value. Draft detection isn't complete.
147
+ next send. Menus and permission prompts still refuse ordinary input under either value.
148
+ A seat's typing guard and `--wait-for-idle` retain their checks. Managed compaction follows the
149
+ ordinary draft default and explicit operator protections; it separately reconciles its own
150
+ uncertain `/compact` write before sending restore input. Draft detection isn't complete.
151
+ **Each send records one `transport.delivery_evidence` event**: what was admitted, what reached
152
+ the input, what the screen check showed, and for which occupant. Read it as what was known about
153
+ the delivery, not proof the agent read it; where the input landed can read unknown.
143
154
  - **`rig send --raw`** — send exact text or keystrokes without the From/To envelope;
144
155
  the interactive-prompt guard still applies. To deliberately drive an interactive prompt,
145
156
  **`--dangerously-interact --reason "<why>"`** is the explicit override and implies raw text.
146
157
  Inspect the prompt and establish authority for its effect before using that override. It types
147
- exactly the bytes and keys you give it: Enter is added only for a complete answer
148
- staged in a recognised Claude Code or Codex input box, so anywhere else put CR in the payload.
158
+ exactly the bytes and keys you give it: Enter is added for a complete answer staged in a
159
+ recognised Claude Code or Codex input box and, away from a recognised prompt or menu, when the
160
+ input box can't be found or read (the result says so). Anywhere else, put CR in the payload.
149
161
  **On a managed seat it stops before typing into an input box that already holds typed or pasted
150
162
  text**, and shows you that text, apart from a recognised dim suggestion; it types nothing. Clear
151
163
  the box and retry, or add `--type-without-checking`, which reads and clears nothing and may join
152
164
  or submit the existing text. Keys for a recognised native menu are sent as before, and collapsed
153
- paste contents or an unrecognised input can't be read. Not yet checked on a live seat whose box
165
+ paste contents or an unrecognised input can't be read. An input it can't read doesn't stop it: it
166
+ types, clears nothing, and says the input couldn't be read. Not yet checked on a live seat whose box
154
167
  holds only a suggestion, or typed text beside one. Don't use it to type over a half-written box:
155
168
  to reach a seat with something that can't wait, use `--urgent` where its typing-guard level lets
156
169
  urgent input through.
@@ -244,14 +257,9 @@ unseen — which makes messages the one delivery channel that never gets skipped
244
257
  YAML, herdr when installed or plain tmux. The layout follows the terminal's width: on a narrow
245
258
  one the operator gets the first tab; on a wide one the dashboard and operator sit side by side
246
259
  and the advisor gets its own tab. A `kernel` view the person saved still wins.
247
- Writable tiles attach as in 0.7.10: the screen in use sizes the seat and text reflows on resize.
248
- Read-only tiles show without attaching or resizing it. Fixed web geometry is opt-in through
249
- `terminal.fixed_geometry` (off by default). Enter or Ctrl-C during the first attach can close
250
- the viewer; the agent keeps running, so reopen it. Kept writable 0.7.8, 0.7.9 or pre-reflow
251
- 0.7.11 tiles need a manual refresh: close only their owned viewer and reopen with
252
- `rig terminal open`; for `--follow`, use `--no-follow` first, then open a fresh view.
253
- The agent and conversation are preserved; this is not an automatic migration.
254
- Inside herdr it
260
+ Tiles show their seat's screen without attaching, so whole lines show at any tile width; a
261
+ writable tile attaches when someone types or pastes and goes back to showing after 30 seconds
262
+ without a key. Inside herdr it
255
263
  opens a focused `openrig kernel` space. It opens where the caller is: Terminal gets a window and
256
264
  Ghostty a tab; from Claude Desktop, iTerm or VS Code on a Mac it opens a new Ghostty or Terminal
257
265
  window, and only then say that clicking macOS's Allow is fine. Herdr is visible only in a
@@ -308,6 +316,8 @@ unseen — which makes messages the one delivery channel that never gets skipped
308
316
  **Open terminals ▸** opens the inspected plan through the same desktop launcher, herdr or plain
309
317
  tmux, so the TUI must run on the daemon's desktop; when no window was attempted it shows the
310
318
  preview and attach commands. Help or a side trip returns to the same preview.
319
+ `--provider herdr-app` opens the view inside the herdr-app desktop window as an equal grid with a
320
+ title per cell; it's a one-shot view (following isn't claimed), so check the cells yourself.
311
321
  - **`rig walk <seat> --through <files> --pace <n>`** — deliver context pieces through
312
322
  file-backed terminal paste. When the current native generation record resolves, the complete
313
323
  piece and its matching Claude/Codex turn closure must arrive before pacing onward, including
@@ -375,6 +385,9 @@ your context, your compaction and your replacement — and it is the only thing
375
385
  another host, as `create` and `handoff` do; `claim` doesn't, since only the destination seat
376
386
  claims, on its own host. `rig queue artifact <qitemId>` (and MCP `rig_artifact_read`) returns the
377
387
  exact commit pair from an `openrig.code-result/v1` manifest set as the row's `evidenceRef`.
388
+ It names a handed-off row's successor. `rig queue create` advises when a row's scope doesn't
389
+ resolve, and a custom blocker ID explains the wait in the waiting views (its progress gives no
390
+ event wake; the timer remains).
378
391
  - **`rig queue claim` / `unclaim`** — is this mine and running, or still pending where two agents
379
392
  might double-work it. Put it down honestly when it is not yours.
380
393
  - **`rig queue update`** — record what happened in a form the rest of the system can act on. A
@@ -656,6 +669,8 @@ not have to tear one down to change it, and you rarely have to start from nothin
656
669
  so capture the pane first; for an unattended seat use the Gateway preset, within what it declares.
657
670
  A Hermes gateway runs per Hermes home, so one per seat with the example launcher; its preset
658
671
  doesn't declare `resume`.
672
+ A harness can declare `protocol: pi-rpc`, a preset can carry a launch wrapper, and a seat can
673
+ switch between Pi and another runtime.
659
674
  - **`rig down`** — stop a rig's seats and take it out of the running set. It ends the agents'
660
675
  sessions and any work in progress; don't run it on a live team unless the person asked. In
661
676
  human mode it first prints one line with each agent's last known activity, or “unknown”: a
@@ -667,6 +682,11 @@ not have to tear one down to change it, and you rarely have to start from nothin
667
682
  edited skills-line block, edited team skill files, and settings or a collector that don't match
668
683
  what OpenRig wrote or that another seat shares by a link. Any other guidance block goes even if
669
684
  someone edited it.
685
+ **Since 0.7.12 it stops only a tmux session that carries the seat's own `OPENRIG_NODE_ID`**, on the
686
+ server and session it read. A terminal OpenRig didn't create, a mismarked or replaced one, or a seat
687
+ joined with `rig attach --self` is left running, and `rig down` exits 2 naming it and the manual way
688
+ to stop it. Teardown is incomplete for those terminals: if one is yours, look at it and stop it
689
+ yourself, then run `rig down` again.
670
690
  - **`rig launch <rig> [seat]`** — one seat is down; start just that one, without disturbing the
671
691
  rest. It takes the rig's name or ID; a name shared by more than one active rig stops and lists their IDs. Add `--plan` to preview it first, locally or with `--host`; a plan is never sent to a
672
692
  daemon older than 0.5.9, which would ignore it and launch. A seat whose agent exited to a shell in
@@ -768,6 +788,8 @@ version, from checking the environment to a useful report to the OpenRig team.
768
788
  database another live daemon already holds (the default, `warn`, only warns), and
769
789
  `rig daemon start --allow-db-conflict` allows one deliberate start. A start still in progress reads
770
790
  `Daemon starting: launch reserved by pid N since T; not listening yet` in `rig daemon status`, not stopped.
791
+ A start reservation left from an earlier boot is archived by the next start; don't clear it by
792
+ hand.
771
793
  - **A busy daemon isn't a down one.** The CLI refuses only when the daemon is confirmed down
772
794
  (stopped, stale, a refused probe), its probe is blocked, or it's a sibling home; a busy daemon
773
795
  gets the real request. A write that then times out says its outcome is **unknown**: check its
@@ -1240,11 +1262,14 @@ reaching them is ordinary work rather than an escalation.
1240
1262
  person can settle an ask that was asked of someone else, recorded as themselves beside the person
1241
1263
  asked. The first committed answer wins; a later one gets 409 `qitem_already_terminal` and records
1242
1264
  nothing. A park addressed to a registered person can be resolved.
1243
- Denying or dropping a host pairing request in Steering now gives the requesting machine no access; in 0.7.9 and 0.7.10, that action could return the daemon access token. ([#2884](https://github.com/mvschwarz/openrig/pull/2884))
1244
- **Pairing answers now reach the target's kernel operator.** On a 0.7.11 target with a receiving kernel operator, typed words and Approve or Deny choices in the TUI, Steering or Slack are replies for that agent to read. Receiving a reply neither grants nor denies access. The operator acts on clear intent with `rig host approve <code>` or `rig host deny <code>` and asks back when the answer is unclear. The commands also work from a plain terminal on the target; they use its operator bearer (`OPENRIG_AUTH_BEARER_TOKEN`, or `--bearer <token>`). ([#2900](https://github.com/mvschwarz/openrig/pull/2900))
1245
- **An Approve click on an operator-owned request waits for the operator to act.** A stopped operator keeps ownership; the answer waits in its queue. A stopped or unknown running state is named with the terminal route, without claiming the answer was read. If there is no operator, it cannot receive answers, or OpenRig cannot determine one, the request names that case and uses the agent-free path: Approve and Deny decide directly, and replies lead to another ask rather than denial. File-only replies and the literal `[file reply]` have no words stored on the agent-free ask; they still do not deny it.
1246
- **TUI answers use the daemon's operator bearer when configured.** Ordinary terminal calls keep their separate terminal credential. A missing or wrong action credential leaves the answer unrecorded and shows what to set; this does not weaken the daemon's authentication.
1247
- **Receipt, clarification and outcome are separate steps.** Receipts, agent-free re-asks and outcomes inferred from clicks or closes need the requesting machine to keep polling. An explicit `rig host approve` or `rig host deny` attempts its outcome update directly. An expiry timer closes the ask even if polling stopped; an unanswered expired ask gets no further update. Requests and decisions live in daemon memory, so a restart drops an open request. Approval still must be collected before expiry. This target-side change does not change older targets.
1265
+ - **A person's answer goes to an agent.** Answers nothing else reads (a host pairing request, a
1266
+ mode's scheduled end) use the configured receiving agent or the kernel operator. Pairing and
1267
+ runner permission answers go to the receiving agent with the question for it to decide;
1268
+ qualified words ("only if it's the test file") need that judgment. Answers wait when no receiver
1269
+ is available: don't describe them as read or decided. A pairing request names its receiver, and
1270
+ a person can decide directly in the TUI's pairing settings. A relay connector that can't accept
1271
+ incoming connections can pull instead (`OPENRIG_RELAY_MODE=pull` in the relay secrets file); push
1272
+ stays the default, and a person's connector binding can be unset.
1248
1273
  - **`rig gateway channel add <id> --display-name <name> --binding
1249
1274
  slack:<connectorRef>:<secretsRef>:<channelId>`** — a Slack shared channel as one participant,
1250
1275
  `<id>@external` (Slack only). Anyone writing there reaches the team, registered or not. Each row
@@ -1412,8 +1437,8 @@ your circumstances is configuration, and the ones that are not, another agent ca
1412
1437
  tested with stubs, not real accounts, before 0.7.2: check a moved seat's account and conversation
1413
1438
  yourself after the first move.
1414
1439
  - **Move to an existing account home** with `rig provider switch --seat <seat> --to-account <name>
1415
- --account-home <dir>` (preview with `--dry-run`). It starts a fresh conversation with a handover
1416
- and retains the seat's address and work. `--clear-account-home` returns to configured defaults.
1440
+ --account-home <dir> --reason "<why>"` (preview with `--dry-run`). It starts a fresh conversation with a handover
1441
+ and retains the seat's address and work. `--clear-account-home --reason "<why>"` returns to configured defaults.
1417
1442
  - **Claude subscription/API-key switching resumes the same conversation and interrupts work:**
1418
1443
  `rig provider switch --seat <seat> --to-account api --api-key-file <abs>`; return with
1419
1444
  `--to-account plan --token-file <abs>`. The API-key path remains unqualified; verify the resulting
@@ -1441,6 +1466,8 @@ your circumstances is configuration, and the ones that are not, another agent ca
1441
1466
  The choice is saved as `provider.selected`, and the kernel starts seats only for those providers
1442
1467
  (empty, the default, means every signed-in one). `--router-line yes|no` decides whether OpenRig
1443
1468
  adds its one line to shared guidance files (`skills.router_line.enabled`).
1469
+ Setup offers to register the person when none is registered, and a team started from the
1470
+ person's own assistant fits their own logins, with a review before anything is committed.
1444
1471
  - **`rig usage series`** — what a seat's token curve has looked like over time: climbing steadily,
1445
1472
  reset, or stopped reporting entirely. The last one is a signal, not a gap.
1446
1473
  - **`rig usage top`** — which of this machine's seats used the most tokens over a window (`--window
@@ -201,11 +201,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
201
201
  script will do and changes nothing:
202
202
 
203
203
  ```sh
204
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.11/scripts/install.sh | sh -s -- --dry-run
204
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.12/scripts/install.sh | sh -s -- --dry-run
205
205
  ```
206
206
 
207
207
  The same command without `--dry-run`,
208
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.11/scripts/install.sh | sh`, installs the
208
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.12/scripts/install.sh | sh`, installs the
209
209
  latest published `@openrig/cli` with `npm install -g`,
210
210
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
211
211
  Codex and may install a missing one, as described below. A failed step prints
@@ -816,6 +816,19 @@ option, the seat's agent spec for the target runtime, or the runtime's own
816
816
  default), what is cleared, and the costs below. Nothing changes until you run it
817
817
  without `--dry-run`.
818
818
 
819
+ Use `--runtime pi` to move a Claude Code or Codex seat to Pi; use `--runtime
820
+ claude-code` or `--runtime codex` to move back. Pi uses a fresh managed state
821
+ directory. Select a prepared Pi account with `--account-home /absolute/path`
822
+ (the directory must contain readable `auth.json`), or use the target's configured
823
+ login. A source account override or Claude token is cleared only at commit;
824
+ credentials are never converted between runtimes. Pi-to-Pi account changes keep
825
+ Pi settings, but cross-runtime switches resolve settings afresh for the target.
826
+
827
+ A configured `launch_wrapper` carries across runtime switches among Pi, Codex
828
+ and Claude Code. It must support each successor executable and preserve that
829
+ runtime's credential environment. A wrapped Pi seat cannot switch to Claude
830
+ Code; set `launch_wrapper: []` in the authored spec and re-apply it first.
831
+
819
832
  The new runtime takes over before the old one stops. Its successor starts beside
820
833
  the current occupant, reads a handover (the seat's recap, its open rows and the
821
834
  predecessor's screen), and confirms it with `rig seat set-runtime <seat>
@@ -847,7 +860,7 @@ What it costs:
847
860
  again afterwards to reach whoever holds the seat.
848
861
  - **Leftover files after a failed switch.** The target runtime's prepared seat
849
862
  storage and projections can remain.
850
- - **Codex and Claude Code, single-pane seats.** Startup slash commands aren't
863
+ - **Codex, Claude Code and Pi, single-pane seats.** Startup slash commands aren't
851
864
  run by a switch; the dry run lists them.
852
865
 
853
866
  ## Stop your teams
@@ -886,6 +899,8 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
886
899
  | "Readiness timeout after 30s — harness did not become interactive" | The harness took longer than the readiness window. Raise it for the next launch with `rig config set runtime.readiness_timeout_seconds <1-600>`, then relaunch that seat. |
887
900
  | "Claude resume did not finish within Ns; Claude may still be starting, so the launch was kept" | A restored Claude seat was not interactive when the wait ended. Its pane and resume token are kept. Look at the pane; once Claude is up, run `rig seat clear-attention <seat>`. The wait is about `runtime.readiness_timeout_seconds` in total for each seat (default 30 s), counting the first 3.2 s, and the time adds up seat by seat in a restore. Raising the setting for slow fresh launches lengthens it. If `rig up` or `rig launch` times out at 120 s, that is not a rollback: check `rig ps` before running it again. |
888
901
  | Daemon is healthy, kernel is still starting | Read `rig status` and `rig ps --nodes --rig kernel`; kernel readiness is separate. |
902
+ | `rig status`, `rig terminal open` or `rig daemon start --wait-for-kernel` says a seat "needs attention" or "is waiting on a person" | The daemon flags that seat, and the line gives its recorded reason: a startup that failed or stopped at a sign-in, trust or other gate, a held message, a missing required file, or a question. "Is waiting on a person" means the daemon sees a live question you can answer in that seat's terminal. Look at it with `rig capture <seat>` or in its tile, then follow the row above that matches its message. "Couldn't check" means the check itself failed; it says nothing either way. |
903
+ | A Codex seat, including the kernel's operator, answers every turn with a model error such as "… not supported when using Codex with a ChatGPT account" | Its Codex sign-in works, but that account can't run the model; the kernel picks its runtimes from the providers chosen at setup and their sign-ins, not from which models an account can run. If Claude Code is signed in, move just that seat: `rig seat set-runtime <seat> --runtime claude-code --reason "<model> isn't available to this Codex account"` (`--dry-run` first). Otherwise give it a model the account can run with `rig seat set-model <seat> --model <id> --reason "…"`, then start it again with `rig seat launch <seat> --fresh --stop --reason "…"` and check the model it reports. |
889
904
  | Kernel seats fail within a second of the first start, and tmux reports "server exited unexpectedly" | Check that your tmux can capture a pane, then start the failed seats again; see the tmux check below this table. |
890
905
  | Shared terminal is absent | Check the kernel's `operator.human` terminal separately from its agents; recover only that seat as described below. Standalone `rig tui` remains available while resolving it. |
891
906
  | 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. |
@@ -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.11"
4
+ version: "0.7.12"
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:
@@ -587,9 +587,13 @@ rig provider switch --seat pi-worker@my-rig --to-account work \
587
587
  rig provider switch --seat pi-worker@my-rig --clear-account-home --reason "Return to configured login"
588
588
  ```
589
589
 
590
+ When switching into Pi with `--clear-account-home`, OpenRig restores the seat's original Pi login only if no effective member or rig Pi account home is configured. A member's `PI_CODING_AGENT_DIR` shadows the rig's value; if the member value is relative, it is ignored and the rig home does not take effect.
591
+
590
592
  Pi account changes work with or without `launch_wrapper`. The wrapper receives the successor's managed Pi directory;
591
- it must preserve the selected credentials if you want OpenRig's account choice to apply. Switching a seat between Pi
592
- and another runtime is not supported by this account-home feature.
593
+ it must preserve the selected credentials if you want OpenRig's account choice to apply.
594
+ Use `rig seat set-runtime <seat> --runtime <runtime> --reason "Change provider"` with `pi`, `codex` or `claude-code` for cross-runtime switches.
595
+ Those resolve the target's settings afresh rather than keeping the source model or effort;
596
+ see [runtime switching](getting-started.md#move-a-seat-to-the-other-runtime).
593
597
 
594
598
  This switch starts a fresh conversation with a handover, even when the runtime stays the same. The existing
595
599
  subscription-login switch preserves the conversation. Once the successor confirms, OpenRig commits its home, runtime,
@@ -691,7 +695,7 @@ first turn. Check `/status` after a real tool turn to confirm the authentication
691
695
 
692
696
  For Codex, a saved native API-key login is selected with the existing `--to-account <name>`
693
697
  path, exactly like a saved subscription login. Prepare it using native `codex login --with-api-key`
694
- with the key on stdin, then `rig auth save --codex-home <home> <name>`; never put a key in argv.
698
+ with the key on stdin, then `CODEX_HOME=<home> rig auth save <name>`; never put a key in argv.
695
699
  Use the seat's existing home. Preparing a login replaces that home's active credentials, so do it
696
700
  before running seats there, or prepare/import a native auth profile separately. Switches preserve
697
701
  an outgoing credential copy and report peers sharing the home. A native keyring or administrator
@@ -779,7 +783,7 @@ directory's `CLAUDE.md`, including blocks written by other rigs.
779
783
  | `effort` | string | no | — | Reasoning effort override, trimmed. Claude gets `--effort`, Codex `-c model_reasoning_effort=…`, Pi `--thinking` (see "Pi" below). A non-string value is ignored with an advisory. |
780
784
  | `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. |
781
785
  | `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). |
782
- | `launch_wrapper` | string[] | no | — | Local built-in `pi`, `codex` and `claude-code` members only. 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). |
786
+ | `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). |
783
787
  | `permission_policy` | string | no | — | Member-level permission policy; overrides the rig's. Not valid on terminal members. |
784
788
  | `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. |
785
789
  | `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. |
@@ -917,9 +921,11 @@ This requires a Claude Code version that supports `--advisor`. OpenRig never wri
917
921
  choose different Advisors. When Advisor is unset, no flag is emitted and Claude's
918
922
  own defaults/settings apply. Other runtimes ignore this field.
919
923
 
920
- ### Launch wrapper (`runtime: pi` and `codex`)
924
+ <a id="launch-wrapper-runtime-pi-and-codex"></a>
925
+
926
+ ### Launch wrapper (`runtime: pi`, `codex` and `claude-code`)
921
927
 
922
- Set `launch_wrapper` on a local built-in `pi`, `codex` or `claude-code` member to prefix its native executable and arguments with a literal argv vector:
928
+ Set `launch_wrapper` on a local `pi`, `codex`, `claude-code` or community-harness member to prefix its native executable and arguments with a literal argv vector:
923
929
 
924
930
  ```yaml
925
931
  members:
@@ -931,7 +937,7 @@ members:
931
937
  launch_wrapper: ["launcher", "exec", "--profile", "seat-a", "--"]
932
938
  ```
933
939
 
934
- - **Scope and literal argv:** Local built-in `pi`, `codex` and `claude-code` members, including legacy flat nodes, support `launch_wrapper`; other runtimes reject it, including `[]`. Each fork uses its target member's own selection. Arguments are literal strings without NUL, CR or LF; spaces, quotes, metacharacters and empty non-executable arguments are preserved.
940
+ - **Scope and literal argv:** Local `pi`, `codex`, `claude-code` and supported community-harness members support `launch_wrapper`; legacy flat nodes support it only on `pi`, `codex` and `claude-code`. Other runtimes, including the maintained `openshell-claude` environment path, reject it, including `[]`. Community preset capability and execution requirements are defined in the [runner contract](harness-runner-contract.md#2-declare-it-what-the-preset-says-fixed-at-launch). Each fork uses its target member's own selection. Arguments are literal strings without NUL, CR or LF; spaces, quotes, metacharacters and empty non-executable arguments are preserved.
935
941
  - **Executable resolution:** `launch_wrapper[0]` must be an absolute path or bare command name. Preflight and launch resolve it using the daemon's launch `PATH` and working directory, before adding the seat's `rig` bin directory. Relative paths containing `/`, aliases and functions are unsupported for the wrapper itself.
936
942
  - **Native child and `exec` contract:** The wrapper prefixes the resolved Codex entry, prefixes the resolved Pi child executable inside the host runner, or prefixes the real Claude executable and native arguments. Managed Claude applies it after rebuilding the environment; pinned continuations retain their executable. The wrapper must `exec` its child in place, preserving working directory, environment, signals, exit status and TTY stdio (Claude/Codex) or RPC pipes (Pi). Supervising wrappers are unsupported.
937
943
  - **Classic Claude lookup:** Wrapped classic launch supports bash, zsh, sh and dash and requires `command -v claude` to resolve to an executable file; aliases and functions refuse with `launch_wrapper unavailable; no agent started.` To keep custom flags or environment, put them in a `#!` script named `claude` on `PATH`; the wrapper runs that script ([#1477](https://github.com/mvschwarz/openrig/issues/1477)).
@@ -1015,7 +1021,7 @@ This is human-authored (you choose the pod/member IDs) and system-validated (the
1015
1021
  | `spawned_by` | Source was spawned by target; the target launches first. Constrains launch order. | Child → parent in hierarchical topologies |
1016
1022
  | `can_observe` | Source can observe target's output. Does NOT constrain launch order. | Reviewer → implementer, monitor → worker |
1017
1023
  | `collaborates_with` | Peer collaboration relationship. Does NOT constrain launch order. | Co-equal peers working together |
1018
- | `escalates_to` | Fallback queue escalation for a seat without a declared delegation parent. Does NOT constrain launch order. | Local member or same-daemon `pod-member@rig` address |
1024
+ | `escalates_to` | Fallback queue escalation for a seat without a single declared delegation parent (none, or several). Does NOT constrain launch order. | Local member or same-daemon `pod-member@rig` address |
1019
1025
 
1020
1026
  A named `escalates_to` target may be in another rig on the same daemon and need not exist at import time.
1021
1027
  See [fallback escalation across rigs](edge-types.md#fallback-escalation-across-rigs) for precedence, single-hop delivery,
@@ -1358,7 +1364,7 @@ spec can pass `rig spec validate` and then fail at preflight or import. Run
1358
1364
  24. Startup action `idempotent` is a required boolean.
1359
1365
  25. Non-idempotent actions must not include `restore` in `applies_on`.
1360
1366
  26. `applies_on` values must be from: `fresh_start`, `restore`.
1361
- 27. `launch_wrapper` is valid only on `pi`, `codex` and `claude-code` members (`[]` included); it must be an array of strings without NUL/CR/LF, and `launch_wrapper[0]` (when non-empty) must be an absolute path or a bare command name on the daemon `PATH`.
1367
+ 27. `launch_wrapper` is valid on `pi`, `codex`, `claude-code` and supported community-harness members (`[]` included); see the [runner contract](harness-runner-contract.md#2-declare-it-what-the-preset-says-fixed-at-launch) for community capability requirements. It must be an array of strings without NUL/CR/LF, and `launch_wrapper[0]` (when non-empty) must be an absolute path or a bare command name on the daemon `PATH`.
1362
1368
 
1363
1369
  ---
1364
1370
 
@@ -164,8 +164,8 @@ or removing its state when isolation or a deferred migration pins it. Ordinary
164
164
  an old advisory socket is not used to redirect it. Cleanup kills only registered
165
165
  session names on the selected server.
166
166
 
167
- Dedicated selection requires POSIX tmux. On Windows, psmux retains its existing
168
- server behavior; requesting `isolated` produces a status note and a pending choice.
167
+ Dedicated selection requires POSIX tmux. On native Windows (not a supported platform;
168
+ the [README](../../README.md) covers WSL2), psmux retains its existing server behavior; requesting `isolated` produces a status note and a pending choice.
169
169
 
170
170
  ## Two instances on one machine
171
171