@openrig/cli 0.5.10 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1007) hide show
  1. package/LICENSE +190 -0
  2. package/daemon/assets/plugins/openrig-core/README.md +24 -5
  3. package/daemon/assets/plugins/openrig-core/skills/agent-operated-software/SKILL.md +7 -4
  4. package/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md +4 -2
  5. package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +11 -14
  6. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +51 -59
  7. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +11 -10
  8. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/SKILL.md +66 -66
  9. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/trunk-diff.sh +1 -1
  10. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/LEARNED.md +7 -5
  11. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/PLAYBOOK.md +3 -4
  12. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/SPEC.md +7 -7
  13. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +55 -64
  14. package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/CHANGELOG.md +14 -58
  15. package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +8 -9
  16. package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +20 -46
  17. package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +62 -76
  18. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +28 -22
  19. package/daemon/assets/plugins/openrig-core/skills/session-compaction-and-restore/SKILL.md +13 -15
  20. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -3
  21. package/daemon/context-packs/onboarding-width/public-reference-material.md +19 -24
  22. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +143 -41
  23. package/daemon/context-packs/skills/agent-operated-software/SKILL.md +7 -4
  24. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  25. package/daemon/context-packs/skills/agent-operated-workflows/SKILL.md +4 -2
  26. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/applying-a-permission-policy/SKILL.md +11 -14
  28. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +51 -59
  30. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/agent-starters/SKILL.md +21 -19
  32. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  33. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +11 -10
  34. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +84 -148
  36. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +3 -3
  37. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/openrig-architect/SKILL.md +40 -47
  40. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  42. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +16 -0
  45. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  48. package/daemon/context-packs/skills/core/session-source-fork/SKILL.md +12 -10
  49. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/SKILL.md +15 -13
  52. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +11 -10
  56. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  58. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  59. package/daemon/context-packs/skills/openrig-operating-model/SKILL.md +66 -66
  60. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  61. package/daemon/context-packs/skills/openrig-operating-model/scripts/trunk-diff.sh +1 -1
  62. package/daemon/context-packs/skills/openrig-operating-model/templates/LEARNED.md +7 -5
  63. package/daemon/context-packs/skills/openrig-operating-model/templates/PLAYBOOK.md +3 -4
  64. package/daemon/context-packs/skills/openrig-operating-model/templates/SPEC.md +7 -7
  65. package/daemon/context-packs/skills/openrig-user/SKILL.md +55 -64
  66. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/CHANGELOG.md +14 -58
  68. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/pm/exec-summary/SKILL.md +1 -1
  72. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/pm/plan-review/SKILL.md +2 -2
  75. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/pm/requirements-writer/SKILL.md +1 -1
  77. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  78. package/daemon/context-packs/skills/pm/ui-mockup/SKILL.md +3 -3
  79. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  80. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/pods/orchestration-team/SKILL.md +41 -59
  82. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +1 -1
  83. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  84. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +1 -1
  85. package/daemon/context-packs/skills/process/agent-browser/LOCAL-INSIGHTS.md +24 -53
  86. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  87. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  88. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  89. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  90. package/daemon/context-packs/skills/process/systematic-debugging/find-polluter.sh +29 -15
  91. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  92. package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +47 -40
  93. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  94. package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +3 -3
  95. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  96. package/daemon/context-packs/skills/queue-handoff/SKILL.md +8 -9
  97. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  98. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  99. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +20 -46
  100. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +62 -76
  101. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  102. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +28 -22
  103. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  104. package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +13 -15
  105. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  106. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  107. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  108. package/daemon/context-packs/world-public/build-your-world.md +12 -7
  109. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  110. package/daemon/dist/adapters/codex-resume.d.ts +1 -0
  111. package/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  112. package/daemon/dist/adapters/codex-resume.js +2 -9
  113. package/daemon/dist/adapters/codex-resume.js.map +1 -1
  114. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +7 -3
  115. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  116. package/daemon/dist/adapters/codex-runtime-adapter.js +26 -30
  117. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  118. package/daemon/dist/adapters/tmux.d.ts +22 -10
  119. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  120. package/daemon/dist/adapters/tmux.js +71 -36
  121. package/daemon/dist/adapters/tmux.js.map +1 -1
  122. package/daemon/dist/build-info.js +3 -3
  123. package/daemon/dist/daemon-shutdown.d.ts +27 -0
  124. package/daemon/dist/daemon-shutdown.d.ts.map +1 -0
  125. package/daemon/dist/daemon-shutdown.js +84 -0
  126. package/daemon/dist/daemon-shutdown.js.map +1 -0
  127. package/daemon/dist/domain/active-occupant.d.ts +2 -2
  128. package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  129. package/daemon/dist/domain/active-occupant.js +5 -5
  130. package/daemon/dist/domain/active-occupant.js.map +1 -1
  131. package/daemon/dist/domain/codex-thread-id.d.ts +1 -0
  132. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  133. package/daemon/dist/domain/codex-thread-id.js +32 -23
  134. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  135. package/daemon/dist/domain/context-usage-store.d.ts +2 -0
  136. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  137. package/daemon/dist/domain/context-usage-store.js +7 -28
  138. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  139. package/daemon/dist/domain/crash-cart-conductor.js +1 -1
  140. package/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  141. package/daemon/dist/domain/crash-cart-discovery.d.ts +3 -1
  142. package/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
  143. package/daemon/dist/domain/crash-cart-discovery.js +15 -4
  144. package/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
  145. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  146. package/daemon/dist/domain/execution-view.js +68 -5
  147. package/daemon/dist/domain/execution-view.js.map +1 -1
  148. package/daemon/dist/domain/fresh-occupant-relation.d.ts +8 -0
  149. package/daemon/dist/domain/fresh-occupant-relation.d.ts.map +1 -0
  150. package/daemon/dist/domain/fresh-occupant-relation.js +31 -0
  151. package/daemon/dist/domain/fresh-occupant-relation.js.map +1 -0
  152. package/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
  153. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
  154. package/daemon/dist/domain/gateway/connections-projection.d.ts +90 -0
  155. package/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
  156. package/daemon/dist/domain/gateway/connections-projection.js +171 -0
  157. package/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
  158. package/daemon/dist/domain/gateway/human-registry.d.ts +3 -1
  159. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  160. package/daemon/dist/domain/gateway/human-registry.js +3 -1
  161. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  162. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  163. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +3 -2
  164. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  165. package/daemon/dist/domain/health-diagnosis.js +1 -1
  166. package/daemon/dist/domain/health-diagnosis.js.map +1 -1
  167. package/daemon/dist/domain/kernel-boot.d.ts +2 -0
  168. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  169. package/daemon/dist/domain/kernel-boot.js +1 -1
  170. package/daemon/dist/domain/kernel-boot.js.map +1 -1
  171. package/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
  172. package/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
  173. package/daemon/dist/domain/lifecycle-obligations.js +35 -0
  174. package/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
  175. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  176. package/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
  177. package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  178. package/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  179. package/daemon/dist/domain/native-resume-probe.js +35 -23
  180. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  181. package/daemon/dist/domain/parked-query.d.ts +1 -0
  182. package/daemon/dist/domain/parked-query.d.ts.map +1 -1
  183. package/daemon/dist/domain/parked-query.js +2 -1
  184. package/daemon/dist/domain/parked-query.js.map +1 -1
  185. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +2 -0
  186. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  187. package/daemon/dist/domain/policies/parked-owner-consumer.js +2 -2
  188. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  189. package/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
  190. package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  191. package/daemon/dist/domain/policies/workflow-keepalive.js +19 -9
  192. package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  193. package/daemon/dist/domain/project-lifecycle-compiler.d.ts +9 -0
  194. package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
  195. package/daemon/dist/domain/project-lifecycle-compiler.js +121 -23
  196. package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
  197. package/daemon/dist/domain/proof/judgments.d.ts +138 -0
  198. package/daemon/dist/domain/proof/judgments.d.ts.map +1 -0
  199. package/daemon/dist/domain/proof/judgments.js +361 -0
  200. package/daemon/dist/domain/proof/judgments.js.map +1 -0
  201. package/daemon/dist/domain/proof/source-watch.d.ts +17 -0
  202. package/daemon/dist/domain/proof/source-watch.d.ts.map +1 -0
  203. package/daemon/dist/domain/proof/source-watch.js +60 -0
  204. package/daemon/dist/domain/proof/source-watch.js.map +1 -0
  205. package/daemon/dist/domain/queue-owner.d.ts +12 -0
  206. package/daemon/dist/domain/queue-owner.d.ts.map +1 -0
  207. package/daemon/dist/domain/queue-owner.js +28 -0
  208. package/daemon/dist/domain/queue-owner.js.map +1 -0
  209. package/daemon/dist/domain/queue-pickup.d.ts +3 -0
  210. package/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
  211. package/daemon/dist/domain/queue-pickup.js +14 -15
  212. package/daemon/dist/domain/queue-pickup.js.map +1 -1
  213. package/daemon/dist/domain/queue-recovery.d.ts +10 -0
  214. package/daemon/dist/domain/queue-recovery.d.ts.map +1 -0
  215. package/daemon/dist/domain/queue-recovery.js +27 -0
  216. package/daemon/dist/domain/queue-recovery.js.map +1 -0
  217. package/daemon/dist/domain/queue-repository.d.ts +13 -6
  218. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  219. package/daemon/dist/domain/queue-repository.js +177 -63
  220. package/daemon/dist/domain/queue-repository.js.map +1 -1
  221. package/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -11
  222. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  223. package/daemon/dist/domain/queue-stuck-sweep.js +52 -52
  224. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  225. package/daemon/dist/domain/queue-wait-backoff.d.ts +29 -2
  226. package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -1
  227. package/daemon/dist/domain/queue-wait-backoff.js +73 -14
  228. package/daemon/dist/domain/queue-wait-backoff.js.map +1 -1
  229. package/daemon/dist/domain/queue-waiting.d.ts +61 -0
  230. package/daemon/dist/domain/queue-waiting.d.ts.map +1 -0
  231. package/daemon/dist/domain/queue-waiting.js +108 -0
  232. package/daemon/dist/domain/queue-waiting.js.map +1 -0
  233. package/daemon/dist/domain/queue-wake-ladder.d.ts +9 -0
  234. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  235. package/daemon/dist/domain/queue-wake-ladder.js +122 -62
  236. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  237. package/daemon/dist/domain/queue-wake-repository.d.ts +2 -0
  238. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  239. package/daemon/dist/domain/queue-wake-repository.js +1 -0
  240. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  241. package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
  242. package/daemon/dist/domain/rehydrate-eligibility.js +5 -3
  243. package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
  244. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  245. package/daemon/dist/domain/restore-orchestrator.js +1 -0
  246. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  247. package/daemon/dist/domain/restore-plan-preview.d.ts +7 -4
  248. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  249. package/daemon/dist/domain/restore-plan-preview.js +12 -6
  250. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  251. package/daemon/dist/domain/review/compose.d.ts +9 -1
  252. package/daemon/dist/domain/review/compose.d.ts.map +1 -1
  253. package/daemon/dist/domain/review/compose.js +26 -7
  254. package/daemon/dist/domain/review/compose.js.map +1 -1
  255. package/daemon/dist/domain/review/gather.d.ts.map +1 -1
  256. package/daemon/dist/domain/review/gather.js +3 -0
  257. package/daemon/dist/domain/review/gather.js.map +1 -1
  258. package/daemon/dist/domain/review/types.d.ts +2 -0
  259. package/daemon/dist/domain/review/types.d.ts.map +1 -1
  260. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  261. package/daemon/dist/domain/runtime-adapter.js +1 -0
  262. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  263. package/daemon/dist/domain/scope/scope-view-projection.d.ts +8 -0
  264. package/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
  265. package/daemon/dist/domain/scope/scope-view-projection.js +6 -25
  266. package/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
  267. package/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -0
  268. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  269. package/daemon/dist/domain/seat-lifecycle-service.js +55 -2
  270. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  271. package/daemon/dist/domain/slices/slice-detail-projector.d.ts +2 -0
  272. package/daemon/dist/domain/slices/slice-detail-projector.d.ts.map +1 -1
  273. package/daemon/dist/domain/slices/slice-detail-projector.js +11 -4
  274. package/daemon/dist/domain/slices/slice-detail-projector.js.map +1 -1
  275. package/daemon/dist/domain/slices/slice-indexer.d.ts +2 -0
  276. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  277. package/daemon/dist/domain/slices/slice-indexer.js +26 -0
  278. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  279. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  280. package/daemon/dist/domain/snapshot-capture.js +4 -2
  281. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  282. package/daemon/dist/domain/startup-orchestrator.d.ts +11 -0
  283. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  284. package/daemon/dist/domain/startup-orchestrator.js +69 -20
  285. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  286. package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
  287. package/daemon/dist/domain/startup-proof.js +10 -9
  288. package/daemon/dist/domain/startup-proof.js.map +1 -1
  289. package/daemon/dist/domain/startup-resolver.d.ts +3 -1
  290. package/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
  291. package/daemon/dist/domain/startup-resolver.js +18 -0
  292. package/daemon/dist/domain/startup-resolver.js.map +1 -1
  293. package/daemon/dist/domain/startup-validation.d.ts.map +1 -1
  294. package/daemon/dist/domain/startup-validation.js +12 -1
  295. package/daemon/dist/domain/startup-validation.js.map +1 -1
  296. package/daemon/dist/domain/types.d.ts +26 -1
  297. package/daemon/dist/domain/types.d.ts.map +1 -1
  298. package/daemon/dist/domain/types.js.map +1 -1
  299. package/daemon/dist/domain/user-settings/settings-browser.d.ts +33 -0
  300. package/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -0
  301. package/daemon/dist/domain/user-settings/settings-browser.js +261 -0
  302. package/daemon/dist/domain/user-settings/settings-browser.js.map +1 -0
  303. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  304. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  305. package/daemon/dist/domain/user-settings/settings-store.js +14 -0
  306. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  307. package/daemon/dist/domain/view-event-bridge.d.ts.map +1 -1
  308. package/daemon/dist/domain/view-event-bridge.js +2 -0
  309. package/daemon/dist/domain/view-event-bridge.js.map +1 -1
  310. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  311. package/daemon/dist/domain/view-projector.js +4 -0
  312. package/daemon/dist/domain/view-projector.js.map +1 -1
  313. package/daemon/dist/domain/watchdog-policy-engine.d.ts +4 -0
  314. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  315. package/daemon/dist/domain/watchdog-policy-engine.js +8 -1
  316. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  317. package/daemon/dist/domain/watchdog-scheduler.d.ts +3 -0
  318. package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
  319. package/daemon/dist/domain/watchdog-scheduler.js +3 -0
  320. package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
  321. package/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
  322. package/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  323. package/daemon/dist/domain/workflow-boot-sweep.js +3 -0
  324. package/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  325. package/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
  326. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  327. package/daemon/dist/domain/workflow-exception-escalation.js +32 -50
  328. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  329. package/daemon/dist/domain/workflow-exception-readiness.d.ts +39 -0
  330. package/daemon/dist/domain/workflow-exception-readiness.d.ts.map +1 -0
  331. package/daemon/dist/domain/workflow-exception-readiness.js +77 -0
  332. package/daemon/dist/domain/workflow-exception-readiness.js.map +1 -0
  333. package/daemon/dist/domain/workflow-exception-router.d.ts +7 -3
  334. package/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
  335. package/daemon/dist/domain/workflow-exception-router.js +13 -7
  336. package/daemon/dist/domain/workflow-exception-router.js.map +1 -1
  337. package/daemon/dist/domain/workflow-exception.d.ts +6 -0
  338. package/daemon/dist/domain/workflow-exception.d.ts.map +1 -1
  339. package/daemon/dist/domain/workflow-exception.js +10 -3
  340. package/daemon/dist/domain/workflow-exception.js.map +1 -1
  341. package/daemon/dist/domain/workflow-guidance.d.ts +53 -0
  342. package/daemon/dist/domain/workflow-guidance.d.ts.map +1 -0
  343. package/daemon/dist/domain/workflow-guidance.js +212 -0
  344. package/daemon/dist/domain/workflow-guidance.js.map +1 -0
  345. package/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
  346. package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
  347. package/daemon/dist/domain/workflow-human-destination.js +40 -0
  348. package/daemon/dist/domain/workflow-human-destination.js.map +1 -0
  349. package/daemon/dist/domain/workflow-instance-store.d.ts +2 -0
  350. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  351. package/daemon/dist/domain/workflow-instance-store.js +7 -0
  352. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  353. package/daemon/dist/domain/workflow-planning-context.d.ts +3 -0
  354. package/daemon/dist/domain/workflow-planning-context.d.ts.map +1 -0
  355. package/daemon/dist/domain/workflow-planning-context.js +36 -0
  356. package/daemon/dist/domain/workflow-planning-context.js.map +1 -0
  357. package/daemon/dist/domain/workflow-projector.d.ts +15 -5
  358. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  359. package/daemon/dist/domain/workflow-projector.js +97 -78
  360. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  361. package/daemon/dist/domain/workflow-reconciliation.d.ts +55 -0
  362. package/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -0
  363. package/daemon/dist/domain/workflow-reconciliation.js +228 -0
  364. package/daemon/dist/domain/workflow-reconciliation.js.map +1 -0
  365. package/daemon/dist/domain/workflow-role-context.d.ts +4 -6
  366. package/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
  367. package/daemon/dist/domain/workflow-role-context.js +7 -14
  368. package/daemon/dist/domain/workflow-role-context.js.map +1 -1
  369. package/daemon/dist/domain/workflow-runtime.d.ts +91 -5
  370. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  371. package/daemon/dist/domain/workflow-runtime.js +163 -39
  372. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  373. package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  374. package/daemon/dist/domain/workflow-validator.js +39 -24
  375. package/daemon/dist/domain/workflow-validator.js.map +1 -1
  376. package/daemon/dist/index.d.ts.map +1 -1
  377. package/daemon/dist/index.js +38 -96
  378. package/daemon/dist/index.js.map +1 -1
  379. package/daemon/dist/project-lifecycle-surface.d.ts +1 -1
  380. package/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
  381. package/daemon/dist/routes/activity.js +1 -1
  382. package/daemon/dist/routes/activity.js.map +1 -1
  383. package/daemon/dist/routes/config.d.ts +3 -1
  384. package/daemon/dist/routes/config.d.ts.map +1 -1
  385. package/daemon/dist/routes/config.js +11 -1
  386. package/daemon/dist/routes/config.js.map +1 -1
  387. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  388. package/daemon/dist/routes/gateway.js +10 -0
  389. package/daemon/dist/routes/gateway.js.map +1 -1
  390. package/daemon/dist/routes/missions.d.ts.map +1 -1
  391. package/daemon/dist/routes/missions.js +5 -2
  392. package/daemon/dist/routes/missions.js.map +1 -1
  393. package/daemon/dist/routes/proof.d.ts +3 -0
  394. package/daemon/dist/routes/proof.d.ts.map +1 -0
  395. package/daemon/dist/routes/proof.js +65 -0
  396. package/daemon/dist/routes/proof.js.map +1 -0
  397. package/daemon/dist/routes/queue.d.ts.map +1 -1
  398. package/daemon/dist/routes/queue.js +4 -3
  399. package/daemon/dist/routes/queue.js.map +1 -1
  400. package/daemon/dist/routes/require-sender-identity.d.ts +3 -1
  401. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  402. package/daemon/dist/routes/require-sender-identity.js +11 -5
  403. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  404. package/daemon/dist/routes/review.d.ts.map +1 -1
  405. package/daemon/dist/routes/review.js +3 -2
  406. package/daemon/dist/routes/review.js.map +1 -1
  407. package/daemon/dist/routes/rigs.d.ts.map +1 -1
  408. package/daemon/dist/routes/rigs.js +4 -3
  409. package/daemon/dist/routes/rigs.js.map +1 -1
  410. package/daemon/dist/routes/scopes.d.ts.map +1 -1
  411. package/daemon/dist/routes/scopes.js +15 -4
  412. package/daemon/dist/routes/scopes.js.map +1 -1
  413. package/daemon/dist/routes/seat.d.ts +4 -0
  414. package/daemon/dist/routes/seat.d.ts.map +1 -1
  415. package/daemon/dist/routes/seat.js +1 -1
  416. package/daemon/dist/routes/seat.js.map +1 -1
  417. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  418. package/daemon/dist/routes/sessions.js +95 -27
  419. package/daemon/dist/routes/sessions.js.map +1 -1
  420. package/daemon/dist/routes/slices.d.ts.map +1 -1
  421. package/daemon/dist/routes/slices.js +8 -2
  422. package/daemon/dist/routes/slices.js.map +1 -1
  423. package/daemon/dist/routes/startup.d.ts +7 -0
  424. package/daemon/dist/routes/startup.d.ts.map +1 -0
  425. package/daemon/dist/routes/startup.js +221 -0
  426. package/daemon/dist/routes/startup.js.map +1 -0
  427. package/daemon/dist/routes/up.d.ts.map +1 -1
  428. package/daemon/dist/routes/up.js +2 -1
  429. package/daemon/dist/routes/up.js.map +1 -1
  430. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  431. package/daemon/dist/routes/workflow.js +49 -3
  432. package/daemon/dist/routes/workflow.js.map +1 -1
  433. package/daemon/dist/server.d.ts +1 -0
  434. package/daemon/dist/server.d.ts.map +1 -1
  435. package/daemon/dist/server.js +7 -1
  436. package/daemon/dist/server.js.map +1 -1
  437. package/daemon/dist/startup.d.ts.map +1 -1
  438. package/daemon/dist/startup.js +21 -5
  439. package/daemon/dist/startup.js.map +1 -1
  440. package/daemon/docs/reference/agent-spec.md +7 -1
  441. package/daemon/docs/reference/getting-started.md +147 -30
  442. package/daemon/docs/reference/health-diagnosis.md +26 -0
  443. package/daemon/docs/reference/legacy-topology-migration.md +1 -2
  444. package/daemon/docs/reference/mission-install.md +10 -11
  445. package/daemon/docs/reference/planning-dial.md +12 -14
  446. package/daemon/docs/reference/project-release-profile.yaml +86 -0
  447. package/daemon/docs/reference/refocus-channel.md +1 -4
  448. package/daemon/docs/reference/release-boundary.md +38 -30
  449. package/daemon/docs/reference/rig-spec.md +49 -10
  450. package/daemon/docs/reference/sdlc-conventions.md +16 -5
  451. package/daemon/docs/reference/wave-sdlc.md +5 -16
  452. package/daemon/docs/reference/worktree-builds.md +3 -3
  453. package/daemon/policies/examples/my-cautious-dev.policy.md +1 -1
  454. package/daemon/specs/agents/conveyor/planner/guidance/role.md +5 -3
  455. package/daemon/specs/agents/conveyor/planner/startup/context.md +13 -4
  456. package/daemon/specs/agents/design/product-designer/agent.yaml +4 -3
  457. package/daemon/specs/agents/design/product-designer/guidance/role.md +12 -10
  458. package/daemon/specs/agents/product-management/pm/guidance/role.md +19 -17
  459. package/daemon/specs/agents/shared/skills/core/agent-starters/SKILL.md +21 -19
  460. package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +11 -10
  461. package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +84 -148
  462. package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +40 -47
  463. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +16 -0
  464. package/daemon/specs/agents/shared/skills/core/session-source-fork/SKILL.md +12 -10
  465. package/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md +15 -13
  466. package/daemon/specs/agents/shared/skills/pm/exec-summary/SKILL.md +1 -1
  467. package/daemon/specs/agents/shared/skills/pm/plan-review/SKILL.md +2 -2
  468. package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +1 -1
  469. package/daemon/specs/agents/shared/skills/pm/ui-mockup/SKILL.md +3 -3
  470. package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +41 -59
  471. package/daemon/specs/agents/shared/skills/process/agent-browser/LOCAL-INSIGHTS.md +24 -53
  472. package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +29 -15
  473. package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +47 -40
  474. package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +3 -3
  475. package/daemon/specs/rigs/launch/first-project/CULTURE.md +39 -0
  476. package/daemon/specs/rigs/launch/first-project/rig.yaml +31 -0
  477. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +1 -1
  478. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +24 -10
  479. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +11 -12
  480. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +19 -11
  481. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +3 -2
  482. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +15 -8
  483. package/daemon/specs/rigs/launch/kernel/rig-claude-only.yaml +7 -0
  484. package/daemon/specs/rigs/launch/kernel/rig-codex-only.yaml +7 -0
  485. package/daemon/specs/rigs/launch/kernel/rig.yaml +9 -4
  486. package/daemon/specs/rigs/preview/product-team/topology/seats/dev1-qa/CRAFT.md +6 -4
  487. package/dist/bin-wrapper.d.ts +1 -0
  488. package/dist/bin-wrapper.d.ts.map +1 -1
  489. package/dist/bin-wrapper.js +13 -0
  490. package/dist/bin-wrapper.js.map +1 -1
  491. package/dist/build-info.js +3 -3
  492. package/dist/client.d.ts +6 -20
  493. package/dist/client.d.ts.map +1 -1
  494. package/dist/client.js +53 -32
  495. package/dist/client.js.map +1 -1
  496. package/dist/commands/config.d.ts.map +1 -1
  497. package/dist/commands/config.js +1 -0
  498. package/dist/commands/config.js.map +1 -1
  499. package/dist/commands/context.d.ts.map +1 -1
  500. package/dist/commands/context.js +15 -13
  501. package/dist/commands/context.js.map +1 -1
  502. package/dist/commands/crash-cart.d.ts.map +1 -1
  503. package/dist/commands/crash-cart.js +20 -6
  504. package/dist/commands/crash-cart.js.map +1 -1
  505. package/dist/commands/daemon.d.ts.map +1 -1
  506. package/dist/commands/daemon.js +31 -27
  507. package/dist/commands/daemon.js.map +1 -1
  508. package/dist/commands/destroy.js +1 -1
  509. package/dist/commands/destroy.js.map +1 -1
  510. package/dist/commands/health.d.ts.map +1 -1
  511. package/dist/commands/health.js +59 -7
  512. package/dist/commands/health.js.map +1 -1
  513. package/dist/commands/launch.d.ts.map +1 -1
  514. package/dist/commands/launch.js +2 -2
  515. package/dist/commands/launch.js.map +1 -1
  516. package/dist/commands/proof.d.ts +2 -2
  517. package/dist/commands/proof.d.ts.map +1 -1
  518. package/dist/commands/proof.js +84 -4
  519. package/dist/commands/proof.js.map +1 -1
  520. package/dist/commands/queue.d.ts.map +1 -1
  521. package/dist/commands/queue.js +10 -6
  522. package/dist/commands/queue.js.map +1 -1
  523. package/dist/commands/send.d.ts.map +1 -1
  524. package/dist/commands/send.js +4 -8
  525. package/dist/commands/send.js.map +1 -1
  526. package/dist/commands/setup.d.ts.map +1 -1
  527. package/dist/commands/setup.js +10 -9
  528. package/dist/commands/setup.js.map +1 -1
  529. package/dist/commands/tui.d.ts +2 -0
  530. package/dist/commands/tui.d.ts.map +1 -1
  531. package/dist/commands/tui.js +26 -10
  532. package/dist/commands/tui.js.map +1 -1
  533. package/dist/commands/walk.d.ts.map +1 -1
  534. package/dist/commands/walk.js +24 -48
  535. package/dist/commands/walk.js.map +1 -1
  536. package/dist/commands/workflow-render.d.ts +69 -0
  537. package/dist/commands/workflow-render.d.ts.map +1 -1
  538. package/dist/commands/workflow-render.js +53 -1
  539. package/dist/commands/workflow-render.js.map +1 -1
  540. package/dist/commands/workflow.d.ts.map +1 -1
  541. package/dist/commands/workflow.js +110 -7
  542. package/dist/commands/workflow.js.map +1 -1
  543. package/dist/config-store.d.ts +2 -1
  544. package/dist/config-store.d.ts.map +1 -1
  545. package/dist/config-store.js +15 -0
  546. package/dist/config-store.js.map +1 -1
  547. package/dist/cross-host-executor.d.ts +1 -1
  548. package/dist/cross-host-executor.js +2 -2
  549. package/dist/cross-host-executor.js.map +1 -1
  550. package/dist/daemon-lifecycle.d.ts +8 -11
  551. package/dist/daemon-lifecycle.d.ts.map +1 -1
  552. package/dist/daemon-lifecycle.js +281 -146
  553. package/dist/daemon-lifecycle.js.map +1 -1
  554. package/dist/daemon-start-lock.d.ts +9 -0
  555. package/dist/daemon-start-lock.d.ts.map +1 -0
  556. package/dist/daemon-start-lock.js +47 -0
  557. package/dist/daemon-start-lock.js.map +1 -0
  558. package/dist/front-door.d.ts.map +1 -1
  559. package/dist/front-door.js +11 -1
  560. package/dist/front-door.js.map +1 -1
  561. package/dist/lib/file-transfer.js +1 -1
  562. package/dist/lib/file-transfer.js.map +1 -1
  563. package/dist/lib/walk-consumption.d.ts +6 -0
  564. package/dist/lib/walk-consumption.d.ts.map +1 -0
  565. package/dist/lib/walk-consumption.js +78 -0
  566. package/dist/lib/walk-consumption.js.map +1 -0
  567. package/dist/local-origin.d.ts +3 -0
  568. package/dist/local-origin.d.ts.map +1 -0
  569. package/dist/local-origin.js +37 -0
  570. package/dist/local-origin.js.map +1 -0
  571. package/dist/read-view.d.ts +17 -0
  572. package/dist/read-view.d.ts.map +1 -0
  573. package/dist/read-view.js +17 -0
  574. package/dist/read-view.js.map +1 -0
  575. package/dist/shared-tui.d.ts +12 -0
  576. package/dist/shared-tui.d.ts.map +1 -0
  577. package/dist/shared-tui.js +37 -0
  578. package/dist/shared-tui.js.map +1 -0
  579. package/node_modules/@openrig/daemon/dist/adapters/codex-resume.d.ts +1 -0
  580. package/node_modules/@openrig/daemon/dist/adapters/codex-resume.d.ts.map +1 -1
  581. package/node_modules/@openrig/daemon/dist/adapters/codex-resume.js +2 -9
  582. package/node_modules/@openrig/daemon/dist/adapters/codex-resume.js.map +1 -1
  583. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts +7 -3
  584. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  585. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js +26 -30
  586. package/node_modules/@openrig/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  587. package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts +22 -10
  588. package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts.map +1 -1
  589. package/node_modules/@openrig/daemon/dist/adapters/tmux.js +71 -36
  590. package/node_modules/@openrig/daemon/dist/adapters/tmux.js.map +1 -1
  591. package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
  592. package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts +27 -0
  593. package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts.map +1 -0
  594. package/node_modules/@openrig/daemon/dist/daemon-shutdown.js +84 -0
  595. package/node_modules/@openrig/daemon/dist/daemon-shutdown.js.map +1 -0
  596. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts +2 -2
  597. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  598. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js +5 -5
  599. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js.map +1 -1
  600. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts +1 -0
  601. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  602. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js +32 -23
  603. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js.map +1 -1
  604. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts +2 -0
  605. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  606. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js +7 -28
  607. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js.map +1 -1
  608. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js +1 -1
  609. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  610. package/node_modules/@openrig/daemon/dist/domain/crash-cart-discovery.d.ts +3 -1
  611. package/node_modules/@openrig/daemon/dist/domain/crash-cart-discovery.d.ts.map +1 -1
  612. package/node_modules/@openrig/daemon/dist/domain/crash-cart-discovery.js +15 -4
  613. package/node_modules/@openrig/daemon/dist/domain/crash-cart-discovery.js.map +1 -1
  614. package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -1
  615. package/node_modules/@openrig/daemon/dist/domain/execution-view.js +68 -5
  616. package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -1
  617. package/node_modules/@openrig/daemon/dist/domain/fresh-occupant-relation.d.ts +8 -0
  618. package/node_modules/@openrig/daemon/dist/domain/fresh-occupant-relation.d.ts.map +1 -0
  619. package/node_modules/@openrig/daemon/dist/domain/fresh-occupant-relation.js +31 -0
  620. package/node_modules/@openrig/daemon/dist/domain/fresh-occupant-relation.js.map +1 -0
  621. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts +1 -1
  622. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -1
  623. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts +90 -0
  624. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
  625. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js +171 -0
  626. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
  627. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +3 -1
  628. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  629. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js +3 -1
  630. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  631. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  632. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js +3 -2
  633. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  634. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js +1 -1
  635. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js.map +1 -1
  636. package/node_modules/@openrig/daemon/dist/domain/kernel-boot.d.ts +2 -0
  637. package/node_modules/@openrig/daemon/dist/domain/kernel-boot.d.ts.map +1 -1
  638. package/node_modules/@openrig/daemon/dist/domain/kernel-boot.js +1 -1
  639. package/node_modules/@openrig/daemon/dist/domain/kernel-boot.js.map +1 -1
  640. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
  641. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
  642. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js +35 -0
  643. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
  644. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  645. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
  646. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  647. package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.d.ts.map +1 -1
  648. package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js +35 -23
  649. package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js.map +1 -1
  650. package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts +1 -0
  651. package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts.map +1 -1
  652. package/node_modules/@openrig/daemon/dist/domain/parked-query.js +2 -1
  653. package/node_modules/@openrig/daemon/dist/domain/parked-query.js.map +1 -1
  654. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts +2 -0
  655. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -1
  656. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js +2 -2
  657. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  658. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
  659. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  660. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js +19 -9
  661. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  662. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts +9 -0
  663. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
  664. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js +121 -23
  665. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
  666. package/node_modules/@openrig/daemon/dist/domain/proof/judgments.d.ts +138 -0
  667. package/node_modules/@openrig/daemon/dist/domain/proof/judgments.d.ts.map +1 -0
  668. package/node_modules/@openrig/daemon/dist/domain/proof/judgments.js +361 -0
  669. package/node_modules/@openrig/daemon/dist/domain/proof/judgments.js.map +1 -0
  670. package/node_modules/@openrig/daemon/dist/domain/proof/source-watch.d.ts +17 -0
  671. package/node_modules/@openrig/daemon/dist/domain/proof/source-watch.d.ts.map +1 -0
  672. package/node_modules/@openrig/daemon/dist/domain/proof/source-watch.js +60 -0
  673. package/node_modules/@openrig/daemon/dist/domain/proof/source-watch.js.map +1 -0
  674. package/node_modules/@openrig/daemon/dist/domain/queue-owner.d.ts +12 -0
  675. package/node_modules/@openrig/daemon/dist/domain/queue-owner.d.ts.map +1 -0
  676. package/node_modules/@openrig/daemon/dist/domain/queue-owner.js +28 -0
  677. package/node_modules/@openrig/daemon/dist/domain/queue-owner.js.map +1 -0
  678. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.d.ts +3 -0
  679. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.d.ts.map +1 -1
  680. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js +14 -15
  681. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js.map +1 -1
  682. package/node_modules/@openrig/daemon/dist/domain/queue-recovery.d.ts +10 -0
  683. package/node_modules/@openrig/daemon/dist/domain/queue-recovery.d.ts.map +1 -0
  684. package/node_modules/@openrig/daemon/dist/domain/queue-recovery.js +27 -0
  685. package/node_modules/@openrig/daemon/dist/domain/queue-recovery.js.map +1 -0
  686. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +13 -6
  687. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  688. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +177 -63
  689. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
  690. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts +2 -11
  691. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  692. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js +52 -52
  693. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  694. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts +29 -2
  695. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -1
  696. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js +73 -14
  697. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js.map +1 -1
  698. package/node_modules/@openrig/daemon/dist/domain/queue-waiting.d.ts +61 -0
  699. package/node_modules/@openrig/daemon/dist/domain/queue-waiting.d.ts.map +1 -0
  700. package/node_modules/@openrig/daemon/dist/domain/queue-waiting.js +108 -0
  701. package/node_modules/@openrig/daemon/dist/domain/queue-waiting.js.map +1 -0
  702. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts +9 -0
  703. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -1
  704. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js +122 -62
  705. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js.map +1 -1
  706. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +2 -0
  707. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  708. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js +1 -0
  709. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  710. package/node_modules/@openrig/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -1
  711. package/node_modules/@openrig/daemon/dist/domain/rehydrate-eligibility.js +5 -3
  712. package/node_modules/@openrig/daemon/dist/domain/rehydrate-eligibility.js.map +1 -1
  713. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  714. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +1 -0
  715. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  716. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts +7 -4
  717. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  718. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js +12 -6
  719. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  720. package/node_modules/@openrig/daemon/dist/domain/review/compose.d.ts +9 -1
  721. package/node_modules/@openrig/daemon/dist/domain/review/compose.d.ts.map +1 -1
  722. package/node_modules/@openrig/daemon/dist/domain/review/compose.js +26 -7
  723. package/node_modules/@openrig/daemon/dist/domain/review/compose.js.map +1 -1
  724. package/node_modules/@openrig/daemon/dist/domain/review/gather.d.ts.map +1 -1
  725. package/node_modules/@openrig/daemon/dist/domain/review/gather.js +3 -0
  726. package/node_modules/@openrig/daemon/dist/domain/review/gather.js.map +1 -1
  727. package/node_modules/@openrig/daemon/dist/domain/review/types.d.ts +2 -0
  728. package/node_modules/@openrig/daemon/dist/domain/review/types.d.ts.map +1 -1
  729. package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  730. package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.js +1 -0
  731. package/node_modules/@openrig/daemon/dist/domain/runtime-adapter.js.map +1 -1
  732. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.d.ts +8 -0
  733. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
  734. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.js +6 -25
  735. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
  736. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts +21 -0
  737. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  738. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js +55 -2
  739. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  740. package/node_modules/@openrig/daemon/dist/domain/slices/slice-detail-projector.d.ts +2 -0
  741. package/node_modules/@openrig/daemon/dist/domain/slices/slice-detail-projector.d.ts.map +1 -1
  742. package/node_modules/@openrig/daemon/dist/domain/slices/slice-detail-projector.js +11 -4
  743. package/node_modules/@openrig/daemon/dist/domain/slices/slice-detail-projector.js.map +1 -1
  744. package/node_modules/@openrig/daemon/dist/domain/slices/slice-indexer.d.ts +2 -0
  745. package/node_modules/@openrig/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  746. package/node_modules/@openrig/daemon/dist/domain/slices/slice-indexer.js +26 -0
  747. package/node_modules/@openrig/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  748. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  749. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js +4 -2
  750. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js.map +1 -1
  751. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts +11 -0
  752. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  753. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +69 -20
  754. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  755. package/node_modules/@openrig/daemon/dist/domain/startup-proof.d.ts.map +1 -1
  756. package/node_modules/@openrig/daemon/dist/domain/startup-proof.js +10 -9
  757. package/node_modules/@openrig/daemon/dist/domain/startup-proof.js.map +1 -1
  758. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts +3 -1
  759. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
  760. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js +18 -0
  761. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js.map +1 -1
  762. package/node_modules/@openrig/daemon/dist/domain/startup-validation.d.ts.map +1 -1
  763. package/node_modules/@openrig/daemon/dist/domain/startup-validation.js +12 -1
  764. package/node_modules/@openrig/daemon/dist/domain/startup-validation.js.map +1 -1
  765. package/node_modules/@openrig/daemon/dist/domain/types.d.ts +26 -1
  766. package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
  767. package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
  768. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-browser.d.ts +33 -0
  769. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-browser.d.ts.map +1 -0
  770. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-browser.js +261 -0
  771. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-browser.js.map +1 -0
  772. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  773. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  774. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js +14 -0
  775. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  776. package/node_modules/@openrig/daemon/dist/domain/view-event-bridge.d.ts.map +1 -1
  777. package/node_modules/@openrig/daemon/dist/domain/view-event-bridge.js +2 -0
  778. package/node_modules/@openrig/daemon/dist/domain/view-event-bridge.js.map +1 -1
  779. package/node_modules/@openrig/daemon/dist/domain/view-projector.d.ts.map +1 -1
  780. package/node_modules/@openrig/daemon/dist/domain/view-projector.js +4 -0
  781. package/node_modules/@openrig/daemon/dist/domain/view-projector.js.map +1 -1
  782. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts +4 -0
  783. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  784. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js +8 -1
  785. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  786. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.d.ts +3 -0
  787. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
  788. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js +3 -0
  789. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
  790. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
  791. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  792. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js +3 -0
  793. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  794. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
  795. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  796. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js +32 -50
  797. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  798. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-readiness.d.ts +39 -0
  799. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-readiness.d.ts.map +1 -0
  800. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-readiness.js +77 -0
  801. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-readiness.js.map +1 -0
  802. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts +7 -3
  803. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
  804. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js +13 -7
  805. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js.map +1 -1
  806. package/node_modules/@openrig/daemon/dist/domain/workflow-exception.d.ts +6 -0
  807. package/node_modules/@openrig/daemon/dist/domain/workflow-exception.d.ts.map +1 -1
  808. package/node_modules/@openrig/daemon/dist/domain/workflow-exception.js +10 -3
  809. package/node_modules/@openrig/daemon/dist/domain/workflow-exception.js.map +1 -1
  810. package/node_modules/@openrig/daemon/dist/domain/workflow-guidance.d.ts +53 -0
  811. package/node_modules/@openrig/daemon/dist/domain/workflow-guidance.d.ts.map +1 -0
  812. package/node_modules/@openrig/daemon/dist/domain/workflow-guidance.js +212 -0
  813. package/node_modules/@openrig/daemon/dist/domain/workflow-guidance.js.map +1 -0
  814. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
  815. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
  816. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js +40 -0
  817. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js.map +1 -0
  818. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts +2 -0
  819. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  820. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js +7 -0
  821. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  822. package/node_modules/@openrig/daemon/dist/domain/workflow-planning-context.d.ts +3 -0
  823. package/node_modules/@openrig/daemon/dist/domain/workflow-planning-context.d.ts.map +1 -0
  824. package/node_modules/@openrig/daemon/dist/domain/workflow-planning-context.js +36 -0
  825. package/node_modules/@openrig/daemon/dist/domain/workflow-planning-context.js.map +1 -0
  826. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts +15 -5
  827. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  828. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js +97 -78
  829. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js.map +1 -1
  830. package/node_modules/@openrig/daemon/dist/domain/workflow-reconciliation.d.ts +55 -0
  831. package/node_modules/@openrig/daemon/dist/domain/workflow-reconciliation.d.ts.map +1 -0
  832. package/node_modules/@openrig/daemon/dist/domain/workflow-reconciliation.js +228 -0
  833. package/node_modules/@openrig/daemon/dist/domain/workflow-reconciliation.js.map +1 -0
  834. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts +4 -6
  835. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
  836. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js +7 -14
  837. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js.map +1 -1
  838. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts +91 -5
  839. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  840. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js +163 -39
  841. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js.map +1 -1
  842. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  843. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js +39 -24
  844. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
  845. package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
  846. package/node_modules/@openrig/daemon/dist/index.js +38 -96
  847. package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
  848. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts +1 -1
  849. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
  850. package/node_modules/@openrig/daemon/dist/routes/activity.js +1 -1
  851. package/node_modules/@openrig/daemon/dist/routes/activity.js.map +1 -1
  852. package/node_modules/@openrig/daemon/dist/routes/config.d.ts +3 -1
  853. package/node_modules/@openrig/daemon/dist/routes/config.d.ts.map +1 -1
  854. package/node_modules/@openrig/daemon/dist/routes/config.js +11 -1
  855. package/node_modules/@openrig/daemon/dist/routes/config.js.map +1 -1
  856. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -1
  857. package/node_modules/@openrig/daemon/dist/routes/gateway.js +10 -0
  858. package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -1
  859. package/node_modules/@openrig/daemon/dist/routes/missions.d.ts.map +1 -1
  860. package/node_modules/@openrig/daemon/dist/routes/missions.js +5 -2
  861. package/node_modules/@openrig/daemon/dist/routes/missions.js.map +1 -1
  862. package/node_modules/@openrig/daemon/dist/routes/proof.d.ts +3 -0
  863. package/node_modules/@openrig/daemon/dist/routes/proof.d.ts.map +1 -0
  864. package/node_modules/@openrig/daemon/dist/routes/proof.js +65 -0
  865. package/node_modules/@openrig/daemon/dist/routes/proof.js.map +1 -0
  866. package/node_modules/@openrig/daemon/dist/routes/queue.d.ts.map +1 -1
  867. package/node_modules/@openrig/daemon/dist/routes/queue.js +4 -3
  868. package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
  869. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts +3 -1
  870. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  871. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js +11 -5
  872. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js.map +1 -1
  873. package/node_modules/@openrig/daemon/dist/routes/review.d.ts.map +1 -1
  874. package/node_modules/@openrig/daemon/dist/routes/review.js +3 -2
  875. package/node_modules/@openrig/daemon/dist/routes/review.js.map +1 -1
  876. package/node_modules/@openrig/daemon/dist/routes/rigs.d.ts.map +1 -1
  877. package/node_modules/@openrig/daemon/dist/routes/rigs.js +4 -3
  878. package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
  879. package/node_modules/@openrig/daemon/dist/routes/scopes.d.ts.map +1 -1
  880. package/node_modules/@openrig/daemon/dist/routes/scopes.js +15 -4
  881. package/node_modules/@openrig/daemon/dist/routes/scopes.js.map +1 -1
  882. package/node_modules/@openrig/daemon/dist/routes/seat.d.ts +4 -0
  883. package/node_modules/@openrig/daemon/dist/routes/seat.d.ts.map +1 -1
  884. package/node_modules/@openrig/daemon/dist/routes/seat.js +1 -1
  885. package/node_modules/@openrig/daemon/dist/routes/seat.js.map +1 -1
  886. package/node_modules/@openrig/daemon/dist/routes/sessions.d.ts.map +1 -1
  887. package/node_modules/@openrig/daemon/dist/routes/sessions.js +95 -27
  888. package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
  889. package/node_modules/@openrig/daemon/dist/routes/slices.d.ts.map +1 -1
  890. package/node_modules/@openrig/daemon/dist/routes/slices.js +8 -2
  891. package/node_modules/@openrig/daemon/dist/routes/slices.js.map +1 -1
  892. package/node_modules/@openrig/daemon/dist/routes/startup.d.ts +7 -0
  893. package/node_modules/@openrig/daemon/dist/routes/startup.d.ts.map +1 -0
  894. package/node_modules/@openrig/daemon/dist/routes/startup.js +221 -0
  895. package/node_modules/@openrig/daemon/dist/routes/startup.js.map +1 -0
  896. package/node_modules/@openrig/daemon/dist/routes/up.d.ts.map +1 -1
  897. package/node_modules/@openrig/daemon/dist/routes/up.js +2 -1
  898. package/node_modules/@openrig/daemon/dist/routes/up.js.map +1 -1
  899. package/node_modules/@openrig/daemon/dist/routes/workflow.d.ts.map +1 -1
  900. package/node_modules/@openrig/daemon/dist/routes/workflow.js +49 -3
  901. package/node_modules/@openrig/daemon/dist/routes/workflow.js.map +1 -1
  902. package/node_modules/@openrig/daemon/dist/server.d.ts +1 -0
  903. package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
  904. package/node_modules/@openrig/daemon/dist/server.js +7 -1
  905. package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
  906. package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
  907. package/node_modules/@openrig/daemon/dist/startup.js +21 -5
  908. package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
  909. package/node_modules/@openrig/daemon/package.json +5 -1
  910. package/package.json +3 -2
  911. package/tui/dist/commands/completion.d.ts +8 -0
  912. package/tui/dist/commands/completion.d.ts.map +1 -0
  913. package/tui/dist/commands/completion.js +37 -0
  914. package/tui/dist/commands/completion.js.map +1 -0
  915. package/tui/dist/commands/registry.d.ts +7 -1
  916. package/tui/dist/commands/registry.d.ts.map +1 -1
  917. package/tui/dist/commands/registry.js +51 -0
  918. package/tui/dist/commands/registry.js.map +1 -1
  919. package/tui/dist/config/config-model.d.ts +69 -0
  920. package/tui/dist/config/config-model.d.ts.map +1 -0
  921. package/tui/dist/config/config-model.js +215 -0
  922. package/tui/dist/config/config-model.js.map +1 -0
  923. package/tui/dist/connections/connections-model.d.ts +72 -0
  924. package/tui/dist/connections/connections-model.d.ts.map +1 -0
  925. package/tui/dist/connections/connections-model.js +64 -0
  926. package/tui/dist/connections/connections-model.js.map +1 -0
  927. package/tui/dist/crash-cart/from-emit.d.ts +5 -5
  928. package/tui/dist/crash-cart/from-emit.d.ts.map +1 -1
  929. package/tui/dist/crash-cart/from-emit.js +15 -9
  930. package/tui/dist/crash-cart/from-emit.js.map +1 -1
  931. package/tui/dist/crash-cart/keys.d.ts +1 -1
  932. package/tui/dist/crash-cart/keys.d.ts.map +1 -1
  933. package/tui/dist/crash-cart/keys.js +2 -0
  934. package/tui/dist/crash-cart/keys.js.map +1 -1
  935. package/tui/dist/crash-cart/start-daemon.d.ts +4 -0
  936. package/tui/dist/crash-cart/start-daemon.d.ts.map +1 -0
  937. package/tui/dist/crash-cart/start-daemon.js +12 -0
  938. package/tui/dist/crash-cart/start-daemon.js.map +1 -0
  939. package/tui/dist/daemon-client.d.ts +11 -0
  940. package/tui/dist/daemon-client.d.ts.map +1 -1
  941. package/tui/dist/daemon-client.js +38 -3
  942. package/tui/dist/daemon-client.js.map +1 -1
  943. package/tui/dist/detail.d.ts +3 -0
  944. package/tui/dist/detail.d.ts.map +1 -1
  945. package/tui/dist/detail.js +23 -0
  946. package/tui/dist/detail.js.map +1 -1
  947. package/tui/dist/execution/execution-model.d.ts +15 -1
  948. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  949. package/tui/dist/execution/execution-model.js +90 -187
  950. package/tui/dist/execution/execution-model.js.map +1 -1
  951. package/tui/dist/execution/workflow-model.d.ts +6 -0
  952. package/tui/dist/execution/workflow-model.d.ts.map +1 -0
  953. package/tui/dist/execution/workflow-model.js +231 -0
  954. package/tui/dist/execution/workflow-model.js.map +1 -0
  955. package/tui/dist/grammar.d.ts.map +1 -1
  956. package/tui/dist/grammar.js +1 -2
  957. package/tui/dist/grammar.js.map +1 -1
  958. package/tui/dist/health/health-model.d.ts +1 -1
  959. package/tui/dist/health/health-model.d.ts.map +1 -1
  960. package/tui/dist/health/health-model.js +5 -4
  961. package/tui/dist/health/health-model.js.map +1 -1
  962. package/tui/dist/hydrate.d.ts.map +1 -1
  963. package/tui/dist/hydrate.js +85 -8
  964. package/tui/dist/hydrate.js.map +1 -1
  965. package/tui/dist/input.d.ts +2 -0
  966. package/tui/dist/input.d.ts.map +1 -1
  967. package/tui/dist/input.js +28 -6
  968. package/tui/dist/input.js.map +1 -1
  969. package/tui/dist/live.d.ts +2 -0
  970. package/tui/dist/live.d.ts.map +1 -1
  971. package/tui/dist/live.js +17 -1
  972. package/tui/dist/live.js.map +1 -1
  973. package/tui/dist/main.js +196 -18
  974. package/tui/dist/main.js.map +1 -1
  975. package/tui/dist/render.d.ts +9 -0
  976. package/tui/dist/render.d.ts.map +1 -1
  977. package/tui/dist/render.js +177 -80
  978. package/tui/dist/render.js.map +1 -1
  979. package/tui/dist/scopes/scopes-model.d.ts +44 -0
  980. package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
  981. package/tui/dist/scopes/scopes-model.js +68 -6
  982. package/tui/dist/scopes/scopes-model.js.map +1 -1
  983. package/tui/dist/sections.d.ts.map +1 -1
  984. package/tui/dist/sections.js +2 -0
  985. package/tui/dist/sections.js.map +1 -1
  986. package/tui/dist/socket-server.d.ts +4 -0
  987. package/tui/dist/socket-server.d.ts.map +1 -1
  988. package/tui/dist/socket-server.js +4 -0
  989. package/tui/dist/socket-server.js.map +1 -1
  990. package/tui/dist/startup.d.ts +82 -0
  991. package/tui/dist/startup.d.ts.map +1 -0
  992. package/tui/dist/startup.js +273 -0
  993. package/tui/dist/startup.js.map +1 -0
  994. package/tui/dist/state.d.ts +3 -1
  995. package/tui/dist/state.d.ts.map +1 -1
  996. package/tui/dist/state.js +74 -10
  997. package/tui/dist/state.js.map +1 -1
  998. package/tui/dist/stylize.js +3 -3
  999. package/tui/dist/stylize.js.map +1 -1
  1000. package/tui/dist/time.d.ts +9 -0
  1001. package/tui/dist/time.d.ts.map +1 -0
  1002. package/tui/dist/time.js +42 -0
  1003. package/tui/dist/time.js.map +1 -0
  1004. package/tui/dist/types.d.ts +51 -1
  1005. package/tui/dist/types.d.ts.map +1 -1
  1006. package/ui/dist/assets/{index-wyX378xb.js → index-BVW54ItO.js} +165 -165
  1007. package/ui/dist/index.html +1 -1
