@openrig/cli 0.7.8 → 0.7.9

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 (660) hide show
  1. package/README.md +6 -6
  2. package/daemon/assets/openshell/README.md +4 -2
  3. package/daemon/assets/openshell/guest.py +13 -0
  4. package/daemon/assets/openshell/preset.yaml +1 -0
  5. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  7. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +12 -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 +99 -29
  11. package/daemon/context-packs/reference/getting-started.md +30 -8
  12. package/daemon/context-packs/reference/instance-layout.md +11 -0
  13. package/daemon/context-packs/reference/manifest.yaml +1 -1
  14. package/daemon/context-packs/reference/rig-spec.md +61 -2
  15. package/daemon/context-packs/reference/whats-new.md +198 -140
  16. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  17. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  21. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +4 -3
  31. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  33. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +12 -3
  68. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  71. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  72. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  73. package/daemon/dist/adapters/claude-code-adapter.d.ts +6 -0
  74. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  75. package/daemon/dist/adapters/claude-code-adapter.js +14 -68
  76. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  77. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  78. package/daemon/dist/adapters/claude-resume.js +13 -4
  79. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  80. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +29 -0
  81. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  82. package/daemon/dist/adapters/codex-runtime-adapter.js +118 -12
  83. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  84. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  85. package/daemon/dist/adapters/community-harness-runtime-adapter.js +3 -0
  86. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  87. package/daemon/dist/adapters/omp-runtime-adapter.d.ts +5 -0
  88. package/daemon/dist/adapters/omp-runtime-adapter.d.ts.map +1 -1
  89. package/daemon/dist/adapters/omp-runtime-adapter.js +4 -0
  90. package/daemon/dist/adapters/omp-runtime-adapter.js.map +1 -1
  91. package/daemon/dist/adapters/openshell-driver.d.ts.map +1 -1
  92. package/daemon/dist/adapters/openshell-driver.js +8 -2
  93. package/daemon/dist/adapters/openshell-driver.js.map +1 -1
  94. package/daemon/dist/adapters/pi-runner.d.ts +39 -5
  95. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  96. package/daemon/dist/adapters/pi-runner.js +97 -19
  97. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  98. package/daemon/dist/adapters/pi-runtime-adapter.d.ts +22 -0
  99. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  100. package/daemon/dist/adapters/pi-runtime-adapter.js +39 -8
  101. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  102. package/daemon/dist/adapters/preflight-exec.d.ts +2 -0
  103. package/daemon/dist/adapters/preflight-exec.d.ts.map +1 -1
  104. package/daemon/dist/adapters/preflight-exec.js +3 -1
  105. package/daemon/dist/adapters/preflight-exec.js.map +1 -1
  106. package/daemon/dist/adapters/stub-runtime-adapter.d.ts +5 -0
  107. package/daemon/dist/adapters/stub-runtime-adapter.d.ts.map +1 -1
  108. package/daemon/dist/adapters/stub-runtime-adapter.js +7 -4
  109. package/daemon/dist/adapters/stub-runtime-adapter.js.map +1 -1
  110. package/daemon/dist/adapters/tmux-exec.d.ts +3 -0
  111. package/daemon/dist/adapters/tmux-exec.d.ts.map +1 -1
  112. package/daemon/dist/adapters/tmux-exec.js +35 -1
  113. package/daemon/dist/adapters/tmux-exec.js.map +1 -1
  114. package/daemon/dist/adapters/tmux.d.ts +3 -0
  115. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  116. package/daemon/dist/adapters/tmux.js +28 -3
  117. package/daemon/dist/adapters/tmux.js.map +1 -1
  118. package/daemon/dist/build-info.js +3 -3
  119. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  120. package/daemon/dist/db/all-migrations.js +8 -0
  121. package/daemon/dist/db/all-migrations.js.map +1 -1
  122. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts +6 -0
  123. package/daemon/dist/db/migrations/146_node_startup_guidance_file.d.ts.map +1 -0
  124. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js +8 -0
  125. package/daemon/dist/db/migrations/146_node_startup_guidance_file.js.map +1 -0
  126. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts +9 -0
  127. package/daemon/dist/db/migrations/147_managed_block_writes.d.ts.map +1 -0
  128. package/daemon/dist/db/migrations/147_managed_block_writes.js +19 -0
  129. package/daemon/dist/db/migrations/147_managed_block_writes.js.map +1 -0
  130. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts +8 -0
  131. package/daemon/dist/db/migrations/148_outbox_dispatched_index.d.ts.map +1 -0
  132. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js +12 -0
  133. package/daemon/dist/db/migrations/148_outbox_dispatched_index.js.map +1 -0
  134. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts +4 -0
  135. package/daemon/dist/db/migrations/149_stream_intake_cursor.d.ts.map +1 -0
  136. package/daemon/dist/db/migrations/149_stream_intake_cursor.js +14 -0
  137. package/daemon/dist/db/migrations/149_stream_intake_cursor.js.map +1 -0
  138. package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
  139. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
  140. package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
  141. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  142. package/daemon/dist/domain/bootstrap-orchestrator.js +3 -1
  143. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  144. package/daemon/dist/domain/bundle-archive.d.ts.map +1 -1
  145. package/daemon/dist/domain/bundle-archive.js +40 -4
  146. package/daemon/dist/domain/bundle-archive.js.map +1 -1
  147. package/daemon/dist/domain/bundle-behaviour.d.ts.map +1 -1
  148. package/daemon/dist/domain/bundle-behaviour.js +7 -0
  149. package/daemon/dist/domain/bundle-behaviour.js.map +1 -1
  150. package/daemon/dist/domain/bundle-content-routing.d.ts +1 -0
  151. package/daemon/dist/domain/bundle-content-routing.d.ts.map +1 -1
  152. package/daemon/dist/domain/bundle-content-routing.js +3 -1
  153. package/daemon/dist/domain/bundle-content-routing.js.map +1 -1
  154. package/daemon/dist/domain/bundle-source-resolver.d.ts +2 -0
  155. package/daemon/dist/domain/bundle-source-resolver.d.ts.map +1 -1
  156. package/daemon/dist/domain/bundle-source-resolver.js +4 -4
  157. package/daemon/dist/domain/bundle-source-resolver.js.map +1 -1
  158. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +1 -1
  159. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  160. package/daemon/dist/domain/claude-compaction-enforcer.js +14 -9
  161. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  162. package/daemon/dist/domain/claude-owned-settings.d.ts +19 -0
  163. package/daemon/dist/domain/claude-owned-settings.d.ts.map +1 -0
  164. package/daemon/dist/domain/claude-owned-settings.js +160 -0
  165. package/daemon/dist/domain/claude-owned-settings.js.map +1 -0
  166. package/daemon/dist/domain/claude-plugin-channels.d.ts +2 -0
  167. package/daemon/dist/domain/claude-plugin-channels.d.ts.map +1 -0
  168. package/daemon/dist/domain/claude-plugin-channels.js +12 -0
  169. package/daemon/dist/domain/claude-plugin-channels.js.map +1 -0
  170. package/daemon/dist/domain/claude-theme-menu.d.ts +5 -0
  171. package/daemon/dist/domain/claude-theme-menu.d.ts.map +1 -0
  172. package/daemon/dist/domain/claude-theme-menu.js +43 -0
  173. package/daemon/dist/domain/claude-theme-menu.js.map +1 -0
  174. package/daemon/dist/domain/codex-pane-patterns.d.ts +1 -0
  175. package/daemon/dist/domain/codex-pane-patterns.d.ts.map +1 -1
  176. package/daemon/dist/domain/codex-pane-patterns.js +2 -0
  177. package/daemon/dist/domain/codex-pane-patterns.js.map +1 -1
  178. package/daemon/dist/domain/composer-prompts.d.ts +2 -0
  179. package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
  180. package/daemon/dist/domain/composer-prompts.js +3 -2
  181. package/daemon/dist/domain/composer-prompts.js.map +1 -1
  182. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts +10 -6
  183. package/daemon/dist/domain/desired-claude-activity-hooks.d.ts.map +1 -1
  184. package/daemon/dist/domain/desired-claude-activity-hooks.js +69 -13
  185. package/daemon/dist/domain/desired-claude-activity-hooks.js.map +1 -1
  186. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  187. package/daemon/dist/domain/draft-aware-delivery.js +8 -2
  188. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  189. package/daemon/dist/domain/environment-lifecycle.d.ts +7 -0
  190. package/daemon/dist/domain/environment-lifecycle.d.ts.map +1 -1
  191. package/daemon/dist/domain/environment-lifecycle.js +15 -2
  192. package/daemon/dist/domain/environment-lifecycle.js.map +1 -1
  193. package/daemon/dist/domain/environment-startup.d.ts +3 -1
  194. package/daemon/dist/domain/environment-startup.d.ts.map +1 -1
  195. package/daemon/dist/domain/environment-startup.js +31 -5
  196. package/daemon/dist/domain/environment-startup.js.map +1 -1
  197. package/daemon/dist/domain/gateway/human-readiness.d.ts +2 -1
  198. package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -1
  199. package/daemon/dist/domain/gateway/human-readiness.js +6 -0
  200. package/daemon/dist/domain/gateway/human-readiness.js.map +1 -1
  201. package/daemon/dist/domain/gateway/human-registry.d.ts +2 -1
  202. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  203. package/daemon/dist/domain/gateway/human-registry.js +9 -7
  204. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  205. package/daemon/dist/domain/gateway/participants.d.ts +26 -0
  206. package/daemon/dist/domain/gateway/participants.d.ts.map +1 -1
  207. package/daemon/dist/domain/gateway/participants.js +15 -0
  208. package/daemon/dist/domain/gateway/participants.js.map +1 -1
  209. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  210. package/daemon/dist/domain/gateway/slack/inbound.js +21 -5
  211. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  212. package/daemon/dist/domain/gateway/slack/message.d.ts +3 -0
  213. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  214. package/daemon/dist/domain/gateway/slack/message.js +4 -3
  215. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  216. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +3 -2
  217. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  218. package/daemon/dist/domain/gateway/slack/queue-access.js +17 -6
  219. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  220. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts +1 -0
  221. package/daemon/dist/domain/gateway/slack/recovery-budget.d.ts.map +1 -1
  222. package/daemon/dist/domain/gateway/slack/recovery-budget.js +1 -0
  223. package/daemon/dist/domain/gateway/slack/recovery-budget.js.map +1 -1
  224. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts +37 -0
  225. package/daemon/dist/domain/gateway/slack/settled-asks.d.ts.map +1 -0
  226. package/daemon/dist/domain/gateway/slack/settled-asks.js +276 -0
  227. package/daemon/dist/domain/gateway/slack/settled-asks.js.map +1 -0
  228. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +32 -0
  229. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -1
  230. package/daemon/dist/domain/gateway/slack/slack-api.js +40 -2
  231. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -1
  232. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  233. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +30 -6
  234. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  235. package/daemon/dist/domain/human-questions.d.ts +3 -1
  236. package/daemon/dist/domain/human-questions.d.ts.map +1 -1
  237. package/daemon/dist/domain/human-questions.js.map +1 -1
  238. package/daemon/dist/domain/kernel-boot-tracker.d.ts +3 -2
  239. package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -1
  240. package/daemon/dist/domain/kernel-boot-tracker.js +2 -1
  241. package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -1
  242. package/daemon/dist/domain/kernel-boot.d.ts +11 -6
  243. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  244. package/daemon/dist/domain/kernel-boot.js +27 -5
  245. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  246. package/daemon/dist/domain/kernel-hook-review.d.ts +3 -1
  247. package/daemon/dist/domain/kernel-hook-review.d.ts.map +1 -1
  248. package/daemon/dist/domain/kernel-hook-review.js +12 -3
  249. package/daemon/dist/domain/kernel-hook-review.js.map +1 -1
  250. package/daemon/dist/domain/managed-block-records.d.ts +54 -0
  251. package/daemon/dist/domain/managed-block-records.d.ts.map +1 -0
  252. package/daemon/dist/domain/managed-block-records.js +130 -0
  253. package/daemon/dist/domain/managed-block-records.js.map +1 -0
  254. package/daemon/dist/domain/managed-blocks.d.ts +14 -0
  255. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  256. package/daemon/dist/domain/managed-blocks.js +24 -4
  257. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  258. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +26 -10
  259. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  260. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +98 -26
  261. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  262. package/daemon/dist/domain/native-process-lineage.d.ts +2 -1
  263. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  264. package/daemon/dist/domain/native-process-lineage.js +57 -5
  265. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  266. package/daemon/dist/domain/node-inventory.d.ts +1 -0
  267. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  268. package/daemon/dist/domain/node-inventory.js +24 -2
  269. package/daemon/dist/domain/node-inventory.js.map +1 -1
  270. package/daemon/dist/domain/outbox-handler.d.ts +5 -0
  271. package/daemon/dist/domain/outbox-handler.d.ts.map +1 -1
  272. package/daemon/dist/domain/outbox-handler.js +28 -0
  273. package/daemon/dist/domain/outbox-handler.js.map +1 -1
  274. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  275. package/daemon/dist/domain/profile-resolver.js +7 -1
  276. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  277. package/daemon/dist/domain/queue-recovery.d.ts +1 -1
  278. package/daemon/dist/domain/queue-recovery.d.ts.map +1 -1
  279. package/daemon/dist/domain/queue-recovery.js +6 -2
  280. package/daemon/dist/domain/queue-recovery.js.map +1 -1
  281. package/daemon/dist/domain/queue-repository.d.ts +32 -7
  282. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  283. package/daemon/dist/domain/queue-repository.js +165 -50
  284. package/daemon/dist/domain/queue-repository.js.map +1 -1
  285. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  286. package/daemon/dist/domain/queue-stuck-sweep.js +28 -4
  287. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  288. package/daemon/dist/domain/queue-transition-log.d.ts +2 -0
  289. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  290. package/daemon/dist/domain/queue-transition-log.js +9 -0
  291. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  292. package/daemon/dist/domain/restore-guidance.d.ts +70 -7
  293. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  294. package/daemon/dist/domain/restore-guidance.js +181 -18
  295. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  296. package/daemon/dist/domain/restore-orchestrator.d.ts +5 -0
  297. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  298. package/daemon/dist/domain/restore-orchestrator.js +115 -17
  299. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  300. package/daemon/dist/domain/rig-repository.d.ts +4 -0
  301. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  302. package/daemon/dist/domain/rig-repository.js +20 -1
  303. package/daemon/dist/domain/rig-repository.js.map +1 -1
  304. package/daemon/dist/domain/rig-teardown.d.ts +18 -0
  305. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  306. package/daemon/dist/domain/rig-teardown.js +73 -17
  307. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  308. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  309. package/daemon/dist/domain/rigspec-codec.js +2 -0
  310. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  311. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  312. package/daemon/dist/domain/rigspec-exporter.js +6 -1
  313. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  314. package/daemon/dist/domain/rigspec-instantiator.d.ts +7 -4
  315. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  316. package/daemon/dist/domain/rigspec-instantiator.js +19 -7
  317. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  318. package/daemon/dist/domain/rigspec-preflight.d.ts +4 -0
  319. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  320. package/daemon/dist/domain/rigspec-preflight.js +35 -1
  321. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  322. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  323. package/daemon/dist/domain/rigspec-schema.js +32 -5
  324. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  325. package/daemon/dist/domain/runner-permissions.d.ts +15 -0
  326. package/daemon/dist/domain/runner-permissions.d.ts.map +1 -1
  327. package/daemon/dist/domain/runner-permissions.js +74 -9
  328. package/daemon/dist/domain/runner-permissions.js.map +1 -1
  329. package/daemon/dist/domain/runtime-adapter.d.ts +19 -1
  330. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  331. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  332. package/daemon/dist/domain/runtime-switch-materials.d.ts.map +1 -1
  333. package/daemon/dist/domain/runtime-switch-materials.js +3 -0
  334. package/daemon/dist/domain/runtime-switch-materials.js.map +1 -1
  335. package/daemon/dist/domain/runtime-verifier.d.ts.map +1 -1
  336. package/daemon/dist/domain/runtime-verifier.js +9 -4
  337. package/daemon/dist/domain/runtime-verifier.js.map +1 -1
  338. package/daemon/dist/domain/scope/scope-audit.d.ts +1 -1
  339. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  340. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  341. package/daemon/dist/domain/scope/types.d.ts +3 -0
  342. package/daemon/dist/domain/scope/types.d.ts.map +1 -1
  343. package/daemon/dist/domain/scope/types.js.map +1 -1
  344. package/daemon/dist/domain/seat-activity-service.d.ts +7 -0
  345. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  346. package/daemon/dist/domain/seat-activity-service.js +47 -7
  347. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  348. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  349. package/daemon/dist/domain/seat-attention-reconciler.js +8 -1
  350. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  351. package/daemon/dist/domain/seat-delivery-guard.d.ts +22 -4
  352. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  353. package/daemon/dist/domain/seat-delivery-guard.js +80 -11
  354. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  355. package/daemon/dist/domain/seat-handover-service.d.ts +23 -10
  356. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  357. package/daemon/dist/domain/seat-handover-service.js +119 -3
  358. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  359. package/daemon/dist/domain/seat-launch-additions.d.ts +6 -0
  360. package/daemon/dist/domain/seat-launch-additions.d.ts.map +1 -1
  361. package/daemon/dist/domain/seat-launch-additions.js +41 -11
  362. package/daemon/dist/domain/seat-launch-additions.js.map +1 -1
  363. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  364. package/daemon/dist/domain/seat-lifecycle-service.js +3 -1
  365. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  366. package/daemon/dist/domain/seat-runtime-switch-service.d.ts.map +1 -1
  367. package/daemon/dist/domain/seat-runtime-switch-service.js +17 -3
  368. package/daemon/dist/domain/seat-runtime-switch-service.js.map +1 -1
  369. package/daemon/dist/domain/seat-skill-storage.d.ts +2 -2
  370. package/daemon/dist/domain/seat-skill-storage.js +2 -2
  371. package/daemon/dist/domain/seat-structural-activity-service.d.ts +15 -5
  372. package/daemon/dist/domain/seat-structural-activity-service.d.ts.map +1 -1
  373. package/daemon/dist/domain/seat-structural-activity-service.js +21 -7
  374. package/daemon/dist/domain/seat-structural-activity-service.js.map +1 -1
  375. package/daemon/dist/domain/session-transport.d.ts +7 -0
  376. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  377. package/daemon/dist/domain/session-transport.js +145 -31
  378. package/daemon/dist/domain/session-transport.js.map +1 -1
  379. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  380. package/daemon/dist/domain/snapshot-capture.js +1 -0
  381. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  382. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +2 -0
  383. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -1
  384. package/daemon/dist/domain/spec-library-workflow-scanner.js +5 -1
  385. package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -1
  386. package/daemon/dist/domain/startup-orchestrator.d.ts +1 -0
  387. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  388. package/daemon/dist/domain/startup-orchestrator.js +74 -7
  389. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  390. package/daemon/dist/domain/stream-intake.d.ts +51 -0
  391. package/daemon/dist/domain/stream-intake.d.ts.map +1 -0
  392. package/daemon/dist/domain/stream-intake.js +438 -0
  393. package/daemon/dist/domain/stream-intake.js.map +1 -0
  394. package/daemon/dist/domain/successor-session-launcher.d.ts +2 -0
  395. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  396. package/daemon/dist/domain/successor-session-launcher.js +1 -0
  397. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  398. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  399. package/daemon/dist/domain/terminal/herdr-adapter.js +4 -3
  400. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  401. package/daemon/dist/domain/terminal/herdr-viewer.d.ts.map +1 -1
  402. package/daemon/dist/domain/terminal/herdr-viewer.js +8 -4
  403. package/daemon/dist/domain/terminal/herdr-viewer.js.map +1 -1
  404. package/daemon/dist/domain/terminal/login-shell.d.ts +10 -0
  405. package/daemon/dist/domain/terminal/login-shell.d.ts.map +1 -0
  406. package/daemon/dist/domain/terminal/login-shell.js +37 -0
  407. package/daemon/dist/domain/terminal/login-shell.js.map +1 -0
  408. package/daemon/dist/domain/terminal/rex-layout.d.ts.map +1 -1
  409. package/daemon/dist/domain/terminal/rex-layout.js +2 -1
  410. package/daemon/dist/domain/terminal/rex-layout.js.map +1 -1
  411. package/daemon/dist/domain/terminal/tile-attach.d.ts.map +1 -1
  412. package/daemon/dist/domain/terminal/tile-attach.js +15 -5
  413. package/daemon/dist/domain/terminal/tile-attach.js.map +1 -1
  414. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  415. package/daemon/dist/domain/transcript-store.js +11 -5
  416. package/daemon/dist/domain/transcript-store.js.map +1 -1
  417. package/daemon/dist/domain/types.d.ts +16 -0
  418. package/daemon/dist/domain/types.d.ts.map +1 -1
  419. package/daemon/dist/domain/types.js.map +1 -1
  420. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  421. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  422. package/daemon/dist/domain/user-settings/settings-store.js +14 -0
  423. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  424. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts +11 -0
  425. package/daemon/dist/domain/watchdog-delivery-receipts.d.ts.map +1 -0
  426. package/daemon/dist/domain/watchdog-delivery-receipts.js +134 -0
  427. package/daemon/dist/domain/watchdog-delivery-receipts.js.map +1 -0
  428. package/daemon/dist/domain/watchdog-delivery.d.ts +6 -1
  429. package/daemon/dist/domain/watchdog-delivery.d.ts.map +1 -1
  430. package/daemon/dist/domain/watchdog-delivery.js +10 -6
  431. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  432. package/daemon/dist/domain/watchdog-policy-engine.d.ts +19 -2
  433. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  434. package/daemon/dist/domain/watchdog-policy-engine.js +49 -22
  435. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  436. package/daemon/dist/domain/workflow-projector.js +3 -3
  437. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  438. package/daemon/dist/domain/workflow-runtime.js +3 -3
  439. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  440. package/daemon/dist/domain/working-liveness.d.ts +66 -0
  441. package/daemon/dist/domain/working-liveness.d.ts.map +1 -0
  442. package/daemon/dist/domain/working-liveness.js +94 -0
  443. package/daemon/dist/domain/working-liveness.js.map +1 -0
  444. package/daemon/dist/domain/workspace/frontmatter-validator.js +4 -2
  445. package/daemon/dist/domain/workspace/frontmatter-validator.js.map +1 -1
  446. package/daemon/dist/index.d.ts +1 -1
  447. package/daemon/dist/index.d.ts.map +1 -1
  448. package/daemon/dist/index.js +3 -0
  449. package/daemon/dist/index.js.map +1 -1
  450. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  451. package/daemon/dist/lib/pane-envelope.js +9 -3
  452. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  453. package/daemon/dist/middleware/auth-bearer-token.js +2 -2
  454. package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
  455. package/daemon/dist/routes/activity.d.ts +2 -0
  456. package/daemon/dist/routes/activity.d.ts.map +1 -1
  457. package/daemon/dist/routes/activity.js +60 -5
  458. package/daemon/dist/routes/activity.js.map +1 -1
  459. package/daemon/dist/routes/attention.d.ts.map +1 -1
  460. package/daemon/dist/routes/attention.js +17 -5
  461. package/daemon/dist/routes/attention.js.map +1 -1
  462. package/daemon/dist/routes/bundles.js +3 -1
  463. package/daemon/dist/routes/bundles.js.map +1 -1
  464. package/daemon/dist/routes/gateway.d.ts +6 -0
  465. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  466. package/daemon/dist/routes/gateway.js +39 -0
  467. package/daemon/dist/routes/gateway.js.map +1 -1
  468. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  469. package/daemon/dist/routes/hosts.js +26 -4
  470. package/daemon/dist/routes/hosts.js.map +1 -1
  471. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  472. package/daemon/dist/routes/mission-control.js +6 -1
  473. package/daemon/dist/routes/mission-control.js.map +1 -1
  474. package/daemon/dist/routes/queue.d.ts.map +1 -1
  475. package/daemon/dist/routes/queue.js +21 -2
  476. package/daemon/dist/routes/queue.js.map +1 -1
  477. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  478. package/daemon/dist/routes/scope-audit.js +30 -0
  479. package/daemon/dist/routes/scope-audit.js.map +1 -1
  480. package/daemon/dist/routes/seat.d.ts.map +1 -1
  481. package/daemon/dist/routes/seat.js +3 -3
  482. package/daemon/dist/routes/seat.js.map +1 -1
  483. package/daemon/dist/routes/spec-library.d.ts.map +1 -1
  484. package/daemon/dist/routes/spec-library.js +60 -5
  485. package/daemon/dist/routes/spec-library.js.map +1 -1
  486. package/daemon/dist/routes/startup.js +2 -2
  487. package/daemon/dist/routes/startup.js.map +1 -1
  488. package/daemon/dist/routes/transport.d.ts.map +1 -1
  489. package/daemon/dist/routes/transport.js +8 -3
  490. package/daemon/dist/routes/transport.js.map +1 -1
  491. package/daemon/dist/server.d.ts +1 -0
  492. package/daemon/dist/server.d.ts.map +1 -1
  493. package/daemon/dist/server.js +1 -0
  494. package/daemon/dist/server.js.map +1 -1
  495. package/daemon/dist/startup.d.ts.map +1 -1
  496. package/daemon/dist/startup.js +30 -12
  497. package/daemon/dist/startup.js.map +1 -1
  498. package/daemon/docs/reference/agent-spec.md +1 -1
  499. package/daemon/docs/reference/agent-startup-guide.md +115 -3
  500. package/daemon/docs/reference/agent-state-taxonomy.md +23 -2
  501. package/daemon/docs/reference/author-contracts.md +6 -6
  502. package/daemon/docs/reference/checked-seat-stop.md +12 -1
  503. package/daemon/docs/reference/community-harness-examples/dsh/README.md +32 -7
  504. package/daemon/docs/reference/community-harness-examples/dsh/dsh.yaml +2 -2
  505. package/daemon/docs/reference/community-harness-examples/dsh/openrig-dsh-runner.mjs +101 -18
  506. package/daemon/docs/reference/daemon-http-clients.md +203 -0
  507. package/daemon/docs/reference/execution-platform-contract.md +1 -1
  508. package/daemon/docs/reference/gateway-participants.md +29 -17
  509. package/daemon/docs/reference/getting-started.md +30 -8
  510. package/daemon/docs/reference/harness-runner-contract.md +93 -19
  511. package/daemon/docs/reference/hosted-members.md +32 -0
  512. package/daemon/docs/reference/instance-layout.md +11 -0
  513. package/daemon/docs/reference/keeping-a-watch.md +22 -0
  514. package/daemon/docs/reference/pi-tool-selection-recovery.md +2 -1
  515. package/daemon/docs/reference/quickstart.md +9 -4
  516. package/daemon/docs/reference/rig-bundle.md +2 -2
  517. package/daemon/docs/reference/rig-spec.md +61 -2
  518. package/daemon/docs/reference/runner-conformance/README.md +5 -3
  519. package/daemon/docs/reference/runner-conformance/check-runner.mjs +136 -16
  520. package/daemon/docs/reference/runner-conformance/fake-acp-agent.mjs +10 -3
  521. package/daemon/docs/reference/sdlc-conventions.md +22 -3
  522. package/daemon/docs/reference/seat-delivery.md +31 -6
  523. package/daemon/docs/reference/slack-app-setup.md +55 -5
  524. package/daemon/docs/reference/terminal-sessions.md +15 -5
  525. package/daemon/docs/reference/whats-new.md +198 -140
  526. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +4 -3
  527. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/backup-sqlite.mjs +90 -14
  528. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +2 -1
  529. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +1 -1
  530. package/dist/atomic-text-write.d.ts +2 -0
  531. package/dist/atomic-text-write.d.ts.map +1 -1
  532. package/dist/atomic-text-write.js +17 -0
  533. package/dist/atomic-text-write.js.map +1 -1
  534. package/dist/build-info.js +3 -3
  535. package/dist/commands/broadcast.js +2 -1
  536. package/dist/commands/broadcast.js.map +1 -1
  537. package/dist/commands/config.d.ts.map +1 -1
  538. package/dist/commands/config.js +1 -0
  539. package/dist/commands/config.js.map +1 -1
  540. package/dist/commands/context.d.ts.map +1 -1
  541. package/dist/commands/context.js +1 -0
  542. package/dist/commands/context.js.map +1 -1
  543. package/dist/commands/doctor.d.ts +1 -1
  544. package/dist/commands/doctor.d.ts.map +1 -1
  545. package/dist/commands/doctor.js +48 -6
  546. package/dist/commands/doctor.js.map +1 -1
  547. package/dist/commands/down.d.ts.map +1 -1
  548. package/dist/commands/down.js +10 -0
  549. package/dist/commands/down.js.map +1 -1
  550. package/dist/commands/env.d.ts.map +1 -1
  551. package/dist/commands/env.js +9 -3
  552. package/dist/commands/env.js.map +1 -1
  553. package/dist/commands/environment.d.ts.map +1 -1
  554. package/dist/commands/environment.js +5 -2
  555. package/dist/commands/environment.js.map +1 -1
  556. package/dist/commands/export.d.ts +2 -0
  557. package/dist/commands/export.d.ts.map +1 -1
  558. package/dist/commands/export.js +26 -5
  559. package/dist/commands/export.js.map +1 -1
  560. package/dist/commands/gateway.js +15 -11
  561. package/dist/commands/gateway.js.map +1 -1
  562. package/dist/commands/host.d.ts +13 -6
  563. package/dist/commands/host.d.ts.map +1 -1
  564. package/dist/commands/host.js +35 -8
  565. package/dist/commands/host.js.map +1 -1
  566. package/dist/commands/project-jev.js +1 -1
  567. package/dist/commands/project-jev.js.map +1 -1
  568. package/dist/commands/provider.d.ts.map +1 -1
  569. package/dist/commands/provider.js +10 -5
  570. package/dist/commands/provider.js.map +1 -1
  571. package/dist/commands/ps.d.ts +2 -0
  572. package/dist/commands/ps.d.ts.map +1 -1
  573. package/dist/commands/ps.js +12 -3
  574. package/dist/commands/ps.js.map +1 -1
  575. package/dist/commands/queue.d.ts +1 -0
  576. package/dist/commands/queue.d.ts.map +1 -1
  577. package/dist/commands/queue.js +38 -4
  578. package/dist/commands/queue.js.map +1 -1
  579. package/dist/commands/scope.d.ts.map +1 -1
  580. package/dist/commands/scope.js +36 -2
  581. package/dist/commands/scope.js.map +1 -1
  582. package/dist/commands/seat.d.ts.map +1 -1
  583. package/dist/commands/seat.js +31 -4
  584. package/dist/commands/seat.js.map +1 -1
  585. package/dist/commands/send.d.ts.map +1 -1
  586. package/dist/commands/send.js +46 -16
  587. package/dist/commands/send.js.map +1 -1
  588. package/dist/commands/slack.d.ts.map +1 -1
  589. package/dist/commands/slack.js +5 -0
  590. package/dist/commands/slack.js.map +1 -1
  591. package/dist/commands/specs.d.ts +1 -1
  592. package/dist/commands/specs.d.ts.map +1 -1
  593. package/dist/commands/specs.js +44 -10
  594. package/dist/commands/specs.js.map +1 -1
  595. package/dist/commands/stream.d.ts.map +1 -1
  596. package/dist/commands/stream.js +6 -1
  597. package/dist/commands/stream.js.map +1 -1
  598. package/dist/commands/topology-default-agent.js +1 -1
  599. package/dist/commands/topology-default-agent.js.map +1 -1
  600. package/dist/commands/walk.d.ts.map +1 -1
  601. package/dist/commands/walk.js +27 -10
  602. package/dist/commands/walk.js.map +1 -1
  603. package/dist/commands/workspace.d.ts.map +1 -1
  604. package/dist/commands/workspace.js +8 -1
  605. package/dist/commands/workspace.js.map +1 -1
  606. package/dist/config-store.d.ts +7 -1
  607. package/dist/config-store.d.ts.map +1 -1
  608. package/dist/config-store.js +23 -2
  609. package/dist/config-store.js.map +1 -1
  610. package/dist/lib/scope/progress-edit.d.ts.map +1 -1
  611. package/dist/lib/scope/progress-edit.js +37 -7
  612. package/dist/lib/scope/progress-edit.js.map +1 -1
  613. package/dist/lib/scope/scope-audit.d.ts +1 -1
  614. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  615. package/dist/lib/scope/scope-audit.js.map +1 -1
  616. package/dist/lib/scope/scope-fs.d.ts +3 -0
  617. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  618. package/dist/lib/scope/scope-fs.js +39 -53
  619. package/dist/lib/scope/scope-fs.js.map +1 -1
  620. package/dist/lib/scope/types.d.ts +3 -0
  621. package/dist/lib/scope/types.d.ts.map +1 -1
  622. package/dist/lib/scope/types.js.map +1 -1
  623. package/dist/mcp-server.d.ts.map +1 -1
  624. package/dist/mcp-server.js +53 -16
  625. package/dist/mcp-server.js.map +1 -1
  626. package/dist/seat-launch-additions-lines.d.ts +2 -0
  627. package/dist/seat-launch-additions-lines.d.ts.map +1 -1
  628. package/dist/seat-launch-additions-lines.js +1 -0
  629. package/dist/seat-launch-additions-lines.js.map +1 -1
  630. package/package.json +1 -1
  631. package/tui/dist/attention/attention-model.d.ts +3 -2
  632. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  633. package/tui/dist/attention/attention-model.js +7 -4
  634. package/tui/dist/attention/attention-model.js.map +1 -1
  635. package/tui/dist/daemon-client.d.ts +4 -4
  636. package/tui/dist/daemon-client.d.ts.map +1 -1
  637. package/tui/dist/daemon-client.js +6 -5
  638. package/tui/dist/daemon-client.js.map +1 -1
  639. package/tui/dist/hydrate.d.ts.map +1 -1
  640. package/tui/dist/hydrate.js +10 -4
  641. package/tui/dist/hydrate.js.map +1 -1
  642. package/tui/dist/pulse/pulse-model.d.ts +1 -1
  643. package/tui/dist/pulse/pulse-model.d.ts.map +1 -1
  644. package/tui/dist/pulse/pulse-model.js +6 -17
  645. package/tui/dist/pulse/pulse-model.js.map +1 -1
  646. package/tui/dist/render.js +1 -1
  647. package/tui/dist/render.js.map +1 -1
  648. package/tui/dist/theme.d.ts.map +1 -1
  649. package/tui/dist/theme.js +7 -2
  650. package/tui/dist/theme.js.map +1 -1
  651. package/tui/dist/time.d.ts +2 -0
  652. package/tui/dist/time.d.ts.map +1 -1
  653. package/tui/dist/time.js +5 -0
  654. package/tui/dist/time.js.map +1 -1
  655. package/tui/dist/types.d.ts +2 -3
  656. package/tui/dist/types.d.ts.map +1 -1
  657. package/ui/dist/assets/index-BFOs3ejL.css +32 -0
  658. package/ui/dist/assets/{index-Ch6UxNld.js → index-CdkFwtld.js} +81 -81
  659. package/ui/dist/index.html +2 -2
  660. package/ui/dist/assets/index-DNU3XZr_.css +0 -32
@@ -144,6 +144,23 @@ changes either. `rig scope` reads an `established` or `canonical` slice whose
144
144
  `verified:` is missing, has no source, names a tool-scaffolded placeholder, or is
145
145
  older than 90 days as `provisional`.
146
146
 
147
+ A slice's frontmatter may also carry `status:`. `GET /api/slices` reports the
148
+ bucket each word falls in as the slice's `status`, and its
149
+ `?filter=all|active|done|blocked` filters on that bucket:
150
+
151
+ | `status:` word | Bucket |
152
+ | --- | --- |
153
+ | `active`, `in-flight`, `ratified` | `active` |
154
+ | `draft`, `draft-pending-orch-ratification`, `placeholder` | `draft` |
155
+ | `done`, `shipped`, `promoted`, `closed` | `done` |
156
+ | `blocked`, `parked-with-evidence` | `blocked` |
157
+
158
+ Words are matched ignoring case. Any other word is matched by what it contains:
159
+ `done`, `ship` or `close` makes it `done`; `block` or `park`, `blocked`; `draft`
160
+ or `pending`, `draft`. A word that matches none of these counts as `active`, so a
161
+ slice marked `complete` counts as `active`. A slice with no `status:` counts as
162
+ `draft`.
163
+
147
164
  When the owning scope selects `proofPolicy.judges`, use `rig proof judge` to
