@openrig/cli 0.5.9 → 0.5.11

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 (862) hide show
  1. package/daemon/assets/plugins/openrig-core/README.md +24 -5
  2. package/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md +4 -2
  3. package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +11 -14
  4. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +51 -59
  5. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +11 -10
  6. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +48 -61
  7. package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +19 -5
  8. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/SKILL.md +39 -50
  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 +80 -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 +80 -33
  23. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/agent-operated-workflows/SKILL.md +4 -2
  25. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +1 -1
  26. package/daemon/context-packs/skills/applying-a-permission-policy/SKILL.md +11 -14
  27. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/claude-compaction-restore/SKILL.md +51 -59
  29. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  30. package/daemon/context-packs/skills/core/agent-starters/SKILL.md +21 -19
  31. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  32. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +32 -16
  33. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  34. package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +84 -148
  35. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +3 -3
  36. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +48 -61
  38. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +3 -3
  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/SKILL.md +19 -5
  59. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  60. package/daemon/context-packs/skills/openrig-operating-model/SKILL.md +39 -50
  61. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/openrig-operating-model/scripts/trunk-diff.sh +1 -1
  63. package/daemon/context-packs/skills/openrig-operating-model/templates/LEARNED.md +7 -5
  64. package/daemon/context-packs/skills/openrig-operating-model/templates/PLAYBOOK.md +3 -4
  65. package/daemon/context-packs/skills/openrig-operating-model/templates/SPEC.md +7 -7
  66. package/daemon/context-packs/skills/openrig-user/SKILL.md +80 -64
  67. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/CHANGELOG.md +14 -58
  69. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  70. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/pm/exec-summary/SKILL.md +1 -1
  73. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/pm/plan-review/SKILL.md +2 -2
  76. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/pm/requirements-writer/SKILL.md +1 -1
  78. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  79. package/daemon/context-packs/skills/pm/ui-mockup/SKILL.md +3 -3
  80. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  81. package/daemon/context-packs/skills/pods/development-team/SKILL.md +40 -139
  82. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +3 -3
  83. package/daemon/context-packs/skills/pods/orchestration-team/SKILL.md +80 -118
  84. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +3 -3
  85. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  86. package/daemon/context-packs/skills/pods/review-team/SKILL.md +34 -31
  87. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +3 -3
  88. package/daemon/context-packs/skills/process/agent-browser/LOCAL-INSIGHTS.md +24 -53
  89. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  90. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  91. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  92. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  93. package/daemon/context-packs/skills/process/systematic-debugging/find-polluter.sh +29 -15
  94. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  95. package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +53 -48
  96. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  97. package/daemon/context-packs/skills/process/verification-before-completion/SKILL.md +3 -3
  98. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  99. package/daemon/context-packs/skills/queue-handoff/SKILL.md +8 -9
  100. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  101. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  102. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/CHANGELOG.md +20 -46
  103. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/SKILL.md +62 -76
  104. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  105. package/daemon/context-packs/skills/seat-continuity-and-handover/SKILL.md +28 -22
  106. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  107. package/daemon/context-packs/skills/session-compaction-and-restore/SKILL.md +13 -15
  108. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  109. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +1 -1
  110. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  111. package/daemon/context-packs/world-public/build-your-world.md +12 -7
  112. package/daemon/context-packs/world-public/manifest.yaml +1 -1
  113. package/daemon/dist/adapters/tmux.d.ts +7 -9
  114. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  115. package/daemon/dist/adapters/tmux.js +7 -35
  116. package/daemon/dist/adapters/tmux.js.map +1 -1
  117. package/daemon/dist/build-info.js +3 -3
  118. package/daemon/dist/daemon-shutdown.d.ts +27 -0
  119. package/daemon/dist/daemon-shutdown.d.ts.map +1 -0
  120. package/daemon/dist/daemon-shutdown.js +84 -0
  121. package/daemon/dist/daemon-shutdown.js.map +1 -0
  122. package/daemon/dist/domain/codex-thread-id.d.ts +1 -0
  123. package/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  124. package/daemon/dist/domain/codex-thread-id.js +32 -23
  125. package/daemon/dist/domain/codex-thread-id.js.map +1 -1
  126. package/daemon/dist/domain/context-usage-store.d.ts +2 -0
  127. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  128. package/daemon/dist/domain/context-usage-store.js +7 -28
  129. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  130. package/daemon/dist/domain/crash-cart-conductor.js +1 -1
  131. package/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  132. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  133. package/daemon/dist/domain/execution-view.js +24 -3
  134. package/daemon/dist/domain/execution-view.js.map +1 -1
  135. package/daemon/dist/domain/gateway/channel-operations.d.ts +39 -0
  136. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
  137. package/daemon/dist/domain/gateway/channel-operations.js +35 -0
  138. package/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
  139. package/daemon/dist/domain/gateway/connections-projection.d.ts +61 -0
  140. package/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
  141. package/daemon/dist/domain/gateway/connections-projection.js +149 -0
  142. package/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
  143. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +3 -0
  144. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
  145. package/daemon/dist/domain/gateway/gateway-subsystem.js +3 -0
  146. package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
  147. package/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
  148. package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
  149. package/daemon/dist/domain/gateway/human-readiness.js +44 -0
  150. package/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
  151. package/daemon/dist/domain/gateway/human-registry.d.ts +5 -8
  152. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  153. package/daemon/dist/domain/gateway/human-registry.js +5 -8
  154. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  155. package/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
  156. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  157. package/daemon/dist/domain/gateway/slack/inbound.js +35 -12
  158. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  159. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
  160. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  161. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  162. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  163. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +18 -0
  164. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  165. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +63 -8
  166. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  167. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
  168. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
  169. package/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
  170. package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
  171. package/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
  172. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  173. package/daemon/dist/domain/gateway/slack/state-store.js +28 -1
  174. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  175. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
  176. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
  177. package/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
  178. package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
  179. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
  180. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
  181. package/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
  182. package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
  183. package/daemon/dist/domain/health-checkpoints.d.ts +57 -0
  184. package/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
  185. package/daemon/dist/domain/health-checkpoints.js +198 -0
  186. package/daemon/dist/domain/health-checkpoints.js.map +1 -0
  187. package/daemon/dist/domain/health-context.d.ts +14 -0
  188. package/daemon/dist/domain/health-context.d.ts.map +1 -0
  189. package/daemon/dist/domain/health-context.js +93 -0
  190. package/daemon/dist/domain/health-context.js.map +1 -0
  191. package/daemon/dist/domain/health-detectors.d.ts +106 -0
  192. package/daemon/dist/domain/health-detectors.d.ts.map +1 -0
  193. package/daemon/dist/domain/health-detectors.js +392 -0
  194. package/daemon/dist/domain/health-detectors.js.map +1 -0
  195. package/daemon/dist/domain/health-diagnosis.d.ts +143 -0
  196. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
  197. package/daemon/dist/domain/health-diagnosis.js +249 -0
  198. package/daemon/dist/domain/health-diagnosis.js.map +1 -0
  199. package/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
  200. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
  201. package/daemon/dist/domain/health-passive-ceremony.js +234 -0
  202. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
  203. package/daemon/dist/domain/health-policy.d.ts +45 -0
  204. package/daemon/dist/domain/health-policy.d.ts.map +1 -0
  205. package/daemon/dist/domain/health-policy.js +89 -0
  206. package/daemon/dist/domain/health-policy.js.map +1 -0
  207. package/daemon/dist/domain/health-projection.d.ts +237 -0
  208. package/daemon/dist/domain/health-projection.d.ts.map +1 -0
  209. package/daemon/dist/domain/health-projection.js +312 -0
  210. package/daemon/dist/domain/health-projection.js.map +1 -0
  211. package/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
  212. package/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
  213. package/daemon/dist/domain/lifecycle-obligations.js +35 -0
  214. package/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
  215. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  216. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
  217. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  218. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  219. package/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
  220. package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  221. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  222. package/daemon/dist/domain/node-inventory.js +1 -0
  223. package/daemon/dist/domain/node-inventory.js.map +1 -1
  224. package/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
  225. package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  226. package/daemon/dist/domain/policies/workflow-keepalive.js +7 -4
  227. package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  228. package/daemon/dist/domain/project-lifecycle-compiler.d.ts +7 -0
  229. package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
  230. package/daemon/dist/domain/project-lifecycle-compiler.js +133 -8
  231. package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
  232. package/daemon/dist/domain/queue-repository.d.ts +14 -0
  233. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  234. package/daemon/dist/domain/queue-repository.js +60 -5
  235. package/daemon/dist/domain/queue-repository.js.map +1 -1
  236. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  237. package/daemon/dist/domain/queue-stuck-sweep.js +1 -0
  238. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  239. package/daemon/dist/domain/queue-transition-log.d.ts +5 -0
  240. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  241. package/daemon/dist/domain/queue-transition-log.js +28 -0
  242. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  243. package/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
  244. package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
  245. package/daemon/dist/domain/queue-wait-backoff.js +96 -0
  246. package/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
  247. package/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
  248. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  249. package/daemon/dist/domain/queue-wake-repository.js +8 -3
  250. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  251. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  252. package/daemon/dist/domain/seat-lifecycle-service.js +8 -1
  253. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  254. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  255. package/daemon/dist/domain/startup-orchestrator.js +27 -11
  256. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  257. package/daemon/dist/domain/startup-proof.d.ts.map +1 -1
  258. package/daemon/dist/domain/startup-proof.js +10 -9
  259. package/daemon/dist/domain/startup-proof.js.map +1 -1
  260. package/daemon/dist/domain/startup-resolver.d.ts +3 -1
  261. package/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
  262. package/daemon/dist/domain/startup-resolver.js +18 -0
  263. package/daemon/dist/domain/startup-resolver.js.map +1 -1
  264. package/daemon/dist/domain/startup-validation.d.ts.map +1 -1
  265. package/daemon/dist/domain/startup-validation.js +12 -1
  266. package/daemon/dist/domain/startup-validation.js.map +1 -1
  267. package/daemon/dist/domain/types.d.ts +16 -1
  268. package/daemon/dist/domain/types.d.ts.map +1 -1
  269. package/daemon/dist/domain/types.js.map +1 -1
  270. package/daemon/dist/domain/user-settings/settings-store.d.ts +9 -1
  271. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  272. package/daemon/dist/domain/user-settings/settings-store.js +86 -12
  273. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  274. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
  275. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  276. package/daemon/dist/domain/watchdog-jobs-repository.js +5 -0
  277. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  278. package/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
  279. package/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  280. package/daemon/dist/domain/workflow-boot-sweep.js +3 -0
  281. package/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  282. package/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
  283. package/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  284. package/daemon/dist/domain/workflow-exception-escalation.js +22 -21
  285. package/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  286. package/daemon/dist/domain/workflow-exception-router.d.ts +4 -3
  287. package/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
  288. package/daemon/dist/domain/workflow-exception-router.js +7 -6
  289. package/daemon/dist/domain/workflow-exception-router.js.map +1 -1
  290. package/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
  291. package/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
  292. package/daemon/dist/domain/workflow-human-destination.js +40 -0
  293. package/daemon/dist/domain/workflow-human-destination.js.map +1 -0
  294. package/daemon/dist/domain/workflow-projector.d.ts +28 -3
  295. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  296. package/daemon/dist/domain/workflow-projector.js +134 -33
  297. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  298. package/daemon/dist/domain/workflow-role-context.d.ts +4 -6
  299. package/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
  300. package/daemon/dist/domain/workflow-role-context.js +7 -14
  301. package/daemon/dist/domain/workflow-role-context.js.map +1 -1
  302. package/daemon/dist/domain/workflow-runtime.d.ts +12 -3
  303. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  304. package/daemon/dist/domain/workflow-runtime.js +124 -25
  305. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  306. package/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
  307. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  308. package/daemon/dist/domain/workflow-spec-cache.js +16 -0
  309. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  310. package/daemon/dist/domain/workflow-types.d.ts +8 -0
  311. package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  312. package/daemon/dist/domain/workflow-types.js.map +1 -1
  313. package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  314. package/daemon/dist/domain/workflow-validator.js +57 -24
  315. package/daemon/dist/domain/workflow-validator.js.map +1 -1
  316. package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  317. package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  318. package/daemon/dist/gateway-human-registry-surface.js +1 -0
  319. package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  320. package/daemon/dist/gateway-slack-surface.d.ts +1 -0
  321. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  322. package/daemon/dist/gateway-slack-surface.js +1 -0
  323. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  324. package/daemon/dist/health-detectors-surface.d.ts +2 -0
  325. package/daemon/dist/health-detectors-surface.d.ts.map +1 -0
  326. package/daemon/dist/health-detectors-surface.js +2 -0
  327. package/daemon/dist/health-detectors-surface.js.map +1 -0
  328. package/daemon/dist/health-projection-surface.d.ts +2 -0
  329. package/daemon/dist/health-projection-surface.d.ts.map +1 -0
  330. package/daemon/dist/health-projection-surface.js +2 -0
  331. package/daemon/dist/health-projection-surface.js.map +1 -0
  332. package/daemon/dist/index.d.ts.map +1 -1
  333. package/daemon/dist/index.js +38 -95
  334. package/daemon/dist/index.js.map +1 -1
  335. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  336. package/daemon/dist/lib/pane-envelope.js +4 -1
  337. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  338. package/daemon/dist/project-lifecycle-surface.d.ts +1 -1
  339. package/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
  340. package/daemon/dist/routes/gateway.d.ts +5 -1
  341. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  342. package/daemon/dist/routes/gateway.js +80 -22
  343. package/daemon/dist/routes/gateway.js.map +1 -1
  344. package/daemon/dist/routes/health-diagnosis.d.ts +3 -0
  345. package/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
  346. package/daemon/dist/routes/health-diagnosis.js +47 -0
  347. package/daemon/dist/routes/health-diagnosis.js.map +1 -0
  348. package/daemon/dist/routes/health.d.ts +3 -0
  349. package/daemon/dist/routes/health.d.ts.map +1 -0
  350. package/daemon/dist/routes/health.js +50 -0
  351. package/daemon/dist/routes/health.js.map +1 -0
  352. package/daemon/dist/routes/hosts.d.ts +2 -0
  353. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  354. package/daemon/dist/routes/hosts.js +12 -5
  355. package/daemon/dist/routes/hosts.js.map +1 -1
  356. package/daemon/dist/routes/queue.d.ts.map +1 -1
  357. package/daemon/dist/routes/queue.js +4 -3
  358. package/daemon/dist/routes/queue.js.map +1 -1
  359. package/daemon/dist/routes/require-sender-identity.d.ts +3 -1
  360. package/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  361. package/daemon/dist/routes/require-sender-identity.js +11 -5
  362. package/daemon/dist/routes/require-sender-identity.js.map +1 -1
  363. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  364. package/daemon/dist/routes/sessions.js +95 -27
  365. package/daemon/dist/routes/sessions.js.map +1 -1
  366. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  367. package/daemon/dist/routes/workflow.js +6 -1
  368. package/daemon/dist/routes/workflow.js.map +1 -1
  369. package/daemon/dist/server.d.ts +8 -0
  370. package/daemon/dist/server.d.ts.map +1 -1
  371. package/daemon/dist/server.js +10 -1
  372. package/daemon/dist/server.js.map +1 -1
  373. package/daemon/dist/startup.d.ts.map +1 -1
  374. package/daemon/dist/startup.js +35 -4
  375. package/daemon/dist/startup.js.map +1 -1
  376. package/daemon/docs/reference/agent-spec.md +6 -0
  377. package/daemon/docs/reference/getting-started.md +134 -28
  378. package/daemon/docs/reference/health-diagnosis.md +331 -0
  379. package/daemon/docs/reference/mission-install.md +5 -0
  380. package/daemon/docs/reference/product-journey-sdlc.md +53 -15
  381. package/daemon/docs/reference/project-release-profile.yaml +82 -0
  382. package/daemon/docs/reference/release-boundary.md +5 -0
  383. package/daemon/docs/reference/rig-spec.md +43 -4
  384. package/daemon/docs/reference/sdlc-conventions.md +6 -4
  385. package/daemon/specs/agents/conveyor/planner/guidance/role.md +5 -3
  386. package/daemon/specs/agents/conveyor/planner/startup/context.md +13 -4
  387. package/daemon/specs/agents/design/product-designer/agent.yaml +4 -3
  388. package/daemon/specs/agents/design/product-designer/guidance/role.md +12 -10
  389. package/daemon/specs/agents/development/implementer/agent.yaml +1 -9
  390. package/daemon/specs/agents/development/implementer/guidance/role.md +21 -43
  391. package/daemon/specs/agents/development/qa/agent.yaml +2 -11
  392. package/daemon/specs/agents/development/qa/guidance/role.md +21 -73
  393. package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +1 -9
  394. package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +25 -72
  395. package/daemon/specs/agents/product-management/pm/guidance/role.md +19 -17
  396. package/daemon/specs/agents/review/independent-reviewer/agent.yaml +1 -9
  397. package/daemon/specs/agents/review/independent-reviewer/guidance/role.md +20 -35
  398. package/daemon/specs/agents/shared/skills/core/agent-starters/SKILL.md +21 -19
  399. package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +32 -16
  400. package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +84 -148
  401. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +48 -61
  402. package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +40 -47
  403. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +16 -0
  404. package/daemon/specs/agents/shared/skills/core/session-source-fork/SKILL.md +12 -10
  405. package/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md +15 -13
  406. package/daemon/specs/agents/shared/skills/pm/exec-summary/SKILL.md +1 -1
  407. package/daemon/specs/agents/shared/skills/pm/plan-review/SKILL.md +2 -2
  408. package/daemon/specs/agents/shared/skills/pm/requirements-writer/SKILL.md +1 -1
  409. package/daemon/specs/agents/shared/skills/pm/ui-mockup/SKILL.md +3 -3
  410. package/daemon/specs/agents/shared/skills/pods/development-team/SKILL.md +40 -139
  411. package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +80 -118
  412. package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +34 -31
  413. package/daemon/specs/agents/shared/skills/process/agent-browser/LOCAL-INSIGHTS.md +24 -53
  414. package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +29 -15
  415. package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +53 -48
  416. package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +3 -3
  417. package/daemon/specs/rigs/launch/demo/CULTURE.md +21 -30
  418. package/daemon/specs/rigs/launch/first-project/CULTURE.md +39 -0
  419. package/daemon/specs/rigs/launch/first-project/rig.yaml +31 -0
  420. package/daemon/specs/rigs/launch/implementation-pair/rig.yaml +3 -3
  421. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +1 -1
  422. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +21 -7
  423. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +2 -2
  424. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +19 -11
  425. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +3 -2
  426. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +15 -8
  427. package/daemon/specs/rigs/launch/kernel/rig-claude-only.yaml +7 -0
  428. package/daemon/specs/rigs/launch/kernel/rig-codex-only.yaml +7 -0
  429. package/daemon/specs/rigs/launch/kernel/rig.yaml +9 -4
  430. package/daemon/specs/rigs/preview/product-team/CULTURE.md +26 -71
  431. package/daemon/specs/rigs/preview/product-team/topology/seats/dev1-qa/CRAFT.md +6 -4
  432. package/dist/build-info.js +3 -3
  433. package/dist/client.d.ts +6 -20
  434. package/dist/client.d.ts.map +1 -1
  435. package/dist/client.js +53 -32
  436. package/dist/client.js.map +1 -1
  437. package/dist/commands/config.d.ts.map +1 -1
  438. package/dist/commands/config.js +2 -0
  439. package/dist/commands/config.js.map +1 -1
  440. package/dist/commands/context.d.ts.map +1 -1
  441. package/dist/commands/context.js +15 -13
  442. package/dist/commands/context.js.map +1 -1
  443. package/dist/commands/daemon.d.ts.map +1 -1
  444. package/dist/commands/daemon.js +31 -27
  445. package/dist/commands/daemon.js.map +1 -1
  446. package/dist/commands/destroy.js +1 -1
  447. package/dist/commands/destroy.js.map +1 -1
  448. package/dist/commands/gateway.d.ts +17 -0
  449. package/dist/commands/gateway.d.ts.map +1 -1
  450. package/dist/commands/gateway.js +99 -13
  451. package/dist/commands/gateway.js.map +1 -1
  452. package/dist/commands/health.d.ts +12 -0
  453. package/dist/commands/health.d.ts.map +1 -0
  454. package/dist/commands/health.js +403 -0
  455. package/dist/commands/health.js.map +1 -0
  456. package/dist/commands/host.d.ts.map +1 -1
  457. package/dist/commands/host.js +2 -0
  458. package/dist/commands/host.js.map +1 -1
  459. package/dist/commands/launch.d.ts.map +1 -1
  460. package/dist/commands/launch.js +2 -2
  461. package/dist/commands/launch.js.map +1 -1
  462. package/dist/commands/queue.d.ts +18 -0
  463. package/dist/commands/queue.d.ts.map +1 -1
  464. package/dist/commands/queue.js +71 -5
  465. package/dist/commands/queue.js.map +1 -1
  466. package/dist/commands/send.d.ts.map +1 -1
  467. package/dist/commands/send.js +8 -9
  468. package/dist/commands/send.js.map +1 -1
  469. package/dist/commands/setup.d.ts.map +1 -1
  470. package/dist/commands/setup.js +10 -9
  471. package/dist/commands/setup.js.map +1 -1
  472. package/dist/commands/slack.d.ts.map +1 -1
  473. package/dist/commands/slack.js +39 -11
  474. package/dist/commands/slack.js.map +1 -1
  475. package/dist/commands/tui.d.ts +2 -0
  476. package/dist/commands/tui.d.ts.map +1 -1
  477. package/dist/commands/tui.js +26 -10
  478. package/dist/commands/tui.js.map +1 -1
  479. package/dist/commands/walk.d.ts.map +1 -1
  480. package/dist/commands/walk.js +24 -48
  481. package/dist/commands/walk.js.map +1 -1
  482. package/dist/commands/workflow-render.d.ts +19 -0
  483. package/dist/commands/workflow-render.d.ts.map +1 -1
  484. package/dist/commands/workflow-render.js +12 -1
  485. package/dist/commands/workflow-render.js.map +1 -1
  486. package/dist/commands/workflow.d.ts.map +1 -1
  487. package/dist/commands/workflow.js +12 -8
  488. package/dist/commands/workflow.js.map +1 -1
  489. package/dist/config-store.d.ts +10 -1
  490. package/dist/config-store.d.ts.map +1 -1
  491. package/dist/config-store.js +87 -14
  492. package/dist/config-store.js.map +1 -1
  493. package/dist/cross-host-executor.d.ts +1 -1
  494. package/dist/cross-host-executor.js +2 -2
  495. package/dist/cross-host-executor.js.map +1 -1
  496. package/dist/daemon-lifecycle.d.ts +12 -11
  497. package/dist/daemon-lifecycle.d.ts.map +1 -1
  498. package/dist/daemon-lifecycle.js +283 -146
  499. package/dist/daemon-lifecycle.js.map +1 -1
  500. package/dist/daemon-start-lock.d.ts +9 -0
  501. package/dist/daemon-start-lock.d.ts.map +1 -0
  502. package/dist/daemon-start-lock.js +47 -0
  503. package/dist/daemon-start-lock.js.map +1 -0
  504. package/dist/front-door.d.ts.map +1 -1
  505. package/dist/front-door.js +8 -1
  506. package/dist/front-door.js.map +1 -1
  507. package/dist/index.d.ts +4 -0
  508. package/dist/index.d.ts.map +1 -1
  509. package/dist/index.js +3 -1
  510. package/dist/index.js.map +1 -1
  511. package/dist/lib/file-transfer.js +1 -1
  512. package/dist/lib/file-transfer.js.map +1 -1
  513. package/dist/lib/scope/scope-fs.js +2 -2
  514. package/dist/lib/scope/scope-fs.js.map +1 -1
  515. package/dist/lib/walk-consumption.d.ts +6 -0
  516. package/dist/lib/walk-consumption.d.ts.map +1 -0
  517. package/dist/lib/walk-consumption.js +78 -0
  518. package/dist/lib/walk-consumption.js.map +1 -0
  519. package/dist/local-origin.d.ts +3 -0
  520. package/dist/local-origin.d.ts.map +1 -0
  521. package/dist/local-origin.js +37 -0
  522. package/dist/local-origin.js.map +1 -0
  523. package/dist/read-view.d.ts +17 -0
  524. package/dist/read-view.d.ts.map +1 -0
  525. package/dist/read-view.js +17 -0
  526. package/dist/read-view.js.map +1 -0
  527. package/dist/shared-tui.d.ts +12 -0
  528. package/dist/shared-tui.d.ts.map +1 -0
  529. package/dist/shared-tui.js +37 -0
  530. package/dist/shared-tui.js.map +1 -0
  531. package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts +7 -9
  532. package/node_modules/@openrig/daemon/dist/adapters/tmux.d.ts.map +1 -1
  533. package/node_modules/@openrig/daemon/dist/adapters/tmux.js +7 -35
  534. package/node_modules/@openrig/daemon/dist/adapters/tmux.js.map +1 -1
  535. package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
  536. package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts +27 -0
  537. package/node_modules/@openrig/daemon/dist/daemon-shutdown.d.ts.map +1 -0
  538. package/node_modules/@openrig/daemon/dist/daemon-shutdown.js +84 -0
  539. package/node_modules/@openrig/daemon/dist/daemon-shutdown.js.map +1 -0
  540. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts +1 -0
  541. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.d.ts.map +1 -1
  542. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js +32 -23
  543. package/node_modules/@openrig/daemon/dist/domain/codex-thread-id.js.map +1 -1
  544. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts +2 -0
  545. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  546. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js +7 -28
  547. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js.map +1 -1
  548. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js +1 -1
  549. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  550. package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -1
  551. package/node_modules/@openrig/daemon/dist/domain/execution-view.js +24 -3
  552. package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -1
  553. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts +39 -0
  554. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
  555. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js +35 -0
  556. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
  557. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts +61 -0
  558. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.d.ts.map +1 -0
  559. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js +149 -0
  560. package/node_modules/@openrig/daemon/dist/domain/gateway/connections-projection.js.map +1 -0
  561. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts +3 -0
  562. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
  563. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js +3 -0
  564. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
  565. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
  566. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
  567. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js +44 -0
  568. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
  569. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +5 -8
  570. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  571. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js +5 -8
  572. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  573. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
  574. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  575. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js +35 -12
  576. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  577. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
  578. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  579. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  580. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  581. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +18 -0
  582. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  583. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js +63 -8
  584. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  585. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
  586. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
  587. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
  588. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
  589. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
  590. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  591. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js +28 -1
  592. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  593. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
  594. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
  595. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
  596. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
  597. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
  598. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
  599. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
  600. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
  601. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts +57 -0
  602. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
  603. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js +198 -0
  604. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js.map +1 -0
  605. package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts +14 -0
  606. package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts.map +1 -0
  607. package/node_modules/@openrig/daemon/dist/domain/health-context.js +93 -0
  608. package/node_modules/@openrig/daemon/dist/domain/health-context.js.map +1 -0
  609. package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts +106 -0
  610. package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts.map +1 -0
  611. package/node_modules/@openrig/daemon/dist/domain/health-detectors.js +392 -0
  612. package/node_modules/@openrig/daemon/dist/domain/health-detectors.js.map +1 -0
  613. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts +143 -0
  614. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
  615. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js +249 -0
  616. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js.map +1 -0
  617. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
  618. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
  619. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js +234 -0
  620. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
  621. package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts +45 -0
  622. package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts.map +1 -0
  623. package/node_modules/@openrig/daemon/dist/domain/health-policy.js +89 -0
  624. package/node_modules/@openrig/daemon/dist/domain/health-policy.js.map +1 -0
  625. package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts +237 -0
  626. package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts.map +1 -0
  627. package/node_modules/@openrig/daemon/dist/domain/health-projection.js +312 -0
  628. package/node_modules/@openrig/daemon/dist/domain/health-projection.js.map +1 -0
  629. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts +18 -0
  630. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.d.ts.map +1 -0
  631. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js +35 -0
  632. package/node_modules/@openrig/daemon/dist/domain/lifecycle-obligations.js.map +1 -0
  633. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  634. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
  635. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  636. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  637. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js +6 -1
  638. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  639. package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  640. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +1 -0
  641. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js.map +1 -1
  642. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts +1 -0
  643. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  644. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js +7 -4
  645. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  646. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts +7 -0
  647. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -1
  648. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js +133 -8
  649. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -1
  650. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +14 -0
  651. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  652. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +60 -5
  653. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
  654. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -1
  655. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js +1 -0
  656. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js.map +1 -1
  657. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts +5 -0
  658. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  659. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js +28 -0
  660. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
  661. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
  662. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
  663. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js +96 -0
  664. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
  665. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
  666. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  667. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js +8 -3
  668. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  669. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  670. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js +8 -1
  671. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  672. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  673. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +27 -11
  674. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  675. package/node_modules/@openrig/daemon/dist/domain/startup-proof.d.ts.map +1 -1
  676. package/node_modules/@openrig/daemon/dist/domain/startup-proof.js +10 -9
  677. package/node_modules/@openrig/daemon/dist/domain/startup-proof.js.map +1 -1
  678. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts +3 -1
  679. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.d.ts.map +1 -1
  680. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js +18 -0
  681. package/node_modules/@openrig/daemon/dist/domain/startup-resolver.js.map +1 -1
  682. package/node_modules/@openrig/daemon/dist/domain/startup-validation.d.ts.map +1 -1
  683. package/node_modules/@openrig/daemon/dist/domain/startup-validation.js +12 -1
  684. package/node_modules/@openrig/daemon/dist/domain/startup-validation.js.map +1 -1
  685. package/node_modules/@openrig/daemon/dist/domain/types.d.ts +16 -1
  686. package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
  687. package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
  688. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +9 -1
  689. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  690. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js +86 -12
  691. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  692. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
  693. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  694. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js +5 -0
  695. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  696. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts +1 -0
  697. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  698. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js +3 -0
  699. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  700. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts +4 -3
  701. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.d.ts.map +1 -1
  702. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js +22 -21
  703. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-escalation.js.map +1 -1
  704. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts +4 -3
  705. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.d.ts.map +1 -1
  706. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js +7 -6
  707. package/node_modules/@openrig/daemon/dist/domain/workflow-exception-router.js.map +1 -1
  708. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts +18 -0
  709. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.d.ts.map +1 -0
  710. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js +40 -0
  711. package/node_modules/@openrig/daemon/dist/domain/workflow-human-destination.js.map +1 -0
  712. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts +28 -3
  713. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  714. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js +134 -33
  715. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js.map +1 -1
  716. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts +4 -6
  717. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.d.ts.map +1 -1
  718. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js +7 -14
  719. package/node_modules/@openrig/daemon/dist/domain/workflow-role-context.js.map +1 -1
  720. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts +12 -3
  721. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  722. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js +124 -25
  723. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js.map +1 -1
  724. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts +2 -2
  725. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  726. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js +16 -0
  727. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  728. package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts +8 -0
  729. package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  730. package/node_modules/@openrig/daemon/dist/domain/workflow-types.js.map +1 -1
  731. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  732. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js +57 -24
  733. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
  734. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  735. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  736. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js +1 -0
  737. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  738. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts +1 -0
  739. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  740. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js +1 -0
  741. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js.map +1 -1
  742. package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts +2 -0
  743. package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts.map +1 -0
  744. package/node_modules/@openrig/daemon/dist/health-detectors-surface.js +2 -0
  745. package/node_modules/@openrig/daemon/dist/health-detectors-surface.js.map +1 -0
  746. package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts +2 -0
  747. package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts.map +1 -0
  748. package/node_modules/@openrig/daemon/dist/health-projection-surface.js +2 -0
  749. package/node_modules/@openrig/daemon/dist/health-projection-surface.js.map +1 -0
  750. package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
  751. package/node_modules/@openrig/daemon/dist/index.js +38 -95
  752. package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
  753. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  754. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js +4 -1
  755. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js.map +1 -1
  756. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts +1 -1
  757. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts.map +1 -1
  758. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts +5 -1
  759. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -1
  760. package/node_modules/@openrig/daemon/dist/routes/gateway.js +80 -22
  761. package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -1
  762. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts +3 -0
  763. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
  764. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js +47 -0
  765. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js.map +1 -0
  766. package/node_modules/@openrig/daemon/dist/routes/health.d.ts +3 -0
  767. package/node_modules/@openrig/daemon/dist/routes/health.d.ts.map +1 -0
  768. package/node_modules/@openrig/daemon/dist/routes/health.js +50 -0
  769. package/node_modules/@openrig/daemon/dist/routes/health.js.map +1 -0
  770. package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts +2 -0
  771. package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts.map +1 -1
  772. package/node_modules/@openrig/daemon/dist/routes/hosts.js +12 -5
  773. package/node_modules/@openrig/daemon/dist/routes/hosts.js.map +1 -1
  774. package/node_modules/@openrig/daemon/dist/routes/queue.d.ts.map +1 -1
  775. package/node_modules/@openrig/daemon/dist/routes/queue.js +4 -3
  776. package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
  777. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts +3 -1
  778. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.d.ts.map +1 -1
  779. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js +11 -5
  780. package/node_modules/@openrig/daemon/dist/routes/require-sender-identity.js.map +1 -1
  781. package/node_modules/@openrig/daemon/dist/routes/sessions.d.ts.map +1 -1
  782. package/node_modules/@openrig/daemon/dist/routes/sessions.js +95 -27
  783. package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
  784. package/node_modules/@openrig/daemon/dist/routes/workflow.d.ts.map +1 -1
  785. package/node_modules/@openrig/daemon/dist/routes/workflow.js +6 -1
  786. package/node_modules/@openrig/daemon/dist/routes/workflow.js.map +1 -1
  787. package/node_modules/@openrig/daemon/dist/server.d.ts +8 -0
  788. package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
  789. package/node_modules/@openrig/daemon/dist/server.js +10 -1
  790. package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
  791. package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
  792. package/node_modules/@openrig/daemon/dist/startup.js +35 -4
  793. package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
  794. package/node_modules/@openrig/daemon/package.json +13 -1
  795. package/package.json +1 -1
  796. package/tui/dist/commands/completion.d.ts +8 -0
  797. package/tui/dist/commands/completion.d.ts.map +1 -0
  798. package/tui/dist/commands/completion.js +37 -0
  799. package/tui/dist/commands/completion.js.map +1 -0
  800. package/tui/dist/commands/registry.d.ts +7 -1
  801. package/tui/dist/commands/registry.d.ts.map +1 -1
  802. package/tui/dist/commands/registry.js +48 -1
  803. package/tui/dist/commands/registry.js.map +1 -1
  804. package/tui/dist/connections/connections-model.d.ts +72 -0
  805. package/tui/dist/connections/connections-model.d.ts.map +1 -0
  806. package/tui/dist/connections/connections-model.js +64 -0
  807. package/tui/dist/connections/connections-model.js.map +1 -0
  808. package/tui/dist/daemon-client.d.ts +3 -0
  809. package/tui/dist/daemon-client.d.ts.map +1 -1
  810. package/tui/dist/daemon-client.js +5 -0
  811. package/tui/dist/daemon-client.js.map +1 -1
  812. package/tui/dist/detail.d.ts +3 -0
  813. package/tui/dist/detail.d.ts.map +1 -1
  814. package/tui/dist/detail.js +23 -0
  815. package/tui/dist/detail.js.map +1 -1
  816. package/tui/dist/execution/execution-model.d.ts +1 -1
  817. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  818. package/tui/dist/execution/execution-model.js +46 -170
  819. package/tui/dist/execution/execution-model.js.map +1 -1
  820. package/tui/dist/execution/workflow-model.d.ts +6 -0
  821. package/tui/dist/execution/workflow-model.d.ts.map +1 -0
  822. package/tui/dist/execution/workflow-model.js +219 -0
  823. package/tui/dist/execution/workflow-model.js.map +1 -0
  824. package/tui/dist/grammar.d.ts.map +1 -1
  825. package/tui/dist/grammar.js +1 -2
  826. package/tui/dist/grammar.js.map +1 -1
  827. package/tui/dist/health/health-model.d.ts +25 -0
  828. package/tui/dist/health/health-model.d.ts.map +1 -0
  829. package/tui/dist/health/health-model.js +323 -0
  830. package/tui/dist/health/health-model.js.map +1 -0
  831. package/tui/dist/hydrate.d.ts.map +1 -1
  832. package/tui/dist/hydrate.js +57 -9
  833. package/tui/dist/hydrate.js.map +1 -1
  834. package/tui/dist/input.d.ts +2 -0
  835. package/tui/dist/input.d.ts.map +1 -1
  836. package/tui/dist/input.js +30 -6
  837. package/tui/dist/input.js.map +1 -1
  838. package/tui/dist/main.js +47 -10
  839. package/tui/dist/main.js.map +1 -1
  840. package/tui/dist/render.d.ts +4 -0
  841. package/tui/dist/render.d.ts.map +1 -1
  842. package/tui/dist/render.js +150 -75
  843. package/tui/dist/render.js.map +1 -1
  844. package/tui/dist/sections.d.ts.map +1 -1
  845. package/tui/dist/sections.js +1 -0
  846. package/tui/dist/sections.js.map +1 -1
  847. package/tui/dist/socket-server.d.ts +4 -0
  848. package/tui/dist/socket-server.d.ts.map +1 -1
  849. package/tui/dist/socket-server.js +4 -0
  850. package/tui/dist/socket-server.js.map +1 -1
  851. package/tui/dist/state.d.ts +3 -1
  852. package/tui/dist/state.d.ts.map +1 -1
  853. package/tui/dist/state.js +58 -14
  854. package/tui/dist/state.js.map +1 -1
  855. package/tui/dist/stylize.js +3 -3
  856. package/tui/dist/stylize.js.map +1 -1
  857. package/tui/dist/time.d.ts +9 -0
  858. package/tui/dist/time.d.ts.map +1 -0
  859. package/tui/dist/time.js +42 -0
  860. package/tui/dist/time.js.map +1 -0
  861. package/tui/dist/types.d.ts +126 -2
  862. package/tui/dist/types.d.ts.map +1 -1
