@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
@@ -44,6 +44,22 @@ host, use the host's normal operator ceremony. On a recovery-friendly build VM,
44
44
  the orchestrator may adopt a tested runtime directly, but still observes each
45
45
  step and stops on unexplained drift.
46
46
 
47
+ ## When recovery crosses an instance boundary
48
+
49
+ Before either lane changes runtime state, record one host-qualified executor and
50
+ explicitly select the queue store that owns the recovery ruling. State whether
51
+ the original owner continues, waits, or transfers; an open obligation in another
52
+ store is not exclusive custody of this ruling. If the original store is down,
53
+ retain its owner's disposition in the surviving ruling and communicate it to
54
+ that owner before a competing executor acts.
55
+
56
+ A refused claim means reconcile ownership with the ruling owner before any
57
+ further runtime action; it does not authorize continuing under a separate older
58
+ row. A return names the full executor address and deliberately selected store.
59
+ Read the resulting row there, including source, destination, body, and the
60
+ original owner's disposition, before resuming. Receipt creation alone does not
61
+ establish that a waiting lane received or accepted the transfer.
62
+
47
63
  ## The loop
48
64
 
49
65
  For every step:
@@ -95,8 +95,8 @@ The primitive must NOT report "restored the original agent" or "resumed
95
95
  the original seat" or "snapshot." The correct framing is **"forked from
96
96
  source session"** / **"started from prior conversation source."**
97
97
 
98
- Negative-grep over adapter source confirms ZERO `restored` / `resumed` /
99
- `snapshot` strings in fork code paths.
98
+ Check the actual user-facing outcome and persisted identity; wording alone
99
+ does not prove the intended continuity was created.
100
100
 
101
101
  ## Hard boundaries (do-not list; verbatim)
102
102
 
@@ -128,14 +128,17 @@ Mutual exclusion between `resumeToken` (restore path) and `forkSource`
128
128
  For `seat handover over fork` composition, the binding outcome is
129
129
  independent (see `seat-continuity-and-handover` skill).
130
130
 
131
- ## Active-daemon caveat (live-runtime gap)
131
+ ## Verify the running implementation
132
132
 
133
- 2026-04-30 live scale-out dogfood found: source checkout contained fork
134
- support, but active daemon was running from a pre-fork commit. **Verify
135
- the active daemon/runtime commit contains the fork path before live
136
- proof.** Isolated daemon proof at the target commit can prove the
137
- feature safely; live forked scale-out remains unproven until the active
138
- daemon parity is verified.
133
+ A source checkout and the running daemon can contain different implementations.
134
+ Before an authorized fork, check the target daemon's build identity and support
135
+ for the requested source. A source or isolated test establishes only that cut's
136
+ behavior; it does not prove the live runtime uses it.
137
+
138
+ Record the actual parent history, new seat identity, new continuity token and
139
+ independent binding outcome. Preserve errors and incomplete results rather than
140
+ reporting a fresh launch or restored original seat as a successful fork. These
141
+ checks confer no authority to launch, replace or retire a live seat.
139
142
 
140
143
  ## Currently shipped (v1) vs deferred
141
144
 
@@ -148,7 +151,6 @@ Shipped at openrig `c7b6df1` (2026-04-30):
148
151
  - Honest UX literal contract (`continuityOutcome: forked`)
149
152
 
150
153
  Deferred:
151
- - Tier 2 real-runtime fork proof (disposable Tart VM cycle, human-gated)
152
154
  - Claude `artifact_path` mode (schema currently refuses with deferred message)
153
155
  - Provenance columns (`parent_native_id` / `created_via` for queryable RSI consumer)
154
156
  - Cross-host fork (source on host A, new seat on host B) — depends on `cross-host-rig-commands`
@@ -79,13 +79,11 @@ clean test fixture. The useful matrix:
79
79
  A clean-fixture proof is necessary but not sufficient. Live-rig proof
80
80
  catches the failure modes that fixture-mode misses.
81
81
 
82
- ## Why important strategically
82
+ ## Stable roles during topology changes
83
83
 
84
- The current coordination experiments repeatedly need new queues,
85
- watchdogs, humans, and test seats — which makes this family
86
- **strategically important.** Seat continuity work will eventually
87
- separate stable seat identity from runtime occupant identity (see
88
- `seat-continuity-and-handover`).
84
+ Capacity changes must preserve useful roles, routing and durable work. Distinguish
85
+ adding or removing a seat from replacing its occupant; use
86
+ `seat-continuity-and-handover` for the latter.
89
87
 
90
88
  ## Currently shipped surfaces
91
89
 
@@ -101,14 +99,18 @@ Per `cli-reference.md` v0.2.0:
101
99
  - `rig attach --self --rig <rigId> --node <logicalId>`
102
100
  - `rig unclaim <sessionRef>` / `rig release <rigId>`
103
101
 
104
- ## Active proof gap (current)
102
+ ## Choose the proving environment and authority
105
103
 
106
- The 2026-04-30 topology mutation add-seat proof pass is **active**.
107
- Product Lab shaped it; planner authored `IMPLEMENTATION.md`; driver
108
- landed the smallest honest CLI retry-guidance patch for failed
109
- `rig expand` recovery. **Remaining proof is the Section B disposable-rig
110
- runtime matrix, blocked on operator posture** and owned by
111
- `orch-lead@your-rig`.
104
+ Select an isolated active rig or an explicitly authorized live target for the
105
+ relevant operation. Record its running build, before/after topology, continuity
106
+ and outstanding work. A passing schema check or isolated fixture does not prove
107
+ an existing live rig was changed correctly. A runtime timeout is indeterminate
108
+ until its durable and process effects are reconciled; do not retry blindly.
109
+
110
+ The matrix above is verification guidance, not permission to modify another
111
+ rig. Name the operation's owner and scope, preserve the state needed for recovery,
112
+ and retain missing or failed checks in the result. No local experiment or
113
+ unfinished proof obligation is implied by loading this skill.
112
114
 
113
115
  ## See also
114
116
 
@@ -13,7 +13,7 @@ A single `executive-summary.md` file in the feature folder. 600-800 words exclud
13
13
 
14
14
  Before writing, silently gather all context from the feature folder:
15
15
 
16
- 1. **requirements.md** — acceptance criteria, business rules, scope, user stories
16
+ 1. **SPEC.md** — acceptance criteria, business rules, scope, user stories
17
17
  2. **background.md** — customer drivers, competitive context, regulatory considerations
18
18
  3. **validation.md** — demand evidence, status quo, desperate user, narrowest wedge
19
19
  4. **supporting/mockup-ascii.md** — visual mockups (pull 2-3 key screens)
@@ -39,7 +39,7 @@ Rate these dimensions (0-10):
39
39
  Read all available docs in the feature folder:
40
40
  - **validation.md** — office hours verdict, demand evidence, wedge scope (if exists)
41
41
  - **background.md** — customer drivers, competitive context (if exists)
42
- - **requirements.md** — the main document to review
42
+ - **SPEC.md** — the main document to review
43
43
  - **supporting/** — mockups, data files, visual references
44
44
 
45
45
  ### Step 2: Run All Three Reviews
@@ -50,7 +50,7 @@ Read all available docs in the feature folder:
50
50
  ## Plan Review: [Feature Name]
51
51
 
52
52
  **Date**: [date]
53
- **Reviewed**: [requirements.md path]
53
+ **Reviewed**: [SPEC.md path]
54
54
 
55
55
  ### Strategy Assessment
56
56
  **Score: [1-10]**
@@ -23,7 +23,7 @@ Before starting the conversation, silently gather context:
23
23
 
24
24
  1. **Check for validation.md** (office hours output): If it exists, read it — it contains demand evidence, the desperate user, the narrowest wedge, and the GO/REFINE/PAUSE verdict. Use it to skip questions the PM already answered.
25
25
  2. **Check for background.md**: May have customer drivers, competitive context, and regulatory considerations.
26
- 3. **Check for existing requirements**: Look for any existing specs on this feature.
26
+ 3. **Check for existing requirements**: Use the selected slice's `SPEC.md`. If only legacy `requirements.md` exists, preserve it as input/history and reconcile it into `SPEC.md` before downstream mockup/review/summary work. Maintain one requirements authority.
27
27
  4. **Check for shipped features**: Look for related as-built specs.
28
28
 
29
29
  If validation.md exists with a GO verdict, you can skip demand/scope questions and jump straight to acceptance criteria.
@@ -27,7 +27,7 @@ Self-contained HTML files that look like the real app. Portable, no dependencies
27
27
  Rules:
28
28
  - Match the application's existing styling exactly
29
29
  - Use real data from the codebase
30
- - Only show what's in requirements.md
30
+ - Only show what's in SPEC.md
31
31
  - Self-contained single HTML file
32
32
  - Screen switcher nav to toggle between screens via JavaScript
33
33
  - Keep under 1,000 lines
@@ -46,7 +46,7 @@ Rules:
46
46
  ### Step 1: Understand What to Mockup
47
47
 
48
48
  Read feature folder docs first:
49
- - **requirements.md** — acceptance criteria define what screens are needed
49
+ - **SPEC.md** — acceptance criteria define what screens are needed
50
50
  - **validation.md** — the narrowest wedge tells you what's most important to show
51
51
  - **background.md** — customer drivers and competitive context inform what to emphasize
52
52
 
@@ -70,7 +70,7 @@ Then ask the PM about fidelity level and specific screens.
70
70
  ## Guidelines
71
71
 
72
72
  - **Use real data.** Real names, real ranges, real hierarchies.
73
- - **Only show what's in requirements.md.** Don't add features beyond the requirement.
73
+ - **Only show what's in SPEC.md.** Don't add features beyond the requirement.
74
74
  - **Less is more.** 3-5 screens beats 10.
75
75
  - **Match the app exactly.** Read existing code and match styling patterns.
76
76
  - **Tell the PM what's real vs mocked.**
@@ -41,9 +41,9 @@ The orchestration pod is responsible for:
41
41
  - **Status lives in the queue, not panes** (`status-not-chat-orchestrator`): `rig ps --nodes --json` + `rig queue` are your status source; do NOT reconstruct fleet-state by capturing panes (pane `rig capture` is high-bandwidth *within your own pod* — that's fine; it is not how you track cross-pod/fleet state). *(`rig ps --nodes` is YOUR rig's seats only — bare `rig ps` lists ALL rigs on the host; don't mistake a narrow node read for the whole world.)*
42
42
  - **The watchdog is your clock** (`watchdog`): configure `rig watchdog` to wake you (~3 min); between wakes, idle (zero tokens) — no self-run sleep-loop re-reading panes at steady-state. Prefer one workflow-watchdog + targeted exception handling over many per-seat nag loops.
43
43
  - **On each wake — cheap sweep:** `rig queue` + a *filtered* `rig ps` (see "Read cheap" below) first; ONLY for a seat that looks idle/suspicious, `rig capture <session>` last few lines (never a full pane, never huge chunks); **active owner → no-op.**
44
- - **Read cheap — every status command has a token cost; project to the question.** The queue-first rule is about *where* status lives; this is about *how much you pay to read it*. The token bomb is the broad unfiltered dump, not the pane capture: an unfiltered fleet-wide `rig ps --nodes --json` emits ~77k tokens — for a one-rig or one-qitem question that is almost all waste, and at watchdog cadence it burns the shared account fast.
44
+ - **Read cheap — every status command has a token cost; project to the question.** The queue-first rule is about *where* status lives; this is about *how much you pay to read it*. The token bomb is the broad unfiltered dump, not the pane capture: a broad fleet response can overwhelm a one-rig or one-qitem question. Select the scope and fields before returning output to the agent.
45
45
  - **Scope the read to the question.** Specific item → `rig queue show <qitem> --json`. One rig's frontier → filter + project only the fields you need, e.g. `rig ps --nodes --json | jq '.[] | select(.rigName=="<rig>") | {session:.canonicalSessionName, state:.agentActivity.state, hasAssignedWork, pendingWorkCount}'` (prefer a native rig/session filter if one exists). Never pull whole-fleet JSON to answer a narrow rig/qitem question.
46
- - **Pane capture / transcript = last resort for one named stale owner,** not a status-polling loop — **re-capturing an unchanged pane returns no new information and is the measured token-burn failure** (the unit of monitoring is an event — a wake, a queue transition, an activity signal — never elapsed time or a repeat count).
46
+ - **Pane capture / transcript = last resort for one named stale owner,** not a status-polling loop — **re-capturing an unchanged pane returns no new information** (the unit of monitoring is an event — a wake, a queue transition, an activity signal — never elapsed time or a repeat count).
47
47
  - **Context reads are task-scoped too:** read the skills the task needs; don't reload broad references or large files for a tiny queue update (compaction / named-skill rules excepted).
48
48
  - **Notice-and-stop:** if any command emits unexpectedly huge output, that is a protocol miss — name it and correct the pattern immediately, don't absorb it as normal.
49
49
  - **Self-test:** "Does this read return more than the decision in front of me needs?" If yes, narrow it before running.
@@ -115,36 +115,28 @@ When an agent looks stuck:
115
115
 
116
116
  Do not call a blocked agent "in progress" forever.
117
117
 
118
- ## Capacity — a seat is never the bottleneck (fork to unblock)
119
-
120
- Seat capacity is **elastic**, so a blocked or overloaded lane is a **policy** problem, not a capacity
121
- fact — *"the seat is busy"* is never a real constraint. You have **standing authority to fork any
122
- agent** to unblock a lane; no escalation.
123
-
124
- - **`rig fork <source-session>`** clones a live seat *with its context window* into a new seat (`--rig`
125
- / `--pod` to place it; it composes the shipped agent-image fork path). **Claude is supported today;
126
- Codex fork is pending a research spike — don't rely on it until that lands.**
127
- - **The pattern:** fork → the fork does the task → **salvage its result as markdown** → **retire the
128
- fork** → return the rig to its spec's steady state. Short-lived forks are safe because seats carry
129
- **distinguished names** (a fork is never mistaken for the seat it came from — see
130
- `seat-continuity-and-handover`).
131
- - **The ladder, and whose call each rung is:** fork an agent *(yours, standing)* → onboard a new seat
132
- → clone / stand up a whole rig → stand up a host on a VPS. **Rig- and host-level spin-up belong to
133
- the oversight / owner altitude, not the orchestrator's** — fork is your rung.
134
- - **What's actually scarce:** with seats elastic, the real constraints reduce to **humans** (the
135
- owner's attention, the operator slot), **money** (provider limits — account switching is the relief
136
- valve), and **compute** (host limits). Protect *those*; never let a lane sit blocked on a "busy seat."
137
-
138
- See `session-source-fork` for the fork primitive's mechanics and `delegating-work` for choosing fork
139
- vs. subagent vs. route-to-a-context-holder.
118
+ ## Capacity and assignment
119
+
120
+ A busy seat may be the current constraint. First check available owners, retained
121
+ context and the work's independent-review requirements. Reassign, defer, or add
122
+ capacity only within the declared scope and current provider/host limits.
123
+
124
+ `rig fork` can compose a new occupant from retained context when the installed
125
+ runtime and source support it. Check current help and actual source availability;
126
+ this skill grants no standing permission to fork, change accounts, or launch rigs
127
+ or hosts. A selected temporary fork needs a bounded outcome, durable return,
128
+ continuity disposition and an authorized retirement path. Distinct names alone
129
+ do not prove safe or correct lifecycle behavior.
130
+
131
+ See `session-source-fork` for continuity semantics. Choose a context holder or an
132
+ ephemeral subagent according to whether the acquired knowledge needs to persist.
140
133
 
141
134
  ## Topology settlement
142
135
 
143
136
  **Your rig's roster is a fact you READ, never one this skill asserts.** Get the actual team
144
137
  from `rig ps --nodes --json` at settlement time — a skill that hardcodes a specific topology
145
138
  goes stale exactly like a stale boot overlay, and a cleared or fresh seat has no context to
146
- doubt it (field case: a seven-node demo roster taught as "the expected team" sent a
147
- fourteen-seat rig's seats waiting for nodes that did not exist).
139
+ doubt it. A starter roster is an example, not a live inventory.
148
140
 
149
141
  - Settle **what the current atom needs**, not the whole declared roster: dispatch when the
150
142
  seats THIS work requires are up. **Never park the rig waiting for absent nodes** — a
@@ -173,10 +165,10 @@ An availability report is enough. Do not create obligations to improve utilizati
173
165
 
174
166
  ## Communication modes
175
167
 
176
- Use direct `rig send` when:
177
- - you are assigning one agent or one pod
178
- - you need a specific answer from one seat
179
- - you are sending a scoped task packet
168
+ Use a durable queue handoff for assigned work with an owner and closure condition.
169
+ Use direct `rig send` for information or a scoped nudge that creates no new
170
+ obligation. Confirm durable custody and delivery separately; neither proves the
171
+ recipient understood or completed the work.
180
172
 
181
173
  Use the chatroom when:
182
174
  - the whole rig should see the status
@@ -213,37 +205,27 @@ The orchestrator does NOT relay messages between them. They communicate directly
213
205
 
214
206
  On gated atoms, never send impl a "Go" without explicitly stating the FIRST action is to send a pre-edit to QA — impl will race through an entire task list if given a general "Go." On ungated atoms, a general "Go" is correct; do not smuggle the gate back in through dispatch phrasing.
215
207
 
216
- ## Dogfood fix loop
217
-
218
- When QA is dogfooding (testing existing features), QA works solo with full autonomy:
219
- - QA finds issues AND fixes them in a loop
220
- - QA tests the fix, then moves to the next issue
221
- - QA only escalates architecture-level concerns
222
- - Do not dispatch QA to "test and report" — dispatch to "dogfood, fix what you find, re-test"
223
- - The orchestrator does NOT fix things — QA and impl fix things
224
-
225
- ## Permission prompt handling
226
-
227
- Permission prompts are the #1 mechanical blocker — surface them on your watchdog wake (a scoped `rig ps` / queue check), never a steady-state poll loop.
208
+ ## Dogfood and review ownership
228
209
 
229
- For Codex (3-option prompts): select option 2 ("Yes, and don't ask again") to permanently approve the pattern.
230
- For Claude (2-option): approve with Enter.
231
- For destructive operations (git push, rm, daemon stop, npm publish): DO NOT auto-approve. Check with the human.
210
+ A dogfood assignment may authorize the outcome owner to diagnose, fix and retest
211
+ bounded issues. Say that scope explicitly. A read-only evaluation remains
212
+ read-only; a QA title does not authorize source edits or broader architecture.
213
+ Preserve any independently selected final check when the evaluator authors a fix.
214
+ Route findings outside the assignment to their owner with evidence.
232
215
 
233
- ## Agent behavioral models
216
+ ## Permission and runtime handling
234
217
 
235
- ### Claude Code agents (impl, reviewers, lead)
236
- - Will blast through an entire task list if given a "Go" without explicit gates
237
- - After being told to slow down, over-corrects to "wait for permission for everything"
238
- - Compaction is catastrophic — full context loss, needs preparation
239
- - After compaction: restore the active assignment and its selected context; skill names alone are not restored content. Follow the declared continuity policy without adding a universal quiz gate.
218
+ Use the actual prompt and declared authority to decide an intervention. Never
219
+ select a numbered option from a timeless harness recipe: prompt shape and the
220
+ consequence of persistent approval vary. An authorized unblock must preserve the
221
+ operation's scope; it does not grant publication, destructive or lifecycle powers.
240
222
 
241
- ### Codex agents (QA, peer, R2)
242
- - Self-manages its own context window — do NOT intervene based on context percentage
243
- - Compacts automatically and continues working — this is normal, not an emergency
244
- - Never tell Codex to "wrap up" or "save state" based on context percentage
245
- - Over-engineers when given spec-writing authority — never let Codex write implementation specs
246
- - Excellent at: implementation, code review, dogfood testing, finding edge cases
223
+ Choose models and roles from the environment's current execution policy and
224
+ observed capabilities. Neither a vendor label nor a seat title determines who
225
+ may author plans, implement, review or accept work. Verify required runtime/model
226
+ identity before relying on the result. Follow the declared continuity policy;
227
+ context telemetry is evidence to interpret, not automatic authority to compact
228
+ or replace another seat.
247
229
 
248
230
  ## Intervention discipline
249
231
 
@@ -283,5 +265,5 @@ installed skill or a quiz as a universal admission gate.
283
265
  - relay messages between agents (they communicate directly)
284
266
  - auto-approve destructive operations
285
267
  - rush agents with deadline pressure
286
- - write implementation specs (that's a Claude task, not Codex)
287
- - intervene based on Codex context percentage
268
+ - assign specification or acceptance authority from a runtime label alone
269
+ - change continuity from a context percentage without the selected policy and authority
@@ -1,8 +1,8 @@
1
1
  # agent-browser: Local Dev Insights
2
2
 
3
- > Companion to the official SKILL.md. These are gotchas, corrections, and best practices
4
- > discovered through hands-on testing that the upstream skill doesn't cover.
5
- > Last updated: 2026-02-20 | Tested against: v0.13.0
3
+ > Companion notes for browser tasks. Command details below reflect v0.13.0-era
4
+ > usage and may differ in the installed release. Check current help and verify
5
+ > the target operation; this file is not a current browser or login test receipt.
6
6
 
7
7
  ---
8
8
 
@@ -60,7 +60,7 @@ Refs are invalidated by **any page state change**. This includes:
60
60
  | `-s "#sel"` | Scoped to selector | Laser focus on one component |
61
61
  | `--json` | JSON format | Programmatic parsing |
62
62
 
63
- **Token efficiency example:** GitHub repo page with 4,574 DOM elements → `snapshot -i` returns ~25 lines.
63
+ Use an interactive or scoped snapshot when a full DOM listing would obscure the elements needed for the task.
64
64
 
65
65
  ## Annotated Screenshots
66
66
 
@@ -121,55 +121,26 @@ EVALEOF
121
121
  - **Persistent headed config:** Add `{"headed": true}` to `~/.agent-browser/config.json`
122
122
  - **Named sessions for parallel work:** `agent-browser --session name open <url>`
123
123
 
124
- ## Authentication: What Actually Works
125
-
126
- **`--session-name` (state save/restore) does NOT work for all apps.** It saves cookies and localStorage, but apps using HTTP-only cookies, server-side sessions, or complex auth flows may not persist. Tested and failed on: example-app-1 (Example Service One / localhost:8083).
127
-
128
- **`--profile` (persistent Chrome profile) is the reliable approach.** It preserves everything - cookies, localStorage, IndexedDB, cache, service workers. This is what actually works for real apps.
129
-
130
- ### Saved Profiles
131
-
132
- | Profile | Service | URL | Command |
133
- |---------|---------|-----|---------|
134
- | `example-app-1` | Example Service One | `http://localhost:8083` | `agent-browser --profile ~/.agent-browser/profiles/example-app-1 open http://localhost:8083` |
135
- | `localhost-3000` | Example Service Two (Clerk auth) | `http://localhost:3000` | `agent-browser --profile ~/.agent-browser/profiles/localhost-3000 open http://localhost:3000` |
136
- | `local-app-email-profile` | Example Service Three (email login) | `http://localhost:3010` | `agent-browser --profile ~/.agent-browser/profiles/local-app-email-profile open http://localhost:3010` |
137
- | `local-app-google-profile` | Example Service Three (Google auth) | `http://localhost:3010` | See Google OAuth note below |
138
-
139
- ### Google OAuth Profiles
140
-
141
- Google blocks sign-in from the bundled Chromium ("This browser or app may not be secure"). The workaround is to use the **real Chrome binary** with automation detection disabled:
142
-
143
- ```bash
144
- agent-browser \
145
- --profile ~/.agent-browser/profiles/local-app-google-profile \
146
- --executable-path "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
147
- --args "--disable-blink-features=AutomationControlled" \
148
- open http://localhost:3010
149
- ```
150
-
151
- **This applies to ANY profile that needs Google OAuth.** Always use `--executable-path` + `--args` for Google sign-in flows.
152
-
153
- ### Auth Setup Pattern
154
-
155
- ```bash
156
- # First time: login in headed mode (user enters password)
157
- agent-browser --profile ~/.agent-browser/profiles/<name> --headed true open <login-url>
158
- # ... user logs in manually ...
159
- agent-browser close
160
-
161
- # Every future run: headless, already authenticated
162
- agent-browser --profile ~/.agent-browser/profiles/<name> open <app-url>
163
- ```
164
-
165
- ### Encryption
166
-
167
- Session state files in `~/.agent-browser/sessions/` are encrypted with AES-256-GCM.
168
- Key stored at `~/.agent-browser/.encryption-key` (chmod 600).
169
- Loaded via `AGENT_BROWSER_ENCRYPTION_KEY` env var in `~/.zshrc`.
170
-
171
- Note: `--profile` directories are NOT encrypted (they're standard Chromium profile dirs).
172
- Keep `~/.agent-browser/profiles/` permissions locked down.
124
+ ## Authentication and retained browser state
125
+
126
+ Choose the installed tool's supported state or profile mechanism for the target
127
+ application. A saved state file or persistent profile does not prove a later
128
+ session is authenticated: check the intended account and a meaningful authorized
129
+ page or operation after reopening. Server expiry and application policy can
130
+ invalidate retained state.
131
+
132
+ Use an explicitly owned profile for the task. Obtain any required login through
133
+ the user's authorized flow; do not assume a profile, account, application URL or
134
+ provider workaround from this guide. Browser/provider compatibility must be
135
+ checked for the actual version and flow. No tested login or saved profile is
136
+ shipped with these notes.
137
+
138
+ Treat profile directories and saved state as credential-bearing data. Keep them
139
+ in the authorized private location, restrict access, and omit cookies, tokens,
140
+ passwords and encryption keys from source, ordinary logs and shared evidence.
141
+ If encryption is configured, verify the actual tool configuration and key custody;
142
+ do not infer encryption from a filename or assume a shell already exports a key.
143
+ Retain or remove only state the task owns and whose disposition is authorized.
173
144
 
174
145
  ## Updating the Official Skill
175
146
 
@@ -3,12 +3,14 @@
3
3
  # Usage: ./find-polluter.sh <file_or_dir_to_check> <test_pattern>
4
4
  # Example: ./find-polluter.sh '.git' 'src/**/*.test.ts'
5
5
 
6
- set -e
6
+ # Exit 0: every selected test succeeded without pollution; 1: polluter found;
7
+ # 2: no result (invalid input, selection failure, or incomplete test runs).
8
+ set -eo pipefail
7
9
 
8
10
  if [ $# -ne 2 ]; then
9
11
  echo "Usage: $0 <file_to_check> <test_pattern>"
10
12
  echo "Example: $0 '.git' 'src/**/*.test.ts'"
11
- exit 1
13
+ exit 2
12
14
  fi
13
15
 
14
16
  POLLUTION_CHECK="$1"
@@ -19,27 +21,35 @@ echo "Test pattern: $TEST_PATTERN"
19
21
  echo ""
20
22
 
21
23
  # Get list of test files
22
- TEST_FILES=$(find . -path "$TEST_PATTERN" | sort)
23
- TOTAL=$(echo "$TEST_FILES" | wc -l | tr -d ' ')
24
+ if ! TEST_FILES=$(find . -type f -path "./${TEST_PATTERN#./}" | sort); then
25
+ echo "Test selection failed; no tests ran."
26
+ exit 2
27
+ fi
28
+ if [ -z "$TEST_FILES" ]; then
29
+ echo "No test files matched; no tests ran."
30
+ exit 2
31
+ fi
32
+ TOTAL=$(printf '%s\n' "$TEST_FILES" | wc -l | tr -d ' ')
24
33
 
25
34
  echo "Found $TOTAL test files"
26
35
  echo ""
27
36
 
28
37
  COUNT=0
29
- for TEST_FILE in $TEST_FILES; do
38
+ FAILED=0
39
+ if [ -e "$POLLUTION_CHECK" ]; then
40
+ echo "Pollution already exists before testing; no tests ran."
41
+ exit 2
42
+ fi
43
+ while IFS= read -r TEST_FILE; do
30
44
  COUNT=$((COUNT + 1))
31
45
 
32
- # Skip if pollution already exists
33
- if [ -e "$POLLUTION_CHECK" ]; then
34
- echo "⚠️ Pollution already exists before test $COUNT/$TOTAL"
35
- echo " Skipping: $TEST_FILE"
36
- continue
37
- fi
38
-
39
46
  echo "[$COUNT/$TOTAL] Testing: $TEST_FILE"
40
47
 
41
48
  # Run the test
42
- npm test "$TEST_FILE" > /dev/null 2>&1 || true
49
+ if ! npm test "$TEST_FILE" > /dev/null 2>&1; then
50
+ FAILED=$((FAILED + 1))
51
+ echo "Test run failed: $TEST_FILE"
52
+ fi
43
53
 
44
54
  # Check if pollution appeared
45
55
  if [ -e "$POLLUTION_CHECK" ]; then
@@ -56,8 +66,12 @@ for TEST_FILE in $TEST_FILES; do
56
66
  echo " cat $TEST_FILE # Review test code"
57
67
  exit 1
58
68
  fi
59
- done
69
+ done <<< "$TEST_FILES"
60
70
 
61
71
  echo ""
62
- echo "✅ No polluter found - all tests clean!"
72
+ if [ "$FAILED" -gt 0 ]; then
73
+ echo "Incomplete: $FAILED test runs failed; no polluter observed."
74
+ exit 2
75
+ fi
76
+ echo "✅ No polluter found - $COUNT test runs succeeded without pollution."
63
77
  exit 0