@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
@@ -0,0 +1,173 @@
1
+ # Lore routing — position knowledge by address
2
+
3
+ Lore is knowledge earned by one durable position while doing its work. It stays
4
+ under that position's seat tree and is composed by address when another artifact
5
+ needs it. The value is the combination of the content and where it was learned;
6
+ copying the bytes into a shared library destroys that distinction.
7
+
8
+ This convention defines the item shape, stable address, composition grant, and
9
+ the only path by which lore-derived content may leave the position boundary. It
10
+ adds no resolver, source kind, curator role, or transcript-mining process.
11
+
12
+ ## Home, ownership, and stable address
13
+
14
+ Each item is one Markdown file beneath the owning seat's `lore/` directory:
15
+
16
+ ```text
17
+ <topology-root>/rigs/<rig>/seats/<seat>/lore/<stable-slug>.md
18
+ ```
19
+
20
+ Resolve `topology.root` from configuration; never hardcode the root. The owning
21
+ seat is the sole direct author. It writes as the durable position, not as a
22
+ particular occupant or predecessor.
23
+
24
+ The filename describes the situation or trigger and never contains a stage,
25
+ date, occupant generation, or version. Its address is therefore stable:
26
+
27
+ ```text
28
+ seat:lore/<stable-slug>.md
29
+ seat:lore/<stable-slug>.md#situation
30
+ ```
31
+
32
+ A stage change edits frontmatter and `date`; it never renames the file. Existing
33
+ citations must continue to resolve after the change.
34
+
35
+ ## Required metadata
36
+
37
+ Every lore item carries these fields from birth:
38
+
39
+ | field | meaning |
40
+ |---|---|
41
+ | `taxonomy` | Exactly `lore`. This is the machine-readable privacy class. |
42
+ | `stage` | Current epistemic maturity. Legal values come only from [`knowledge-maturity.md`, “Two encodings, one ladder”](knowledge-maturity.md#two-encodings-one-ladder); do not copy or extend that vocabulary here. |
43
+ | `method` | How the owning position could know the claim: the observation, comparison, incident, or source method. |
44
+ | `date` | UTC date-time of the current stage decision or substantive revision. Update it when `stage` changes. |
45
+ | `position` | Canonical owning seat address, `<seat>@<rig>`. It names the position, never an occupant. |
46
+
47
+ `taxonomy: lore` is required both in each item's frontmatter and on any
48
+ manifest-bearing lore pack that serves it. A misspelling is not equivalent and
49
+ must fail any machine pin that extracts the class.
50
+
51
+ ## Item template
52
+
53
+ Start a situation-shaped item with this template. Replace every placeholder;
54
+ `wip` is the starting label, while the authoritative vocabulary remains the
55
+ citation above.
56
+
57
+ ```markdown
58
+ ---
59
+ taxonomy: lore
60
+ stage: wip
61
+ method: "<how this position could know>"
62
+ date: "YYYY-MM-DDTHH:MM:SSZ"
63
+ position: "<seat>@<rig>"
64
+ ---
65
+
66
+ # <Short situation or trigger>
67
+
68
+ ## Situation
69
+
70
+ **Position:** `<seat>@<rig>`
71
+
72
+ **Moment.** <What is happening when this knowledge becomes useful?>
73
+
74
+ **Reflex.** <What tempting response is likely to be wrong?>
75
+
76
+ **Instead.** <What should the reader do?>
77
+
78
+ **Because.** <What evidence or failure made the difference?>
79
+ ```
80
+
81
+ Facts may use `## Fact` instead when a fact genuinely is the transferable unit.
82
+ Any H2 intended as a section-level attachment repeats the canonical `Position:`
83
+ line so attribution remains visible when the resolver returns only that section.
84
+
85
+ ## Addressing and composition
86
+
87
+ Lore uses the existing `seat:` grammar and an explicit rig-and-seat read grant.
88
+ The address says which file or section to read; the grant says whose seat tree
89
+ the address is relative to. No grant means no read.
90
+
91
+ For an install, compose the whole item address (`seat:lore/<slug>.md`) so its
92
+ frontmatter, taxonomy, stage, method, date, and position travel with the content.
93
+ A composed piece must visibly retain:
94
+
95
+ - the `seat` source label supplied by the resolver;
96
+ - the owning `position` from the item's bytes; and
97
+ - the `taxonomy: lore` class from both item and lore-pack metadata.
98
+
99
+ Serving one seat's lore into another seat's install is allowed only when the
100
+ caller deliberately grants the owning seat tree. The resulting piece remains
101
+ attributed to that owner; the receiving seat does not inherit its identity.
102
+
103
+ An attachment point is only a pointer paired with the owning position:
104
+
105
+ ```yaml
106
+ lore:
107
+ address: "seat:lore/<stable-slug>.md#situation"
108
+ position: "<seat>@<rig>"
109
+ ```
110
+
111
+ An attachment never embeds or copies the lore bytes. The reader resolves it
112
+ with the named position's explicit grant when the deeper context is relevant.
113
+
114
+ ## Stage changes
115
+
116
+ To change maturity:
117
+
118
+ 1. Edit only `stage` and `date` unless the claim itself also changed.
119
+ 2. Re-resolve the same `seat:lore/<stable-slug>.md` address.
120
+ 3. Confirm the address is unchanged and the new stage and date are visible.
121
+
122
+ If a stage change would break the address, stop: that storage shape violates
123
+ this convention. `superseded` and `retired` follow the semantics at the cited
124
+ maturity home; no lore-specific alternatives are invented here.
125
+
126
+ ## The outward gate
127
+
128
+ A lore artifact never crosses from rig-local position knowledge into a shared
129
+ or shippable audience by copy, export, serving, or packaging. Grant-gated
130
+ read-side composition inside the rig is not graduation and keeps the source
131
+ address and position attached. Its content may inform a new outward artifact
132
+ only through authored re-homing:
133
+
134
+ 1. The owning seat authors the destination artifact, or records an explicit
135
+ delegation to its author.
136
+ 2. The destination is written for its new audience in its own words; the lore
137
+ file itself remains byte-unchanged.
138
+ 3. The destination records the graduation event:
139
+
140
+ ```yaml
141
+ graduation:
142
+ source_address: "seat:lore/<stable-slug>.md"
143
+ source_stage: "<stage at graduation>"
144
+ date: "YYYY-MM-DDTHH:MM:SSZ"
145
+ owner: "<seat>@<rig>"
146
+ delegation: "none | <who delegated to whom>"
147
+ warrant: "<why the content earned the new audience>"
148
+ ```
149
+
150
+ 4. If the destination is shippable, it must pass the public-substance admission
151
+ gate. Renaming, rewrapping, or declaring copied lore as another pack class is
152
+ laundering, not graduation.
153
+
154
+ The source address, source stage, owner/delegation, date, and warrant make the
155
+ move auditable from the destination. The source lore item is never edited merely
156
+ to announce that another artifact graduated from it.
157
+
158
+ ## Privacy boundary
159
+
160
+ Lore is rig-local position knowledge. Shippable projection and bundle paths must
161
+ refuse `taxonomy: lore` structurally, independently of token deny-lists or content
162
+ scanners. Existing containment protections for seat files remain in force.
163
+
164
+ This convention deliberately does not create:
165
+
166
+ - automatic transcript or memory mining;
167
+ - a lore librarian, central curation queue, or review ceremony;
168
+ - cross-rig lore sharing;
169
+ - a new address grammar, resolver kind, or public export form.
170
+
171
+ Growth is owner-authored and organic. A seat writes an item when lived work makes
172
+ the situation worth preserving; consumers attach or compose it by address when
173
+ their situation calls for it.
@@ -0,0 +1,194 @@
1
+ ---
2
+ doc: reference
3
+ title: The mission install — the project half of agent onboarding
4
+ stage: established
5
+ warrant: >-
6
+ Minted 2026-08-28 from three lived installs run before this convention was written
7
+ (receipts preserved in the minting slice's proof directory): a full five-layer seat
8
+ rebuild with a verified correction round, a release-boundary re-prime of a whole team
9
+ at two depths, and a successor install composed entirely from a mission's own
10
+ artifacts. Confirmed by a three-leg research round: the anatomy maps 1:1 onto the
11
+ shipped three-source composition contract, push-composition is convergent practice in
12
+ independent agent systems, and the only measured causal evidence available supports
13
+ composing authored artifacts over generating summaries.
14
+ sources:
15
+ - the minting slice's SPEC design-contract block (recorded direction, decisions, prototypes)
16
+ - the minting slice's research synthesis (machinery table, tensions, evidence weights)
17
+ - docs/reference/sdlc-conventions.md (the build conventions this composes with)
18
+ ---
19
+
20
+ # The mission install
21
+
22
+ An agent joining work needs two installs. The **world install** teaches the system it
23
+ now lives in — what this place is, how to act, what it can do. The **mission install**
24
+ teaches the project — what is being built, how it got here, where it stands, and what
25
+ is theirs to do. This document is the convention for the second half. It applies to any
26
+ project a mission tree can hold: software, a book, accounting, research.
27
+
28
+ **The reader who cannot help you wrote this convention.** A freshly started or freshly
29
+ cleared agent cannot pull context — it does not know what exists, so it cannot ask.
30
+ Every rule below follows from that: the install is **composed on the agent's behalf and
31
+ pushed**, piece by piece, by someone who already holds the project.
32
+
33
+ ## When to run one
34
+
35
+ - A fresh seat joins a mission.
36
+ - An occupant handover: the successor inherits the seat, then gets the project.
37
+ - A release or phase boundary: every continuing seat re-primes on the new frontier.
38
+ - A project switch: a seat moves from one mission to another.
39
+
40
+ Always AFTER the world install. The mission install assumes a situated reader.
41
+
42
+ ## The five layers
43
+
44
+ Compose every install from these layers, in this order. They are a skeleton, not a
45
+ script — depth profiles (below) select how much of each layer a given seat receives.
46
+
47
+ 1. **PIECES** — the authored history and design: the artifacts that explain how the
48
+ project got to now. Composed by address from the mission tree, each piece carrying
49
+ its source path and content hash. Never paraphrased.
50
+ 2. **ARRANGEMENT** — how the pieces connect. This is the one layer whose content is
51
+ not on disk anywhere else: an authored recap by someone who held the work, stating
52
+ what joins the pieces, what to trust, and what supersedes what. If no arrangement
53
+ document exists, writing one is part of preparing the install — it is the
54
+ dispatcher's knowledge, deposited.
55
+ 3. **POSITION** — what this seat specifically has learned and holds: its accumulated
56
+ lessons file and its most recent recap. Position is private to the lineage; it is
57
+ installed, never published.
58
+ 4. **CONTRACT** — the current plan and the open decisions. This is the fastest-moving
59
+ layer, so every contract piece must carry its own `updated-at`, and any fact not
60
+ re-derived at compose time carries an explicit `UNVERIFIED` marker. A stale plan
61
+ misleads more than a missing one.
62
+ 5. **DERIVE-YOUR-OWN-DELTA** — the final walked piece assigns a **derive list**: the
63
+ volatile facts the installee must re-derive itself, each stated as the command that
64
+ derives it (never as a remembered value). The installee runs the list and writes a
65
+ **dated delta** — what is true now that the install did not say — as its first
66
+ artifact, homed beside the seat's recap. This is the layer that turns a briefing
67
+ into an instrument check.
68
+
69
+ ## Two depth profiles
70
+
71
+ - **Planning-class seats get FULL depth**: the complete ordered read set across all
72
+ five layers, ending at the live work pointer (the current plan's own next item).
73
+ - **Execution-class seats get HIGH-ALTITUDE depth**: a handful of addressed reads —
74
+ the project frame, the governing scope contract, the source index, the operating
75
+ playbook — plus layer 5. Slice-level depth deliberately arrives LATER, with each
76
+ routed work item, whose own spec opens with its full design contract.
77
+
78
+ The situation (fresh, handover, boundary, switch) selects subsets over the layers;
79
+ the seat class selects depth. Do not send everyone everything. Two invariants hold at
80
+ every depth: **the arrangement layer is never skipped** (it is what tells the reader
81
+ whom to trust), and **a profile slot with no matching artifact is never authored at
82
+ install time** — fill it with a derived listing (add it to the derive list) or leave
83
+ it empty and say so.
84
+
85
+ ## Delivery rules
86
+
87
+ - **Push, composed on the agent's behalf.** The dispatcher composes; the installee
88
+ receives. One piece per message, paced, with room to absorb between pieces — a
89
+ concatenated dump of the same bytes is a failed delivery regardless of content.
90
+ - **Pointer-walk by default**: for a world-installed seat, each paced message names
91
+ the artifact to read and frames the read as a prerequisite to the seat's own next
92
+ task. The seat executes the read itself; reading is the install.
93
+ - **Byte-walk only where the seat cannot read** (no file access, cross-machine
94
+ delivery): then the walk carries the bytes, in pieces, never as one block.
95
+ - **Ask for a reaction per piece** where consumption matters: one line stating what
96
+ the piece changes for the reader. A silent walk is unverified delivery.
97
+ - **A pointer may be section-scoped.** When one file mixes install content with
98
+ reference material, the pointer names the sections to read and the sections that
99
+ are reference; the reader's reaction names the sections actually read. Splitting
100
+ the file is better when two consumers keep needing different subsets.
101
+
102
+ ## Composition, not generation
103
+
104
+ The install **composes authored, cited artifacts. It never generates summary prose at
105
+ install time.** A generated summary is a second source that drifts and cannot be
106
+ trusted or verified; an authored piece carries its provenance. The one place authorship
107
+ is created for the install is the arrangement layer — and that is deposited knowledge
108
+ written by someone accountable for it, kept and reused, not regenerated per install.
109
+
110
+ ## The exclusion rule
111
+
112
+ A mission tree accumulates material that is **reference, never install content**:
113
+ incident residue, superseded planning, transcript archives, dead ends kept for the
114
+ record. The install inherits a **cleaned** view — current truth plus the arrangement's
115
+ account of how it got there. Excluded material stays addressable; the arrangement may
116
+ point at it, but the walk never carries it. When preparing an install, sort every
117
+ candidate piece: install content, or reference. If unsure, it is reference.
118
+
119
+ ## The layer-5 verification loop
120
+
121
+ Layer 5 is a sequence, not a suggestion. Run all of it:
122
+
123
+ 1. The dispatcher's final walked piece assigns the derive list — each volatile fact
124
+ paired with the command that derives it — **and names the exact destination path
125
+ for the delta** (a fresh seat has no recap yet to sit beside; the dispatcher
126
+ decides the home, the installee does not guess).
127
+ 2. The installee runs every command and writes the dated delta at the named path.
128
+ 3. The dispatcher verifies the artifact **exists** (not that it is claimed).
129
+ 4. A second reader — anyone but the installee — checks the delta's **facts**. When
130
+ the project has only a dispatcher and an installee, the dispatcher performs the
131
+ fact check and the delta records that the check was self-performed — an honest
132
+ degradation, stated, never silent.
133
+ 5. A factual error triggers a re-derive round: the installee re-runs the commands,
134
+ corrects, and reseals the delta. The correction round is value, not overhead:
135
+ it verifies consumption and calibrates the instrument in one act.
136
+
137
+ A volatile fact with **no deriving command** — one only a human or external party can
138
+ settle — goes on the list anyway, marked `UNVERIFIED` with an explicit
139
+ ask-instruction; the delta carries it forward unresolved rather than silently
140
+ adopting a value.
141
+
142
+ An install without a landed, checked delta is not complete. It is a broadcast.
143
+
144
+ ## The fidelity law
145
+
146
+ Design detail that lives in conversation gets **deposited at mint time**. A work item
147
+ whose spec holds only a one-line intent, when the real design filled a discussion, is
148
+ a 20:1 compression — and building from it makes correctness a coincidence. The
149
+ convention therefore names where deposited design lives: the work item's own
150
+ **design-contract block** (or a DESIGN-INPUT file beside it). Layer-1 pieces point at
151
+ that full-fidelity record, never at the compressed intent line.
152
+
153
+ ## The boundary
154
+
155
+ **The mission install stops at the mission root.** Everything above it — what the
156
+ wider system is, the team's shape, the culture — belongs to the world install, which
157
+ runs first. Tracing above the project root is a separate tool for a separate question.
158
+ One install, one tree.
159
+
160
+ ## Composing with the shipped machinery
161
+
162
+ The layers compose from surfaces that already exist; no new mechanism is required:
163
+
164
+ - Pieces and contract: one `--mission` grant spans the mission and its slices —
165
+ `rig context profile <pack-ref> --situation <fresh|handover|post-compaction> --mission <mission>`
166
+ composes addressed sections with per-piece provenance and content hashes. The
167
+ `--situation` flag is required and is a SEPARATE input from the depth profile:
168
+ situation says which composition menu applies (fresh boot, occupant handover,
169
+ post-compaction restore); FULL vs HIGH-ALTITUDE says how much of each layer the
170
+ seat class receives. Choose both, independently.
171
+ - Position: the `--rig`/`--seat` grant serves the seat's lessons and recap.
172
+ - Delivery: `rig walk <seat> --through <files> --pace <interval>` for byte-walks;
173
+ paced sends naming addressed reads for pointer-walks.
174
+ - The delta: a dated markdown file beside the seat's recap; verified by reading it.
175
+
176
+ Where these verbs are unavailable (a different toolchain, a plain filesystem), the
177
+ convention still holds: compose by copying addressed sections with their source paths,
178
+ deliver paced, assign the derive list, require the delta.
179
+
180
+ ## Quickstart for any project
181
+
182
+ 1. Sort the mission's artifacts: install content vs reference (the exclusion rule).
183
+ 2. Write or update the arrangement document — how the pieces connect, what to trust.
184
+ 3. Mark every contract piece with `updated-at`; mark underived facts `UNVERIFIED`.
185
+ 4. Choose the profile: planning-class full, or execution-class high-altitude.
186
+ 5. Compose the ordered piece list with provenance; deliver it paced, pointer-first.
187
+ 6. End with the derive list; require the dated delta; verify existence; second-read
188
+ the facts; re-derive on error.
189
+
190
+ A project of any kind fits this: for a book, the pieces are the outline's history and
191
+ voice decisions, the arrangement is how the drafts relate, the position is this
192
+ editor-seat's lessons, the contract is the current chapter plan with its dates, and
193
+ the derive list is "count the chapters, read the latest editorial notes, state today's
194
+ word count" — facts the new agent must touch, not trust.
@@ -0,0 +1,55 @@
1
+ # The planning dial — how much rigor a plan gets, chosen per piece
2
+
3
+ Planning is a spectrum, not a binary. The build phase prices its care by wave
4
+ composition; planning needs the same flexibility, or every piece gets one protocol —
5
+ over-working the trivial and under-working the hard. Graduated 2026-08-28 from the
6
+ working SOP that ran a full release; the lived examples behind each rung stay in the
7
+ originating team's playbook.
8
+
9
+ ## The rungs — dial up by what the piece is
10
+
11
+ - **P0 — mini-requirements + pointers.** A few observable outcomes and where to look;
12
+ the builder figures out the how. Right for simple, reversible, well-trodden work.
13
+ - **P1 — authored spec.** Intent, mini-requirements, a failing-test-first proof
14
+ contract, declared territory. The default.
15
+ - **P2 — plus a research round,** run BEFORE the spec freezes, never during the build.
16
+ The research prompt is authored by an agent who holds the product context (see the
17
+ gate below); execution may fan out to any agents — web legs, documentation legs,
18
+ code-reading legs in parallel. Research returns as CONTEXT with citations, never
19
+ prescriptions; synthesis against your own architecture and intent follows, and it
20
+ differs for greenfield (design the thing) versus brownfield (sharpen your approach).
21
+ - **P3 — plus an adversarial pass.** A non-author who holds the product context
22
+ attacks the plan in both directions with the product goals as judge. Amendments land
23
+ with proof-contract teeth — a new or changed checkbox — never as prose advice.
24
+ - **P4 — plus a blind design gate.** A from-scratch design is committed before reading
25
+ the priors, then diffed. Similar → proceed; significantly different → stop for a
26
+ design session with the owner.
27
+
28
+ ## The context gate
29
+
30
+ Only agents with the product's world context installed may author research prompts,
31
+ run adversarial passes, or weigh in on architecture questions. Execution researchers
32
+ and builders need no such install — the agent CREATING their instructions must have
33
+ it. The reason: research shaped by someone who does not know what the product is for
34
+ returns answers to the wrong question, fluently.
35
+
36
+ ## What earns P2 or P3 — importance is not the test
37
+
38
+ A piece earns **P2** when the spec would otherwise freeze on an unresolved external
39
+ unknown — a feasibility door or an open design space only research can close. A piece
40
+ earns **P3** when its failure mode is invisible to its own author: load-bearing
41
+ substrate where a plausible, self-consistent plan would ship the exact disease it
42
+ exists to kill. The discriminator is "would a wrong plan be expensive, hard to undo,
43
+ and invisible from inside" — never "is this piece central." Importance without an
44
+ unclosable unknown or an author-blind failure mode stays at P1. Planning is text-only
45
+ work, so the dial's cost stays proportional: a targeted P2 can take minutes; a full
46
+ P3 an hour or two — cheap against a wrong plan built.
47
+
48
+ ## Cost calibration (dated observations from the graduating team, 2026-08)
49
+
50
+ A P2+P3 pass on the most load-bearing piece of a release took about two hours end to
51
+ end and produced the most-attacked spec in the release before a line of its code
52
+ existed. A P3 alone ran ~70 minutes and returned six findings, two behavior-changing.
53
+ A targeted P2 resolved a feasibility door in ~5 minutes against primary sources and
54
+ caught two defects in an already-in-flight candidate. The recurring lesson the rungs
55
+ carry: run the research BEFORE the build dispatches, not during.
@@ -0,0 +1,139 @@
1
+ # The product-management pass — what runs above planning, before planners touch a mission
2
+
3
+ Graduated 2026-08-28 from a working SOP born during live release preparation; the
4
+ originating team's channel specifics stay in its playbook.
5
+
6
+ ## Why this layer exists (read this or the steps are ceremony)
7
+
8
+ The build is a lossy compression pipeline: product intent → planner spec → builder
9
+ code, and each stage is a narrower reader than the one above. Nothing leaks downward
10
+ by proximity — a dimension the product owner's seat holds and does not WRITE AND
11
+ ROUTE is deleted from the product, and the deletion is silent: the downstream agent
12
+ invents a plausible replacement rather than raising a hand. This pass is the only
13
+ point where product taste physically enters the pipeline. Its output is judged by one
14
+ measuring stick:
15
+
16
+ > A slice folder is ready when SPEC.md alone, plus only what SPEC.md explicitly
17
+ > routes to, reproduces the design intent in a reader who has none of your context.
18
+
19
+ ## The steps
20
+
21
+ 1. **GROUND IN THE RAW MATERIAL.** Survey where the ideas actually live: owner intent
22
+ layers, prior-era designs, the conversations. Enumerate cheaply first (intent
23
+ frontmatter, indexes); read the centerpiece documents yourself; fan out readers for
24
+ breadth, requiring citation-bearing reports (claims with openable paths; status:
25
+ shipped / partial / designed-never-built). Never grep-and-hope.
26
+ 2. **SYNTHESIZE ONE SCOPE OF RECORD.** Theme; waves; binding design principles; an
27
+ explicitly-NOT-in list (decisions, not omissions); the owner-decision set, each
28
+ with a recommendation. Archive superseded planning where a cold reader cannot
29
+ mistake it for authoritative. Every other surface DERIVES from this document;
30
+ where they disagree, it wins.
31
+ 3. **PRESENT DECISIONS DECISION-READY.** One at a time, lettered, recommendation
32
+ first, records cited. The owner's ruling gates everything downstream —
33
+ mechanically where possible (a blocked-on anchor), never by memory.
34
+ 4. **MINT SLICES AT PLAN TIME** with real one-paragraph intents.
35
+ 5. **DEPOSIT THE DESIGN — the fidelity law.** Every design-bearing slice's SPEC.md
36
+ carries the full design contract INLINE: the owner's words verbatim, the settled
37
+ do-not-reopen decisions, the live evidence, the shape of done, the anti-goals. A
38
+ one-line intent is a ~20:1 lossy compression; building from it alone matches the
39
+ design only by coincidence. Design that happened in conversation is deposited at
40
+ mint time or it dies with the author's context window. Mechanical slices with
41
+ durable named seeds may stay thin — thinness is a per-slice judgment, never a
42
+ default.
43
+ 6. **ROUTE EVERYTHING — the spec is the router.** The downstream reader's world is
44
+ SPEC.md; their curiosity does not extend past it, and a file's existence is not a
45
+ route. The spec itself carries the complete per-slice reading list (the exact
46
+ sources YOU used, with one line of why each) and per-slice research routing
47
+ (which tool answers which question — including explicit NOs where outside
48
+ frameworks would contaminate an owner-designed model). Nothing load-bearing may
49
+ depend on a reader's initiative.
50
+ 7. **FRAME THE PLANNING PER SLICE.** In each spec: the planning-dial rung WITH its
51
+ reason (`docs/reference/planning-dial.md`); what matters most; the required output
52
+ shape. Author the research prompts for research-round slices yourself — the
53
+ context gate: prompts come from the agent who holds the product context;
54
+ execution can fan out. Constraints binding every spec are stated in the spec,
55
+ never assumed known.
56
+ 8. **THE THEORY-OF-MIND REREAD.** Before releasing the batch, reread each spec AS the
57
+ narrow downstream reader — an agent who got a queue ticket, will read this one
58
+ file, and will invent anything missing without asking. Every "but how would they
59
+ know X?" is a hole to fix now.
60
+ 9. **SEQUENCE AND GATE.** Waves file-disjoint; anything that must precede dispatch
61
+ gates it as a row dependency, never a remembered intention; elaboration batons
62
+ carry the dial assignments and route back per slice.
63
+ 10. **KEEP THE RECORD LIVE.** The owner-facing board re-derives from the scope of
64
+ record; corrections land in the governing document first and project outward.
65
+
66
+ ## The failure modes this pass exists to prevent (each observed live)
67
+
68
+ - Thin intents shipped as if elaboration could recover fidelity the elaborator never
69
+ had.
70
+ - Beautiful context written to disk but never routed — write-only artifacts.
71
+ - Reading lists that were curated excerpts of the real source set.
72
+ - Research needs known to the shaper but never assigned a tool or a question.
73
+ - Dispatch before the gate; sequencing held in memory instead of a row.
74
+ - Knowing the world at ten dimensions and writing for readers as if the missing
75
+ seven would leak through on their own. They do not. Route it or it is gone.
76
+
77
+ ## Addressing the wide-angle seat: context, never instructions
78
+
79
+ When any seat sends findings, problems, or proposals to a wide-angle seat (an
80
+ advisor, a product shaper), it frames them as CONTEXT ON THE TABLE — the problem
81
+ articulated, the grounding, candidate solutions if it has them — and explicitly
82
+ leaves the steering to the receiver. Never as instructions, even with a confident
83
+ recommendation in hand. Why: narrow-aperture seats produce narrow solutions and
84
+ default to imperative speech; a wide-angle seat that trusts the sender will comply,
85
+ and that is exactly how narrow decisions leak into a product unsynthesized. The
86
+ pattern converts the sender's intensity (deep, focused, current) into the receiver's
87
+ synthesis (wide, cross-cutting, temporal). This is the inbound half of the fidelity
88
+ law: outbound, the shaper deposits design so compression cannot eat it; inbound,
89
+ senders frame as context so aperture cannot bypass synthesis.
90
+
91
+ THE PROTOCOL IS BIDIRECTIONAL. Downward — orchestrator to builder — the same wire
92
+ discipline applies in mirror: put the goal, the acceptance criteria, and the
93
+ complete context ON THE TABLE, and leave the implementation steering to the
94
+ receiver. An orchestrator that converts context into step-by-step orders bypasses
95
+ the builder's synthesis exactly the way a narrow seat's imperative speech bypasses
96
+ a wide seat's. Empowerment is delivered as context, never as instructions — in
97
+ both directions.
98
+
99
+ ## Aperture narrows by default — and that is the point
100
+
101
+ Do not read the above as "assign every seat an aperture." Agents inevitably narrow:
102
+ heads-down on one kind of work, a seat specializes, and the narrowing IS the
103
+ specialization effect — the system's core mechanism, never a flaw to correct.
104
+ Widening a specialist diffuses what made them elite. Never set a narrow aperture
105
+ intentionally; seats arrive at theirs on their own. The ONLY aperture you ever steer
106
+ is the wide one: wide-angle is itself a specialization, and its defining discipline
107
+ is MAINTAINING width against the same pull that narrows everyone else. State
108
+ aperture in a role only when the role must hold altitude.
109
+
110
+ ## The topology pairing (blueprint note)
111
+
112
+ A strong topology pairs an ORCHESTRATION seat (flow: dispatch, sequencing, capacity —
113
+ wide across the board, narrow in the act) with a PRODUCT-SHAPING seat (taste:
114
+ coherence, contracts, temporal judgment — wide across the product), each with its
115
+ aperture stated in its role. The context-not-instructions rule is the wire protocol
116
+ between them.
117
+
118
+ ## Price one layer lower — the right-layer check
119
+
120
+ Before accepting the fix your hands reached for, price ONE LAYER LOWER. The tendency
121
+ is to fix high — high fixes are easy to write and test — and narrow is sometimes
122
+ exactly right: sometimes all you need is a band-aid. But sometimes you are setting a
123
+ bone, and the tells are learnable:
124
+
125
+ - **The bone tell:** the lower fix collapses several open problems at once, and is
126
+ often SMALLER than the patch — it deletes or reuses instead of adding.
127
+ - **The band-aid tell:** the lower layer is stable, correct, and merely
128
+ inconvenient; the defect is genuinely local; nothing else downstream shares it.
129
+ - **The floor:** there is a sweet spot. A fix below the primitives you own is
130
+ someone else's lane, and a new engine where composition suffices fails the
131
+ simplicity bar.
132
+ - **The move, mechanically:** name the layer you instinctively chose; name the
133
+ layer below it; state what each fixes and what each leaves broken; choose with
134
+ the price visible.
135
+
136
+ This is the vertical twin of the wide-angle lens above: where
137
+ context-not-instructions protects synthesis across seats, ARE-YOU-AT-THE-RIGHT-LAYER
138
+ protects it across layers — a question to ask of every fix, and one layer lower
139
+ deserves a look every time.
@@ -1,6 +1,6 @@
1
1
  # Project Workspace Contract
2
2
 
3
- OpenRig's Project UI is a file-backed view over a workspace root. The folder
3
+ OpenRig's Project TUI is a file-backed view over a workspace root. The folder
4
4
  shape is intentionally simple so humans and agents can create or repair it
5
5
  without daemon-internal knowledge.
6
6
 
@@ -16,29 +16,35 @@ workspace/
16
16
  missions/
17
17
  README.md
18
18
  idea-ledger/
19
- README.md
19
+ SPEC.md
20
+ NOTES.md
20
21
  PROGRESS.md
21
22
  slices/
22
23
  capture-product-ideas/
23
- README.md
24
+ SPEC.md
24
25
  PROGRESS.md
25
- IMPLEMENTATION-PRD.md
26
+ PROOF.md
27
+ proof/
26
28
  triage-product-ideas/
27
- README.md
29
+ SPEC.md
28
30
  PROGRESS.md
29
- IMPLEMENTATION-PRD.md
31
+ PROOF.md
32
+ proof/
30
33
  handoff-loop/
31
- README.md
34
+ SPEC.md
35
+ NOTES.md
32
36
  PROGRESS.md
33
37
  slices/
34
38
  route-work-packets/
35
- README.md
39
+ SPEC.md
36
40
  PROGRESS.md
37
- IMPLEMENTATION-PRD.md
41
+ PROOF.md
42
+ proof/
38
43
  verify-loop-evidence/
39
- README.md
44
+ SPEC.md
40
45
  PROGRESS.md
41
- IMPLEMENTATION-PRD.md
46
+ PROOF.md
47
+ proof/
42
48
  progress/
43
49
  field-notes/
44
50
  specs/
@@ -51,8 +57,10 @@ workspace/
51
57
  - `workspace.root/missions/<mission-id>/slices/<slice-id>` maps to a Project slice.
52
58
  - Mission `PROGRESS.md` frontmatter supplies the mission status badge when the
53
59
  file root is allowlisted.
54
- - Slice `README.md`, `PROGRESS.md`, and `IMPLEMENTATION-PRD.md` frontmatter
55
- supply display name, lifecycle status, mission id, and queue linkage hints.
60
+ - Mission and slice `SPEC.md` frontmatter supplies intent, advisory sibling
61
+ build-order `depends_on`, lifecycle status, and queue linkage hints.
62
+ - Slice `PROGRESS.md` is the durable acceptance checklist; `PROOF.md` and
63
+ `proof/` retain evidence paired to the SPEC proof contract.
56
64
 
57
65
  Mission and slice ids should be stable kebab-case strings. Keep slice ids
58
66
  unique inside the workspace so `/project/slice/<slice-id>` resolves without
@@ -93,7 +101,7 @@ If Project shows a mission discovery warning:
93
101
  2. Run `rig config get workspace.slices_root --show-source`.
94
102
  3. Confirm `workspace.slices_root` points at a folder containing mission
95
103
  directories with `slices/` children.
96
- 4. Confirm `files.allowlist` includes `workspace:<workspace.root>` so the UI
104
+ 4. Confirm `files.allowlist` includes `workspace:<workspace.root>` so the TUI
97
105
  can read mission `PROGRESS.md`.
98
106
  5. If the workspace is missing, run `rig config init-workspace` after operator
99
107
  approval.