@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
@@ -9,20 +9,20 @@ You do not need to read any of it now. You need to know it is there.
9
9
 
10
10
  ## The command surface — `docs/as-built/` in the source repo
11
11
 
12
- Eight documents sit directly in `docs/as-built/` in the source repo, and
13
- twenty-four files across `docs/` carry the same `kind: as-built` marker. Two of them are entry
14
- points and were written to be entered from:
12
+ Use the source repository's `docs/as-built/` index and documents marked
13
+ `kind: as-built`. Start with the entry point that matches your question:
15
14
 
16
15
  - **`README.md` — "Map of Territory + Module Index."** Start here when you do not know which
17
16
  document you want.
18
17
  - **`codemap.md` — "Navigation Index / Map of Territory."** Start here when you are about to go
19
18
  into the code and do not know which module owns the thing.
20
- - **`cli-reference.md` — the full `rig` command surface, ~106 KB.** Every group, subcommand, flag,
19
+ - **`cli-reference.md` — the `rig` command reference.** Every group, subcommand, flag,
21
20
  JSON shape. **This is the authority on how a command works**, and the capabilities piece
22
21
  (`public-what-you-can-do.md`) is only the map to it.
23
22
 
24
- **These are maintained, not archaeology.** `cli-reference.md` alone has forty-nine commits against
25
- it. Treat them as current.
23
+ Check the document's verification marker against the source you are using. A
24
+ maintained document can still lag a changed command; its history is not proof
25
+ of current behavior.
26
26
 
27
27
  ### The field that tells you how much to trust one
28
28
 
@@ -42,11 +42,11 @@ binary wins** — and the disagreement is worth reporting, not just working arou
42
42
 
43
43
  ## The living answer — `--help`
44
44
 
45
- **The binary is always more current than anything written about it.** `rig <verb> --help` and
45
+ **Ask the binary you will actually run.** `rig <verb> --help` and
46
46
  `rig <verb> <subcommand> --help` are authoritative for shape, flags and defaults. This costs
47
47
  seconds and it is the single cheapest habit on this list.
48
48
 
49
- **And use it as a search, not just a lookup.** `rig --help` lists eighty-one top-level verbs. If
49
+ **And use it as a search, not just a lookup.** `rig --help` lists the installed top-level commands. If
50
50
  you are about to build something, read that list first — the most expensive failure here is
51
51
  building a parallel solution out of primitives that already compose into the answer.
52
52
 
@@ -61,16 +61,12 @@ does not know the external sources below exist invents instead of looking. An ag
61
61
  **answers from its training snapshot and states it as current** — and an invented answer and a
62
62
  known one look identical once you have stated one.
63
63
 
64
- - **`context7`** — official documentation for a library, framework, SDK, API, CLI tool or cloud
65
- service. **The moment: you are about to answer a question about any of those from memory.**
66
- Reach for it even when you are confident, because confidence is exactly what a stale training
67
- snapshot feels like. `resolve-library-id` first, then `query-docs`; it returns versioned library
68
- IDs with a source-reputation and benchmark score, so you can see how good the coverage is before
69
- you trust it.
70
- - **`exa` web search** — the general web. Describe the ideal *page*, not keywords: *"blog post
71
- comparing X and Y performance"* beats *"X vs Y"*. It has an agent mode that does multi-step
72
- research when one query will not do. `WebSearch` / `WebFetch` ship in the harness and do the
73
- simpler version of the same job.
64
+ Use the tools actually available in your harness. If a documentation connector
65
+ such as `context7` is installed, use its current lookup interface to find the
66
+ relevant library and version. If a web-search or fetch tool such as `exa` is
67
+ available, use it to locate current primary sources. These tool names are
68
+ examples, not a promise that your installation includes them. State any access
69
+ or version limitation that affects the answer.
74
70
 
75
71
  ### The trust rule, and it is not the one these tools invite
76
72
 
@@ -78,18 +74,17 @@ known one look identical once you have stated one.
78
74
  to FIND; go to the primary source to CONFIRM anything load-bearing — the registry, the API, the
79
75
  repository, the running binary's `--help`.
80
76
 
81
- **Measured here 2026-08-18, and it inverts the intuition.** Asked for the current published version
82
- of a package, web search returned one page saying `0.5.0` (stamped "updated" two weeks earlier) and
83
- another saying `0.4.0`. The registry itself said `latest: 0.5.1` — and a four-day-old line in an
84
- agent's own memory index had been right all along. **The live-looking source was the stale one.**
85
- Web caches lag by an unknown and unstated amount, and nothing on the page tells you how much.
77
+ Search indexes and caches can lag the source they describe. For a published
78
+ package version, query the package registry; for an API contract, inspect the
79
+ versioned provider documentation or implementation. An “updated” timestamp on
80
+ a secondary page does not establish which source revision it reflects.
86
81
 
87
82
  So these extend your reach; they do not outrank a primary source, and *newer-looking* is not
88
83
  *newer*.
89
84
 
90
85
  ## The one you read rather than consult
91
86
 
92
- **`openrig-operating-model`** — a skill, ~23 KB. Everything else on this page you visit with a
87
+ **`openrig-operating-model`** — the skill for context placement and chain walking. Everything else on this page you visit with a
93
88
  question already in hand. **That one you read through once**, because it is the shape the rest
94
89
  hangs on: the two trees, how context is arranged by altitude, and how a cold agent finds what it
95
90
  needs. Reading it is what stops you inventing an arrangement that already exists.
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Eighty-one-plus top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.5.10`). Read this once for shape, and let it make you suspicious that a thing
14
+ `capability-delta-v0.5.12`). Read this once for shape, and let it make you suspicious that a thing
15
15
  already exists. Model-divergence proclamations are live product (trust them; pins use canonical
16
16
  model IDs).
17
17
 
@@ -38,7 +38,10 @@ one command away. Your memory of the fleet is a claim about the past.
38
38
  and whether the thing you did an hour ago actually landed.
39
39
  - **`rig view list` / `rig view show <lens>`** — named lenses over coordination state: use
40
40
  `view show escalations` for owner attention, `view show pickup` for claimed-row state, and
41
- `view show execution` for done/now/next. An `INDETERMINATE` cell stays unknown rather than
41
+ `view show execution` for done/now/next and current authored planning guidance with its
42
+ source. Mission and wave inspection shows admission and exit guidance; wave/slice details
43
+ include review decisions. Accepted-core guidance stays separate from full-contract proof,
44
+ live custody and executable dependencies. An `INDETERMINATE` cell stays unknown rather than
42
45
  being filled from memory. **`rig view register`** turns a query you keep re-running into a
43
46
  first-class view.
44
47
  - **`rig config`** — bare, with no arguments: every key, every current value, and where each came
@@ -63,9 +66,10 @@ unseen — which makes messages the one delivery channel that never gets skipped
63
66
  consequential delivery gets an effect check at the far end rather than a blind retry. A
64
67
  producer-link advisory reading `no_activity_signal` means activity could not be determined;
65
68
  confirm by effect, never relaunch on it.
66
- - **`rig send --raw`** / **`--dangerously-interact --reason "<why>"`** — a seat is frozen on an
67
- interactive prompt or a permission block. Normal `send` *refuses* to answer a prompt on purpose;
68
- this is the deliberate override, and it is how you unblock a peer who cannot unblock itself.
69
+ - **`rig send --raw`** — send exact text or keystrokes without the From/To envelope;
70
+ the interactive-prompt guard still applies. To deliberately drive an interactive prompt,
71
+ **`--dangerously-interact --reason "<why>"`** is the explicit override and implies raw text.
72
+ Inspect the prompt and establish authority for its effect before using that override.
69
73
  - **`rig broadcast`** — one fact to everyone at once, rather than relaying it N times and getting
70
74
  the wording wrong on the fourth. **Blast radius is real** — on a large rig this lands in every
71
75
  seat's turn.
@@ -88,11 +92,12 @@ unseen — which makes messages the one delivery channel that never gets skipped
88
92
  someone lists the stream before starting.
89
93
  - **`rig terminal open <view>`** — bring every live agent in a rig, mission or slice up as real
90
94
  typeable tiles at once.
91
- - **`rig walk <seat> --through <files> --pace <n>`** — deliver a *sequence* of context into a seat
92
- one piece at a time, with a gap between pieces. **This is how you hand somebody a large amount of
93
- material without dumping it**: absorption between pieces is the whole mechanism, and sending
94
- faster than the receiver thinks merges everything into one turn and destroys it. It is also how
95
- you were onboarded, and how you would onboard someone else.
95
+ - **`rig walk <seat> --through <files> --pace <n>`** — deliver context pieces through
96
+ file-backed terminal paste. When the current native generation record resolves, the complete
97
+ piece and its matching Claude/Codex turn closure must arrive before pacing onward, including
98
+ the last piece. Initial missing evidence is explicitly unverified; a record lost or replaced
99
+ during verification stops the walk. Use `rig walk --help` for those receipts and bounds.
100
+ Delivery and turn completion do not prove comprehension.
96
101
  - **`rig slack`** — inspect and manage one connector implementation. Use registered-human
97
102
  readiness for the delivery decision and `queue create --verify` for its receipt; connector
98
103
  setup or verification is not an outbound human message.
@@ -150,10 +155,10 @@ you that is still running.
150
155
 
151
156
  ## Running a pipeline without relaying every step
152
157
 
153
- **Work does not only move because you move it.** A configured workflow routes each step to the next
154
- owner and wakes them. Where one exists, **you are exception handling, not the engine** — and if you
155
- find yourself hand-relaying every step, the loop has not been built yet, and building it is usually
156
- cheaper than being it.
158
+ **A workflow remembers the plan and routes the next action; agents judge the outcome.** Its
159
+ conditions, packets and waits carry decisions across returns. Inspect and revise the selected
160
+ graph when reality changes, preserving completed work and current ownership. Repeated manual
161
+ relay is a reason to inspect the available routing, not to surrender judgment to a fixed pipeline.
157
162
 
158
163
  - **`rig workflow specs`** — what can be started here, and which are shipped versus authored by
159
164
  this rig.
@@ -162,23 +167,71 @@ cheaper than being it.
162
167
  from `project.yaml` → `mission.yaml` → `slice.yaml`, inspect it without writing, then start an
163
168
  eligible graph with an opaque replay key. Typed acceptance candidate, verdict, and evidence
164
169
  travel through `workflow project`; workflow completion alone is never release acceptance.
170
+ A project-owned release profile carries required obligations across missions; explicit
171
+ extensions/overrides preserve them. Reach for `docs/reference/project-release-profile.yaml`
172
+ when release graphs keep being copied or losing stages. The release ceremony and post-release
173
+ boundary remain distinct; no successor is required to finish. Agents judge the evidence.
165
174
  - **`rig workflow instantiate`** — start a multi-step, multi-seat run as one governed instance with
166
175
  an entry packet that lands on a real owner.
167
- - **`rig workflow status`** — **which instances need *you*, right now**, with the reason and next
168
- action. This is the "what is waiting on me" surface.
176
+ - **`rig workflow status`** — which instances need attention, with reason and next action.
177
+ Inspect the exact exception occurrence and packet: resolved overdue work is reconciled without
178
+ closing an overdue sibling. Registered-human fallback reports missing or ambiguous selection
179
+ instead of inventing a recipient. Follow the state/error and `workflow show`/`trace` before retrying.
180
+ - **Exception ownership before failure:** `workflow compile` and `workflow validate`
181
+ expose `exceptionReadiness`; `workflow show` renders it alongside existing exception
182
+ obligations and their queue/evidence pointers. Defining an ordinary role does not select
183
+ an exception owner. Follow `selection.source` to the owning `exception_routing.orchestrator_role`
184
+ field; project profiles own it unless the mission explicitly overrides the graph.
185
+ Selection, registered identity, genuine capability no-match, intended registered-human
186
+ fallback, ambiguous human selection and unavailable reads remain distinct. An advisory
187
+ before failure is not a requirement to keep every future role/model live. A failed read
188
+ cannot establish no-match or silently route to a human. If human selection is needed,
189
+ inspect `rig gateway human list --json`; select `workspace.operator_seat_name` when ambiguous.
169
190
  - **`rig workflow show` / `trace`** — what this instance is, and every step, actor and exit that
170
191
  got it here.
192
+ - **`rig workflow revise <instance>`** — compare the bound graph with current authored
193
+ inputs before changing a progressed run. Ordinary show and TUI inspection distinguish
194
+ source-only edits (such as a catalog address) from executable changes. Preview names
195
+ changed steps, incompatibilities and an exact apply command. Supported revisions preserve
196
+ completed/live steps, receipts, required obligations and child custody; new work must
197
+ depend on unfinished work. A changed completed/live contract needs explicit reconsideration:
198
+ restore it and revise unstarted successors. Revision does not guess a migration or replay
199
+ accepted consequences. Exception-routing corrections can be adopted for future occurrences;
200
+ existing exception obligations retain custody. Editing source alone does not change the
201
+ running owner. Inspect `workflow show` after adoption and inspect each admitted queue row's
202
+ evidence. Authoritative workflow recovery/completion clears obsolete overdue occurrences;
203
+ an unresolved sibling stays visible. Closing a queue row alone is not semantic acceptance.
204
+ - **`rig workflow operation <key>`** — recover the committed creation/revision effect after
205
+ a timeout or disconnected response, even if authored files have since changed. Retain the
206
+ operation key and repeat only the identical decision. The original receipt and current
207
+ instance are distinct; a terminal packet is not acceptance.
208
+ Project profiles and mission extension/override define outer steps; bound slice manifests
209
+ are not automatically nested execution. Waves are agent planning groups. The current
210
+ plan's admission, review and integration guidance returns in lifecycle packets and their
211
+ continuation, alongside the small revision move. Scope creation/move maintains manifest
212
+ membership; `--depends-on` is advisory build order, while `execution.depends_on` defines
213
+ executable prerequisites.
171
214
  - **`rig workflow continue`** — where you are in a run you have been handed. **It is read-only. It
172
215
  does not continue anything**, despite the name — `project` is the advance verb.
173
216
  - **`rig workflow route`** — the owner of the current step is gone; move *that step* to a live seat
174
217
  without pretending it completed.
175
- - **`rig workflow resume`** — the instance failed, you fixed the cause, redrive from the broken
176
- step rather than re-running what already succeeded.
218
+ - **`rig workflow resume`** — after correcting a failure, redrive its step while retaining
219
+ completed work. A dependency branch can fail while siblings remain live. Use
220
+ `--occurrence <failed-qitem-id>` to select that failure (required when several are
221
+ unresolved); its obsolete exception obligation closes in the redrive transaction,
222
+ while unresolved siblings stay visible. An identical occurrence/decision retry returns
223
+ the existing redrive without duplicating work.
177
224
  - **`rig workflow run` / `watch` / `list`** — run to completion with an exit code you can act on,
178
225
  watch it happen, or see what exists.
179
226
 
180
227
  ## Bringing things into and out of existence
181
228
 
229
+ **For a first useful repository change**, preview `first-project`, inspect
230
+ `rig up first-project --cwd . --plan`, and follow `docs/reference/getting-started.md`.
231
+ Its native Codex owner/checker team is the focused starting point; verify prerequisites and
232
+ actual runtime readiness before work. Existing Herdr/cmux terminals can present the managed team
233
+ through `rig terminal open`.
234
+
182
235
  **Need a small team now, without authoring YAML?** Start with `rig create`, then use `rig grow`
183
236
  (including `--new-pod`) while it runs. A working topology can become a reusable spec later; you do
184
237
  not have to tear one down to change it, and you rarely have to start from nothing.
@@ -223,16 +276,23 @@ because someone lost work once.
223
276
  - **`rig start`** — the box rebooted and everything is gone: bring the whole topology back in one
224
277
  move, rather than hand-restoring rig by rig. Selected-rig recovery now demands positive runtime
225
278
  evidence and refuses stale identity by name rather than substituting an occupant.
226
- - **`rig daemon start` / `stop` / `status` / `logs`** — bounce the control plane, or read what it
227
- actually tried and refused, in its own voice.
279
+ - **`rig daemon start` / `stop` / `status` / `logs`** — startup reserves the local instance and
280
+ verifies its own child on required listeners. Inspect a retained reservation before retrying.
281
+ Stop distinguishes process/listener exit from a clean asynchronous drain: inspect the matching
282
+ `daemon-shutdown.json` and log when completion is incomplete or unverified. No target is a
283
+ distinct no-op, and a timeout never proves down. Use command help for exact limits and recovery.
228
284
  - **`rig doctor`** — is the *installation* wired up correctly, or are you chasing a bug that is
229
285
  really a broken install. **`rig preflight`** asks whether this machine can run OpenRig at all.
230
- - **`rig crash-cart`** — the daemon is down or not answering: what was running before it died, and
231
- where did the work stop. **NEW in v0.5.2: bare `rig` on a dead daemon opens the crash-cart
232
- cockpit, and one Enter restores the whole fleet** — kernel-first, surviving panes ADOPTED live
233
- (never clobbered), dead rigs restored from snapshots, non-resumable seats on a scrollable triage
234
- list with their exact remediation, mid-run cancel with `c`. It only offers RESTORE on POSITIVE
235
- down-evidence (confirmed-down vs cannot-verify are distinct screens).
286
+ - **Bare `rig`** — the same TUI for first setup, daemon-down startup and ordinary work.
287
+ Enter starts only the selected daemon; then choose rigs and individual seats, with kernel
288
+ recommended first. Previously occupied seats default to their authoritative conversation.
289
+ Missing history, ambiguous identity and unavailable authentication have distinct explanations;
290
+ a fresh conversation requires a separate named confirmation. Declining launches nothing.
291
+ **o** opens the existing native terminal here to handle its prompts; detach to return.
292
+ If a fresh start paused before context delivery, **c** finishes that same occupant’s context.
293
+ **r** refreshes actual state and **d** expands diagnostics. **S** returns to startup from work.
294
+ - **`rig crash-cart`** — the read-only daemon verdict and saved-state discovery used by that UI.
295
+ An unavailable runtime, unauthorized endpoint or unreadable state is not an empty instance.
236
296
  - **`rig snapshot`** — take a restore point **before** the risky thing. `snapshot list` shows what
237
297
  you actually have and how old the newest is; `--intended-seats` records the topology roster the
238
298
  later restore must judge rather than treating every historical node as current.
@@ -251,9 +311,9 @@ because someone lost work once.
251
311
  managed seat with the `context-usage-threshold` watchdog above so continuity is arranged while
252
312
  the seat can still act.
253
313
  - **`rig handover <seat>`** — replace the **occupant** of a seat while the seat, its name, its
254
- edges and its inbound work stay exactly where they are. **`rig seat handover` is the PLANNING
255
- half** — it shows you what would happen; the top-level verb performs it. Two commands, similar
256
- names, different blast radius.
314
+ edges and its inbound work stay exactly where they are. **`rig seat handover` uses the same
315
+ effectful handover path.** Both forms perform the operation by default; pass `--dry-run`
316
+ to plan without changing the seat. Check the selected source and continuity evidence first.
257
317
  - **`rig seat clear-attention` / `set-resume-token`** — clear a stale attention flag, or repair a
258
318
  lost resume handle so restore works next time.
259
319
  - **`rig seat set-model` / `stop` / `clean`** — persist the model for later managed resumes, stop
@@ -310,6 +370,13 @@ scheme, and nothing downstream can see it.
310
370
  from the authored SPEC with a named advisory, and `contractSource` in the echo records which
311
371
  source actually bound. When someone later asks where the contract items came from, the drop's
312
372
  own echo is the answer — not a re-read of the files.
373
+ - **`rig proof judge` / `rig proof show`** — record an attributed judgment on a contract item once,
374
+ then read derived proof, slice, mission and project readiness. The owning scope selects
375
+ `proofPolicy.judges` (nearest slice, mission or project policy wins); consult `rig proof --help`
376
+ for that setup and the item/evidence selectors. Accept, reject or withdraw against readable
377
+ evidence; corrections preserve history and unrelated judgments without ancestor status edits.
378
+ Non-code work can name its actual artifact instead of inventing a commit. Evidence capture,
379
+ policy acceptance, higher outcome judgment and publication remain separate decisions.
313
380
  - **`rig workspace doctor` / `validate`** — does the daemon agree with you about where the work
314
381
  tree is, and which files are missing the frontmatter their kind requires.
315
382
  - **`rig context work-install --project … --mission … --slice … [--deliver]`** — resolves the ordered
@@ -317,6 +384,9 @@ scheme, and nothing downstream can see it.
317
384
  loadout, `--apply-skills` to reconcile its owned harness projection, or `--deliver` to emit the
318
385
  exact extant files in order while marking absent pieces visibly. Without the flags it remains
319
386
  plan-only.
387
+ `context profile` and `context work-install` both accept `--runtime claude-code` (alias
388
+ `claude`) or `codex`; explicit invalid values refuse before projection. This does not rename
389
+ every other command's runtime vocabulary.
320
390
  - **`rig context show` / `sync` / `rm`** — what is inside a context pack before you prime a seat
321
391
  with it, and how to make the library catch up when you edit one.
322
392
  - **`rig context get <name-or-ref>`** — pull exact context by address instead of reading files:
@@ -397,6 +467,9 @@ reaching them is ordinary work rather than an escalation.
397
467
  to the external participant, not a separate outbound route.
398
468
  - **`rig gateway human add`** — register a person and their connector binding. Registration or
399
469
  connector changes do not themselves authorize a message.
470
+ - **During local-daemon outage, remote HTTP sender attribution still uses the originating
471
+ instance's durable identity.** A selected remote or forwarded endpoint never becomes the origin.
472
+ Missing local identity remains explicitly unknown; transport success is not operation success.
400
473
  - **Across a host boundary, "it didn't work" has four distinct shapes** — unreachable machine,
401
474
  permission gate, remote runtime down, or the remote command itself failed. Collapsing them throws
402
475
  away a diagnosis you already had. **And a transport that succeeded says nothing about whether the
@@ -435,12 +508,24 @@ your circumstances is configuration, and the ones that are not, another agent ca
435
508
  - **`rig setup`** — what OpenRig would change about this machine, shown before it touches anything.
436
509
  - **`rig usage series`** — what a seat's token curve has looked like over time: climbing steadily,
437
510
  reset, or stopped reporting entirely. The last one is a signal, not a gap.
438
- - **`rig tui`** — the interactive view over rigs, pods, seats and specs. **`rig tui commands`**
439
- lists everything it can do without launching it. Open the instance row for one continuous
440
- cross-rig agent table with pod separators and material `RECENT` transitions; drill into a rig,
441
- mission, slice, or agent without losing the owning identity. **`rig ui open`** is unmaintained,
442
- best-effort, and replaced by the TUI, so never diagnose product behaviour from the web UI. The
443
- TUI plus Slack are the human surface; the CLI plus terminal are the agent surface.
511
+ - **`rig tui`** — the interactive view over rigs, pods, seats and specs. `rig tui --shared`
512
+ attaches to the existing kernel terminal; Ctrl-b then d detaches, and no missing seat or
513
+ terminal is implicitly launched. Plain `rig tui` remains a separate view.
514
+ Open the instance row for one continuous cross-rig agent table with pod separators and material
515
+ `RECENT` transitions; drill into a rig, mission, slice, or agent without losing the owning
516
+ identity. Use the mission's workflow/packet view and Specs purpose/source to understand work.
517
+ Tab completes commands and snapshot arguments; Recent opens original events. **CONFIG**
518
+ browses instance/work roots, context, display, waiting, recovery, activity and advanced settings;
519
+ Slack and people are one category. Select a category, use right/left to change panes,
520
+ Enter for full value/default/source/scope, `/` to search labels and keys, and Escape or `back`
521
+ to return. Long detail scrolls; `v` enables terminal text selection. `refresh` reads the current
522
+ view again without changing settings or verifying delivery. Sources & coverage names exclusions,
523
+ daemon/CLI identity and the client timezone separately. Resolved settings do not prove runtime
524
+ adoption. The legacy `connections` command still inspects gateway services and human routes;
525
+ dated verification does not prove delivery. `timezone` gives persistent local-time guidance.
526
+ **`rig tui commands`** lists everything it can do without launching it. **`rig ui open`** is
527
+ unmaintained, best-effort, and replaced by the TUI, so never diagnose product behaviour from
528
+ the web UI. The TUI plus Slack are the human surface; the CLI plus terminal are the agent surface.
444
529
  - **`rig mcp serve`** — how an agent that speaks MCP rather than shell drives OpenRig, and which
445
530
  operations are exposed that way. Relevant the moment a tool you are integrating cannot run a
446
531
  shell command.
@@ -448,8 +533,10 @@ your circumstances is configuration, and the ones that are not, another agent ca
448
533
  selectors, target, and current/missing/shadowed/conflicting state for one working directory.
449
534
  `--apply` writes only the managed ownership set, is idempotent, and refuses local edits or
450
535
  unowned collisions.
451
- - **`rig startup-proof submit`** — prove you actually oriented at boot, rather than claiming you
452
- read the prompt.
536
+ - **`rig startup-proof submit`** — answer an explicitly selected authenticated startup challenge.
537
+ Startup adds no proof exercise by default. Declare `startup_proof` with `authenticated` or
538
+ `none` in the applicable startup layers; see `docs/reference/rig-spec.md#startup-block/startup-proof-selection`.
539
+ Terminal nodes never challenge, and resume/adoption does not create a new challenge.
453
540
 
454
541
  ---
455
542
 
@@ -467,7 +554,7 @@ database. It is one more set of primitives on a machine full of them.
467
554
  moving* falls out — which is the actual question behind every "is the rig stuck."
468
555
  - **"Is that seat stuck or thinking?"** — the row face answers this now (S04 pickup receipts):
469
556
  every list/show projection carries a derived `pickup` state — `working`, `stalled-after-claim`
470
- (with its evidence named: claimed N min ago, zero substantive transitions since), `parked`, or
557
+ (with its evidence named: time since meaningful queue change and current activity confidence), `parked`, or
471
558
  `unclaimed` — and `rig view show pickup` lists every claimed row with it. The old by-hand join
472
559
  (capture + `claimedAt` arithmetic + `queue transitions`) is RETIRED as a first move; `rig
473
560
  capture` remains the second question (is the pane alive), never the state derivation.
@@ -475,9 +562,24 @@ database. It is one more set of primitives on a machine full of them.
475
562
  whether or not it has a wake; a strand reads `stalled-after-claim` with named evidence. Wake
476
563
  health and fired-but-unconsumed diagnosis come from `rig parked`, not the pickup projection.
477
564
  `queue transitions` remains the audit trail for WHAT happened, not the tool for deriving pickup.
478
- - **"Did that actually land?"** — `queue show` truncates the body and `queue list` can report
479
- `bodyBytes=0`; neither means empty. **`sqlite3 "$OPENRIG_DB" "select length(body) …"` is the
480
- only answer.** The CLI is a projection; the database is the thing.
565
+ - **"Did that actually land?"** — `rig queue show <qitemId>` gives a bounded preview,
566
+ original byte size and the exact expansion command. Read the complete original record with
567
+ `rig queue show <qitemId> --full --json`; a preview or a compact list is not the whole body.
568
+ Delivery status is separate from content: inspect its receipt before claiming it was consumed.
569
+ - **"What am I waiting on?"** — the queue row's `waiting` view derives its owner, exact blocker
570
+ and blocker owner, last meaningful change, activity confidence and next backstop from live
571
+ domain facts. A failed handoff names the delivery ladder before the later unclaimed safety
572
+ net; its due time is earliest eligibility, with suspension or current recovery disposition
573
+ shown explicitly. The executing scheduler still checks live state at that time. A working activity observation is not proof of task progress; unknown stays
574
+ unknown. A repeating wait sends one compact notice per blocker transition, with the existing
575
+ stuck sweep owning a failed or unconsumed notice after the pickup grace. Real changes use the
576
+ event path; scheduler reconciliation repairs missed events. A returned result and its dependent
577
+ resumes share one delivery while retaining their separate rows and receipts.
578
+ For a workflow waiting on a slice outcome, add `--wait-for-proof <slice-scope>` to
579
+ `rig workflow project --exit waiting`: it binds the current proof `attention` revision.
580
+ Proof events invalidate that observation; the authored wait timer repairs a missed event
581
+ by reading the same current proof source. Inspect `rig workflow project --help` for the
582
+ required instance, packet and actor arguments; this opt-in does not accept a slice.
481
583
  - **"What does this whole corpus say about X?"** — bigger than your window, so do not read it.
482
584
  **Fan out**: one region per subagent, N in parallel, each returning a structured report, and you
483
585
  read reports rather than sources. **This is the move that beats your own context limit** — it
@@ -72,10 +72,13 @@ Consumers fail closed on the shared proof. A filename or exit code is not conten
72
72
 
73
73
  ## Build with an agent SDLC
74
74
 
75
- Map work onto **intent -> plan -> spec -> build -> verify -> review -> QA -> done**. The human supplies
76
- steering, judgment, taste, and the call on irreversible ambiguity; agents perform and coordinate the
77
- technical work. Locks freeze the agreed spec and accepted delivery so multiple seats can work without
78
- guessing whether the target moved.
75
+ Select the rigor required by the outcome and the project's policy. Scope relationships,
76
+ attributed evidence-backed item judgment, and genuinely distinct higher judgment have separate
77
+ owners. One item judgment derives its upstream readiness; agents do not synchronize parent
78
+ checkboxes, queue tags, or status prose. Capture alone is not acceptance, and readiness does not
79
+ publish or advance a workflow. Use `openrig-operating-model` and `rig proof --help` for the
80
+ supported judgment, correction, and read path. Keep historical locks and evidence addressable.
81
+ The human supplies steering, taste, and decisions the project's authority reserves for them.
79
82
 
80
83
  For studio applications, the running product is usually the best iteration surface. A separate mockup
81
84
  earns its cost only when it resolves a real design uncertainty that the running app cannot expose as
@@ -1,7 +1,7 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-operated-software"
4
- version: "0.5.10"
4
+ version: "0.5.12"
5
5
  taxonomy: "skills"
6
6
  purpose: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."
7
7
  files:
@@ -75,5 +75,7 @@ knowledge.
75
75
  A capability composition is a reusable recipe; this is the execution architecture that operates
76
76
  capabilities toward an outcome. Promote a proven workflow to the composition shelf only after use.
77
77
 
78
- **Reference implementation:** Release 0.5.9 Slice 05 is the first **Agent-Operated Migration**. Its
79
- runbook and helpers remain there; this skill carries the reusable contract, not a duplicate procedure.
78
+ **Public example:** load `skills/core/openrig-upgrade/SKILL.md` with
79
+ `rig context get` for the upgrade runbook. Its adjacent `scripts/` directory
80
+ contains the bounded inspection, backup, plugin-refresh and migration helpers.
81
+ Follow that runbook for the procedure; this skill carries the reusable contract.
@@ -1,7 +1,7 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-operated-workflows"
4
- version: "0.5.10"
4
+ version: "0.5.12"
5
5
  taxonomy: "skills"
6
6
  purpose: "Use when a bounded real-world procedure has a deterministic happy path but brownfield, variable, or partially knowable state; when an operation must resume from verified evidence; or when deciding whether agent judgment or ordinary code should own a procedure's control loop."
7
7
  files:
@@ -3,12 +3,12 @@ name: applying-a-permission-policy
3
3
  description: "Use when a permission policy is attached to a rig/seat (rig.yaml permission_policy:), or a user asks you to apply one, and you must translate that harness-neutral policy into the target harness's LIVE permission config — Claude settings.json / Codex config.toml / Pi run flags. Agent-driven and interactive: you read the policy, ground yourself in YOUR harness version, show the diff, and ask before writing. NOT for defining policies (that's the policy spec) and NOT a set-and-forget updater."
4
4
  metadata:
5
5
  openrig:
6
- stage: established # config cells VM-verified + cold-transfer PASSING (rerun #2) + built-in SPEC FILES landed → skill translates FROM the spec (POINT-not-COPY). The two established criteria met 2026-08-04. Reviewed at push.
6
+ stage: established
7
7
  tested_against: # VERSION STAMP — the whole point; re-verify at every harness bump
8
8
  claude_code: "2.1.220 — VM-CONFIRMED 2026-08-03 (all cells)"
9
9
  codex: "0.120.0 — VM-CONFIRMED 2026-08-03 (sandbox_mode/approval_policy; on-failure deprecated-but-accepted)"
10
10
  pi: "0.83.0 — VM-CONFIRMED 2026-08-03: --approve/--no-approve govern PROJECT-RESOURCE TRUST, NOT tool permissions; Pi has NO permission surface (see Pi leg)"
11
- verification_status: "Live-verified 2026-08-03/04. Claude 2.1.220 + Codex 0.120.0 config cells CONFIRMED live. Pi 0.83.0 divergence folded (flags = project-resource trust, not a permission gate). Cold-transfer rerun #1 blocked on the force_push/push_to_remote prefix collision → added the PREFIX-COLLISION rule. Cold-transfer rerun #2: TRANSFERS — all 5 gate checks pass (collision resolved deterministically without asking; single ordinary write confirmation; defaultMode floor written; Codex workspace-write/on-request; Pi compute-nothing). Blocking collision/floor defect CLOSED → gate cleared, 4.8-shippable (provisional-with-passing-cold-transfer). Non-blocking seam closed: the built-in SPEC FILES landed (arch-accepted, source:builtin) → skill translates FROM the spec, interim in-skill pinned summary retired (POINT-not-COPY). stage:ESTABLISHED 2026-08-04 — both criteria met."
11
+ verification_status: "Historical compatibility checks on the versions and dates in tested_against. These observations do not establish behavior on a later harness; verify its current format before applying the mapping."
12
12
  ---
13
13
 
14
14
  # Applying a permission policy
@@ -30,17 +30,17 @@ Harness permission formats are a **moving target**. The exact fact this skill is
30
30
  - NOT for authoring policies (that's the policy spec) and NOT for daemon-level enforcement (OpenRig is agnostic — it injects nothing).
31
31
 
32
32
  ## What you're translating (the boundary)
33
- INPUT = a **harness-neutral policy spec** (arch's schema): `default_posture`, `floor`, `allow`/`ask`/`deny` as **semantic actions** (`push_to_remote`, `delete_files`, …), `destructive_class`, `source: builtin|custom`. You TRANSLATE that intent → the harness's live config. You never invent policy; you never pre-bake harness config into the spec.
33
+ INPUT = a **harness-neutral policy spec** (semantic action schema): `default_posture`, `floor`, `allow`/`ask`/`deny` as **semantic actions** (`push_to_remote`, `delete_files`, …), `destructive_class`, `source: builtin|custom`. You TRANSLATE that intent → the harness's live config. You never invent policy; you never pre-bake harness config into the spec.
34
34
 
35
35
  ## The apply flow (interactive — the interactive-ask IS the product)
36
36
  1. **Read the policy spec** + its `source:` marker (built-in read-only from the package = copy-to-customize before editing; custom = user space).
37
37
  2. **PREFLIGHT (mandatory) — ground yourself in THIS environment:**
38
- - **daemon-HOME must equal seat-HOME**, or a user-level Claude write never reaches the seat (assessment iv). Check; if they differ, **stop and ask** — do not write into the wrong HOME.
38
+ - **daemon-HOME must equal seat-HOME**, or a user-level Claude write never reaches the seat. Check; if they differ, **stop and ask** — do not write into the wrong HOME.
39
39
  - Read the harness's **actual current config file** + confirm its schema against your installed version (`claude --version`, the live settings.json shape, codex/pi versions). If the format differs from this skill's `tested_against`, trust the LIVE format and flag the drift.
40
40
  3. **Derive the per-harness config** from the semantic actions (see the three legs below). Compute the Codex posture-collapse + Pi bit.
41
41
  4. **Show the concrete DIFF before writing** (old → new, per file). Never a blind write.
42
- 5. **Resolve best-effort actions by the built-in's rule FIRST, then ask only on genuine ambiguity.** Best-effort destructive actions (`force_push`, `delete_files`, `delete_everything`, `read_secrets`) default to **`ask`** (never a `deny` that can't be enforced) — apply that default rather than stopping to question-back. Surface a question only when the policy is genuinely ambiguous or the seat is interactive. **For a same-prefix collision (`push_to_remote` vs `force_push`, both `Bash(git push:*)`), NEVER ask — apply the deterministic PREFIX-COLLISION rule in the Claude leg.** (Live cold-transfers caught fresh agents *question-backing* — first on the `force_push` default, then on the prefix collision — instead of applying the fixed rule; both freeze an autonomous seat.) On a Claude-only fleet, if the policy denies `network_egress`, **say so explicitly**: it is NOT enforceable — Claude has no network gate, a `Bash(curl:*)`/`Bash(wget:*)` deny is best-effort, and `python`/`node` fetch bypasses it (live-verified: `urllib` reached HTTPS 200 under a curl/wget deny). Route real egress-gating to the Codex sandbox, or record it as advisory on Claude.
43
- 6. **Back up the current config**, then write. Prefer the **user-level** file (`~/.claude/settings.json`) for durable policy — it's the clobber-resistant tier (deny wins across the union). **ALWAYS include `defaultMode: "acceptEdits"` in the Claude settings.json you write** — the floor key must be PRESENT in the file, or the config policy strips the floor. (This is the exact gap a live cold-transfer test FAILED on: the fresh agent wrote allow/deny lists but omitted `defaultMode`, leaving the seat below the floor.)
42
+ 5. **Resolve best-effort actions by the built-in's rule FIRST, then ask only on genuine ambiguity.** Best-effort destructive actions (`force_push`, `delete_files`, `delete_everything`, `read_secrets`) default to **`ask`** (never a `deny` that can't be enforced) — apply that default rather than stopping to question-back. Surface a question only when the policy is genuinely ambiguous or the seat is interactive. **For a same-prefix collision (`push_to_remote` vs `force_push`, both `Bash(git push:*)`), NEVER ask — apply the deterministic PREFIX-COLLISION rule in the Claude leg.** On a Claude-only fleet, if the policy denies `network_egress`, **say so explicitly**: it is NOT enforceable — Claude has no network gate, a `Bash(curl:*)`/`Bash(wget:*)` deny is best-effort, and `python`/`node` fetch bypasses it (live-verified: `urllib` reached HTTPS 200 under a curl/wget deny). Route real egress-gating to the Codex sandbox, or record it as advisory on Claude.
43
+ 6. **Back up the current config**, then write. Prefer the **user-level** file (`~/.claude/settings.json`) for durable policy — it's the clobber-resistant tier (deny wins across the union). **ALWAYS include `defaultMode: "acceptEdits"` in the Claude settings.json you write** — the floor key must be PRESENT in the file, or the config policy strips the floor.
44
44
  7. **Verify** the write landed and the seat can see it (re-read; confirm `defaultMode: "acceptEdits"` is present; for an autonomous seat, confirm no `ask` will freeze it).
45
45
 
46
46
  ## Two surfaces — and this skill writes only ONE of them
@@ -48,7 +48,7 @@ Permissions live on two surfaces with opposite stability — which is the whole
48
48
  - **LAUNCH-FLAG surface — STABLE (>1yr) → OpenRig sets it DETERMINISTICALLY, NOT this skill.** The flags OpenRig passes at boot: Claude `--permission-mode` / `--dangerously-skip-permissions`; Codex sandbox/bypass flags; Pi `--approve`/`--no-approve`. **Two things live here, both OpenRig-owned: the FLOOR (minimum, by default) and YOLO (full bypass, opt-in).**
49
49
  - **CONFIG-FILE surface — CHAOTIC → NEVER deterministic → THIS SKILL'S DOMAIN.** Claude `settings.json` allow/ask/deny + defaultMode; Codex `config.toml` approval rules. This is where the Locked / Standard / Open policies get applied — agent-driven, version-stamped, caveated. (Pi has **no permission surface at all** — its `--approve`/`--no-approve` flags govern project-resource trust, not tool permissions (VM-confirmed Pi 0.83.0); a permission policy does not translate to Pi. See the Pi leg.)
50
50
 
51
- **THE FLOOR (launch-flag, OpenRig-set — this skill KNOWS it, never WRITES it):** Claude `--permission-mode acceptEdits` (keep it); **Codex workspace-only** (stop forcing `danger-full-access` — ≈ Codex's own default ≈ setting-nothing = agnostic); Pi `--no-approve` (a project-resource-trust floor — Pi has no permission gate; see the Pi leg). **One consistent unconditional minimum** (no by-context switching — that mode idea is parked 5.0). A chosen config-file policy layers ON TOP of the floor.
51
+ **THE FLOOR (launch-flag, OpenRig-set — this skill KNOWS it, never WRITES it):** Claude `--permission-mode acceptEdits` (keep it); **Codex workspace-only** (stop forcing `danger-full-access` — ≈ Codex's own default ≈ setting-nothing = agnostic); Pi `--no-approve` (a project-resource-trust floor — Pi has no permission gate; see the Pi leg). **One consistent unconditional minimum**. A chosen config-file policy layers ON TOP of the floor.
52
52
 
53
53
  **YOLO MODE (launch-flag, OpenRig-set, opt-in — for people done with permissions):** OpenRig boots every seat with the full-bypass flag (Claude `--dangerously-skip-permissions`; Codex full-bypass). **When YOLO is on, CONFIG-FILE POLICY IS MOOT** — this skill does NOT apply a config policy (or explicitly notes it's overridden by the flag); don't fight the bypass. YOLO is OpenRig's deterministic job, not this skill's. (**Operator = YOLO mode** — subsumed.)
54
54
 
@@ -79,10 +79,10 @@ Permissions live on two surfaces with opposite stability — which is the whole
79
79
  - **PREFIX-COLLISION resolution (deterministic — resolve it, NEVER ask).** When two actions collapse to the SAME base prefix with different dispositions — the canonical case is `push_to_remote`=allow + `force_push`=ask, both basing to `Bash(git push:*)` — you cannot put that base prefix in both `allow` and `ask`. Resolve without a question-back:
80
80
  - **Push allowed + force asked (Standard / Open):** put the base `Bash(git push:*)` per push's disposition (`allow`), AND add the flag-first force forms to `ask` (`Bash(git push --force:*)`, `Bash(git push -f:*)`, `Bash(git push --force-with-lease:*)`). RECORD in your diff that this is best-effort — flag-LAST force (`git push origin main --force`) leaks past the flag-first ask rules and runs under the allow. Don't block on it.
81
81
  - **Push denied (Locked):** `Bash(git push:*)` in `deny` already covers force — no conflict.
82
- This is a FIXED rule, not a user decision — apply it and note the leak. (A live cold-transfer FAILED because a fresh agent *blocked asking* "how to resolve the force_push/push_to_remote collision" instead of applying this default.)
83
- - **`defaultMode: "acceptEdits"` is the FLOOR and MUST be written into every Claude settings.json you produce.** It is not a knob you tune, but it IS a key you must always include — a config policy that omits it strips the floor (the cold-transfer failure). Live-confirmed schema: `{"permissions":{"allow":[],"ask":[],"deny":[],"defaultMode":"acceptEdits"}}`.
82
+ This is a FIXED rule, not a user decision — apply it and note the leak.
83
+ - **`defaultMode: "acceptEdits"` is the FLOOR and MUST be written into every Claude settings.json you produce.** It is not a knob you tune, but it IS a key you must always include — a config policy that omits it strips the floor. Live-confirmed schema: `{"permissions":{"allow":[],"ask":[],"deny":[],"defaultMode":"acceptEdits"}}`.
84
84
 
85
- ### Codex — `~/.codex/config.toml` (via the existing X10 `codex_config_fragment` splice path — reuse, don't invent)
85
+ ### Codex — `~/.codex/config.toml` (via the existing `codex_config_fragment` splice path — reuse, don't invent)
86
86
  - Codex is **per-posture, not per-action**: the whole action set **collapses** to the nearest `{sandbox_mode, approval_policy}` pair. **Built-in → posture** (VM-CONFIRMED @ Codex 0.120.0, 2026-08-03 — each posture applied to a real seat: read-only blocked writes+egress, workspace-write allowed writes/blocked egress, danger-full-access allowed both):
87
87
 
88
88
  | Built-in | `sandbox_mode` | `approval_policy` | Collapse note (surface this to the user) |
@@ -107,7 +107,7 @@ Permissions live on two surfaces with opposite stability — which is the whole
107
107
  - **daemon-HOME ≠ seat-HOME** silently voids user-level writes — always the preflight check above.
108
108
 
109
109
  ## The built-ins — DEFINED by the shipped policy spec files (translate FROM the spec; POINT, don't COPY)
110
- The four built-in policies ship as read-only spec files (`source: builtin`, `policy_schema_version: 1`) — they are the AUTHORITATIVE definitions. **Do NOT restate their action-sets here.** An earlier in-skill copy drifted (it under-asked `publish_package`/`merge_or_release`, which the spec ASKs) — the exact reason POINT-don't-COPY is the rule. Read the attached/selected spec and translate its semantic-action sets (`default_posture` / `allow` / `ask` / `deny` / `destructive_class`) per the three legs above.
110
+ The four built-in policies ship as read-only spec files (`source: builtin`, `policy_schema_version: 1`) — they are the AUTHORITATIVE definitions. **Do NOT restate their action-sets here.** The selected spec supplies the action sets; a second copy in this skill can diverge. Read the attached/selected spec and translate its semantic-action sets (`default_posture` / `allow` / `ask` / `deny` / `destructive_class`) per the three legs above.
111
111
  - **Locked / Standard ⭐ / Open** — `surface: config`. Translate to the Claude / Codex config surface. **Standard ⭐** is the recommended default: routine dev incl. push allowed, the outward/release/history-rewriting acts (`create_pr`, `publish_package`, `merge_or_release`, `force_push`) ASK, destructive_class ASKs. Standard has live `ask` gates → not for a headless-autonomous Claude seat (use Open or YOLO). Locked = deny-default whitelist; Open = allow-default, destructive_class asks only.
112
112
  - **YOLO** — `surface: flag`, `launch_posture: full_bypass`. This skill does **NOT** translate it — it points at OpenRig's deterministic flag-surface opt-in (the rip-out YOLO setting). When YOLO is on, any config-surface policy is MOOT (the bypass overrides it). (Subsumes the former "Operator".)
113
113
 
@@ -115,6 +115,3 @@ Built-ins ship read-only in the package (canonical names); copy-to-customize int
115
115
 
116
116
  ## Boundary (keeps this the only maintained piece)
117
117
  This skill TRANSLATES + APPLIES only. It does **not** define policies (the policy spec does) and does **not** enforce at the daemon (OpenRig is agnostic). Spec = *what* (neutral intent); this skill = *how, on this harness version* (the caveated, version-stamped translation).
118
-
119
- ---
120
- *Stage: ESTABLISHED (2026-08-04) — both criteria met: (1) cold-transfer PASSING (rerun #2, all 5 gate checks TRANSFER); (2) the built-in policy SPEC FILES landed (`source: builtin`, arch-accepted) as the authoritative source — the skill now translates FROM the spec and the interim in-skill pinned summary is retired (POINT-not-COPY). Config cells VM-CONFIRMED (Claude 2.1.220 / Codex 0.120.0); Pi has no permission surface (compute-nothing). Reviewed at push. feedback.md maintained.*
@@ -1,7 +1,7 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "applying-a-permission-policy"
4
- version: "0.5.10"
4
+ version: "0.5.12"
5
5
  taxonomy: "skills"
6
6
  purpose: "Use when a permission policy is attached to a rig/seat (rig.yaml permission_policy:), or a user asks you to apply one, and you must translate that harness-neutral policy into the target harness's LIVE permission config — Claude settings.json / Codex config.toml / Pi run flags. Agent-driven and interactive: you read the policy, ground yourself in YOUR harness version, show the diff, and ask before writing. NOT for defining policies (that's the policy spec) and NOT a set-and-forget updater."
7
7
  files: