@openrig/cli 0.7.3 → 0.7.5

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 (507) hide show
  1. package/README.md +5 -5
  2. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  3. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  4. package/daemon/assets/plugins/openrig-core/hooks/claude.json +11 -0
  5. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +13 -9
  6. package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +9 -1
  7. package/daemon/context-packs/help/help.md +6 -3
  8. package/daemon/context-packs/help/manifest.yaml +1 -1
  9. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  10. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +53 -7
  11. package/daemon/context-packs/reference/getting-started.md +17 -5
  12. package/daemon/context-packs/reference/manifest.yaml +1 -1
  13. package/daemon/context-packs/reference/rig-spec.md +10 -3
  14. package/daemon/context-packs/reference/whats-new.md +153 -155
  15. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  16. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  17. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/SKILL.md +11 -0
  31. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/queue-handoff/SKILL.md +9 -1
  63. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  69. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  70. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  71. package/daemon/dist/adapters/claude-code-adapter.d.ts +3 -3
  72. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  73. package/daemon/dist/adapters/claude-code-adapter.js +52 -22
  74. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  75. package/daemon/dist/adapters/claude-resume.d.ts +1 -1
  76. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  77. package/daemon/dist/adapters/claude-resume.js +18 -6
  78. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  79. package/daemon/dist/adapters/codex-resume.d.ts +1 -1
  80. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  81. package/daemon/dist/adapters/codex-resume.js +9 -3
  82. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  83. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +1 -0
  84. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/codex-runtime-adapter.js +7 -1
  86. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/pi-openrouter-charge.d.ts.map +1 -1
  88. package/daemon/dist/adapters/pi-openrouter-charge.js +3 -0
  89. package/daemon/dist/adapters/pi-openrouter-charge.js.map +1 -1
  90. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  91. package/daemon/dist/adapters/pi-runner.js +11 -2
  92. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  93. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  94. package/daemon/dist/adapters/tmux.js +10 -2
  95. package/daemon/dist/adapters/tmux.js.map +1 -1
  96. package/daemon/dist/build-info.js +3 -3
  97. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  98. package/daemon/dist/db/all-migrations.js +4 -0
  99. package/daemon/dist/db/all-migrations.js.map +1 -1
  100. package/daemon/dist/db/migrations/126_escalation_target_refs.d.ts +4 -0
  101. package/daemon/dist/db/migrations/126_escalation_target_refs.d.ts.map +1 -0
  102. package/daemon/dist/db/migrations/126_escalation_target_refs.js +30 -0
  103. package/daemon/dist/db/migrations/126_escalation_target_refs.js.map +1 -0
  104. package/daemon/dist/db/migrations/140_identity_principal.d.ts +12 -0
  105. package/daemon/dist/db/migrations/140_identity_principal.d.ts.map +1 -0
  106. package/daemon/dist/db/migrations/140_identity_principal.js +20 -0
  107. package/daemon/dist/db/migrations/140_identity_principal.js.map +1 -0
  108. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  109. package/daemon/dist/domain/agent-activity-store.js +3 -1
  110. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  111. package/daemon/dist/domain/composer-prompts.d.ts +13 -0
  112. package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
  113. package/daemon/dist/domain/composer-prompts.js +32 -0
  114. package/daemon/dist/domain/composer-prompts.js.map +1 -1
  115. package/daemon/dist/domain/current-restore-snapshot.d.ts +8 -0
  116. package/daemon/dist/domain/current-restore-snapshot.d.ts.map +1 -0
  117. package/daemon/dist/domain/current-restore-snapshot.js +26 -0
  118. package/daemon/dist/domain/current-restore-snapshot.js.map +1 -0
  119. package/daemon/dist/domain/draft-aware-delivery.js +1 -1
  120. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  121. package/daemon/dist/domain/escalation-owner.d.ts +13 -0
  122. package/daemon/dist/domain/escalation-owner.d.ts.map +1 -0
  123. package/daemon/dist/domain/escalation-owner.js +92 -0
  124. package/daemon/dist/domain/escalation-owner.js.map +1 -0
  125. package/daemon/dist/domain/escalation-target-ref.d.ts +3 -0
  126. package/daemon/dist/domain/escalation-target-ref.d.ts.map +1 -0
  127. package/daemon/dist/domain/escalation-target-ref.js +6 -0
  128. package/daemon/dist/domain/escalation-target-ref.js.map +1 -0
  129. package/daemon/dist/domain/gateway/destination-resolver.d.ts +8 -0
  130. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -1
  131. package/daemon/dist/domain/gateway/destination-resolver.js +17 -1
  132. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -1
  133. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  134. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +3 -2
  135. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  136. package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  137. package/daemon/dist/domain/graph-projection.js +2 -1
  138. package/daemon/dist/domain/graph-projection.js.map +1 -1
  139. package/daemon/dist/domain/hosted-wake.d.ts +19 -0
  140. package/daemon/dist/domain/hosted-wake.d.ts.map +1 -0
  141. package/daemon/dist/domain/hosted-wake.js +56 -0
  142. package/daemon/dist/domain/hosted-wake.js.map +1 -0
  143. package/daemon/dist/domain/kernel-boot.d.ts +10 -4
  144. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  145. package/daemon/dist/domain/kernel-boot.js +14 -7
  146. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  147. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.d.ts.map +1 -1
  148. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js +2 -0
  149. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js.map +1 -1
  150. package/daemon/dist/domain/mission-control/notification-adapter-webhook.d.ts.map +1 -1
  151. package/daemon/dist/domain/mission-control/notification-adapter-webhook.js +2 -0
  152. package/daemon/dist/domain/mission-control/notification-adapter-webhook.js.map +1 -1
  153. package/daemon/dist/domain/native-resume-probe.d.ts +3 -0
  154. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  155. package/daemon/dist/domain/native-resume-probe.js +7 -0
  156. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  157. package/daemon/dist/domain/node-inventory.d.ts +1 -1
  158. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  159. package/daemon/dist/domain/node-inventory.js +12 -6
  160. package/daemon/dist/domain/node-inventory.js.map +1 -1
  161. package/daemon/dist/domain/node-launcher.d.ts +5 -0
  162. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  163. package/daemon/dist/domain/node-launcher.js +35 -1
  164. package/daemon/dist/domain/node-launcher.js.map +1 -1
  165. package/daemon/dist/domain/outbox-handler.d.ts +3 -0
  166. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  167. package/daemon/dist/domain/outbox-handler.js +10 -4
  168. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  169. package/daemon/dist/domain/periodic-snapshot-scheduler.d.ts +3 -0
  170. package/daemon/dist/domain/periodic-snapshot-scheduler.d.ts.map +1 -1
  171. package/daemon/dist/domain/periodic-snapshot-scheduler.js +15 -11
  172. package/daemon/dist/domain/periodic-snapshot-scheduler.js.map +1 -1
  173. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts +3 -1
  174. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts.map +1 -1
  175. package/daemon/dist/domain/policies/artifact-pool-helpers.js +1 -1
  176. package/daemon/dist/domain/policies/artifact-pool-helpers.js.map +1 -1
  177. package/daemon/dist/domain/policies/edge-artifact-required.d.ts.map +1 -1
  178. package/daemon/dist/domain/policies/edge-artifact-required.js +3 -0
  179. package/daemon/dist/domain/policies/edge-artifact-required.js.map +1 -1
  180. package/daemon/dist/domain/provider/claude-interruption.d.ts +3 -0
  181. package/daemon/dist/domain/provider/claude-interruption.d.ts.map +1 -0
  182. package/daemon/dist/domain/provider/claude-interruption.js +5 -0
  183. package/daemon/dist/domain/provider/claude-interruption.js.map +1 -0
  184. package/daemon/dist/domain/provider/host-usage-rollup.js +18 -8
  185. package/daemon/dist/domain/provider/host-usage-rollup.js.map +1 -1
  186. package/daemon/dist/domain/provider/provider-signals.d.ts +12 -5
  187. package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
  188. package/daemon/dist/domain/provider/provider-signals.js +31 -8
  189. package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
  190. package/daemon/dist/domain/provider/reactive-tap.d.ts +4 -4
  191. package/daemon/dist/domain/provider/reactive-tap.d.ts.map +1 -1
  192. package/daemon/dist/domain/provider/reactive-tap.js +20 -4
  193. package/daemon/dist/domain/provider/reactive-tap.js.map +1 -1
  194. package/daemon/dist/domain/ps-projection.d.ts +2 -1
  195. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  196. package/daemon/dist/domain/ps-projection.js +7 -3
  197. package/daemon/dist/domain/ps-projection.js.map +1 -1
  198. package/daemon/dist/domain/queue-repository.d.ts +18 -1
  199. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  200. package/daemon/dist/domain/queue-repository.js +83 -12
  201. package/daemon/dist/domain/queue-repository.js.map +1 -1
  202. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  203. package/daemon/dist/domain/queue-retention.js +4 -2
  204. package/daemon/dist/domain/queue-retention.js.map +1 -1
  205. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  206. package/daemon/dist/domain/queue-stuck-sweep.js +166 -16
  207. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  208. package/daemon/dist/domain/queue-transition-log.d.ts +6 -0
  209. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  210. package/daemon/dist/domain/queue-transition-log.js +11 -2
  211. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  212. package/daemon/dist/domain/queue-waiting.d.ts +1 -1
  213. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  214. package/daemon/dist/domain/queue-waiting.js +5 -4
  215. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  216. package/daemon/dist/domain/queue-wake-ladder.d.ts +2 -2
  217. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  218. package/daemon/dist/domain/queue-wake-ladder.js +173 -45
  219. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  220. package/daemon/dist/domain/reconciler.d.ts +2 -0
  221. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  222. package/daemon/dist/domain/reconciler.js +5 -2
  223. package/daemon/dist/domain/reconciler.js.map +1 -1
  224. package/daemon/dist/domain/restore-orchestrator.d.ts +17 -2
  225. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  226. package/daemon/dist/domain/restore-orchestrator.js +169 -42
  227. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  228. package/daemon/dist/domain/restore-plan-preview.d.ts +27 -1
  229. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  230. package/daemon/dist/domain/restore-plan-preview.js +51 -29
  231. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  232. package/daemon/dist/domain/review/gather.d.ts +11 -0
  233. package/daemon/dist/domain/review/gather.d.ts.map +1 -1
  234. package/daemon/dist/domain/review/gather.js +64 -26
  235. package/daemon/dist/domain/review/gather.js.map +1 -1
  236. package/daemon/dist/domain/rig-edge-ops.d.ts +1 -1
  237. package/daemon/dist/domain/rig-edge-ops.d.ts.map +1 -1
  238. package/daemon/dist/domain/rig-edge-ops.js +8 -6
  239. package/daemon/dist/domain/rig-edge-ops.js.map +1 -1
  240. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  241. package/daemon/dist/domain/rig-repository.js +12 -4
  242. package/daemon/dist/domain/rig-repository.js.map +1 -1
  243. package/daemon/dist/domain/rig-teardown.d.ts +2 -2
  244. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  245. package/daemon/dist/domain/rig-teardown.js +9 -5
  246. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  247. package/daemon/dist/domain/rigspec-exporter.js +3 -3
  248. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  249. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  250. package/daemon/dist/domain/rigspec-instantiator.js +8 -7
  251. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  252. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  253. package/daemon/dist/domain/rigspec-schema.js +8 -1
  254. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  255. package/daemon/dist/domain/rosters.d.ts +48 -0
  256. package/daemon/dist/domain/rosters.d.ts.map +1 -0
  257. package/daemon/dist/domain/rosters.js +86 -0
  258. package/daemon/dist/domain/rosters.js.map +1 -0
  259. package/daemon/dist/domain/runtime-adapter.d.ts +2 -0
  260. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  261. package/daemon/dist/domain/scope/scope-audit.d.ts +1 -0
  262. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  263. package/daemon/dist/domain/scope/scope-audit.js +4 -0
  264. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  265. package/daemon/dist/domain/seat-attention-reconciler.d.ts +2 -0
  266. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  267. package/daemon/dist/domain/seat-attention-reconciler.js +10 -1
  268. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  269. package/daemon/dist/domain/seat-delivery-guard.d.ts +1 -1
  270. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  271. package/daemon/dist/domain/seat-delivery-guard.js +11 -2
  272. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  273. package/daemon/dist/domain/seat-handover-service.d.ts +6 -0
  274. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  275. package/daemon/dist/domain/seat-handover-service.js +83 -2
  276. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  277. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  278. package/daemon/dist/domain/session-registry.d.ts +3 -0
  279. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  280. package/daemon/dist/domain/session-registry.js +5 -0
  281. package/daemon/dist/domain/session-registry.js.map +1 -1
  282. package/daemon/dist/domain/session-transport.d.ts +2 -0
  283. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  284. package/daemon/dist/domain/session-transport.js +50 -23
  285. package/daemon/dist/domain/session-transport.js.map +1 -1
  286. package/daemon/dist/domain/shared-history-selection.d.ts +34 -0
  287. package/daemon/dist/domain/shared-history-selection.d.ts.map +1 -0
  288. package/daemon/dist/domain/shared-history-selection.js +74 -0
  289. package/daemon/dist/domain/shared-history-selection.js.map +1 -0
  290. package/daemon/dist/domain/snapshot-capture.d.ts +1 -0
  291. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  292. package/daemon/dist/domain/snapshot-capture.js +43 -1
  293. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  294. package/daemon/dist/domain/startup-orchestrator.d.ts +2 -0
  295. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  296. package/daemon/dist/domain/startup-orchestrator.js +9 -5
  297. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  298. package/daemon/dist/domain/startup-submission-evidence.d.ts +6 -0
  299. package/daemon/dist/domain/startup-submission-evidence.d.ts.map +1 -1
  300. package/daemon/dist/domain/startup-submission-evidence.js +6 -0
  301. package/daemon/dist/domain/startup-submission-evidence.js.map +1 -1
  302. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +13 -5
  303. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  304. package/daemon/dist/domain/terminal/herdr-adapter.js +55 -79
  305. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  306. package/daemon/dist/domain/terminal/herdr-follow-view.d.ts +28 -0
  307. package/daemon/dist/domain/terminal/herdr-follow-view.d.ts.map +1 -0
  308. package/daemon/dist/domain/terminal/herdr-follow-view.js +338 -0
  309. package/daemon/dist/domain/terminal/herdr-follow-view.js.map +1 -0
  310. package/daemon/dist/domain/terminal/herdr-sessions.d.ts +2 -1
  311. package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -1
  312. package/daemon/dist/domain/terminal/herdr-sessions.js +32 -8
  313. package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -1
  314. package/daemon/dist/domain/terminal/herdr-viewer.d.ts +69 -0
  315. package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -0
  316. package/daemon/dist/domain/terminal/herdr-viewer.js +285 -0
  317. package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -0
  318. package/daemon/dist/domain/terminal/task-terminal-view.d.ts +51 -0
  319. package/daemon/dist/domain/terminal/task-terminal-view.d.ts.map +1 -0
  320. package/daemon/dist/domain/terminal/task-terminal-view.js +227 -0
  321. package/daemon/dist/domain/terminal/task-terminal-view.js.map +1 -0
  322. package/daemon/dist/domain/terminal/terminal-follow-policy.d.ts +65 -0
  323. package/daemon/dist/domain/terminal/terminal-follow-policy.d.ts.map +1 -0
  324. package/daemon/dist/domain/terminal/terminal-follow-policy.js +93 -0
  325. package/daemon/dist/domain/terminal/terminal-follow-policy.js.map +1 -0
  326. package/daemon/dist/domain/terminal/terminal-following.d.ts +39 -0
  327. package/daemon/dist/domain/terminal/terminal-following.d.ts.map +1 -0
  328. package/daemon/dist/domain/terminal/terminal-following.js +135 -0
  329. package/daemon/dist/domain/terminal/terminal-following.js.map +1 -0
  330. package/daemon/dist/domain/terminal/terminal-provider.d.ts +19 -0
  331. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  332. package/daemon/dist/domain/terminal/terminal-provider.js +0 -15
  333. package/daemon/dist/domain/terminal/terminal-provider.js.map +1 -1
  334. package/daemon/dist/domain/terminal/terminal-service.d.ts +27 -2
  335. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  336. package/daemon/dist/domain/terminal/terminal-service.js +133 -37
  337. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  338. package/daemon/dist/domain/terminal/tile-attach.js +1 -1
  339. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  340. package/daemon/dist/domain/terminal/view-composer.js +1 -1
  341. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  342. package/daemon/dist/domain/types.d.ts +9 -0
  343. package/daemon/dist/domain/types.d.ts.map +1 -1
  344. package/daemon/dist/domain/types.js.map +1 -1
  345. package/daemon/dist/domain/usage-series.d.ts.map +1 -1
  346. package/daemon/dist/domain/usage-series.js +17 -3
  347. package/daemon/dist/domain/usage-series.js.map +1 -1
  348. package/daemon/dist/index.d.ts.map +1 -1
  349. package/daemon/dist/index.js +5 -1
  350. package/daemon/dist/index.js.map +1 -1
  351. package/daemon/dist/rosters-surface.d.ts +2 -0
  352. package/daemon/dist/rosters-surface.d.ts.map +1 -0
  353. package/daemon/dist/rosters-surface.js +4 -0
  354. package/daemon/dist/rosters-surface.js.map +1 -0
  355. package/daemon/dist/routes/queue.d.ts.map +1 -1
  356. package/daemon/dist/routes/queue.js +7 -6
  357. package/daemon/dist/routes/queue.js.map +1 -1
  358. package/daemon/dist/routes/require-sender-identity.d.ts +26 -0
  359. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  360. package/daemon/dist/routes/require-sender-identity.js +54 -0
  361. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  362. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  363. package/daemon/dist/routes/scope-audit.js +2 -2
  364. package/daemon/dist/routes/scope-audit.js.map +1 -1
  365. package/daemon/dist/routes/startup.d.ts.map +1 -1
  366. package/daemon/dist/routes/startup.js +269 -3
  367. package/daemon/dist/routes/startup.js.map +1 -1
  368. package/daemon/dist/routes/terminal.d.ts +3 -1
  369. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  370. package/daemon/dist/routes/terminal.js +57 -1
  371. package/daemon/dist/routes/terminal.js.map +1 -1
  372. package/daemon/dist/routes/transport.d.ts.map +1 -1
  373. package/daemon/dist/routes/transport.js +12 -3
  374. package/daemon/dist/routes/transport.js.map +1 -1
  375. package/daemon/dist/server.js +1 -1
  376. package/daemon/dist/server.js.map +1 -1
  377. package/daemon/dist/startup.d.ts.map +1 -1
  378. package/daemon/dist/startup.js +25 -3
  379. package/daemon/dist/startup.js.map +1 -1
  380. package/daemon/docs/reference/agent-startup-guide.md +9 -0
  381. package/daemon/docs/reference/agent-state-taxonomy.md +7 -0
  382. package/daemon/docs/reference/claude-status-line.md +42 -0
  383. package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +1 -1
  384. package/daemon/docs/reference/community-harness-examples/pi-tui/openrig-pi-tui-launch +100 -0
  385. package/daemon/docs/reference/community-harness-examples/pi-tui/pi-tui.yaml +15 -0
  386. package/daemon/docs/reference/community-harness-presets.md +90 -3
  387. package/daemon/docs/reference/edge-types.md +40 -11
  388. package/daemon/docs/reference/getting-started.md +17 -5
  389. package/daemon/docs/reference/help.md +6 -3
  390. package/daemon/docs/reference/hosted-members.md +114 -0
  391. package/daemon/docs/reference/publishing-a-rig-bundle.md +5 -0
  392. package/daemon/docs/reference/quickstart.md +3 -3
  393. package/daemon/docs/reference/rig-spec.md +10 -3
  394. package/daemon/docs/reference/rosters.md +6 -0
  395. package/daemon/docs/reference/sdlc-conventions.md +6 -0
  396. package/daemon/docs/reference/seat-delivery.md +6 -0
  397. package/daemon/docs/reference/terminal-sessions.md +152 -0
  398. package/daemon/docs/reference/whats-new.md +153 -155
  399. package/daemon/specs/agents/shared/skills/core/rig-bundles-and-shareable-artifacts/SKILL.md +11 -0
  400. package/dist/build-info.js +3 -3
  401. package/dist/client.d.ts +16 -0
  402. package/dist/client.d.ts.map +1 -1
  403. package/dist/client.js +53 -25
  404. package/dist/client.js.map +1 -1
  405. package/dist/commands/attach.d.ts.map +1 -1
  406. package/dist/commands/attach.js +9 -9
  407. package/dist/commands/attach.js.map +1 -1
  408. package/dist/commands/capture.d.ts.map +1 -1
  409. package/dist/commands/capture.js +12 -4
  410. package/dist/commands/capture.js.map +1 -1
  411. package/dist/commands/daemon.d.ts.map +1 -1
  412. package/dist/commands/daemon.js +6 -1
  413. package/dist/commands/daemon.js.map +1 -1
  414. package/dist/commands/edge.d.ts.map +1 -1
  415. package/dist/commands/edge.js +2 -1
  416. package/dist/commands/edge.js.map +1 -1
  417. package/dist/commands/host.d.ts.map +1 -1
  418. package/dist/commands/host.js +17 -2
  419. package/dist/commands/host.js.map +1 -1
  420. package/dist/commands/mcp.d.ts.map +1 -1
  421. package/dist/commands/mcp.js +62 -15
  422. package/dist/commands/mcp.js.map +1 -1
  423. package/dist/commands/queue.d.ts.map +1 -1
  424. package/dist/commands/queue.js +4 -2
  425. package/dist/commands/queue.js.map +1 -1
  426. package/dist/commands/roster.d.ts +7 -27
  427. package/dist/commands/roster.d.ts.map +1 -1
  428. package/dist/commands/roster.js +17 -52
  429. package/dist/commands/roster.js.map +1 -1
  430. package/dist/commands/scope.js +3 -3
  431. package/dist/commands/scope.js.map +1 -1
  432. package/dist/commands/seat.d.ts.map +1 -1
  433. package/dist/commands/seat.js +41 -0
  434. package/dist/commands/seat.js.map +1 -1
  435. package/dist/commands/send.d.ts.map +1 -1
  436. package/dist/commands/send.js +16 -21
  437. package/dist/commands/send.js.map +1 -1
  438. package/dist/commands/start.d.ts.map +1 -1
  439. package/dist/commands/start.js +10 -6
  440. package/dist/commands/start.js.map +1 -1
  441. package/dist/commands/terminal.d.ts +32 -0
  442. package/dist/commands/terminal.d.ts.map +1 -1
  443. package/dist/commands/terminal.js +31 -9
  444. package/dist/commands/terminal.js.map +1 -1
  445. package/dist/commands/transcript.js +1 -1
  446. package/dist/commands/transcript.js.map +1 -1
  447. package/dist/commands/whoami.d.ts.map +1 -1
  448. package/dist/commands/whoami.js +2 -1
  449. package/dist/commands/whoami.js.map +1 -1
  450. package/dist/daemon-lifecycle.d.ts +4 -0
  451. package/dist/daemon-lifecycle.d.ts.map +1 -1
  452. package/dist/daemon-lifecycle.js +11 -0
  453. package/dist/daemon-lifecycle.js.map +1 -1
  454. package/dist/lib/scope/scope-audit.d.ts +1 -0
  455. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  456. package/dist/lib/scope/scope-audit.js +4 -0
  457. package/dist/lib/scope/scope-audit.js.map +1 -1
  458. package/dist/mcp-http.d.ts +38 -2
  459. package/dist/mcp-http.d.ts.map +1 -1
  460. package/dist/mcp-http.js +303 -36
  461. package/dist/mcp-http.js.map +1 -1
  462. package/dist/mcp-presence.d.ts +14 -0
  463. package/dist/mcp-presence.d.ts.map +1 -0
  464. package/dist/mcp-presence.js +50 -0
  465. package/dist/mcp-presence.js.map +1 -0
  466. package/dist/mcp-server.d.ts +12 -2
  467. package/dist/mcp-server.d.ts.map +1 -1
  468. package/dist/mcp-server.js +621 -204
  469. package/dist/mcp-server.js.map +1 -1
  470. package/dist/rig-handle.d.ts +1 -0
  471. package/dist/rig-handle.d.ts.map +1 -1
  472. package/dist/rig-handle.js +9 -0
  473. package/dist/rig-handle.js.map +1 -1
  474. package/dist/terminal-window.d.ts +3 -3
  475. package/dist/terminal-window.d.ts.map +1 -1
  476. package/dist/terminal-window.js +33 -5
  477. package/dist/terminal-window.js.map +1 -1
  478. package/package.json +5 -2
  479. package/tui/dist/daemon-client.d.ts +3 -1
  480. package/tui/dist/daemon-client.d.ts.map +1 -1
  481. package/tui/dist/daemon-client.js +4 -3
  482. package/tui/dist/daemon-client.js.map +1 -1
  483. package/tui/dist/hydrate.d.ts.map +1 -1
  484. package/tui/dist/hydrate.js +10 -2
  485. package/tui/dist/hydrate.js.map +1 -1
  486. package/tui/dist/main.js +7 -3
  487. package/tui/dist/main.js.map +1 -1
  488. package/tui/dist/navigator.d.ts.map +1 -1
  489. package/tui/dist/navigator.js +8 -5
  490. package/tui/dist/navigator.js.map +1 -1
  491. package/tui/dist/render.d.ts +6 -0
  492. package/tui/dist/render.d.ts.map +1 -1
  493. package/tui/dist/render.js +12 -5
  494. package/tui/dist/render.js.map +1 -1
  495. package/tui/dist/state.d.ts.map +1 -1
  496. package/tui/dist/state.js +2 -1
  497. package/tui/dist/state.js.map +1 -1
  498. package/tui/dist/terminals/open-window.js +2 -2
  499. package/tui/dist/terminals/open-window.js.map +1 -1
  500. package/tui/dist/topology/host-label.d.ts +7 -0
  501. package/tui/dist/topology/host-label.d.ts.map +1 -0
  502. package/tui/dist/topology/host-label.js +34 -0
  503. package/tui/dist/topology/host-label.js.map +1 -0
  504. package/tui/dist/types.d.ts +3 -0
  505. package/tui/dist/types.d.ts.map +1 -1
  506. package/ui/dist/assets/{index-DV0UNxFw.js → index-ozBodLrS.js} +168 -168
  507. package/ui/dist/index.html +1 -1
package/README.md CHANGED
@@ -26,9 +26,9 @@ use:
26
26
 
27
27
  ```sh
28
28
  # Claude Code
29
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.3/skills/rigs --skill rigs --agent claude-code
29
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.5/skills/rigs --skill rigs --agent claude-code
30
30
  # Codex
31
- npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.3/skills/rigs --skill rigs --agent codex
31
+ npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.5/skills/rigs --skill rigs --agent codex
32
32
  ```
33
33
 
34
34
  Then type `/rigs` in Claude Code, or `$rigs` in Codex, and say what you want built. The skill has your agent tell
@@ -68,11 +68,11 @@ Requires Node.js 22 or 24 and tmux, on macOS or Linux, and one working Claude Co
68
68
 
69
69
  ### Install it yourself
70
70
 
71
- This runs OpenRig's install script from the `v0.7.3` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
71
+ This runs OpenRig's install script from the `v0.7.5` release. It checks Node.js and npm, installs the latest published `@openrig/cli` with `npm install -g`, runs the Node.js and SQLite check, then runs `rig setup --dry-run` and `rig setup`. The first line prints that plan and changes nothing:
72
72
 
73
73
  ```bash
74
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh -s -- --dry-run
75
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh
74
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.5/scripts/install.sh | sh -s -- --dry-run
75
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.5/scripts/install.sh | sh
76
76
  ```
77
77
 
78
78
  If a provider isn't signed in yet, the last step reports `FAILED [4/4]`, and `rig setup` lists the sign-in under "Some steps need attention". If the only remaining failures are provider sign-ins, the install steps finished; sign in to each selected provider as below and continue.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrig-core",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "description": "OpenRig canonical skills and hooks for cross-runtime agent topology coordination, continuity, and operating discipline.",
5
5
  "author": {
6
6
  "name": "Mike Schwarz",
@@ -101,6 +101,17 @@
101
101
  ]
102
102
  }
103
103
  ],
104
+ "StopFailure": [
105
+ {
106
+ "hooks": [
107
+ {
108
+ "type": "command",
109
+ "command": "\"${OPENRIG_NODE:-node}\" \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/activity-relay.cjs\" --from-plugin",
110
+ "timeout": 5
111
+ }
112
+ ]
113
+ }
114
+ ],
104
115
  "Notification": [
105
116
  {
106
117
  "hooks": [
@@ -63,15 +63,19 @@ function buildOpenRigPayload(providerPayload, env = process.env, now = () => new
63
63
 
64
64
  if ((!sessionName && !nodeId) || !runtime || !hookEvent) return null;
65
65
 
66
- const subtype = firstString(
67
- providerPayload.subtype,
68
- providerPayload.notification_type,
69
- providerPayload.notificationType,
70
- providerPayload.tool_name,
71
- providerPayload.toolName,
72
- providerPayload.source,
73
- providerPayload.matcher
74
- );
66
+ // StopFailure has a typed error field. Never infer it from rendered error text,
67
+ // a tool name, or another event's subtype; those are not provider failures.
68
+ const subtype = runtime === "claude-code" && hookEvent === "StopFailure"
69
+ ? firstString(providerPayload.error)
70
+ : firstString(
71
+ providerPayload.subtype,
72
+ providerPayload.notification_type,
73
+ providerPayload.notificationType,
74
+ providerPayload.tool_name,
75
+ providerPayload.toolName,
76
+ providerPayload.source,
77
+ providerPayload.matcher
78
+ );
75
79
 
76
80
  return {
77
81
  sessionName,
@@ -31,7 +31,11 @@ without an owner.
31
31
  receiver gets a wake-ping plus the durable queue item.
32
32
  - **Blocked on another agent's work.** Use `rig queue block <id> --on <child>`
33
33
  (or `rig queue update <id> --state blocked --blocked-on <child>`). The item
34
- stays active and returns to pending when its blocker completes.
34
+ stays active and returns to pending when its blocker completes. Waiting on
35
+ something outside the queue, such as CI or a long job? Park the row:
36
+ `rig queue block <id> --on external:<what> --wake-after <duration>
37
+ --continuation "<what resumes>"`. It stays yours and reads parked, not
38
+ stalled, and the timer wakes you.
35
39
  - **Escalating to the human.** Make the escalation a durable attention
36
40
  item, not just a chat message.
37
41
 
@@ -128,6 +132,10 @@ inverted the default-nudge polarity.
128
132
  - **Use the write's response.** Read the row back only when the response doesn't show what you need (an indeterminate outcome, a field the compact output left out, downstream wake or pickup, a team custody rule): openrig-user, "After a queue write".
129
133
  - **Brief for the model that will read it.** Before handing a peer open-ended work, check which model it runs: `delegating-work`, "Check what kind of agent you're handing it to".
130
134
 
135
+ **Write so the receiver can act after one read.** Open with the request, decision or change that affects their next step. Use full words and ordinary spacing. Keep the limits that change that step in the message; link the supporting detail. Put reference IDs and paths after the action. Send an additional message when it changes what the receiver should do. Put the complete request near the start of the task body; its summary helps discovery and does not replace reading the body.
136
+
137
+ This is writing guidance, not a delivery filter or length limit. Preserve uncertainty and limits that affect the action. Necessary early references, acknowledgements, requested progress updates and completion returns remain allowed. The sender judges how much context is useful.
138
+
131
139
  ## Queue-body hygiene (token + parse safety)
132
140
 
133
141
  The qitem body is durable DATA the daemon stores and replays on every
@@ -139,7 +139,9 @@ issue's current status; a similar symptom alone is not a diagnosis.
139
139
 
140
140
  - Claude seats reported as needing attention after a restore: [#86](https://github.com/mvschwarz/openrig/issues/86),
141
141
  [#273](https://github.com/mvschwarz/openrig/issues/273).
142
- - Claude usage limits may not be detected: [#99](https://github.com/mvschwarz/openrig/issues/99).
142
+ - Claude usage limits may not be detected when neither a status line window nor a current
143
+ `StopFailure/rate_limit` hook is available: [#99](https://github.com/mvschwarz/openrig/issues/99).
144
+ See [Claude usage-limit detection](claude-status-line.md#claude-usage-limit-detection) for the inputs and retry behavior.
143
145
  - Codex prompt variants not recognised as idle: [#79](https://github.com/mvschwarz/openrig/issues/79).
144
146
  - Codex asks about hook trust at first launch: [#17](https://github.com/mvschwarz/openrig/issues/17), not reproduced
145
147
  by the team.
@@ -147,8 +149,9 @@ issue's current status; a similar symptom alone is not a diagnosis.
147
149
  daemon, when its Codex configuration sets network access off, a managed requirement could restrict it, or Codex
148
150
  doesn't answer OpenRig's configuration read in time: [#275](https://github.com/mvschwarz/openrig/issues/275).
149
151
  - Kernel seats fail within a second of the first start on a distribution tmux whose server exits on `capture-pane`
150
- (`tmux -V` prints `next-3.4`): [#980](https://github.com/mvschwarz/openrig/issues/980). The check and recovery
151
- are in [Incomplete setup and restart](getting-started.md#incomplete-setup-and-restart).
152
+ (`tmux -V` prints `next-3.4`): [#980](https://github.com/mvschwarz/openrig/issues/980). `rig doctor` checks for
153
+ it (`tmux_capture`); the manual check and recovery are in
154
+ [Incomplete setup and restart](getting-started.md#incomplete-setup-and-restart).
152
155
 
153
156
  For everything else, search [open issues](https://github.com/mvschwarz/openrig/issues).
154
157
 
@@ -1,6 +1,6 @@
1
1
  # Agent help: the single troubleshooting and escalation guide (docs/reference/help.md).
2
2
  name: help
3
- version: "0.7.3"
3
+ version: "0.7.5"
4
4
  taxonomy: world
5
5
  purpose: "What an agent does when its user says OpenRig isn't working: diagnose, fix within permissions, verify, and escalate to OpenRig support."
6
6
  files:
@@ -1,6 +1,6 @@
1
1
  # Public capability and source-map width for the default onboarding walk.
2
2
  name: onboarding-width
3
- version: "0.7.3"
3
+ version: "0.7.5"
4
4
  taxonomy: world
5
5
  purpose: "The public capability map and source map referenced by the default onboarding walk."
6
6
  files:
@@ -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 top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.7.3`). This marker describes the pack's teaching, not publication or live
14
+ `capability-delta-v0.7.5`). 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`.
@@ -88,7 +88,10 @@ one command away. Your memory of the fleet is a claim about the past.
88
88
  - **`rig roster list` / `show` / `find`** — who across your rigs and hosts is recommended for a
89
89
  kind of work, from JSON rosters in `<workspace.root>/rosters`. Read-only: it dispatches nothing
90
90
  and does not claim anyone is available. The built-in starter and factory leads publish their
91
- team's roster at first start. `show` and `find` include each seat's last observed model.
91
+ team's roster at first start. `show` and `find` include each seat's last observed model. A
92
+ roster entry marked `"hosted": true` is a member that lives outside a terminal (an assistant
93
+ connected over MCP); `show` and `find` say so, and when it last called the team's MCP server.
94
+ With no evidence that reads unknown, never idle.
92
95
  - **`rig telemetry events` / `transitions` / `tenures <node-id>`** — past events, queue
93
96
  transitions and a seat's occupants, one bounded page at a time with gaps reported. Reach for it
94
97
  before querying the database yourself.
@@ -208,8 +211,24 @@ unseen — which makes messages the one delivery channel that never gets skipped
208
211
  type. Only if the window cannot open, `rig tui --shared` is the dashboard-only fallback; explain
209
212
  the failure. In the window's `--json` output, `reusedWorkspace` with no new tiles means an
210
213
  existing view was reused, which is success. `--provider herdr` or `--provider cmux` opens the
211
- view in a provider that is already running, without opening a window; each such open adds a new
212
- workspace, so to come back to a view, focus its open space.
214
+ view in a provider that is already running, without opening a window. Ordinary opens add a new
215
+ workspace, so to come back to a fixed view, focus its open space; task follow mode reuses one.
216
+ **`qitem:<id>` as the view** previews or opens the current local owners of that task: its
217
+ pending, in-progress and blocked rows through explicitly linked successors, without closed
218
+ predecessors or past senders. It's a read-only membership view: stopped, missing, external and
219
+ unresolved owners are named, and incomplete lineage is reported rather than cut short. Ordinary
220
+ open is one-shot. Add **`--follow --provider herdr`** to keep one workspace as the task's owners
221
+ join and leave (Linux Herdr 0.9.5 / protocol 22 only). Joining viewers do not request focus;
222
+ departures close viewers, not agents or conversations. Typed drafts and unreadable composers
223
+ retain departed tiles, including unconfirmed Pi, terminal and community-harness input.
224
+ `--pin`, `--suppress` and `--max-tiles` adjust the view; `--no-follow` keeps the fixed layout.
225
+ A complete empty task drains removable tiles and stops following once none remain; an explicit
226
+ `--follow` resumes that workspace. `rig terminal views --json` shows saved active selectors.
227
+ The exercised journey used shell stand-ins, not native agents, and active render cost remains
228
+ unmeasured. See `reference/terminal-sessions.md` for controls and limits. Preview and open
229
+ responses carry `viewDescriptor` (`kind`, `name`); membership grants no input authority.
230
+ An unconfirmed pane is reported as `pane_unconfirmed`, not counted as opened. Inspect before
231
+ retrying: an unconfirmed result does not prove that nothing opened.
213
232
  Add `--session <name>` to select a Herdr session for that request; `--session default`
214
233
  explicitly selects its default session. `rig terminal status --session <name>` inspects
215
234
  the same endpoint. Omitting the flag keeps the daemon's configured endpoint. Herdr tiles come
@@ -594,6 +613,12 @@ because someone lost work once.
594
613
  When your user says OpenRig isn't working, start with **`rig context get help`**: the one help guide for the installed
595
614
  version, from checking the environment to a useful report to the OpenRig team.
596
615
 
616
+ - **`rig seat history --rig <id> --node-id <id>`** — which recorded Claude or Codex conversations this exact node
617
+ could resume, read-only (`--json`; check one reference with `--snapshot-id` and `--history-session-id` together).
618
+ The IDs are `rigId` in `rig ps --nodes --json` and `identity.nodeId` in `rig whoami --session <seat> --json`.
619
+ A client can then ask the daemon's startup review for that node to resume
620
+ the history the person reviewed; it rechecks the choice and refuses rather than substitute another
621
+ conversation or start fresh.
597
622
  - **`rig start`** — the box rebooted and everything is gone: bring the whole topology back in one
598
623
  move, rather than hand-restoring rig by rig. Selected-rig recovery now demands positive runtime
599
624
  evidence and refuses stale identity by name rather than substituting an occupant. `--last`
@@ -604,6 +629,9 @@ version, from checking the environment to a useful report to the OpenRig team.
604
629
  Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
605
630
  `daemon-shutdown.json` and log when completion is incomplete or unverified. No target is a
606
631
  distinct no-op, and a timeout never proves down. Use command help for exact limits and recovery.
632
+ Startup brings back a kernel that this start found down (what a reboot leaves). A kernel that
633
+ was already down before this start stays down: `rig start` and `rig daemon start
634
+ --wait-for-kernel` say so, and `rig up kernel --existing` brings it back.
607
635
  `/healthz` reports the daemon's effective UID as `euid`, beside `pid`. Running several OpenRig
608
636
  homes on one machine on purpose: `rig config set daemon.db_conflict stop` refuses a start whose
609
637
  database another live daemon already holds (the default, `warn`, only warns), and
@@ -1279,14 +1307,32 @@ your circumstances is configuration, and the ones that are not, another agent ca
1279
1307
  shell command. Its queue tools (`rig_queue_create`, `rig_queue_show`, `rig_queue_list`,
1280
1308
  `rig_queue_claim`, `rig_queue_update`, `rig_queue_handoff`, `rig_queue_unclaim`) act as the seat
1281
1309
  named by `OPENRIG_SESSION_NAME`, so an agent with no shell can hand work to the team, read the
1282
- closing note as its answer, and pass on or put back work it holds. Nothing
1283
- wakes such an agent; it sees new work when it checks. Its tools cover the whole delegation loop:
1310
+ closing note as its answer, and pass on or put back work it holds. Unless it declares a webhook
1311
+ trigger (below), nothing wakes such an agent; it sees new work when it checks. Its tools cover
1312
+ the whole delegation loop:
1284
1313
  find its seat, team and lead (`rig_whoami`, `rig_team`), hand work on and follow the handoff's
1285
1314
  successor, find finished work and read its artifact, decide inside a person's decision room,
1286
1315
  follow a restore it started (`rig_restore_status`) and read the event log
1287
1316
  (`rig_telemetry_events`). **`rig mcp serve --http`** serves the same tools to a client on another
1288
1317
  host; `rig mcp token add <name> --seat <session>` gives each caller its own grant, acting as that
1289
- seat.
1318
+ seat. `--grant-service <url>` checks each request's key with an external grant service instead
1319
+ of the token file (`--grant-service-header-file` adds one header to each lookup), and
1320
+ `--oauth-resource` with `--oauth-issuer` lets an OAuth client discover how to authenticate and
1321
+ get a standard challenge; the key and its grant still decide what a caller may do. The rows a
1322
+ granted caller's actions write record whose grant acted: attribution, not authentication.
1323
+ Clients on MCP protocol revision 2026-07-28 and on the 2025 revisions share the same endpoint.
1324
+ **An assistant connected this way can be a hosted member of a rig:** mark its roster entry
1325
+ `"hosted": true` and `rig_team` lists it with its declared capabilities and caveat, activity
1326
+ `unknown`. The server's instructions teach it the loop: its inbox, claiming, closing or handing
1327
+ on, and asking a person while keeping the item (it blocks the item on that person, and the
1328
+ answer returns it in progress). A roster entry can declare a webhook trigger (`wake.webhook`,
1329
+ with secret names, never values): OpenRig then POSTs a pointer to the row when work lands, and a
1330
+ 2xx records only that the ring was accepted, not that anything woke. When work waits for a
1331
+ member nothing can wake, or a rung member doesn't claim it in time, its person is told.
1332
+ **Internet-facing hosted members are experimental, unsupported, off by default and at your
1333
+ own risk.** Local assistants can connect locally. Internet access needs your own TLS tunnel or
1334
+ proxy and a narrowly scoped, revocable token; see `reference/hosted-members.md`. Task terminal
1335
+ following does not require internet exposure.
1290
1336
  - **`rig skill loadout --runtime <claude-code|codex>`** — inspect the exact catalog revision,
1291
1337
  selectors, target, and current/missing/shadowed/conflicting state for one working directory.
1292
1338
  `--apply` writes only the managed ownership set, is idempotent, and refuses local edits or
@@ -191,11 +191,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
191
191
  script will do and changes nothing:
192
192
 
193
193
  ```sh
194
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh -s -- --dry-run
194
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.5/scripts/install.sh | sh -s -- --dry-run
195
195
  ```
196
196
 
197
197
  The same command without `--dry-run`,
198
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.3/scripts/install.sh | sh`, installs the
198
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.5/scripts/install.sh | sh`, installs the
199
199
  latest published `@openrig/cli` with `npm install -g`,
200
200
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
201
201
  Codex and may install a missing one, as described below. A failed step prints
@@ -331,6 +331,16 @@ every seat while those seats still run the sessions it started, reports that
331
331
  restore's outcome instead of starting another. Explicitly repeating the saved
332
332
  `--non-interruptive` or `--no-non-interruptive` choice also joins that restore.
333
333
 
334
+ `rig start --last` restores a rig unless every seat it launched was stopped on
335
+ purpose with `rig down` or `rig seat stop`. A rig whose stop was never recorded
336
+ counts as last running: one taken down with `rig down` before OpenRig 0.6.12, or
337
+ one whose seats exited or were lost without `rig down`. So does a rig with no snapshot
338
+ whose saved state can be restored. To keep such a rig down, run `rig down <rig>`
339
+ once, by rig id when names are shared; it records the stop, and `--last` then
340
+ leaves the rig down. `--last` never selects the kernel. Under `--no-kernel`
341
+ (`OPENRIG_NO_KERNEL=1`) the daemon skips the kernel's automatic restore too;
342
+ bring it back with `rig up kernel --existing`.
343
+
334
344
  An explicit `rig up kernel --existing --fresh <seat...>` waits for startup's
335
345
  restore to finish, then replaces only the named seats that still hold the exact
336
346
  sessions startup launched. Other seats keep running. An operator's conversation
@@ -841,14 +851,16 @@ the lifecycle API without booting a new kernel, then stop the remaining rigs.
841
851
  | Shared terminal is absent | Inspect the existing kernel binding and recovery state; use standalone `rig tui` while resolving it. |
842
852
  | 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. |
843
853
  | Daemon restarted but tmux survived | Re-read `rig status` and the existing queue; a daemon restart is not a fresh project. |
844
- | Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when all of its seats were lost; check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
854
+ | Host reboot lost tmux sessions | Starting the daemon restores the kernel by itself when that start finds all of its seats lost; a kernel that was already down before the reboot stays down, and `rig start` names `rig up kernel --existing`. Check `rig status`, and if it reports the restore failed, run `rig up kernel --existing`. For other rigs, open `rig`, start the daemon if needed (press **S** if it opens on the work views), and select the existing rig and seats. Resume is the default; a fresh conversation needs a separate decision. |
845
855
  | Launch reports no usable snapshot | Inspect the existing rig and retained project files, then follow the same-seat recovery below. |
846
856
  | Work is waiting on a prompt or decision | Read the row, transition and named prompt; preserve the obligation until the missing decision arrives. |
847
857
 
848
858
  **When the kernel's seats all fail at the first start.** A report on Oracle Linux 10
849
859
  ([#980](https://github.com/mvschwarz/openrig/issues/980)) traced this to the distribution's packaged tmux, whose
850
- `tmux -V` prints `next-3.4`: its server exited on every `capture-pane -p`, also outside OpenRig. To check your tmux on
851
- a throwaway socket, without touching your own sessions:
860
+ `tmux -V` prints `next-3.4`: its server exited on every `capture-pane -p`, also outside OpenRig. `rig setup` (its tmux
861
+ step) and `rig doctor` (`tmux_capture` in `rig doctor --json`) run this check for you on a throwaway server and name the
862
+ fix when capture fails; they test what tmux does, not its version. To run it by hand, without touching your own
863
+ sessions:
852
864
 
853
865
  ```sh
854
866
  tmux -L "openrig-check-$$" -f /dev/null new-session -d -s check
@@ -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.3"
4
+ version: "0.7.5"
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:
@@ -314,8 +314,11 @@ ambient `OPENRIG_YOLO` it replaces. With workspace-write, OpenRig still adds its
314
314
  and, on a fresh launch, git metadata folders; with read-only it adds no writable roots. It adds
315
315
  no network setting of its own. Codex's implicit roots (the working directory and temporary
316
316
  folders) still apply: this is a native sandbox and approval selection, not a complete
317
- filesystem or credential-isolation guarantee. The field is also supported on legacy flat
318
- Codex nodes; other runtimes reject it.
317
+ filesystem or credential-isolation guarantee. OpenRig's tests prove these launch flags, not
318
+ that Codex enforces them, so check the seat's actual behaviour before relying on a narrower
319
+ envelope. An OpenRig older than 0.7.3 doesn't read a recorded envelope, so after a downgrade
320
+ the seat launches without it. The field is also supported on legacy flat Codex nodes; other
321
+ runtimes reject it.
319
322
 
320
323
  For an existing seat, put the envelope in a JSON file, or change its profile, with the existing
321
324
  audited permission command:
@@ -715,7 +718,11 @@ This is human-authored (you choose the pod/member IDs) and system-validated (the
715
718
  | `spawned_by` | Source was spawned by target; the target launches first. Constrains launch order. | Child → parent in hierarchical topologies |
716
719
  | `can_observe` | Source can observe target's output. Does NOT constrain launch order. | Reviewer → implementer, monitor → worker |
717
720
  | `collaborates_with` | Peer collaboration relationship. Does NOT constrain launch order. | Co-equal peers working together |
718
- | `escalates_to` | Source escalates to target for decisions. Does NOT constrain launch order. | Worker → lead for escalation |
721
+ | `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 |
722
+
723
+ A named `escalates_to` target may be in another rig on the same daemon and need not exist at import time.
724
+ See [fallback escalation across rigs](edge-types.md#fallback-escalation-across-rigs) for precedence, single-hop delivery,
725
+ cycle detection and visible fallback outcomes.
719
726
 
720
727
  ### Pod-Local Edges
721
728