148
165
  record an attributed accept, reject or withdraw decision on a contract item,
149
166
  and `rig proof show` to read derived readiness up through slice, mission and
@@ -178,9 +195,11 @@ missions whose `mission.yaml` carries `metadata.status: active` or
178
195
  a mission does not change the project's readiness. A `planned` mission stays
179
196
  outside the rollup, even after its slices are accepted, until someone changes
180
197
  its status to `active` (or `release-candidate` for a release that is ready to
181
- judge). Nothing changes the status automatically. Missions created before this
182
- default carry no status and are not counted either; add the line by hand to
183
- include them. It also writes `metadata.name`, the mission's folder name, which
198
+ judge). Nothing changes the status automatically. A mission can also carry
199
+ `metadata.status: complete`, which only `POST /api/missions/:missionId/complete`
200
+ writes (no `rig` verb does); a `complete` mission is outside the rollup too.
201
+ Missions created before this default carry no status and are not counted either;
202
+ add the line by hand to include them. It also writes `metadata.name`, the mission's folder name, which
184
203
  the project lifecycle compiler requires; a mission created without it refuses to
185
204
  compile with `lifecycle_field_missing` until you add that line.
186
205
 
@@ -10,7 +10,7 @@ type: `openrig-urgent`, `urgent-only` and `sends-only`. Sibling seats keep their
10
10
  | `off` (default) | Existing delivery and prompt checks | Existing send result |
