@openrig/cli 0.7.0 → 0.7.1

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 (1007) hide show
  1. package/README.md +9 -8
  2. package/daemon/assets/claude-statusline-context.cjs +13 -3
  3. package/daemon/assets/guidance/openrig-seat-skills.md +1 -0
  4. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +1 -1
  5. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +1 -1
  6. package/daemon/assets/plugins/openrig-core/hooks/claude.json +11 -11
  7. package/daemon/assets/plugins/openrig-core/hooks/scripts/activity-relay.cjs +9 -8
  8. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus-health.cjs +2 -2
  9. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +9 -6
  10. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +1 -1
  11. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +13 -8
  12. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +19 -4
  13. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +167 -46
  14. package/daemon/assets/skills/rigs/SKILL.md +2 -1
  15. package/daemon/context-packs/help/manifest.yaml +1 -1
  16. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  17. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +206 -28
  18. package/daemon/context-packs/reference/getting-started.md +65 -6
  19. package/daemon/context-packs/reference/manifest.yaml +1 -1
  20. package/daemon/context-packs/reference/rig-spec.md +82 -2
  21. package/daemon/context-packs/reference/whats-new.md +162 -113
  22. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/claude-compaction-restore/scripts/precompact-hook.mjs +1 -1
  27. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +19 -4
  32. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/openrig-herdr/SKILL.md +3 -0
  36. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/openrig-software-factory/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-software-factory/references/worked-example.md +2 -2
  40. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  45. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +13 -8
  49. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/openrig-user/SKILL.md +167 -46
  54. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  63. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  64. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  80. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  81. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  82. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  83. package/daemon/dist/adapters/claude-code-adapter.js +94 -26
  84. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  85. package/daemon/dist/adapters/claude-resume.d.ts +2 -1
  86. package/daemon/dist/adapters/claude-resume.d.ts.map +1 -1
  87. package/daemon/dist/adapters/claude-resume.js +10 -3
  88. package/daemon/dist/adapters/claude-resume.js.map +1 -1
  89. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +10 -4
  90. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  91. package/daemon/dist/adapters/codex-runtime-adapter.js +231 -41
  92. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  93. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts +21 -2
  94. package/daemon/dist/adapters/community-harness-runtime-adapter.d.ts.map +1 -1
  95. package/daemon/dist/adapters/community-harness-runtime-adapter.js +90 -8
  96. package/daemon/dist/adapters/community-harness-runtime-adapter.js.map +1 -1
  97. package/daemon/dist/adapters/pi-runner.d.ts +11 -0
  98. package/daemon/dist/adapters/pi-runner.d.ts.map +1 -1
  99. package/daemon/dist/adapters/pi-runner.js +59 -16
  100. package/daemon/dist/adapters/pi-runner.js.map +1 -1
  101. package/daemon/dist/adapters/pi-runtime-adapter.d.ts.map +1 -1
  102. package/daemon/dist/adapters/pi-runtime-adapter.js +9 -6
  103. package/daemon/dist/adapters/pi-runtime-adapter.js.map +1 -1
  104. package/daemon/dist/adapters/stub-runtime-adapter.d.ts.map +1 -1
  105. package/daemon/dist/adapters/stub-runtime-adapter.js +9 -5
  106. package/daemon/dist/adapters/stub-runtime-adapter.js.map +1 -1
  107. package/daemon/dist/adapters/tmux.d.ts +15 -4
  108. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  109. package/daemon/dist/adapters/tmux.js +68 -26
  110. package/daemon/dist/adapters/tmux.js.map +1 -1
  111. package/daemon/dist/attention-surface.d.ts +14 -0
  112. package/daemon/dist/attention-surface.d.ts.map +1 -1
  113. package/daemon/dist/attention-surface.js.map +1 -1
  114. package/daemon/dist/build-info.js +3 -3
  115. package/daemon/dist/daemon-db-path.d.ts +6 -0
  116. package/daemon/dist/daemon-db-path.d.ts.map +1 -1
  117. package/daemon/dist/daemon-db-path.js +65 -1
  118. package/daemon/dist/daemon-db-path.js.map +1 -1
  119. package/daemon/dist/daemon-shutdown.d.ts.map +1 -1
  120. package/daemon/dist/daemon-shutdown.js +4 -2
  121. package/daemon/dist/daemon-shutdown.js.map +1 -1
  122. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  123. package/daemon/dist/db/all-migrations.js +16 -0
  124. package/daemon/dist/db/all-migrations.js.map +1 -1
  125. package/daemon/dist/db/migrations/124_context_usage_watchdog_units.d.ts +4 -0
  126. package/daemon/dist/db/migrations/124_context_usage_watchdog_units.d.ts.map +1 -0
  127. package/daemon/dist/db/migrations/124_context_usage_watchdog_units.js +9 -0
  128. package/daemon/dist/db/migrations/124_context_usage_watchdog_units.js.map +1 -0
  129. package/daemon/dist/db/migrations/125_node_advisor.d.ts +3 -0
  130. package/daemon/dist/db/migrations/125_node_advisor.d.ts.map +1 -0
  131. package/daemon/dist/db/migrations/125_node_advisor.js +8 -0
  132. package/daemon/dist/db/migrations/125_node_advisor.js.map +1 -0
  133. package/daemon/dist/db/migrations/127_operation_correlation.d.ts +3 -0
  134. package/daemon/dist/db/migrations/127_operation_correlation.d.ts.map +1 -0
  135. package/daemon/dist/db/migrations/127_operation_correlation.js +10 -0
  136. package/daemon/dist/db/migrations/127_operation_correlation.js.map +1 -0
  137. package/daemon/dist/db/migrations/128_terminal_policy.d.ts +3 -0
  138. package/daemon/dist/db/migrations/128_terminal_policy.d.ts.map +1 -0
  139. package/daemon/dist/db/migrations/128_terminal_policy.js +37 -0
  140. package/daemon/dist/db/migrations/128_terminal_policy.js.map +1 -0
  141. package/daemon/dist/db/migrations/129_stream_dispositions.d.ts +10 -0
  142. package/daemon/dist/db/migrations/129_stream_dispositions.d.ts.map +1 -0
  143. package/daemon/dist/db/migrations/129_stream_dispositions.js +35 -0
  144. package/daemon/dist/db/migrations/129_stream_dispositions.js.map +1 -0
  145. package/daemon/dist/db/migrations/130_stream_subscriptions.d.ts +11 -0
  146. package/daemon/dist/db/migrations/130_stream_subscriptions.d.ts.map +1 -0
  147. package/daemon/dist/db/migrations/130_stream_subscriptions.js +33 -0
  148. package/daemon/dist/db/migrations/130_stream_subscriptions.js.map +1 -0
  149. package/daemon/dist/db/migrations/131_stream_retention_floor.d.ts +8 -0
  150. package/daemon/dist/db/migrations/131_stream_retention_floor.d.ts.map +1 -0
  151. package/daemon/dist/db/migrations/131_stream_retention_floor.js +20 -0
  152. package/daemon/dist/db/migrations/131_stream_retention_floor.js.map +1 -0
  153. package/daemon/dist/db/migrations/135_seat_identity_process_evidence.d.ts +3 -0
  154. package/daemon/dist/db/migrations/135_seat_identity_process_evidence.d.ts.map +1 -0
  155. package/daemon/dist/db/migrations/135_seat_identity_process_evidence.js +16 -0
  156. package/daemon/dist/db/migrations/135_seat_identity_process_evidence.js.map +1 -0
  157. package/daemon/dist/domain/active-occupant.d.ts +3 -0
  158. package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  159. package/daemon/dist/domain/active-occupant.js +6 -2
  160. package/daemon/dist/domain/active-occupant.js.map +1 -1
  161. package/daemon/dist/domain/activity-taxonomy.d.ts +3 -0
  162. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -1
  163. package/daemon/dist/domain/activity-taxonomy.js.map +1 -1
  164. package/daemon/dist/domain/agent-activity-store.d.ts +6 -2
  165. package/daemon/dist/domain/agent-activity-store.d.ts.map +1 -1
  166. package/daemon/dist/domain/agent-activity-store.js +13 -4
  167. package/daemon/dist/domain/agent-activity-store.js.map +1 -1
  168. package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  169. package/daemon/dist/domain/agent-manifest.js +14 -2
  170. package/daemon/dist/domain/agent-manifest.js.map +1 -1
  171. package/daemon/dist/domain/bootstrap-orchestrator.d.ts +3 -0
  172. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  173. package/daemon/dist/domain/bootstrap-orchestrator.js +20 -6
  174. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  175. package/daemon/dist/domain/builtin-startup-files.d.ts.map +1 -1
  176. package/daemon/dist/domain/builtin-startup-files.js +2 -0
  177. package/daemon/dist/domain/builtin-startup-files.js.map +1 -1
  178. package/daemon/dist/domain/bundle-behaviour.d.ts.map +1 -1
  179. package/daemon/dist/domain/bundle-behaviour.js +28 -1
  180. package/daemon/dist/domain/bundle-behaviour.js.map +1 -1
  181. package/daemon/dist/domain/claim-service.d.ts +19 -1
  182. package/daemon/dist/domain/claim-service.d.ts.map +1 -1
  183. package/daemon/dist/domain/claim-service.js +67 -19
  184. package/daemon/dist/domain/claim-service.js.map +1 -1
  185. package/daemon/dist/domain/classification-attempts.d.ts +4 -1
  186. package/daemon/dist/domain/classification-attempts.d.ts.map +1 -1
  187. package/daemon/dist/domain/classification-attempts.js +10 -1
  188. package/daemon/dist/domain/classification-attempts.js.map +1 -1
  189. package/daemon/dist/domain/classification-sources.d.ts +38 -0
  190. package/daemon/dist/domain/classification-sources.d.ts.map +1 -1
  191. package/daemon/dist/domain/classification-sources.js +24 -1
  192. package/daemon/dist/domain/classification-sources.js.map +1 -1
  193. package/daemon/dist/domain/claude-activity-hooks.d.ts +2 -2
  194. package/daemon/dist/domain/claude-activity-hooks.d.ts.map +1 -1
  195. package/daemon/dist/domain/claude-activity-hooks.js +8 -7
  196. package/daemon/dist/domain/claude-activity-hooks.js.map +1 -1
  197. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +109 -7
  198. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  199. package/daemon/dist/domain/claude-compaction-enforcer.js +447 -52
  200. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  201. package/daemon/dist/domain/claude-core-plugin-env.d.ts +4 -1
  202. package/daemon/dist/domain/claude-core-plugin-env.d.ts.map +1 -1
  203. package/daemon/dist/domain/claude-core-plugin-env.js +23 -12
  204. package/daemon/dist/domain/claude-core-plugin-env.js.map +1 -1
  205. package/daemon/dist/domain/claude-managed-launch.d.ts +1 -1
  206. package/daemon/dist/domain/claude-managed-launch.d.ts.map +1 -1
  207. package/daemon/dist/domain/claude-managed-launch.js +33 -15
  208. package/daemon/dist/domain/claude-managed-launch.js.map +1 -1
  209. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts +26 -0
  210. package/daemon/dist/domain/codex-owned-plugin-trust.d.ts.map +1 -0
  211. package/daemon/dist/domain/codex-owned-plugin-trust.js +187 -0
  212. package/daemon/dist/domain/codex-owned-plugin-trust.js.map +1 -0
  213. package/daemon/dist/domain/codex-rebuild-permissions.d.ts +54 -0
  214. package/daemon/dist/domain/codex-rebuild-permissions.d.ts.map +1 -0
  215. package/daemon/dist/domain/codex-rebuild-permissions.js +134 -0
  216. package/daemon/dist/domain/codex-rebuild-permissions.js.map +1 -0
  217. package/daemon/dist/domain/community-harness-launch-result.d.ts +33 -0
  218. package/daemon/dist/domain/community-harness-launch-result.d.ts.map +1 -0
  219. package/daemon/dist/domain/community-harness-launch-result.js +93 -0
  220. package/daemon/dist/domain/community-harness-launch-result.js.map +1 -0
  221. package/daemon/dist/domain/community-harness-presets.d.ts +27 -2
  222. package/daemon/dist/domain/community-harness-presets.d.ts.map +1 -1
  223. package/daemon/dist/domain/community-harness-presets.js +49 -5
  224. package/daemon/dist/domain/community-harness-presets.js.map +1 -1
  225. package/daemon/dist/domain/composer-prompts.d.ts +5 -2
  226. package/daemon/dist/domain/composer-prompts.d.ts.map +1 -1
  227. package/daemon/dist/domain/composer-prompts.js +2 -2
  228. package/daemon/dist/domain/composer-prompts.js.map +1 -1
  229. package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
  230. package/daemon/dist/domain/context-monitor.js +2 -1
  231. package/daemon/dist/domain/context-monitor.js.map +1 -1
  232. package/daemon/dist/domain/continuity-policy-materializer.d.ts +1 -0
  233. package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -1
  234. package/daemon/dist/domain/continuity-policy-materializer.js +2 -0
  235. package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -1
  236. package/daemon/dist/domain/draft-aware-delivery.d.ts.map +1 -1
  237. package/daemon/dist/domain/draft-aware-delivery.js +1 -1
  238. package/daemon/dist/domain/draft-aware-delivery.js.map +1 -1
  239. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  240. package/daemon/dist/domain/execution-view.js +7 -6
  241. package/daemon/dist/domain/execution-view.js.map +1 -1
  242. package/daemon/dist/domain/footprint-choice.d.ts +41 -0
  243. package/daemon/dist/domain/footprint-choice.d.ts.map +1 -0
  244. package/daemon/dist/domain/footprint-choice.js +42 -0
  245. package/daemon/dist/domain/footprint-choice.js.map +1 -0
  246. package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +3 -0
  247. package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -1
  248. package/daemon/dist/domain/gateway/delivery-rules-engine.js +1 -1
  249. package/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -1
  250. package/daemon/dist/domain/gateway/human-registry.d.ts +32 -0
  251. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  252. package/daemon/dist/domain/gateway/human-registry.js +71 -4
  253. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  254. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  255. package/daemon/dist/domain/gateway/slack/inbound.js +52 -4
  256. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  257. package/daemon/dist/domain/gateway/slack/message.d.ts +3 -0
  258. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -1
  259. package/daemon/dist/domain/gateway/slack/message.js +9 -2
  260. package/daemon/dist/domain/gateway/slack/message.js.map +1 -1
  261. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +7 -0
  262. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  263. package/daemon/dist/domain/gateway/slack/queue-access.js +14 -2
  264. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  265. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +1 -3
  266. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/slack/slack-delivery.js +22 -22
  268. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -1
  269. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +4 -7
  271. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  272. package/daemon/dist/domain/generated-file-hygiene.js +1 -1
  273. package/daemon/dist/domain/generated-file-hygiene.js.map +1 -1
  274. package/daemon/dist/domain/graph-projection.d.ts +3 -0
  275. package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  276. package/daemon/dist/domain/graph-projection.js +2 -0
  277. package/daemon/dist/domain/graph-projection.js.map +1 -1
  278. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -1
  279. package/daemon/dist/domain/health-diagnosis.js +14 -6
  280. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  281. package/daemon/dist/domain/hot-potato-enforcer.d.ts +1 -1
  282. package/daemon/dist/domain/human-questions.d.ts +2 -0
  283. package/daemon/dist/domain/human-questions.d.ts.map +1 -1
  284. package/daemon/dist/domain/human-questions.js +5 -0
  285. package/daemon/dist/domain/human-questions.js.map +1 -1
  286. package/daemon/dist/domain/kernel-boot.d.ts +5 -1
  287. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  288. package/daemon/dist/domain/kernel-boot.js +34 -4
  289. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  290. package/daemon/dist/domain/managed-blocks.d.ts +32 -1
  291. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  292. package/daemon/dist/domain/managed-blocks.js +109 -11
  293. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  294. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +1 -1
  295. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -1
  296. package/daemon/dist/domain/mission-control/mission-control-action-log.js +3 -0
  297. package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -1
  298. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +21 -0
  299. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  300. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +110 -0
  301. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  302. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts +2 -0
  303. package/daemon/dist/domain/model-divergence/current-model-reader.d.ts.map +1 -1
  304. package/daemon/dist/domain/model-divergence/current-model-reader.js +7 -0
  305. package/daemon/dist/domain/model-divergence/current-model-reader.js.map +1 -1
  306. package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts +10 -1
  307. package/daemon/dist/domain/model-divergence/model-divergence-monitor.d.ts.map +1 -1
  308. package/daemon/dist/domain/model-divergence/model-divergence-monitor.js +24 -5
  309. package/daemon/dist/domain/model-divergence/model-divergence-monitor.js.map +1 -1
  310. package/daemon/dist/domain/native-process-lineage.d.ts +3 -0
  311. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -1
  312. package/daemon/dist/domain/native-process-lineage.js +60 -2
  313. package/daemon/dist/domain/native-process-lineage.js.map +1 -1
  314. package/daemon/dist/domain/native-resume-probe-evidence.d.ts +19 -0
  315. package/daemon/dist/domain/native-resume-probe-evidence.d.ts.map +1 -0
  316. package/daemon/dist/domain/native-resume-probe-evidence.js +37 -0
  317. package/daemon/dist/domain/native-resume-probe-evidence.js.map +1 -0
  318. package/daemon/dist/domain/native-resume-probe.d.ts +7 -0
  319. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  320. package/daemon/dist/domain/native-resume-probe.js +12 -9
  321. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  322. package/daemon/dist/domain/node-inventory.d.ts +49 -1
  323. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  324. package/daemon/dist/domain/node-inventory.js +119 -45
  325. package/daemon/dist/domain/node-inventory.js.map +1 -1
  326. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  327. package/daemon/dist/domain/node-launcher.js +9 -3
  328. package/daemon/dist/domain/node-launcher.js.map +1 -1
  329. package/daemon/dist/domain/occupant-invalidator.d.ts +16 -4
  330. package/daemon/dist/domain/occupant-invalidator.d.ts.map +1 -1
  331. package/daemon/dist/domain/occupant-invalidator.js +25 -5
  332. package/daemon/dist/domain/occupant-invalidator.js.map +1 -1
  333. package/daemon/dist/domain/operation-correlation.d.ts +78 -0
  334. package/daemon/dist/domain/operation-correlation.d.ts.map +1 -0
  335. package/daemon/dist/domain/operation-correlation.js +54 -0
  336. package/daemon/dist/domain/operation-correlation.js.map +1 -0
  337. package/daemon/dist/domain/permission-account.d.ts +28 -0
  338. package/daemon/dist/domain/permission-account.d.ts.map +1 -0
  339. package/daemon/dist/domain/permission-account.js +102 -0
  340. package/daemon/dist/domain/permission-account.js.map +1 -0
  341. package/daemon/dist/domain/permission-drift.d.ts.map +1 -1
  342. package/daemon/dist/domain/permission-drift.js +11 -7
  343. package/daemon/dist/domain/permission-drift.js.map +1 -1
  344. package/daemon/dist/domain/pod-bundle-assembler.d.ts +1 -0
  345. package/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
  346. package/daemon/dist/domain/pod-bundle-assembler.js +25 -0
  347. package/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
  348. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts +7 -0
  349. package/daemon/dist/domain/policies/artifact-pool-helpers.d.ts.map +1 -1
  350. package/daemon/dist/domain/policies/artifact-pool-helpers.js +8 -4
  351. package/daemon/dist/domain/policies/artifact-pool-helpers.js.map +1 -1
  352. package/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -1
  353. package/daemon/dist/domain/policies/context-usage-threshold.js +109 -21
  354. package/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -1
  355. package/daemon/dist/domain/policies/edge-artifact-required.d.ts +6 -1
  356. package/daemon/dist/domain/policies/edge-artifact-required.d.ts.map +1 -1
  357. package/daemon/dist/domain/policies/edge-artifact-required.js +18 -13
  358. package/daemon/dist/domain/policies/edge-artifact-required.js.map +1 -1
  359. package/daemon/dist/domain/policies/mode-scheduled-end.d.ts +2 -0
  360. package/daemon/dist/domain/policies/mode-scheduled-end.d.ts.map +1 -1
  361. package/daemon/dist/domain/policies/mode-scheduled-end.js +5 -1
  362. package/daemon/dist/domain/policies/mode-scheduled-end.js.map +1 -1
  363. package/daemon/dist/domain/policies/periodic-reminder.d.ts +10 -0
  364. package/daemon/dist/domain/policies/periodic-reminder.d.ts.map +1 -1
  365. package/daemon/dist/domain/policies/periodic-reminder.js +11 -6
  366. package/daemon/dist/domain/policies/periodic-reminder.js.map +1 -1
  367. package/daemon/dist/domain/policies/types.d.ts +25 -0
  368. package/daemon/dist/domain/policies/types.d.ts.map +1 -1
  369. package/daemon/dist/domain/policies/workflow-keepalive.d.ts +6 -1
  370. package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  371. package/daemon/dist/domain/policies/workflow-keepalive.js +11 -5
  372. package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  373. package/daemon/dist/domain/profile-resolution-worker.d.ts +7 -0
  374. package/daemon/dist/domain/profile-resolution-worker.d.ts.map +1 -0
  375. package/daemon/dist/domain/profile-resolution-worker.js +83 -0
  376. package/daemon/dist/domain/profile-resolution-worker.js.map +1 -0
  377. package/daemon/dist/domain/profile-resolver.d.ts +6 -0
  378. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  379. package/daemon/dist/domain/profile-resolver.js +14 -2
  380. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  381. package/daemon/dist/domain/project-classifier.d.ts +7 -0
  382. package/daemon/dist/domain/project-classifier.d.ts.map +1 -1
  383. package/daemon/dist/domain/project-classifier.js +26 -0
  384. package/daemon/dist/domain/project-classifier.js.map +1 -1
  385. package/daemon/dist/domain/provider/subscription-move-report.d.ts +86 -0
  386. package/daemon/dist/domain/provider/subscription-move-report.d.ts.map +1 -0
  387. package/daemon/dist/domain/provider/subscription-move-report.js +227 -0
  388. package/daemon/dist/domain/provider/subscription-move-report.js.map +1 -0
  389. package/daemon/dist/domain/ps-projection.d.ts +6 -35
  390. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  391. package/daemon/dist/domain/ps-projection.js +14 -55
  392. package/daemon/dist/domain/ps-projection.js.map +1 -1
  393. package/daemon/dist/domain/queue-owner.d.ts +6 -3
  394. package/daemon/dist/domain/queue-owner.d.ts.map +1 -1
  395. package/daemon/dist/domain/queue-owner.js +10 -5
  396. package/daemon/dist/domain/queue-owner.js.map +1 -1
  397. package/daemon/dist/domain/queue-pickup.d.ts +5 -2
  398. package/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
  399. package/daemon/dist/domain/queue-pickup.js +19 -2
  400. package/daemon/dist/domain/queue-pickup.js.map +1 -1
  401. package/daemon/dist/domain/queue-repository.d.ts +54 -21
  402. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  403. package/daemon/dist/domain/queue-repository.js +257 -97
  404. package/daemon/dist/domain/queue-repository.js.map +1 -1
  405. package/daemon/dist/domain/queue-retention.d.ts +18 -0
  406. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  407. package/daemon/dist/domain/queue-retention.js +74 -0
  408. package/daemon/dist/domain/queue-retention.js.map +1 -1
  409. package/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -0
  410. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  411. package/daemon/dist/domain/queue-stuck-sweep.js +37 -3
  412. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  413. package/daemon/dist/domain/queue-wait-backoff.d.ts +3 -0
  414. package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -1
  415. package/daemon/dist/domain/queue-wait-backoff.js +9 -0
  416. package/daemon/dist/domain/queue-wait-backoff.js.map +1 -1
  417. package/daemon/dist/domain/queue-waiting.d.ts +2 -0
  418. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -1
  419. package/daemon/dist/domain/queue-waiting.js.map +1 -1
  420. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  421. package/daemon/dist/domain/queue-wake-ladder.js +18 -6
  422. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  423. package/daemon/dist/domain/reconciler.d.ts +23 -0
  424. package/daemon/dist/domain/reconciler.d.ts.map +1 -1
  425. package/daemon/dist/domain/reconciler.js +44 -1
  426. package/daemon/dist/domain/reconciler.js.map +1 -1
  427. package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
  428. package/daemon/dist/domain/rehydrate-eligibility.js +2 -3
  429. package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
  430. package/daemon/dist/domain/restore-guidance.d.ts +7 -0
  431. package/daemon/dist/domain/restore-guidance.d.ts.map +1 -1
  432. package/daemon/dist/domain/restore-guidance.js +20 -8
  433. package/daemon/dist/domain/restore-guidance.js.map +1 -1
  434. package/daemon/dist/domain/restore-orchestrator.d.ts +13 -1
  435. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  436. package/daemon/dist/domain/restore-orchestrator.js +151 -26
  437. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  438. package/daemon/dist/domain/restore-plan-preview.d.ts +7 -2
  439. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  440. package/daemon/dist/domain/restore-plan-preview.js +28 -7
  441. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  442. package/daemon/dist/domain/restore-policy.d.ts +4 -0
  443. package/daemon/dist/domain/restore-policy.d.ts.map +1 -1
  444. package/daemon/dist/domain/restore-policy.js +11 -0
  445. package/daemon/dist/domain/restore-policy.js.map +1 -1
  446. package/daemon/dist/domain/rig-edge-ops.d.ts +58 -0
  447. package/daemon/dist/domain/rig-edge-ops.d.ts.map +1 -0
  448. package/daemon/dist/domain/rig-edge-ops.js +113 -0
  449. package/daemon/dist/domain/rig-edge-ops.js.map +1 -0
  450. package/daemon/dist/domain/rig-name-override.d.ts +14 -0
  451. package/daemon/dist/domain/rig-name-override.d.ts.map +1 -0
  452. package/daemon/dist/domain/rig-name-override.js +38 -0
  453. package/daemon/dist/domain/rig-name-override.js.map +1 -0
  454. package/daemon/dist/domain/rig-repository.d.ts +10 -2
  455. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  456. package/daemon/dist/domain/rig-repository.js +14 -0
  457. package/daemon/dist/domain/rig-repository.js.map +1 -1
  458. package/daemon/dist/domain/rig-status-compose.d.ts +1 -1
  459. package/daemon/dist/domain/rig-status-compose.d.ts.map +1 -1
  460. package/daemon/dist/domain/rig-status-compose.js +3 -1
  461. package/daemon/dist/domain/rig-status-compose.js.map +1 -1
  462. package/daemon/dist/domain/rig-teardown.d.ts +19 -0
  463. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  464. package/daemon/dist/domain/rig-teardown.js +78 -8
  465. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  466. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  467. package/daemon/dist/domain/rigspec-codec.js +10 -0
  468. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  469. package/daemon/dist/domain/rigspec-exporter.d.ts +3 -0
  470. package/daemon/dist/domain/rigspec-exporter.d.ts.map +1 -1
  471. package/daemon/dist/domain/rigspec-exporter.js +22 -0
  472. package/daemon/dist/domain/rigspec-exporter.js.map +1 -1
  473. package/daemon/dist/domain/rigspec-instantiator.d.ts +30 -2
  474. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  475. package/daemon/dist/domain/rigspec-instantiator.js +262 -47
  476. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  477. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  478. package/daemon/dist/domain/rigspec-preflight.js +15 -2
  479. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  480. package/daemon/dist/domain/rigspec-schema.d.ts +3 -0
  481. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  482. package/daemon/dist/domain/rigspec-schema.js +67 -3
  483. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  484. package/daemon/dist/domain/runtime-adapter.d.ts +20 -1
  485. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  486. package/daemon/dist/domain/runtime-adapter.js +5 -1
  487. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  488. package/daemon/dist/domain/scope/scope-view-projection.d.ts +6 -0
  489. package/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
  490. package/daemon/dist/domain/scope/scope-view-projection.js +26 -10
  491. package/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
  492. package/daemon/dist/domain/seat-activity-service.d.ts +4 -2
  493. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  494. package/daemon/dist/domain/seat-activity-service.js +13 -5
  495. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  496. package/daemon/dist/domain/seat-attention-reconciler.d.ts +19 -0
  497. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  498. package/daemon/dist/domain/seat-attention-reconciler.js +60 -6
  499. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  500. package/daemon/dist/domain/seat-delivery-guard.d.ts +20 -1
  501. package/daemon/dist/domain/seat-delivery-guard.d.ts.map +1 -1
  502. package/daemon/dist/domain/seat-delivery-guard.js +66 -11
  503. package/daemon/dist/domain/seat-delivery-guard.js.map +1 -1
  504. package/daemon/dist/domain/seat-handover-service.d.ts +8 -0
  505. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  506. package/daemon/dist/domain/seat-handover-service.js +74 -4
  507. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  508. package/daemon/dist/domain/seat-identity-store.d.ts +11 -1
  509. package/daemon/dist/domain/seat-identity-store.d.ts.map +1 -1
  510. package/daemon/dist/domain/seat-identity-store.js +29 -4
  511. package/daemon/dist/domain/seat-identity-store.js.map +1 -1
  512. package/daemon/dist/domain/seat-launch-additions.d.ts +115 -0
  513. package/daemon/dist/domain/seat-launch-additions.d.ts.map +1 -0
  514. package/daemon/dist/domain/seat-launch-additions.js +439 -0
  515. package/daemon/dist/domain/seat-launch-additions.js.map +1 -0
  516. package/daemon/dist/domain/seat-launch-environment.d.ts +1 -1
  517. package/daemon/dist/domain/seat-launch-environment.d.ts.map +1 -1
  518. package/daemon/dist/domain/seat-launch-environment.js +1 -1
  519. package/daemon/dist/domain/seat-launch-environment.js.map +1 -1
  520. package/daemon/dist/domain/seat-lifecycle-service.d.ts +79 -4
  521. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  522. package/daemon/dist/domain/seat-lifecycle-service.js +202 -12
  523. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  524. package/daemon/dist/domain/seat-skill-apply.d.ts +139 -0
  525. package/daemon/dist/domain/seat-skill-apply.d.ts.map +1 -0
  526. package/daemon/dist/domain/seat-skill-apply.js +221 -0
  527. package/daemon/dist/domain/seat-skill-apply.js.map +1 -0
  528. package/daemon/dist/domain/seat-skill-storage.d.ts +295 -0
  529. package/daemon/dist/domain/seat-skill-storage.d.ts.map +1 -0
  530. package/daemon/dist/domain/seat-skill-storage.js +850 -0
  531. package/daemon/dist/domain/seat-skill-storage.js.map +1 -0
  532. package/daemon/dist/domain/seat-status-service.d.ts +9 -0
  533. package/daemon/dist/domain/seat-status-service.d.ts.map +1 -1
  534. package/daemon/dist/domain/seat-status-service.js +15 -3
  535. package/daemon/dist/domain/seat-status-service.js.map +1 -1
  536. package/daemon/dist/domain/session-registry.d.ts +4 -0
  537. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  538. package/daemon/dist/domain/session-registry.js +13 -0
  539. package/daemon/dist/domain/session-registry.js.map +1 -1
  540. package/daemon/dist/domain/session-transport.d.ts +52 -21
  541. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  542. package/daemon/dist/domain/session-transport.js +150 -47
  543. package/daemon/dist/domain/session-transport.js.map +1 -1
  544. package/daemon/dist/domain/skill-catalog.d.ts +16 -0
  545. package/daemon/dist/domain/skill-catalog.d.ts.map +1 -1
  546. package/daemon/dist/domain/skill-catalog.js +15 -6
  547. package/daemon/dist/domain/skill-catalog.js.map +1 -1
  548. package/daemon/dist/domain/skill-discovery.d.ts +17 -2
  549. package/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
  550. package/daemon/dist/domain/skill-discovery.js +44 -5
  551. package/daemon/dist/domain/skill-discovery.js.map +1 -1
  552. package/daemon/dist/domain/startup-orchestrator.d.ts +26 -2
  553. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  554. package/daemon/dist/domain/startup-orchestrator.js +226 -14
  555. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  556. package/daemon/dist/domain/stream-dispositions.d.ts +51 -0
  557. package/daemon/dist/domain/stream-dispositions.d.ts.map +1 -0
  558. package/daemon/dist/domain/stream-dispositions.js +112 -0
  559. package/daemon/dist/domain/stream-dispositions.js.map +1 -0
  560. package/daemon/dist/domain/stream-store.d.ts +22 -0
  561. package/daemon/dist/domain/stream-store.d.ts.map +1 -1
  562. package/daemon/dist/domain/stream-store.js +49 -6
  563. package/daemon/dist/domain/stream-store.js.map +1 -1
  564. package/daemon/dist/domain/stream-subscriptions.d.ts +94 -0
  565. package/daemon/dist/domain/stream-subscriptions.d.ts.map +1 -0
  566. package/daemon/dist/domain/stream-subscriptions.js +160 -0
  567. package/daemon/dist/domain/stream-subscriptions.js.map +1 -0
  568. package/daemon/dist/domain/successor-session-launcher.d.ts +6 -0
  569. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  570. package/daemon/dist/domain/successor-session-launcher.js +5 -2
  571. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  572. package/daemon/dist/domain/terminal/herdr-adapter.d.ts +2 -0
  573. package/daemon/dist/domain/terminal/herdr-adapter.d.ts.map +1 -1
  574. package/daemon/dist/domain/terminal/herdr-adapter.js +104 -1
  575. package/daemon/dist/domain/terminal/herdr-adapter.js.map +1 -1
  576. package/daemon/dist/domain/terminal/herdr-sessions.d.ts +9 -0
  577. package/daemon/dist/domain/terminal/herdr-sessions.d.ts.map +1 -0
  578. package/daemon/dist/domain/terminal/herdr-sessions.js +23 -0
  579. package/daemon/dist/domain/terminal/herdr-sessions.js.map +1 -0
  580. package/daemon/dist/domain/terminal/terminal-provider.d.ts +4 -0
  581. package/daemon/dist/domain/terminal/terminal-provider.d.ts.map +1 -1
  582. package/daemon/dist/domain/terminal/terminal-service.d.ts +12 -3
  583. package/daemon/dist/domain/terminal/terminal-service.d.ts.map +1 -1
  584. package/daemon/dist/domain/terminal/terminal-service.js +42 -17
  585. package/daemon/dist/domain/terminal/terminal-service.js.map +1 -1
  586. package/daemon/dist/domain/terminal/view-composer.d.ts.map +1 -1
  587. package/daemon/dist/domain/terminal/view-composer.js +1 -0
  588. package/daemon/dist/domain/terminal/view-composer.js.map +1 -1
  589. package/daemon/dist/domain/terminal-policy.d.ts +80 -0
  590. package/daemon/dist/domain/terminal-policy.d.ts.map +1 -0
  591. package/daemon/dist/domain/terminal-policy.js +117 -0
  592. package/daemon/dist/domain/terminal-policy.js.map +1 -0
  593. package/daemon/dist/domain/terminal-seat.d.ts +9 -0
  594. package/daemon/dist/domain/terminal-seat.d.ts.map +1 -0
  595. package/daemon/dist/domain/terminal-seat.js +37 -0
  596. package/daemon/dist/domain/terminal-seat.js.map +1 -0
  597. package/daemon/dist/domain/topology-converge.d.ts +25 -2
  598. package/daemon/dist/domain/topology-converge.d.ts.map +1 -1
  599. package/daemon/dist/domain/topology-converge.js +14 -1
  600. package/daemon/dist/domain/topology-converge.js.map +1 -1
  601. package/daemon/dist/domain/types.d.ts +58 -2
  602. package/daemon/dist/domain/types.d.ts.map +1 -1
  603. package/daemon/dist/domain/types.js.map +1 -1
  604. package/daemon/dist/domain/urgent-line.d.ts +4 -0
  605. package/daemon/dist/domain/urgent-line.d.ts.map +1 -0
  606. package/daemon/dist/domain/urgent-line.js +7 -0
  607. package/daemon/dist/domain/urgent-line.js.map +1 -0
  608. package/daemon/dist/domain/usage-series.d.ts.map +1 -1
  609. package/daemon/dist/domain/usage-series.js +6 -2
  610. package/daemon/dist/domain/usage-series.js.map +1 -1
  611. package/daemon/dist/domain/user-settings/settings-browser.js +2 -2
  612. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -1
  613. package/daemon/dist/domain/user-settings/settings-store.d.ts +3 -1
  614. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  615. package/daemon/dist/domain/user-settings/settings-store.js +73 -1
  616. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  617. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  618. package/daemon/dist/domain/view-projector.js +2 -1
  619. package/daemon/dist/domain/view-projector.js.map +1 -1
  620. package/daemon/dist/domain/watchdog-delivery.js +1 -1
  621. package/daemon/dist/domain/watchdog-delivery.js.map +1 -1
  622. package/daemon/dist/domain/watchdog-job-update.d.ts +21 -0
  623. package/daemon/dist/domain/watchdog-job-update.d.ts.map +1 -0
  624. package/daemon/dist/domain/watchdog-job-update.js +143 -0
  625. package/daemon/dist/domain/watchdog-job-update.js.map +1 -0
  626. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +63 -7
  627. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  628. package/daemon/dist/domain/watchdog-jobs-repository.js +190 -21
  629. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  630. package/daemon/dist/domain/watchdog-policy-engine.d.ts +23 -0
  631. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  632. package/daemon/dist/domain/watchdog-policy-engine.js +46 -13
  633. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  634. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  635. package/daemon/dist/domain/workflow-exception-escalation.js +7 -3
  636. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  637. package/daemon/dist/domain/workflow-projector.d.ts +5 -2
  638. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  639. package/daemon/dist/domain/workflow-projector.js +16 -7
  640. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  641. package/daemon/dist/domain/workflow-runtime.d.ts +8 -2
  642. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  643. package/daemon/dist/domain/workflow-runtime.js +30 -7
  644. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  645. package/daemon/dist/domain/workspace/project-read.d.ts +2 -0
  646. package/daemon/dist/domain/workspace/project-read.d.ts.map +1 -1
  647. package/daemon/dist/domain/workspace/project-read.js +10 -1
  648. package/daemon/dist/domain/workspace/project-read.js.map +1 -1
  649. package/daemon/dist/index.d.ts.map +1 -1
  650. package/daemon/dist/index.js +2 -0
  651. package/daemon/dist/index.js.map +1 -1
  652. package/daemon/dist/router-line-surface.d.ts +2 -0
  653. package/daemon/dist/router-line-surface.d.ts.map +1 -0
  654. package/daemon/dist/router-line-surface.js +3 -0
  655. package/daemon/dist/router-line-surface.js.map +1 -0
  656. package/daemon/dist/routes/activity.d.ts.map +1 -1
  657. package/daemon/dist/routes/activity.js +3 -0
  658. package/daemon/dist/routes/activity.js.map +1 -1
  659. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  660. package/daemon/dist/routes/agent-images.js +10 -2
  661. package/daemon/dist/routes/agent-images.js.map +1 -1
  662. package/daemon/dist/routes/attention.d.ts.map +1 -1
  663. package/daemon/dist/routes/attention.js +30 -3
  664. package/daemon/dist/routes/attention.js.map +1 -1
  665. package/daemon/dist/routes/bootstrap-failure-response.js +2 -2
  666. package/daemon/dist/routes/bootstrap-failure-response.js.map +1 -1
  667. package/daemon/dist/routes/bundles.js +1 -1
  668. package/daemon/dist/routes/bundles.js.map +1 -1
  669. package/daemon/dist/routes/compaction.d.ts.map +1 -1
  670. package/daemon/dist/routes/compaction.js +31 -10
  671. package/daemon/dist/routes/compaction.js.map +1 -1
  672. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  673. package/daemon/dist/routes/hosts.js +2 -0
  674. package/daemon/dist/routes/hosts.js.map +1 -1
  675. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  676. package/daemon/dist/routes/mission-control.js +5 -1
  677. package/daemon/dist/routes/mission-control.js.map +1 -1
  678. package/daemon/dist/routes/projects.d.ts.map +1 -1
  679. package/daemon/dist/routes/projects.js +59 -12
  680. package/daemon/dist/routes/projects.js.map +1 -1
  681. package/daemon/dist/routes/proof.js +2 -2
  682. package/daemon/dist/routes/proof.js.map +1 -1
  683. package/daemon/dist/routes/provider.d.ts.map +1 -1
  684. package/daemon/dist/routes/provider.js +87 -0
  685. package/daemon/dist/routes/provider.js.map +1 -1
  686. package/daemon/dist/routes/queue.d.ts.map +1 -1
  687. package/daemon/dist/routes/queue.js +52 -3
  688. package/daemon/dist/routes/queue.js.map +1 -1
  689. package/daemon/dist/routes/rigs.d.ts.map +1 -1
  690. package/daemon/dist/routes/rigs.js +75 -10
  691. package/daemon/dist/routes/rigs.js.map +1 -1
  692. package/daemon/dist/routes/rigspec.d.ts.map +1 -1
  693. package/daemon/dist/routes/rigspec.js +38 -12
  694. package/daemon/dist/routes/rigspec.js.map +1 -1
  695. package/daemon/dist/routes/scopes.d.ts.map +1 -1
  696. package/daemon/dist/routes/scopes.js +30 -7
  697. package/daemon/dist/routes/scopes.js.map +1 -1
  698. package/daemon/dist/routes/seat.d.ts.map +1 -1
  699. package/daemon/dist/routes/seat.js +19 -3
  700. package/daemon/dist/routes/seat.js.map +1 -1
  701. package/daemon/dist/routes/sessions.js +5 -0
  702. package/daemon/dist/routes/sessions.js.map +1 -1
  703. package/daemon/dist/routes/skills.d.ts.map +1 -1
  704. package/daemon/dist/routes/skills.js +54 -1
  705. package/daemon/dist/routes/skills.js.map +1 -1
  706. package/daemon/dist/routes/stream.d.ts.map +1 -1
  707. package/daemon/dist/routes/stream.js +62 -13
  708. package/daemon/dist/routes/stream.js.map +1 -1
  709. package/daemon/dist/routes/terminal.d.ts.map +1 -1
  710. package/daemon/dist/routes/terminal.js +20 -11
  711. package/daemon/dist/routes/terminal.js.map +1 -1
  712. package/daemon/dist/routes/transport.d.ts.map +1 -1
  713. package/daemon/dist/routes/transport.js +24 -2
  714. package/daemon/dist/routes/transport.js.map +1 -1
  715. package/daemon/dist/routes/up.js +5 -0
  716. package/daemon/dist/routes/up.js.map +1 -1
  717. package/daemon/dist/routes/watchdog.d.ts +1 -0
  718. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  719. package/daemon/dist/routes/watchdog.js +52 -3
  720. package/daemon/dist/routes/watchdog.js.map +1 -1
  721. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  722. package/daemon/dist/routes/workflow.js +24 -13
  723. package/daemon/dist/routes/workflow.js.map +1 -1
  724. package/daemon/dist/server.d.ts +2 -0
  725. package/daemon/dist/server.d.ts.map +1 -1
  726. package/daemon/dist/server.js +4 -1
  727. package/daemon/dist/server.js.map +1 -1
  728. package/daemon/dist/skill-loadout-surface.d.ts +2 -0
  729. package/daemon/dist/skill-loadout-surface.d.ts.map +1 -1
  730. package/daemon/dist/skill-loadout-surface.js +2 -0
  731. package/daemon/dist/skill-loadout-surface.js.map +1 -1
  732. package/daemon/dist/startup.d.ts.map +1 -1
  733. package/daemon/dist/startup.js +54 -21
  734. package/daemon/dist/startup.js.map +1 -1
  735. package/daemon/dist/terminal/TerminalSessionBroker.d.ts.map +1 -1
  736. package/daemon/dist/terminal/TerminalSessionBroker.js +9 -2
  737. package/daemon/dist/terminal/TerminalSessionBroker.js.map +1 -1
  738. package/daemon/docs/reference/a2a-agents.md +343 -0
  739. package/daemon/docs/reference/acp-agents.md +77 -0
  740. package/daemon/docs/reference/agent-spec.md +7 -5
  741. package/daemon/docs/reference/agent-startup-guide.md +46 -0
  742. package/daemon/docs/reference/agent-state-taxonomy.md +27 -2
  743. package/daemon/docs/reference/checked-seat-stop.md +11 -0
  744. package/daemon/docs/reference/community-harness-examples/cursor/cursor.yaml +13 -0
  745. package/daemon/docs/reference/community-harness-examples/cursor/openrig-cursor-launch +61 -0
  746. package/daemon/docs/reference/community-harness-examples/hermes/config.yaml.example +18 -0
  747. package/daemon/docs/reference/community-harness-examples/hermes/hermes.yaml +12 -0
  748. package/daemon/docs/reference/community-harness-examples/hermes/openrig-hermes-launch +34 -0
  749. package/daemon/docs/reference/community-harness-examples/openclaw/openclaw.yaml +13 -0
  750. package/daemon/docs/reference/community-harness-examples/openclaw/openrig-openclaw-launch +38 -0
  751. package/daemon/docs/reference/community-harness-presets.md +179 -0
  752. package/daemon/docs/reference/getting-started.md +65 -6
  753. package/daemon/docs/reference/operation-correlation.md +9 -0
  754. package/daemon/docs/reference/project-workspace.md +6 -0
  755. package/daemon/docs/reference/quickstart.md +1 -1
  756. package/daemon/docs/reference/refocus-channel.md +6 -4
  757. package/daemon/docs/reference/rig-spec.md +82 -2
  758. package/daemon/docs/reference/seat-delivery.md +73 -2
  759. package/daemon/docs/reference/slack-app-setup.md +3 -1
  760. package/daemon/docs/reference/stream-classifier-worker.md +28 -0
  761. package/daemon/docs/reference/telemetry.md +3 -0
  762. package/daemon/docs/reference/terminal-sessions.md +90 -0
  763. package/daemon/docs/reference/topology-naming.md +1 -1
  764. package/daemon/docs/reference/whats-new.md +162 -113
  765. package/daemon/specs/agents/shared/runtime/claude-settings.fragment.json +0 -3
  766. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +19 -4
  767. package/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md +3 -0
  768. package/daemon/specs/agents/shared/skills/core/openrig-software-factory/references/worked-example.md +2 -2
  769. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +36 -10
  770. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +11 -0
  771. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +3 -1
  772. package/daemon/specs/rigs/launch/secrets-manager/secrets-manager.compose.yaml +1 -1
  773. package/dist/acp/connector.d.ts +72 -0
  774. package/dist/acp/connector.d.ts.map +1 -0
  775. package/dist/acp/connector.js +218 -0
  776. package/dist/acp/connector.js.map +1 -0
  777. package/dist/acp/json-rpc-stdio.d.ts +53 -0
  778. package/dist/acp/json-rpc-stdio.d.ts.map +1 -0
  779. package/dist/acp/json-rpc-stdio.js +141 -0
  780. package/dist/acp/json-rpc-stdio.js.map +1 -0
  781. package/dist/acp/run-processes.d.ts +10 -0
  782. package/dist/acp/run-processes.d.ts.map +1 -0
  783. package/dist/acp/run-processes.js +33 -0
  784. package/dist/acp/run-processes.js.map +1 -0
  785. package/dist/build-info.js +3 -3
  786. package/dist/client.d.ts +7 -2
  787. package/dist/client.d.ts.map +1 -1
  788. package/dist/client.js +14 -7
  789. package/dist/client.js.map +1 -1
  790. package/dist/commands/acp.d.ts +11 -0
  791. package/dist/commands/acp.d.ts.map +1 -0
  792. package/dist/commands/acp.js +198 -0
  793. package/dist/commands/acp.js.map +1 -0
  794. package/dist/commands/attach.js +1 -1
  795. package/dist/commands/attach.js.map +1 -1
  796. package/dist/commands/auth.d.ts +3 -0
  797. package/dist/commands/auth.d.ts.map +1 -1
  798. package/dist/commands/auth.js +39 -10
  799. package/dist/commands/auth.js.map +1 -1
  800. package/dist/commands/compact-plan.d.ts +2 -0
  801. package/dist/commands/compact-plan.d.ts.map +1 -1
  802. package/dist/commands/compact-plan.js +38 -3
  803. package/dist/commands/compact-plan.js.map +1 -1
  804. package/dist/commands/compact.js +1 -1
  805. package/dist/commands/compact.js.map +1 -1
  806. package/dist/commands/config.d.ts.map +1 -1
  807. package/dist/commands/config.js +7 -1
  808. package/dist/commands/config.js.map +1 -1
  809. package/dist/commands/create.js +2 -2
  810. package/dist/commands/create.js.map +1 -1
  811. package/dist/commands/daemon.d.ts.map +1 -1
  812. package/dist/commands/daemon.js +2 -0
  813. package/dist/commands/daemon.js.map +1 -1
  814. package/dist/commands/down.d.ts +5 -1
  815. package/dist/commands/down.d.ts.map +1 -1
  816. package/dist/commands/down.js +87 -3
  817. package/dist/commands/down.js.map +1 -1
  818. package/dist/commands/edge.d.ts +4 -0
  819. package/dist/commands/edge.d.ts.map +1 -0
  820. package/dist/commands/edge.js +135 -0
  821. package/dist/commands/edge.js.map +1 -0
  822. package/dist/commands/export.d.ts +1 -0
  823. package/dist/commands/export.d.ts.map +1 -1
  824. package/dist/commands/export.js +51 -0
  825. package/dist/commands/export.js.map +1 -1
  826. package/dist/commands/fork.d.ts.map +1 -1
  827. package/dist/commands/fork.js +19 -2
  828. package/dist/commands/fork.js.map +1 -1
  829. package/dist/commands/gateway.d.ts.map +1 -1
  830. package/dist/commands/gateway.js +2 -1
  831. package/dist/commands/gateway.js.map +1 -1
  832. package/dist/commands/grow.js +2 -2
  833. package/dist/commands/grow.js.map +1 -1
  834. package/dist/commands/launch.js +1 -1
  835. package/dist/commands/launch.js.map +1 -1
  836. package/dist/commands/mcp.d.ts.map +1 -1
  837. package/dist/commands/mcp.js +113 -1
  838. package/dist/commands/mcp.js.map +1 -1
  839. package/dist/commands/project-worker.d.ts +25 -1
  840. package/dist/commands/project-worker.d.ts.map +1 -1
  841. package/dist/commands/project-worker.js +9 -7
  842. package/dist/commands/project-worker.js.map +1 -1
  843. package/dist/commands/project.d.ts +2 -0
  844. package/dist/commands/project.d.ts.map +1 -1
  845. package/dist/commands/project.js +64 -1
  846. package/dist/commands/project.js.map +1 -1
  847. package/dist/commands/provider.d.ts.map +1 -1
  848. package/dist/commands/provider.js +101 -0
  849. package/dist/commands/provider.js.map +1 -1
  850. package/dist/commands/ps.d.ts +12 -1
  851. package/dist/commands/ps.d.ts.map +1 -1
  852. package/dist/commands/ps.js +50 -47
  853. package/dist/commands/ps.js.map +1 -1
  854. package/dist/commands/queue.d.ts +4 -2
  855. package/dist/commands/queue.d.ts.map +1 -1
  856. package/dist/commands/queue.js +24 -15
  857. package/dist/commands/queue.js.map +1 -1
  858. package/dist/commands/reconcile-session.d.ts.map +1 -1
  859. package/dist/commands/reconcile-session.js +6 -0
  860. package/dist/commands/reconcile-session.js.map +1 -1
  861. package/dist/commands/seat.d.ts +2 -0
  862. package/dist/commands/seat.d.ts.map +1 -1
  863. package/dist/commands/seat.js +124 -6
  864. package/dist/commands/seat.js.map +1 -1
  865. package/dist/commands/send.d.ts.map +1 -1
  866. package/dist/commands/send.js +62 -55
  867. package/dist/commands/send.js.map +1 -1
  868. package/dist/commands/setup.d.ts +24 -0
  869. package/dist/commands/setup.d.ts.map +1 -1
  870. package/dist/commands/setup.js +160 -7
  871. package/dist/commands/setup.js.map +1 -1
  872. package/dist/commands/skill.d.ts.map +1 -1
  873. package/dist/commands/skill.js +116 -3
  874. package/dist/commands/skill.js.map +1 -1
  875. package/dist/commands/start.d.ts.map +1 -1
  876. package/dist/commands/start.js +18 -25
  877. package/dist/commands/start.js.map +1 -1
  878. package/dist/commands/status.d.ts.map +1 -1
  879. package/dist/commands/status.js +4 -1
  880. package/dist/commands/status.js.map +1 -1
  881. package/dist/commands/stream-outcome.d.ts +157 -0
  882. package/dist/commands/stream-outcome.d.ts.map +1 -0
  883. package/dist/commands/stream-outcome.js +81 -0
  884. package/dist/commands/stream-outcome.js.map +1 -0
  885. package/dist/commands/stream.d.ts.map +1 -1
  886. package/dist/commands/stream.js +64 -2
  887. package/dist/commands/stream.js.map +1 -1
  888. package/dist/commands/terminal.d.ts +1 -0
  889. package/dist/commands/terminal.d.ts.map +1 -1
  890. package/dist/commands/terminal.js +35 -6
  891. package/dist/commands/terminal.js.map +1 -1
  892. package/dist/commands/topology-default-agent.d.ts +2 -2
  893. package/dist/commands/topology-default-agent.d.ts.map +1 -1
  894. package/dist/commands/topology-default-agent.js +5 -3
  895. package/dist/commands/topology-default-agent.js.map +1 -1
  896. package/dist/commands/up.d.ts.map +1 -1
  897. package/dist/commands/up.js +75 -30
  898. package/dist/commands/up.js.map +1 -1
  899. package/dist/commands/watchdog.d.ts.map +1 -1
  900. package/dist/commands/watchdog.js +80 -5
  901. package/dist/commands/watchdog.js.map +1 -1
  902. package/dist/commands/workflow-errors.js +1 -1
  903. package/dist/commands/workflow-errors.js.map +1 -1
  904. package/dist/commands/workflow-render.js +4 -4
  905. package/dist/commands/workflow-render.js.map +1 -1
  906. package/dist/commands/workflow.d.ts.map +1 -1
  907. package/dist/commands/workflow.js +34 -15
  908. package/dist/commands/workflow.js.map +1 -1
  909. package/dist/config-store.d.ts +15 -1
  910. package/dist/config-store.d.ts.map +1 -1
  911. package/dist/config-store.js +86 -4
  912. package/dist/config-store.js.map +1 -1
  913. package/dist/daemon-lifecycle.d.ts +4 -0
  914. package/dist/daemon-lifecycle.d.ts.map +1 -1
  915. package/dist/daemon-lifecycle.js +73 -21
  916. package/dist/daemon-lifecycle.js.map +1 -1
  917. package/dist/decisions/decisions.d.ts +203 -0
  918. package/dist/decisions/decisions.d.ts.map +1 -0
  919. package/dist/decisions/decisions.js +374 -0
  920. package/dist/decisions/decisions.js.map +1 -0
  921. package/dist/decisions/stream-consumer.d.ts +255 -0
  922. package/dist/decisions/stream-consumer.d.ts.map +1 -0
  923. package/dist/decisions/stream-consumer.js +282 -0
  924. package/dist/decisions/stream-consumer.js.map +1 -0
  925. package/dist/decisions/templates.d.ts +8 -0
  926. package/dist/decisions/templates.d.ts.map +1 -0
  927. package/dist/decisions/templates.js +34 -0
  928. package/dist/decisions/templates.js.map +1 -0
  929. package/dist/fresh-seat-command.d.ts +18 -0
  930. package/dist/fresh-seat-command.d.ts.map +1 -0
  931. package/dist/fresh-seat-command.js +36 -0
  932. package/dist/fresh-seat-command.js.map +1 -0
  933. package/dist/front-door.d.ts +4 -0
  934. package/dist/front-door.d.ts.map +1 -1
  935. package/dist/front-door.js +8 -4
  936. package/dist/front-door.js.map +1 -1
  937. package/dist/host-bindings.d.ts.map +1 -1
  938. package/dist/host-bindings.js +16 -9
  939. package/dist/host-bindings.js.map +1 -1
  940. package/dist/index.d.ts +2 -0
  941. package/dist/index.d.ts.map +1 -1
  942. package/dist/index.js +4 -0
  943. package/dist/index.js.map +1 -1
  944. package/dist/lazy-program.d.ts.map +1 -1
  945. package/dist/lazy-program.js +2 -0
  946. package/dist/lazy-program.js.map +1 -1
  947. package/dist/lib/run-on-host.d.ts +29 -0
  948. package/dist/lib/run-on-host.d.ts.map +1 -0
  949. package/dist/lib/run-on-host.js +69 -0
  950. package/dist/lib/run-on-host.js.map +1 -0
  951. package/dist/lib/seat-activity.d.ts +17 -0
  952. package/dist/lib/seat-activity.d.ts.map +1 -0
  953. package/dist/lib/seat-activity.js +29 -0
  954. package/dist/lib/seat-activity.js.map +1 -0
  955. package/dist/local-daemon-owner.d.ts +4 -0
  956. package/dist/local-daemon-owner.d.ts.map +1 -1
  957. package/dist/local-daemon-owner.js +1 -1
  958. package/dist/local-daemon-owner.js.map +1 -1
  959. package/dist/mcp-http.d.ts +42 -0
  960. package/dist/mcp-http.d.ts.map +1 -0
  961. package/dist/mcp-http.js +232 -0
  962. package/dist/mcp-http.js.map +1 -0
  963. package/dist/mcp-server.d.ts +30 -2
  964. package/dist/mcp-server.d.ts.map +1 -1
  965. package/dist/mcp-server.js +1112 -436
  966. package/dist/mcp-server.js.map +1 -1
  967. package/dist/seat-launch-additions-lines.d.ts +11 -0
  968. package/dist/seat-launch-additions-lines.d.ts.map +1 -0
  969. package/dist/seat-launch-additions-lines.js +14 -0
  970. package/dist/seat-launch-additions-lines.js.map +1 -0
  971. package/dist/terminal-window.d.ts +1 -1
  972. package/dist/terminal-window.d.ts.map +1 -1
  973. package/dist/terminal-window.js +50 -22
  974. package/dist/terminal-window.js.map +1 -1
  975. package/package.json +1 -1
  976. package/tui/dist/attention/attention-model.d.ts +3 -1
  977. package/tui/dist/attention/attention-model.d.ts.map +1 -1
  978. package/tui/dist/attention/attention-model.js +68 -1
  979. package/tui/dist/attention/attention-model.js.map +1 -1
  980. package/tui/dist/commands/registry.d.ts.map +1 -1
  981. package/tui/dist/commands/registry.js +2 -0
  982. package/tui/dist/commands/registry.js.map +1 -1
  983. package/tui/dist/config/config-model.d.ts.map +1 -1
  984. package/tui/dist/config/config-model.js +2 -0
  985. package/tui/dist/config/config-model.js.map +1 -1
  986. package/tui/dist/daemon-client.d.ts +18 -0
  987. package/tui/dist/daemon-client.d.ts.map +1 -1
  988. package/tui/dist/daemon-client.js +4 -0
  989. package/tui/dist/daemon-client.js.map +1 -1
  990. package/tui/dist/hydrate.d.ts.map +1 -1
  991. package/tui/dist/hydrate.js +9 -6
  992. package/tui/dist/hydrate.js.map +1 -1
  993. package/tui/dist/main.js +15 -1
  994. package/tui/dist/main.js.map +1 -1
  995. package/tui/dist/render.d.ts.map +1 -1
  996. package/tui/dist/render.js +10 -3
  997. package/tui/dist/render.js.map +1 -1
  998. package/tui/dist/topology/fixture.js +1 -1
  999. package/tui/dist/topology/fixture.js.map +1 -1
  1000. package/tui/dist/topology/glyphs.js +1 -1
  1001. package/tui/dist/topology/glyphs.js.map +1 -1
  1002. package/tui/dist/topology/graph-types.d.ts +1 -0
  1003. package/tui/dist/topology/graph-types.d.ts.map +1 -1
  1004. package/tui/dist/types.d.ts +25 -0
  1005. package/tui/dist/types.d.ts.map +1 -1
  1006. package/ui/dist/assets/{index-CVgod3Pm.js → index-Blg-p32B.js} +92 -92
  1007. package/ui/dist/index.html +1 -1
@@ -10,9 +10,11 @@ already does it, or two verbs crossed already answer it. **You cannot look up a
10
10
  not know exists.** So the point of what follows is not skill. It is recognition: that when a task
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
- Eighty-eight top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.6.14`). This marker describes the pack's teaching, not publication or live
13
+ Ninety top-level verbs ship (capability canon refreshed through
14
+ `capability-delta-v0.7.1`). 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
+ What changed in the installed version, and what to do about it, is one read away:
17
+ `rig context get reference/whats-new.md`.
16
18
  Model-divergence proclamations are live product (trust them; pins use canonical
17
19
  model IDs).
18
20
 
@@ -36,7 +38,10 @@ one command away. Your memory of the fleet is a claim about the past.
36
38
  source and time), or unknown; it never shows the configured model in its place. A Claude seat at
37
39
  Claude Code's MCP-server approval menu reads as needing input (`mcp_gate`), a Codex seat at its
38
40
  folder-trust panel reads `trust_gate`, and an OMP seat whose turn ended with a typed transient
39
- provider failure reads idle and takes an ordinary retry.
41
+ provider failure reads idle and takes an ordinary retry. The `ATTN` column (`yes`, `no` or `?`)
42
+ says which seats need attention (`needsAttention` in `--json`; `--full` shows every field). Cells
43
+ are one space apart, so read `--json`, with `--fields` to pick fields, rather than column
44
+ positions.
40
45
  **`rig ps --resources`** shows this host's load and transcript capture cost.
41
46
  - **`rig ps --all-hosts --nodes -A`** — the same across every registered machine. Rollup-only
42
47
  unless you ask for nodes.
@@ -45,7 +50,10 @@ one command away. Your memory of the fleet is a claim about the past.
45
50
  When the seat's typed rows name exactly one work node, its JSON also carries `currentWork` with
46
51
  the mission, slice, and path the refocus hook uses.
47
52
  - **`rig seat status <seat>`** — what the system already believes about a seat's handover state,
48
- and whether the thing you did an hour ago actually landed.
53
+ and whether the thing you did an hour ago actually landed. Before a relaunch, it shows what the
54
+ seat's next fresh managed launch will ask for, labelled planned rather than observed: the native
55
+ permission argument, where each part comes from, what OpenRig adds and the commands that change
56
+ it, plus the seat's terminal policy.
49
57
  - **`rig view list` / `rig view show <lens>`** — named lenses over coordination state: use
50
58
  `view show escalations` for owner attention, `view show pickup` for claimed-row state, and
51
59
  `view show execution` for done/now/next and current authored planning guidance with its
@@ -98,20 +106,32 @@ unseen — which makes messages the one delivery channel that never gets skipped
98
106
  producer-link advisory reading `no_activity_signal` means activity could not be determined;
99
107
  confirm by effect, never relaunch on it. A send or wake to a seat whose latest hook is a
100
108
  question waiting for a person is refused with `target_needs_input`, even when its screen
101
- can't be read: read it with `rig capture` and get the question answered instead of retrying.
109
+ can't be read, and so is one to a Claude seat whose hook just reported it running while its
110
+ screen shows an MCP enablement menu, a question or a permission prompt: read it with
111
+ `rig capture` and get the question answered instead of retrying.
102
112
  `--wait-for-idle N` waits before it takes the seat's delivery lease, so other sends and wakes to
103
113
  that seat aren't held behind it; N is a deadline from the start of the wait.
104
114
  Over `--host` to an http-registered host, a send that may have reached the remote reads
105
115
  `remote-outcome-unknown` ("Delivery UNCONFIRMED"): check the target with `rig capture <session>
