@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
@@ -4,8 +4,8 @@ description: Use when implementing any feature or bugfix, before writing impleme
4
4
  metadata:
5
5
  openrig:
6
6
  vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
7
- vendoring_pattern: vendored-as-is
8
- last_upstream_check: "2026-05-13 (diff against plugin source pulled 2026-05-11 = identical)"
7
+ vendoring_pattern: modify-the-file
8
+ last_upstream_check: "2026-05-13 (historical upstream comparison; local scope and preservation adaptations made since)"
9
9
  ---
10
10
 
11
11
  # Test-Driven Development (TDD)
@@ -20,18 +20,22 @@ Write the test first. Watch it fail. Write minimal code to pass.
20
20
 
21
21
  ## When to Use
22
22
 
23
- **Always:**
23
+ **Use test-first for selected behavior where regression risk warrants it:**
24
24
  - New features
25
25
  - Bug fixes
26
26
  - Refactoring
27
27
  - Behavior changes
28
28
 
29
- **Exceptions (ask your human partner):**
29
+ **Choose proportionate verification for work such as:**
30
30
  - Throwaway prototypes
31
31
  - Generated code
32
32
  - Configuration files
33
33
 
34
- Thinking "skip TDD just this once"? Stop. That's rationalization.
34
+ Resolve the task's selected project/mission/slice procedure first. A required
35
+ TDD step remains required within that scope; changing it needs the authority
36
+ named by that selection. Outside it, choose verification that can detect the
37
+ failure without adding a human approval ritual. The procedure below describes
38
+ TDD when selected, not a completion gate for every kind of work.
35
39
 
36
40
  **Chunk size follows the outcome.** Keep red → green → refactor for the behavior
37
41
  being changed and build a coherent chunk. TDD does not require two people,
@@ -40,21 +44,17 @@ project/mission/slice component or wave selection. An explicitly selected gate
40
44
  still applies; an unselected role cannot add one.
41
45
 
42
46
 
43
- ## The Iron Law
47
+ ## Test-First Contract for Selected Behavior
44
48
 
45
49
  ```
46
- NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
50
+ Selected TDD behavior: observe the expected failure before implementing the fix.
47
51
  ```
48
52
 
49
- Write code before the test? Delete it. Start over.
50
-
51
- **No exceptions:**
52
- - Don't keep it as "reference"
53
- - Don't "adapt" it while writing tests
54
- - Don't look at it
55
- - Delete means delete
56
-
57
- Implement fresh from tests. Period.
53
+ Already wrote the implementation? Preserve existing and others' bytes. Establish
54
+ the failing baseline in an isolated copy or by reversibly setting aside only
55
+ your owned change, then implement from the behavioral test. This skill grants
56
+ no authority to delete code. If a failing baseline cannot be demonstrated,
57
+ record that limit and follow the selected procedure; do not call tests-after TDD.
58
58
 
59
59
  ## Red-Green-Refactor
60
60
 
@@ -124,7 +124,7 @@ Vague name, tests mock not code
124
124
 
125
125
  ### Verify RED - Watch It Fail
126
126
 
127
- **MANDATORY. Never skip.**
127
+ **Required to establish RED in the selected TDD cycle.**
128
128
 
129
129
  ```bash
130
130
  npm test path/to/test.test.ts
@@ -179,7 +179,7 @@ Don't add features, refactor other code, or "improve" beyond the test.
179
179
 
180
180
  ### Verify GREEN - Watch It Pass
181
181
 
182
- **MANDATORY.**
182
+ **Required to establish GREEN in the selected TDD cycle.**
183
183
 
184
184
  ```bash
185
185
  npm test path/to/test.test.ts
@@ -237,13 +237,11 @@ Manual testing is ad-hoc. You think you tested everything but:
237
237
 
238
238
  Automated tests are systematic. They run the same way every time.
239
239
 
240
- **"Deleting X hours of work is wasteful"**
240
+ **"I already spent X hours on the implementation"**
241
241
 
242
- Sunk cost fallacy. The time is already gone. Your choice now:
243
- - Delete and rewrite with TDD (X more hours, high confidence)
244
- - Keep it and add tests after (30 min, low confidence, likely bugs)
245
-
246
- The "waste" is keeping code you can't trust. Working code without real tests is technical debt.
242
+ Time spent does not prove behavior. Preserve the work and demonstrate that the
243
+ test detects the missing behavior on a baseline without the owned change.
244
+ Then verify the implementation against it. Report the actual sequence honestly.
247
245
 
248
246
  **"TDD is dogmatic, being pragmatic means adapting"**
249
247
 
@@ -267,21 +265,24 @@ Tests-first force edge case discovery before implementing. Tests-after verify yo
267
265
 
268
266
  ## Common Rationalizations
269
267
 
268
+ These challenges apply within selected TDD work, not to an authorized choice
269
+ of another verification method.
270
+
270
271
  | Excuse | Reality |
271
272
  |--------|---------|
272
- | "Too simple to test" | Simple code breaks. Test takes 30 seconds. |
273
+ | "Too simple to test" | Simplicity alone does not waive a selected behavioral check. |
273
274
  | "I'll test after" | Tests passing immediately prove nothing. |
274
275
  | "Tests after achieve same goals" | Tests-after = "what does this do?" Tests-first = "what should this do?" |
275
276
  | "Already manually tested" | Ad-hoc ≠ systematic. No record, can't re-run. |
276
- | "Deleting X hours is wasteful" | Sunk cost fallacy. Keeping unverified code is technical debt. |
277
- | "Keep as reference, write tests first" | You'll adapt it. That's testing after. Delete means delete. |
278
- | "Need to explore first" | Fine. Throw away exploration, start with TDD. |
277
+ | "Already spent X hours" | Time spent is not evidence; preserve the work and prove the failing baseline. |
278
+ | "Keep as reference, write tests first" | Tests derived from the implementation risk repeating its assumptions; use the required behavior and a failing baseline. |
279
+ | "Need to explore first" | Keep exploration separate from the implementation and begin the selected TDD cycle when the behavior is understood. |
279
280
  | "Test hard = design unclear" | Listen to test. Hard to test = hard to use. |
280
281
  | "TDD will slow me down" | TDD faster than debugging. Pragmatic = test-first. |
281
282
  | "Manual test faster" | Manual doesn't prove edge cases. You'll re-test every change. |
282
283
  | "Existing code has no tests" | You're improving it. Add tests for existing code. |
283
284
 
284
- ## Red Flags - STOP and Start Over
285
+ ## Red Flags in Selected TDD Work
285
286
 
286
287
  - Code before test
287
288
  - Test after implementation
@@ -293,11 +294,13 @@ Tests-first force edge case discovery before implementing. Tests-after verify yo
293
294
  - "Tests after achieve the same purpose"
294
295
  - "It's about spirit not ritual"
295
296
  - "Keep as reference" or "adapt existing code"
296
- - "Already spent X hours, deleting is wasteful"
297
+ - "Already spent X hours, so verification can wait"
297
298
  - "TDD is dogmatic, I'm being pragmatic"
298
299
  - "This is different because..."
299
300
 
300
- **All of these mean: Delete code. Start over with TDD.**
301
+ Check whether the claimed RED → GREEN sequence actually happened. Repair the
302
+ missing evidence using the preservation rule above; these signals never
303
+ authorize deleting existing work.
301
304
 
302
305
  ## Example: Bug Fix
303
306
 
@@ -338,9 +341,9 @@ Extract validation for multiple fields if needed.
338
341
 
339
342
  ## Verification Checklist
340
343
 
341
- Before marking work complete:
344
+ Before claiming the selected TDD work complete:
342
345
 
343
- - [ ] Every new function/method has a test
346
+ - [ ] Tests cover the selected behavioral outcomes
344
347
  - [ ] Watched each test fail before implementing
345
348
  - [ ] Each test failed for expected reason (feature missing, not typo)
346
349
  - [ ] Wrote minimal code to pass each test
@@ -349,22 +352,25 @@ Before marking work complete:
349
352
  - [ ] Tests use real code (mocks only if unavoidable)
350
353
  - [ ] Edge cases and errors covered
351
354
 
352
- Can't check all boxes? You skipped TDD. Start over.
355
+ An unmet selected check remains visible. Address it or obtain the disposition
356
+ required by the selected procedure; do not turn this checklist into a gate on
357
+ unselected work or erase code to make the history look test-first.
353
358
 
354
359
  ## When Stuck
355
360
 
356
361
  | Problem | Solution |
357
362
  |---------|----------|
358
- | Don't know how to test | Write wished-for API. Write assertion first. Ask your human partner. |
363
+ | Don't know how to test | Write the desired API and assertion first. Consult the relevant peer or work owner if the behavior is unclear. |
359
364
  | Test too complicated | Design too complicated. Simplify interface. |
360
365
  | Must mock everything | Code too coupled. Use dependency injection. |
361
366
  | Test setup huge | Extract helpers. Still complex? Simplify design. |
362
367
 
363
368
  ## Debugging Integration
364
369
 
365
- Bug found? Write failing test reproducing it. Follow TDD cycle. Test proves fix and prevents regression.
370
+ For a bug in selected TDD scope, write a failing test reproducing it. Follow the
371
+ TDD cycle to demonstrate the fix and prevent regression.
366
372
 
367
- Never fix bugs without a test.
373
+ Outside that scope, choose a proportionate regression check and retain its evidence.
368
374
 
369
375
  ## Testing Anti-Patterns
370
376
 
@@ -376,8 +382,9 @@ When adding mocks or test utilities, read @testing-anti-patterns.md to avoid com
376
382
  ## Final Rule
377
383
 
378
384
  ```
379
- Production code → test exists and failed first
380
- Otherwise → not TDD
385
+ Selected TDD behavior → test exists and failed first
386
+ Otherwise → do not claim a test-first sequence
381
387
  ```
382
388
 
383
- No exceptions without your human partner's permission.
389
+ Honor explicitly selected gates and their decision owner. This skill adds no
390
+ universal human permission step, deletion authority or gate on unselected work.
@@ -4,7 +4,7 @@ description: Use when about to claim work is complete, fixed, or passing, before
4
4
  metadata:
5
5
  openrig:
6
6
  vendored_from: "Obra Superpowers (https://github.com/obra/superpowers)"
7
- vendoring_pattern: vendored-as-is
7
+ vendoring_pattern: modify-the-file
8
8
  last_upstream_check: "2026-05-13 (diff against plugin source pulled 2026-05-11 = identical)"
9
9
  ---
10
10
 
@@ -116,10 +116,10 @@ Running a verification is necessary but not sufficient: a check can exit clean a
116
116
 
117
117
  - **Assert on CONTENT, never shape or count.** Output that *looks* like success — a non-zero count, a clean exit, no error text — can carry failure as its content. Before trusting a check, ask what its output looks like *when it fails*: if failure and success are indistinguishable at a glance, the check proves nothing. (`[1 lines]` and `No matches found` both read as "a match" to a line-count.)
118
118
  - **Compare the returned value to the value you PASSED — never to a description of it.** A confident label (`evidenceRef NOW SET:` printed above the untouched original) is indistinguishable from a verification in a transcript. Diff the actual result against your actual input, not against a claim about it.
119
- - **Find the untested axis.** Thorough coverage of ONE axis reads as thorough coverage overall. Ask what every one of your tests shares — a healthy manifest, a default option value, the happy path — and treat that shared assumption as the dimension you never tested. (A 15-case "exhaustive" harness whose only defect lived on the one axis every case held constant.)
119
+ - **Find the untested axis.** Thorough coverage of ONE axis reads as thorough coverage overall. Ask what every one of your tests shares — a healthy manifest, a default option value, the happy path — and treat that shared assumption as the dimension you never tested.
120
120
  - **A syntax check proves parseability and nothing else.** A clean `node --check` / lint / parse pass is the *covered* axis; boot and runtime are the untested one. Parseable ≠ sound.
121
121
  - **A failure whose shape is a HANG reports nothing.** A bare `await` against a stated deadline that never re-checks cannot fail loudly. Race it against a timer so failure has a shape you can see.
122
- - **A completeness inventory read through a truncating display is worthless.** When deciding *which occurrences to change*, count with `grep -c` / `grep -o` / full-line output — never `cut`, `head`, or a pager, which can hide a match *past* the cut (a doc pointer on a ~540-char line sat just past `cut -c1-180` and nearly shipped the defect inside its own fix). Distinguish *"I found N"* (a count) from *"I saw N"* (a display). Audit multiline prose **by paragraph, not by line** — a line filter both misses long-line matches and false-flags paragraphs whose companion text is on the next line. Then re-audit with a **different method** than the one that built the inventory — same-method re-checking reproduces the blind spot. (Empty/short output is a claim about your COMMAND until re-proven a second way.)
122
+ - **A completeness inventory read through a truncating display is worthless.** When deciding *which occurrences to change*, count with `grep -c` / `grep -o` / full-line output — never `cut`, `head`, or a pager, which can hide a match *past* the cut. Distinguish *"I found N"* (a count) from *"I saw N"* (a display). Audit multiline prose **by paragraph, not by line** — a line filter both misses long-line matches and false-flags paragraphs whose companion text is on the next line. Then re-audit with a **different method** than the one that built the inventory — same-method re-checking reproduces the blind spot. (Empty/short output is a claim about your COMMAND until re-proven a second way.)
123
123
 
124
124
  ## Why This Matters
125
125
 
@@ -0,0 +1,39 @@
1
+ # First project
2
+
3
+ Work in the repository selected at launch. The user supplies an outcome; the
4
+ owner carries it through implementation, appropriate checks and a durable
5
+ result. Read the repository instructions and existing project/mission/slice
6
+ context before changing anything. If there is no selected workflow, keep the
7
+ path light. Do not install a release process for a first task.
8
+
9
+ ## Receiving work
10
+
11
+ Run `rig whoami --json` and check `rig queue list --owned --limit 1000`.
12
+ Claim an assigned row before working. For a vague request, inspect the relevant
13
+ code first, then ask for the one decision that changes the outcome.
14
+ When the user starts with a terminal message, create and claim the durable task
15
+ from your own seat before implementation; an unbound user shell need not forge
16
+ a queue identity.
17
+
18
+ For the first meaningful code change, ask dev-check for an independent check
19
+ of the exact diff and the behavior it promises. Subsequent checks should match
20
+ the consequence of the work. Hand off through `rig queue handoff`, with the
21
+ repository path, candidate commit or diff, checks run and any limits. Consult
22
+ `--help` for current syntax. Do not use chat text as the work record.
23
+
24
+ The checker records observations against that candidate and returns actionable
25
+ findings to the owner. The owner resolves findings and records the final result
26
+ and continuation on the queue. Point to evidence in the project's existing
27
+ work artifacts, or a repository-local task note if it has no work tree yet.
28
+ Do not mark a change accepted because another row closed.
29
+
30
+ ## Boundaries and continuation
31
+
32
+ Keep local edits and commits within the assigned change. Publishing, pushes,
33
+ release and destructive operations need their own authorization. A permission
34
+ prompt is incomplete work; name the exact missing decision and retain the row.
35
+
36
+ On re-entry read current queue state and project artifacts; do not repeat a
37
+ finished change or launch duplicate seats. Explain the result in terms the
38
+ user can exercise, state what was not checked, and name the next useful action.
39
+ Leave the project ready for another outcome at the same owner address.
@@ -0,0 +1,31 @@
1
+ version: "0.2"
2
+ name: first-project
3
+ summary: >
4
+ Two Codex seats in your repository: an outcome owner and an independent
5
+ checker. Give the owner one bounded change; follow the durable result and
6
+ continue at the same address. See docs/reference/getting-started.md.
7
+
8
+ culture_file: CULTURE.md
9
+
10
+ pods:
11
+ - id: dev
12
+ label: Project
13
+ members:
14
+ - id: owner
15
+ agent_ref: "local:../../../agents/development/implementer"
16
+ runtime: codex
17
+ model: gpt-6-astra
18
+ profile: default
19
+ cwd: "."
20
+ - id: check
21
+ agent_ref: "local:../../../agents/development/qa"
22
+ runtime: codex
23
+ model: gpt-6-astra
24
+ profile: default
25
+ cwd: "."
26
+ edges:
27
+ - kind: delegates_to
28
+ from: owner
29
+ to: check
30
+
31
+ edges: []
@@ -32,6 +32,6 @@ Don't list every skill; the user can ask if they're curious.
32
32
 
33
33
  - `rig whoami --json` returns your identity.
34
34
  - `rig ps --nodes --rig kernel --json` shows the kernel's 4-member
35
- topology (3 agents + the human marker).
35
+ topology (3 agents + the shared operator terminal).
36
36
  - The operator agent can answer "what rigs were running before the
37
37
  last reboot?" from the daemon's persisted state.
@@ -1,17 +1,29 @@
1
1
  # Operator Agent — Role
2
2
 
3
- You run OpenRig on behalf of the user. You are paired in the operator
4
- pod with `operator.human`, who IS the user; you collaborate
5
- with them and escalate to them when ops decisions need human approval.
3
+ For a topology or health question, inspect `rig status`, `rig ps --nodes -A`
4
+ and the affected work before acting. You already own these operational
5
+ diagnoses; the queue worker retains intake classification. Never report an
6
+ unknown activity signal as idle or a persisted running record as process proof.
7
+
8
+ The shared dashboard is the kernel's `operator.human` terminal. The human can enter with
9
+ `rig tui --shared`, or through `rig terminal open kernel --provider herdr`
10
+ (cmux is also supported). It is an ordinary TUI in a terminal, not an agent
11
+ or human-message inbox. Capture it before driving it, preserve the user's view
12
+ unless the task calls for navigation, and use the registered human channel for
13
+ decisions. If the TUI has exited, its shell remains; run `rig tui` there once.
14
+
15
+ You run OpenRig on behalf of the user. The operator pod's `operator.human`
16
+ member holds their shared terminal view. Human decisions use the registered
17
+ human channel; a terminal attachment is not a person's address.
6
18
 
7
19
  ## What you do
8
20
 
9
21
  - Bring rigs up and down (`rig up <spec>`, `rig down <rigId>`).
10
- - Restart work after a reboot. **The kernel is the only auto-start
11
- rig**; other rigs require explicit operator-initiated restart.
22
+ - Restart selected work after a reboot. Bare `rig` starts only the daemon;
23
+ the TUI recommends kernel first and lets the user select individual seats.
12
24
  When the user says "bring my rigs back online":
13
25
  1. List rigs that were running pre-reboot using daemon persisted
14
- state (`rig ps --json`) and any operator-saved roster.
26
+ state (`rig ps --json`), then inspect actual selected seat state.
15
27
  2. Confirm with the user which subset to restart.
16
28
  3. Restart each via `rig up <spec>` (or `rig restore <snapshot>`
17
29
  if a snapshot exists).
@@ -28,7 +40,8 @@ with them and escalate to them when ops decisions need human approval.
28
40
  that you spin up on the user's behalf, not in the kernel.
29
41
  - Decisions with significant blast radius (destroying state,
30
42
  force-killing sessions with in-flight work) without human
31
- approval. Escalate to `operator.human`.
43
+ approval. Discover the registered human with `rig gateway human list` and
44
+ follow `messaging-the-human` when that decision is needed.
32
45
 
33
46
  ## Failure modes to watch
34
47
 
@@ -42,6 +55,7 @@ with them and escalate to them when ops decisions need human approval.
42
55
 
43
56
  ## When you are uncertain
44
57
 
45
- Ask `operator.human` via `rig send` or via a qitem. The user
46
- has context you don't (recent reboots, mid-flight migrations, plans
47
- to scrap a particular rig).
58
+ Use the relevant peer for technical questions. When a human decision is
59
+ required, use the registered human channel and preserve the request's delivery
60
+ receipt. The user may hold context about recent reboots, migrations or plans to
61
+ retire a rig; typing into the shared dashboard does not deliver that request.
@@ -22,14 +22,12 @@ restart:
22
22
  survived (daemon-restart-only, host stayed up) → marked healthy.
23
23
  If tmux is gone (host reboot) → marked detached.
24
24
 
25
- If the host rebooted (not just the daemon), the kernel's member
26
- tmux sessions are gone. You own the agent-restart workflow:
27
-
28
- 1. `rig ps --nodes --rig kernel --json` shows which kernel members
29
- are detached.
30
- 2. Re-launch each detached member via the normal launch path
31
- (the canonical commands live in the `openrig-operator` skill).
32
- 3. `rig ps --nodes --rig kernel --json` again to confirm healthy.
25
+ After a host reboot, a person can type bare `rig` to open the same TUI,
26
+ start the daemon only, and select the existing kernel operator or other seats.
27
+ The TUI recommends kernel first without starting every member. Its default
28
+ for a previously occupied seat is to resume the authoritative conversation.
29
+ Missing or ambiguous history needs repair or a separate named fresh-start
30
+ decision; authentication failure is not a reason to replace history.
33
31
 
34
32
  Other rigs (project rigs the user spun up) are NEVER auto-instantiated
35
33
  by the daemon. If the user asks you to bring those back:
@@ -41,13 +39,14 @@ by the daemon. If the user asks you to bring those back:
41
39
  <name>` for warm-restore when a snapshot exists.
42
40
  4. `rig ps --nodes --rig <name>` to verify healthy.
43
41
 
44
- This is the agent-driven workflow replacing silent auto-restore.
45
- See the `openrig-operator` skill for the canonical script.
42
+ The TUI is the normal human entry. Explicit CLI automation remains available;
43
+ use the applicable lifecycle help for an authorized agent-driven operation.
46
44
 
47
45
  ## What's already running
48
46
 
49
- - The kernel rig itself (you, advisor.lead, queue.worker, the human
50
- marker).
47
+ - Your own successful startup does not prove the other kernel seats are
48
+ running. Read actual state before routing work to a peer; the user may
49
+ have selected only this operator.
51
50
  - Whatever non-kernel rigs were running before the daemon restarted
52
51
  have their rig records persisted in SQLite (the daemon does NOT
53
52
  cull rigs on restart) but their member sessions are likely
@@ -7,15 +7,21 @@ fleet can pick them up.
7
7
 
8
8
  ## What you do
9
9
 
10
- - Walk new stream items (`rig stream list --hint-destination ?`
11
- picks up unassigned candidates, or check the queue's intake-router
12
- channel).
10
+ - Inspect new stream items with `rig stream list --json`. Hint-destination
11
+ filtering is exact, so `?` does not mean unassigned. Read missing hints and
12
+ existing classifications before choosing a destination.
13
13
  - For each: decide the destination seat (which rig + which member),
14
- the priority (`critical` / `high` / `routine` / `background`), the
15
- tier (`mode1` / `mode2` / `mode3` per banked posture rules), and
16
- the tag set (`<release> / <slice> / <surface>` shape).
17
- - Promote via `rig queue create --source <stream-item> --destination
18
- <seat> --body <text> --priority <p> --tier <t> --tags <csv>`.
14
+ the priority (`routine` / `urgent` / `critical`, as exposed by queue help),
15
+ any tier selected by the actual configured SLA policy, and the task tags.
16
+ Do not infer private mode rules or create a new tier system. If policy is
17
+ missing and changes the routing decision, ask the advisor.
18
+ - Use `rig project lease-show` and `rig project lease-acquire --help` before
19
+ classification. `rig project classify --help` exposes the classification
20
+ fields and idempotent stream-item linkage. Respect the current lease holder;
21
+ do not create duplicate work by bypassing classification on a repeated item.
22
+ If the chosen route needs an actionable queue row, record the classification
23
+ reference and create it from your own seat with `--body-file`, then verify
24
+ its durable body and delivery. A stream item is not a sender identity.
19
25
  - When ambiguity is real, escalate to `advisor.lead` — don't
20
26
  guess destinations.
21
27
 
@@ -28,6 +34,8 @@ fleet can pick them up.
28
34
 
29
35
  ## Cadence
30
36
 
31
- You wake on stream-item-arrived (via daemon SSE) and on operator
32
- prompt. You don't poll. Use `rig queue` for the queue command surface
33
- + closure-reason rules.
37
+ An event in the daemon is not by itself a wake in your terminal. Check the
38
+ configured delivery/watchdog path before claiming unattended intake is live.
39
+ Work arrives through an explicit operator prompt or configured wake. Do not
40
+ simulate watching with capture loops. Use `rig queue` for the queue command
41
+ surface and closure-reason rules.
@@ -10,8 +10,9 @@ classify stream-to-queue substrate.
10
10
  destination.
11
11
 
12
12
  If the stream is empty or every item already has a destination
13
- assigned, settle into a listening posture. You wake on
14
- stream-item-arrived events, not on a poll loop.
13
+ assigned, settle into a listening posture. Confirm an actual configured wake
14
+ before claiming unattended intake is running; a stream event alone is not a
15
+ terminal delivery. Do not poll panes to simulate watching.
15
16
 
16
17
  ## What's already running
17
18
 
@@ -1,7 +1,7 @@
1
1
  # Kernel Rig Culture
2
2
 
3
3
  The kernel is the class-of-one always-on rig. Three pods, three agents,
4
- one human marker. The kernel exists so the user can chat with their
4
+ one shared terminal. The kernel exists so the user can chat with their
5
5
  machine and have things happen.
6
6
 
7
7
  ## Roles at a glance
@@ -15,17 +15,24 @@ machine and have things happen.
15
15
  shepherding install / upgrade / migration ceremonies. The operator
16
16
  acts on behalf of the operator.human; ops decisions needing human
17
17
  approval escalate.
18
- - **operator.human** is the user. Pure topology marker via
19
- builtin:terminal — zero startup actions. The user interacts via
20
- their normal shell + tmux + cmux; the rig records the presence so
21
- the daemon's mission-control + my-queue + audit views route to a
22
- named seat.
18
+ - **operator.human** is the shared mission-control terminal. A fresh kernel
19
+ starts `rig tui` there. `rig tui --shared` attaches another client to that
20
+ same terminal; detaching preserves navigation. It is a screen, not proof a
21
+ person is watching or a destination that can answer a queue item. Use the
22
+ registered human delivery channel when a decision is required.
23
23
  - **queue.worker** classifies stream-to-queue substrate. New stream
24
24
  items get labeled, owned, prioritized; the worker's output is
25
25
  durable queue items that the rest of the fleet can pick up.
26
26
 
27
27
  ## Operating principles
28
28
 
29
+ - **Share the view deliberately.** Agents can capture the kernel terminal and
30
+ operate its TUI through the existing terminal controls. Tell the user before
31
+ changing their current view. Never type a prompt into the TUI as if it were
32
+ a human inbox. Plain `rig tui` opens an independent view. Older kernels keep
33
+ their existing shell until someone runs `rig tui` there; do not restart the
34
+ whole kernel to update this terminal.
35
+
29
36
  - **Kernel auto-boot has two distinct lifecycle phases.**
30
37
  - *First boot* (no prior kernel rig in SQLite): `rig daemon start`
31
38
  instantiates the kernel from the shipped variant per the
@@ -50,8 +57,8 @@ machine and have things happen.
50
57
  follows the supported migration guidance for the installed version,
51
58
  and verifies daemon plus rig health before closing the operation.
52
59
  - **Skills earn their slot.** Each agent loads a lean roster at
53
- startup (per HOST-TOPOLOGY §4.10); the rest are reachable on demand
54
- via find-skills.
60
+ startup for its role and selected work; other capabilities remain discoverable
61
+ through the installed skill catalog when their triggers apply.
55
62
  - **Status flows through the queue.** Substantive ACKs, phase
56
63
  boundaries, forensic findings, and verify-routing land as qitems
57
64
  with destinations + tags. Conversational replies use rig send.
@@ -25,6 +25,13 @@ pods:
25
25
  runtime: terminal
26
26
  profile: none
27
27
  cwd: "."
28
+ startup:
29
+ actions:
30
+ - type: send_text
31
+ value: rig tui
32
+ phase: after_ready
33
+ applies_on: [fresh_start]
34
+ idempotent: true
28
35
  - id: agent
29
36
  agent_ref: "local:agents/operator/agent"
30
37
  runtime: claude-code
@@ -25,6 +25,13 @@ pods:
25
25
  runtime: terminal
26
26
  profile: none
27
27
  cwd: "."
28
+ startup:
29
+ actions:
30
+ - type: send_text
31
+ value: rig tui
32
+ phase: after_ready
33
+ applies_on: [fresh_start]
34
+ idempotent: true
28
35
  - id: agent
29
36
  agent_ref: "local:agents/operator/agent"
30
37
  runtime: codex
@@ -9,7 +9,7 @@ summary: >
9
9
  re-creating the rig. Member tmux sessions survive daemon-restart-only;
10
10
  a HOST reboot drops tmux and the reconciler marks sessions detached,
11
11
  at which point the operator pod owns the agent-restart workflow
12
- (per amended IMPL-PRD §16). Dual-runtime variant; Claude Code +
12
+ through the current operator workflow. Dual-runtime variant; Claude Code +
13
13
  Codex both authenticated.
14
14
 
15
15
  culture_file: culture/CULTURE.md
@@ -28,13 +28,18 @@ pods:
28
28
  label: Operator
29
29
  members:
30
30
  - id: human
31
- # builtin:terminal marker — pure topology presence with zero
32
- # startup actions. Real human interaction routes through the
33
- # operator agent + the host shell.
31
+ # Shared mission control; humans attach and agents use the same pane.
34
32
  agent_ref: "builtin:terminal"
35
33
  runtime: terminal
36
34
  profile: none
37
35
  cwd: "."
36
+ startup:
37
+ actions:
38
+ - type: send_text
39
+ value: rig tui
40
+ phase: after_ready
41
+ applies_on: [fresh_start]
42
+ idempotent: true
38
43
  - id: agent
39
44
  agent_ref: "local:agents/operator/agent"
40
45
  runtime: codex
@@ -2,10 +2,12 @@
2
2
 
3
3
  <!-- Copy-if-absent; this seat's occupants append what the position learns. -->
4
4
 
5
- - QA owns the test-fix-feedback LOOP: fix in-slice issues directly, rerun the
6
- proof, hill-climb, then ask the driver to check. The banned pattern is
7
- find-bug → file RED → hand back → wait → repeat.
8
- - You may author a fix; you may not be its sole final verifier.
5
+ - When the assignment explicitly grants fix-and-retest scope, repair bounded
6
+ issues, rerun proof and return the result. A read-only assignment reports
7
+ findings without editing; the QA title alone grants no repair authority.
8
+ - A repair makes you an author. If independent verification is selected,
9
+ return the repaired candidate to that verifier; preserve the selected
10
+ checking and acceptance authority.
9
11
  - Reproduce before you fix; if the proof apparatus grows bigger than the fix,
10
12
  stop and use the product instead — a human clicking finds in minutes what
11
13
  immaculate rigor misses for days.
@@ -2,5 +2,6 @@
2
2
  export declare function resolveBinEntry(invokedPath?: string | undefined, moduleUrl?: string): string;
3
3
  export declare function isDirectRun(argv1?: string | undefined, moduleUrl?: string): boolean;
4
4
  export declare function resolveNodeReexecBinary(currentExecPath?: string, invokedPath?: string | undefined, env?: NodeJS.ProcessEnv, exists?: (candidate: string) => boolean, realpath?: (candidate: string) => string): string | null;
5
+ export declare function canLoadInstalledNative(node: string, wrapper: string): boolean;
5
6
  export declare function run(argv?: string[]): Promise<void>;
6
7
  //# sourceMappingURL=bin-wrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bin-wrapper.d.ts","sourceRoot":"","sources":["../src/bin-wrapper.ts"],"names":[],"mappings":";AASA,wBAAgB,eAAe,CAAC,WAAW,qBAAkB,EAAE,SAAS,SAAkB,GAAG,MAAM,CAIlG;AAED,wBAAgB,WAAW,CAAC,KAAK,qBAAkB,EAAE,SAAS,SAAkB,GAAG,OAAO,CAOzF;AAED,wBAAgB,uBAAuB,CACrC,eAAe,SAAmB,EAClC,WAAW,qBAAkB,EAC7B,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,GAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAoB,EACnD,QAAQ,GAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAqB,GACrD,MAAM,GAAG,IAAI,CAiBf;AAsBD,wBAAsB,GAAG,CAAC,IAAI,WAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAqB5D"}
1
+ {"version":3,"file":"bin-wrapper.d.ts","sourceRoot":"","sources":["../src/bin-wrapper.ts"],"names":[],"mappings":";AASA,wBAAgB,eAAe,CAAC,WAAW,qBAAkB,EAAE,SAAS,SAAkB,GAAG,MAAM,CAIlG;AAED,wBAAgB,WAAW,CAAC,KAAK,qBAAkB,EAAE,SAAS,SAAkB,GAAG,OAAO,CAOzF;AAED,wBAAgB,uBAAuB,CACrC,eAAe,SAAmB,EAClC,WAAW,qBAAkB,EAC7B,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,MAAM,GAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAoB,EACnD,QAAQ,GAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAqB,GACrD,MAAM,GAAG,IAAI,CAiBf;AA0BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAM7E;AAED,wBAAsB,GAAG,CAAC,IAAI,WAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAqB5D"}