11
11
  | `draft-aware` | Paste into a recognized empty composer; check ownership again before Enter | Hold input and retain this attempt for inspection when bookkeeping is available |
12
12
  | `openrig-urgent` | OpenRig's own messages (watchdogs, scheduled wakes, notices) and anything marked urgent type, never over a draft | Other agents' messages are held, the sender is told, and held messages stay readable |
13
- | `urgent-only` | Only messages marked urgent type (`rig send --urgent`, or a queue item at priority urgent or critical), never over a draft | Everything else is held, the sender is told, and held messages stay readable |
13
+ | `urgent-only` | Only messages marked urgent type (`rig send --urgent`, `urgent: true` on `POST /api/transport/send`, or a queue item at priority urgent or critical), never over a draft | Everything else is held, the sender is told, and held messages stay readable |
14
14
  | `sends-only` | Deliberate sends from people and agents type, as with `off`; a terminal member's typing isn't protected, because its shell input can't be read | OpenRig's own notices are held. A terminal member defaults to this level |
15
15
  | `hold` | No automatic terminal input, even at an empty prompt | Retain for inspection outside the pane |
16
16
 
@@ -111,8 +111,18 @@ their existing behaviour.
111
111
 
112
112
  ### Terminal delivery
113
113
 
114
- Run from a seat shell with `OPENRIG_SESSION_NAME` set; the daemon derives the
115
- audit actor from transport identity.
114
+ `rig seat set-typing-guard` works from an ordinary terminal as well as from a
115
+ seat's shell. The daemon takes the recorded actor from transport identity only:
116
+
117
+ - From a managed seat's shell (`OPENRIG_SESSION_NAME` set), the preference and
118
+ its audit entry name that seat.
119
+ - From a terminal with no seat identity, the change applies the same way, and
120
+ the preference and its audit entry record the actor as
121
+ `unattributed (no seat identity)`.
122
+
123
+ Neither case takes an actor from the request body or from the target seat's name.
124
+ `rig seat retire-held-message` still records the seat that retired a message, so
125
+ run it from a seat's shell.
116
126
 
117
127
  ~~~sh
118
128
  rig seat set-typing-guard dev-impl@my-rig --mode draft-aware \
@@ -131,8 +141,21 @@ to finish. The API may return HTTP 202 with `pending: true`; wait for
131
141
  and effective modes and retains the text `Typing guard: on (hold)` for hold.
132
142
 
133
143
  A held send immediately returns `outcome: "retained"`, `sent: false`, its exact
134
- reason (such as `draft_input_busy`) and the saved attempt's `outboxIds`. No automatic
135
- retry is scheduled. Each explicit draft-aware request is a new attempt, including
144
+ reason and the saved attempt's `outboxIds`. No automatic
145
+ retry is scheduled. The reasons are:
146
+
147
+ - `typing_guard_enabled`: the seat's mode holds this send (`hold`, or a level that
148
+ holds this kind of message).
149
+ - `runtime_switch_in_progress`: the seat is switching runtime.
150
+ - In `draft-aware` mode, a refusal before any input was written:
151
+ `draft_input_busy` (the input holds unsubmitted text), `draft_input_unknown` (the
152
+ input can't be read), `draft_input_changed` (the input or its target changed during
153
+ the delivery), `draft_wake_superseded`, `target_needs_input`,
154
+ `wait_for_idle_timeout`, `target_activity_unknown`, `target_runtime_unverified`,
155
+ `target_runtime_not_running`, `target_runtime_conflict`, `invalid_wait_for_idle`,
156
+ `invalid_dangerously_interact`, `dangerously_interact_requires_reason`,
157
+ `prompt_override_audit_unavailable`, `transport_unavailable`, `session_missing` or
158
+ `tmux_unavailable`. Each explicit draft-aware request is a new attempt, including
136
159
  one with a reused `deliveryId`; the result warns older callers that this field no
137
160
  longer deduplicates input. The CLI does not generate a deduplication key.
138
161
 
@@ -230,7 +253,9 @@ refuses Enter and is not replayed. Unsupported provider layouts remain held.
230
253
  Use off when that tradeoff is unsuitable.
231
254
 
232
255
  HTTP configuration uses `POST /api/seat/set-typing-guard/:seatRef` with
233
- `{mode, reason}` or `{enabled, reason}`. Status and held-message routes are
256
+ `{mode, reason}` or `{enabled, reason}`. The `X-OpenRig-Session` header, when
257
+ present, is the recorded actor; without it the change is recorded as
258
+ `unattributed (no seat identity)`. Status and held-message routes are
234
259
  unchanged; no RigSpec field is required.
235
260
 
236
261
  ## Verification scope
@@ -99,8 +99,24 @@ So after installing, compare the granted scopes Slack shows for the app with all
99
99
  `rig slack manifest --json` lists.
100
100
 
101
101
  The app subscribes to messages in public channels it is a member of (`message.channels`), to
102
- mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). It does not request
103
- direct-message or private-channel access.
102
+ mentions of the app (`app_mention`), and to emoji reactions (`reaction_added`). The manifest does
103
+ not request direct-message or private-channel access.
104
+
105
+ ### Using a private channel
106
+
107
+ The connector doesn't check whether a channel is public or private, so a private channel can be
108
+ the default channel or a mapped one once the app can read it. OpenRig doesn't test this setup. In
109
+ the app's settings:
110
+
111
+ 1. Under **OAuth & Permissions**, add the bot scopes `groups:history` (read messages in private
112
+ channels the app is in) and `groups:read` (read a private channel's details; `rig slack verify`
113
+ needs it to confirm the app is a member).
114
+ 2. Under **Event Subscriptions**, subscribe to the bot event `message.groups`.
115
+ 3. Reinstall the app to the workspace, then invite it to the private channel.
116
+ 4. To have `rig slack verify` require the new scopes too, run
117
+ `rig slack setup --required-scopes chat:write,channels:history,channels:read,groups:history,groups:read`.
118
+
119
+ Direct messages are not supported.
104
120
 
105
121
  A reaction added to an ask reaches the agent that asked, as a note naming who reacted and with
106
122
  which emoji; the agent decides what it means. Every message OpenRig posted for the ask counts:
@@ -166,6 +182,9 @@ rig slack channel-map list
166
182
  rig slack channel-map remove pr@my-rig