106
116
  --host <id>` before any resend. Only a host that was never reached reads as unreachable. A send
107
117
  whose caller goes away (Ctrl-C, or its own timeout) before input starts is refused with
108
- `caller_cancelled` and never types later.
118
+ `caller_cancelled` and never types later. **`--urgent`** marks a message urgent, as does a row
119
+ at priority `urgent` or `critical`: its wake starts `Urgent (marked by …):`, and it gets through a
120
+ seat whose typing guard lets only urgent input type (`openrig-urgent` or `urgent-only`, below).
109
121
  - **`rig send --raw`** — send exact text or keystrokes without the From/To envelope;
110
122
  the interactive-prompt guard still applies. To deliberately drive an interactive prompt,
111
123
  **`--dangerously-interact --reason "<why>"`** is the explicit override and implies raw text.
112
124
  Inspect the prompt and establish authority for its effect before using that override. It types
113
- exactly the bytes and keys you give it, in any state: Enter is added only for a complete answer
125
+ exactly the bytes and keys you give it: Enter is added only for a complete answer
114
126
  staged in a recognised Claude Code or Codex input box, so anywhere else put CR in the payload.
127
+ **On a managed seat it stops before typing into an input box that already holds typed or pasted
128
+ text**, and shows you that text, apart from a recognised dim suggestion; it types nothing. Clear
129
+ the box and retry, or add `--type-without-checking`, which reads and clears nothing and may join
130
+ or submit the existing text. Keys for a recognised native menu are sent as before, and collapsed
131
+ paste contents or an unrecognised input can't be read. Not yet checked on a live seat whose box
132
+ holds only a suggestion, or typed text beside one. Don't use it to type over a half-written box:
133
+ to reach a seat with something that can't wait, use `--urgent` where its typing-guard level lets
134
+ urgent input through.
115
135
  A send to a pane in tmux copy or view mode leaves the mode once and delivers; a pane that can't
116
136
  leave is refused with `pane_in_mode`. With `transport.verify_input_box` on (off by default),
117
137
  `--verify` to Claude Code or Codex reads verified only when the text was seen in the input box
@@ -144,7 +164,23 @@ unseen — which makes messages the one delivery channel that never gets skipped
144
164
  including an error answer from the daemon such as a removed rig, still end the wait.
145
165
  - **`rig stream emit` / `list` / `watch` / `archive`** — drop an observation somewhere the *next*
146
166
  agent will find it. Emitting costs nothing and does not interrupt anyone; the value appears when
147
- someone lists the stream before starting.
167
+ someone lists the stream before starting. **`rig stream show <id>`** says what became of one:
168
+ its routing, linked work and that work's state. Items emitted from 0.7.1 on are kept 30 days or
169
+ the newest 20,000 (`retention.stream_days`, `retention.stream_max_items`) unless a record names
170
+ them, and a body over 16 KiB is stored truncated.
171
+ - **`rig stream subscribe <seat>`** — let a seat read only what concerns it: items addressed to it
172
+ or matching its topics (`--tags`, any of; `--type` for one hint type; subscribing again keeps its
173
+ place). **`rig stream read`** then returns the calling seat's next bounded page (at most 20 items
174
+ and 64 KiB, with `more`, `unread` and any `gap`); `--reader <session>` names the seat from outside
175
+ one. `rig stream subscriptions` lists readers with their unread counts, and `rig stream
176
+ unsubscribe <seat>` stops one.
177
+ - **`rig acp run <row> --cwd <dir> -- <command>`** — hand one queue row's task to an outside agent
178
+ that speaks ACP (for example `openclaw acp`) as a single turn. The row's notes get the agent and
179
+ session, progress, each permission request and its answer, and the outcome (completed, stopped,
180
+ cancelled, failed or unknown): the agent's report, not a judgment, so the row stays open for you to
181
+ judge and close. Each permission request is a row to `--permissions-to` (default: you). The guide
182
+ is `docs/reference/acp-agents.md` in the source repo, and `docs/reference/a2a-agents.md` covers
183
+ A2A agents.
148
184
  - **`rig terminal open <view>`** — open a desktop terminal with live agent tiles; a window is the
149
185
  default. **Opening `rig terminal open saved:kernel --window` is the step after install or start**:
150
186
  say you're opening it, run it on the daemon's desktop, then tell the person where it opened. Don't
@@ -165,6 +201,11 @@ unseen — which makes messages the one delivery channel that never gets skipped
165
201
  the failure. `--provider herdr` or `--provider cmux` adds tiles inside a workspace that is
166
202
  already visible, without opening a window; in `--json` output, `reusedWorkspace` with no new
167
203
  tiles means an existing view was reused, which is success.
204
+ Add `--session <name>` to select a Herdr session for that request; `--session default`
205
+ explicitly selects its default session. `rig terminal status --session <name>` inspects
206
+ the same endpoint. Omitting the flag keeps the daemon's configured endpoint. Herdr tiles come
207
+ back attached after a Herdr restart, except a tile over SSH: reopen that one with
208
+ `rig terminal open <view> --provider herdr`.
168
209
  In the TUI, **TERMINALS** keeps Saved views prominent and Derived groups collapsed until
169
210
  expanded. Names load before detailed readiness. Select a view to inspect its members,
170
211
  layout and pages; preview is passive. Saved membership requires deliberate setup.
@@ -232,7 +273,8 @@ your context, your compaction and your replacement — and it is the only thing
232
273
  - **`rig queue update`** — record what happened in a form the rest of the system can act on. A
233
274
  `--note` does not reopen a terminal row; terminal-to-active repair requires explicit `--reopen`
234
275
  with both `--state` and `--note`. `--summary` on its own corrects a row's subject in any state,
235
- and a close with `--resolution "<outcome>"` stores the outcome on the row.
276
+ and a close with `--resolution "<outcome>"` stores the outcome on the row; `--state done
277
+ --evidence-ref <path>` also keeps the artifact's pointer on it.
236
278
  - **`rig queue handoff`** — pass work so the close and the create are **one transaction**, instead
237
279
  of closing yours, failing to create theirs, and stranding the work in between. A standing sweep
238
280
  checks recently closed rows (a 24-hour lookback) and flags a `handed_off_to` closure whose
@@ -273,7 +315,11 @@ you that is still running.
273
315
  asleep, compacted or finished. For a context wall, use the exact
274
316
  `--policy context-usage-threshold` rather than a hand-rolled transcript timer. A scheduled
275
317
  reminder arrives as the authored message under an explicit scheduler identity, not as YAML
276
- syntax or anonymous agent input.
318
+ syntax or anonymous agent input. The context watch takes `--threshold-tokens` or
319
+ `--threshold-percent` (of the seat's context window), measured from the seat's own usage sample.
320
+ - **`rig watchdog update <jobId>`** (`--interval-seconds`, `--message`, `--spec`) — retune a live
321
+ job in place. It keeps the job id, so a queue row's attachment still holds; don't stop and
322
+ re-register a job to change it. A stopped or finished job is refused, not restarted.
277
323
  - **`rig watchdog list` / `show` / `status` / `stop`** — did it fire, is it still live, did someone
278
324
  stop it. `list` defaults to active, compact, and 100; `--all --full` is the complete history.
279
325
  **Quiet skips are not recorded**, so a healthy idle job and a job that never ran look identical
@@ -415,9 +461,26 @@ not have to tear one down to change it, and you rarely have to start from nothin
415
461
  before launch; and a Claude seat slow to draw its screen ends `attention_required` with its pane
416
462
  kept, not failed. An `env:` block on the rig or a member in `rig.yaml` reaches every seat and
417
463
  carries into restores and handovers, and `rig up <spec> --env KEY=VALUE` adds one for a single
418
- launch; the values aren't secret (they're stored and exported).
464
+ launch; the values aren't secret (they're stored and exported). **New seats don't inherit the
465
+ tmux server's global environment** (`terminal.inherit_tmux_environment`, default false), so a
466
+ value set with `tmux set-environment -g` no longer reaches them. A new seat starts from the
467
+ daemon's values for the names in tmux's `update-environment`, a fixed set (`LANG`, `LC_*`, `TZ`,
468
+ `TMPDIR`, `XDG_*`, `CLAUDE_CONFIG_DIR`), the launch environment (`PATH`, `HOME`, `USER`,
469
+ `CODEX_HOME`, `OPENRIG_*` and the allowlisted provider auth variables) and its own `env`. Put an
470
+ account or key in the seat's `env` or `rig up --env`, or set the key to true. Running seats are
471
+ untouched, and `rig setup` warns when it sees a custom tmux configuration.
472
+ **`rig up <spec> --name <rig>`** runs one spec as another rig under that name; the rig keeps the
473
+ name for `--existing`, snapshots and restore, and the spec file isn't changed.
474
+ - **A Claude member can bring its own setup** in the rig spec: `agent_file`,
475
+ `append_system_prompt_file`, `plugin_dirs` and `advisor` (an Advisor model). They're copied into
476
+ that seat's own storage, never the project, so one seat in a shared repository can have its own
477
+ persona, prompt or plugins. A bundle's before-install view lists them.
419
478
  - **`rig community-harness list`**: list installed community-harness presets and declared limits
420
- (not tested by OpenRig; launch-only).
479
+ (not tested by OpenRig). A preset can declare how its app reports the conversation each launch
480
+ made (`launch_result`), reopens one on resume (`resume`) or lets OpenRig name it
481
+ (`names_conversation`); without those it stays launch-only. A conversation
482
+ that's gone reads `missing`, never quietly replaced. Examples for Cursor, Hermes and OpenClaw are
483
+ in `docs/reference/community-harness-examples/`.
421
484
  - **`rig down`** — stop a rig's seats and take it out of the running set. It ends the agents'
422
485
  sessions and any work in progress; don't run it on a live team unless the person asked. In
423
486
  human mode it first prints one line with each agent's last known activity, or “unknown”: a
@@ -432,6 +495,10 @@ not have to tear one down to change it, and you rarely have to start from nothin
432
495
  exactly one existing seat. It uses no resume, fork, rebuild, snapshot, or restore packet;
433
496
  siblings and durable work stay put, and unmanaged ambiguity refuses. With `--stop`, a seat with a
434
497
  still-live older session is refused before anything is stopped; `--plan` previews it.
498
+ - **A new seat's first startup message is OpenRig's identity context, not a task.** A seat with
499
+ nothing else to start with (no role file, no restore, no obligations) is asked to run
500
+ `rig whoami --json`, reply with its identity and readiness, and wait for an assignment.
501
+ Repository history and tool descriptions aren't assignments.
435
502
  - **`rig seat restart <seat> --keep-conversation --reason <why>`** — restart one Codex seat in its
436
503
  own pane on the same conversation, so it starts again on whatever account its Codex home now
437
504
  holds; it doesn't switch accounts itself. It refuses with nothing stopped unless the seat is a
@@ -448,6 +515,16 @@ not have to tear one down to change it, and you rarely have to start from nothin
448
515
  - **`rig add`** / **`rig expand`** — graft one more member, or a whole new pod, onto a rig that is
449
516
  already running. `rig add`, `rig grow` and `rig remove` take the rig's name or ID; a name two active rigs share is refused
450
517
  with `rig_ambiguous` and the candidates. `rig grow --new-pod` and `rig expand` are one ingress; choose by input shape.
518
+ - **`rig edge add <rig> <from> <to> --kind <kind>`** / **`rig edge remove <rig> <edge-id>`** —
519
+ change one edge on a running rig, such as a replaced seat's, instead of taking the rig down.
520
+ `--plan` shows the change without writing, and a `delegates_to` change says when it moves who
521
+ work routes to.
522
+ - **A rig's name works wherever a rig is named.** `archive`, `unarchive`, `release`, `shrink`,
523
+ `expand`, `snapshot` (and `snapshot list`), `export`, `restore --rig` and `restore status --rig`
524
+ take its name, as `launch`, `add`, `grow` and `remove` do, and so do the MCP tools `rig_down`,
525
+ `rig_snapshot_create`, `rig_snapshot_list`, `rig_restore`, `rig_rig_nodes`, `rig_add` and
526
+ `rig_bind`. A name two rigs share returns `rig_ambiguous` with the candidates. Don't look the id
527
+ up first.
451
528
  - **`rig remove`** / **`rig shrink`** — take a seat, or an entire pod, out of a running topology.
452
529
  If it holds active work, pass `--fallback <live-seat>` to reroute before mutation; without a
453
530
  valid fallback the command refuses rather than strand the rows.
@@ -493,7 +570,15 @@ version, from checking the environment to a useful report to the OpenRig team.
493
570
  Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
494
571
  `daemon-shutdown.json` and log when completion is incomplete or unverified. No target is a
495
572
  distinct no-op, and a timeout never proves down. Use command help for exact limits and recovery.
496
- `/healthz` reports the daemon's effective UID as `euid`, beside `pid`.
573
+ `/healthz` reports the daemon's effective UID as `euid`, beside `pid`. Running several OpenRig
574
+ homes on one machine on purpose: `rig config set daemon.db_conflict stop` refuses a start whose
575
+ database another live daemon already holds (the default, `warn`, only warns), and
576
+ `rig daemon start --allow-db-conflict` allows one deliberate start.
577
+ - **A busy daemon isn't a down one.** The CLI refuses only when the daemon is confirmed down
578
+ (stopped, stale, a refused probe), its probe is blocked, or it's a sibling home; a busy daemon
579
+ gets the real request. A write that then times out says its outcome is **unknown**: check its
580
+ effect before any retry, and don't restart the daemon because it didn't answer. `rig up` and
581
+ `rig start` no longer start a second daemon over a busy one.
497
582
  - **`rig doctor`** — is the *installation* wired up correctly, or are you chasing a bug that is
498
583
  really a broken install. It checks Claude and Codex installs, and a login or configured provider
499
584
  credential, the way setup does; it fails for a harness the person doesn't use, which they can
@@ -542,6 +627,11 @@ version, from checking the environment to a useful report to the OpenRig team.
542
627
  continue from the receipt. There is no `rig upgrade` verb, and `rig down` is not part of a
543
628
  continuity-preserving upgrade. After an upgrade, `rig context get reference/whats-new.md` says
544
629
  what behaves differently for an agent; the skill's last step reads it and tells the person.
630
+ Startup keeps a copy of every OpenRig plugin or skill file it replaces: before the refresh writes
631
+ the new copies, it saves each replaced file under `$OPENRIG_HOME/backups/managed-refresh/` and
632
+ logs `preserved previous contents of <file> at <copy> before managed refresh`, whether or not you
633
+ edited it (about 22 copies on the first start after a stock upgrade, so a copy doesn't mean
634
+ anything was changed). An edit you made isn't lost: reapply it from the copy.
545
635
  - **A seat's `compaction_strategy` is declared, not improvised at the wall.** Pair a threshold-
546
636
  managed seat with the `context-usage-threshold` watchdog above so continuity is arranged while
547
637
  the seat can still act.
@@ -587,13 +677,27 @@ version, from checking the environment to a useful report to the OpenRig team.
587
677
  touching its spec or its peers; nothing restarts. **`rig seat effort <seat>`** reports what was
588
678
  requested, what's saved, what the running process was launched with and what the session
589
679
  recorded (NOT VERIFIED until the seat takes a turn). It works for Pi seats too, sent as `--thinking`.
590
- - **`rig seat set-typing-guard <seat> --mode off|draft-aware|hold --reason <text>`** — choose
591
- ordinary automatic delivery, immediate retention when input is busy/unreadable, or holding all automatic
592
- input. `--enabled true|false` remains compatible: true selects hold, false selects off.
680
+ - **`rig seat set-typing-guard <seat> --mode <mode> --reason <text>`** — choose how much automatic
681
+ input reaches a seat, for example while a person works in its terminal: `off` (ordinary
682
+ delivery), `draft-aware` (retained at once when the input box is busy or unreadable),
683
+ `sends-only` (deliberate sends from people and agents type; OpenRig's own notices are held),
684
+ `openrig-urgent` (OpenRig's own messages and anything marked urgent type), `urgent-only` (only
685
+ urgent messages type) or `hold` (no automatic input; one held notice per wake instead of
686
+ re-nudges). `--enabled true|false` remains compatible: true selects hold, false selects off.
687
+ Known limit: in `draft-aware`, a multi-line message to a Claude seat can stay unsubmitted when the
688
+ paste changes Claude's footer hint, and later sends wait behind it; check the seat's composer.
593
689
  `rig seat status` shows the requested/effective mode; wait for pending activation to finish.
594
690
  **`rig seat held-messages`** lists what was retained and **`rig seat retire-held-message`**
595
691
  retires one; changing mode does not replay old held messages. Draft-aware returns the exact
596
692
  refusal and original ID immediately; callers decide further action, with no daemon retry timer.
693
+ - **`rig seat set-terminal-policy <seat> --preset no-peer-interventions|help-within-instructions|full-control
694
+ --reason <text>`** — choose how far OpenRig and peers may act on a seat: `--helper <addresses…>`
695
+ names helpers covered by the instruction, `--rig-default` sets the rig's choice for seats added
696
+ later, and exceptions take `allow` or `deny` (`--peer-compaction`, `--self-model`,
697
+ `--openrig-model` and the like; model covers effort too). So a seat can keep its saved model while
698
+ still allowing managed compaction. Managed compaction and saved model or effort changes are
699
+ checked, and a denial reads `terminal_policy_refused`; other interventions are guidance only. It
700
+ changes no native permissions or typing-guard level. `rig seat status` shows it.
597
701
  - **`rig compact-plan`** → **`rig compact`** — who is near the context wall, then act on it.
598
702
  **Ordering matters: running `compact` without the plan is guessing which seat needed it.**
599
703
  Managed compaction waits for the seat's restore map before compacting; `rig compact --state`,
@@ -611,6 +715,22 @@ version, from checking the environment to a useful report to the OpenRig team.
611
715
  hooks; a seat can give a slow refocus more time with `OPENRIG_REFOCUS_BUDGET_MS` (4500 to 52000).
612
716
  The refocus work packet stays off by default for Claude Code and Codex;
613
717
  `OPENRIG_REFOCUS_WORK_PACKET=1` turns it on, with each field bounded.
718
+ `policies.claude_compaction.preparation_root` (an absolute path) puts restore maps where seats
719
+ may write. A daemon restart picks a managed compaction up where it stopped: an owed restore step
720
+ resumes, a `/compact` that may have been sent is never sent again, and `rig compact --state`
721
+ shows anything stranded or owed.
722
+ - **Codex seats get `openrig-core` too: its refocus after a compaction and its skills, with no
723
+ first-launch review stop.** OpenRig installs the plugin into Codex on boot and on a fresh launch.
724
+ On a first install, with no existing registration or cache, it trusts the plugin's six hooks by
725
+ their exact definition, after checking the packaged, vendored and installed copies byte for byte.
726
+ A fresh Codex seat starts ready unaided, and a 0.6.14 Codex home upgrades and resumes ready.
727
+ Activity still comes only from the four inline activity hooks, so events aren't duplicated. Your
728
+ choice stands: an install you left untrusted or declined stays in Codex's own review through
729
+ restart and upgrade, a plugin or hook you disabled stays disabled, and nothing outside those six
730
+ hooks is trusted. Limits: the files are checked only when trust is granted, so a later edit to a
731
+ cached hook keeps that trust, as with any hook trusted in Codex; the trust covers that
732
+ `CODEX_HOME`, so your own Codex sessions there load the plugin too, and its hooks do nothing
733
+ outside an OpenRig seat; adding your own Codex hook can trigger a re-review of one OpenRig hook.
614
734
  - **Know what compaction costs before you reach for it.** On some runtimes what comes back has
615
735
  enough context left to believe it knows everything and not enough to actually know anything — and
616
736
  **the compacted agent is the only one who knows it happened**, while every other seat keeps
@@ -743,6 +863,14 @@ scheme, and nothing downstream can see it.
743
863
  Write it with this command, not a file tool, so earlier recaps are kept.
744
864
  - **`rig project classify` / `list` / `show`** — turn a raw observation into a routed, typed,
745
865
  deduped record instead of hand-creating a row from a hunch.
866
+ - **`rig project wake --decide`** (opt-in, off by default) — route stream observations to owned
867
+ work with typed decisions. Once `decisions.enabled` is true, `decisions.consumers` includes
868
+ `stream` and the intake seat has `OPENROUTER_API_KEY` in its process, each eligible observation
869
+ gets one bounded typed decision during that seat's wake: create a row for a supplied owner, join
870
+ supplied work, or record a duplicate or no action. Anything uncertain, refused or failed goes to
871
+ the intake seat as its own disposition, and the model isn't asked again. **`rig project decisions
872
+ status`** shows what a run would do without making a call. Without `--decide`, or with decisions
873
+ off, nothing changes, so intake stays by hand.
746
874
 
747
875
  ## Making a shape exist somewhere else
748
876
 
@@ -833,6 +961,38 @@ reaching them is ordinary work rather than an escalation.
833
961
  to the external participant, not a separate outbound route.
834
962
  - **`rig gateway human add`** — register a person and their connector binding. Registration or
835
963
  connector changes do not themselves authorize a message.
964
+ - **Every ask to a person lands on the TUI's Feed**, where they can answer it (and on Steering for
965
+ anyone running the Steering app). Whether it also posts to Slack is their subscription:
966
+ `rig gateway human set <id> slack-subscription every-ask|urgent-only|unset` (`every-ask` is the
967
+ default). Under `urgent-only`, only an ask
968
+ created or handed off with `--alert` posts. `--alert` also makes an ask stand out in Slack (an
969
+ interrupt with a mention) under either setting, so keep it for something only they can do, or an
970
+ approval whose wait costs now. Don't assume every ask pings them on Slack.
971
+ - **`rig gateway human quiet set <id> --daily HH:MM-HH:MM`** (or `--until <HH:MM|ISO>`, with
972
+ `--tz`) — hold a person's routine asks while they're away, and post each one once when they're
973
+ back. While quiet, a routine ask is held: nothing posts and nobody is mentioned, the row notes
974
+ `delivery-decision: quiet-hold …`, and its `waiting.nextBackstop` reads
975
+ `quiet-release:<windowId>`. Asks tagged `escalation` or `wake-escalation` still go through, and if
976
+ quiet hours can't be read, nothing posts to that person. `end` ("I'm back"; a daily rule stays for
977
+ tomorrow), `clear` and `show` manage it. Reach for it when a person says routine asks can wait;
978
+ don't build a hold yourself.
979
+ - **`rig gateway human mode save <id> <name>` / `apply` / `current` / `end` / `account`** — a
980
+ person's agreed modes ("asleep", "out of office"). `save` takes `--availability
981
+ available|focus|away|off`, `--expected-back`, `--decision-room "<their words>"`, `--exclude`,
982
+ `--quiet`, `--tz` and `--account <where>`. `apply <id> <name> --until <time>` ends the mode on
983
+ time and files a `mode-scheduled-end` row for the kernel operator, falling back to the seat that
984
+ applied it. The account says, from records only, which effects ended, were kept or failed: never
985
+ tell the person "back to normal" while one reads `kept`, `pending` or `failed`. `rig mode`, the
986
+ rig's own posture, is a different thing.
987
+ - **`rig gateway human mode room <id>`**, then **`rig gateway human mode decide <qitemId>
988
+ --application <id> --reason "<why>" (--reversible|--irreversible) [--choose q=opt…]`** — decide
989
+ your own pending ask on a person's behalf, inside the decision room their mode gives. It's
990
+ recorded as delegated, never as their answer, and the ask closes. Only the agent that asked can
991
+ decide. A permission prompt or an approval gate is never decided this way (`permission-prompt`);
992
+ other refusals include `no-active-mode`, `mode-changed`, `no-decision-room`,
993
+ `not-the-asking-agent` and `person-answering`. A late Slack click names who decided, and under
994
+ which mode. Check the room before you ask a person who has a mode on: the ask is created first,
995
+ so without quiet hours it can post before you decide it.
836
996
  - **During local-daemon outage, remote HTTP sender attribution still uses the originating
837
997
  instance's durable identity.** A selected remote or forwarded endpoint never becomes the origin.
838
998
  Missing local identity remains explicitly unknown; transport success is not operation success.
@@ -908,7 +1068,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
908
1068
  - **Project World declares the human authority boundary.** Read the current project and mission
909
1069
  policy for actions requiring approval; the system mechanics do not impose a universal list.
910
1070
  - **`rig auth list` / `validate` / `seats`** — is this seat's runtime actually logged in, which
911
- accounts exist, and which account each seat is *supposed* to be on.
1071
+ accounts exist, and which account each seat is *supposed* to be on. To act on a Codex home on
1072
+ another machine, `rig auth status|list|switch` take `--host <id>` and `--codex-home <dir>`, and
1073
+ `rig seat restart` takes `--host <id>`.
912
1074
  - **`rig provider accounts` / `bindings` / `signals` / `switch`** — which seats are bound to which
913
1075
  accounts, what the usage signals say, and whether a seat can be moved without stranding the
914
1076
  conversation it is in the middle of. **`provider signals` reports anomalies rather than a
@@ -923,10 +1085,13 @@ your circumstances is configuration, and the ones that are not, another agent ca
923
1085
  because nothing links a seat's reading to the login it used: read each window as that seat's
924
1086
  reading, and don't tell a person an account has room from it. Each account row also carries a
925
1087
  sign-in fact (`usable`, `needs sign-in` or `unknown`); a signed-in Claude login never reads
926
- better than `unknown`. A Codex account's last reading, its reset and its last observed exhaustion
927
- survive a daemon restart as history (`retained: "before_restart"`), never a current reading; a
1088
+ better than `unknown`. A Claude seat signed in with a long-lived token (`claude setup-token`)
1089
+ gets no usage reading (`not_subscription_login`). A Codex account's last reading, its reset and
1090
+ its last observed exhaustion survive a daemon restart as history (`retained: "before_restart"`), never a current reading; a
928
1091
  window whose reset has passed shows an `expectation`, which is planning, not a reading. Run `rig provider status --refresh`
929
- before telling anyone an account has room.
1092
+ before telling anyone an account has room. An agent that moves a Codex home between subscriptions files
1093
+ what it did with `rig provider moves report` (a queue item to whoever asked, checked and never a move itself), and
1094
+ `rig provider moves` reads the reports back.
930
1095
  - **Codex configuration fragments** — a `codex_config_fragment` must open with a table header and
931
1096
  never overrides a user-declared table; see `docs/reference/agent-spec.md`.
932
1097
  - **`rig env`** — the real services behind a rig: are they up, what are they saying, how do you
@@ -936,6 +1101,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
936
1101
  views fall back to plain tmux) and on a Mac offers Ghostty once (`--ghostty` / `--no-ghostty`).
937
1102
  It no longer installs cmux; an existing cmux still works. `--providers claude`, `codex` or
938
1103
  `both` sets which harnesses it installs and checks; one not chosen reads `skipped`, never failed.
1104
+ The choice is saved as `provider.selected`, and the kernel starts seats only for those providers
1105
+ (empty, the default, means every signed-in one). `--router-line yes|no` decides whether OpenRig
1106
+ adds its one line to shared guidance files (`skills.router_line.enabled`).
939
1107
  - **`rig usage series`** — what a seat's token curve has looked like over time: climbing steadily,
940
1108
  reset, or stopped reporting entirely. The last one is a signal, not a gap.
941
1109
  - **`rig usage top`** — which of this machine's seats used the most tokens over a window (`--window
@@ -1004,13 +1172,21 @@ your circumstances is configuration, and the ones that are not, another agent ca
1004
1172
  shell command. Five queue tools (`rig_queue_create`, `rig_queue_show`, `rig_queue_list`,
1005
1173
  `rig_queue_claim`, `rig_queue_update`) act as the seat named by `OPENRIG_SESSION_NAME`, so an
1006
1174
  agent with no shell can hand work to the team and read the closing note as its answer. Nothing
1007
- wakes such an agent; it sees new work when it checks.
1175
+ wakes such an agent; it sees new work when it checks. Its tools cover the whole delegation loop:
1176
+ find its seat, team and lead (`rig_whoami`, `rig_team`), hand work on and follow the handoff's
1177
+ successor, find finished work and read its artifact, decide inside a person's decision room,
1178
+ follow a restore it started (`rig_restore_status`) and read the event log
1179
+ (`rig_telemetry_events`). **`rig mcp serve --http`** serves the same tools to a client on another
1180
+ host; `rig mcp token add <name> --seat <session>` gives each caller its own grant, acting as that
1181
+ seat.
1008
1182
  - **`rig skill loadout --runtime <claude-code|codex>`** — inspect the exact catalog revision,
1009
1183
  selectors, target, and current/missing/shadowed/conflicting state for one working directory.