@@ -2,16 +2,18 @@
2
2
 
3
3
  You are the design side of the product team. Your job is to turn rough product intent into clear user flows, interface structure, and design-system decisions that implementation and QA can execute without guesswork.
4
4
 
5
- ## Startup checklist
6
-
7
- Load these packaged skills now before giving product direction:
8
- - `openrig-user`
9
- - `mission-slice-sop`
10
- - `development-team`
11
- - `frontend-design`
12
- - `verification-before-completion`
13
-
14
- Then run `rig whoami --json` and look for the first ambiguity the development pod should not have to guess through.
5
+ ## Task-triggered capabilities
6
+
7
+ Run `rig whoami --json`, resolve the assigned outcome and selected procedure,
8
+ and look for the first ambiguity the development pod should not have to guess through.
9
+ Load skills when the work calls for them:
10
+ - `openrig-user` for command syntax.
11
+ - `mission-slice-sop` for mission/slice operations.
12
+ - `development-team` for coordination under the selected development path.
13
+ - `frontend-design` for interface design.
14
+ - `verification-before-completion` before claiming a verified result.
15
+
16
+ This list adds no blanket preload or gates beyond the selected task.
15
17
 
16
18
  ## Responsibilities
17
19
 
@@ -3,36 +3,38 @@
3
3
  ## Role
4
4
  Senior Product Manager. Own the "what" and "why" — never architecture, estimates, or implementation details.
5
5
 
6
- ## Skills Loaded
7
-
8
- Load these packaged skills now before shaping product work:
9
- - `openrig-user`
10
- - `mission-slice-sop`
11
- - `office-hours`
12
- - `context-builder`
13
- - `requirements-writer`
14
- - `ui-mockup`
15
- - `plan-review`
16
- - `exec-summary`
17
- - `backlog-capture`
6
+ ## Task-triggered capabilities
7
+
8
+ Resolve the assigned outcome and selected procedure. Load `openrig-user` for
9
+ command syntax and `mission-slice-sop` for mission/slice operations. When the
10
+ 8-step feature flow below is selected, load each step's named skill as that
11
+ step begins: `backlog-capture`, `office-hours`, `context-builder`,
12
+ `requirements-writer`, `ui-mockup`, `plan-review`, and `exec-summary`.
13
+ Keep that selected flow and its SPEC contract; this list adds no blanket
14
+ preload or feature-flow gate to other assignments.
18
15
 
19
16
  ## 8-Step Feature Flow
20
17
 
21
18
  1. **Capture** — run `backlog-capture` and record the idea in `idea_backlog.md`.
22
19
  2. **Validate** — run `office-hours` and produce `validation.md` with a `GO`, `REFINE`, or `PAUSE` verdict.
23
20
  3. **Context** — run `context-builder` and produce `background.md` using `validation.md` as the starting point.
24
- 4. **Require** — run `requirements-writer` and produce `requirements.md` using `validation.md` and `background.md`.
21
+ 4. **Require** — run `requirements-writer` and produce `SPEC.md` using `validation.md` and `background.md`.
25
22
  5. **Mockup** — run `ui-mockup` and produce `supporting/mockup-ascii.md` plus one or more `mockup-*.html` artifacts.
26
23
  6. **Review** — run `plan-review` and record issues or revisions before handoff.
27
24
  7. **Summarize** — run `exec-summary` and produce `executive-summary.md` from the full artifact set.
28
25
  8. **Handoff** — prepare the branch/ticket handoff only after the earlier artifacts are coherent.
29
26
 
30
- Each step's output feeds the next. `validation.md` is the foundation for the rest of the feature packet.
27
+ Each step's output feeds the next. The feature folder below is the selected
28
+ slice directory; `SPEC.md` is its single requirements authority.
29
+ `validation.md`, `background.md`, mockups and the executive summary are supporting
30
+ artifacts. For legacy `requirements.md`, preserve it as input/history and
31
+ reconcile its requirements into `SPEC.md` before continuing this flow; do not
32
+ maintain two competing contracts.
31
33
 
32
34
  ## Working Norms
33
35
 
34
36
  1. **Research before you build** — every feature needs context (competitive, regulatory, customer) before requirements are finalized.
35
- 2. **Requirements are literal** — AI agents treat requirements.md as instructions. Be precise. No aspirational content.
37
+ 2. **Requirements are literal** — AI agents treat SPEC.md as instructions. Be precise. No aspirational content.
36
38
  3. **Stay in your lane** — PM writes requirements, researcher gathers context, coder builds prototypes. Escalate when you hit a boundary.
37
39
  4. **Write things down** — every step should leave artifacts in the feature folder. Nothing important lives only in conversation.
38
40
 
@@ -42,7 +44,7 @@ Each step's output feeds the next. `validation.md` is the foundation for the res
42
44
  {feature}/
43
45
  ├── validation.md
44
46
  ├── background.md
45
- ├── requirements.md
47
+ ├── SPEC.md
46
48
  ├── executive-summary.md
47
49
  └── supporting/
48
50
  ├── mockup-ascii.md
@@ -52,5 +54,5 @@ Each step's output feeds the next. `validation.md` is the foundation for the res
52
54
  ## Key Outputs
53
55
  - validation.md — GO/REFINE/PAUSE verdict on feature ideas
54
56
  - background.md — synthesized context for a feature
55
- - requirements.md — structured acceptance criteria and business rules
57
+ - SPEC.md — structured acceptance criteria and business rules
56
58
  - executive-summary.md — single document orienting sales, leadership, and engineering
@@ -23,9 +23,9 @@ A named, reusable per-seat starting point. Composes an agent role, startup
23
23
  context, optional native session source, and provenance into something a
24
24
  user or rig can choose when creating, refreshing, or packaging a seat.
25
25
 
26
- "Agent image" is the analogy. **Agent Starter is the cleaner product
27
- noun.** This is NOT a VM image — it is a managed starting point for an
28
- agent seat, with provenance you can inspect.
26
+ This registry-backed startup context is distinct from the `rig agent-image`
27
+ surface and from a VM image. See the current behavior below before treating
28
+ optional session provenance as an executable native session source.
29
29
 
30
30
  ## Use this when
31
31
 
@@ -49,7 +49,7 @@ Capture the seat as it naturally is at a functional, proven point. Don't pad it
49
49
 
50
50
  Never compact, summarize, or shrink a seat in order to make or "lean" a starter. There is nothing valuable in "smaller," and compaction is lossy — you would trade away the exact capability the starter exists to preserve. (Compaction is a separate last-resort step for a seat genuinely near its context limit, with its own before/after plan — never part of capturing a starter.)
51
51
 
52
- ## State model — 6 states
52
+ ## Authoring lifecycle — 6 conceptual states
53
53
 
54
54
  1. **Captured** — a useful seat/session/context pattern is identified.
55
55
  2. **Named** — it becomes an Agent Starter with stable id and owner.
@@ -66,30 +66,32 @@ Never compact, summarize, or shrink a seat in order to make or "lean" a starter.
66
66
  4. **Secret leakage** — starter packages or displays provider auth material. **Refuse.** Refer to session sources and context, never copy credentials.
67
67
  5. **Runtime mismatch** — starter used with unsupported runtime. **Refuse with a clear error.**
68
68
 
69
- ## Manifest shape (v0+v1 shipped)
69
+ ## Registry entry and current behavior
70
+
71
+ Save one entry as `<registry-root>/reviewer-v1.yaml`. The resolver selects an
72
+ explicit root or `OPENRIG_AGENT_STARTER_ROOT`; absent those, it checks the home
73
+ registry `~/.openrig/agent-starters` and a configured fallback.
70
74
 
71
75
  ```yaml
72
- agent_starters:
73
- - id: velocity-reviewer-v1
74
- runtime: claude-code
75
- agent_ref: local:reviewer
76
- context_refs:
77
- - doctrine:advisor-orchestrator-mode-judgment
78
- - convention:workstream-continuity
79
- session_source:
80
- mode: fork
81
- ref:
82
- kind: native_id
83
- value: "<prior-native-session-id>"
76
+ starter_id: reviewer-v1
77
+ role: Review the assigned change against its stated outcome.
78
+ context: Read the current task and the source needed to judge it.
84
79
  ```
85
80
 
81
+ The current resolver checks the entry shape and credential boundary, then
82
+ delivers this YAML itself as one required `guidance_merge` startup file on a
83
+ fresh start. It does not interpret arbitrary context refs, load a native
84
+ conversation from this example, or seal an image. A RigSpec member combining
85
+ `starter_ref` with `session_source.mode: fork` is currently rejected; use a
86
+ separate supported session-source path when native continuity is the outcome.
87
+
86
88
  Member usage:
87
89
 
88
90
  ```yaml
89
91
  members:
90
92
  - id: reviewer
91
93
  starter_ref:
92
- name: velocity-reviewer-v1
94
+ name: reviewer-v1
93
95
  ```
94
96
 
95
97
  When a starter points at a primed session produced from a Composable
@@ -113,7 +115,7 @@ Priming Pack, record:
113
115
 
114
116
  ## Dependencies on other primitives
115
117
 
116
- - **Firm**: `session-source-fork` — native conversation-source continuity for fork-based starters
118
+ - **Separate path**: `session-source-fork` — native conversation-source continuity; currently not composable with `starter_ref`
117
119
  - **Firm**: `specification-system` — declarative starter and member references
118
120
  - **Soft**: `rig-bundles-and-shareable-artifacts` — shareable starter packaging
119
121
  - **Soft**: `context-engineering-and-retrieval` — richer declarative context assembly
@@ -24,8 +24,7 @@ metadata:
24
24
 
25
25
  How an agent becomes useful after launch: **AGENTS.md overlays, role
26
26
  files, skills, rig specs, workflow specs, startup checklists, refocus
27
- messages**, and any future "rig context" command or skill-librarian
28
- surface.
27
+ messages**, and the current `rig context` retrieval and profile surface.
29
28
 
30
29
  It is the current concrete startup path inside the broader
31
30
  context-engineering-and-retrieval primitive. Startup gets a seat into
@@ -91,14 +90,16 @@ reentry case, distinct from reusable Agent Starters / priming packs):
91
90
 
92
91
  ## Memory surfaces consumed at startup
93
92
 
94
- Per the externalized-memory-surfaces convention's 13-row inventory:
93
+ Inventory the selected startup inputs: AGENTS/role/CULTURE overlays, replay
94
+ context, and any declared restore packet or starter. Record where each comes
95
+ from, whether it is current, and why this task needs it. An available skill or
96
+ old packet does not select the work.
95
97
 
96
- - **Row 7** — AGENTS/role/CULTURE/startup overlays (primary)
97
- - **Row 3** — startup replay context (primary)
98
- - **Row 12** — restore/reentry packets and Agent Starters (cross-runtime startup path)
99
-
100
- The umbrella's authority-rank + permission-posture columns govern which
101
- surfaces a startup ingestion path can write vs only read.
98
+ Use the task-scoped startup path above to resolve current authority. Permission
99
+ to read an input is not permission to rewrite its source; writes follow the
100
+ active project/rig policy and assignment. Load
101
+ `skills/openrig-operating-model/SKILL.md` with `rig context get` when deciding
102
+ where durable context belongs.
102
103
 
103
104
  ## Startup files vs skills (the distinction)
104
105
 
@@ -123,5 +124,5 @@ culture / pod / member / operator) handles the layering.
123
124
  - `session-compaction-and-restore` skill — restore-time startup ingestion
124
125
  - `agent-starters` skill — reusable starter manifests that compose startup context
125
126
  - `composable-priming-packs` skill — manifests that produce primed sessions
126
- - `externalized-memory-surfaces` skill — umbrella convention for memory surfaces this primitive consumes
127
+ - `openrig-operating-model` skill — placement and authority of durable context
127
128
  - `openrig/docs/reference/agent-startup-guide.md` (product reference doc; not a skill) — the 7-layer additive startup model + delivery hints
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  name: cross-host-rig-commands
3
- description: Use when issuing `rig` commands against a remote host via `--host <id>` flag (single-hop SSH to a host declared in `~/.openrig/hosts.yaml`). Covers the 4 structured failure modes (ssh-unreachable / permission-gate / remote-daemon-unreachable / remote-command-failed), the `--verify` honest pass-through (SSH success is NOT verify success), and the host-registry shape. v0 supports `rig send / capture / ps / whoami --host <id>`.
3
+ description: Use when addressing a registered remote OpenRig host, choosing its transport, or interpreting a cross-host result.
4
4
  metadata:
5
5
  cli_surfaces_referenced:
6
6
  - capture
7
7
  - daemon start
8
8
  - host list
9
- - host show
9
+ - host add
10
+ - host doctor
10
11
  - ps
11
12
  - send
12
13
  - whoami
@@ -22,167 +23,102 @@ metadata:
22
23
  - extension-and-user-workspace
23
24
  ---
24
25
 
25
- # Cross-Host Rig Commands
26
+ # Cross-host rig commands
26
27
 
27
- A first-class OpenRig surface for issuing `rig` commands against a
28
- remote host via single-hop SSH. v0 productizes the existing SSH-envelope
29
- operator pattern (`ssh <host> rig <cmd>`) with declared host identity,
30
- explicit cross-host invocation path, preserved `--verify` semantics, and
31
- 4 named failure modes.
28
+ Use a registered host address and the entry's declared transport. SSH entries
29
+ run a remote CLI through a single-hop shell; HTTP entries use the remote daemon.
30
+ These paths have different prerequisites and command coverage. Check the exact
31
+ command's help and the target installation before a consequential operation.
32
32
 
33
- The live host registry may contain SSH or HTTP read-through/tunnel entries.
34
- Use each registry entry as ground truth for transport shape. HTTP entries
35
- require `url` plus exactly one of `bearer_file` or `bearer_env`.
33
+ ## Choose and inspect the destination
36
34
 
37
- **v0 is CLI-side shell-out only — `packages/daemon/` is NOT touched.**
38
- The remote host has its own managed `rig` available on `$PATH`.
39
-
40
- ## Use this when
41
-
42
- - Driving a Tart VM from the host (the immediate cross-host consumer)
43
- - Operating Mac host A against Mac host B
44
- - Reading remote state via `rig ps --host` / `rig whoami --host`
45
- - Sending or capturing on a remote rig session (`rig send/capture --host <id>`)
46
- - Authoring a `~/.openrig/hosts.yaml` registry entry
47
-
48
- ## Don't use this when
49
-
50
- - The target is local. Don't pass `--host` for local commands.
51
- - You need multi-hop SSH (host A → host B → host C). v0 is single-hop only.
52
- - You want reverse direction (remote initiates back to local). v0 is originator-pull only.
53
- - Cross-host **seat handover** (moving a durable owned seat across hosts) — deferred to higher-level primitives. (Cross-host **queue writes**, by contrast, now ship — see "Cross-host queue writes" below.)
54
- - The transport isn't SSH. v0 supports `transport: ssh` only.
55
-
56
- ## Cross-host queue writes (updated 2026-07-21 vs main d37a08ad)
57
-
58
- Cross-host **queue writes** are no longer deferred — they ship — but the rule
59
- differs from the interactive verbs (`send`/`capture`/`ps`/`whoami`):
60
-
61
- - **Queue writes are EXPLICIT-only.** Address the target host explicitly with
62
- `--host <id>` or the `member@rig@<host>` form. A queue write **never** follows a
63
- persisted host selection.
64
- - **`host select` stickiness does NOT apply to queue.** `host select` affects the
65
- `resolveEffectiveHost` verbs (`send`/`capture`/`ps`/`whoami`) — those follow the
66
- selected host — but a queue write ignores it and requires explicit addressing.
67
- - **Host address parsing differs** between the interactive verbs and the queue
68
- verbs; do not assume the interactive form carries over. When unsure, address the
69
- host explicitly.
70
-
71
- ## Host registry shape (`~/.openrig/hosts.yaml`)
72
-
73
- Host ids must be non-empty and unique. Choose stable, operator-meaningful ids
74
- that describe the destination without depending on transient network details.
35
+ `rig host list` shows registered hosts. `rig host add --help` describes registry
36
+ writes; `rig host doctor --help` describes reachability checks. Inspect the
37
+ configured OpenRig home rather than assuming the default `~/.openrig/hosts.yaml`.
38
+ Registry changes affect later routing, so make them within the requested scope.
75
39
 
76
40
  ```yaml
77
41
  hosts:
78
- - id: a-test-vm
79
- transport: ssh # v0 supports "ssh" only
80
- target: a-test-vm.local # DNS name, SSH config alias, or IP
81
- user: example-user # optional
82
- notes: "Tart VM" # optional
83
- - id: laptop-b
42
+ - id: test-vm
84
43
  transport: ssh
85
- target: laptop-b.tail-scale-net
44
+ target: test-vm.local
86
45
  user: example-user
46
+ - id: remote-dev
47
+ transport: http
48
+ url: http://remote-dev.example:7433
49
+ bearer_env: REMOTE_RIG_TOKEN
87
50
  ```
88
51
 
89
- Validation rules:
52
+ The registry requires a hosts array, unique non-empty ids and a supported
53
+ transport. SSH needs a non-empty target; user and notes are optional. HTTP needs
54
+ a URL and accepts at most one of bearer_env or bearer_file. Omitting both is
55
+ valid for a tokenless target. A configured but unavailable bearer is a permission
56
+ failure, not anonymous fallback. Host ids also have reserved-name validation;
57
+ use the actual validator's error rather than inventing an alias that collides.
90
58
 
91
- - `hosts` required, non-null array
92
- - Each entry: `id` required (non-empty, unique), `transport` required (`ssh` only), `target` required
93
- - `user` and `notes` optional
94
- - Operator-managed file; v0 does NOT include any sub-command to add/remove/list hosts (operators edit YAML directly)
95
- - Missing or invalid file returns a clear error pointing at the canonical path
96
-
97
- ## CLI surface (v0 shipped)
59
+ ## Address the intended operation
98
60
 
99
61
  ```bash
100
- rig send <session> "msg" --host <id> --verify
101
- rig capture <session> --host <id>
102
- rig ps --host <id> [--nodes] [...]
103
- rig whoami --host <id>
62
+ rig send dev-worker@example-rig "check the assigned result" --host remote-dev --verify
63
+ rig capture dev-worker@example-rig --host remote-dev
64
+ rig ps --host remote-dev --nodes --json
65
+ rig whoami --host remote-dev
104
66
  ```
105
67
 
106
- Forwards every shaping flag (`--nodes`, `--full`, `--limit`, `--fields`,
107
- `--summary`, `--filter`, `--json`) to the remote `rig` invocation. The
108
- remote rig's output is verbatim passthrough on success.
109
-
110
- ## The 4 structured failure modes (load-bearing API contract)
111
-
112
- The CLI distinguishes 4 failure modes; operators get an actionable error
113
- per mode; JSON output preserves the `failedStep` enum:
114
-
115
- | Mode | Cause | Action |
116
- |---|---|---|
117
- | `ssh-unreachable` | SSH itself failed (connection refused, host key mismatch, DNS failure, timeout) | Verify SSH access and the registry entry |
118
- | `permission-gate` | SSH hit auth/permission gate (Permission denied, Keychain) | Error includes hint to keychain-over-SSH field note (L4-3 D6) |
119
- | `remote-daemon-unreachable` | SSH succeeded but remote `rig` reported the remote daemon was not reachable | `ssh <target> rig daemon start` |
120
- | `remote-command-failed` | SSH succeeded but remote `rig` exited non-zero for some other reason; remote stderr is surfaced | Read remote stderr; debug remote command |
121
-
122
- Each is distinct and routable. Don't conflate them.
123
-
124
- ## `--verify` honest pass-through (load-bearing)
125
-
126
- `--verify` against a remote target must:
127
-
128
- - **Propagate** the verification request to the remote daemon (or remote `rig` invocation that talks to it)
129
- - **Bring back a structured verification result** (true/false + reason if false), NOT just SSH exit code 0
130
- - **Distinguish "SSH succeeded but verify returned false" from "SSH itself failed"** — these are different operator actions
131
-
132
- **SSH success is NOT verify success.** The remote rig is authoritative
133
- on `--verify`; its `Verified: yes/no` line is surfaced verbatim. Verified
134
- at 3 layers (executor unit, command integration, source impl).
135
-
136
- ## Hard boundaries (do-not list)
137
-
138
- - **Do NOT collapse `--verify` honest result into SSH exit code.** Operators and agents rely on the distinction.
139
- - **Do NOT silently retry SSH failures inside the primitive.** Surface them; let the caller decide.
140
- - **Do NOT introduce non-SSH transports in v0.** Goal is productizing the existing shipped pattern, not replacing it.
141
- - **Do NOT touch host-side daemon code as part of v0.** Cross-host shape is on the originator side.
142
-
143
- ## Cross-host annotation
144
-
145
- Every cross-host invocation is observable as cross-host:
146
-
147
- - **Operator output**: `[via host=<id> (<target>)]` annotation
148
- - **JSON output**: `cross_host: { host, target }` field
149
-
150
- Annotation is PRESENT when `--host` is set and ABSENT otherwise
151
- (compat regression).
152
-
153
- ## Currently shipped (v0) vs deferred
154
-
155
- Shipped at openrig `cdce3a6` (2026-04-30):
156
- - `--host <id>` flag on `rig send / capture / ps / whoami` (initial 2 commands; promoted to 4 at `6b7043a` same day)
157
- - Read-only host registry validation
158
- - Single-hop SSH executor with 4-mode `failedStep` enum
159
- - `--verify` honest pass-through
160
- - Cross-host annotation (operator + JSON)
161
- - Daemon untouched
162
-
163
- Deferred:
164
- - Tier 2 real-runtime cross-host proof (disposable Tart VM cycle)
165
- - `rig host list / show` read-only sub-namespace (only if host count grows past comfortable manual editing)
166
- - Non-SSH transports
167
- - Multi-hop SSH
168
- - Reverse direction (remote initiates)
169
- - Connection pooling/caching
68
+ These coordination commands select SSH or HTTP from the registry entry. They
69
+ do not silently try another transport when one fails. A host-qualified target
70
+ can be convenient, but confirm its parsing and any persisted host selection
71
+ with the particular command. Explicit --host is preferable for consequential
72
+ cross-host work.
73
+
74
+ Queue destinations use explicit --host or a supported host-qualified destination;
75
+ queue writes do not follow persisted host selection. The CLI separates the host
76
+ from the canonical seat in the routing envelope. Different queue subcommands
77
+ have different flags: check their help instead of copying a flag from send.
78
+ A local success message alone does not establish remote persistence or pickup.
79
+
80
+ ## Read failures at the layer that failed
81
+
82
+ | Signal | What to inspect |
83
+ |---|---|
84
+ | registry-load-failed / unknown-host | Registry path, entry and exact destination |
85
+ | ssh-unreachable | SSH connection, target and transport diagnostics |
86
+ | permission-gate | The configured SSH or HTTP credentials and target policy |
87
+ | remote-daemon-unreachable | Target listener and actual running daemon identity |
88
+ | remote-command-not-found | Remote CLI installation and executable lookup |
89
+ | remote-command-failed | The remote operation's own status and error |
90
+
91
+ The exact result taxonomy depends on the path. HTTP failures expose the remote
92
+ status/error; SSH distinguishes the shell transport from the remote command.
93
+ Do not start or replace a remote daemon merely because a diagnostic suggests it;
94
+ first establish the target's state and the authority for that lifecycle action.
95
+ A timed-out write may have reached its destination. Reconcile its durable effect
96
+ before retrying.
97
+
98
+ ## Verification and attribution
99
+
100
+ Transport success is not delivery verification or agent consumption. SSH forwards
101
+ --verify and returns the remote CLI result. HTTP preserves the remote transport
102
+ verdict and explicitly reports that the local pane-effect check did not run
103
+ cross-host. Inspect that result and the destination effect required by the task;
104
+ never replace it with “SSH exited zero” or “HTTP returned successfully.”
105
+
106
+ Cross-host output names the host/target; JSON envelopes carry cross_host metadata.
107
+ The precise envelope differs by command and transport. Preserve the underlying
108
+ remote result when passing evidence onward.
109
+
110
+ A target's host suffix selects a destination; a sender's origin identifies where
111
+ a reply belongs. Use the rendered reply address and verify its host mapping.
112
+ Current send derives the sender from the executing seat context, not a caller's
113
+ --from assertion. It adds origin-host identity at cross-host forwarding; do not
114
+ assume local sends have the same suffix. Unknown identity remains unknown.
115
+
116
+ This guide describes the implemented command paths, not proof of a live remote
117
+ journey on your installation. Forks, handovers and other lifecycle compositions
118
+ need their own supported command and scoped authority; reading remote state
119
+ does not authorize them.
170
120
 
171
121
  ## See also
172
122
 
173
- - `seat-continuity-and-handover` skill — host-aware seat-binding semantics for cross-host handover (deferred to v1 on top of this v0 baseline)
174
- - `openrig-user` skill — the local CLI surface that cross-host commands wrap
175
-
176
- ## Sender identity carries the ORIGIN host (51-09, 2026-08-06)
177
-
178
- The `@host` sugar on a TARGET is **addressing** (`member@rig@<host>` routes to that host).
179
- The **From:** sender now ALWAYS carries the **origin** host: a cross-host (and local) message's
180
- signature is **`member@rig@<originHost>`** — the sender reflects the host it was sent from, so a
181
- received signature names the ORIGIN, and the `↩ Reply:` hint round-trips **verbatim** back to that
182
- origin (never a same-named local lookalike). This is the always-suffix rule — deterministic and
183
- collision-proof: a signature means one thing to every receiver. (This SUPERSEDES the pre-51-09
184
- asymmetry — "the sender carries no `@host` suffix" — that pm@your-rig flagged as a core gap on
185
- 2026-07-25; 51-09 closed it.) Per BR-1 the host is NEVER folded into the session string on the
186
- wire: the CLI edge renders/strips it, the daemon refuses an in-band 3-part destination with a
187
- teaching hint, and a stale 2-part same-name destination is closed by `--host` + that teaching —
188
- not by any in-string magic.
123
+ - openrig-user — exact command reference
124
+ - seat-continuity-and-handover — stable seat and occupant outcomes
@@ -21,8 +21,7 @@ metadata:
21
21
  - openrig-upgrade
22
22
  - forming-an-openrig-mental-model
23
23
  - ai-dev-workflows
24
- notes: |
25
- Description was already correct (starts with "Use when..."; lists specific authoring triggers including the diagnose-bad-rig case). Final sentence ("Covers the full authoring lifecycle from user intent to validated, launchable rig.") is workflow-summary-adjacent; on next iteration, consider trimming. For factory-adoption cycle, kept as-is to match product source-of-truth.
24
+
26
25
  ---
27
26
 
28
27
  # OpenRig Architect
@@ -33,43 +32,33 @@ Your job is to take a user's intent — "I need a team that does X" — and prod
33
32
 
34
33
  You also diagnose problems when a rig launches but agents aren't behaving as intended.
35
34
 
36
- ## Before You Design: Required Reading
37
-
38
- Load these before starting any design work. The quality of your output depends on the depth of knowledge you bring.
39
-
40
- **Required (read all of these):**
41
-
42
- 1. **`openrig-user` skill** — full OpenRig CLI surface. You must know the operator primitives. If your runtime supports skills, load it by name. Otherwise, look for it at `~/.openrig/skills/openrig-user/SKILL.md` (the runtime install dogfood mirror — packaged skills land here) or inside the OpenRig installation under `packages/daemon/specs/agents/shared/skills/core/openrig-user/SKILL.md`. The `~/.openrig/reference/` directory holds reference docs (rig-spec.md, agent-spec.md, etc.), NOT skills.
43
-
44
- 2. **OpenRig reference docs** — these are installed at `~/.openrig/reference/` when the daemon starts. Read all of them:
45
- - `~/.openrig/reference/rig-spec.md` — canonical RigSpec YAML reference. Every field, validation rule, default.
46
- - `~/.openrig/reference/agent-spec.md` — canonical AgentSpec YAML reference. Same depth.
47
- - `~/.openrig/reference/agent-startup-guide.md` — how to think about what goes into agent startup. Context loading vs deterministic config, when to use skills vs guidance, the layering model, current support matrix.
48
- - `~/.openrig/reference/edge-types.md` — what edges do today vs what they're intended to do.
49
-
50
- If `~/.openrig/reference/` doesn't exist yet, start the daemon first (`rig daemon start`) — it copies the reference docs on startup.
51
-
52
- **Read as worked examples:**
53
-
54
- 3. **Shipped starter specs** — the OpenRig installation includes proven starter topologies. Find them by running `rig specs ls`. Read the ones that are relevant to your design task, especially:
55
- - `implementation-pair` — the smallest effective development unit (2 agents)
56
- - `secrets-manager` — a managed-app rig with services integration and a specialist agent
57
-
58
- **Read if present on this host:**
59
-
60
- 4. **Host-level doctrine** in your host's topology doc, if it keeps one. If this file exists, it supersedes the baseline process below for complex or high-stakes rigs. Specifically:
61
- - §3 defines the canonical rig classes (kernel, project, ephemeral, infra-build, managed-app). Classify before designing.
62
- - §4 defines context-sharing patterns (pods as context domains, pair pattern, HA via mental-model-ha skill + substrate session logs, terminal nodes as common-room, chatroom/substrate/transcripts/Corpus).
63
- - **§7 is the canonical 12-step rig-spec authoring SOP for high-stakes rigs — use it instead of the baseline "Design Process" below when the rig is ≥4 members, uses HA, is a managed-app, or will be shared/copied.** The baseline below still applies to small/focused rigs.
64
- - §10 contains the host's bootstrap sequence so you know where your new rig fits.
65
- - §12 has the naming canon and vocabulary mapping to shipped terms.
66
- 5. **`building-agent-software` skill** if available in your skill catalog. Design principles for agent-facing tools and surfaces. Relevant when your rig ships a new CLI, service, or managed app.
67
-
68
- **Load as needed:**
69
- - Domain-specific skills when designing specialist agents — find shipped skills inside the OpenRig installation under the `specs/agents/` tree
70
- - If the design session is long and you're running inside a managed rig, use `rig whoami --json` to recover your identity after compaction
71
-
72
- Do not skip the required reading. A rig architect who doesn't know the spec format will produce specs that don't validate. An architect who doesn't know the startup layering model will produce agents that boot without knowing their role. An architect who doesn't check for host-level doctrine will reinvent conventions the host has already established.
35
+ ## Before you design: select the relevant sources
36
+
37
+ Start with the user's outcome, the current project authority, and the part of
38
+ the format you will author. Load the selected paths from public onboarding;
39
+ consult additional skills when their triggers apply. A design task does not
40
+ require reading the whole command library.
41
+
42
+ - Read the relevant sections of `rig-spec.md` and `agent-spec.md` before writing
43
+ those declarations. Consult `agent-startup-guide.md` for startup/loadout work
44
+ and `edge-types.md` when selecting relationships. Resolve the installed
45
+ reference root from the actual OpenRig installation; `~/.openrig/reference/`
46
+ is a default, not a fixed location. If it is absent, use the matching source
47
+ repository docs or report the missing reference. Reading does not require
48
+ starting or changing a daemon.
49
+ - Use current `rig <command> --help` for command shape. Load `openrig-user` for
50
+ the specific CLI surface needed, through the installed skill/context catalog.
51
+ - Inspect relevant starter specs with `rig specs ls`. Treat them as examples to
52
+ validate against the current environment, not proof that your new rig works.
53
+ - If the environment declares host or project doctrine, read the actual
54
+ applicable authority and reconcile it with the task. Do not assume a filename,
55
+ section number, rig classification or fixed authoring SOP. Missing authority
56
+ is a question to resolve when it changes the design.
57
+ - Load domain-specific guidance for specialist roles. When authoring an
58
+ agent-facing tool, consult `building-agent-software` if available.
59
+
60
+ Keep the spec, startup layering, role responsibilities and selected proof
61
+ standard explicit. Scale the reading and checks to what the design changes.
73
62
 
74
63
  ## The Design Process
75
64
 
@@ -152,14 +141,17 @@ To verify the current builtin set on this host, run `rig specs ls` and look for
152
141
 
153
142
  Each member needs a `runtime` and optionally a `model`.
154
143
 
155
- **Runtime selection:**
156
- - `claude-code` — Claude Code. Best for: complex reasoning, architecture, code review, orchestration. Supports `/loop` for recurring tasks, rich hooks system, MCP servers.
157
- - `codex` — Codex. Best for: parallel work, implementation, testing. Different approval model. Less reliable for recurring tasks.
158
- - `terminal` — Infrastructure nodes. Servers, log tails, build watchers. Not an agent — a process.
159
-
160
- **Runtime diversity is valuable.** Using both Claude Code and Codex in the same rig gives you different reasoning perspectives. The `product-team` starter uses Claude Code for the lead/impl/design/r1 roles and Codex for peer/qa/r2 roles. This is deliberate — model diversity catches different classes of issues.
144
+ Choose from the installed, authenticated runtimes and the project's current
145
+ execution policy. `claude-code` and `codex` are agent runtimes; `terminal` is an
146
+ infrastructure process. Their model availability, hooks, approval behavior and
147
+ continuation support differ. Check the relevant installed interfaces rather
148
+ than ranking vendors permanently in a reusable role skill.
161
149
 
162
- **Model selection** is optional. The runtime's default model is usually fine. Override only when you have a specific reason (e.g., a complex architecture agent might benefit from a specific model).
150
+ Pin a model when the work or environment requires it, and verify the active
151
+ runtime reports that model before relying on its result. Select reviewers and
152
+ support roles by consequence, competence and the declared policy. Runtime
153
+ diversity can provide different methods; it does not by itself prove independence
154
+ or make any model suitable for a task.
163
155
 
164
156
  ### Step 5: Design Edge Topology
165
157
 
@@ -181,7 +173,8 @@ This is where most rigs succeed or fail. The topology is mechanical; the startup
181
173
  **Minimum for every rig:**
182
174
  1. Each agent has a `guidance/role.md` — who they are, what they do
183
175
  2. The rig has a `CULTURE.md` — how the team works together
184
- 3. Each agent gets `openrig-user` skill — so they know how to use the rig primitives
176
+ 3. Each agent gets the selected onboarding path and can discover the relevant
177
+ command/skill references when needed
185
178
 
186
179
  **For serious rigs, also include:**
187
180
  4. `startup/context.md` per agent — boot-time grounding (project info, environment details)