167
183
  ```
168
184
 
185
+ A client can offer the channels to choose from with `GET /api/gateway/slack/channels`, which lists the public
186
+ channels the bot token can see, with their ids ([Writing a daemon client](daemon-http-clients.md#route-details)).
187
+
169
188
  - **Which channel an item posts to.** The item's seat is matched exactly first (`pr@my-rig`),
170
189
  then its rig (`my-rig`). Anything unmapped posts to the default channel, so a config
171
190
  without a map behaves exactly as before. Aggregate delivery digests have no single seat and
@@ -207,7 +226,7 @@ rig slack channel-map remove pr@my-rig
207
226
  their routing also keeps the conversations separate: new messages in a seat's own channel
208
227
  still go to the inbound destination unless its entry names `--inbound`. A conversation shared
209
228
  on purpose is fine.
210
- - Missed-message recovery (below) covers the default channel only.
229
+ - Missed-message recovery (below) covers the default channel and every mapped channel, except a channel relayed to another machine.
211
230
 
212
231
  Invite the app to every mapped channel (`/invite @OpenRig`). `rig slack verify` checks
213
232
  membership in the default channel and every mapped channel, and reports NOT ready until the
@@ -221,8 +240,9 @@ configuration matches the file.
221
240
 
222
241
  The map is stored as `channelMap` in `slack-connector.json`, as a list of `{ "match", "channel" }`
223
242
  entries, each with an optional `"inbound"` seat. Saving refuses any other field. A field written by a newer OpenRig is ignored when the
224
- connector reads the file, and `rig slack status` names it. Private channels and direct messages
225
- are not supported targets.
243
+ connector reads the file, and `rig slack status` names it. A private channel can be a target once
244
+ the app has the private-channel scopes ([Using a private channel](#using-a-private-channel)).
245
+ Direct messages are not supported targets.
226
246
 
227
247
  ## Named bots (optional)
228
248
 
@@ -366,6 +386,36 @@ Quiet hours hold a person's routine asks while they're on, and post them once th
366
386
 
367
387
  ## Reconnect recovery and status
368
388
 
389
+ When a posted ask is answered, closed, canceled or replaced elsewhere, the connector edits its
390
+ original primary message with the status, time, actor and closure note. Buttons become option
391
+ text and the answer hint disappears; the remaining content and reconciliation marker stay as
392
+ posted. Supplemental messages are unchanged. This adds no post or reaction and needs no agent
393
+ turn. Separate resolution notices retain their existing behavior.
394
+
395
+ A deliberately reopened direct ask says **Open again**; its options remain as text. If it has
396
+ no committed answer, it tells the person to reply in its thread. Otherwise it says **Earlier
397
+ answer retained**: reopening does not accept a second answer. Earlier replaced parks remain
398
+ historical; **Asked again** does not claim that the later ask has been posted. Edits reconcile
399
+ the current state again after awaited Slack calls, so an obsolete close is not recorded as the
400
+ current result after a reopen.
401
+
402
+ Edits follow committed queue changes, with a startup catch-up for posted asks on retained queue
403
+ rows. Each primary costs one exact-message read and one `chat.update`. The serial edit worker
404
+ uses the recovery budget helpers (four calls, 100 entries, 15 seconds) and waits for the next
405
+ budget window when exhausted. Slack's per-method `Retry-After` is retained across restarts.
406
+ Only an acknowledged edit gets a success receipt. `rig slack status` shows queued reconciliation
407
+ and the last edit failure. Transient failures retry with increasing waits, capped at an hour,
408
+ behind other queued work. Permanent Slack failures (such as missing scope, a deleted original,
409
+ an archived channel or an uneditable message) remain unfinished and are retried only on the next
410
+ connector start. They do not keep consuming edit capacity. These edit calls have their own
411
+ budget, separate from missed-message scanning below.
412
+
413
+ The baseline already includes public-channel history access and `chat:write`. Private-channel
414
+ reads may require `groups:history`, which the baseline does not grant; a refused read never
415
+ counts as an edit. An unavailable/deleted original cannot be replaced by a new post. Startup
416
+ catch-up cannot edit rows already removed by queue retention or posts without their original
417
+ notification receipt and channel stamp.
418
+
369
419
  The daemon scans available top-level messages and replies broadcast with **Also send to
370
420
  channel** in the channels this machine owns: its default channel and its channel map's, except a
371
421
  channel it relays to another machine. It also scans replies in the threads it tracks in those
@@ -300,13 +300,23 @@ small presentation provenance, separate from queue membership. Herdr display
300
300
  labels are not that provenance. Other providers/platforms remain unsupported
301
301
  for ensure-viewer until qualified; ordinary open retains its existing behavior.
302
302
 
303
- Writable tile clients use `tmux attach -f ignore-size`; read-only clients keep
304
- `-r` (which also implies ignore-size). This can avoid contributing to sizing
305
- when other clients establish the agent window's dimensions. It is **not resize
306
- isolation**: opening a tile can change the agent's terminal size when it is the
307
- only sizing client. Observers of a Herdr terminal do not themselves resize it;
303
+ A writable tile attaches with `tmux attach -f ignore-size` when its session
304
+ already has a client that sizes it, so the tile doesn't fight that client over
305
+ the agent window's dimensions. When the session has no sizing client, as with a
306
+ freshly launched seat, the tile attaches without the flag and sizes the window
307
+ itself: tmux applies ignore-size across the whole server, so a session viewed
308
+ only by ignore-size clients would otherwise keep its 80x24 creation size while
309
+ any other session has a sizing client. Read-only clients keep `-r` (which also
310
+ implies ignore-size), and the printed manual attach commands keep
311
+ `-f ignore-size`. This is **not resize isolation**: opening a tile can change
312
+ the agent's terminal size. Observers of a Herdr terminal do not themselves resize it;
308
313
  a controlling browser can. No cross-version resize guarantee is implied.
309
314
 
315
+ To type into a seat without changing its size, send the text through OpenRig
316
+ (`rig send`, or `POST /api/transport/send`): it is written to the pane with tmux
317
+ buffers and keys, and no client attaches. There is no supported way to attach a
318
+ writable client that is sure never to resize the agent's window.
319
+
310
320
 
311
321
  ## Following a slice or mission's current work
312
322
 
@@ -1,18 +1,192 @@
1
- # What changed in OpenRig 0.7.8
2
-
3
- This note is for an agent on an install that was just upgraded to 0.7.8. OpenRig
4
- 0.7.8 lets a community harness's runner have its agent's permission requests
5
- answered by a person, adds a maintained OpenShell path for Claude workers, and
6
- includes 0.7.7's three reliability fixes. If you upgraded from 0.7.5 or earlier,
7
- also read "What changed in OpenRig 0.7.6" below. For the full capability map,
8
- read `rig context get onboarding-width/public-what-you-can-do.md`. After the
9
- upgraded daemon starts, `rig context get reference/whats-new.md` describes this
10
- version. Without a running daemon, read the packaged
1
+ # What changed in OpenRig 0.7.9
2
+
3
+ This note is for an agent on an install that was just upgraded to 0.7.9. OpenRig
4
+ 0.7.9 records default runner permits, passes a person's typed words to the
5
+ agent, turns stream intake on by default, and moves guidance for fresh Pi seats,
6
+ and fresh Codex seats on 0.164.0 or later, out of the repository's `AGENTS.md`.
7
+ If you upgraded from 0.7.7 or
8
+ earlier, also read "What changed in OpenRig 0.7.8" below. For the full
9
+ capability map, read `rig context get onboarding-width/public-what-you-can-do.md`.
10
+ After the upgraded daemon starts, `rig context get reference/whats-new.md`
11
+ describes this version. Without a running daemon, read the packaged
11
12
  `daemon/docs/reference/whats-new.md`; `$OPENRIG_HOME/reference/whats-new.md` can
12
13
  still be the previous copy until startup.
13
14
 
14
15
  ## After the upgrade
15
16
 
17
+ - **Restart the daemon** to load the new code: `rig daemon stop`, then
18
+ `rig daemon start`.
19
+ - **Migrations 146 to 149** record a Pi seat's guidance file, what OpenRig last
20
+ wrote in each managed guidance block, an index for reading a rig's outbox,
21
+ and the stream intake position.
22
+ - **Tell the person that stream intake is on.** Each `rig stream emit` now opens
23
+ an intake row for the kernel queue worker (`queue.worker`), or adds a note to
24
+ the one still unclaimed, and the row wakes the queue worker like any queue row.
25
+ Earlier stream history isn't replayed. If they want 0.7.8's behaviour, with no
26
+ intake rows, run `rig config set stream.intake off`.
27
+ - **The bundled openrig-core plugin goes from 0.1.24 to 0.1.25.** Its
28
+ seat-continuity-and-handover skill changed. Managed refresh preserves replaced
29
+ files under `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply local edits
30
+ you still need from the preserved copy.
31
+ - **Where seat guidance goes now:**
32
+ - a fresh Pi seat gets OpenRig's guidance in its own agent folder's
33
+ `AGENTS.md`, unless that file or folder is a link;
34
+ - a fresh Codex seat on Codex 0.164.0 or later gets it as launch developer
35
+ instructions, not in the repository `AGENTS.md`, when no config layer
36
+ OpenRig reads sets `developer_instructions`;
37
+ - a Codex resume, fork, restore or handover successor, an older or unknown
38
+ Codex, and a config layer that sets `developer_instructions` or can't be read
39
+ still use the repository `AGENTS.md`;
40
+ - if only the person's shell startup sets `CODEX_HOME`, OpenRig reads
41
+ `~/.codex`, so a `developer_instructions` set in their home is replaced for
42
+ that session. Declare the same absolute path as `CODEX_HOME` in the member's
43
+ or rig's `env:` to have it checked. `docs/reference/agent-startup-guide.md`
44
+ ("Codex guidance at launch") is the rule;
45
+ - a managed block a person edited by hand is kept and named
46
+ (`guidance_block_edited`), not replaced. Read the warning before you change
47
+ the block.
48
+ - **Slack:** on the first start after upgrading, the connector edits the asks
49
+ that ended earlier to show they were handled, at Slack's edit rate: about an
50
+ hour for 450 asks. `rig slack status` shows pending edits.
51
+ - **OpenShell:** rebuild a guest image built for 0.7.8 with this release's
52
+ helper; an older helper rejects the new startup step, and the error names the
53
+ rebuild.
54
+
55
+ ## Runner seats
56
+
57
+ Section 7 of `docs/reference/harness-runner-contract.md` is the rule for
58
+ permissions, and section 4 for activity. Read them before writing or changing a
59
+ runner.
60
+ - **Typed words:** a reply of just yes or no counts as the agent's allow or
61
+ reject. Any other words choose nothing: OpenRig's default permits the request
62
+ when the agent offered an allow option, and the read result carries the words
63
+ whole as `said`. A runner may queue them for the agent as an ordinary prompt
64
+ after the current turn, never as the answer; one that drops them still keeps
65
+ the contract. The ask now tells the person this.
66
+ - **Permit records:** each permit OpenRig decides by default (no one to ask, or
67
+ an ask closed without a choice, including a row passed to an agent seat) is
68
+ recorded once, as a stream item from the seat, naming the tool call, why no
69
+ person answered and the option given. Read them with
70
+ `rig stream list --tag runner-permission-permit` or `--source <seat>`. A record
71
+ has no destination and never changes the permit. Stream intake reads past it, so
72
+ it opens no intake row and wakes no one.
73
+ - **The working beat:** while a prompt is outstanding and the agent is alive, a
74
+ runner may post `active` / `liveness` so a long call keeps reading working.
75
+ After delivering an answer or permit, it posts `active` /
76
+ `permission_resolved`. A runner that sends no beats behaves as before. The Pi
77
+ runner and the dsh example post it.
78
+ - **Check a runner** with
79
+ `node daemon/docs/reference/runner-conformance/check-runner.mjs --runner '<command with {agent}>' --name <harness>`.
80
+ It now covers the beat, and no longer falsely fails a correct runner on a busy
81
+ machine.
82
+ - **The dsh example** reads `DSH_SEAT_BIN` and `DSH_SEAT_HOME` from the member's
83
+ `env:`, and section 8 names ACP's `session/resume`.
84
+
85
+ ## OpenShell workers
86
+
87
+ 0.7.9 includes a repair for the OpenShell worker that wasn't usable in 0.7.8,
88
+ but it hasn't run end to end in our release testing. Don't rely on this path in
89
+ 0.7.9. Startup now reaches the guest through a hash-checked first-input file,
90
+ and nothing is typed through the host viewer. Readiness checks the guest's own
91
+ execution, and a failed owned delete reports the stage that failed. If you set
92
+ one up anyway, follow `daemon/assets/openshell/README.md` in the installed
93
+ package, rebuild the guest image first, and name the costs to the person
94
+ ("Provider registration and image construction can incur costs"). "Never grant
95
+ the guest access to the daemon's main API port (normally 7433)."
96
+
97
+ ## Assistants connected through a grant service (experimental)
98
+
99
+ Experimental, unsupported, off by default, and at the person's own risk. With
100
+ `rig mcp serve --http --grant-service <url>` and a grant service the person
101
+ supplies and runs, a connected assistant can claim, update and park the rows
102
+ addressed to its own seat, and see its team with `rig_team`, within the scope its
103
+ existing tools have. Nothing wakes it: an item stays queued until its receiver
104
+ claims it. Name the outside service, and the exposure of serving MCP over HTTP,
105
+ to the person before you set this up. `docs/reference/hosted-members.md` is the
106
+ rule.
107
+
108
+ ## Other changes to act on
109
+
110
+ - **Held messages:** a seat that starts, or takes over a seat, with held
111
+ messages is told how many there are. Read them with
112
+ `rig seat held-messages <seat>`.
113
+ - **Unconfirmed sends:** `rig send --verify` now reports unconfirmed and exits 1
114
+ when it can't see what its Enter did, and `rig walk` reports unconfirmed
115
+ instead of lost. Inspect the recipient before any resend.
116
+ - **Deadlines:** to accept a re-estimate without unclaiming the work, run
117
+ `rig queue update <id> --closure-required-at <ISO>`.
118
+ - **Shared workspaces:** any registered person can settle another's ask as
119
+ themselves, and the first committed answer wins; a later answer gets 409
120
+ `qitem_already_terminal` and records nothing. A person registered with no
121
+ connector binding is asked on Steering and in the Feed only.
122
+ - **Handover:** a fresh or rebuild successor's first turn lists its startup
123
+ files, role first. A successor that started without a required startup file is
124
+ marked in the seat list.
125
+ - **Ambiguous rig names:** when an active rig name matches more than one rig,
126
+ `rig env down`, `status` and `logs` list the matching rig IDs and stop, and
127
+ `rig doctor --spec` reports conformance as unknown. Use the rig ID.
128
+ - **Seat activity:** window samples older than their bound no longer decide a
129
+ seat's activity, so a seat whose pane can't be read reads unknown rather than
130
+ its last verdict. Treat unknown as unknown, not idle.
131
+ - **Launch options:** `specs.builtins_visible: false` hides built-in specs
132
+ (`rig specs ls --include-builtins` still lists them); `plugin_channels` gives
133
+ one Claude member its own `--channels`, untested with a real channel plugin.
134
+ - **Files:** `rig down` removes OpenRig's own additions from a working folder
135
+ once no live seat uses them. `rig export` with no `-o` writes
136
+ `rig-export.yaml` beside an existing `rig.yaml`. `rig workspace validate` exits
137
+ 1 for malformed optional frontmatter.
138
+ - **Kernels:** a new default kernel starts in `<workspace.root>/kernel`.
139
+ Existing kernels stay where they are. `docs/reference/agent-startup-guide.md`
140
+ explains the optional move; a fresh launch there starts a new native
141
+ conversation, so ask the person before moving.
142
+ - **PATH:** if preflight warns that a Codex seat's login shell can't find `rig`,
143
+ follow its fix. `getting-started.md` explains the `~/.profile` line and how to
144
+ check it with `bash -lc 'command -v node rig'`.
145
+
146
+ ## Limits to keep in view
147
+
148
+ - **OpenShell** hasn't run end to end in our release testing (above). A
149
+ same-generation reconciled launch opens no viewer, so run
150
+ `rig environment connect` yourself; non-text startup actions aren't supported
151
+ on environment seats.
152
+ - **Open updates for a person** read a 1,001-row window, so a page can come back
153
+ short, marked `truncated`.
154
+ - **Slack:** a private channel needs the documented route, which isn't tested,
155
+ and direct messages aren't supported. The channel and people reads haven't
156
+ been run against a live Slack workspace. Redaction of the bot token from a
157
+ transport error can still leave a malformed token fragment shorter than six
158
+ characters, so review an error before sharing it.
159
+ - **SSH host status** reads `unknown` behind a ProxyJump or ProxyCommand; that
160
+ isn't proof the connection is broken. `rig host ls` reads the ssh config with
161
+ `ssh -G`, which runs any `Match exec` command in it.
162
+ - **Shared asks:** a click's option written before its answer row can stand
163
+ beside or inside the closer's answer without the first clicker's authorship.
164
+ - **Permit records** last as long as stream retention keeps them. A permit a
165
+ runner makes on its own, when it can't reach OpenRig, is in its pane only. For
166
+ an ask opened before 0.7.9, a record may omit the option's kind.
167
+ - **Existing seats** pick up Codex launch instructions and the single
168
+ openrig-core skill load at their next fresh launch. A `CLAUDE.md` or
169
+ `AGENTS.md` that already grew a line per launch isn't trimmed.
170
+ - **Codex hooks after an upgrade:** Codex sessions kept open across the 0.7.8
171
+ upgrade showed "Hook failed — plugin contents changed; hook approval
172
+ required". The 0.7.9 behaviour, and hook recovery after a relaunch, haven't
173
+ been verified.
174
+ - **0.7.8's limits** on the dsh `env:` names, conformance false failures, typed
175
+ words, the README's operator address, a symlinked rebuild, the rebuild receipt,
176
+ a re-parked click and unrecorded default permits are fixed or changed. The
177
+ other 0.7.8 and 0.7.7 limits below, and the
178
+ [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6), still
179
+ apply.
180
+
181
+ ---
182
+
183
+ ## What changed in OpenRig 0.7.8
184
+
185
+ The changes from 0.7.7 to 0.7.8, published on 2026-11-05, for an install
186
+ upgrading from 0.7.7 or earlier.
187
+
188
+ ### After the upgrade
189
+
16
190
  - **Restart the daemon** to load the new code: `rig daemon stop`, then
17
191
  `rig daemon start`.
18
192
  - **Migrations 142 to 145** store a Claude seat's MCP opt-out, seat activity
@@ -22,7 +196,7 @@ still be the previous copy until startup.
22
196
  `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply local edits you still
23
197
  need from the preserved copy.
24
198
 
25
- ## Runner seats: a person answers permission requests
199
+ ### Runner seats: a person answers permission requests
26
200
 
27
201
  Section 7 of `docs/reference/harness-runner-contract.md` is the rule. Read it
28
202
  before writing or changing a runner.
@@ -53,14 +227,14 @@ before writing or changing a runner.
53
227
  - **A seat activity grant** lets a runner outside the host's hook setup report
54
228
  activity for one seat and launch, without the install-wide hook token.
55
229
 
56
- ## OpenShell workers
230
+ ### OpenShell workers
57
231
 
58
- `rig environment setup` installs a reference that binds a seat to one NVIDIA
59
- OpenShell sandbox. Then use `rig environment create` (or `attach`), `rig up`, and
60
- `rig environment export` for verified JSON results. Stopping the agent, stopping
61
- compute and deleting an owned sandbox are separate actions. A recreated sandbox
62
- can resume the same conversation from a checkpoint. Follow
63
- `daemon/assets/openshell/README.md` in the installed package.
232
+ 0.7.8 includes `rig environment` (`setup`, `create`, `attach`) and a reference
233
+ for binding a seat to an NVIDIA OpenShell sandbox (`daemon/assets/openshell/README.md`).
234
+ **In our release testing the worker never became usable:** after the sandbox was
235
+ created and the native process started, `rig environment connect` failed when its
236
+ check timed out after 5 seconds, so no team work ran. Don't rely on this path in
237
+ 0.7.8; 0.7.9's repair is described above.
64
238
 
65
239
  **What it needs:**
66
240
  - NVIDIA OpenShell 0.1.6;
@@ -72,7 +246,7 @@ can resume the same conversation from a checkpoint. Follow
72
246
  the person before you start. "Never grant the guest access to the daemon's main
73
247
  API port (normally 7433)."
74
248
 
75
- ## Other changes to act on
249
+ ### Other changes to act on
76
250
 
77
251
  - **Mission following:** `rig terminal open mission:<id> --follow --provider herdr`
78
252
  follows a mission's current owners, with the same Herdr path as slices.
@@ -95,7 +269,7 @@ API port (normally 7433)."
95
269
  and an agent spec's "not loaded in this view" means it wasn't read, not that
96
270
  nothing runs it.
97
271
 
98
- ## Limits to keep in view
272
+ ### Limits to keep in view
99
273
 
100
274
  - **No harness has run end to end under the runner contract yet.** The dsh
101
275
  example and the conformance check were checked against stand-ins.
@@ -111,14 +285,14 @@ API port (normally 7433)."
111
285
  waiting after the hold is released.
112
286
  - **An OpenShell worker's activity reads unknown,** sampled from the pane, never
113
287
  idle.
114
- - **The 0.7.7 and 0.7.6 limits below still apply.**
288
+ - **The 0.7.7 limits below, and the [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6), still apply.**
115
289
 
116
290
  ---
117
291
 
118
292
  ## What changed in OpenRig 0.7.7
119
293
 
120
- The changes from 0.7.6 to 0.7.7, a reliability patch for 0.7.6 that isn't
121
- published yet. All three fixes are in 0.7.8.
294
+ The changes from 0.7.6 to 0.7.7, a reliability patch for 0.7.6, published on
295
+ 2026-11-02. All three fixes are in 0.7.8.
122
296
 
123
297
  ### The fixes
124
298
 
@@ -151,120 +325,4 @@ published yet. All three fixes are in 0.7.8.
151
325
  - If a seat's current occupant generation was never registered (an adopted Claude
152
326
  with another generation, or a managed launch whose tenure record failed to write),
153
327
  hooks don't move its resume token after the first one.
154
- - The 0.7.6 limits below still apply.
155
-
156
- ---
157
-
158
- ## What changed in OpenRig 0.7.6
159
-
160
- The changes from 0.7.5 to 0.7.6, for an install upgrading from 0.7.5 or earlier.
161
-
162
- ### After the upgrade
163
-
164
- - Restart the daemon (`rig daemon stop`, then `rig daemon start`) to load the new
165
- code. Two database migrations record account-home selection and whether a
166
- community harness launch declared a runner. Both use prefix 141, with distinct
167
- full filenames.
168
- - The bundled openrig-core plugin goes from 0.1.22 to 0.1.23. Its Claude activity
169
- hook clears permission marks after tool batches. Managed refresh preserves
170
- replaced files under `$OPENRIG_HOME/backups/managed-refresh/<id>/`; reapply
171
- local edits you still need from the preserved copy.
172
-
173
- ### Follow a slice's work in one workspace
174
-
175
- Use `rig terminal open slice:<name-or-id> --follow --provider herdr`. Membership
176
- comes from pending, in-progress and blocked queue rows tagged with the exact
177
- slice. Associate a row with `rig queue create --slice <name-or-id>`; a handoff
178
- inherits its tags unless replaced. A mission-only tag does not associate every
179
- slice. One owner appears once, with all its obligations listed.
180
-
181
- When a slice's folder name repeats across missions, tag its work with the slice's
182
- unique ID (`rig queue create --slice <id>`) or add `--mission <mission>`. A row
183
- tagged only with the shared name cannot be placed, so the view reads incomplete
184
- until it is.
185
-
186
- New slice views default to four automatic tiles (`--max-tiles` overrides it);
187
- qitem views keep eight. A known empty slice stays following and can repopulate.
188
- An incomplete read keeps the prior viewers. Missing or ambiguous scope identities
189
- are errors, never an empty team. Pins, drafts, unknown input and focus retain
190
- former viewers. Closing a viewer does not stop its agent.
191
-
192
- An owner's join refused before any pane split can join on a later refresh;
193
- hold notices keep the original seat, phase and reason. A created viewer whose
194
- attach has not yet run can continue without replacing its pane. A viewer whose
195
- attach already ran and then exited back to a shell is not restarted
196
- automatically, so the whole slice view can hold until that tile is resolved.
197
- No tested workaround is offered for that case.
198
-
199
- Slice following targets the Linux Herdr 0.9.5 / protocol 22 path. Mission
200
- following is not included. See
201
- `reference/terminal-sessions.md` for controls, bounds and refresh behavior.
202
- Configured Herdr session endpoints now carry through viewer/follow operations.
203
- The TUI's terminal action opens the agent, pod or rig currently being viewed.
204
-
205
- ### Changes agents should act on
206
-
207
- - **A readiness deadline does not end a still-starting daemon.** A nonzero
208
- pending result names the child PID, launch endpoint and log. The child stays
209
- running and the startup reservation stays in place; readiness is not
210
- confirmed. Follow the returned pending guidance before attempting recovery.
211
- - **Read exited state honestly.** A verified exited process in a retained pane
212
- reads `pane_exited`, instead of running and ready. Its outstanding work uses
213
- the existing recovery-finding route. Unknown observations still mean unknown.
214
- - **Use the same member settings when expanding.** `rig expand` now carries raw
215
- members to the canonical rig validator, keeping env, effort and startup
216
- settings. Restores keep the model saved with `rig seat set-model`.
217
- - **Account-home moves start a fresh conversation with a handover.**
218
- `rig provider switch --seat <seat> --to-account <name> --account-home <dir>`
219
- selects an existing home; preview with `--dry-run`. `--clear-account-home`
220
- returns to configured defaults, not historical credentials. Check the moved
221
- seat's account and conversation.
222
- - **Claude API-key switching resumes the same conversation but interrupts work.**
223
- Use `rig provider switch --seat <seat> --to-account api --api-key-file <abs>`;
224
- return with `--to-account plan --token-file <abs>`. The API-key path remains
225
- unqualified. Do not combine it with account-home selectors. Credential files
226
- stay private; budgets remain the caller's responsibility.
227
- - **A new Claude member can name its subscription token in the spec:**
228
- `claude_token: {label: name, file: /abs/token}`, beside its own
229
- `env.CLAUDE_CONFIG_DIR`. This stores a file reference, not the token. Validation
230
- does not read the file; a missing or unreadable token uses the existing launch
231
- fallback notice, so verify the account actually used.
232
- - **Git over SSH uses the daemon's SSH agent** in managed seats. Make sure that
233
- agent has the intended key (`ssh-add -l`).
234
- - **Slack button answers resume decisions parked on the person asked.** Set
235
- `rig slack setup --reactions off` if acknowledgement emoji should not wake
236
- agents. The default remains `route`; manifest regeneration preserves it.
237
- Replies posted outside a deleted Slack thread are tracked where Slack put them.
238
- - **Queue delivery keeps its original intent.** A wake refused at a selection
239
- prompt retries after it clears. Cross-host `queue create --verify` reads the
240
- destination's receipt. An unreadable receipt stays unconfirmed; do not replay
241
- a create just because verification could not establish delivery.
242
- - **Preset authors can opt into `runner: true` and `passes_model: true`.** The
243
- runner also requires `launch_result: true` and reports activity through the
244
- existing hook route. Model input arrives as `OPENRIG_MODEL`. Passed means the
245
- launch command was sent, not that the harness applied that model; the observed
246
- model remains unknown. Cursor and Hermes examples leave model passing off
247
- pending native qualification.
248
- Start with the draft [integration author contracts](author-contracts.md) for
249
- harness, runner and platform duties, with implemented interfaces distinguished from proposals.
250
- - **Update viewer API handling.** `/api/terminal/viewer/ensure` returns 400 for
251
- `view_required` and `unknown_provider` where it previously returned 200 with
252
- an error body. Slice not-found is 404; ambiguous/unavailable is 409. Continue
253
- reading the body code. Unsupported follow kinds keep `follow_view_required`
254
- in a 200 `ok:false` response.
255
-
256
- ### Limits to keep in view
257
-
258
- - The reported [Codex hook-refresh refusal (#2200)](https://github.com/mvschwarz/openrig/issues/2200)
259
- remains unresolved. A verified Node-launcher fix is included, but that does
260
- not establish that this report is fixed. If
261
- `rig seat restart <seat> --keep-conversation` refuses, nothing is stopped:
262
- leave the seat running and report the refusal with CLI and daemon versions.
263
- A refused restart has not refreshed hooks; review any Codex hook prompt.
264
- - Retained messages are not delivered. Protected Codex pastes and unreadable
265
- composers can still retain work; inspect the explanation, use a larger pane
266
- or shorten the message. Turning the typing guard off removes protection.
267
- - Inventory now avoids redundant reads, but no general speed or stability
268
- improvement is claimed without comparable measurements.
269
- - Internet-facing hosted members remain experimental, unsupported, off by
270
- default and at your own risk. Slice following does not require them.
328
+ - The [0.7.6 limits](https://github.com/mvschwarz/openrig/releases/tag/v0.7.6) still apply.
@@ -98,9 +98,10 @@ node "$SKILL_DIR/scripts/backup-sqlite.mjs" \
98
98
  --destination "/safe/path/openrig-before-upgrade.sqlite"
99
99
  ```
100
100
 
101
- The helper refuses to overwrite a destination, uses SQLite's backup operation,
102
- and verifies the backup with `PRAGMA integrity_check`. It does not stop the
103
- daemon or restore a database.
101
+ The helper refuses to overwrite a destination, uses the `sqlite3` CLI `.backup`
102
+ command when available (falling back to an in-process backup via `node:sqlite`
103
+ when the CLI is absent), and verifies the backup with `PRAGMA integrity_check`.
104
+ It does not stop the daemon or restore a database.
104
105
 
105
106
  ### Plan or apply safe managed-plugin refreshes
106
107