@@ -0,0 +1,331 @@
1
+ # Agent-operated System Health diagnosis
2
+
3
+ System Health can give a responsible agent one durable investigation packet when
4
+ a configured detector needs interpretation. The packet preserves the finding,
5
+ policy version, evidence, and current authority documents. It invites the agent
6
+ to investigate beyond that selection, including its own contribution. It does
7
+ not declare a pathology or perform corrective actions.
8
+
9
+ ## Enable a bounded diagnosis loop
10
+
11
+ ```sh
12
+ rig health policy --json > effective-policy.json
13
+ jq '.policy' effective-policy.json > health-policy.json
14
+ # Edit health-policy.json: diagnosis.enabled=true and diagnosis.owner=<seat@rig>.
15
+ rig health policy --file health-policy.json
16
+ rig health diagnose # preview; no writes or wakes
17
+ rig health diagnose --apply # evaluate now and apply admitted actions
18
+ rig health diagnosis list
19
+ rig health diagnosis show <qitem-id>
20
+ ```
21
+
22
+ `diagnosis list` and `diagnosis show` default to summaries in both text and
23
+ JSON. The detailed text summary shows queue state, owner, blocker, disposition,
24
+ uncertainty, finding identity and authority references. Summary JSON also keeps
25
+ the ceremony basis and current receipt identities. It keeps its object/array
26
+ shape and adds `readView`: `complete`, `omittedFields` (paths,
27
+ JSON byte counts and array counts), `fullJsonBytes`, and the exact `fullCommand`.
28
+ Packet copies, authority contents, evidence arrays and the diagnostic receipt ledger
29
+ are omitted explicitly. Current workflow-receipt envelopes remain, with
30
+ `evidenceIdentity` carrying recognized cut/candidate, verdict and evidence-reference
31
+ strings; their opaque evidence is omitted. These identity labels do not validate
32
+ a receipt. A summary is not the complete evidence. Byte counts describe
33
+ compact JSON serialization without the trailing newline, not model token counts.
34
+
35
+ For investigation or existing consumers that need the former complete JSON:
36
+
37
+ ```sh
38
+ rig health diagnosis show <qitem-id> --full --json > diagnosis.json
39
+ rig health diagnosis list --full --json > diagnoses.json
40
+ ```
41
+
42
+ `--full` without `--json` prints the complete record as formatted JSON. These
43
+ expansions may be large. Plain `--json` no longer includes all evidence fields;
44
+ migrate consumers of those fields to `--full --json`. HTTP API responses and
45
+ mutation-result JSON are unchanged. Full context remains necessary before an
46
+ agent acts on a diagnosis; the generated investigation packet names that command.
47
+
48
+ The daemon checks enabled policy once per minute. `health policy` reports whether
49
+ that check is scheduled and its last result, including errors. Ordinary `health`
50
+ list/explain commands remain observational. Diagnosis defaults to disabled;
51
+ ceremony amplification is the only default diagnosis trigger. A continuing
52
+ episode keeps one qitem, receives at most one additional presentation by default,
53
+ and shares an owner cooldown across episodes (one hour by default). A disposition
54
+ stops re-presentation. Disabling policy stops automatic admission and presentation.
55
+ Ownership changes do not silently reroute existing occurrences.
56
+ Outside a managed seat, name the writer with `rig health --actor <name> ...`.
57
+ Managed-seat transport identity takes precedence over that declared name.
58
+ Only the occurrence's assigned owner may record its disposition or request human
59
+ notification. Other agents can advise the owner; a policy-owner change does not
60
+ grant custody of existing occurrences. Writes retain the sender's identity
61
+ provenance on the queue transition.
62
+
63
+ Policy controls detector enablement, ceremony/review/wake thresholds, source
64
+ observation window and freshness, diagnostic owner, cooldown, re-presentation
65
+ bound, and human-escalation conditions. Edit plain JSON and apply it with the
66
+ command; unknown keys and invalid values refuse without changing the policy.
67
+ Applied proposals and their predecessors are retained under the configured
68
+ OpenRig home in `health/policy-history/`. The effective version also includes
69
+ the existing `health.context_pressure.warning_percent` and `critical_percent`
70
+ settings, which remain configurable with `rig config`. Their defaults are 95
71
+ and 99. CLI/TUI finding explanations show the policy version used.
72
+
73
+ ## Passive ceremony diagnosis
74
+
75
+ Ordinary queue activity can admit a diagnosis without a health checkpoint.
76
+ The source discovers declared handoff families touched in the observation window,
77
+ uses their explicit `mission:` / `slice:` tags, and collects exact transition IDs,
78
+ normal project/mission/slice authority, progress and proof references, and workflow
79
+ closure evidence. It never interprets Markdown or counts proof files, approvals,
80
+ C1 pairing, commits, tests, or terminal rows as accepted product outcomes.
81
+
82
+ At the configured traffic threshold (20 transitions by default), a fresh,
83
+ complete family becomes `ceremony.stage=needs-diagnosis`, `status=indeterminate`,
84
+ and `severity=info`. CLI/TUI call this **needs diagnosis**, not a confirmed
85
+ warning. Enabled diagnosis policy admits one bounded packet even though the
86
+ product denominator is unknown. Ordinary unavailable/stale detector records
87
+ remain ineligible. Diagnosis and human-notification traffic are excluded from
88
+ the numerator and cannot recursively generate another investigation.
89
+
90
+ The agent reads the actual evidence, including beyond the supplied references,
91
+ and resolves the semantic outcome granularity and consequence boundary. Use the
92
+ existing disposition command with an optional `progress` result:
93
+
94
+ ```json
95
+ {
96
+ "basis": "<current finding.ceremony.basis from diagnosis show>",
97
+ "conclusion": "established",
98
+ "outcomes": [{"id": "<distinct meaningful outcome>", "observedAt": "<time inside the measured interval>", "evidenceRefs": ["<normal proof path>"]}],
99
+ "boundedAuthority": false,
100
+ "boundary": "<selected SDLC boundary and why this outcome census covers the interval>",
101
+ "evidenceRefs": ["<inspected authority/evidence path>"],
102
+ "missingFacts": []
103
+ }
104
+ ```
105
+
106
+ Put this object in `progress` beside the existing verdict/steering/uncertainty
107
+ fields. `established` affirms a complete census for the exact interval; an empty
108
+ outcome list affirms zero outcomes, not failed discovery. `false-positive`
109
+ clears the suspicion without inventing a denominator when no missing facts remain.
110
+ A false-positive assessment that still names missing facts stays indeterminate
111
+ and does not close the episode interval. `indeterminate` supplies
112
+ no outcomes and names the missing fact in `missingFacts`. Required references
113
+ must resolve inside the workspace; extra evidence beyond the initial packet is
114
+ allowed. The receipt retains the actual actor, timestamp, identity provenance,
115
+ source basis, and evidence hashes. A changed basis refuses a stale submission.
116
+ Later evidence changes make confirmation indeterminate rather than preserving
117
+ a false ratio. Outcome meaning remains attributed agent judgment.
118
+
119
+ Only an established, current assessment permits a ratio. The projector computes
120
+ it from the distinct listed outcomes and exact transitions; a qualifying ratio
121
+ with no bounded-authority counter-signal becomes `confirmed` / `active` /
122
+ `warning`. Proportionate or bounded-authority results clear the episode. An
123
+ explicitly cleared assessment marks the end of that interval; sufficient later
124
+ traffic in the same family starts a new episode. Repeated reads never advance
125
+ these boundaries. One occurrence and the existing owner cooldown apply to each
126
+ episode; a disposition stops repeated requests.
127
+
128
+ This bounded source covers explicitly tagged mission work: at most 2,000 touched
129
+ qitems, 200 roots, 1,000 members / 10,000 transitions per family, 200 workflow
130
+ receipts, 200 declared slices, and 100 proof files per selected slice. Overflow
131
+ refuses visibly. Context files are bounded to 64 KiB. A lineage beginning before
132
+ the retained window remains indeterminate, with the missing interval named.
133
+ Untagged or ambiguously mission-tagged work is outside this source's coverage;
134
+ absence is not health. The packet includes missing context references so an agent
135
+ can name or repair its own knowledge gap without manufacturing source truth.
136
+
137
+ ## Optional outcome-boundary checkpoint
138
+
139
+ Live queue transitions do not, on their own, prove product outcomes or the
140
+ authority for a bounded operation. At a meaningful outcome boundary, the agent
141
+ holding those facts may submit a census for one qitem lineage and time window. Set `includeHandoffs: true`
142
+ to follow its declared handoff descendants; this is the normal path for work that
143
+ passed between seats. The root alone usually misses the review/return traffic.
144
+ Prefer the existing proof/progress/outcome artifact as evidence. Do not add a
145
+ checkpoint to each edit or message. This is a fallback for explicitly supplied evidence;
146
+ normal activity uses passive diagnosis above. An existing checkpoint owns its
147
+ lineage so the passive source does not create a duplicate episode.
148
+
149
+ ```json
150
+ {
151
+ "schema": "openrig.health-checkpoint/v0alpha1",
152
+ "lineageQitemId": "<existing-product-qitem>",
153
+ "includeHandoffs": true,
154
+ "scope": {"type": "slice", "projectId": "<project>", "missionId": "<mission>", "sliceId": "<slice>"},
155
+ "startedAt": "<ISO timestamp>",
156
+ "observedAt": "<ISO timestamp>",
157
+ "transitionIds": "derive",
158
+ "productOutcomes": [
159
+ {"id": "<outcome-id>", "observedAt": "<ISO timestamp>", "evidenceRef": "<proof-artifact-path>"}
160
+ ],
161
+ "productCensusRef": "<artifact establishing the complete outcome census for this lineage/window>",
162
+ "boundedAuthority": {"applies": false, "evidenceRef": "<bounded-effect-authority assessment>"},
163
+ "sdlc": {"expectation": "<selected components and review boundary>", "evidenceRef": "<authority for that selection>"},
164
+ "authorityPaths": {
165
+ "project": ["<current project SPEC and project.yaml paths>"],
166
+ "mission": ["<current mission SPEC and mission.yaml paths>"],
167
+ "slice": ["<current slice SPEC and slice.yaml paths>"]
168
+ }
169
+ }
170
+ ```
171
+
172
+ ```sh
173
+ rig queue transitions <existing-product-qitem>
174
+ rig health checkpoint --file checkpoint.json
175
+ rig health --instance --json
176
+ ```
177
+
178
+ `transitionIds: "derive"` asks the existing submission command to collect the
179
+ complete census once, then retain the exact IDs in the checkpoint and its audit.
180
+ The author supplies outcomes and their meaning, not a row-by-row bookkeeping
181
+ ritual. An explicit ID array is also supported for sealed replay or a
182
+ caller-supplied census. Later reads never silently extend either form.
183
+
184
+ The daemon verifies that transition IDs are the complete census for that exact
185
+ qitem and window, including all handoff descendants when selected. It does not
186
+ infer shared lineage from similar names or seat names. The complete transition
187
+ census may be assembled from the queue ledger; omitting a descendant refuses.
188
+ Explicit mission/slice tags on counted family members must match the checkpoint
189
+ scope; untagged descendants inherit the declared handoff relationship.
190
+ The bound is 1,000 linked qitems and 10,000 transitions; an oversized family
191
+ refuses rather than silently sampling it. Independent roots are separate censuses. It counts
192
+ those transitions and the distinct, evidenced product outcomes, and explains
193
+ both sides of the ratio, the literal gate-tag breakdown, and the selected SDLC
194
+ expectation. These are custody/status transitions, not messages or judgments
195
+ about whether each review was useful. A product outcome is a distinct evidenced
196
+ user-visible result; commits, test runs, returns and fixes needed to achieve
197
+ that same promised result do not each create another denominator unit. The
198
+ census must state its outcome granularity and coverage. The same granularity
199
+ must be used for positive and proportionate controls. An empty outcome list requires the same census evidence
200
+ as a nonempty one. An unavailable product census is a null denominator: the explanation says
201
+ no ratio was computed, rather than silently substituting zero or one.
202
+ `boundedAuthority.applies=null` means unknown, never false.
203
+ Missing SDLC selection (including an older checkpoint without `sdlc`) makes a
204
+ qualifying signal indeterminate. Cite the authority effective for the measured
205
+ window, not a later correction. The ratio flags an inspection; an agent compares
206
+ it with that selection and consequence evidence before diagnosing amplification.
207
+ Product-outcome meaning, selected SDLC and bounded-effect authority remain attributed authored
208
+ evidence; they are not proven merely by ingestion. Findings label that source
209
+ and use medium confidence. Required evidence references must resolve to nonempty,
210
+ readable local files (at most 1 MiB) inside the configured workspace. Absolute
211
+ paths and paths relative to that workspace are supported; other reference kinds
212
+ (including section addresses) remain unavailable. Resolved evidence records carry
213
+ a SHA-256; missing files and symlink escapes remain attributed claims but force
214
+ indeterminate source truth and cannot admit a diagnosis. Availability is checked
215
+ again on every projection; presence does not certify the artifact's meaning.
216
+ This authority assessment is distinct from the
217
+ project/mission/slice documents supplied to the diagnosing agent. Embedded
218
+ context is limited to canonical `SPEC.md` and project/mission/slice YAML files
219
+ at their corresponding work-tree nodes, at most 64 KiB each. Other paths and
220
+ symlink aliases are reported unavailable without embedding their contents.
221
+ Each entry retains its authority level. Project files must be at the configured
222
+ project root; mission files must belong to the finding's mission; slice files
223
+ must also have a sibling `SPEC.md` declaring the finding's slice ID (and matching
224
+ mission when declared). A sibling slice or another mission is unavailable even
225
+ when its filename is canonical. Without mission/slice scope, those authority
226
+ levels remain unavailable.
227
+
228
+ Checkpoints are audited under `health/checkpoints/history/`; replaying identical
229
+ bytes writes nothing. Later censuses advance observation time. High-to-high
230
+ observations retain episode identity; a clearing checkpoint and later recurrence
231
+ produce a cleared episode and a new ID. Reads never update checkpoint state.
232
+ Stale, unavailable, contradictory, clipped, or missing evidence cannot admit a
233
+ diagnosis. No findings is not a healthy assertion. The current source bounds are
234
+ 200 lineages, 10,000 transitions and 1,000 product outcomes per checkpoint, and
235
+ 1 MiB per input. Unsupported or invalid sources fail visibly.
236
+
237
+ ## Investigate and record a disposition
238
+
239
+ Read the exact evidence and the current authority. Trace where the pattern
240
+ began, test whether your own actions amplified it, and distinguish another seat
241
+ or stale guidance. A second opinion is optional. The packet is a starting point,
242
+ not a closed evidence set.
243
+
244
+ ```json
245
+ {
246
+ "verdict": "insufficient evidence",
247
+ "causalStart": null,
248
+ "steering": "Inspect the product-outcome census before changing work.",
249
+ "uncertainty": "The cited artifact does not yet establish the denominator.",
250
+ "evidenceRefs": ["<inspected-evidence-path>"]
251
+ }
252
+ ```
253
+
254
+ ```sh
255
+ rig health diagnosis record <qitem-id> --file disposition.json
256
+ rig health diagnosis show <qitem-id>
257
+ ```
258
+
259
+ Verdicts are `false positive`, `early real condition`, `established pathology`,
260
+ `insufficient evidence`, or `resolved`. The disposition is retained on the
261
+ diagnostic qitem's transitions and visible in CLI output and the queue. Recording
262
+ it does not close or alter the underlying product work. Changed dispositions
263
+ retain earlier testimony; exact replay is a no-op. A detector clearing is
264
+ recorded separately from an agent declaring the problem resolved.
265
+
266
+ ## Human delivery
267
+
268
+ An assigned agent may explicitly request human escalation:
269
+
270
+ ```sh
271
+ rig health diagnosis notify <qitem-id>
272
+ ```
273
+
274
+ It requires a registered `human.address` and an admitted `human.conditions`
275
+ entry (`critical`, `established pathology`, or `confirmed ceremony`). The connector must be enabled
276
+ and pass live readiness checks. The current connector implementation verifies
277
+ Slack scopes and channel membership; the diagnosis service itself uses a
278
+ transport-neutral readiness port. The existing gateway owns delivery policy
279
+ and posting. One human request is retained per episode, and its actual delivery
280
+ outcome comes from queue receipts. `pending` is never presented as `posted`.
281
+ Inspect the returned qitem's transitions for the connector receipt. No periodic
282
+ health check performs remediation. With `human.conditions=["confirmed ceremony"]`,
283
+ the enabled diagnosis loop automatically requests one notification for an active,
284
+ confirmed passive ceremony episode. Provisional, indeterminate, cleared, and stale
285
+ episodes never notify. The existing readiness/gateway path owns the effect; an
286
+ unready connector leaves a visible, deduplicated readiness receipt. Later checks
287
+ may retry readiness but never create a second request for an existing episode.
288
+ Read-only list/explain/preview commands never send.
289
+
290
+ ## Read-only consumers and calibration
291
+
292
+ A consumer such as a later Herder plugin reads `GET /api/health` and
293
+ `GET /api/health/:findingId`, or the identical `rig health --json` and
294
+ `rig health explain <finding-id> --json` records. The record schema is
295
+ `openrig.health/v0alpha1`; list metadata is `openrig.health-list/v0alpha1`.
296
+ Preserve ID, status, policy version, time window, freshness, evidence and
297
+ threshold together. There is no health score or implicit remediation authority.
298
+ The default list excludes cleared records; explicit cleared queries and exact
299
+ ID reads retain them while the source can still project them. A recurrence after
300
+ clear receives a new episode ID. This is an on-demand projection, not a history
301
+ store; a detail 404 does not prove resolution.
302
+
303
+ Lists default to 100 and cap at 200, with `total` and `truncated` explicit.
304
+ Ceremony findings take precedence before the cap so context pressure cannot
305
+ hide the primary signal. Narrow a truncated query; do not certify the unseen
306
+ remainder. Empty is not healthy, unavailable is not empty, and an indeterminate
307
+ finding cannot authorize a diagnostic occurrence except the explicit, fresh
308
+ `needs-diagnosis` passive candidate described above. An existing occurrence may
309
+ receive one status-observation receipt when its source becomes indeterminate;
310
+ that does not create another obligation or wake.
311
+
312
+ Live sources supply context pressure, passive ceremony candidates and attributed
313
+ assessments, plus optional ceremony checkpoints.
314
+ Behavioral and epistemic categories intentionally have no detector. Review
315
+ carousel, redundant wakes, stale directives and scope admission have typed
316
+ evaluators and replay controls, but the live source does not infer their missing
317
+ candidate-change, rescue, directive-conflict or admission-authority facts.
318
+ Untagged work and undeclared relationships remain outside passive ceremony
319
+ coverage; normal tagged work no longer requires a special outcome census. A small lineage below the configured threshold may still deserve an
320
+ agent's inspection; the threshold is a conservative admission rule, not a
321
+ definition of good process.
322
+
323
+ `packages/daemon/scripts/probe-health-calibration.mjs` accepts a sealed replay
324
+ export and output directory after daemon/CLI/TUI builds. It drives the compiled
325
+ checkpoint/list/explain/diagnosis commands, renders the TUI, retains exact
326
+ records and screens, compares database and filesystem effects around reads,
327
+ and measures query cost against declared budgets. Every write uses a disposable
328
+ home and database. Historical expected states must be grounded independently
329
+ of the detector formula; incomplete outcome evidence is an indeterminate case,
330
+ not a denominator of one. A calibration report describes its selected corpus
331
+ and remaining blind spots, not a fleet-wide false-positive rate.
@@ -196,6 +196,11 @@ The layers compose from surfaces that already exist; no new mechanism is require
196
196
  project/mission/role/task → coverage map; `guided` keeps the fuller authored
197
197
  walk separately selectable. Both select from the same source graph.
198
198
  - Position: the `--rig`/`--seat` grant serves the seat's lessons and recap.
199
+ - Runtime: `context profile` and `context work-install` both accept
200
+ `--runtime claude-code` (alias `claude`) or `--runtime codex`. Profile
201
+ composition retains the `claude` manifest/output key; skill projection
202
+ retains `claude-code`. Profile defaults from `OPENRIG_RUNTIME`, otherwise
203
+ Claude; work-install requires the flag to inspect or apply skills.
199
204
  - Delivery: `rig walk <seat> --through-profile world-public --profile <profile>
200
205
  --situation <situation> ...` applies the already-inspected profile;
201
206
  `--through <files> --pace <interval>` remains the raw byte-walk path. Paced
@@ -52,9 +52,10 @@ mission YAML to change.
52
52
  implementation momentum.
53
53
  - **Skip when:** the current agent can independently state the user outcome,
54
54
  starting candidate, and boundaries from primary sources.
55
- - **Input:** world install, mission/slice YAML, and the addresses it names.
56
- - **Action:** start or clear a session, load only the selected context, and
57
- derive current identity and source state.
55
+ - **Input:** identity, project/mission/slice YAML, and the selected addresses.
56
+ - **Action:** load the selected context into a fresh session, or reorient the
57
+ current session from live sources. Clearing a seat requires its separate
58
+ continuity decision; selecting this component does not authorize it.
58
59
  - **Output:** a one-paragraph readiness statement naming role, user outcome,
59
60
  starting candidate, and boundaries.
60
61
  - **Stop:** do not reconstruct old queue lore merely because it exists.
@@ -213,7 +214,8 @@ possible explanation.
213
214
 
214
215
  ## Composition rules
215
216
 
216
- 1. `mission.yaml` may declare the catalog and mission defaults.
217
+ 1. `project.yaml` may declare project defaults; `mission.yaml` may select the
218
+ catalog and override those defaults for the mission.
217
219
  2. `slice.yaml` selects or overrides the components for that slice.
218
220
  3. Edges are explicit data. Array order is presentation, not dependency.
219
221
  4. Select the fewest components that honestly fit the work.
@@ -290,16 +292,52 @@ build.minimal-gap → qa.public-journey → qa.installed-smoke?`
290
292
  The recurrence admits one causal descent. It does not authorize a general
291
293
  platform rewrite.
292
294
 
295
+ ## Resolve the selected path
296
+
297
+ On a fresh start, restore, or new assignment:
298
+
299
+ 1. Derive identity with `rig whoami --json`. Resolve the project's work root from
300
+ the assignment/workspace binding; `rig config get workspace.root` locates the
301
+ configured work tree, which may differ from the seat's code checkout.
302
+ 2. Read `project.yaml` and its project-authority context. Follow its mission root
303
+ to the assigned `mission.yaml`, then its composition ref to the active
304
+ `slice.yaml`. Read the current intent and acceptance files those records name.
305
+ Do not choose a mission from an old onboarding packet or a folder's recency.
306
+ 3. Resolve SDLC selection in order: project defaults, mission defaults, then the
307
+ active slice's explicit selection/override. A narrower explicit selection
308
+ replaces the broader component list; it does not append every ancestor's
309
+ gates. Follow an addressed wave map for its membership, review model and
310
+ boundary; an explicit named-slice exception applies only to that slice.
311
+ 4. Read only the selected components and additional addressed context. Repository
312
+ references resolve from the code repository root; installed references from
313
+ `$OPENRIG_HOME/reference`; context-pack refs use `rig context get`. For a
314
+ Markdown `#section` address, use `loading-addressable-markdown` rather than
315
+ loading an entire unrelated manual. Expand the investigation when the task's
316
+ evidence requires it: the address map is a starting point, not a search limit.
317
+ 5. State briefly the user outcome, current role, candidate, selected path and
318
+ next completion boundary. No composition means the light Part A flow in
319
+ `sdlc-conventions.md#a1-the-flow-in-one-pass`. Do not author a
320
+ composition merely to have one, or mint QA, guard, review, lock or proof gates
321
+ because those roles exist. On a tiny change the builder can verify the whole
322
+ outcome; independent review happens only when selected.
323
+
324
+ A missing referenced file is a named gap, not evidence of no selection. Inspect
325
+ or ask the owner to resolve a consequential ambiguity; do not silently fall back
326
+ from an explicitly selected rigorous path. An owner can explicitly amend the
327
+ selection for named work; record that decision at the work's authority. Current
328
+ command/source reality outranks stale YAML as a factual claim: record the
329
+ mismatch, re-derive, and preserve the distinction between scope and observed state.
330
+
331
+ Startup overlays, role guidance, available seats, old mode names and historical
332
+ packets cannot add steps to this selection. They supply capabilities. Skills load
333
+ when the selected work calls for them; there is no quiz, per-file ACK gate or
334
+ universal preloading requirement.
335
+
293
336
  ## Blank-agent start
294
337
 
295
- An agent with only the base world install should:
296
-
297
- 1. Read `mission.yaml`, then the active `slice.yaml`.
298
- 2. Resolve the catalog address and only the additional addresses those files
299
- name.
300
- 3. State: **my role; the user outcome; the starting candidate; the
301
- boundaries**.
302
- 4. Follow the selected component edges and their stop conditions.
303
- 5. If no composition exists, use Part A in `mission-slice-sop`.
304
- 6. If current reality contradicts the YAML, stop treating the YAML as fact,
305
- record the discrepancy, and re-derive from the public journey and source.
338
+ Follow **Resolve the selected path** above before choosing work. For an authored
339
+ wave, build and verify each slice with its local discipline and integrate serially
340
+ where required; request independent review once when the authored wave boundary
341
+ arrives. Do not start per-slice reviews while waiting. A separately selected
342
+ rigorous slice retains its named checks. Review findings justify bounded repairs,
343
+ not an automatic increase in process for the next round.
@@ -0,0 +1,82 @@
1
+ schema: openrig.project/v0alpha1
2
+ kind: project
3
+ metadata: { id: example }
4
+ missions: { root: missions }
5
+ lifecycle:
6
+ profile: release-boundary-v0
7
+ profiles:
8
+ release-boundary-v0:
9
+ required_steps:
10
+ - mission-outcome
11
+ - exact-release-candidate
12
+ - capability-delta
13
+ - exact-cut-substance
14
+ - release-verification
15
+ - git-canonicalization
16
+ - public-release
17
+ - parent-adoption
18
+ - record-shipped
19
+ - release-boundary
20
+ workflow:
21
+ entry: { role: orchestrator }
22
+ roles:
23
+ orchestrator: { preferred_targets: [orch@example] }
24
+ steps:
25
+ - id: mission-outcome
26
+ actor_role: orchestrator
27
+ depends_on: []
28
+ objective: Judge the mission's promised outcomes against retained evidence; name remaining gaps.
29
+ allowed_exits: [handoff, waiting, failed]
30
+ - id: exact-release-candidate
31
+ actor_role: orchestrator
32
+ depends_on: [mission-outcome]
33
+ objective: Establish the exact candidate and tree to which subsequent receipts apply.
34
+ allowed_exits: [handoff, waiting, failed]
35
+ - id: capability-delta
36
+ actor_role: orchestrator
37
+ depends_on: [exact-release-candidate]
38
+ objective: Reconcile the shipped capability description with this candidate's actual behavior.
39
+ allowed_exits: [handoff, waiting, failed]
40
+ - id: exact-cut-substance
41
+ actor_role: orchestrator
42
+ depends_on: [capability-delta]
43
+ objective: Obtain and judge independent substance admission for the exact release cut.
44
+ allowed_exits: [handoff, waiting, failed]
45
+ - id: release-verification
46
+ actor_role: orchestrator
47
+ depends_on: [exact-cut-substance]
48
+ objective: Judge privacy, package shape, conventions and mirrors, builds, tests, and clean-tree evidence for the exact admitted release candidate.
49
+ allowed_exits: [handoff, waiting, failed]
50
+ - id: git-canonicalization
51
+ actor_role: orchestrator
52
+ depends_on: [release-verification]
53
+ objective: Obtain the authorized canonical Git identity and reconcile it with the verified candidate.
54
+ allowed_exits: [handoff, waiting, failed]
55
+ - id: public-release
56
+ actor_role: orchestrator
57
+ depends_on: [git-canonicalization]
58
+ objective: Obtain publication authorization and the release owner's exact public artifact receipt.
59
+ allowed_exits: [handoff, waiting, failed]
60
+ - id: parent-adoption
61
+ actor_role: orchestrator
62
+ depends_on: [public-release]
63
+ objective: Obtain separately authorized parent adoption and judge its effect receipt.
64
+ allowed_exits: [handoff, waiting, failed]
65
+ - id: record-shipped
66
+ actor_role: orchestrator
67
+ depends_on: [parent-adoption]
68
+ objective: Record durable shipped truth after judging ceremony receipts; the post-release boundary follows.
69
+ allowed_exits: [handoff, waiting, failed]
70
+ - id: release-boundary
71
+ actor_role: orchestrator
72
+ depends_on: [record-shipped]
73
+ objective: >-
74
+ After the release ceremony, author one attributed disposition record
75
+ covering seat renewal and re-prime, memory distillation, destination
76
+ queue sweep, substrate teardown or retention, board freeze and clean-box
77
+ baseline, capability-delta absorption and expiry, and packaged-product
78
+ discoverability. These are agent-judged guides, not seven daemon gates.
79
+ Inspect beyond this packet when useful. Record reasoned not-applicable
80
+ or deferred dispositions and wait on live dependencies. Finish after
81
+ this boundary when no successor is authored.
82
+ allowed_exits: [done, waiting, failed]
@@ -52,6 +52,11 @@ playbook.
52
52
 
53
53
  ## 4. Substrate — teardown as its own atom
54
54
 
55
+ - Retain the current release and the immediately previous release. At a boundary
56
+ for release N, worktrees and other release-scoped substrate from N-2 and older
57
+ are eligible for cleanup. Eligibility is not permission to discard unique dirty
58
+ bytes: archive or otherwise disposition those first. Identify live `main` and
59
+ runtime state by their actual refs and identity, never by a stale directory name.
55
60
  - Prune worktrees; remove session-scoped scratch trees; verify merged branches
56
61
  deleted (merge receipts authorize).
57
62
  - Scratch homes and scenario roots in temp directories: swept.
@@ -343,12 +343,51 @@ Startup blocks can appear at three levels: rig, pod, and member. They are merged
343
343
 
344
344
  | Field | Type | Required | Default | Description |
345
345
  |-------|------|----------|---------|-------------|
346
- | `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`. Note: `shell` is explicitly NOT supported in v1. |
347
- | `value` | string | yes | — | The command or text to send. |
348
- | `phase` | string | no | `after_files` | When to execute. One of: `after_files` (after startup files are delivered), `after_ready` (after harness readiness check passes). |
346
+ | `type` | string | yes | — | Action type. One of: `slash_command`, `send_text`, `startup_proof`. Note: `shell` is explicitly NOT supported in v1. |
347
+ | `value` | string | yes | — | Command/text to send, or `authenticated` / `none` for `startup_proof`. |
348
+ | `phase` | string | no | `after_files` | When to execute text/commands. One of: `after_files` (after startup files are delivered), `after_ready` (after harness readiness check passes). Proof selection is resolved before projection regardless of phase. |
349
349
  | `idempotent` | boolean | yes | — | Whether this action is safe to replay on restore. **Required field.** Non-idempotent actions must NOT include `restore` in `applies_on`. |
350
350
  | `applies_on` | string[] | no | `[fresh_start, restore]` | When this action runs. Subset of: `fresh_start`, `restore`. |
351
351
 
352
+ ### Startup proof selection
353
+
354
+ Startup adds no orientation exercise by default. To select the authenticated
355
+ startup challenge, declare an action in an agent, profile, rig, pod, member, or
356
+ operator startup block:
357
+
358
+ ```yaml
359
+ startup:
360
+ actions:
361
+ - type: startup_proof
362
+ value: authenticated
363
+ idempotent: true
364
+ ```
365
+
366
+ Use `value: none` in a later layer to select lean startup explicitly. The last
367
+ applicable declaration wins in agent → profile → rig → pod → member → operator
368
+ order. Culture contributes files, not a proof selection. With no applicable
369
+ declaration, the result is `none`; the number of startup files never selects
370
+ proof. Invalid values and non-idempotent proof declarations fail validation,
371
+ including declarations overridden later. These actions declare policy and are
372
+ never typed into a terminal.
373
+
374
+ An authenticated selection challenges only a fresh or fresh-fallback managed
375
+ agent launch. Resumed, forked, rebuilt, and adopted sessions receive no new
376
+ challenge; terminal nodes never receive one. `applies_on` follows the requested
377
+ startup context, so a fresh fallback during restore uses `restore` selections.
378
+ Keep the default `[fresh_start, restore]` to cover both fresh launch paths.
379
+
380
+ Identity delivery, projection, readiness, and ordinary startup actions still
381
+ run. `startup_status: ready` means startup completed, while `oriented: missing`
382
+ means a selected proof awaits authenticated submission. Omission/`none` yields
383
+ `oriented: n-a` on a new fresh launch and retires an older challenge without
384
+ deleting its audit history. Retirement follows successful harness launch,
385
+ before readiness checks, so attention, timeout, or a readiness exception cannot
386
+ retain the preceding proof. A replacement that fails to launch does not retire
387
+ the current proof; resume/adoption also preserves existing proof history.
388
+ The effective selection is recorded on `node.startup_pending`; actions are
389
+ persisted in startup context for restore and fresh relaunch.
390
+
352
391
  ---
353
392
 
354
393
  ## Services Block
@@ -477,7 +516,7 @@ These rules are enforced by the validator. A spec that violates any of these wil
477
516
  19. Each wait target must define exactly one of: `service`, `url`, `tcp`.
478
517
  20. `condition` is only valid on `service` targets and must be `healthy`.
479
518
  21. Startup file `delivery_hint` must be one of: `auto`, `guidance_merge`, `skill_install`, `send_text`.
480
- 22. Startup action `type` must be one of: `slash_command`, `send_text`. (`shell` is explicitly rejected.)
519
+ 22. Startup action `type` must be one of: `slash_command`, `send_text`, `startup_proof`. (`shell` is explicitly rejected.) Proof selection requires `value: authenticated` or `none` and `idempotent: true`.
481
520
  23. Startup action `phase` must be one of: `after_files`, `after_ready`.
482
521
  24. Startup action `idempotent` is a required boolean.
483
522
  25. Non-idempotent actions must not include `restore` in `applies_on`.
@@ -68,10 +68,12 @@ intent (what is this for, what does done look like)
68
68
  → hand off (rig queue handoff) or stop
69
69
  ```
70
70
 
71
- One full-breadth review at the end, not per increment. Bring work when it is **done**. The human
72
- should almost never see something that doesn't match what was planned — QA catches mismatches and
73
- kicks them back. When the human looks, they map intent → plan → delivered at a glance, mostly by
74
- scanning screenshots down a single column, and give the final 1% approval.
71
+ Verify the whole outcome at completion, not through a review chain per increment.
72
+ For a tiny change the builder may hold this check. Independent QA/review runs only
73
+ when selected by the project/mission/slice composition or an explicit owner
74
+ assignment; for a wave, at its authored boundary. Available roles never add gates.
75
+ The authority lookup is `product-journey-sdlc.md#resolve-the-selected-path`.
76
+ Bring work with evidence that its promised user outcome actually works.
75
77
 
76
78
  For a release mission, `mission.yaml` also names the Git strategy before build
77
79
  work starts: the branch/ref that is cumulative integration truth, its base, and
@@ -1,6 +1,6 @@
1
1
  # Role: Conveyor Planner
2
2
 
3
- You are the planning station for the `conveyor` starter rig. Your job is to
3
+ You are a reusable planning station for the selected rig. Your job is to
4
4
  convert an accepted work packet into a bounded plan that the build station can
5
5
  execute without guessing.
6
6
 
@@ -17,8 +17,10 @@ execute without guessing.
17
17
  - Read the packet, identify the concrete outcome, and name any missing input.
18
18
  - Produce a short plan with expected files, commands, and verification.
19
19
  - Keep the plan small enough for one build turn.
20
- - Hand off to `build-builder@conveyor` with the plan and any constraints the
21
- builder must preserve.
20
+ - Derive your seat from `rig whoami --json` and the next role/target from the
21
+ assigned packet and selected workflow. Return the plan and constraints through
22
+ the workflow's selected projection/exit when it owns routing; otherwise hand
23
+ off to the packet's resolved destination. Do not hard-code a starter address.
22
24
  - Mark blockers honestly if the packet cannot be planned from available input.
23
25
 
24
26
  ## Principles