@openrig/cli 0.7.13 → 0.7.15

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 (601) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig/.cursor-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig/README.md +2 -0
  6. package/daemon/assets/plugins/openrig/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig/skills/working-with-an-openrig-team/SKILL.md +7 -0
  8. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  9. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  10. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +4 -4
  11. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +13 -4
  12. package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/CHANGELOG.md +10 -0
  13. package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/SKILL.md +12 -13
  14. package/daemon/assets/skills/rigs/SKILL.md +5 -2
  15. package/daemon/context-packs/help/manifest.yaml +1 -1
  16. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +103 -23
  18. package/daemon/context-packs/reference/getting-started.md +21 -15
  19. package/daemon/context-packs/reference/manifest.yaml +1 -1
  20. package/daemon/context-packs/reference/rig-spec.md +4 -0
  21. package/daemon/context-packs/reference/tmux-servers.md +8 -2
  22. package/daemon/context-packs/reference/whats-new.md +298 -15
  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/SKILL.md +4 -4
  27. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +13 -4
  33. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/working-with-an-openrig-team/SKILL.md +7 -0
  47. package/daemon/context-packs/skills/core/working-with-an-openrig-team/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/CHANGELOG.md +10 -0
  55. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/SKILL.md +12 -13
  56. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +3 -3
  57. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  81. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  82. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  83. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  84. package/daemon/dist/adapters/claude-code-adapter.js +27 -4
  85. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  86. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +11 -2
  87. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  88. package/daemon/dist/adapters/codex-runtime-adapter.js +45 -12
  89. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  90. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +2 -0
  91. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  92. package/daemon/dist/adapters/community-harness-runtime-adapter.js +93 -36
  93. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  94. package/daemon/dist/adapters/pi-resume.d.ts +3 -0
  95. package/daemon/dist/adapters/pi-resume.d.ts.map +1 -1
  96. package/daemon/dist/adapters/pi-resume.js +99 -51
  97. package/daemon/dist/adapters/pi-resume.js.map +1 -1
  98. package/daemon/dist/adapters/pi-runner.d.ts +2 -1
  99. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  100. package/daemon/dist/adapters/pi-runner.js +15 -9
  101. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  102. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +4 -0
  103. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  104. package/daemon/dist/adapters/pi-runtime-adapter.js +133 -75
  105. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  106. package/daemon/dist/adapters/tmux-exec.d.ts +4 -4
  107. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  108. package/daemon/dist/adapters/tmux-exec.js +37 -8
  109. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  110. package/daemon/dist/adapters/tmux.d.ts +16 -0
  111. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  112. package/daemon/dist/adapters/tmux.js +49 -8
  113. package/daemon/dist/adapters/tmux.js.map +1 -1
  114. package/daemon/dist/attention-surface.d.ts +8 -0
  115. package/daemon/dist/attention-surface.d.ts.map +1 -1
  116. package/daemon/dist/attention-surface.js.map +1 -1
  117. package/daemon/dist/build-info.js +3 -3
  118. package/daemon/dist/daemon-shutdown.d.ts +3 -0
  119. package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
  120. package/daemon/dist/daemon-shutdown.js +6 -0
  121. package/daemon/dist/daemon-shutdown.js.map +1 -1
  122. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  123. package/daemon/dist/db/all-migrations.js +8 -0
  124. package/daemon/dist/db/all-migrations.js.map +1 -1
  125. package/daemon/dist/db/migrations/163_network_installations.d.ts +7 -0
  126. package/daemon/dist/db/migrations/163_network_installations.d.ts.map +1 -0
  127. package/daemon/dist/db/migrations/163_network_installations.js +23 -0
  128. package/daemon/dist/db/migrations/163_network_installations.js.map +1 -0
  129. package/daemon/dist/db/migrations/164_queue_items_reply_to_index.d.ts +5 -0
  130. package/daemon/dist/db/migrations/164_queue_items_reply_to_index.d.ts.map +1 -0
  131. package/daemon/dist/db/migrations/164_queue_items_reply_to_index.js +9 -0
  132. package/daemon/dist/db/migrations/164_queue_items_reply_to_index.js.map +1 -0
  133. package/daemon/dist/db/migrations/165_run_bound_activity_grants.d.ts +4 -0
  134. package/daemon/dist/db/migrations/165_run_bound_activity_grants.d.ts.map +1 -0
  135. package/daemon/dist/db/migrations/165_run_bound_activity_grants.js +14 -0
  136. package/daemon/dist/db/migrations/165_run_bound_activity_grants.js.map +1 -0
  137. package/daemon/dist/db/migrations/166_queue_list_read_indexes.d.ts +4 -0
  138. package/daemon/dist/db/migrations/166_queue_list_read_indexes.d.ts.map +1 -0
  139. package/daemon/dist/db/migrations/166_queue_list_read_indexes.js +17 -0
  140. package/daemon/dist/db/migrations/166_queue_list_read_indexes.js.map +1 -0
  141. package/daemon/dist/domain/activity-grants.d.ts +36 -3
  142. package/daemon/dist/domain/activity-grants.d.ts.map +1 -1
  143. package/daemon/dist/domain/activity-grants.js +188 -7
  144. package/daemon/dist/domain/activity-grants.js.map +1 -1
  145. package/daemon/dist/domain/applied-launch-observation-store.d.ts +2 -0
  146. package/daemon/dist/domain/applied-launch-observation-store.d.ts.map +1 -1
  147. package/daemon/dist/domain/applied-launch-observation-store.js +27 -16
  148. package/daemon/dist/domain/applied-launch-observation-store.js.map +1 -1
  149. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +5 -0
  150. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  151. package/daemon/dist/domain/claude-compaction-enforcer.js +14 -5
  152. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  153. package/daemon/dist/domain/codex-member-permissions.d.ts +2 -0
  154. package/daemon/dist/domain/codex-member-permissions.d.ts.map +1 -1
  155. package/daemon/dist/domain/codex-member-permissions.js +17 -9
  156. package/daemon/dist/domain/codex-member-permissions.js.map +1 -1
  157. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts +6 -1
  158. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -1
  159. package/daemon/dist/domain/codex-owned-plugin-trust.js +30 -9
  160. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -1
  161. package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
  162. package/daemon/dist/domain/context-monitor.js +8 -3
  163. package/daemon/dist/domain/context-monitor.js.map +1 -1
  164. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  165. package/daemon/dist/domain/draft-aware-delivery.js +2 -1
  166. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  167. package/daemon/dist/domain/execution-candidate-reader.d.ts +15 -5
  168. package/daemon/dist/domain/execution-candidate-reader.d.ts.map +1 -1
  169. package/daemon/dist/domain/execution-candidate-reader.js +36 -25
  170. package/daemon/dist/domain/execution-candidate-reader.js.map +1 -1
  171. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  172. package/daemon/dist/domain/execution-view.js +34 -11
  173. package/daemon/dist/domain/execution-view.js.map +1 -1
  174. package/daemon/dist/domain/gateway/destination-resolver.js +3 -3
  175. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  176. package/daemon/dist/domain/gateway/slack/config.d.ts +2 -0
  177. package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -1
  178. package/daemon/dist/domain/gateway/slack/config.js +4 -0
  179. package/daemon/dist/domain/gateway/slack/config.js.map +1 -1
  180. package/daemon/dist/domain/gateway/slack/inbound.d.ts +11 -0
  181. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  182. package/daemon/dist/domain/gateway/slack/inbound.js +3 -0
  183. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  184. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +2 -0
  185. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  186. package/daemon/dist/domain/gateway/slack/slack-api.js +4 -0
  187. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  188. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +2 -0
  189. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  190. package/daemon/dist/domain/gateway/slack/slack-delivery.js +2 -1
  191. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  192. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  193. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +36 -2
  194. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  195. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts +5 -0
  196. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
  197. package/daemon/dist/domain/gateway/slack/thread-routing.js +1 -1
  198. package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
  199. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -1
  200. package/daemon/dist/domain/health-passive-ceremony.js +13 -7
  201. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -1
  202. package/daemon/dist/domain/hosts/pairing-ask.d.ts +8 -0
  203. package/daemon/dist/domain/hosts/pairing-ask.d.ts.map +1 -1
  204. package/daemon/dist/domain/hosts/pairing-ask.js +20 -0
  205. package/daemon/dist/domain/hosts/pairing-ask.js.map +1 -1
  206. package/daemon/dist/domain/input-read-diagnostic.d.ts +30 -0
  207. package/daemon/dist/domain/input-read-diagnostic.d.ts.map +1 -0
  208. package/daemon/dist/domain/input-read-diagnostic.js +32 -0
  209. package/daemon/dist/domain/input-read-diagnostic.js.map +1 -0
  210. package/daemon/dist/domain/native-model-picker.d.ts +8 -0
  211. package/daemon/dist/domain/native-model-picker.d.ts.map +1 -0
  212. package/daemon/dist/domain/native-model-picker.js +35 -0
  213. package/daemon/dist/domain/native-model-picker.js.map +1 -0
  214. package/daemon/dist/domain/native-permission-store.d.ts +40 -0
  215. package/daemon/dist/domain/native-permission-store.d.ts.map +1 -1
  216. package/daemon/dist/domain/native-permission-store.js +108 -29
  217. package/daemon/dist/domain/native-permission-store.js.map +1 -1
  218. package/daemon/dist/domain/native-process-lineage.d.ts +6 -0
  219. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  220. package/daemon/dist/domain/native-process-lineage.js +34 -29
  221. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  222. package/daemon/dist/domain/native-resume-probe.d.ts +39 -1
  223. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  224. package/daemon/dist/domain/native-resume-probe.js +251 -6
  225. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  226. package/daemon/dist/domain/network/network-bindings.d.ts +32 -2
  227. package/daemon/dist/domain/network/network-bindings.d.ts.map +1 -1
  228. package/daemon/dist/domain/network/network-bindings.js +65 -28
  229. package/daemon/dist/domain/network/network-bindings.js.map +1 -1
  230. package/daemon/dist/domain/network/network-installations.d.ts +97 -0
  231. package/daemon/dist/domain/network/network-installations.d.ts.map +1 -0
  232. package/daemon/dist/domain/network/network-installations.js +371 -0
  233. package/daemon/dist/domain/network/network-installations.js.map +1 -0
  234. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  235. package/daemon/dist/domain/node-inventory.js +214 -30
  236. package/daemon/dist/domain/node-inventory.js.map +1 -1
  237. package/daemon/dist/domain/operation-correlation.d.ts +1 -1
  238. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -1
  239. package/daemon/dist/domain/operation-correlation.js +1 -1
  240. package/daemon/dist/domain/operation-correlation.js.map +1 -1
  241. package/daemon/dist/domain/permission-drift.d.ts +2 -1
  242. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  243. package/daemon/dist/domain/permission-drift.js.map +1 -1
  244. package/daemon/dist/domain/permission-policy/persisted-restore-posture.d.ts +62 -0
  245. package/daemon/dist/domain/permission-policy/persisted-restore-posture.d.ts.map +1 -0
  246. package/daemon/dist/domain/permission-policy/persisted-restore-posture.js +117 -0
  247. package/daemon/dist/domain/permission-policy/persisted-restore-posture.js.map +1 -0
  248. package/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -1
  249. package/daemon/dist/domain/policies/context-usage-threshold.js +5 -1
  250. package/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -1
  251. package/daemon/dist/domain/policies/types.d.ts +2 -0
  252. package/daemon/dist/domain/policies/types.d.ts.map +1 -1
  253. package/daemon/dist/domain/process-observation-pass.d.ts +20 -0
  254. package/daemon/dist/domain/process-observation-pass.d.ts.map +1 -0
  255. package/daemon/dist/domain/process-observation-pass.js +80 -0
  256. package/daemon/dist/domain/process-observation-pass.js.map +1 -0
  257. package/daemon/dist/domain/queue-erasure.d.ts +10 -6
  258. package/daemon/dist/domain/queue-erasure.d.ts.map +1 -1
  259. package/daemon/dist/domain/queue-erasure.js +31 -18
  260. package/daemon/dist/domain/queue-erasure.js.map +1 -1
  261. package/daemon/dist/domain/queue-recovery.d.ts +10 -1
  262. package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
  263. package/daemon/dist/domain/queue-recovery.js +25 -3
  264. package/daemon/dist/domain/queue-recovery.js.map +1 -1
  265. package/daemon/dist/domain/queue-repository.d.ts +32 -3
  266. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  267. package/daemon/dist/domain/queue-repository.js +101 -10
  268. package/daemon/dist/domain/queue-repository.js.map +1 -1
  269. package/daemon/dist/domain/queue-retention.d.ts +1 -1
  270. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  271. package/daemon/dist/domain/queue-retention.js +1 -0
  272. package/daemon/dist/domain/queue-retention.js.map +1 -1
  273. package/daemon/dist/domain/queue-stuck-sweep.d.ts +5 -0
  274. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  275. package/daemon/dist/domain/queue-stuck-sweep.js +335 -50
  276. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  277. package/daemon/dist/domain/queue-wake-ladder.d.ts +12 -0
  278. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  279. package/daemon/dist/domain/queue-wake-ladder.js +27 -7
  280. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  281. package/daemon/dist/domain/receiver-context.d.ts.map +1 -1
  282. package/daemon/dist/domain/receiver-context.js +3 -2
  283. package/daemon/dist/domain/receiver-context.js.map +1 -1
  284. package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
  285. package/daemon/dist/domain/rehydrate-eligibility.js +3 -2
  286. package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
  287. package/daemon/dist/domain/reply-to-choice.d.ts +10 -0
  288. package/daemon/dist/domain/reply-to-choice.d.ts.map +1 -1
  289. package/daemon/dist/domain/reply-to-choice.js +23 -0
  290. package/daemon/dist/domain/reply-to-choice.js.map +1 -1
  291. package/daemon/dist/domain/restore-check-service.d.ts +5 -0
  292. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  293. package/daemon/dist/domain/restore-check-service.js +31 -6
  294. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  295. package/daemon/dist/domain/restore-guidance.d.ts +3 -0
  296. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  297. package/daemon/dist/domain/restore-guidance.js +5 -0
  298. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  299. package/daemon/dist/domain/restore-orchestrator.d.ts +7 -1
  300. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  301. package/daemon/dist/domain/restore-orchestrator.js +116 -84
  302. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  303. package/daemon/dist/domain/restore-preconditions.d.ts +2 -0
  304. package/daemon/dist/domain/restore-preconditions.d.ts.map +1 -1
  305. package/daemon/dist/domain/restore-preconditions.js +8 -1
  306. package/daemon/dist/domain/restore-preconditions.js.map +1 -1
  307. package/daemon/dist/domain/resume-metadata-refresher.d.ts +4 -0
  308. package/daemon/dist/domain/resume-metadata-refresher.d.ts.map +1 -1
  309. package/daemon/dist/domain/resume-metadata-refresher.js +7 -2
  310. package/daemon/dist/domain/resume-metadata-refresher.js.map +1 -1
  311. package/daemon/dist/domain/rigspec-instantiator.d.ts +1 -0
  312. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  313. package/daemon/dist/domain/rigspec-instantiator.js +3 -2
  314. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  315. package/daemon/dist/domain/rosters.d.ts +2 -1
  316. package/daemon/dist/domain/rosters.d.ts.map +1 -1
  317. package/daemon/dist/domain/rosters.js.map +1 -1
  318. package/daemon/dist/domain/runner-grant-launch.d.ts +16 -0
  319. package/daemon/dist/domain/runner-grant-launch.d.ts.map +1 -0
  320. package/daemon/dist/domain/runner-grant-launch.js +86 -0
  321. package/daemon/dist/domain/runner-grant-launch.js.map +1 -0
  322. package/daemon/dist/domain/runtime-adapter.d.ts +11 -0
  323. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  324. package/daemon/dist/domain/runtime-adapter.js +2 -0
  325. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  326. package/daemon/dist/domain/seat-delivery-guard.d.ts +16 -2
  327. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  328. package/daemon/dist/domain/seat-delivery-guard.js +61 -6
  329. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  330. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  331. package/daemon/dist/domain/seat-handover-service.js +33 -9
  332. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  333. package/daemon/dist/domain/seat-identity-reconciler.d.ts +3 -0
  334. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  335. package/daemon/dist/domain/seat-identity-reconciler.js +34 -2
  336. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  337. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  338. package/daemon/dist/domain/seat-lifecycle-service.js +5 -1
  339. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  340. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  341. package/daemon/dist/domain/seat-runtime-switch-service.js +15 -0
  342. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  343. package/daemon/dist/domain/session-registry.d.ts +2 -0
  344. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  345. package/daemon/dist/domain/session-registry.js +16 -0
  346. package/daemon/dist/domain/session-registry.js.map +1 -1
  347. package/daemon/dist/domain/session-transport.d.ts +2 -0
  348. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  349. package/daemon/dist/domain/session-transport.js +38 -7
  350. package/daemon/dist/domain/session-transport.js.map +1 -1
  351. package/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
  352. package/daemon/dist/domain/skill-discovery.js +2 -1
  353. package/daemon/dist/domain/skill-discovery.js.map +1 -1
  354. package/daemon/dist/domain/slow-op-recorder.d.ts +3 -0
  355. package/daemon/dist/domain/slow-op-recorder.d.ts.map +1 -1
  356. package/daemon/dist/domain/slow-op-recorder.js +5 -0
  357. package/daemon/dist/domain/slow-op-recorder.js.map +1 -1
  358. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  359. package/daemon/dist/domain/startup-orchestrator.js +17 -3
  360. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  361. package/daemon/dist/domain/successor-session-launcher.d.ts +3 -1
  362. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  363. package/daemon/dist/domain/successor-session-launcher.js +12 -2
  364. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  365. package/daemon/dist/domain/sync-site-wrap.d.ts +13 -1
  366. package/daemon/dist/domain/sync-site-wrap.d.ts.map +1 -1
  367. package/daemon/dist/domain/sync-site-wrap.js +38 -0
  368. package/daemon/dist/domain/sync-site-wrap.js.map +1 -1
  369. package/daemon/dist/domain/team-operations.d.ts +20 -0
  370. package/daemon/dist/domain/team-operations.d.ts.map +1 -0
  371. package/daemon/dist/domain/team-operations.js +23 -0
  372. package/daemon/dist/domain/team-operations.js.map +1 -0
  373. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +12 -2
  374. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  375. package/daemon/dist/domain/terminal/herdr-adapter.js +52 -2
  376. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  377. package/daemon/dist/domain/terminal/herdr-live-workspace.d.ts +42 -0
  378. package/daemon/dist/domain/terminal/herdr-live-workspace.d.ts.map +1 -0
  379. package/daemon/dist/domain/terminal/herdr-live-workspace.js +118 -0
  380. package/daemon/dist/domain/terminal/herdr-live-workspace.js.map +1 -0
  381. package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
  382. package/daemon/dist/domain/terminal/herdr-sessions.js +3 -0
  383. package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
  384. package/daemon/dist/domain/terminal/rex-adapter.d.ts +3 -0
  385. package/daemon/dist/domain/terminal/rex-adapter.d.ts.map +1 -1
  386. package/daemon/dist/domain/terminal/rex-adapter.js +10 -1
  387. package/daemon/dist/domain/terminal/rex-adapter.js.map +1 -1
  388. package/daemon/dist/domain/terminal/rex-agent-status.d.ts +76 -0
  389. package/daemon/dist/domain/terminal/rex-agent-status.d.ts.map +1 -0
  390. package/daemon/dist/domain/terminal/rex-agent-status.js +168 -0
  391. package/daemon/dist/domain/terminal/rex-agent-status.js.map +1 -0
  392. package/daemon/dist/domain/terminal/terminal-provider.d.ts +12 -1
  393. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  394. package/daemon/dist/domain/terminal/terminal-service.d.ts +5 -1
  395. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  396. package/daemon/dist/domain/terminal/terminal-service.js +20 -14
  397. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  398. package/daemon/dist/domain/types.d.ts +12 -0
  399. package/daemon/dist/domain/types.d.ts.map +1 -1
  400. package/daemon/dist/domain/types.js.map +1 -1
  401. package/daemon/dist/domain/user-settings/settings-browser.d.ts +8 -2
  402. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -1
  403. package/daemon/dist/domain/user-settings/settings-browser.js +5 -2
  404. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  405. package/daemon/dist/domain/user-settings/settings-store.d.ts +15 -1
  406. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  407. package/daemon/dist/domain/user-settings/settings-store.js +108 -44
  408. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  409. package/daemon/dist/domain/watchdog-policy-engine.d.ts +5 -0
  410. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  411. package/daemon/dist/domain/watchdog-policy-engine.js +4 -0
  412. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  413. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  414. package/daemon/dist/domain/workflow-exception-escalation.js +4 -2
  415. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  416. package/daemon/dist/domain/workflow-runtime.d.ts +1 -1
  417. package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  418. package/daemon/dist/domain/workflow-validator.js +16 -0
  419. package/daemon/dist/domain/workflow-validator.js.map +1 -1
  420. package/daemon/dist/herdr-live-workspace-surface.d.ts +2 -0
  421. package/daemon/dist/herdr-live-workspace-surface.d.ts.map +1 -0
  422. package/daemon/dist/herdr-live-workspace-surface.js +2 -0
  423. package/daemon/dist/herdr-live-workspace-surface.js.map +1 -0
  424. package/daemon/dist/index.d.ts.map +1 -1
  425. package/daemon/dist/index.js +1 -0
  426. package/daemon/dist/index.js.map +1 -1
  427. package/daemon/dist/routes/activity.d.ts.map +1 -1
  428. package/daemon/dist/routes/activity.js +34 -2
  429. package/daemon/dist/routes/activity.js.map +1 -1
  430. package/daemon/dist/routes/attention.d.ts.map +1 -1
  431. package/daemon/dist/routes/attention.js +5 -1
  432. package/daemon/dist/routes/attention.js.map +1 -1
  433. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  434. package/daemon/dist/routes/hosts.js +23 -14
  435. package/daemon/dist/routes/hosts.js.map +1 -1
  436. package/daemon/dist/routes/network.d.ts +7 -3
  437. package/daemon/dist/routes/network.d.ts.map +1 -1
  438. package/daemon/dist/routes/network.js +52 -17
  439. package/daemon/dist/routes/network.js.map +1 -1
  440. package/daemon/dist/routes/queue.d.ts.map +1 -1
  441. package/daemon/dist/routes/queue.js +9 -0
  442. package/daemon/dist/routes/queue.js.map +1 -1
  443. package/daemon/dist/routes/rigspec.js +13 -4
  444. package/daemon/dist/routes/rigspec.js.map +1 -1
  445. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  446. package/daemon/dist/routes/sessions.js +27 -5
  447. package/daemon/dist/routes/sessions.js.map +1 -1
  448. package/daemon/dist/routes/terminal.js +1 -1
  449. package/daemon/dist/routes/terminal.js.map +1 -1
  450. package/daemon/dist/server.d.ts +1 -0
  451. package/daemon/dist/server.d.ts.map +1 -1
  452. package/daemon/dist/server.js +2 -0
  453. package/daemon/dist/server.js.map +1 -1
  454. package/daemon/dist/startup.d.ts.map +1 -1
  455. package/daemon/dist/startup.js +46 -14
  456. package/daemon/dist/startup.js.map +1 -1
  457. package/daemon/dist/tmux-server-start-surface.d.ts +2 -0
  458. package/daemon/dist/tmux-server-start-surface.d.ts.map +1 -0
  459. package/daemon/dist/tmux-server-start-surface.js +2 -0
  460. package/daemon/dist/tmux-server-start-surface.js.map +1 -0
  461. package/daemon/dist/tmux-server-start.d.ts +13 -0
  462. package/daemon/dist/tmux-server-start.d.ts.map +1 -0
  463. package/daemon/dist/tmux-server-start.js +36 -0
  464. package/daemon/dist/tmux-server-start.js.map +1 -0
  465. package/daemon/docs/reference/agent-startup-guide.md +34 -7
  466. package/daemon/docs/reference/agent-state-taxonomy.md +2 -1
  467. package/daemon/docs/reference/bundle-formats.md +6 -4
  468. package/daemon/docs/reference/daemon-http-clients.md +44 -1
  469. package/daemon/docs/reference/getting-started.md +21 -15
  470. package/daemon/docs/reference/harness-runner-contract.md +27 -1
  471. package/daemon/docs/reference/health-diagnosis.md +5 -3
  472. package/daemon/docs/reference/hosted-members.md +29 -3
  473. package/daemon/docs/reference/keeping-a-watch.md +14 -9
  474. package/daemon/docs/reference/network-connector.md +76 -5
  475. package/daemon/docs/reference/operation-correlation.md +18 -2
  476. package/daemon/docs/reference/queue-erasure.md +7 -5
  477. package/daemon/docs/reference/quickstart.md +2 -2
  478. package/daemon/docs/reference/rig-spec.md +4 -0
  479. package/daemon/docs/reference/seat-delivery.md +16 -1
  480. package/daemon/docs/reference/slack-app-setup.md +4 -0
  481. package/daemon/docs/reference/terminal-sessions.md +12 -0
  482. package/daemon/docs/reference/tmux-servers.md +8 -2
  483. package/daemon/docs/reference/whats-new.md +298 -15
  484. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +13 -4
  485. package/daemon/specs/agents/shared/skills/core/working-with-an-openrig-team/SKILL.md +7 -0
  486. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +27 -11
  487. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +11 -3
  488. package/dist/build-info.js +3 -3
  489. package/dist/commands/broadcast.js +7 -3
  490. package/dist/commands/broadcast.js.map +1 -1
  491. package/dist/commands/chatroom.d.ts.map +1 -1
  492. package/dist/commands/chatroom.js +8 -3
  493. package/dist/commands/chatroom.js.map +1 -1
  494. package/dist/commands/config.d.ts.map +1 -1
  495. package/dist/commands/config.js +50 -10
  496. package/dist/commands/config.js.map +1 -1
  497. package/dist/commands/daemon.d.ts +0 -4
  498. package/dist/commands/daemon.d.ts.map +1 -1
  499. package/dist/commands/daemon.js +1 -19
  500. package/dist/commands/daemon.js.map +1 -1
  501. package/dist/commands/doctor.js +1 -1
  502. package/dist/commands/doctor.js.map +1 -1
  503. package/dist/commands/down.d.ts.map +1 -1
  504. package/dist/commands/down.js +3 -1
  505. package/dist/commands/down.js.map +1 -1
  506. package/dist/commands/gateway.d.ts.map +1 -1
  507. package/dist/commands/gateway.js +5 -0
  508. package/dist/commands/gateway.js.map +1 -1
  509. package/dist/commands/host.js +2 -2
  510. package/dist/commands/host.js.map +1 -1
  511. package/dist/commands/import.d.ts.map +1 -1
  512. package/dist/commands/import.js +96 -3
  513. package/dist/commands/import.js.map +1 -1
  514. package/dist/commands/network.d.ts.map +1 -1
  515. package/dist/commands/network.js +72 -17
  516. package/dist/commands/network.js.map +1 -1
  517. package/dist/commands/ps.d.ts +1 -0
  518. package/dist/commands/ps.d.ts.map +1 -1
  519. package/dist/commands/ps.js +46 -1
  520. package/dist/commands/ps.js.map +1 -1
  521. package/dist/commands/queue.d.ts.map +1 -1
  522. package/dist/commands/queue.js +61 -3
  523. package/dist/commands/queue.js.map +1 -1
  524. package/dist/commands/roster.d.ts +2 -4
  525. package/dist/commands/roster.d.ts.map +1 -1
  526. package/dist/commands/roster.js +3 -12
  527. package/dist/commands/roster.js.map +1 -1
  528. package/dist/commands/seat.js +2 -2
  529. package/dist/commands/seat.js.map +1 -1
  530. package/dist/commands/send.d.ts +4 -0
  531. package/dist/commands/send.d.ts.map +1 -1
  532. package/dist/commands/send.js +6 -1
  533. package/dist/commands/send.js.map +1 -1
  534. package/dist/commands/setup.js +1 -1
  535. package/dist/commands/setup.js.map +1 -1
  536. package/dist/commands/slack.d.ts.map +1 -1
  537. package/dist/commands/slack.js +2 -0
  538. package/dist/commands/slack.js.map +1 -1
  539. package/dist/commands/terminal.d.ts.map +1 -1
  540. package/dist/commands/terminal.js +9 -7
  541. package/dist/commands/terminal.js.map +1 -1
  542. package/dist/config-store.d.ts +14 -1
  543. package/dist/config-store.d.ts.map +1 -1
  544. package/dist/config-store.js +34 -5
  545. package/dist/config-store.js.map +1 -1
  546. package/dist/daemon-lifecycle.d.ts.map +1 -1
  547. package/dist/daemon-lifecycle.js +10 -5
  548. package/dist/daemon-lifecycle.js.map +1 -1
  549. package/dist/lib/check-in.d.ts +7 -0
  550. package/dist/lib/check-in.d.ts.map +1 -0
  551. package/dist/lib/check-in.js +13 -0
  552. package/dist/lib/check-in.js.map +1 -0
  553. package/dist/lib/work-install.d.ts.map +1 -1
  554. package/dist/lib/work-install.js +7 -3
  555. package/dist/lib/work-install.js.map +1 -1
  556. package/dist/mcp-http.d.ts.map +1 -1
  557. package/dist/mcp-http.js +25 -2
  558. package/dist/mcp-http.js.map +1 -1
  559. package/dist/mcp-server.d.ts +12 -1
  560. package/dist/mcp-server.d.ts.map +1 -1
  561. package/dist/mcp-server.js +211 -69
  562. package/dist/mcp-server.js.map +1 -1
  563. package/dist/person-registration-offer.d.ts +10 -0
  564. package/dist/person-registration-offer.d.ts.map +1 -0
  565. package/dist/person-registration-offer.js +25 -0
  566. package/dist/person-registration-offer.js.map +1 -0
  567. package/dist/terminal-window.d.ts.map +1 -1
  568. package/dist/terminal-window.js +20 -102
  569. package/dist/terminal-window.js.map +1 -1
  570. package/dist/tmux-attachment.d.ts.map +1 -1
  571. package/dist/tmux-attachment.js +3 -1
  572. package/dist/tmux-attachment.js.map +1 -1
  573. package/package.json +1 -1
  574. package/tui/dist/config/pairing.d.ts.map +1 -1
  575. package/tui/dist/config/pairing.js +8 -3
  576. package/tui/dist/config/pairing.js.map +1 -1
  577. package/tui/dist/connected-assistants.d.ts +20 -0
  578. package/tui/dist/connected-assistants.d.ts.map +1 -0
  579. package/tui/dist/connected-assistants.js +51 -0
  580. package/tui/dist/connected-assistants.js.map +1 -0
  581. package/tui/dist/daemon-client.d.ts +8 -0
  582. package/tui/dist/daemon-client.d.ts.map +1 -1
  583. package/tui/dist/daemon-client.js +8 -0
  584. package/tui/dist/daemon-client.js.map +1 -1
  585. package/tui/dist/hydrate.d.ts.map +1 -1
  586. package/tui/dist/hydrate.js +13 -2
  587. package/tui/dist/hydrate.js.map +1 -1
  588. package/tui/dist/main.js +4 -3
  589. package/tui/dist/main.js.map +1 -1
  590. package/tui/dist/render.d.ts.map +1 -1
  591. package/tui/dist/render.js +8 -1
  592. package/tui/dist/render.js.map +1 -1
  593. package/tui/dist/topology/glyphs.d.ts.map +1 -1
  594. package/tui/dist/topology/glyphs.js +4 -0
  595. package/tui/dist/topology/glyphs.js.map +1 -1
  596. package/tui/dist/types.d.ts +11 -0
  597. package/tui/dist/types.d.ts.map +1 -1
  598. package/ui/dist/assets/index-BX8TUZ0E.css +32 -0
  599. package/ui/dist/assets/{index-BOYrLyfQ.js → index-BvUEh33d.js} +1 -1
  600. package/ui/dist/index.html +2 -2
  601. package/ui/dist/assets/index-DqSRu4OY.css +0 -32
@@ -1,9 +1,25 @@
1
1
  # HTTP operation correlation
2
2
 
3
- `GET /api/operations/capabilities` advertises `operation-correlation.v1` and the supported kinds: `rig.create`, `rig.import`, and `member.add`. A client should check this marker before relying on correlation; an older daemon may ignore an unfamiliar request header.
3
+ `GET /api/operations/capabilities` advertises `operation-correlation.v1` and the supported kinds: `rig.create`, `rig.import`, `rig.materialize`, and `member.add`. A client should check the required kind before relying on correlation; an older daemon may ignore an unfamiliar request header.
4
4
 
5
- For `POST /api/rigs`, `POST /api/rigs/import`, and `POST /api/rigs/:rigId/pods/:podNamespace/members`, send a UUID in `X-OpenRig-Operation-Id`. Keep the same daemon, route targets, original request text, and behavior-changing headers for a retry. IDs are case-normalized. An ID that isn't an RFC UUID receives HTTP 400 `Invalid X-OpenRig-Operation-Id` before the route does anything else. Once a request passes the route's own validation, a different request using the same ID receives HTTP 409 `operation_id_conflict`. Matching compares the exact request text, so a change in whitespace or key order is a different request, not an equivalent one; an exact replay receives HTTP 200 with `replayed: true` and current database state. A first request retains its usual status and response fields and adds `operation`.
5
+ For `POST /api/rigs`, `POST /api/rigs/import`, `POST /api/rigs/import/materialize`, and `POST /api/rigs/:rigId/pods/:podNamespace/members`, send a UUID in `X-OpenRig-Operation-Id`. Keep the same daemon, route targets, original request text, and behavior-changing headers for a retry. Materialization binds the target rig (when expanding), source root and cwd override as well as the spec text; it is distinct from launching import. IDs are case-normalized. An ID that isn't an RFC UUID receives HTTP 400 `Invalid X-OpenRig-Operation-Id` before the route does anything else. Once a request passes the route's own validation, a different request using the same ID receives HTTP 409 `operation_id_conflict`. Matching compares the exact request text, so a change in whitespace or key order is a different request, not an equivalent one; an exact replay receives HTTP 200 with `replayed: true` and current database state. A first request retains its usual status and response fields and adds `operation`.
6
6
 
7
7
  The operation contains the rig and node IDs committed by that request. Its `current` field reads the database at response time, including whether recorded resources still exist and the latest recorded session for each node. It does not inspect tmux or prove a launch finished. A reservation with no IDs can mean that execution is still underway or that it failed before creating resources. Replaying an exact request that failed before creating resources returns HTTP 200 with `operation.rigId: null` and `operation.nodeIds: []`; inspect those fields to distinguish it from a replay that recorded resources. Replays never execute the mutation again, retry a launch, or recreate deleted resources. Use a new UUID only when deliberately starting a new execution.
8
8
 
9
9
  This contract stores neither the original response nor a recovery verdict. An HTTP response can be lost after a database commit. External launch effects are outside the database transaction, so the contract is correlation rather than exactly-once execution of external effects.
10
+
11
+ ## CLI no-launch preparation
12
+
13
+ `rig import ./team.yaml --materialize-only --operation-id <uuid> --json` prepares topology without starting sessions.
14
+ Save the UUID before running the command and reuse the exact command after a lost response. The CLI checks that the
15
+ daemon advertises `rig.materialize` before writing; a daemon without that capability refuses the explicit retry request.
16
+ `--operation-id` and `--json` apply only to `--materialize-only`, without other import modes. Omitting the operation id
17
+ keeps ordinary materialization behavior; it does not make repeated imports idempotent.
18
+
19
+ JSON output is the native receipt. Both initial and replay receipts carry the same committed ids in
20
+ `operation.rigId` and `operation.nodeIds`. Replays report current database state, not a cached first result. An empty
21
+ receipt leaves the CLI nonzero: it cannot confirm preparation while the original execution is still running or failed
22
+ before creating resources. Text-mode replays still print recorded rig and node IDs when resources are archived or
23
+ missing, with a warning and a nonzero exit status. JSON mode retains the native receipt and the same nonzero status.
24
+ The receipt's ids do not authorize launching anything; use the normal owner-authorized
25
+ [first start of a materialized seat](rig-spec.md#starting-one-materialized-seat) afterward.
@@ -24,7 +24,7 @@ A queue row is erased in one of two ways:
24
24
  - events whose payload names it;
25
25
  - its mission-control audit rows.
26
26
 
27
- **Copies held with someone else go only when they're the owner's.** These are outbox and inbox entries that point at the row or wake for it, and stream reader actions and dispositions that name it (including `duplicate_of`). For account deletion, the owner is the account: both of a copy's sessions must be members. Otherwise the owner is the row's own source and destination. Any other copy is kept and listed under `keptCopies`:
27
+ **Copies held with someone else go only when they're the owner's.** These are outbox and inbox entries that point at the row or wake for it, and stream reader actions and dispositions that name it (including `duplicate_of`). For account deletion, the owner is the account: both of a copy's sessions must be members. Otherwise the owner is the row's own source and destination. OpenRig's own sessions (`daemon@kernel`, and any session starting `system:`), which send its wakes and notices, aren't counted when a copy has another session, so OpenRig's wake to the owner is the owner's. Any other copy is kept and listed under `keptCopies`:
28
28
  - `mixed`: one of its sessions is the owner's;
29
29
  - `foreign`: none of them are.
30
30
 
@@ -36,7 +36,7 @@ Name exactly one.
36
36
 
37
37
  | Scope | Erases | Action |
38
38
  |---|---|---|
39
- | `--members <file>` | Account deletion. Every row whose source and destination are both in the file, in any state, open work included. Add `--rig <id>` for the account rig's own records | delete |
39
+ | `--members <file>` | Account deletion. Every row whose source and destination are both in the file, or one in the file and the other OpenRig's own session, in any state, open work included. Add `--rig <id>` for the account rig's own records | delete |
40
40
  | `--ids <file>` | Exactly the listed rows. A report's `qitems` entries, or a ledger's lines, keep each entry's own action. A ledger's entries are replayed only for the batches that committed (below) | `--action delete` (default for plain ids) or `--action scrub` |
41
41
  | `--routine` | Closed rows past this daemon's retention windows (below) | scrub, then delete |
42
42
 
@@ -44,8 +44,10 @@ A file is one entry per line (blank lines and `#` comments are skipped; a line s
44
44
 
45
45
  **Account deletion is exact.**
46
46
  - The members file is the account's recorded membership: the exact session names of its seats, including departed ones. List every address form the account used, such as a host-suffixed form. Names are compared as given, never by pattern, so a row addressed through an unlisted form is neither erased nor reported.
47
- - **Mixed rows:** a row with exactly one member endpoint is reported under `mixed` (with which endpoint is the member) and left untouched. Deciding who owns it is a separate decision. A row rerouted out of the account while the run is under way (by a fallback, say) is kept too, and reported as `changed-during-run`.
48
- - **After the rows:** account deletion also removes outbox and inbox entries between two members that no row owns, and the members' stream items. An entry with one member endpoint, or a stream item something still references, is counted and left.
47
+ - **OpenRig's own sessions:** `daemon@kernel` and any `system:` session send OpenRig's own wakes and notices, such as the wake for a sweep finding, a wake escalation or a health finding. They belong to no account, so a row or entry between one of them and a member is the member's and is erased. One with no member endpoint, such as an OpenRig wake to another account's seat or an entry between two of OpenRig's own sessions, is never touched.
48
+ - **Mixed rows:** a row with one member endpoint and the other outside the account is reported under `mixed` (with which endpoint is the member) and left untouched. Deciding who owns it is a separate decision. A row rerouted out of the account while the run is under way (by a fallback, say) is kept too, and reported as `changed-during-run`.
49
+ - **After the rows:** account deletion also removes outbox and inbox entries that no row owns between two members, or between a member and OpenRig's own session, and the members' stream items. An entry with one member endpoint and the other outside the account, or a stream item something still references, is counted and left.
50
+ - **Runs on earlier versions** kept OpenRig's wake for a row they erased (as a mixed copy, then a mixed entry) and reported OpenRig's rows to a member as mixed. Rerunning the same command removes them.
49
51
 
50
52
  **The account's rig.** A rig's own records outlive the rig. Events are kept past rig and node deletion by design, and snapshots, node and seat records and watchdog jobs have no key that cascades. `--rig <id>`, given with `--members`, erases them:
51
53
  - the rig's events, including those of its nodes;
@@ -94,7 +96,7 @@ The command prints one JSON report (`--json` makes it a single line):
94
96
  | `clean` | `complete`, and nothing was left: no `mixed` rows, mixed `keptCopies`, `gaps`, `unreadableEvents`, left-over entries, or rig records left or unknown. Only a clean report means the scope is fully erased. It's about this run's scope: a routine or members run's `clean` isn't affected by the ledger's other batches, and only a replay (`--ids` with a ledger) reports a batch it can't show committed, as the gap `ledger-unresolved` |
95
97
  | `error` | why the run stopped (`stage` and `message`). Everything listed in `qitems` was committed before it; the command exits 2 |
96
98
  | `qitems` | each row erased (or that would be), with its `action` and `state` |
97
- | `mixed` | members scope: rows with one member endpoint, left untouched |
99
+ | `mixed` | members scope: rows with one member endpoint and the other outside the account, left untouched |
98
100
  | `keptCopies` | copies of erased rows held with someone else, kept: `table`, `id`, `qitemId`, `ownership` (`mixed` or `foreign`) |
99
101
  | `gaps` | rows not erased and why: `workflow-reference`; `not-found` for an id to scrub that doesn't exist; `changed-during-run` for a row that no longer qualified when its batch ran (reopened, rerouted out of the account, or written to so it left its window) or an absent id created since selection; `unreadable-event` for a row an unreadable event names; `ledger-unresolved` for a replayed entry whose batch can't be shown to have committed |
100
102
  | `skipped` | ids scope, a ledger replay: entries whose batch rolled back, with the batch id; not replayed |
@@ -12,9 +12,9 @@ In your project folder, add OpenRig's `rigs` skill to the agent you use:
12
12
 
13
13
  ```sh
14
14
  # Claude Code
15
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs --skill rigs --agent claude-code
15
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent claude-code
16
16
  # Codex
17
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.13/skills/rigs --skill rigs --agent codex
17
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.15/skills/rigs --skill rigs --agent codex
18
18
  ```
19
19
 
20
20
  These use this release's tag, for a new install. If OpenRig is already installed, replace the tag after `tree/` with
@@ -193,6 +193,10 @@ edges:
193
193
  ### Starting one materialized seat
194
194
 
195
195
  `rig import ./team.yaml --materialize-only` records the team without starting its harnesses.
196
+ For an automated preparation that may retry, save a UUID first and pass
197
+ `--operation-id <uuid> --json`; keep that same UUID, spec text, source root and other options on a retry.
198
+ Both receipts identify the original rig and nodes through `operation`; see
199
+ [HTTP operation correlation](operation-correlation.md#cli-no-launch-preparation) for capability checks and incomplete receipts.
196
200
  For a seat that has never started, use its positional logical ID:
197
201
 
198
202
  ```bash
@@ -209,7 +209,10 @@ and effective modes and retains the text `Typing guard: on (hold)` for hold.
209
209
 
210
210
  A held send immediately returns `outcome: "retained"`, `sent: false`, its exact
211
211
  reason and the saved attempt's `outboxIds`. No automatic
212
- retry is scheduled. The reasons are:
212
+ retry is scheduled. `rig send` to several seats and `rig broadcast` print a held
213
+ recipient as `retained, not delivered; inspect with rig seat held-messages`, never
214
+ as sent, and their summary adds the held count (`1/3 delivered, 1 held`). A held
215
+ recipient alone doesn't make the command fail. The reasons are:
213
216
 
214
217
  - `typing_guard_enabled`: the seat's mode holds this send (`hold`, or a level that
215
218
  holds this kind of message).
@@ -226,6 +229,18 @@ retry is scheduled. The reasons are:
226
229
  one with a reused `deliveryId`; the result warns older callers that this field no
227
230
  longer deduplicates input. The CLI does not generate a deduplication key.
228
231
 
232
+ The last recorded managed-compaction input refusal appears as `inputReadFailure` in the attempt
233
+ record and `rig compact --state`: the preparation or compact stage, `composer`
234
+ (the explicit composer hold) or `draft-aware` check, reader status, confidence,
235
+ a fixed read-failure reason and cursor flags. An owed restore step reports it in
236
+ `owedRestore.lastDelivery`. These fields contain no input text, suggestions,
237
+ terminal frames or exception messages. Confidence and timeout fields are `null`
238
+ when that reader does not supply them; a known composer read timeout reports
239
+ `timedOut: true`. A generic `capture_unavailable` does not identify the failed
240
+ capture operation. Older records lack this diagnostic. It neither changes the
241
+ refusal nor retries an attempt; missing metadata cannot establish which check
242
+ caused a historical refusal.
243
+
229
244
  Clearing a draft, changing modes or restarting does not flush saved messages or
230
245
  callbacks. To try again, send a current request: it rechecks the recipient and input.
231
246
  A caller abort before paste cancels input; after a write may have started, the
@@ -132,6 +132,10 @@ reaction on any other message, including a person's reply in the thread, is igno
132
132
  `reaction_added` event: add both under **OAuth & Permissions** and **Event Subscriptions**, then
133
133
  reinstall the app to the workspace.
134
134
 
135
+ Human-row posts suppress link and media previews by default. Run `rig slack setup --unfurl on` to
136
+ allow Slack previews, or `rig slack setup --unfurl off` to suppress them again. The selection reaches
137
+ the running connector on its next rewire or daemon restart; it does not remove already posted previews.
138
+
135
139
  To have reactions ignored instead, run `rig slack setup --reactions off`. The agent that asked
136
140
  never hears of a reaction, including one still waiting to be retried, and a person answers an ask by
137
141
  typing a reply in its thread. Slack still sends the event and the manifest keeps it, so switching
@@ -182,6 +182,18 @@ When no app can be chosen, or the app refuses the switch, the result names the
182
182
  session to select by hand. A Rex app accepts the switch only with Remote Control
183
183
  turned on in its Settings, under Rex Server.
184
184
 
185
+ Each local seat's tile shows the seat's runtime (such as Claude Code or Codex) and
186
+ its activity: working, idle, or blocked (with a permission kind for a permission
187
+ prompt). The tile gets the current activity once it opens and each change after
188
+ that, as `rig ps --nodes` resolves it. A Rex tile attached to the seat some other way, by
189
+ hand or by Rex after an app restart, is caught up within about ten seconds, or within
190
+ five minutes when no Rex tile was showing the seat before.
191
+ Rarely, a report can arrive in the middle of tmux's own output and garble part of a
192
+ Rex tile until it redraws. When OpenRig doesn't know a seat's activity,
193
+ the tile shows none rather than idle. OpenRig writes these reports only to the
194
+ tmux clients attached to the seat that identify themselves as Rex, so other
195
+ terminals attached to the seat get nothing and no tmux option changes.
196
+
185
197
  The daemon finds `rex` in `$REX_BIN_DIR`, then on `PATH`, then inside the Rex
186
198
  app on macOS, and uses its own `REX_SERVER` when set. It never starts a Rex
187
199
  server. An open view is not reused: opening it again adds a numbered session,
@@ -61,6 +61,12 @@ Existing OpenRig session options, such as `terminal.status_bar`, still apply.
61
61
  An existing server does not reread its configuration merely because the daemon
62
62
  restarts. Settings and sessions in a separate personal server are left alone.
63
63
 
64
+ When OpenRig creates a tmux server on macOS or Linux, its creating client tries
65
+ to raise the soft open-file limit to 8192, bounded by the inherited hard limit.
66
+ An already higher soft limit is preserved. A failed raise produces an advisory
67
+ and the start continues with the inherited limit. Connecting to an existing
68
+ server does not change that server's limit or restart its sessions.
69
+
64
70
  ## Existing teams and deferred migration
65
71
 
66
72
  At startup, the daemon checks the previously selected server before switching.
@@ -110,8 +116,8 @@ To move a team that runs on an older server:
110
116
  on it, yours included, has ended.
111
117
  3. Stop each rig deliberately with `rig down <rig>`. Its seats' sessions end, and a
112
118
  turn in progress stops. Queue rows, rigs and seats stay as they are. A session
113
- OpenRig didn't start, such as a seat joined with `rig attach --self`, is left
114
- running and `rig down` exits 2; stop it with the commands it prints, or it stays on
119
+ OpenRig didn't start, such as a seat joined with `rig attach --self` from a tmux
120
+ pane, is left running and `rig down` exits 2; stop it with the commands it prints, or it stays on
115
121
  the old server.
116
122
  4. Restart the daemon with `OPENRIG_TMUX_CONTROL=1` in its environment.
117
123
  `rig terminal status --json` should show `migrationPending: false`. If it's still
@@ -1,4 +1,285 @@
1
- # What changed in OpenRig 0.7.13
1
+ # What changed in OpenRig 0.7.15
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.15.
4
+ OpenRig 0.7.15 takes some repeated synchronous work off a busy daemon's read
5
+ paths and names more of what it was doing when it stalls. `rig daemon start`
6
+ has a 180-second readiness budget for a slow start. Restore tries a saved
7
+ conversation when an eligible seat has no saved startup context, and records it
8
+ as a gap. Slack previews on
9
+ posts to a person are off by default. It adds one database migration. If you
10
+ upgraded from 0.7.13 or earlier, also read "What changed in OpenRig 0.7.14"
11
+ below, and so on back. For the full capability map, read
12
+ `rig context get onboarding-width/public-what-you-can-do.md`. After the upgraded
13
+ daemon starts, `rig context get reference/whats-new.md` describes this version.
14
+ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
15
+
16
+ ## After the upgrade
17
+
18
+ - **Stop, back up, install, then start.** `rig daemon stop` (seats keep running,
19
+ so don't use `rig down`), copy the database file (`rig config get db.path`
20
+ shows it), install 0.7.15 with the existing installation method, then
21
+ `rig daemon start`.
22
+ - **One migration runs before the daemon listens.** Migration 165 adds four
23
+ columns and two indexes to `activity_grants`. Going back to 0.7.14 after it
24
+ isn't established; keep the backup.
25
+ - **A slow start:** `rig daemon start` now gives the daemon child it started a
26
+ 180-second readiness budget, printing "Waiting for daemon child <PID>
27
+ readiness …" about every 20 s. Let it finish, then read `rig daemon status`.
28
+ Synchronous work can run past the budget. A child still not ready when that
29
+ budget is exhausted is reported pending as before; follow that message's
30
+ restart steps before starting again. The longer budget doesn't identify or
31
+ cure the cause of a slow start.
32
+ - **The plugins:** the `openrig` plugin's manifests carry the CLI's version,
33
+ 0.7.15. openrig-core moves to 0.1.30, because its skills changed.
34
+
35
+ ## Restore, seats and delivery
36
+
37
+ - **A seat with a resume token but no saved startup context:** for an eligible
38
+ seat in a rig with pods that restore starts in its own pane, restore now
39
+ tries the saved conversation with an empty plan and records the
40
+ `startup_context` gap. A successful resume with that gap makes the rig read
41
+ `partially_restored`: that's the honest result, not a failure. A missing
42
+ conversation or failed start keeps its own status. No saved startup plan is
43
+ replayed; the adapter's ordinary bootstrap and existing skill restoration
44
+ still run. An external CLI attachment is kept, and no-token seats still wait
45
+ for a decision. `restore-check` reads an eligible seat with a token yellow. ([#3177](https://github.com/mvschwarz/openrig/pull/3177))
46
+ - **`rig seat restart --keep-conversation`** names `rig launch '<rig>' '<node>'`
47
+ when it refuses a recoverable seat whose tmux session is gone. ([#3135](https://github.com/mvschwarz/openrig/pull/3135))
48
+ - **When a daemon stalls,** read `logs/slow-operations.jsonl`: it adds three
49
+ queue sites and three selected steps of an ordinary nodes read
50
+ (`nodes.inventory.build`, `nodes.inventory.activity_sync`,
51
+ `nodes.inventory.terminal_work`). These nodes records are written after a
52
+ slow call completes; a missing record does not rule out unfinished work or
53
+ work outside those steps. ([#3100](https://github.com/mvschwarz/openrig/pull/3100), [#3138](https://github.com/mvschwarz/openrig/pull/3138))
54
+ - **Draft-aware pastes** re-check the input right before pasting, and hold
55
+ after recent client activity or when tmux can't be read. An ordinary guarded
56
+ paste waits about 300 ms longer. This is shown by the change's own tests; it's
57
+ not yet checked with the real programs on this release. ([#3097](https://github.com/mvschwarz/openrig/pull/3097))
58
+ - **A terminal seat whose tmux session has another name** gets the exact text
59
+ of a send, with no From/To envelope typed into its shell. ([#3074](https://github.com/mvschwarz/openrig/pull/3074))
60
+ - **Slack:** when the arrival note is recorded before the answer is routed, an
61
+ answer to a reply in an older thread posts back into that thread; otherwise
62
+ it posts top-level (see the limits below). ([#3120](https://github.com/mvschwarz/openrig/pull/3120))
63
+
64
+ ## Other changes to act on
65
+
66
+ - **Slack previews on posts to a person are off by default.** An existing
67
+ install stops showing link and media previews after its next connector rewire
68
+ or daemon restart. `rig slack setup --unfurl on` turns them back on, and
69
+ `rig slack status` shows the mode. Earlier previews aren't removed. ([#3157](https://github.com/mvschwarz/openrig/pull/3157))
70
+ - **OpenRig's own changed Codex hook declarations are renewed** from its record
71
+ at the start or seat launch that installs a new openrig-core, instead of
72
+ stopping at Codex's hook review. It runs in the daemon's Codex home at start,
73
+ when hooks are on and a Codex seat selected openrig-core, and in each such
74
+ seat's own Codex home at its launch. A person's own choice in any layer
75
+ OpenRig reads keeps the review. ([#3143](https://github.com/mvschwarz/openrig/pull/3143))
76
+ - `restore-check` and restore warn when a snapshot's named Codex profile was
77
+ cleared from the current seat. ([#3155](https://github.com/mvschwarz/openrig/pull/3155))
78
+ - Runner activity grants are bound to the actual launch, and the
79
+ replacement's activation revokes its predecessor's grant. A grant made before
80
+ this release stays tied to the seat's occupant until then. ([#3060](https://github.com/mvschwarz/openrig/pull/3060))
81
+ - `rig context work-install --mission <missing>` warns that the mission doesn't
82
+ exist. ([#3141](https://github.com/mvschwarz/openrig/pull/3141))
83
+ - A connected assistant is told to leave `rigId` out of `rig_team` to see its
84
+ own team, and an external inbox grant is told only about the tools it's
85
+ offered. ([#3104](https://github.com/mvschwarz/openrig/pull/3104), [#3140](https://github.com/mvschwarz/openrig/pull/3140))
86
+ - The TUI keeps connected assistants' check-in lines when a rig's inventory
87
+ can't be read. ([#3105](https://github.com/mvschwarz/openrig/pull/3105))
88
+ - The `openrig` plugin needs Claude Code 2.1.119 or later. ([#3137](https://github.com/mvschwarz/openrig/pull/3137))
89
+ - Terminal views find tmux again when its cached path is gone, and a
90
+ `SKILL.md` with CRLF line endings is discovered. ([#3129](https://github.com/mvschwarz/openrig/pull/3129), [#3153](https://github.com/mvschwarz/openrig/pull/3153))
91
+
92
+ ## Limits to keep in view
93
+
94
+ - **Daemon memory:** 0.7.14's comparison under load established neither equal
95
+ memory nor a regression against 0.7.13. This release makes no memory claim.
96
+ - **Restore's overall result:** a rig can still read `fully_restored` while a
97
+ seat restore didn't start, or a seat kept in its external CLI attachment,
98
+ goes unnamed. A seat restore left as a bare shell after "Harness not started"
99
+ still counts as running in `rig ps`. `restore-check` can also say "Restore
100
+ tries …" for a self-attached member that restore leaves out; that member
101
+ isn't restored.
102
+ - **Draft-aware delivery ([#3076](https://github.com/mvschwarz/openrig/issues/3076)):** typing after the guard's final check and before
103
+ the paste can still leave the notice beside the person's draft. In the tested
104
+ append-mode schedule Enter was refused and nothing was submitted or deleted;
105
+ this is not a guarantee for every interleaving. The prior conditional-send
106
+ Enter-window case is unchanged.
107
+ - **Slack reply threads:** recording the arrival note is best effort: a failed
108
+ write is not retried and that answer posts top-level. Creating the message
109
+ and recording the arrival note are separate writes, so a notification can
110
+ also be posted before the note is recorded, with the same top-level outcome.
111
+ The person's message is kept. ([#3120](https://github.com/mvschwarz/openrig/pull/3120))
112
+ - **A wide Claude Code footer:** with Claude Code's full-width
113
+ auto-update-failure footer on screen, a seat in the opt-in draft-aware typing
114
+ mode whose input is empty can hold an ordinary send. The message is kept;
115
+ `rig seat held-messages` shows it.
116
+ - **Draft-aware delivery to a busy Codex seat:** on Codex (seen with 0.167.1
117
+ and 0.167.2), a send to a seat in the opt-in draft-aware typing mode while
118
+ it's busy can be pasted into its input without Enter. The message isn't
119
+ delivered, and it isn't kept for `rig seat held-messages`. A deliberate send
120
+ reports failed, and its text stays in the seat's input box. This was seen on
121
+ 0.7.12 and 0.7.14, and there's no fix for it in this release.
122
+ - **Seats at the edit floor can stop for approval, OpenRig's own commands
123
+ included.** A Claude seat running at the harness's edit floor can ask for
124
+ approval before shell commands, including OpenRig's own read-only `rig`
125
+ commands such as `rig whoami` and `rig queue show`. Choosing a built-in
126
+ policy such as standard when your team is set up doesn't change that at
127
+ launch: the plan shows `launch_posture=floor`. Each prompt waits until
128
+ someone approves it, in the seat or through your own agent, so a team can
129
+ stall while nobody answers.
130
+ - **Approvals your agent recorded:** In one Claude setup, your agent recorded
131
+ approvals it made itself as "Person approved". Those entries alone do not
132
+ establish your approval; check the conversation to see who actually decided.
133
+ - **A new Claude agent's startup text can stay unsent in its input box while
134
+ the seat reads ready.** Press Enter in its terminal.
135
+ - **Linked Codex config files:** when a Codex seat's `config.toml` or
136
+ `hooks.json` is a symbolic link, OpenRig records its hook trust under the
137
+ link's target, as in 0.7.14. A change to key it by the file's own name isn't
138
+ in this release, and such a seat may be asked to review hooks again. With a
139
+ linked `config.toml`, OpenRig can also miss a setting stored for it that
140
+ turns OpenRig's hooks off, and set those hooks up anyway when it moves them
141
+ into `hooks.json`. ([#3078](https://github.com/mvschwarz/openrig/issues/3078))
142
+ - **From 0.7.14:** its limits below still apply, except where this release
143
+ changes them: the TUI keeps check-in lines ([#3105](https://github.com/mvschwarz/openrig/pull/3105)), and the draft-aware paste
144
+ window is narrower, as [#3097](https://github.com/mvschwarz/openrig/pull/3097)'s own tests show.
145
+
146
+ ## What changed in OpenRig 0.7.14
147
+
148
+ This note is for an agent on an install that was just upgraded to 0.7.14.
149
+ OpenRig 0.7.14 makes concurrent node reads take turns and indexes bounded queue
150
+ listings over retained history. In the change's own tests, taking turns kept
151
+ health checks and queue reads from waiting behind a whole burst; a comparison
152
+ under load didn't attribute that gain to this change. A connected assistant
153
+ reaches a seat by its plain name and hears three new errors when it can't.
154
+ Connected assistants show in `rig ps`,
155
+ `rig_team` and the TUI. It adds three database migrations. If you upgraded from
156
+ 0.7.12 or earlier, also read "What changed in OpenRig 0.7.13" below, and so on
157
+ back. For the full capability map, read
158
+ `rig context get onboarding-width/public-what-you-can-do.md`. After the upgraded
159
+ daemon starts, `rig context get reference/whats-new.md` describes this version.
160
+ Without a running daemon, read the packaged `daemon/docs/reference/whats-new.md`.
161
+
162
+ ### After the upgrade
163
+
164
+ - **Stop, back up, install, then start.** `rig daemon stop` (seats keep running,
165
+ so don't use `rig down`), copy the database file (`rig config get db.path`
166
+ shows it), install 0.7.14 with the existing installation method, then
167
+ `rig daemon start`.
168
+ - **Three migrations run before the daemon listens.** Migration 163 adds the
169
+ `network_installations` table and four columns to `network_bindings`.
170
+ Migrations 164 and 166 build indexes. The author's measurement of 166 took
171
+ 3.47 s on 28,976 rows, not a real installation's size, so a large database can
172
+ take longer. The write overhead, and going back to 0.7.13 after these three
173
+ migrations, aren't established; keep the backup.
174
+ - **If the start is reported pending:** the CLI waits 20 s, then may print
175
+ "Daemon startup is pending after the readiness deadline". Readiness remains
176
+ unconfirmed. It leaves the child running and the startup reservation
177
+ retained, without recording the daemon. Inspect the address and log it
178
+ prints. The child may later answer, and status can then report it running,
179
+ but that does not finish this start's recording or release its reservation.
180
+ Don't start it again until the steps below are done. The message's restart
181
+ steps stop that child and clear the reservation: stop the named child PID and
182
+ wait for it to exit, inspect `daemon-start.lock`, and only when both recorded
183
+ launcher and child PIDs are absent, archive the lock and run
184
+ `rig daemon start`. On a large database the new start can be reported pending
185
+ again; reaching a recorded start this way hasn't been tested.
186
+ `rig daemon stop` cannot stop that unpublished child.
187
+ - **The plugins:** openrig-core stays 0.1.29. The `openrig` plugin's manifests
188
+ carry the CLI's version, 0.7.14.
189
+
190
+ ### Reads, seats and people
191
+
192
+ - **Node reads take turns** through their three synchronous steps (inventory;
193
+ activity; terminal and work). A nodes response is no longer one snapshot
194
+ across those steps, and in a burst each response comes later: about 43 ms
195
+ against 21 ms median in a 24-request burst. One very large rig is still one
196
+ step. ([#3101](https://github.com/mvschwarz/openrig/pull/3101))
197
+ - **A plain seat name over MCP** resolves to the seat's actual session: its own
198
+ name, then its pod-member form, then that name's slug, among seats the grant
199
+ can address. Three errors are new: `destination_ambiguous` (pass one of the
200
+ listed candidates), `destination_not_found` (no reachable seat has that name;
201
+ `rig_team` lists the names) and `destination_unchecked` (the team couldn't be
202
+ read; try again). ([#3088](https://github.com/mvschwarz/openrig/pull/3088))
203
+ - **Connected assistants** are listed with their check-in line in `rig ps`,
204
+ `rig_team` and the TUI's tables. The check-in is a status, never a gate on
205
+ delivery. ([#3057](https://github.com/mvschwarz/openrig/pull/3057), [#3058](https://github.com/mvschwarz/openrig/pull/3058))
206
+ - **Before a first team launches, check the logins it needs.** `rig doctor` and
207
+ setup now explain that a missing login matters when a seat you would start
208
+ runs on that harness. The operator is taught to check before launch;
209
+ `rig specs preview <team> --kind rig --json` shows each seat's runtime.
210
+ ([#3077](https://github.com/mvschwarz/openrig/pull/3077))
211
+ - **Registration guidance:** when the readable person registry holds nobody,
212
+ `rig daemon start` and `rig gateway participants` tell the setup agent to
213
+ offer registration. The kernel operator is taught to offer it in its greeting
214
+ and register only on a yes. ([#3041](https://github.com/mvschwarz/openrig/pull/3041), [#3071](https://github.com/mvschwarz/openrig/pull/3071))
215
+
216
+ ### Other changes to act on
217
+
218
+ - An ordinary send is refused as needing input while an open Claude Code or
219
+ Codex `/model` picker is positively identified; nothing is typed. Close the
220
+ picker before trying to deliver the message. This is shown by the change's
221
+ own tests; it hasn't yet been checked with the real Claude Code and Codex
222
+ programs on this release. ([#3083](https://github.com/mvschwarz/openrig/pull/3083))
223
+ - On a resume of a Codex seat's own conversation in a rig with pods, including
224
+ `rig up --existing`, OpenRig avoids adding missing guidance blocks to the
225
+ repository's tracked `AGENTS.md` when Codex is 0.164.0 or later, no guidance
226
+ file or developer instructions are configured, and the configuration and
227
+ block sources can be read. ([#3039](https://github.com/mvschwarz/openrig/pull/3039))
228
+ - `rig queue list --tag <t>` (repeatable, all must match), `--mission` and
229
+ `--slice` filter exactly. ([#3066](https://github.com/mvschwarz/openrig/pull/3066))
230
+ - `rig broadcast` prints a held recipient as retained; nothing was typed there.
231
+ ([#3054](https://github.com/mvschwarz/openrig/pull/3054))
232
+ - `rig compact --state` names the input check that stopped a managed
233
+ compaction (`inputReadFailure`). ([#3053](https://github.com/mvschwarz/openrig/pull/3053))
234
+ - `rig workflow validate` adds a `harness_pin_unchecked` warning for each
235
+ pinned step. ([#3102](https://github.com/mvschwarz/openrig/pull/3102))
236
+ - Account erasure also removes OpenRig's own wakes and notices for the
237
+ account's seats. ([#3089](https://github.com/mvschwarz/openrig/pull/3089))
238
+ - With `recovery.auto_drive_provider_prompts` on, Claude Code's gated-grants
239
+ trust check is never answered for you. ([#3073](https://github.com/mvschwarz/openrig/pull/3073))
240
+
241
+ ### Limits to keep in view
242
+
243
+ - **Queue listings:** the new indexes aren't a cure for every stall. Listings of
244
+ active work showed no gain, one case was slower, and writes weren't measured.
245
+ ([#3090](https://github.com/mvschwarz/openrig/pull/3090))
246
+ - **Daemon memory:** in a comparison under load, the daemon's resident
247
+ anonymous memory and its memory when idle afterwards had medians about
248
+ 23-25 MiB higher than on 0.7.13, but the runs overlapped. Neither equal
249
+ memory nor a regression is established.
250
+ - **Draft-aware delivery ([#3076](https://github.com/mvschwarz/openrig/issues/3076)):** an automatic notice can still be left beside a
251
+ draft started during delivery. On a conditional send, one that names the
252
+ conversation it expects, an isolated test with a scripted terminal also showed
253
+ characters typed during OpenRig's last checks before Enter submitted with
254
+ OpenRig's text; that hasn't been tested with a real client or model.
255
+ - **The TUI's tables** can drop a connected assistant's check-in line when its
256
+ rig's seat inventory can't be read; `rig roster` still prints it.
257
+ - **Repository guidance on restore:** rigs without pods, old or unknown Codex
258
+ versions, configured guidance and unreadable configuration keep the existing
259
+ file path. Fresh, fork and handover launches are outside this resume fix.
260
+ Existing managed blocks may still refresh, and the seat-skills line still
261
+ belongs to the file writer; check `git status`. A block whose source can't be
262
+ read is reported missing.
263
+ - **Linked Codex config files:** when a Codex seat's `config.toml` or
264
+ `hooks.json` is a symbolic link, OpenRig records its hook trust under the
265
+ link's target, as in 0.7.13. A change to key it by the file's own name isn't
266
+ in this release, and such a seat may be asked to review hooks again. With a
267
+ linked `config.toml`, OpenRig can also miss a setting stored for it that
268
+ turns OpenRig's hooks off, and set those hooks up anyway when it moves them
269
+ into `hooks.json`. ([#3078](https://github.com/mvschwarz/openrig/issues/3078))
270
+ - **From 0.7.13:** its limits below still apply, except where this release
271
+ fixes them. The runtime fixes cover adding missing guidance on the eligible
272
+ Codex resumes described above and the unquoted pairing description. The fix
273
+ for recognized model pickers is shown by the change's own tests and hasn't
274
+ yet been checked with the real programs on this release. This release also
275
+ changes the operator-first registration and pre-launch login guidance. In a
276
+ few test runs with real agents, the operator offered registration once in its
277
+ greeting, on Claude Code and on Codex (one run each); a no registered nobody,
278
+ and a yes registered the default person. The person saw the offer in 3 of 4
279
+ runs; in the fourth, the setup agent didn't pass the operator's offer on. The
280
+ login guidance worked in both runs tested.
281
+
282
+ ## What changed in OpenRig 0.7.13
2
283
 
3
284
  This note is for an agent on an install that was just upgraded to 0.7.13.
4
285
  OpenRig 0.7.13 writes a person a note after they answer a runner's permission
@@ -13,21 +294,21 @@ upgraded daemon starts, `rig context get reference/whats-new.md` describes this
13
294
  version. Without a running daemon, read the packaged
14
295
  `daemon/docs/reference/whats-new.md`.
15
296
 
16
- ## After the upgrade
297
+ ### After the upgrade
17
298
 
18
- - **Back up the database, then restart the daemon.** Three migrations run on the
19
- daemon's first start: 160 and 161 (network bindings and receipts, for the
20
- experimental hub connector) and 162 (indexes for current-session reads). If
21
- `$OPENRIG_DB` isn't backed up yet: `rig daemon stop` (seats keep running, so
22
- don't use `rig down`), copy that file (`rig config get db.path` shows it),
23
- then `rig daemon start`. Going back to 0.7.12 after these migrations isn't
24
- established.
299
+ - **Back up the database, install 0.7.13, then restart the daemon:** `rig daemon stop`,
300
+ copy the database file (`rig config get db.path` prints its path), install
301
+ OpenRig 0.7.13 using your existing installation method, then `rig daemon start`.
302
+ Your agents keep running through a daemon restart; don't use `rig down`, which
303
+ ends them. Three migrations run on the daemon's first start: 160 and 161 (for
304
+ the experimental hub connector below) and 162 (indexes for session reads).
305
+ Going back to 0.7.12 after them isn't established.
25
306
  - **The plugins:** openrig-core moves from 0.1.28 to 0.1.29 (its activity relay
26
307
  and refocus hooks changed). The `openrig` plugin's manifests now carry the
27
- CLI's version, 0.7.13. A Codex session kept running across the upgrade can ask
28
- for hook approval until it's relaunched.
308
+ CLI's version, 0.7.13. A Codex seat can ask for hook approval after the
309
+ upgrade; see Codex hook review after an upgrade below.
29
310
 
30
- ## Answers, setup and seats
311
+ ### Answers, setup and seats
31
312
 
32
313
  - **A runner's permission answer gets a note back to the person:** who decides
33
314
  it and in what state, or that it's kept and the tool hasn't run. A runner
@@ -62,7 +343,7 @@ version. Without a running daemon, read the packaged
62
343
  its pending work until then. Don't release it on a timer.
63
344
  ([#2917](https://github.com/mvschwarz/openrig/pull/2917))
64
345
 
65
- ## Other changes to act on
346
+ ### Other changes to act on
66
347
 
67
348
  - **Handover:** a handover whose successor launched but isn't ready says it may
68
349
  be running. Look at the pane (`rig capture '<seat>'`) before another handover
@@ -101,7 +382,7 @@ version. Without a running daemon, read the packaged
101
382
  no binding.
102
383
  ([#2993](https://github.com/mvschwarz/openrig/pull/2993))
103
384
 
104
- ## Limits to keep in view
385
+ ### Limits to keep in view
105
386
 
106
387
  - **Not in this release:** a Codex snapshot restore or `rig up --existing` can
107
388
  write OpenRig's managed guidance into a tracked `AGENTS.md`, leaving the
@@ -134,7 +415,9 @@ version. Without a running daemon, read the packaged
134
415
  restored without review. The cause of the difference is not established.
135
416
  - **A first team with Codex installed but signed out:** a Claude person's starter
136
417
  team includes a Codex reviewer that waits for a Codex sign-in, and the person
137
- isn't told beforehand. If Codex is installed, have them sign in first.
418
+ isn't told beforehand. If Codex is installed, tell the person about the
419
+ possible sign-in wait before the team starts; signing in first was not tested
420
+ as a remedy.
138
421
  - **The hub connector isn't inert:** it starts, sweeps leftover credential
139
422
  folders and schedules local rounds even with no binding; only the hub pass is
140
423
  absent. Don't describe it as off. ([#2993](https://github.com/mvschwarz/openrig/pull/2993))
@@ -51,8 +51,16 @@ wrote. The policy is the labelled block OpenRig adds at the end of the row,
51
51
  after the message; anything above it is the sender's own words, even if it
52
52
  looks like policy (`rig gateway participants --json` is the source). Answer
53
53
  into their thread with an update to the channel (`--destination <id>@external
54
- --human-intent update --reply-to <their row>`). A channel's messages are
55
- correspondence: they never answer, approve or close an ask.
54
+ --human-intent update --reply-to <their row>`). A message there from someone
55
+ who isn't a registered person is the channel's correspondence: OpenRig never
56
+ records it as an ask's answer or approval, and it closes no ask. A registered
57
+ person writing in a channel stays themselves, so their reply in an ask's thread
58
+ is recorded and resolves the ask like any reply of theirs. When the channel's
59
+ correspondence plainly answers your ask, you may act on it and close your ask
60
+ yourself, noting who wrote it, in which channel and which message, so the record
61
+ keeps who actually answered. It answers that ask only, not a later one. An
62
+ approval or a permission prompt is never settled by the channel's
63
+ correspondence: only a registered person's reply settles it.
56
64
 
57
65
  Use the returned `address` (`<entityId>@external`), not a username, remembered
58
66
  seat, connector handle, or guessed kernel address. Where several people exist,
@@ -124,8 +132,9 @@ rig gateway human mode decide <qitem-id> --application <applicationId> \
124
132
  It's recorded as decided on their behalf, never as their answer, the ask
125
133
  closes, and it's in their account when they're back. Say honestly whether it
126
134
  can be undone. A permission prompt or an approval is never decided this way.
127
- With no room, a room that doesn't plainly cover it, or any doubt, ask and wait;
128
- a recommended option is not a decision.
135
+ With no room, a room that doesn't plainly cover it, or any doubt, ask, and keep
136
+ doing the work their answer doesn't affect; a recommended option is not a
137
+ decision.
129
138
 
130
139
  An optional `--human-detail-file <path>` supplies one coherent supplemental
131
140
  reply in the same thread. Announce its purpose in the brief; the product also
@@ -29,6 +29,13 @@ behave; this skill is the loop around them.
29
29
 
30
30
  - Use `rig_queue_create` with `destination` (the lead, or the seat the person chose) and `body`. Write the body for a
31
31
  capable colleague: the goal, why it matters, what done looks like, and where to look. Add a one-line `summary`.
32
+ - With a seat, end the body with the reply route, because your seat has no terminal and `rig send` can't reach it:
33
+
34
+ > To ask me anything, create a queue item to `<your seat>` (`rig queue create --destination <your seat> ...`), then
35
+ > block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. I
36
+ > check it when the person asks. Don't ask in your own terminal: the person isn't there. If you hand this item on,
37
+ > copy this paragraph into the new item. When you finish, put the outcome in this item's resolution and any file in
38
+ > its evidence ref.
32
39
  - Tell the person the `qitemId` it returns. It's how both of you find this work again.
33
40
  - If the call times out, check `rig_queue_show` with that same `qitemId` before trying again. If you retry, pass the same id
34
41
  as `qitemId`. Never retry with a new one: that creates the work twice.