1010
1184
  `--apply` writes only the managed ownership set, is idempotent, and refuses local edits or
1011
- unowned collisions. Launch now delivers a selected plugin's skills into `.claude/skills/` or
1012
- `.agents/skills/`, so don't copy them by hand; read the `plugin_skill_*` warnings if one is
1013
- missing. TDD is no longer a default skill.
1185
+ unowned collisions. `--seat <session|self>` does the same for one seat's own skills, which a
1186
+ Claude or Codex team seat keeps in its own storage outside the project. Launch delivers a
1187
+ selected plugin's skills there (into `.claude/skills/` or `.agents/skills/` only for a seat
1188
+ without that storage), so don't copy them by hand; read the `plugin_skill_*` warnings if one
1189
+ is missing. TDD is no longer a default skill.
1014
1190
  - **`rig startup-proof submit`** — answer an explicitly selected authenticated startup challenge.
1015
1191
  Startup adds no proof exercise by default. Declare `startup_proof` with `authenticated` or
1016
1192
  `none` in the applicable startup layers; see `docs/reference/rig-spec.md#startup-block/startup-proof-selection`.
@@ -1031,9 +1207,11 @@ database. It is one more set of primitives on a machine full of them.
1031
1207
  owes. **Neither knows the interesting cell.** Cross them and *alive, holding work, and not
1032
1208
  moving* falls out — which is the actual question behind every "is the rig stuck."
1033
1209
  - **"Is that seat stuck or thinking?"** — the row face answers this now (S04 pickup receipts):
1034
- every list/show projection carries a derived `pickup` state — `working`, `stalled-after-claim`
1035
- (with its evidence named: time since meaningful queue change and current activity confidence), `parked`, or
1036
- `unclaimed` — and `rig view show pickup` lists every claimed row with it. The old by-hand join
1210
+ every list/show projection carries a derived `pickup` state — `working`, `needs-input` (claimed,
1211
+ and its owner is waiting on input, with the reason: check that before waking it),
1212
+ `stalled-after-claim` (with its evidence named: time since meaningful queue change and current
1213
+ activity confidence), `parked`, or `unclaimed` — and `rig view show pickup` lists every claimed
1214
+ row with it. The old by-hand join
1037
1215
  (capture + `claimedAt` arithmetic + `queue transitions`) is RETIRED as a first move; `rig
1038
1216
  capture` remains the second question (is the pane alive), never the state derivation.
1039
1217
  - **"Is this a park or a strand?"** — the row face answers the pickup half: `parked` means the row is blocked,
@@ -1082,6 +1260,6 @@ deliberate writing.
1082
1260
 
1083
1261
  **`rig --help`**, then `rig <verb> --help`.
1084
1262
 
1085
- Eighty-eight verbs ship, and this page named most of them once. **You will not remember which — you
1263
+ Ninety verbs ship, and this page named most of them once. **You will not remember which — you
1086
1264
  are meant to remember only that the list is long enough to be worth reading before you build
1087
1265
  anything.** The question is never *how do I write this*; it is **does this already exist**.
@@ -50,6 +50,9 @@ The `rigs` skill is the procedure: follow it in order. This page is what it look
50
50
  > - Claude Code: workspace trust in `~/.claude.json`, and activity hooks in the project's
51
51
  > `.claude/settings.local.json`, plus a status line unless you already have your own.
52
52
  > - Discovery skills go in `~/.claude/skills` and `~/.agents/skills`.
53
+ > - Each seat's `CLAUDE.md` or `AGENTS.md` gets OpenRig's managed blocks (culture, identity, onboarding). One more
54
+ > line, pointing an agent at its seat skills, is added only on a yes: saved at setup, or set where the daemon runs
55
+ > (`OPENRIG_SKILLS_ROUTER_LINE_ENABLED`).
53
56
  > - **Starting a team in your project:** adds managed guidance to `AGENTS.md` or `CLAUDE.md`, plus the team's skills
54
57
  > and plugins.
55
58
  > - **Permissions:** by default, OpenRig's own kernel gets broader permissions than a project team gets by default.
@@ -181,11 +184,11 @@ You can also read [`skills/rigs/SKILL.md`](../../skills/rigs/SKILL.md) directly.
181
184
  script will do and changes nothing:
182
185
 
183
186
  ```sh
184
- curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.0/scripts/install.sh | sh -s -- --dry-run
187
+ curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.1/scripts/install.sh | sh -s -- --dry-run
185
188
  ```
186
189
 
187
190
  The same command without `--dry-run`,
188
- `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.0/scripts/install.sh | sh`, installs the
191
+ `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.1/scripts/install.sh | sh`, installs the
189
192
  latest published `@openrig/cli` with `npm install -g`,
190
193
  runs the Node.js and SQLite check, then `rig setup --dry-run` and `rig setup`. `rig setup` checks both Claude Code and
191
194
  Codex and may install a missing one, as described below. A failed step prints
@@ -223,6 +226,15 @@ writes an OpenRig-managed block (mouse on, a longer history) into `~/.tmux.conf`
223
226
  It is optional for this selected-provider path, not a requirement to fix an unused
224
227
  provider.
225
228
 
229
+ Setup also prints the one line OpenRig can add to each seat's `CLAUDE.md` or
230
+ `AGENTS.md`, plus OpenRig's markers around it so it can be removed cleanly: the
231
+ exact text it writes, which files it goes in, and what a no gives up. Show the person,
232
+ ask, and save their answer with `rig setup --router-line yes` or
233
+ `rig setup --router-line no`. No answer isn't a yes: with nothing saved and
234
+ nothing set in the environment, the line isn't added. The answer covers only
235
+ that line, and so does what setup says a no gives up; setup's "OpenRig may
236
+ modify" list names the other writes.
237
+
226
238
  The block keeps `terminal.history_limit` rows of scrollback per pane (default
227
239
  10000). To keep more, run `rig config set terminal.history_limit 50000`, then
228
240
  `rig setup` again. A running tmux server keeps its old limit until it restarts
@@ -233,8 +245,10 @@ New managed agents and handover successors on macOS/Linux start from the daemon'
233
245
  selected launch environment and declared seat values, rather than stored tmux globals.
234
246
  Values named by tmux's `update-environment` option, including its default SSH-agent
235
247
  and display variables, come from the daemon's environment.
236
- Normal shell startup and configured tmux shell commands still run. If your custom setup
237
- intentionally supplies values through tmux's global environment, opt in with
248
+ Normal shell startup and configured tmux shell commands still run. OpenRig reasserts its
249
+ selected `OPENRIG_DB` and configured `TMUX_TMPDIR` when starting the runtime after shell startup.
250
+ If your custom setup intentionally supplies values through tmux's global environment,
251
+ opt in with
238
252
  `rig config set terminal.inherit_tmux_environment true`. Setup points out this option
239
253
  when it detects custom tmux configuration; it never enables it automatically. The setting
240
254
  applies to future launches and successors, not running agents or your personal tmux server.
@@ -475,6 +489,11 @@ rig terminal open saved:kernel --provider cmux --json
475
489
  ```
476
490
 
477
491
  Use `rig terminal status --json` to inspect provider availability and liveness.
492
+ To keep rigs in separate Herdr sessions, select one explicitly:
493
+ `rig terminal open future-prod-rig --provider herdr --session future-prod`.
494
+ `--session default` selects Herdr's default session; omitting the option keeps
495
+ the daemon's configured endpoint. See [named terminal sessions](terminal-sessions.md)
496
+ for desktop windows, previews and session-specific status.
478
497
  For the first desktop handoff, use `--window`. Only if the window cannot open,
479
498
  `rig tui --shared` is the dashboard-only fallback, not the operator's conversation.
480
499
 
@@ -577,8 +596,8 @@ rig ps --nodes --rig starter
577
596
 
578
597
  Preview the selected seats, models and resources. Plan checks resolution and
579
598
  preflight for the working directory. The kernel is already your entry point; this step starts the chosen project
580
- team. Read readiness for the project seats, not only daemon health. Resolve a named authentication, trust or permission prompt before giving
581
- that seat work. When a seat stops at such a prompt, `rig up` reports
599
+ team. Read readiness for the project seats, not only daemon health. Have the person answer a named authentication, trust, hook-review or
600
+ permission prompt before giving that seat work; a launch default, or their answer for another seat, isn't their answer to this one. When a seat stops at such a prompt, `rig up` reports
582
601
  `Status: partial`, prints `Startup attention (<seat>): <reason>` and exits 1;
583
602
  `rig ps --nodes` repeats it as "Startup details". The reason ends with the command
584
603
  to run once the prompt is answered: `rig seat continue <seat>`, which delivers the
@@ -790,6 +809,24 @@ seats by itself: once a kernel exists, startup skips the built-in kernel boot an
790
809
  were all lost, not seats that failed. `rig status` then reads `Kernel: skipped` unless some of its seats are running
791
810
  and ready, so check `rig ps --nodes --rig kernel --full`.
792
811
 
812
+ **When every agent stops at once on Ubuntu 22.04.** Ubuntu 22.04's packaged tmux, 3.2a, can exit its whole server
813
+ when it's asked about a pane or session that has just closed. OpenRig checks each seat about once a second, so when a
814
+ seat's session closes, the next check can stop every agent on that tmux server, and tmux reports "server exited
815
+ unexpectedly". This was reproduced with Ubuntu 22.04's `tmux 3.2a-4ubuntu0.3` for a closed pane, a closed session,
816
+ and a closed pane in a window that stayed open. If `tmux -V` prints `tmux 3.2a`, put tmux 3.4 or later first on
817
+ your `PATH`. Newer versions weren't tested against this crash; #980's reporter runs 3.5a, and none of OpenRig's own
818
+ machines runs 3.2a. One way to get one is to build a current release from the tmux project, as that reporter did:
819
+
820
+ ```sh
821
+ sudo apt install build-essential pkg-config bison libevent-dev libncurses-dev
822
+ # in the unpacked release tarball:
823
+ ./configure && make && sudo make install # installs into /usr/local/bin
824
+ ```
825
+
826
+ Then restart the daemon from a shell where `tmux -V` shows the new tmux. A tmux server that's already running keeps
827
+ its version until it exits, so the change applies to servers started afterwards. If a crash already stopped your
828
+ agents, recover as for lost tmux sessions in the table above.
829
+
793
830
  If a snapshot is unavailable, the startup view checks the selected seat's
794
831
  retained startup source and authoritative occupant relation. It reports a
795
832
  missing or ambiguous source instead of selecting an arbitrary historical row.
@@ -1138,6 +1175,28 @@ and connection, and equal UIDs do not distinguish separate instances belonging
1138
1175
  to one account. The check
1139
1176
  does not add authentication to the daemon or protect direct HTTP clients.
1140
1177
 
1178
+ ## Optional database-conflict stop
1179
+
1180
+ By default, daemon startup warns and continues when another live daemon is confirmed
1181
+ using the selected database. To stop before opening that database instead, run
1182
+ `rig config set daemon.db_conflict stop` (set it to `warn` for the default).
1183
+ The check requires an open-file holder, a matching `daemon.json`, and a listener
1184
+ reporting the same PID; missing or inconclusive evidence does not stop startup.
1185
+ Selecting a database outside `OPENRIG_HOME` alone only warns; a confirmed live-daemon
1186
+ conflict there still stops when `daemon.db_conflict` is `stop`.
1187
+
1188
+ To proceed deliberately for one start, use
1189
+ `rig daemon start --allow-db-conflict` with the original start options.
1190
+ The flag sets the override on that child only and does not change the setting.
1191
+ The underlying `OPENRIG_ALLOW_DB_CONFLICT=1` environment override is also supported:
1192
+ exporting it applies to every later start from that shell, even after changing
1193
+ `OPENRIG_HOME`. An inherited copy can also bypass the stop in a later seat or test
1194
+ home. An inherited `OPENRIG_DAEMON_DB_CONFLICT` overrides that home's file setting;
1195
+ inspect or unset inherited overrides when changing homes.
1196
+ Separate instances should use separate databases; the check is a startup observation,
1197
+ not a lock against later concurrent starts. Changing the setting applies on the next
1198
+ daemon start.
1199
+
1141
1200
  ## Custom settings and precedence
1142
1201
 
1143
1202
  - **OpenRig:** member `permission_policy` overrides rig `permission_policy`.
@@ -1,7 +1,7 @@
1
1
  # Reference guides the help pack links 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.0"
4
+ version: "0.7.1"
5
5
  taxonomy: world
6
6
  purpose: "Version-matched reference guides the help guide links to. Load a single file or section by address; don't load the whole pack."
7
7
  files: