@openrig/cli 0.5.4 → 0.5.6

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 (1157) hide show
  1. package/daemon/assets/continuity/apprentice-cutover.md +19 -0
  2. package/daemon/assets/continuity/apprentice-prepare.md +17 -0
  3. package/daemon/assets/guidance/openrig-start.md +7 -0
  4. package/daemon/assets/onboarding/01-world-and-purpose.md +52 -0
  5. package/daemon/assets/onboarding/02-self-and-competent-action.md +57 -0
  6. package/daemon/assets/plugins/openrig-core/README.md +5 -2
  7. package/daemon/assets/plugins/openrig-core/hooks/claude.json +3 -12
  8. package/daemon/assets/plugins/openrig-core/hooks/codex.json +5 -12
  9. package/daemon/assets/plugins/openrig-core/hooks/scripts/refocus.cjs +271 -124
  10. package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md +3 -3
  11. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +0 -0
  12. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +0 -0
  13. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +4 -9
  14. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +82 -118
  15. package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +20 -26
  16. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/SKILL.md +397 -0
  17. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/compose.py +572 -0
  18. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/scaffold.sh +34 -0
  19. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/trace-due.sh +32 -0
  20. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/trace-stamp.sh +5 -0
  21. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/scripts/trunk-diff.sh +18 -0
  22. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/LEARNED.md +40 -0
  23. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/NOTES.md +9 -0
  24. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/PLAYBOOK.md +5 -0
  25. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/SOP.md +24 -0
  26. package/daemon/assets/plugins/openrig-core/skills/openrig-operating-model/templates/SPEC.md +54 -0
  27. package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +11 -6
  28. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +1 -12
  29. package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/CHANGELOG.md +1 -1
  30. package/daemon/assets/plugins/openrig-core/skills/orienting-to-an-inherited-seat/SKILL.md +15 -0
  31. package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +4 -16
  32. package/daemon/assets/plugins/openrig-core/skills/refocusing/SKILL.md +31 -0
  33. package/daemon/assets/plugins/openrig-core/skills/refocusing/references/refocus.md +22 -0
  34. package/daemon/assets/plugins/openrig-core/skills/refocusing/scripts/trace-to-root.py +264 -0
  35. package/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md +26 -6
  36. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +3 -0
  37. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/apprentice-evidence-toolkit.md +32 -0
  38. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/apprentice-successor-seat-cutover.md +256 -0
  39. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/references/orchestrator-role.md +40 -0
  40. package/daemon/assets/plugins/openrig-core/skills/software-for-agents/SKILL.md +9 -4
  41. package/daemon/assets/vm-preview-fixtures/README.md +16 -38
  42. package/daemon/assets/vm-preview-fixtures/workflows/sample-basic-loop.yaml +4 -5
  43. package/daemon/context-packs/onboarding-width/manifest.yaml +14 -0
  44. package/daemon/context-packs/{world/install/reference-material.md → onboarding-width/public-reference-material.md} +5 -27
  45. package/daemon/context-packs/{world/install/what-you-can-do.md → onboarding-width/public-what-you-can-do.md} +13 -9
  46. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +2 -1
  47. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +2 -1
  48. package/daemon/context-packs/skills/core/cross-host-rig-commands/SKILL.md +6 -13
  49. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +2 -1
  50. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +2 -1
  51. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +98 -0
  52. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +10 -0
  53. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +2 -1
  54. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +2 -1
  55. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +2 -1
  56. package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +118 -0
  57. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +10 -0
  58. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +19 -75
  59. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +2 -1
  60. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +2 -1
  61. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +2 -1
  62. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +2 -1
  63. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +2 -1
  64. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +2 -1
  65. package/daemon/context-packs/skills/core/watchdog/SKILL.md +4 -10
  66. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +2 -1
  67. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +2 -1
  68. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +2 -1
  69. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +2 -1
  70. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +2 -1
  71. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +2 -1
  72. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +2 -1
  73. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +2 -1
  74. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +2 -1
  75. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +2 -1
  76. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +2 -1
  77. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +2 -1
  78. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +2 -1
  79. package/daemon/context-packs/skills/process/brainstorming/manifest.yaml +2 -1
  80. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +2 -1
  81. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +2 -1
  82. package/daemon/context-packs/skills/process/executing-plans/manifest.yaml +2 -1
  83. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +2 -1
  84. package/daemon/context-packs/skills/process/systematic-debugging/find-polluter.sh +0 -0
  85. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +2 -1
  86. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +2 -1
  87. package/daemon/context-packs/skills/process/using-superpowers/manifest.yaml +2 -1
  88. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +2 -1
  89. package/daemon/context-packs/skills/process/writing-plans/manifest.yaml +2 -1
  90. package/daemon/context-packs/world-example/manifest.yaml +21 -0
  91. package/daemon/context-packs/world-example/your-world.md +54 -0
  92. package/daemon/context-packs/world-public/boundaries.md +33 -0
  93. package/daemon/context-packs/world-public/build-your-world.md +84 -0
  94. package/daemon/context-packs/world-public/claims.yaml +205 -0
  95. package/daemon/context-packs/world-public/manifest.yaml +59 -0
  96. package/daemon/context-packs/world-public/start-here.md +51 -0
  97. package/daemon/context-packs/world-public/verify-world.sh +522 -0
  98. package/daemon/dist/adapters/claude-code-adapter.d.ts +15 -0
  99. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  100. package/daemon/dist/adapters/claude-code-adapter.js +57 -0
  101. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  102. package/daemon/dist/build-info.js +3 -3
  103. package/daemon/dist/context-pack-taxonomy-surface.d.ts +2 -0
  104. package/daemon/dist/context-pack-taxonomy-surface.d.ts.map +1 -0
  105. package/daemon/dist/context-pack-taxonomy-surface.js +6 -0
  106. package/daemon/dist/context-pack-taxonomy-surface.js.map +1 -0
  107. package/daemon/dist/db/all-migrations.d.ts +1 -1
  108. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  109. package/daemon/dist/db/all-migrations.js +12 -2
  110. package/daemon/dist/db/all-migrations.js.map +1 -1
  111. package/daemon/dist/db/migrations/072_thread_seat_map.d.ts +3 -0
  112. package/daemon/dist/db/migrations/072_thread_seat_map.d.ts.map +1 -0
  113. package/daemon/dist/db/migrations/072_thread_seat_map.js +22 -0
  114. package/daemon/dist/db/migrations/072_thread_seat_map.js.map +1 -0
  115. package/daemon/dist/db/migrations/073_queue_transition_wakes.d.ts +3 -0
  116. package/daemon/dist/db/migrations/073_queue_transition_wakes.d.ts.map +1 -0
  117. package/daemon/dist/db/migrations/073_queue_transition_wakes.js +21 -0
  118. package/daemon/dist/db/migrations/073_queue_transition_wakes.js.map +1 -0
  119. package/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts +4 -0
  120. package/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts.map +1 -0
  121. package/daemon/dist/db/migrations/074_context_usage_watchdog.js +11 -0
  122. package/daemon/dist/db/migrations/074_context_usage_watchdog.js.map +1 -0
  123. package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts +4 -0
  124. package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts.map +1 -0
  125. package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js +8 -0
  126. package/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js.map +1 -0
  127. package/daemon/dist/db/migrations/076_owner_notification_levels.d.ts +8 -0
  128. package/daemon/dist/db/migrations/076_owner_notification_levels.d.ts.map +1 -0
  129. package/daemon/dist/db/migrations/076_owner_notification_levels.js +15 -0
  130. package/daemon/dist/db/migrations/076_owner_notification_levels.js.map +1 -0
  131. package/daemon/dist/domain/active-occupant.d.ts +44 -0
  132. package/daemon/dist/domain/active-occupant.d.ts.map +1 -0
  133. package/daemon/dist/domain/active-occupant.js +72 -0
  134. package/daemon/dist/domain/active-occupant.js.map +1 -0
  135. package/daemon/dist/domain/activity-taxonomy.d.ts +112 -0
  136. package/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -0
  137. package/daemon/dist/domain/activity-taxonomy.js +99 -0
  138. package/daemon/dist/domain/activity-taxonomy.js.map +1 -0
  139. package/daemon/dist/domain/agent-manifest.d.ts +6 -0
  140. package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  141. package/daemon/dist/domain/agent-manifest.js +77 -15
  142. package/daemon/dist/domain/agent-manifest.js.map +1 -1
  143. package/daemon/dist/domain/agent-resolver.d.ts +11 -0
  144. package/daemon/dist/domain/agent-resolver.d.ts.map +1 -1
  145. package/daemon/dist/domain/agent-resolver.js +55 -0
  146. package/daemon/dist/domain/agent-resolver.js.map +1 -1
  147. package/daemon/dist/domain/bind-plan.d.ts +19 -0
  148. package/daemon/dist/domain/bind-plan.d.ts.map +1 -0
  149. package/daemon/dist/domain/bind-plan.js +25 -0
  150. package/daemon/dist/domain/bind-plan.js.map +1 -0
  151. package/daemon/dist/domain/bundle-context-packs-router.d.ts +9 -2
  152. package/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
  153. package/daemon/dist/domain/bundle-context-packs-router.js +18 -0
  154. package/daemon/dist/domain/bundle-context-packs-router.js.map +1 -1
  155. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +7 -0
  156. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  157. package/daemon/dist/domain/claude-compaction-enforcer.js +10 -0
  158. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  159. package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
  160. package/daemon/dist/domain/context-packs/context-pack-library-service.js +7 -0
  161. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  162. package/daemon/dist/domain/context-packs/context-pack-types.d.ts +11 -0
  163. package/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
  164. package/daemon/dist/domain/context-packs/context-pack-types.js +11 -0
  165. package/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
  166. package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
  167. package/daemon/dist/domain/context-packs/manifest-parser.js +13 -1
  168. package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
  169. package/daemon/dist/domain/continuity-policy-materializer.d.ts +88 -0
  170. package/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -0
  171. package/daemon/dist/domain/continuity-policy-materializer.js +290 -0
  172. package/daemon/dist/domain/continuity-policy-materializer.js.map +1 -0
  173. package/daemon/dist/domain/continuity-stack-packets.d.ts +65 -0
  174. package/daemon/dist/domain/continuity-stack-packets.d.ts.map +1 -0
  175. package/daemon/dist/domain/continuity-stack-packets.js +99 -0
  176. package/daemon/dist/domain/continuity-stack-packets.js.map +1 -0
  177. package/daemon/dist/domain/event-bus.d.ts +6 -0
  178. package/daemon/dist/domain/event-bus.d.ts.map +1 -1
  179. package/daemon/dist/domain/event-bus.js +15 -5
  180. package/daemon/dist/domain/event-bus.js.map +1 -1
  181. package/daemon/dist/domain/execution-view.d.ts +39 -0
  182. package/daemon/dist/domain/execution-view.d.ts.map +1 -0
  183. package/daemon/dist/domain/execution-view.js +707 -0
  184. package/daemon/dist/domain/execution-view.js.map +1 -0
  185. package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +60 -0
  186. package/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -0
  187. package/daemon/dist/domain/gateway/delivery-rules-engine.js +144 -0
  188. package/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -0
  189. package/daemon/dist/domain/gateway/destination-resolver.d.ts +20 -0
  190. package/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -0
  191. package/daemon/dist/domain/gateway/destination-resolver.js +52 -0
  192. package/daemon/dist/domain/gateway/destination-resolver.js.map +1 -0
  193. package/daemon/dist/domain/gateway/dispatcher.d.ts +3 -1
  194. package/daemon/dist/domain/gateway/dispatcher.d.ts.map +1 -1
  195. package/daemon/dist/domain/gateway/dispatcher.js +9 -2
  196. package/daemon/dist/domain/gateway/dispatcher.js.map +1 -1
  197. package/daemon/dist/domain/gateway/gateway-process-main.d.ts.map +1 -1
  198. package/daemon/dist/domain/gateway/gateway-process-main.js +9 -0
  199. package/daemon/dist/domain/gateway/gateway-process-main.js.map +1 -1
  200. package/daemon/dist/domain/gateway/gateway-process.d.ts.map +1 -1
  201. package/daemon/dist/domain/gateway/gateway-process.js +9 -0
  202. package/daemon/dist/domain/gateway/gateway-process.js.map +1 -1
  203. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +84 -0
  204. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -0
  205. package/daemon/dist/domain/gateway/gateway-subsystem.js +151 -0
  206. package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -0
  207. package/daemon/dist/domain/gateway/human-registry.d.ts +118 -1
  208. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  209. package/daemon/dist/domain/gateway/human-registry.js +282 -1
  210. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  211. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +32 -0
  212. package/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -0
  213. package/daemon/dist/domain/gateway/operator-delivery-engine.js +86 -0
  214. package/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -0
  215. package/{dist → daemon/dist/domain/gateway}/slack/config.d.ts +11 -7
  216. package/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -0
  217. package/{dist → daemon/dist/domain/gateway}/slack/config.js +28 -10
  218. package/daemon/dist/domain/gateway/slack/config.js.map +1 -0
  219. package/{dist → daemon/dist/domain/gateway}/slack/inbound-admission.d.ts +1 -1
  220. package/daemon/dist/domain/gateway/slack/inbound-admission.d.ts.map +1 -0
  221. package/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -0
  222. package/{dist → daemon/dist/domain/gateway}/slack/inbound.d.ts +48 -9
  223. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -0
  224. package/{dist → daemon/dist/domain/gateway}/slack/inbound.js +66 -14
  225. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -0
  226. package/daemon/dist/domain/gateway/slack/message.d.ts +80 -0
  227. package/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -0
  228. package/daemon/dist/domain/gateway/slack/message.js +164 -0
  229. package/daemon/dist/domain/gateway/slack/message.js.map +1 -0
  230. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +57 -0
  231. package/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -0
  232. package/daemon/dist/domain/gateway/slack/outbound-driver.js +103 -0
  233. package/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -0
  234. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +58 -0
  235. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -0
  236. package/daemon/dist/domain/gateway/slack/queue-access.js +99 -0
  237. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -0
  238. package/daemon/dist/domain/gateway/slack/secrets.d.ts.map +1 -0
  239. package/daemon/dist/domain/gateway/slack/secrets.js.map +1 -0
  240. package/daemon/dist/domain/gateway/slack/slack-api.d.ts +129 -0
  241. package/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -0
  242. package/daemon/dist/domain/gateway/slack/slack-api.js +236 -0
  243. package/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -0
  244. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +53 -0
  245. package/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -0
  246. package/daemon/dist/domain/gateway/slack/slack-delivery.js +267 -0
  247. package/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -0
  248. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +31 -0
  249. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -0
  250. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +473 -0
  251. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -0
  252. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +30 -0
  253. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -0
  254. package/daemon/dist/domain/gateway/slack/socket-inbound.js +99 -0
  255. package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -0
  256. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -0
  257. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -0
  258. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts +17 -0
  259. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -0
  260. package/daemon/dist/domain/gateway/slack/thread-routing.js +35 -0
  261. package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -0
  262. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +56 -0
  263. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -0
  264. package/daemon/dist/domain/gateway/slack/thread-seat-map.js +103 -0
  265. package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -0
  266. package/daemon/dist/domain/gateway/spawn-gateway.d.ts.map +1 -1
  267. package/daemon/dist/domain/gateway/spawn-gateway.js +9 -0
  268. package/daemon/dist/domain/gateway/spawn-gateway.js.map +1 -1
  269. package/daemon/dist/domain/gateway/transport.d.ts.map +1 -1
  270. package/daemon/dist/domain/gateway/transport.js +9 -0
  271. package/daemon/dist/domain/gateway/transport.js.map +1 -1
  272. package/daemon/dist/domain/graph-projection.d.ts +6 -0
  273. package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  274. package/daemon/dist/domain/graph-projection.js +6 -0
  275. package/daemon/dist/domain/graph-projection.js.map +1 -1
  276. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  277. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -0
  278. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  279. package/daemon/dist/domain/node-inventory.d.ts +41 -3
  280. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  281. package/daemon/dist/domain/node-inventory.js +65 -48
  282. package/daemon/dist/domain/node-inventory.js.map +1 -1
  283. package/daemon/dist/domain/parked-query.d.ts +82 -0
  284. package/daemon/dist/domain/parked-query.d.ts.map +1 -0
  285. package/daemon/dist/domain/parked-query.js +127 -0
  286. package/daemon/dist/domain/parked-query.js.map +1 -0
  287. package/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
  288. package/daemon/dist/domain/pod-bundle-assembler.js +12 -5
  289. package/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
  290. package/daemon/dist/domain/policies/context-usage-threshold.d.ts +7 -0
  291. package/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -0
  292. package/daemon/dist/domain/policies/context-usage-threshold.js +99 -0
  293. package/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -0
  294. package/daemon/dist/domain/policies/delivery-deferral.d.ts +54 -0
  295. package/daemon/dist/domain/policies/delivery-deferral.d.ts.map +1 -0
  296. package/daemon/dist/domain/policies/delivery-deferral.js +153 -0
  297. package/daemon/dist/domain/policies/delivery-deferral.js.map +1 -0
  298. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts +45 -0
  299. package/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -0
  300. package/daemon/dist/domain/policies/delivery-digest-flush.js +94 -0
  301. package/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -0
  302. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts +65 -0
  303. package/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -0
  304. package/daemon/dist/domain/policies/parked-owner-consumer.js +244 -0
  305. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -0
  306. package/daemon/dist/domain/policies/types.d.ts +8 -0
  307. package/daemon/dist/domain/policies/types.d.ts.map +1 -1
  308. package/daemon/dist/domain/profile-resolver.d.ts +4 -0
  309. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  310. package/daemon/dist/domain/profile-resolver.js +58 -0
  311. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  312. package/daemon/dist/domain/provider/provider-signals.d.ts +20 -1
  313. package/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
  314. package/daemon/dist/domain/provider/provider-signals.js +64 -0
  315. package/daemon/dist/domain/provider/provider-signals.js.map +1 -1
  316. package/daemon/dist/domain/ps-projection.d.ts +7 -5
  317. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  318. package/daemon/dist/domain/ps-projection.js +19 -32
  319. package/daemon/dist/domain/ps-projection.js.map +1 -1
  320. package/daemon/dist/domain/queue-pickup.d.ts +38 -0
  321. package/daemon/dist/domain/queue-pickup.d.ts.map +1 -0
  322. package/daemon/dist/domain/queue-pickup.js +72 -0
  323. package/daemon/dist/domain/queue-pickup.js.map +1 -0
  324. package/daemon/dist/domain/queue-repository.d.ts +93 -28
  325. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  326. package/daemon/dist/domain/queue-repository.js +626 -90
  327. package/daemon/dist/domain/queue-repository.js.map +1 -1
  328. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  329. package/daemon/dist/domain/queue-retention.js +8 -2
  330. package/daemon/dist/domain/queue-retention.js.map +1 -1
  331. package/daemon/dist/domain/queue-stuck-sweep.d.ts +100 -0
  332. package/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -0
  333. package/daemon/dist/domain/queue-stuck-sweep.js +485 -0
  334. package/daemon/dist/domain/queue-stuck-sweep.js.map +1 -0
  335. package/daemon/dist/domain/queue-transition-log.d.ts +10 -0
  336. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  337. package/daemon/dist/domain/queue-transition-log.js +49 -11
  338. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  339. package/daemon/dist/domain/queue-wake-ladder.d.ts +114 -0
  340. package/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -0
  341. package/daemon/dist/domain/queue-wake-ladder.js +705 -0
  342. package/daemon/dist/domain/queue-wake-ladder.js.map +1 -0
  343. package/daemon/dist/domain/queue-wake-repository.d.ts +53 -0
  344. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -0
  345. package/daemon/dist/domain/queue-wake-repository.js +129 -0
  346. package/daemon/dist/domain/queue-wake-repository.js.map +1 -0
  347. package/daemon/dist/domain/rebuild-priming-chain.d.ts +28 -0
  348. package/daemon/dist/domain/rebuild-priming-chain.d.ts.map +1 -0
  349. package/daemon/dist/domain/rebuild-priming-chain.js +71 -0
  350. package/daemon/dist/domain/rebuild-priming-chain.js.map +1 -0
  351. package/daemon/dist/domain/restore-check-service.js +1 -1
  352. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  353. package/daemon/dist/domain/restore-orchestrator.d.ts +2 -1
  354. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  355. package/daemon/dist/domain/restore-orchestrator.js +88 -15
  356. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  357. package/daemon/dist/domain/restore-plan-preview.d.ts +6 -2
  358. package/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  359. package/daemon/dist/domain/restore-plan-preview.js +37 -19
  360. package/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  361. package/daemon/dist/domain/review/compose.d.ts +3 -1
  362. package/daemon/dist/domain/review/compose.d.ts.map +1 -1
  363. package/daemon/dist/domain/review/compose.js +14 -8
  364. package/daemon/dist/domain/review/compose.js.map +1 -1
  365. package/daemon/dist/domain/review/gather.d.ts.map +1 -1
  366. package/daemon/dist/domain/review/gather.js +3 -1
  367. package/daemon/dist/domain/review/gather.js.map +1 -1
  368. package/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
  369. package/daemon/dist/domain/rig-expansion-service.js +10 -9
  370. package/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  371. package/daemon/dist/domain/rig-repository.d.ts +4 -0
  372. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  373. package/daemon/dist/domain/rig-repository.js +21 -3
  374. package/daemon/dist/domain/rig-repository.js.map +1 -1
  375. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  376. package/daemon/dist/domain/rigspec-codec.js +74 -4
  377. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  378. package/daemon/dist/domain/rigspec-instantiator.d.ts +7 -0
  379. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  380. package/daemon/dist/domain/rigspec-instantiator.js +32 -0
  381. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  382. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  383. package/daemon/dist/domain/rigspec-schema.js +32 -4
  384. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  385. package/daemon/dist/domain/scope/node-file.d.ts +8 -0
  386. package/daemon/dist/domain/scope/node-file.d.ts.map +1 -1
  387. package/daemon/dist/domain/scope/node-file.js +18 -0
  388. package/daemon/dist/domain/scope/node-file.js.map +1 -1
  389. package/daemon/dist/domain/scope/plan-lock-artifacts.d.ts +6 -5
  390. package/daemon/dist/domain/scope/plan-lock-artifacts.d.ts.map +1 -1
  391. package/daemon/dist/domain/scope/plan-lock-artifacts.js +23 -20
  392. package/daemon/dist/domain/scope/plan-lock-artifacts.js.map +1 -1
  393. package/daemon/dist/domain/scope/scaffold-placeholder.d.ts +4 -5
  394. package/daemon/dist/domain/scope/scaffold-placeholder.d.ts.map +1 -1
  395. package/daemon/dist/domain/scope/scaffold-placeholder.js +6 -7
  396. package/daemon/dist/domain/scope/scaffold-placeholder.js.map +1 -1
  397. package/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
  398. package/daemon/dist/domain/scope/scope-approve.d.ts.map +1 -1
  399. package/daemon/dist/domain/scope/scope-approve.js +5 -4
  400. package/daemon/dist/domain/scope/scope-approve.js.map +1 -1
  401. package/daemon/dist/domain/scope/scope-audit.d.ts +46 -4
  402. package/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  403. package/daemon/dist/domain/scope/scope-audit.js +79 -94
  404. package/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  405. package/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
  406. package/daemon/dist/domain/scope/scope-view-projection.js +7 -2
  407. package/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
  408. package/daemon/dist/domain/seat-activity-service.d.ts +91 -0
  409. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  410. package/daemon/dist/domain/seat-activity-service.js +416 -1
  411. package/daemon/dist/domain/seat-activity-service.js.map +1 -1
  412. package/daemon/dist/domain/seat-handover-planner.d.ts +14 -0
  413. package/daemon/dist/domain/seat-handover-planner.d.ts.map +1 -1
  414. package/daemon/dist/domain/seat-handover-planner.js +14 -1
  415. package/daemon/dist/domain/seat-handover-planner.js.map +1 -1
  416. package/daemon/dist/domain/seat-handover-service.d.ts +54 -1
  417. package/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  418. package/daemon/dist/domain/seat-handover-service.js +162 -19
  419. package/daemon/dist/domain/seat-handover-service.js.map +1 -1
  420. package/daemon/dist/domain/session-transport.js +1 -2
  421. package/daemon/dist/domain/session-transport.js.map +1 -1
  422. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  423. package/daemon/dist/domain/snapshot-capture.js +6 -0
  424. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  425. package/daemon/dist/domain/successor-session-launcher.d.ts +6 -1
  426. package/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  427. package/daemon/dist/domain/successor-session-launcher.js +3 -3
  428. package/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  429. package/daemon/dist/domain/types.d.ts +59 -4
  430. package/daemon/dist/domain/types.d.ts.map +1 -1
  431. package/daemon/dist/domain/types.js.map +1 -1
  432. package/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  433. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  434. package/daemon/dist/domain/user-settings/settings-store.js +48 -0
  435. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  436. package/daemon/dist/domain/view-projector.d.ts +5 -1
  437. package/daemon/dist/domain/view-projector.d.ts.map +1 -1
  438. package/daemon/dist/domain/view-projector.js +65 -2
  439. package/daemon/dist/domain/view-projector.js.map +1 -1
  440. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +25 -6
  441. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  442. package/daemon/dist/domain/watchdog-jobs-repository.js +115 -32
  443. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  444. package/daemon/dist/domain/watchdog-policy-engine.d.ts +47 -1
  445. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  446. package/daemon/dist/domain/watchdog-policy-engine.js +115 -6
  447. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  448. package/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
  449. package/daemon/dist/domain/watchdog-scheduler.js +3 -2
  450. package/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
  451. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +4 -3
  452. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  453. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +56 -196
  454. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  455. package/daemon/dist/domain/workspace/getting-started-narrative.js +1 -1
  456. package/daemon/dist/domain/workspace/getting-started-narrative.js.map +1 -1
  457. package/daemon/dist/domain/workspace/workspace-doctor.d.ts +8 -11
  458. package/daemon/dist/domain/workspace/workspace-doctor.d.ts.map +1 -1
  459. package/daemon/dist/domain/workspace/workspace-doctor.js +22 -26
  460. package/daemon/dist/domain/workspace/workspace-doctor.js.map +1 -1
  461. package/daemon/dist/gateway-slack-surface.d.ts +4 -0
  462. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -0
  463. package/daemon/dist/gateway-slack-surface.js +8 -0
  464. package/daemon/dist/gateway-slack-surface.js.map +1 -0
  465. package/daemon/dist/index.d.ts +38 -0
  466. package/daemon/dist/index.d.ts.map +1 -1
  467. package/daemon/dist/index.js +122 -4
  468. package/daemon/dist/index.js.map +1 -1
  469. package/daemon/dist/lib/pane-envelope.d.ts +1 -1
  470. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  471. package/daemon/dist/lib/pane-envelope.js +8 -14
  472. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  473. package/daemon/dist/routes/activity.d.ts +13 -0
  474. package/daemon/dist/routes/activity.d.ts.map +1 -1
  475. package/daemon/dist/routes/activity.js +186 -0
  476. package/daemon/dist/routes/activity.js.map +1 -1
  477. package/daemon/dist/routes/agent-images.d.ts.map +1 -1
  478. package/daemon/dist/routes/agent-images.js +9 -0
  479. package/daemon/dist/routes/agent-images.js.map +1 -1
  480. package/daemon/dist/routes/bundles.d.ts.map +1 -1
  481. package/daemon/dist/routes/bundles.js +61 -1
  482. package/daemon/dist/routes/bundles.js.map +1 -1
  483. package/daemon/dist/routes/config.js +2 -2
  484. package/daemon/dist/routes/config.js.map +1 -1
  485. package/daemon/dist/routes/gateway.d.ts +3 -0
  486. package/daemon/dist/routes/gateway.d.ts.map +1 -0
  487. package/daemon/dist/routes/gateway.js +46 -0
  488. package/daemon/dist/routes/gateway.js.map +1 -0
  489. package/daemon/dist/routes/health-summary.d.ts.map +1 -1
  490. package/daemon/dist/routes/health-summary.js +8 -0
  491. package/daemon/dist/routes/health-summary.js.map +1 -1
  492. package/daemon/dist/routes/queue.d.ts.map +1 -1
  493. package/daemon/dist/routes/queue.js +25 -12
  494. package/daemon/dist/routes/queue.js.map +1 -1
  495. package/daemon/dist/routes/rigs.js +38 -2
  496. package/daemon/dist/routes/rigs.js.map +1 -1
  497. package/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  498. package/daemon/dist/routes/scope-audit.js +73 -14
  499. package/daemon/dist/routes/scope-audit.js.map +1 -1
  500. package/daemon/dist/routes/seat.d.ts.map +1 -1
  501. package/daemon/dist/routes/seat.js +15 -0
  502. package/daemon/dist/routes/seat.js.map +1 -1
  503. package/daemon/dist/routes/views.d.ts.map +1 -1
  504. package/daemon/dist/routes/views.js +4 -1
  505. package/daemon/dist/routes/views.js.map +1 -1
  506. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  507. package/daemon/dist/routes/watchdog.js +40 -3
  508. package/daemon/dist/routes/watchdog.js.map +1 -1
  509. package/daemon/dist/server.d.ts +17 -0
  510. package/daemon/dist/server.d.ts.map +1 -1
  511. package/daemon/dist/server.js +30 -4
  512. package/daemon/dist/server.js.map +1 -1
  513. package/daemon/dist/startup.d.ts +4 -0
  514. package/daemon/dist/startup.d.ts.map +1 -1
  515. package/daemon/dist/startup.js +227 -5
  516. package/daemon/dist/startup.js.map +1 -1
  517. package/daemon/docs/reference/agent-spec.md +4 -4
  518. package/daemon/docs/reference/agent-state-taxonomy.md +101 -0
  519. package/daemon/docs/reference/chain-file-convention.md +2 -2
  520. package/daemon/docs/reference/knowledge-maturity.md +123 -0
  521. package/daemon/docs/reference/lore-routing.md +173 -0
  522. package/daemon/docs/reference/mission-install.md +194 -0
  523. package/daemon/docs/reference/planning-dial.md +55 -0
  524. package/daemon/docs/reference/product-management-pass.md +139 -0
  525. package/daemon/docs/reference/project-workspace.md +22 -14
  526. package/daemon/docs/reference/refocus-channel.md +27 -14
  527. package/daemon/docs/reference/release-boundary.md +88 -0
  528. package/daemon/docs/reference/sdlc-conventions.md +66 -82
  529. package/daemon/docs/reference/wave-sdlc.md +113 -0
  530. package/daemon/policies/builtin/standard.policy.md +3 -3
  531. package/daemon/policies/builtin/yolo.policy.md +7 -2
  532. package/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md +6 -13
  533. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +98 -0
  534. package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +118 -0
  535. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +19 -75
  536. package/daemon/specs/agents/shared/skills/core/watchdog/SKILL.md +4 -10
  537. package/daemon/specs/agents/shared/skills/process/systematic-debugging/find-polluter.sh +0 -0
  538. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/guidance/role.md +3 -3
  539. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +3 -3
  540. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +3 -3
  541. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +1 -1
  542. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +1 -1
  543. package/daemon/substance-surfaces.json +8 -0
  544. package/dist/build-info.js +3 -3
  545. package/dist/commands/broadcast.d.ts.map +1 -1
  546. package/dist/commands/broadcast.js +6 -1
  547. package/dist/commands/broadcast.js.map +1 -1
  548. package/dist/commands/capture.js +1 -1
  549. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  550. package/dist/commands/config-init-workspace.js +32 -57
  551. package/dist/commands/config-init-workspace.js.map +1 -1
  552. package/dist/commands/config.d.ts.map +1 -1
  553. package/dist/commands/config.js +5 -0
  554. package/dist/commands/config.js.map +1 -1
  555. package/dist/commands/context.d.ts.map +1 -1
  556. package/dist/commands/context.js +12 -1
  557. package/dist/commands/context.js.map +1 -1
  558. package/dist/commands/daemon.d.ts.map +1 -1
  559. package/dist/commands/daemon.js +14 -4
  560. package/dist/commands/daemon.js.map +1 -1
  561. package/dist/commands/expand.d.ts.map +1 -1
  562. package/dist/commands/expand.js +9 -13
  563. package/dist/commands/expand.js.map +1 -1
  564. package/dist/commands/gateway.d.ts +19 -1
  565. package/dist/commands/gateway.d.ts.map +1 -1
  566. package/dist/commands/gateway.js +157 -33
  567. package/dist/commands/gateway.js.map +1 -1
  568. package/dist/commands/parked.d.ts +3 -0
  569. package/dist/commands/parked.d.ts.map +1 -0
  570. package/dist/commands/parked.js +83 -0
  571. package/dist/commands/parked.js.map +1 -0
  572. package/dist/commands/proof.d.ts +2 -1
  573. package/dist/commands/proof.d.ts.map +1 -1
  574. package/dist/commands/proof.js +8 -8
  575. package/dist/commands/proof.js.map +1 -1
  576. package/dist/commands/ps.d.ts +14 -0
  577. package/dist/commands/ps.d.ts.map +1 -1
  578. package/dist/commands/ps.js +27 -8
  579. package/dist/commands/ps.js.map +1 -1
  580. package/dist/commands/queue.d.ts.map +1 -1
  581. package/dist/commands/queue.js +31 -3
  582. package/dist/commands/queue.js.map +1 -1
  583. package/dist/commands/scope.d.ts.map +1 -1
  584. package/dist/commands/scope.js +284 -136
  585. package/dist/commands/scope.js.map +1 -1
  586. package/dist/commands/seat.d.ts.map +1 -1
  587. package/dist/commands/seat.js +40 -10
  588. package/dist/commands/seat.js.map +1 -1
  589. package/dist/commands/send.d.ts +3 -1
  590. package/dist/commands/send.d.ts.map +1 -1
  591. package/dist/commands/send.js +37 -16
  592. package/dist/commands/send.js.map +1 -1
  593. package/dist/commands/slack.d.ts +14 -28
  594. package/dist/commands/slack.d.ts.map +1 -1
  595. package/dist/commands/slack.js +77 -189
  596. package/dist/commands/slack.js.map +1 -1
  597. package/dist/commands/start.d.ts +3 -0
  598. package/dist/commands/start.d.ts.map +1 -1
  599. package/dist/commands/start.js +12 -5
  600. package/dist/commands/start.js.map +1 -1
  601. package/dist/commands/up.d.ts.map +1 -1
  602. package/dist/commands/up.js +11 -4
  603. package/dist/commands/up.js.map +1 -1
  604. package/dist/commands/view.d.ts +4 -2
  605. package/dist/commands/view.d.ts.map +1 -1
  606. package/dist/commands/view.js +4 -1
  607. package/dist/commands/view.js.map +1 -1
  608. package/dist/commands/watchdog.d.ts.map +1 -1
  609. package/dist/commands/watchdog.js +64 -8
  610. package/dist/commands/watchdog.js.map +1 -1
  611. package/dist/commands/workspace.js +1 -1
  612. package/dist/config-store.d.ts +15 -1
  613. package/dist/config-store.d.ts.map +1 -1
  614. package/dist/config-store.js +60 -0
  615. package/dist/config-store.js.map +1 -1
  616. package/dist/cross-host-target.d.ts.map +1 -1
  617. package/dist/cross-host-target.js +6 -5
  618. package/dist/cross-host-target.js.map +1 -1
  619. package/dist/daemon-lifecycle.d.ts +45 -3
  620. package/dist/daemon-lifecycle.d.ts.map +1 -1
  621. package/dist/daemon-lifecycle.js +126 -0
  622. package/dist/daemon-lifecycle.js.map +1 -1
  623. package/dist/host-registry.d.ts +2 -2
  624. package/dist/host-registry.js +2 -2
  625. package/dist/index.d.ts.map +1 -1
  626. package/dist/index.js +2 -0
  627. package/dist/index.js.map +1 -1
  628. package/dist/lib/scope/capability-delta.d.ts +9 -0
  629. package/dist/lib/scope/capability-delta.d.ts.map +1 -0
  630. package/dist/lib/scope/capability-delta.js +73 -0
  631. package/dist/lib/scope/capability-delta.js.map +1 -0
  632. package/dist/lib/scope/scaffold-placeholder.d.ts +4 -5
  633. package/dist/lib/scope/scaffold-placeholder.d.ts.map +1 -1
  634. package/dist/lib/scope/scaffold-placeholder.js +6 -7
  635. package/dist/lib/scope/scaffold-placeholder.js.map +1 -1
  636. package/dist/lib/scope/scope-audit.d.ts +46 -4
  637. package/dist/lib/scope/scope-audit.d.ts.map +1 -1
  638. package/dist/lib/scope/scope-audit.js +79 -94
  639. package/dist/lib/scope/scope-audit.js.map +1 -1
  640. package/dist/lib/scope/scope-fs.d.ts +26 -14
  641. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  642. package/dist/lib/scope/scope-fs.js +78 -29
  643. package/dist/lib/scope/scope-fs.js.map +1 -1
  644. package/dist/lib/scope/templates.d.ts +17 -17
  645. package/dist/lib/scope/templates.d.ts.map +1 -1
  646. package/dist/lib/scope/templates.js +35 -39
  647. package/dist/lib/scope/templates.js.map +1 -1
  648. package/dist/lib/scope-templates/backlog-deprecation.md +4 -2
  649. package/dist/lib/scope-templates/backlog-tech-debt.md +4 -2
  650. package/dist/lib/scope-templates/bug-fix.md +4 -2
  651. package/dist/lib/scope-templates/capability-delta.md +61 -0
  652. package/dist/lib/scope-templates/mission-placeholder.md +9 -40
  653. package/dist/lib/scope-templates/mission-progress.md +5 -6
  654. package/dist/lib/scope-templates/mission-release.md +9 -40
  655. package/dist/lib/scope-templates/notes.md +14 -0
  656. package/dist/lib/scope-templates/placeholder.md +4 -2
  657. package/dist/lib/scope-templates/proof.md +1 -1
  658. package/dist/lib/scope-templates/release-feature.md +4 -2
  659. package/dist/lib/scope-templates/research.md +4 -2
  660. package/dist/lib/scope-templates/slice-progress.md +4 -5
  661. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.d.ts +15 -0
  662. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  663. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js +57 -0
  664. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  665. package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
  666. package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.d.ts +2 -0
  667. package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.d.ts.map +1 -0
  668. package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.js +6 -0
  669. package/node_modules/@openrig/daemon/dist/context-pack-taxonomy-surface.js.map +1 -0
  670. package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts +1 -1
  671. package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts.map +1 -1
  672. package/node_modules/@openrig/daemon/dist/db/all-migrations.js +12 -2
  673. package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
  674. package/node_modules/@openrig/daemon/dist/db/migrations/072_thread_seat_map.d.ts +3 -0
  675. package/node_modules/@openrig/daemon/dist/db/migrations/072_thread_seat_map.d.ts.map +1 -0
  676. package/node_modules/@openrig/daemon/dist/db/migrations/072_thread_seat_map.js +22 -0
  677. package/node_modules/@openrig/daemon/dist/db/migrations/072_thread_seat_map.js.map +1 -0
  678. package/node_modules/@openrig/daemon/dist/db/migrations/073_queue_transition_wakes.d.ts +3 -0
  679. package/node_modules/@openrig/daemon/dist/db/migrations/073_queue_transition_wakes.d.ts.map +1 -0
  680. package/node_modules/@openrig/daemon/dist/db/migrations/073_queue_transition_wakes.js +21 -0
  681. package/node_modules/@openrig/daemon/dist/db/migrations/073_queue_transition_wakes.js.map +1 -0
  682. package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts +4 -0
  683. package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.d.ts.map +1 -0
  684. package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.js +11 -0
  685. package/node_modules/@openrig/daemon/dist/db/migrations/074_context_usage_watchdog.js.map +1 -0
  686. package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts +4 -0
  687. package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.d.ts.map +1 -0
  688. package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js +8 -0
  689. package/node_modules/@openrig/daemon/dist/db/migrations/075_context_usage_watchdog_generation.js.map +1 -0
  690. package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.d.ts +8 -0
  691. package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.d.ts.map +1 -0
  692. package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.js +15 -0
  693. package/node_modules/@openrig/daemon/dist/db/migrations/076_owner_notification_levels.js.map +1 -0
  694. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts +44 -0
  695. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts.map +1 -0
  696. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js +72 -0
  697. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js.map +1 -0
  698. package/node_modules/@openrig/daemon/dist/domain/activity-taxonomy.d.ts +112 -0
  699. package/node_modules/@openrig/daemon/dist/domain/activity-taxonomy.d.ts.map +1 -0
  700. package/node_modules/@openrig/daemon/dist/domain/activity-taxonomy.js +99 -0
  701. package/node_modules/@openrig/daemon/dist/domain/activity-taxonomy.js.map +1 -0
  702. package/node_modules/@openrig/daemon/dist/domain/agent-manifest.d.ts +6 -0
  703. package/node_modules/@openrig/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  704. package/node_modules/@openrig/daemon/dist/domain/agent-manifest.js +77 -15
  705. package/node_modules/@openrig/daemon/dist/domain/agent-manifest.js.map +1 -1
  706. package/node_modules/@openrig/daemon/dist/domain/agent-resolver.d.ts +11 -0
  707. package/node_modules/@openrig/daemon/dist/domain/agent-resolver.d.ts.map +1 -1
  708. package/node_modules/@openrig/daemon/dist/domain/agent-resolver.js +55 -0
  709. package/node_modules/@openrig/daemon/dist/domain/agent-resolver.js.map +1 -1
  710. package/node_modules/@openrig/daemon/dist/domain/bind-plan.d.ts +19 -0
  711. package/node_modules/@openrig/daemon/dist/domain/bind-plan.d.ts.map +1 -0
  712. package/node_modules/@openrig/daemon/dist/domain/bind-plan.js +25 -0
  713. package/node_modules/@openrig/daemon/dist/domain/bind-plan.js.map +1 -0
  714. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts +9 -2
  715. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
  716. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.js +18 -0
  717. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.js.map +1 -1
  718. package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.d.ts +7 -0
  719. package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -1
  720. package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.js +10 -0
  721. package/node_modules/@openrig/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -1
  722. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
  723. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js +7 -0
  724. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  725. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts +11 -0
  726. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
  727. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js +11 -0
  728. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
  729. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
  730. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js +13 -1
  731. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
  732. package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.d.ts +88 -0
  733. package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.d.ts.map +1 -0
  734. package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.js +290 -0
  735. package/node_modules/@openrig/daemon/dist/domain/continuity-policy-materializer.js.map +1 -0
  736. package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.d.ts +65 -0
  737. package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.d.ts.map +1 -0
  738. package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.js +99 -0
  739. package/node_modules/@openrig/daemon/dist/domain/continuity-stack-packets.js.map +1 -0
  740. package/node_modules/@openrig/daemon/dist/domain/event-bus.d.ts +6 -0
  741. package/node_modules/@openrig/daemon/dist/domain/event-bus.d.ts.map +1 -1
  742. package/node_modules/@openrig/daemon/dist/domain/event-bus.js +15 -5
  743. package/node_modules/@openrig/daemon/dist/domain/event-bus.js.map +1 -1
  744. package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts +39 -0
  745. package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -0
  746. package/node_modules/@openrig/daemon/dist/domain/execution-view.js +707 -0
  747. package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -0
  748. package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.d.ts +60 -0
  749. package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.d.ts.map +1 -0
  750. package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.js +144 -0
  751. package/node_modules/@openrig/daemon/dist/domain/gateway/delivery-rules-engine.js.map +1 -0
  752. package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.d.ts +20 -0
  753. package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.d.ts.map +1 -0
  754. package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.js +52 -0
  755. package/node_modules/@openrig/daemon/dist/domain/gateway/destination-resolver.js.map +1 -0
  756. package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.d.ts +3 -1
  757. package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.d.ts.map +1 -1
  758. package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.js +9 -2
  759. package/node_modules/@openrig/daemon/dist/domain/gateway/dispatcher.js.map +1 -1
  760. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process-main.d.ts.map +1 -1
  761. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process-main.js +9 -0
  762. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process-main.js.map +1 -1
  763. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process.d.ts.map +1 -1
  764. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process.js +9 -0
  765. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-process.js.map +1 -1
  766. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts +84 -0
  767. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -0
  768. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js +151 -0
  769. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -0
  770. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +118 -1
  771. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  772. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js +282 -1
  773. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  774. package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.d.ts +32 -0
  775. package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.d.ts.map +1 -0
  776. package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.js +86 -0
  777. package/node_modules/@openrig/daemon/dist/domain/gateway/operator-delivery-engine.js.map +1 -0
  778. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.d.ts +45 -0
  779. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.d.ts.map +1 -0
  780. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.js +78 -0
  781. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/config.js.map +1 -0
  782. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound-admission.d.ts +8 -0
  783. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound-admission.d.ts.map +1 -0
  784. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound-admission.js +20 -0
  785. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound-admission.js.map +1 -0
  786. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts +141 -0
  787. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -0
  788. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js +197 -0
  789. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js.map +1 -0
  790. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/message.d.ts +80 -0
  791. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/message.d.ts.map +1 -0
  792. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/message.js +164 -0
  793. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/message.js.map +1 -0
  794. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.d.ts +57 -0
  795. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.d.ts.map +1 -0
  796. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.js +103 -0
  797. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/outbound-driver.js.map +1 -0
  798. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts +58 -0
  799. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -0
  800. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js +99 -0
  801. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -0
  802. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/secrets.d.ts +21 -0
  803. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/secrets.d.ts.map +1 -0
  804. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/secrets.js +73 -0
  805. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/secrets.js.map +1 -0
  806. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.d.ts +129 -0
  807. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.d.ts.map +1 -0
  808. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.js +236 -0
  809. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-api.js.map +1 -0
  810. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.d.ts +53 -0
  811. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.d.ts.map +1 -0
  812. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.js +267 -0
  813. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-delivery.js.map +1 -0
  814. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +31 -0
  815. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -0
  816. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js +473 -0
  817. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -0
  818. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +30 -0
  819. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -0
  820. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js +99 -0
  821. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -0
  822. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts +62 -0
  823. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -0
  824. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js +132 -0
  825. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js.map +1 -0
  826. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts +17 -0
  827. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -0
  828. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js +35 -0
  829. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -0
  830. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +56 -0
  831. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -0
  832. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js +103 -0
  833. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -0
  834. package/node_modules/@openrig/daemon/dist/domain/gateway/spawn-gateway.d.ts.map +1 -1
  835. package/node_modules/@openrig/daemon/dist/domain/gateway/spawn-gateway.js +9 -0
  836. package/node_modules/@openrig/daemon/dist/domain/gateway/spawn-gateway.js.map +1 -1
  837. package/node_modules/@openrig/daemon/dist/domain/gateway/transport.d.ts.map +1 -1
  838. package/node_modules/@openrig/daemon/dist/domain/gateway/transport.js +9 -0
  839. package/node_modules/@openrig/daemon/dist/domain/gateway/transport.js.map +1 -1
  840. package/node_modules/@openrig/daemon/dist/domain/graph-projection.d.ts +6 -0
  841. package/node_modules/@openrig/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  842. package/node_modules/@openrig/daemon/dist/domain/graph-projection.js +6 -0
  843. package/node_modules/@openrig/daemon/dist/domain/graph-projection.js.map +1 -1
  844. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  845. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.js +1 -0
  846. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  847. package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts +41 -3
  848. package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  849. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +65 -48
  850. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js.map +1 -1
  851. package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts +82 -0
  852. package/node_modules/@openrig/daemon/dist/domain/parked-query.d.ts.map +1 -0
  853. package/node_modules/@openrig/daemon/dist/domain/parked-query.js +127 -0
  854. package/node_modules/@openrig/daemon/dist/domain/parked-query.js.map +1 -0
  855. package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
  856. package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.js +12 -5
  857. package/node_modules/@openrig/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
  858. package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.d.ts +7 -0
  859. package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.d.ts.map +1 -0
  860. package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.js +99 -0
  861. package/node_modules/@openrig/daemon/dist/domain/policies/context-usage-threshold.js.map +1 -0
  862. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.d.ts +54 -0
  863. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.d.ts.map +1 -0
  864. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.js +153 -0
  865. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-deferral.js.map +1 -0
  866. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.d.ts +45 -0
  867. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.d.ts.map +1 -0
  868. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.js +94 -0
  869. package/node_modules/@openrig/daemon/dist/domain/policies/delivery-digest-flush.js.map +1 -0
  870. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts +65 -0
  871. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.d.ts.map +1 -0
  872. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js +244 -0
  873. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -0
  874. package/node_modules/@openrig/daemon/dist/domain/policies/types.d.ts +8 -0
  875. package/node_modules/@openrig/daemon/dist/domain/policies/types.d.ts.map +1 -1
  876. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts +4 -0
  877. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  878. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js +58 -0
  879. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js.map +1 -1
  880. package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.d.ts +20 -1
  881. package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.d.ts.map +1 -1
  882. package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.js +64 -0
  883. package/node_modules/@openrig/daemon/dist/domain/provider/provider-signals.js.map +1 -1
  884. package/node_modules/@openrig/daemon/dist/domain/ps-projection.d.ts +7 -5
  885. package/node_modules/@openrig/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  886. package/node_modules/@openrig/daemon/dist/domain/ps-projection.js +19 -32
  887. package/node_modules/@openrig/daemon/dist/domain/ps-projection.js.map +1 -1
  888. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.d.ts +38 -0
  889. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.d.ts.map +1 -0
  890. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js +72 -0
  891. package/node_modules/@openrig/daemon/dist/domain/queue-pickup.js.map +1 -0
  892. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +93 -28
  893. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  894. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +626 -90
  895. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
  896. package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  897. package/node_modules/@openrig/daemon/dist/domain/queue-retention.js +8 -2
  898. package/node_modules/@openrig/daemon/dist/domain/queue-retention.js.map +1 -1
  899. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts +100 -0
  900. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.d.ts.map +1 -0
  901. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js +485 -0
  902. package/node_modules/@openrig/daemon/dist/domain/queue-stuck-sweep.js.map +1 -0
  903. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts +10 -0
  904. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  905. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js +49 -11
  906. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
  907. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts +114 -0
  908. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.d.ts.map +1 -0
  909. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js +705 -0
  910. package/node_modules/@openrig/daemon/dist/domain/queue-wake-ladder.js.map +1 -0
  911. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +53 -0
  912. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -0
  913. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js +129 -0
  914. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js.map +1 -0
  915. package/node_modules/@openrig/daemon/dist/domain/rebuild-priming-chain.d.ts +28 -0
  916. package/node_modules/@openrig/daemon/dist/domain/rebuild-priming-chain.d.ts.map +1 -0
  917. package/node_modules/@openrig/daemon/dist/domain/rebuild-priming-chain.js +71 -0
  918. package/node_modules/@openrig/daemon/dist/domain/rebuild-priming-chain.js.map +1 -0
  919. package/node_modules/@openrig/daemon/dist/domain/restore-check-service.js +1 -1
  920. package/node_modules/@openrig/daemon/dist/domain/restore-check-service.js.map +1 -1
  921. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts +2 -1
  922. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  923. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +88 -15
  924. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  925. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts +6 -2
  926. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.d.ts.map +1 -1
  927. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js +37 -19
  928. package/node_modules/@openrig/daemon/dist/domain/restore-plan-preview.js.map +1 -1
  929. package/node_modules/@openrig/daemon/dist/domain/review/compose.d.ts +3 -1
  930. package/node_modules/@openrig/daemon/dist/domain/review/compose.d.ts.map +1 -1
  931. package/node_modules/@openrig/daemon/dist/domain/review/compose.js +14 -8
  932. package/node_modules/@openrig/daemon/dist/domain/review/compose.js.map +1 -1
  933. package/node_modules/@openrig/daemon/dist/domain/review/gather.d.ts.map +1 -1
  934. package/node_modules/@openrig/daemon/dist/domain/review/gather.js +3 -1
  935. package/node_modules/@openrig/daemon/dist/domain/review/gather.js.map +1 -1
  936. package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.d.ts.map +1 -1
  937. package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.js +10 -9
  938. package/node_modules/@openrig/daemon/dist/domain/rig-expansion-service.js.map +1 -1
  939. package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts +4 -0
  940. package/node_modules/@openrig/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  941. package/node_modules/@openrig/daemon/dist/domain/rig-repository.js +21 -3
  942. package/node_modules/@openrig/daemon/dist/domain/rig-repository.js.map +1 -1
  943. package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  944. package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js +74 -4
  945. package/node_modules/@openrig/daemon/dist/domain/rigspec-codec.js.map +1 -1
  946. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +7 -0
  947. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  948. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +32 -0
  949. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  950. package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  951. package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js +32 -4
  952. package/node_modules/@openrig/daemon/dist/domain/rigspec-schema.js.map +1 -1
  953. package/node_modules/@openrig/daemon/dist/domain/scope/node-file.d.ts +8 -0
  954. package/node_modules/@openrig/daemon/dist/domain/scope/node-file.d.ts.map +1 -1
  955. package/node_modules/@openrig/daemon/dist/domain/scope/node-file.js +18 -0
  956. package/node_modules/@openrig/daemon/dist/domain/scope/node-file.js.map +1 -1
  957. package/node_modules/@openrig/daemon/dist/domain/scope/plan-lock-artifacts.d.ts +6 -5
  958. package/node_modules/@openrig/daemon/dist/domain/scope/plan-lock-artifacts.d.ts.map +1 -1
  959. package/node_modules/@openrig/daemon/dist/domain/scope/plan-lock-artifacts.js +23 -20
  960. package/node_modules/@openrig/daemon/dist/domain/scope/plan-lock-artifacts.js.map +1 -1
  961. package/node_modules/@openrig/daemon/dist/domain/scope/scaffold-placeholder.d.ts +4 -5
  962. package/node_modules/@openrig/daemon/dist/domain/scope/scaffold-placeholder.d.ts.map +1 -1
  963. package/node_modules/@openrig/daemon/dist/domain/scope/scaffold-placeholder.js +6 -7
  964. package/node_modules/@openrig/daemon/dist/domain/scope/scaffold-placeholder.js.map +1 -1
  965. package/node_modules/@openrig/daemon/dist/domain/scope/scope-approve.d.ts +1 -1
  966. package/node_modules/@openrig/daemon/dist/domain/scope/scope-approve.d.ts.map +1 -1
  967. package/node_modules/@openrig/daemon/dist/domain/scope/scope-approve.js +5 -4
  968. package/node_modules/@openrig/daemon/dist/domain/scope/scope-approve.js.map +1 -1
  969. package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.d.ts +46 -4
  970. package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.d.ts.map +1 -1
  971. package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.js +79 -94
  972. package/node_modules/@openrig/daemon/dist/domain/scope/scope-audit.js.map +1 -1
  973. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.d.ts.map +1 -1
  974. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.js +7 -2
  975. package/node_modules/@openrig/daemon/dist/domain/scope/scope-view-projection.js.map +1 -1
  976. package/node_modules/@openrig/daemon/dist/domain/seat-activity-service.d.ts +91 -0
  977. package/node_modules/@openrig/daemon/dist/domain/seat-activity-service.d.ts.map +1 -1
  978. package/node_modules/@openrig/daemon/dist/domain/seat-activity-service.js +416 -1
  979. package/node_modules/@openrig/daemon/dist/domain/seat-activity-service.js.map +1 -1
  980. package/node_modules/@openrig/daemon/dist/domain/seat-handover-planner.d.ts +14 -0
  981. package/node_modules/@openrig/daemon/dist/domain/seat-handover-planner.d.ts.map +1 -1
  982. package/node_modules/@openrig/daemon/dist/domain/seat-handover-planner.js +14 -1
  983. package/node_modules/@openrig/daemon/dist/domain/seat-handover-planner.js.map +1 -1
  984. package/node_modules/@openrig/daemon/dist/domain/seat-handover-service.d.ts +54 -1
  985. package/node_modules/@openrig/daemon/dist/domain/seat-handover-service.d.ts.map +1 -1
  986. package/node_modules/@openrig/daemon/dist/domain/seat-handover-service.js +162 -19
  987. package/node_modules/@openrig/daemon/dist/domain/seat-handover-service.js.map +1 -1
  988. package/node_modules/@openrig/daemon/dist/domain/session-transport.js +1 -2
  989. package/node_modules/@openrig/daemon/dist/domain/session-transport.js.map +1 -1
  990. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  991. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js +6 -0
  992. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js.map +1 -1
  993. package/node_modules/@openrig/daemon/dist/domain/successor-session-launcher.d.ts +6 -1
  994. package/node_modules/@openrig/daemon/dist/domain/successor-session-launcher.d.ts.map +1 -1
  995. package/node_modules/@openrig/daemon/dist/domain/successor-session-launcher.js +3 -3
  996. package/node_modules/@openrig/daemon/dist/domain/successor-session-launcher.js.map +1 -1
  997. package/node_modules/@openrig/daemon/dist/domain/types.d.ts +59 -4
  998. package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
  999. package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
  1000. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +1 -1
  1001. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  1002. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js +48 -0
  1003. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  1004. package/node_modules/@openrig/daemon/dist/domain/view-projector.d.ts +5 -1
  1005. package/node_modules/@openrig/daemon/dist/domain/view-projector.d.ts.map +1 -1
  1006. package/node_modules/@openrig/daemon/dist/domain/view-projector.js +65 -2
  1007. package/node_modules/@openrig/daemon/dist/domain/view-projector.js.map +1 -1
  1008. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts +25 -6
  1009. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  1010. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js +115 -32
  1011. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  1012. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts +47 -1
  1013. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  1014. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js +115 -6
  1015. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  1016. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.d.ts.map +1 -1
  1017. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js +3 -2
  1018. package/node_modules/@openrig/daemon/dist/domain/watchdog-scheduler.js.map +1 -1
  1019. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +4 -3
  1020. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  1021. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js +56 -196
  1022. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  1023. package/node_modules/@openrig/daemon/dist/domain/workspace/getting-started-narrative.js +1 -1
  1024. package/node_modules/@openrig/daemon/dist/domain/workspace/getting-started-narrative.js.map +1 -1
  1025. package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.d.ts +8 -11
  1026. package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.d.ts.map +1 -1
  1027. package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.js +22 -26
  1028. package/node_modules/@openrig/daemon/dist/domain/workspace/workspace-doctor.js.map +1 -1
  1029. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts +4 -0
  1030. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts.map +1 -0
  1031. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js +8 -0
  1032. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js.map +1 -0
  1033. package/node_modules/@openrig/daemon/dist/index.d.ts +38 -0
  1034. package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
  1035. package/node_modules/@openrig/daemon/dist/index.js +122 -4
  1036. package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
  1037. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.d.ts +1 -1
  1038. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  1039. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js +8 -14
  1040. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js.map +1 -1
  1041. package/node_modules/@openrig/daemon/dist/routes/activity.d.ts +13 -0
  1042. package/node_modules/@openrig/daemon/dist/routes/activity.d.ts.map +1 -1
  1043. package/node_modules/@openrig/daemon/dist/routes/activity.js +186 -0
  1044. package/node_modules/@openrig/daemon/dist/routes/activity.js.map +1 -1
  1045. package/node_modules/@openrig/daemon/dist/routes/agent-images.d.ts.map +1 -1
  1046. package/node_modules/@openrig/daemon/dist/routes/agent-images.js +9 -0
  1047. package/node_modules/@openrig/daemon/dist/routes/agent-images.js.map +1 -1
  1048. package/node_modules/@openrig/daemon/dist/routes/bundles.d.ts.map +1 -1
  1049. package/node_modules/@openrig/daemon/dist/routes/bundles.js +61 -1
  1050. package/node_modules/@openrig/daemon/dist/routes/bundles.js.map +1 -1
  1051. package/node_modules/@openrig/daemon/dist/routes/config.js +2 -2
  1052. package/node_modules/@openrig/daemon/dist/routes/config.js.map +1 -1
  1053. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts +3 -0
  1054. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -0
  1055. package/node_modules/@openrig/daemon/dist/routes/gateway.js +46 -0
  1056. package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -0
  1057. package/node_modules/@openrig/daemon/dist/routes/health-summary.d.ts.map +1 -1
  1058. package/node_modules/@openrig/daemon/dist/routes/health-summary.js +8 -0
  1059. package/node_modules/@openrig/daemon/dist/routes/health-summary.js.map +1 -1
  1060. package/node_modules/@openrig/daemon/dist/routes/queue.d.ts.map +1 -1
  1061. package/node_modules/@openrig/daemon/dist/routes/queue.js +25 -12
  1062. package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
  1063. package/node_modules/@openrig/daemon/dist/routes/rigs.js +38 -2
  1064. package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
  1065. package/node_modules/@openrig/daemon/dist/routes/scope-audit.d.ts.map +1 -1
  1066. package/node_modules/@openrig/daemon/dist/routes/scope-audit.js +73 -14
  1067. package/node_modules/@openrig/daemon/dist/routes/scope-audit.js.map +1 -1
  1068. package/node_modules/@openrig/daemon/dist/routes/seat.d.ts.map +1 -1
  1069. package/node_modules/@openrig/daemon/dist/routes/seat.js +15 -0
  1070. package/node_modules/@openrig/daemon/dist/routes/seat.js.map +1 -1
  1071. package/node_modules/@openrig/daemon/dist/routes/views.d.ts.map +1 -1
  1072. package/node_modules/@openrig/daemon/dist/routes/views.js +4 -1
  1073. package/node_modules/@openrig/daemon/dist/routes/views.js.map +1 -1
  1074. package/node_modules/@openrig/daemon/dist/routes/watchdog.d.ts.map +1 -1
  1075. package/node_modules/@openrig/daemon/dist/routes/watchdog.js +40 -3
  1076. package/node_modules/@openrig/daemon/dist/routes/watchdog.js.map +1 -1
  1077. package/node_modules/@openrig/daemon/dist/server.d.ts +17 -0
  1078. package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
  1079. package/node_modules/@openrig/daemon/dist/server.js +30 -4
  1080. package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
  1081. package/node_modules/@openrig/daemon/dist/startup.d.ts +4 -0
  1082. package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
  1083. package/node_modules/@openrig/daemon/dist/startup.js +227 -5
  1084. package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
  1085. package/node_modules/@openrig/daemon/package.json +9 -1
  1086. package/package.json +1 -1
  1087. package/tui/dist/daemon-client.d.ts +5 -0
  1088. package/tui/dist/daemon-client.d.ts.map +1 -1
  1089. package/tui/dist/daemon-client.js +17 -0
  1090. package/tui/dist/daemon-client.js.map +1 -1
  1091. package/tui/dist/demo-data.js +2 -2
  1092. package/tui/dist/demo-data.js.map +1 -1
  1093. package/tui/dist/hydrate.d.ts.map +1 -1
  1094. package/tui/dist/hydrate.js +12 -4
  1095. package/tui/dist/hydrate.js.map +1 -1
  1096. package/tui/dist/live-events.d.ts +21 -0
  1097. package/tui/dist/live-events.d.ts.map +1 -0
  1098. package/tui/dist/live-events.js +88 -0
  1099. package/tui/dist/live-events.js.map +1 -0
  1100. package/tui/dist/live.js +1 -1
  1101. package/tui/dist/main.js +27 -8
  1102. package/tui/dist/main.js.map +1 -1
  1103. package/tui/dist/refresh.d.ts +10 -1
  1104. package/tui/dist/refresh.d.ts.map +1 -1
  1105. package/tui/dist/refresh.js +22 -2
  1106. package/tui/dist/refresh.js.map +1 -1
  1107. package/daemon/context-packs/skills/core/attention-queue/SKILL.md +0 -264
  1108. package/daemon/context-packs/skills/core/attention-queue/manifest.yaml +0 -9
  1109. package/daemon/context-packs/world/install/01-world-from-primitives.md +0 -97
  1110. package/daemon/context-packs/world/install/02-permission-self-sleep.md +0 -141
  1111. package/daemon/context-packs/world/install/03-what-this-is-for.md +0 -86
  1112. package/daemon/context-packs/world/install/04-ontology.md +0 -790
  1113. package/daemon/context-packs/world/install/05-harness-power-use.md +0 -355
  1114. package/daemon/context-packs/world/install/06-a-competent-turn.md +0 -225
  1115. package/daemon/context-packs/world/install/manifest.yaml +0 -125
  1116. package/daemon/specs/agents/shared/skills/core/attention-queue/SKILL.md +0 -264
  1117. package/dist/lib/scope-templates/mission-brief.md +0 -20
  1118. package/dist/lib/scope-templates/mission-notes.md +0 -102
  1119. package/dist/slack/config.d.ts.map +0 -1
  1120. package/dist/slack/config.js.map +0 -1
  1121. package/dist/slack/connector-server.d.ts +0 -31
  1122. package/dist/slack/connector-server.d.ts.map +0 -1
  1123. package/dist/slack/connector-server.js +0 -108
  1124. package/dist/slack/connector-server.js.map +0 -1
  1125. package/dist/slack/inbound-admission.d.ts.map +0 -1
  1126. package/dist/slack/inbound-admission.js.map +0 -1
  1127. package/dist/slack/inbound.d.ts.map +0 -1
  1128. package/dist/slack/inbound.js.map +0 -1
  1129. package/dist/slack/message.d.ts +0 -39
  1130. package/dist/slack/message.d.ts.map +0 -1
  1131. package/dist/slack/message.js +0 -88
  1132. package/dist/slack/message.js.map +0 -1
  1133. package/dist/slack/outbound.d.ts +0 -39
  1134. package/dist/slack/outbound.d.ts.map +0 -1
  1135. package/dist/slack/outbound.js +0 -63
  1136. package/dist/slack/outbound.js.map +0 -1
  1137. package/dist/slack/queue-bridge.d.ts +0 -61
  1138. package/dist/slack/queue-bridge.d.ts.map +0 -1
  1139. package/dist/slack/queue-bridge.js +0 -114
  1140. package/dist/slack/queue-bridge.js.map +0 -1
  1141. package/dist/slack/secrets.d.ts.map +0 -1
  1142. package/dist/slack/secrets.js.map +0 -1
  1143. package/dist/slack/slack-api.d.ts +0 -49
  1144. package/dist/slack/slack-api.d.ts.map +0 -1
  1145. package/dist/slack/slack-api.js +0 -110
  1146. package/dist/slack/slack-api.js.map +0 -1
  1147. package/dist/slack/slack-delivery.d.ts +0 -14
  1148. package/dist/slack/slack-delivery.d.ts.map +0 -1
  1149. package/dist/slack/slack-delivery.js +0 -28
  1150. package/dist/slack/slack-delivery.js.map +0 -1
  1151. package/dist/slack/state-store.d.ts.map +0 -1
  1152. package/dist/slack/state-store.js.map +0 -1
  1153. /package/{dist → daemon/dist/domain/gateway}/slack/inbound-admission.js +0 -0
  1154. /package/{dist → daemon/dist/domain/gateway}/slack/secrets.d.ts +0 -0
  1155. /package/{dist → daemon/dist/domain/gateway}/slack/secrets.js +0 -0
  1156. /package/{dist → daemon/dist/domain/gateway}/slack/state-store.d.ts +0 -0
  1157. /package/{dist → daemon/dist/domain/gateway}/slack/state-store.js +0 -0
@@ -12,17 +12,22 @@ it is the mechanism that makes shipped chain files (see
12
12
 
13
13
  | event | Claude Code | Codex | why |
14
14
  |---|---|---|---|
15
- | SessionStart | ✓ | ✓ | fresh orientation |
16
- | UserPromptSubmit | ✓ | | growth check at each turn boundary |
17
- | Stop | ✓ | ✓ | catches the long single turn |
18
- | PostCompact | ✓ | — (no compact hook) | a compacted seat's picture is lossy |
19
-
20
- The firing signal is **transcript growth** not turns (one turn can burn 200k
21
- tokens across fifty tool calls) and not wall-clock (the failure is sustained
22
- work, not elapsed time). Default threshold ~2.6MB of JSONL growth (≈300k
23
- tokens); tune with `OPENRIG_REFOCUS_BYTES`. SessionStart and PostCompact
24
- always fire. Otherwise the hook is a silent no-op, and it degrades to silence
25
- on unrelated hook errors. A configured REF resolution failure instead degrades
15
+ | UserPromptSubmit | ✓ | ✓ | deliver due or on-demand context at a model-visible boundary |
16
+ | Stop | ✓ | | catch a long Claude turn crossing the growth threshold |
17
+ | PostCompact | ✓ | ✓ | retain exact compaction due-state; deliver on the next prompt |
18
+
19
+ Claude's additional firing signal is **transcript growth** — not turns (one turn
20
+ can burn 200k tokens across fifty tool calls) and not wall-clock (the failure is
21
+ sustained work, not elapsed time). Its default threshold is ~2.6MB of JSONL
22
+ growth (≈300k tokens); tune with `OPENRIG_REFOCUS_BYTES`. Codex never uses that
23
+ threshold: its exact `PostCompact` lifecycle hook is the trigger, avoiding a
24
+ redundant double-fire around Codex's own compaction cadence. Set
25
+ `OPENRIG_REFOCUS_NOW=1` for an on-demand refocus and
26
+ `OPENRIG_REFOCUS_ENABLED=0` to disable the feature. Fresh `SessionStart` is
27
+ always a no-op: the default onboarding pack owns fresh orientation. Both
28
+ runtimes retain `PostCompact` due-state for the next prompt. Otherwise the hook
29
+ is a silent no-op, and it degrades to silence on unrelated hook errors. A
30
+ configured REF resolution failure instead degrades
26
31
  loudly in the delivered payload while still completing the hook — a refocus
27
32
  must never break a seat's turn.
28
33
 
@@ -42,9 +47,10 @@ Resolution order:
42
47
  2. `OPENRIG_REFOCUS_CONTENT_FILE` — an operator-authored file (per-seat or
43
48
  per-rig via spec env).
44
49
  3. `$OPENRIG_HOME/refocus/REFOCUS.md` — the instance's standing content.
45
- 4. The generic default baked into the hook: three project-neutral orientation
46
- questions plus the pointer to the seat's topology chain
47
- (`rig context trace --name CRAFT.md`) and the LEARNED-ownership warning.
50
+ 4. The generic default at
51
+ `skills/refocusing/references/refocus.md`: three project-neutral orientation
52
+ questions, the ladder itself, and a pointer to the separately shipped
53
+ onboarding assets.
48
54
 
49
55
  The hook names a resolved REF in the delivered payload. If REF resolution
50
56
  fails, the payload starts with `REFOCUS CONTENT REF FAILED`, the exact ref, and
@@ -60,6 +66,13 @@ exactly this defect: a hardcoded per-box distillation-tool path. The
60
66
  promotion removed it; the grep for project residue is part of the slice's
61
67
  proof contract.)
62
68
 
69
+ Every delivered refocus pairs its content with the public `refocusing` skill's
70
+ path-only trace. Configure `OPENRIG_REFOCUS_TREES=topology|work|both` and
71
+ `OPENRIG_REFOCUS_DEPTH=light|full`; optional `OPENRIG_REFOCUS_TOPOLOGY_NODE`
72
+ and `OPENRIG_REFOCUS_WORK_NODE` select starts that cannot be derived. The
73
+ script resolves `topology.root` and `workspace.root` through live config and
74
+ reports broken links as gaps rather than following pointers.
75
+
63
76
  This automatic hook path is additive to one-shot manual injection through
64
77
  `rig send --context`; neither mode substitutes for the other.
65
78
 
@@ -0,0 +1,88 @@
1
+ # The release boundary — housekeeping run once per fence
2
+
3
+ A CHECKLIST OF JUDGMENT GUIDES, not gates: every item says WHY, most items are one
4
+ act, and anything situational expires at the next boundary. Runs once per release
5
+ fence, after the prior release's ceremony completes. Graduated 2026-08-28 from the
6
+ working SOP; the graduating team's seat-specific ceremony details stay in its
7
+ playbook.
8
+
9
+ ## 1. Seats — reset or re-prime, per each seat's continuity needs
10
+
11
+ - **Builder, QA, and reviewer seats: FRESH GENERATIONS.** Graceful exit with a
12
+ deposit (recap where provisioned), then relaunch. Why, twice proven: accumulated
13
+ release context becomes noise that reads as knowledge, and long-running seats
14
+ carry stale injected catalogs — only a fresh launch carries current skills and
15
+ canon.
16
+ - **Planning seats: MANAGED COMPACTION + RE-PRIME,** not fresh — planning continuity
17
+ is the seat's point; the post-compaction restore is exactly the width-restore case
18
+ the context machinery exists for.
19
+ - **The continuity-bearing orchestration seat: STAYS.** Its memory is the release's
20
+ memory and the ceremony's custody. Known cost, accepted: its injected catalog
21
+ stays stale until its own next generation — the capability delta covers the gap by
22
+ content.
23
+ - **Re-prime = the world walk + the current capability delta + the mission install**
24
+ per the mission-install convention (`docs/reference/mission-install.md`): the world
25
+ half restores where-you-are; the project half (five layers, two depth profiles,
26
+ paced pointer-walk) restores what-you-are-doing. Composing the packet by
27
+ improvisation is the trap this convention closed.
28
+ - **THE CEREMONY IS THE EXPERIMENT.** Every act above runs on the product's own
29
+ primitives, so the ceremony doubles as their live test. Observe passively: what did
30
+ each re-primed seat's first natural turns reach for, and what broke? Findings land
31
+ in one dated observations file beside the boundary record.
32
+
33
+ ## 2. Memory — distill, never accumulate
34
+
35
+ - Per-seat learned files: a distillation pass. The cut test: "has this changed a
36
+ decision recently?" Keep those; move the rest to a dated archive section in the
37
+ same file. A learned file at volume stops constraining and starts justifying.
38
+ - Any shared agent memory: same pass, same test; retire entries the release
39
+ falsified.
40
+ - The finished release's mission notes: SEALED AS RECORD, carried as nothing. The
41
+ new mission starts thin. Rules do not migrate; requirements do, via the plan.
42
+
43
+ ## 3. Queue — sweep by destination, disposition everything
44
+
45
+ - Every seat sweeps its DESTINATION for open rows (wakes are unreliable; the sweep
46
+ is the read). Each open row from the finished release gets exactly one of:
47
+ done-with-receipt · carried-to-the-new-mission (re-filed against the new plan,
48
+ never dragged) · closed-superseded. Ghost obligations accumulate silently without
49
+ this — the measured specimen was a dozen cold rows against one seat.
50
+ - Verify every closing-paper inheritance has a live intake row with an owner. Zero
51
+ orphans.
52
+
53
+ ## 4. Substrate — teardown as its own atom
54
+
55
+ - Prune worktrees; remove session-scoped scratch trees; verify merged branches
56
+ deleted (merge receipts authorize).
57
+ - Scratch homes and scenario roots in temp directories: swept.
58
+ - Runtime installs: keep LIVE + LAST-KNOWN-GOOD; archive the hotfix chain;
59
+ disposition launcher backups.
60
+ - Mid-release vendored-file backups removed once the release containing the real
61
+ fix is live.
62
+ - Snapshots of torn-down topology: indexed in one line each, or deleted.
63
+
64
+ ## 5. Instruments and boards
65
+
66
+ - The finished release's tracking and planning boards: FROZEN as records, labeled
67
+ so. The new mission gets fresh boards — source-of-truth markdown first, board
68
+ derived.
69
+ - Frozen review criteria: archived beside their evidence, marked "available,
70
+ unweakened, not gates."
71
+ - Capture ONE clean-box baseline receipt at mission start (load, process counts,
72
+ health tail latency) — the next performance question deserves a before.
73
+
74
+ ## 6. The capability-delta lifecycle (standing law)
75
+
76
+ Each release's capability delta is authored at the fence and bound to the exact
77
+ published cut. Canon absorbs its named items; the canon header then names the delta,
78
+ which EXPIRES it — verify the expiry fired, and never cite an expired delta. The new
79
+ release's delta obligations start at ITS cut. A delta that outlives its absorption
80
+ is a stale teaching site wearing a version number.
81
+
82
+ ## 7. What deliberately does NOT happen at the boundary
83
+
84
+ - No process migration: situational rules expired at the fence. The standing corpus
85
+ is the four checking principles — verify by effect · evidence at source · honest
86
+ verdicts including against yourself · never fabricate.
87
+ - No re-litigating the finished release's verdicts; the sealed paper is the record.
88
+ - No additions to this checklist without a lived specimen attached.
@@ -1,64 +1,53 @@
1
1
  # SDLC conventions — the markdown control plane
2
2
 
3
- > **Succession rule (source of truth):** this document was derived from the
4
- > corrective review-surface redesign spec
5
- > (`CORRECTIVE-REDESIGN-review-surface-2026-07-05`, DRAFT v0.2, §2–§6,
6
- > grounded against openrig main `c27f2aff`, 2026-07-05/06). **Once shipped,
7
- > THIS repo document is the living SSOT for the SDLC conventions going
8
- > forward**; the corrective spec is the historical design record. Scaffold
9
- > templates, the advisory scope audit, the `mission-slice-sop` skill, and the
10
- > shipped bootstrap overlay all point HERE — they must not restate this
11
- > document in full (restatement is how drift is born).
3
+ > **Source of truth:** this repo document is the living SSOT for the SDLC
4
+ > conventions. Scaffold templates, the advisory scope audit, the
5
+ > `mission-slice-sop` skill, and the shipped bootstrap overlay all point HERE —
6
+ > they must not restate this document in full (restatement is how drift is born).
12
7
 
13
8
  OpenRig is a software factory the human steers from a high altitude. The human
14
9
  records intent; agents turn intent into a plan, the plan into a build, the
15
- build into proof. The Living Notes UI is a **plain projection of well-formed
10
+ build into proof. The TUI is a **plain projection of well-formed
16
11
  markdown on disk** — agents change the files, the UI re-projects. These
17
12
  conventions define "well-formed." Everything here is **advisory / fail-open
18
13
  for agents**: nothing below blocks a write; the audit records and advises.
19
14
 
20
15
 
21
- ## WHERE YOU ARE DECIDES WHICH LOOP YOU RUN — the VM inner loop vs the host outer loop
22
-
23
- The parent host's SDLC was being applied wholesale to the VM. **They are different worlds with
24
- different responsibilities**, and conflating them is what turned this document into friction.
25
-
26
- | | **INNER LOOP — the VM** | **OUTER LOOP — the parent host** |
27
- |---|---|---|
28
- | **question it answers** | *does it actually work?* | *does what was delivered match what was intended?* |
29
- | **method** | ground → fix → upgrade in place → **run it and look** → iterate | intent-vs-delivered comparison, commit-message review, privacy/leak scrub, release management, publish |
30
- | **definition of done** | to the best of our knowledge the code is **completely functional and works**, and needs **no heavy refactoring** to be release-ready | the release is shippable and honest |
31
- | **ceremony** | **Part A only.** Part B is not the default here. | **Part B applies.** The release itself earns it. |
32
-
33
- **WHY the ceremony belongs there and not here — the rule that makes this self-enforcing:** the
34
- proof ceremony is a **protocol for transmitting confidence to someone who was not there.**
35
- Plan-lock, proof contracts, C1 drops and intent-vs-delivered all exist so a reader who did NOT
36
- watch the work happen can verify that it did. On the host that is exactly the situation, so the
37
- artifacts must carry the confidence. **On the VM the builder IS there** — they ran it and looked at
38
- it. Running the ceremony there re-encodes, at high cost, something already known, for an audience
39
- standing in the room.
40
-
41
- **WHERE A FIX GOES — go where the validation is POSSIBLE, not where the ceremony lives:**
42
-
43
- - **Needs a live daemon to verify → the VM.** That is the only place it CAN be verified. (Worked
44
- example: proving the ACTIVITY telemetry was really fixed required cutting the runtime over and
45
- reading real values; no amount of host-side review could establish it.)
46
- - **Verifiable by reading — docs, comment scrubs, message hygiene → the host.**
47
-
48
- **The VM's north star for a release:** hand the host code that, to the best of our knowledge, is
49
- completely functional and works. Not a proof pack. **Effect-verified functionality.**
50
-
51
-
52
16
  ## HOW TO READ THIS DOCUMENT — two parts, and only one of them is the default
53
17
 
54
18
  | | applies | contents |
55
19
  |---|---|---|
56
20
  | **PART A — THE SIMPLE SDLC** | **ALWAYS. This is the default.** | artifact conventions, proportionality, the advisory audit, the honesty rails |
57
- | **PART B — THE RIGOROUS OVERLAY** | **ONLY when the founder, or an orchestrator relaying the founder, ASSIGNS the heavy path to a NAMED piece of work** | the proof-contract format, the two locks, C1 proof drops, the locked role contracts |
21
+ | **PART B — THE RIGOROUS OVERLAY** | **ONLY when the human operator, or an orchestrator relaying that decision, ASSIGNS the heavy path to a NAMED piece of work** | the proof-contract format, the two locks, C1 proof drops, the locked role contracts |
58
22
 
59
23
  **You may not select Part B for yourself.** If you believe something earns it, say so in ONE
60
24
  sentence and continue on Part A until told otherwise. Part A corresponds to the `mission-slice-sop`
61
- skill; Part B to `mission-slice-intent-proof-sop`.
25
+ skill; Part B is defined below and applies only when assigned.
26
+
27
+
28
+ ## THE COMPONENT MENU — this document is a menu, not a pipeline
29
+
30
+ The SDLC is assembled from **components chosen per mission**, not a single mandated flow.
31
+ This document describes the components and carries recommendations; a mission (or the team
32
+ running it) picks per phase. Multiple valid options can exist for the same phase — choosing
33
+ one does not deprecate the others. Nothing below deletes or overrides an existing component.
34
+
35
+ | phase | components available today |
36
+ |---|---|
37
+ | **PRODUCT / MISSION PREPARATION** | **The product-management pass** — the layer above planning, run by the advisor/PM seat before planners touch a mission. The build is a lossy compression pipeline (PM intent → planner spec → builder code); nothing leaks downward by proximity, so this pass grounds in the raw sources, synthesizes ONE scope of record, presents owner decisions decision-ready, mints slices at plan time, deposits the full design contract INLINE in each design-bearing spec (owner words verbatim, settled decisions, evidence, shape of done, anti-goals), routes the complete reading list and internet-research assignments from the spec itself, frames each slice's planning-dial rung with its reason, and rereads every spec as the narrow downstream reader. The measuring stick: SPEC.md alone, plus what it explicitly routes to, reproduces the intent in a reader with none of the author's context. Full reference: `product-management-pass.md`. |
38
+ | **PLAN** | **The planning dial** — planning rigor is a spectrum chosen per piece: P0 mini-requirements and pointers (simple, reversible work) · P1 an authored spec with a proof contract (the default) · P2 plus a research round before the spec freezes, run BEFORE build dispatch · P3 plus an adversarial pass by a non-author, judged against product goals, landing amendments with proof-contract teeth · P4 plus a blind from-scratch design diffed against priors before proceeding. Dial up by what the piece is, exactly as build care is priced below. Full reference: `planning-dial.md`. |
39
+ | **BUILD** | **Part A, the simple flow** (below — the default) · **the wave model** — slices build in parallel in disjoint file territories, an integrator merges serially, and independent review fires once per wave (two reviewers with different vantages, never the writers; fix rounds re-earn verdicts at one final revision; per-slice discipline stays failing-test-first and verify-by-effect). The wave IS the care dial: what shares a wave decides how much review each piece gets · **Part B, the rigorous overlay** (below — only when assigned). These combine: a wave can carry one Part-B piece. Full wave reference: `wave-sdlc.md`. |
40
+ | **DISPATCH DATA** | **The execution-data conventions (S27)** — three tiny data disciplines that make execution state derivable instead of hand-tabulated, consumed by `rig view show execution`. **EC-1, edges in frontmatter:** every open slice carries its hard edges in `depends_on:` (an inline JSON array; an explicit `[]` is a statement, absence is INDETERMINATE); soft/serialization edges are one machine-readable Territory line, exactly `SOFT-AFTER: [ids] — reason`. **EC-2, wave-as-data:** wave composition + review model live on a durable queue row tagged `wave-map` + `format:wave-map-v1` whose body carries one fenced ```json block (`{format:"wave-map-v1", mission, waves:[{id, slices, serialized_order?, review_model?}]}`) — composition only, never status labels (status derives at read time); the planning dial recorded at lock surfaces as the frontmatter field `approved-spec-dial:` beside the approve stamp. **EC-3, dispatch names the worktree:** build batons carry the exact body line `worktree_path=<path>` from dispatch onward — it is Q1's join key; batons without it join by naming only and the view marks them `fragile_join`. Existing batons are never rewritten. |
41
+ | **RELEASE** | The release ceremony conventions (publication identity, honest release notes) and the CAPABILITY-DELTA LIFECYCLE LAW: each release's delta is authored at the fence, bound to the exact published cut; canon absorbs its named items; the canon header then names the delta, which expires it — verify the expiry fired, and never cite an expired delta. Full statement: `release-boundary.md` §6. |
42
+ | **BOUNDARY** | **The release boundary** — housekeeping run once per fence so the next release starts clean: seats reset or re-primed per their continuity needs, memory distilled (keep what changed a decision recently), every queue swept by destination and dispositioned, substrate torn down, boards frozen as records, a clean-box baseline captured. A checklist of judgment guides, not gates. Full reference: `release-boundary.md`. |
43
+
44
+ > Full reference documents for each component (graduated 2026-08-28): the
45
+ > product-management pass — `product-management-pass.md` · the
46
+ > planning dial — `planning-dial.md` · the wave model — `wave-sdlc.md` · the release
47
+ > boundary (including the capability-delta lifecycle law) — `release-boundary.md` ·
48
+ > the mission install — `mission-install.md` (lands with its own slice). The
49
+ > summaries above remain the one-glance description; this document remains the SSOT
50
+ > pointer for the whole menu.
62
51
 
63
52
  # PART A — THE SIMPLE SDLC (applies always)
64
53
 
@@ -84,21 +73,30 @@ force unless assigned.**
84
73
 
85
74
  Each slice directory carries:
86
75
 
87
- - **`README.md`** (or the slice body) opening with the three convention
88
- sections, in this order and with these exact headings:
76
+ - **`SPEC.md`** the one authored node file. Its frontmatter carries
77
+ `intent:` and may carry `depends_on:` as a list of sibling work-node IDs;
78
+ `depends_on` orders siblings and is never followed by the path-only context
79
+ trace. The body opens with the three convention sections, in this order and
80
+ with these exact headings:
89
81
  - **`## Intent`** — the recorded intent, verbatim. The UI projects this
90
82
  text as the INTENT section.
91
83
  - **`## Mini-requirements`** — the concise, one-glance requirement tier
92
- (numbered list). This is the founder's first structured catchpoint;
84
+ (numbered list). This is the human operator's first structured catchpoint;
93
85
  approval starts here.
94
86
  - **`## Proof contract`** — a checkbox list of promised deliverables (see
95
87
  §3). The UI's DELIVERED section pairs each item with its proof.
96
- - **`IMPLEMENTATION-PRD.md`** — the full PRD. It OPENS with the
97
- mini-requirements; everything between intent and proof is **elastic**
98
- (see §7 — for a small slice the mini-requirements may BE the whole PRD).
88
+ - **`PROGRESS.md`** — the slice's acceptance checklist: the durable
89
+ mission/slice-level to-do checked at acceptance. In-process steps stay in
90
+ the working agent's own todo tool.
91
+ - **`PROOF.md`** — the retained proof summary, explicitly paired to the
92
+ `SPEC.md` proof contract.
99
93
  - **`proof/`** — the proof-artifact directory. Curated canonical evidence
100
94
  lands here via `rig proof` with valid C1 headers (§5).
101
95
 
96
+ Legacy `README.md`, `IMPLEMENTATION-PRD.md`, and pre-convention trees remain
97
+ readable indefinitely. New scaffolds do not create or mirror them, and repair
98
+ is additive: it never deletes, renames, or rewrites legacy bytes.
99
+
102
100
  The three sections project into the UI's one review structure: a vertical
103
101
  stack of **INTENT → PLAN → DELIVERED**. A slice missing a section still
104
102
  renders (the projection degrades to a muted "—", never invents content) —
@@ -140,21 +138,9 @@ either being wrong (for example, one over the frontmatter block and one over
140
138
  the whole file). Coverage is what makes a cited hash verifiable rather than
141
139
  merely impressive.
142
140
 
143
- **Canonical convention (the ONE origin cite it, do not restate it here),
144
- cited in the form that convention itself prescribes path + section anchor +
145
- dated whole-file hash:**
146
-
147
- - **path:** `artifact-cross-citation-path-plus-lineage.md` (internal authoring convention — not shipped in this public repo)
148
- - **anchor:** *A cited hash STATES ITS COVERAGE — span is part of the definition*
149
- (2026-08-08)
150
- - **hash:** `sha256 14d9a273d542648ab1e0a82c7fd98e8a8c59cb02a83be76b8af9abfb717b34d2`
151
- — **coverage: WHOLE FILE, bytes as stored, INCLUDING the trailing newline**
152
- (0x0a terminal byte verified), 229 lines, as-of 2026-08-08.
153
-
154
- The **path + anchor is the AUTHORITY**; the whole-file hash **DATES** the
155
- citation. That artifact is a living doc: the hash goes stale at the next
156
- legitimate append, the anchor does not — the CURRENT-line convention applied to
157
- a citation.
141
+ **Use path + anchor as the authority and a whole-file hash only to date the
142
+ citation.** The address survives legitimate content changes; the digest does not.
143
+
158
144
  ## A4. When implementation finds the intent rested on something that does not exist
159
145
 
160
146
  A slice's intent can only be honoured to the extent its assumptions hold. Sometimes implementation
@@ -188,7 +174,7 @@ Do not over-engineer this. The entire goal is an accurate story for whoever read
188
174
  The SDLC has exactly three fixed capture points: **intent** → a
189
175
  **proportional structured requirement** → **proof**. Everything between is
190
176
  elastic. For a small slice (a bug fix, a research note), the
191
- mini-requirements may BE the whole PRD — the convention sections must be
177
+ mini-requirements may BE the whole specification — the convention sections must be
192
178
  present so the slice projects, but their contents scale to the work. Gates
193
179
  are losslessness checks on the decompression from intent to delivery, not
194
180
  paperwork. Scaffolding emits the sections; it must never mint ceremony.
@@ -203,19 +189,20 @@ reported as unknown, not failure.
203
189
  ## A7. Where the knowledge lives (the four pointers)
204
190
 
205
191
  - **This document** — the SSOT.
206
- - **Scaffold**: `rig scope slice create` emits the convention sections +
207
- `proof/` + an `IMPLEMENTATION-PRD.md` skeleton for every template kind;
208
- `rig scope mission create` emits the convention pointer.
209
- - **Skills TWO, matching this document's two parts**: `mission-slice-sop`
210
- teaches **Part A**, the light default; `mission-slice-intent-proof-sop`
211
- teaches **Part B**, the assigned overlay. Assigned-only, never self-selected.
192
+ - **Scaffold**: `rig scope slice create` emits `SPEC.md` + `PROGRESS.md` +
193
+ `PROOF.md` + `proof/` for every template kind; `rig scope mission create`
194
+ emits an intent-bearing `SPEC.md` + `NOTES.md`. Core emits only this
195
+ mode-neutral shape; mode plugins add richer material through the extension
196
+ seam rather than teaching core a mode.
197
+ - **Skill**: `mission-slice-sop` teaches **Part A**, the light default. **Part B**
198
+ is defined below and applies only when assigned — never self-selected.
212
199
  - **Bootstrap**: the shipped agent overlay points fresh seats at the skill
213
200
  and this document at boot.
214
201
 
215
202
  # PART B — THE RIGOROUS OVERLAY (assigned only)
216
203
 
217
- > **ENTRY CONDITION:** everything below applies **only** when the founder — or an orchestrator
218
- > explicitly relaying the founder — has assigned the heavy path to a **named** piece of work.
204
+ > **ENTRY CONDITION:** everything below applies **only** when the human operator — or an orchestrator
205
+ > explicitly relaying that decision — has assigned the heavy path to a **named** piece of work.
219
206
  > If you arrived here without an assignment, stop and use Part A.
220
207
  >
221
208
  > **Rails:** the locks are **two, and only two**. Nothing here authorizes a second gate round on
@@ -264,9 +251,9 @@ Two deliberate stamps, both written by the SAME shipped verb
264
251
  (`rig scope slice approve`, one daemon-side write path: frontmatter stamp +
265
252
  append-only audit row land together):
266
253
 
267
- - **Plan-lock:** `rig scope slice approve <slice> --scope spec` — "the PRD
268
- matches my intent; THIS artifact set is what gets built." Pins the locked
269
- artifact set (spec/PRD/mockups) out of everything else in the folder.
254
+ - **Plan-lock:** `rig scope slice approve <slice> --scope spec` — "the spec
255
+ matches my intent; THIS artifact set is what gets built." Pins `SPEC.md`
256
+ (and planned mockups, when present) out of everything else in the folder.
270
257
  - **Proof-lock:** `rig scope slice approve <slice> --scope delivery`
271
258
  (the default scope) — the terminal "this is done" sign-off; fires the
272
259
  freeze.
@@ -335,9 +322,6 @@ an append-only pile where the human can't tell final from superseded.
335
322
 
336
323
  ## Scratch-daemon hermeticity: the DB a scratch daemon opens is the one you named
337
324
 
338
- *(Desk-ruled 2026-08-25, row qitem-20260825005846-7960f4dd; 0.5.3-era doctrine — a harness rule,
339
- not product behavior.)*
340
-
341
325
  A scratch daemon launch **strips the inherited environment's `OPENRIG_DB` and names an explicit
342
326
  scratch DB path under the scratch `OPENRIG_HOME`** — both halves, every launch:
343
327
 
@@ -353,6 +337,6 @@ the scratch context read or wrote state it never owned, and whether anything vis
353
337
  luck, not hermeticity.
354
338
 
355
339
  **The discriminator that keeps this rule honest:** an explicit `OPENRIG_DB` still WINS by design
356
- (`daemon-db-path.ts`; prior ruling 00c4ab76) — deliberate split-path configuration is legitimate
357
- and untouched. This rule governs **inheritance into scratch contexts**, where nobody decided
358
- anything: strip what you did not choose, then choose.
340
+ (`daemon-db-path.ts`) — deliberate split-path configuration remains legitimate and
341
+ untouched. This rule governs **inheritance into scratch contexts**, where nobody
342
+ decided anything: strip what you did not choose, then choose.
@@ -0,0 +1,113 @@
1
+ # The wave SDLC — parallel build, wave-level review, composition as the care dial
2
+
3
+ Graduated 2026-08-28 from the working playbook of the team that proved it live; the
4
+ team-specific custody mechanics stay in that team's playbook. Lock stamps in this
5
+ model are ADDITIVE: approval appends metadata and never rewrites authored bytes, so
6
+ a candidate's identity survives its own approval.
7
+
8
+ ## The model in one paragraph
9
+
10
+ Slices build IN PARALLEL across every build-class seat, each in a DISJOINT FILE
11
+ TERRITORY, each merged serially by one integrator the moment its candidate freezes
12
+ with builder-proven receipts. Independent review happens ONCE PER WAVE over the wave's
13
+ whole accumulated range — two reviewers with different vantages (ideally different
14
+ runtimes), never the writers — and their findings drive fix rounds that re-earn both
15
+ verdicts at the round's final revision. Checks stay per-slice (failing-test-first
16
+ proof, verify-by-effect, honest receipts); rounds happen per-wave.
17
+
18
+ ## The mechanics
19
+
20
+ 1. **PLAN:** wave entries in the plan of record; the planner shapes specs; the plan
21
+ authority locks them. Every slice gets a real workspace or proof has no home.
22
+ 2. **DISPATCH:** batons fan out with EXCLUSIVE file territories. THE BRIEF IS THE
23
+ UNIT: every assignment carries the goal, the acceptance criteria, the complete
24
+ context routes (exact paths), the territory — and this standing grant: "Navigate
25
+ the implementation yourself: derive what you need, research, spawn readers,
26
+ decide your own build order. Ask when stuck; the orchestrator is here to help."
27
+ DEFAULT SCOPE IS THE WHOLE SPEC, built in one sustained run to ONE frozen
28
+ candidate. Handing out anything smaller requires naming the reason on the brief
29
+ itself (an unresolved decision, a live territory conflict, a genuine
30
+ fork-in-the-road risk) — an unexplained small chunk is a dispatch defect.
31
+ Territory overlap = serialize. Conflict discovered mid-build = STOP AND RULE.
32
+ Why: the builder holds the spec and the code; decisions about how to build
33
+ belong where the building context lives. Detailed sequencing instructions were
34
+ scaffolding when models were weak; today they are a cage, and per-command
35
+ routing is the failure mode, not diligence.
36
+ THE BRIEF IS A MAP, NOT THE TERRITORY. Distillation is welcome — for a minimal
37
+ slice the brief may honestly be richer than the spec — but it is never the
38
+ receiver's ONLY context: the builder's first act is self-onboarding from the
39
+ routed reading list (the mission-install pattern at slice scale), then checking
40
+ the map against the ground it actually stands on. Nobody knows the ground floor
41
+ better than the builder; the wide angle lives a layer up. When the ground
42
+ disagrees with the map, that is a finding to raise — not a reason to follow
43
+ the map off a cliff.
44
+ 3. **BUILD:** failing-test-first against a pristine base with committed final test
45
+ bytes; freeze a single candidate revision; receipts cite the FINAL revision
46
+ (re-earned after any rebase).
47
+ 4. **MERGE:** integrator-only, serially, verified at source each time (candidate
48
+ parent equals pre-merge tip; changed files equal declared territory). Merge
49
+ announcements are REBASE TRIGGERS for every open candidate.
50
+ 5. **WAVE REVIEW:** fires when the wave's build completes. Two independent reviewers,
51
+ base-scoped at the tip, writers excluded from reviewing their own work. The two
52
+ gates ask DIFFERENT questions — does the structure hold, versus does each claim
53
+ survive contact with source. That is the design, not redundancy.
54
+ Reviewers also review for DRIFT, not only defects: does the built thing still
55
+ match the acceptance criteria the brief stated — is this still the doghouse the
56
+ owner asked for, or did locally-defensible steps accrete toward a moon base?
57
+ Plot-loss is a first-class finding with the same standing as a logic defect.
58
+ Reviews also DISPOSE each miss by cause: CONTEXT-GAP — the spec or its routes
59
+ lacked what the moment needed (a planning finding; the fix lands in the spec) —
60
+ versus JUDGMENT-GAP — the context was there and the call was wrong (a builder
61
+ finding; the fix is a check). One word in the verdict artifact. The rate this
62
+ produces is the calibration the dispatch shape tunes on.
63
+ 6. **FIX ROUNDS:** findings become forward-fix candidates (merges stand; merged is
64
+ not running). One re-review pass per round re-earns both legs at the final
65
+ revision. Narrow rechecks for narrow corrections.
66
+ 7. **SEAL:** both legs clear at one revision = wave sealed; the next slot opens.
67
+
68
+ ## THE WAVE IS THE CARE DIAL
69
+
70
+ Wave COMPOSITION is the control surface for how carefully a piece is handled: a
71
+ large, complicated, or load-bearing slice gets a wave OF ITS OWN (its review ceremony
72
+ fires for it alone); a big piece can even split across waves. This decouples what an
73
+ older model conflated: mission and slice workspaces stay flexible organizational
74
+ containers; waves are the separate layer that sequences work, assigns it, and prices
75
+ its handling care. Care is a per-piece property, never a per-mission one.
76
+
77
+ ## When to use it
78
+
79
+ Many small-to-medium, root-caused, evidence-backed slices; enough seats to
80
+ parallelize; territories that partition cleanly; an integrator who can merge serially
81
+ and verify fast.
82
+
83
+ ## When NOT to use it
84
+
85
+ Design-uncertain or shared-region work (one slice, classic two-leg review, or a
86
+ design session first). Anything irreversible within the hour (publish, cutover,
87
+ destructive operations) — that is the heavy path. And when no independent non-writing
88
+ reviewers exist: nothing ever self-reviews; without them the wave gate is theater.
89
+
90
+ ## Failure modes, with the mitigations that worked (dated observations, 2026-08)
91
+
92
+ - **Freeze-merge races:** a candidate freezes seconds before a merge moves the tip.
93
+ Mitigation: zero-overlap restack with content-identity proof (stable patch-id) in
94
+ an isolated worktree; builder-side self-catch on merge announcements.
95
+ - **Evidence theater:** a failing test that fails for the wrong reason reads
96
+ identical to a real one. Mitigation: reviewers re-derive the failures
97
+ independently; false characterizations retire to a correction history, never a
98
+ silent rewrite.
99
+ - **Presence-not-absence tests:** asserting the true line exists while the false
100
+ line still prints. Rule: pin the ABSENCE of the false claim in every encoding.
101
+ - **Phantom checkout status:** merge-by-reference leaves a shared checkout's index
102
+ stale. Never build or commit from a shared checkout; sync its index at fences.
103
+
104
+ ## Measured outcome from the proving run (dated, one team, 2026-08)
105
+
106
+ Eight slices plus five fix candidates plus two addenda built and merged in ~2.5 hours
107
+ across five writing seats; two wave passes plus three fix-round passes replaced ~20
108
+ per-slice review rounds. Defect yield went UP: the reviewers' findings never
109
+ overlapped once across three consecutive verdicts, and the builders' green suites had
110
+ missed every one of them — wave-level review sees cross-slice seams per-slice review
111
+ structurally cannot. Correction latency: one live defect went found→root-caused→
112
+ specced→locked→built→merged in 24 minutes, because no review round stood between a
113
+ locked spec and a building seat.
@@ -16,10 +16,10 @@ destructive_class: [delete_everything, drop_persistent_store, reset_or_discard_v
16
16
  The everyday software-factory posture for INTERACTIVE dev. Routine work runs without prompts; the consequential outward and history-rewriting acts defer to the human.
17
17
 
18
18
  - **default_posture: allow** — routine dev (toolchain, arbitrary shell, install deps, scoped file deletion, network, topology) runs without a prompt.
19
- - **allow: [push_to_remote]** — routine `git push` is allowed (pinned explicitly; the founder rejected gating push as a default).
20
- - **ask: [create_pr, publish_package, merge_or_release, force_push]** — outward/release/history-rewriting acts ASK the human. **ASK ≠ deny**: OpenRig bakes no block; ASK = defer to the human, the founder's explicit beyond-floor default. `force_push` is additionally best-effort on Claude (prefix rules can't reliably split `git push --force`), so ASK is the honest disposition, not a can't-enforce deny.
19
+ - **allow: [push_to_remote]** — routine `git push` is allowed (pinned explicitly; the policy design rejects gating push as a default).
20
+ - **ask: [create_pr, publish_package, merge_or_release, force_push]** — outward/release/history-rewriting acts ASK the human. **ASK ≠ deny**: OpenRig bakes no block; ASK = defer to the human, the policy's explicit beyond-floor default. `force_push` is additionally best-effort on Claude (prefix rules can't reliably split `git push --force`), so ASK is the honest disposition, not a can't-enforce deny.
21
21
  - **destructive_class → ask** — `delete_everything`, `drop_persistent_store`, `reset_or_discard_vcs` default to ASK, never a silent block (best-effort-safe).
22
22
 
23
23
  **INTERACTIVE-dev posture:** an `ask` freezes an autonomous seat by design — autonomous fleets use Open or YOLO, not Standard.
24
24
 
25
- **FLOOR (always on, flag surface):** Claude `acceptEdits` + Codex `workspace-write` (the edit/sandbox floor); Pi `--no-approve` is a resource-TRUST posture, not a permission floor (Pi has no permission surface). **Translation is the skill's job** (harness-neutral intent → per-harness format, caveated). Grounded in schema `a8dba0d9`; the ask-set is pinned per cold-transfer `627abbb6`.
25
+ **FLOOR (always on, flag surface):** Claude `acceptEdits` + Codex `workspace-write` (the edit/sandbox floor); Pi `--no-approve` is a resource-TRUST posture, not a permission floor (Pi has no permission surface). **Translation is the skill's job** (harness-neutral intent → per-harness format, caveated).
@@ -11,10 +11,15 @@ description: Full-bypass posture — the flag-surface YOLO opt-in. Everything ru
11
11
 
12
12
  The maximum-permissive built-in. The seat runs the harness with its full-bypass launch flag: Claude `--dangerously-skip-permissions`, Codex full-bypass, Pi `--approve`. Nothing prompts; nothing is denied. Use only for fully-trusted autonomous work where any pause is unacceptable.
13
13
 
14
- **APPLICATION is deterministic, NOT skill-translated.** YOLO is a `surface: flag` policy: it resolves to a stable launch flag, so it is applied by the deterministic flag-surface opt-in — the rip-out slice's YOLO setting (OPR.0.4.8.2). The `applying-a-permission-policy` skill does **NOT** translate this policy; it simply points at that setting. This is the two-surface distinction: the flag surface is stable enough for deterministic code, so it does not pay the skill-indirection tax.
14
+ **APPLICATION is deterministic, NOT skill-translated.** YOLO is a `surface: flag`
15
+ policy: it resolves to a stable launch flag and is applied directly by the runtime
16
+ flag-surface opt-in. The `applying-a-permission-policy` skill does **NOT** translate
17
+ this policy; it points at that setting. The flag surface is stable enough for
18
+ deterministic code, so it does not pay the skill-indirection tax.
15
19
 
16
20
  **Config policies are MOOT when YOLO is on.** The full-bypass launch flag overrides any Claude prefix rules / Codex posture, so an attached config-surface policy (Locked/Standard/Open) has no effect while YOLO is active. Pick YOLO OR a config policy, not both.
17
21
 
18
22
  **Guardrails come from skills + starter markdown, not permission-blocking** — a YOLO seat is bounded by what its skills and operating context tell it to do, since the permission layer imposes nothing.
19
23
 
20
- **Naming lineage:** the founder's FINAL DESIGN named the fourth built-in **Operator**. The two-surface refinement (2026-08-03) subsumed Operator into this flag-surface full-bypass built-in and renamed it **YOLO** to name the posture plainly; the picker presents all four named postures (Locked / Standard / Open / YOLO) uniformly. Grounded in schema `a8dba0d9`.
24
+ **Naming:** YOLO names the full-bypass posture plainly; the picker presents all four
25
+ named postures (Locked / Standard / Open / YOLO) uniformly.
@@ -30,11 +30,8 @@ operator pattern (`ssh <host> rig <cmd>`) with declared host identity,
30
30
  explicit cross-host invocation path, preserved `--verify` semantics, and
31
31
  4 named failure modes.
32
32
 
33
- **Current-host note (2026-07-14):** this skill still preserves the original
34
- SSH-v0 doctrine below, but the live host registry may also contain HTTP
35
- read-through/tunnel entries such as `your-vm` and `your-other-vm`. Use the
36
- host registry entry as ground truth for transport shape, and use
37
- `conventions/multi-host-naming/README.md` for host-id naming. HTTP entries
33
+ The live host registry may contain SSH or HTTP read-through/tunnel entries.
34
+ Use each registry entry as ground truth for transport shape. HTTP entries
38
35
  require `url` plus exactly one of `bearer_file` or `bearer_env`.
39
36
 
40
37
  **v0 is CLI-side shell-out only — `packages/daemon/` is NOT touched.**
@@ -73,24 +70,20 @@ differs from the interactive verbs (`send`/`capture`/`ps`/`whoami`):
73
70
 
74
71
  ## Host registry shape (`~/.openrig/hosts.yaml`)
75
72
 
76
- Host ids should follow the OpenRig-work multi-host naming convention:
77
- `conventions/multi-host-naming/README.md`. In this environment that means
78
- physical hosts such as `your-vm`, local OpenRig development VMs such as
79
- `your-vm`, persistent product VMs such as `your-other-vm`, and VPS hosts such
80
- as `your-vps`. Keep old aliases during migration until no live routing
81
- depends on them.
73
+ Host ids must be non-empty and unique. Choose stable, operator-meaningful ids
74
+ that describe the destination without depending on transient network details.
82
75
 
83
76
  ```yaml
84
77
  hosts:
85
78
  - id: a-test-vm
86
79
  transport: ssh # v0 supports "ssh" only
87
80
  target: a-test-vm.local # DNS name, SSH config alias, or IP
88
- user: wrandom # optional
81
+ user: example-user # optional
89
82
  notes: "Tart VM" # optional
90
83
  - id: laptop-b
91
84
  transport: ssh
92
85
  target: laptop-b.tail-scale-net
93
- user: wrandom
86
+ user: example-user
94
87
  ```
95
88
 
96
89
  Validation rules: