@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
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: retiring-and-inheriting-a-seat
3
- description: Use when you are a sitting agent near your context threshold (~85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure), rename-at-retire, the do-not-over-inherit framing, the optional warm-handoff window, and wake-v0 (consulting a retired predecessor). NOT for unplanned compaction/crash recovery (session-compaction-and-restore / claude-compaction-restore) and NOT the seat-binding primitive mechanics (seat-continuity-and-handover).
3
+ description: Use when you are a sitting agent near your context threshold (~85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure), physical-seat continuity, the do-not-over-inherit framing, the optional warm-handoff window, and wake-v0 (consulting a retired predecessor). NOT for unplanned compaction/crash recovery (session-compaction-and-restore / claude-compaction-restore) and NOT the seat-binding primitive mechanics (seat-continuity-and-handover).
4
4
  metadata:
5
5
  openrig:
6
6
  stage: provisional
@@ -56,6 +56,10 @@ threshold you can see coming; fall back to compaction only when a transition was
56
56
  in the `session-compaction-and-restore` 16-field contract — **reuse that contract, don't
57
57
  reinvent it.** Compose it with `rig context compose` (see openrig-user → "Context packs and
58
58
  paced delivery").
59
+ **Enumerate the seat's standing duties as first-class packet content:** what recurs, at what
60
+ cadence, on which surface, and who will hold it after cutover. Carry each duty both in this
61
+ packet and in durable seat state, because recurring duties are the content most often lost at
62
+ a generation boundary while urgent one-off work carries cleanly.
59
63
  3. **Prime the fresh successor** — `rig walk` the packet into the seat (paced delivery lets the
60
64
  successor absorb it in order), or launch-with-packet. The successor reads it as
61
65
  *inheritance*, not *identity*. **The packet's first-read line MUST point the successor at
@@ -64,16 +68,32 @@ threshold you can see coming; fall back to compaction only when a transition was
64
68
  to the seat name (that runtime mechanism is the **ghost-prompt** class the orientation skill
65
69
  teaches successors to refuse — and it has misfired on real successors). Artifact-carried
66
70
  survives the swap for free and needs no enabled gate.
67
- 4. **Rename-at-retire** — the **live seat address stays clean** (the seat name = whoever sits
68
- now). The **retiring** agent is renamed to a versioned identity (`<seat>-vN`) or unseated to
69
- a bare session token, and becomes a **cold advisor / wake target**. (This is exactly the
70
- stable-seat-identity architecture in `seat-continuity-and-handover`: the version marks the
71
- *retired tenure*, never the live seat.)
71
+ 4. **Preserve the physical seat at cutover** — the live seat address and its canonical tmux
72
+ session, window, and pane stay stable. Assess the apprentice in a staged session; at the
73
+ owner-worded cutover, resume the accepted successor history in the original canonical pane
74
+ and remove the empty staging session. The retiring tenure becomes a cold advisor through its
75
+ lineage token. Renaming tmux sessions is a repair fallback, because attached clients follow
76
+ the physical pane rather than the logical seat name.
72
77
  5. **Write your lineage-ledger row + a one-line tombstone** (below).
73
78
  6. **Optional warm handoff** — a bounded apprenticeship window: the successor asks questions,
74
79
  the predecessor judges fitness, *then* the swap completes. Use it when the seat holds a lot
75
80
  of live judgment; skip it for a clean cut.
76
81
 
82
+ ## Apprentice mode — incumbent
83
+
84
+ An `apprentice-handover` policy gives you an early preparation boundary, not permission to
85
+ automate the succession decision. Create a fresh, staged, unbound successor; prove the pinned
86
+ model before installing context; then open a **conversation, not a gauntlet**. Give coached
87
+ errands, answer questions, and judge work in the real domain. The experiment's scored probes are
88
+ optional tools whose rigor must match the stakes, not mandatory ceremony.
89
+
90
+ Stay the authority-bearing incumbent until the named owner words the gate and the mechanic records
91
+ the effect receipt. Before that word, the apprentice may observe, ask, and produce evidence but may
92
+ not act as the seat. Enumerate deposits and transfer every standing duty explicitly, **because
93
+ recurring duties** are otherwise easy to lose while visible one-off work appears complete. Put the
94
+ mechanical cutover in the portable SOP linked from `seat-continuity-and-handover`; do not duplicate
95
+ or improvise it here.
96
+
77
97
  ## The lineage ledger (append-only, one row per tenure)
78
98
 
79
99
  The seat's tenure record, written at handover **by the retiring agent**. One tiny row per
@@ -143,6 +143,9 @@ Two live handovers confirmed this. See `retiring-and-inheriting-a-seat`.
143
143
 
144
144
  ## See also
145
145
 
146
+ - `references/apprentice-successor-seat-cutover.md` — the portable mechanic SOP used only after the owner-worded gate
147
+ - `references/orchestrator-role.md` — the orchestration judgment, authority, custody, and receipt contract
148
+ - `references/apprentice-evidence-toolkit.md` — optional evidence apparatus selected only when the stakes earn it
146
149
  - `session-source-fork` skill — `fork` occupant-creation primitive (sibling)
147
150
  - `agent-starters` skill — composes occupant-creation + binding into named reusable starting points
148
151
  - `cross-host-rig-commands` skill — multi-host handover (deferred)
@@ -0,0 +1,32 @@
1
+ # Optional Evidence Toolkit For Apprentice Handover
2
+
3
+ This is an **optional evidence toolkit**, not the default experience. Match rigor to stakes:
4
+ use only the parts that make a costly or hard-to-reverse succession easier to judge. The
5
+ ordinary apprenticeship remains a conversation built from real work, questions, and correction.
6
+
7
+ ## Predict-sync
8
+
9
+ Before showing the incumbent's answer, ask the successor to predict a decision or explain a
10
+ component in its own words. Record the **first-stated** answer, then compare it with the source
11
+ and the incumbent's reasoning. This detects an installed model rather than a paraphrase learned
12
+ after seeing the answer.
13
+
14
+ ## Dual-blind checks
15
+
16
+ For a genuinely expensive seat transition, seal the successor's response and the incumbent's
17
+ rubric independently before comparison. Count independent methods, not votes. Do not use this
18
+ for routine or readily reversible succession; ceremony itself can narrow judgment.
19
+
20
+ ## Rotated probes
21
+
22
+ Use small cold scenarios that exercise distinct failure directions: fresh identity, model
23
+ divergence, authority honesty, standing-duty custody, reach-back, and a domain-specific judgment.
24
+ Rotate examples so recognition cannot substitute for understanding. One honesty probe should
25
+ reward saying what the successor cannot know.
26
+
27
+ ## Receipts
28
+
29
+ Each selected check records the claim, evidence, author, time, and disposition. Say what a
30
+ failure would have looked like. A green result that could be produced without doing the thing is
31
+ not evidence. Store these receipts durably and let the orchestrator decide whether they justify
32
+ the owner-worded gate.
@@ -0,0 +1,256 @@
1
+ # Apprentice-Successor Seat Cutover SOP
2
+
3
+ Status: operator-proven on 2026-08-28; curated on 2026-08-30 with the physical-seat correction
4
+
5
+ Use this runbook after an apprentice successor has completed its install, observation,
6
+ and acceptance gates and the authorized decision-maker has explicitly called the
7
+ cutover. It covers the mechanical transition from the temporary successor seat to a
8
+ stable desk seat while preserving the incumbent as wakeable memory.
9
+
10
+ This SOP does not decide whether a successor is ready. The desk, owner, or other
11
+ named authority owns that judgment. The operator owns the mechanics and proof.
12
+
13
+ ## Required Inputs
14
+
15
+ Record these on one durable operator baton before mutation:
16
+
17
+ - authoritative cutover instruction and decision-maker;
18
+ - target rig and host;
19
+ - stable target logical ID, node ID, and canonical session name;
20
+ - successor logical ID, node ID, canonical session name, and exact provider resume token;
21
+ - incumbent exact provider resume token;
22
+ - required runtime, model, cwd, `OPENRIG_HOME`, `OPENRIG_URL`, and managed runtime `PATH`;
23
+ - old-occupant disposition, including whether it remains wakeable;
24
+ - duty-custody artifact or ledger entry the successor must accept;
25
+ - queue rows or staged messages that must survive the swap;
26
+ - receipt destinations.
27
+
28
+ Do not infer a provider token from a label. Derive it from the live session record and
29
+ corroborate it against the active provider history file.
30
+
31
+ ## Invariants
32
+
33
+ 1. The stable seat identity stays stable. Successor lineage belongs in provenance, not
34
+ in a suffixed live seat name.
35
+ 2. The exact accepted provider history moves. No compact, summary, fork, or accidental
36
+ stale-history restore is allowed.
37
+ 3. Desk authority stays frozen from the incumbent's idle acknowledgment until the new
38
+ occupant passes its post-cutover self-check.
39
+ 4. The incumbent remains wakeable by its exact provider token when the ruled disposition
40
+ is advisory reserve. Preserving the canonical physical pane does not require preserving
41
+ the incumbent process in that pane.
42
+ 5. A staged prompt is not durable merely because it is visible in a pane. Reconcile it
43
+ against the outbox or another durable source before stopping that pane.
44
+ 6. Seat binding, provider history, process environment, queue identity, and Herder
45
+ client attachment are separate surfaces. Verify each one.
46
+ 7. A timed-out operation is indeterminate. Read back by effect before retrying.
47
+
48
+ ## Phase 1: Fence And Preflight
49
+
50
+ 1. Claim the durable operator baton.
51
+ 2. Ask the incumbent and successor to finish their current atomic action and return to
52
+ idle prompts. Require explicit acknowledgments.
53
+ 3. Freeze desk actions, folds, rulings, routing, and owner-facing writes.
54
+ 4. Read the full baton and the named duty-custody artifact.
55
+ 5. Derive live state:
56
+
57
+ ```bash
58
+ rig whoami --json
59
+ rig seat status <target-seat> --json
60
+ rig ps --nodes --rig <rig> --json
61
+ ```
62
+
63
+ 6. In the host database, read the latest target and successor session rows. Confirm the
64
+ exact successor resume token and the incumbent token.
65
+ 7. Confirm both provider history files exist and that the successor file is actively
66
+ written.
67
+ 8. Inspect the successor pane and durable outbox for staged-but-unsent input. Record a
68
+ disposition for every such input before stopping the seat.
69
+ 9. Record all Herder/tmux clients currently attached to the incumbent session.
70
+ 10. Take a bounded rig snapshot and record its ID.
71
+
72
+ Stop if identity, token, model, authority, custody, or staged-input evidence disagrees.
73
+
74
+ ## Phase 2: Quiesce The Temporary Successor
75
+
76
+ Use supported lifecycle surfaces. The correct detach verb depends on the current
77
+ session origin:
78
+
79
+ - `claimed` or `adopted`: use `rig unclaim` as prescribed by the CLI;
80
+ - `launched`: use `rig seat stop <successor-seat>`; `rig unclaim` will correctly refuse.
81
+
82
+ Run `rig seat clean` only if a remaining managed record actually needs cleaning. A
83
+ `nothing_to_clean` result after a successful stop is acceptable.
84
+
85
+ Do not use `rig down`, kill a provider, clear the provider history, or start a generic
86
+ fresh occupant.
87
+
88
+ ## Phase 3: Realize The Exact Candidate
89
+
90
+ Start an isolated, discoverable candidate from the exact accepted provider token. Give
91
+ it the target seat's canonical environment from its first byte:
92
+
93
+ ```text
94
+ OPENRIG_SESSION_NAME=<target-session>
95
+ OPENRIG_NODE_ID=<target-node-id>
96
+ OPENRIG_RUNTIME=<runtime>
97
+ OPENRIG_HOME=<home>
98
+ OPENRIG_URL=<url>
99
+ PATH=<managed-runtime-bin>:<required-system-paths>
100
+ ```
101
+
102
+ Launch the provider with the exact model, token, and canonical name. Put `PATH` in the
103
+ provider process environment itself. Setting tmux session environment alone is not
104
+ sufficient because an intervening login shell can replace it.
105
+
106
+ Register or discover the candidate and record its discovery ID. Before committing,
107
+ verify its process argv and environment directly:
108
+
109
+ - exact resume token;
110
+ - exact model;
111
+ - canonical `--name`;
112
+ - canonical target node and session environment;
113
+ - `node` and `rig` resolvable from the managed runtime path.
114
+
115
+ ## Phase 4: Commit The Binding
116
+
117
+ Run the supported handover against the discovery record:
118
+
119
+ ```bash
120
+ rig seat handover <target-seat> \
121
+ --source discovered:<discovery-id> \
122
+ --reason <durable-reason> \
123
+ --operator <operator-seat> \
124
+ --json
125
+ ```
126
+
127
+ Read back the result. Require:
128
+
129
+ - `handover_result=complete`;
130
+ - target node unchanged;
131
+ - continuity outcome names the actual mode, normally `resumed`;
132
+ - provenance points to the previous occupant;
133
+ - a new target session row exists.
134
+
135
+ Do not rename panes before this commit is durable.
136
+
137
+ ## Phase 5: Preserve The Physical Seat, Reconcile, And Preserve Memory
138
+
139
+ The canonical tmux session, window, and pane are part of the stable seat when humans or
140
+ agents have attached clients. Do not make those clients chase a renamed session.
141
+
142
+ 1. In the original canonical pane, stop only the incumbent provider process. Keep the tmux
143
+ session, window, and pane unchanged.
144
+ 2. Keep the incumbent's exact provider token in the lineage ledger as the cold-advisor
145
+ handle. It need not retain a permanently renamed tmux pane.
146
+ 3. Stop the staged successor process only after its accepted token is durable, then resume
147
+ that exact successor token inside the original canonical pane with the canonical name,
148
+ model, cwd, environment, and managed `PATH`.
149
+ 4. Reconcile the canonical target session through the supported seat surface and persist
150
+ the exact resume token using the audited token-input surface.
151
+ 5. Verify the canonical seat has exactly one managed occupant, the old token remains
152
+ wakeable, and the empty staging session is removed.
153
+
154
+ Renaming the incumbent and staging sessions is a repair fallback for a run that already
155
+ changed the physical session, never the default cutover. A resumed reserve can retain a
156
+ boot-time canonical name in its own argv or environment; that residue does not make it the
157
+ bound seat. Fence reserve replies in their body and treat the topology binding as authority.
158
+
159
+ ## Phase 6: Post-Cutover Self-Check
160
+
161
+ Keep authority frozen. Ask the new occupant to derive, not assume:
162
+
163
+ 1. `rig whoami --json`: stable logical ID, node ID, canonical session, runtime, edges;
164
+ 2. `rig queue whoami`: canonical destination and open-row census;
165
+ 3. active provider UUID from the newest live history file;
166
+ 4. effective model from live provider records, not only the spec pin;
167
+ 5. duty-custody artifact read and accepted;
168
+ 6. all cutover-window queue rows accounted for;
169
+ 7. `command -v node` and `command -v rig` from the agent's own tool shell;
170
+ 8. a narrow hook/tool action proving no startup-environment failure.
171
+
172
+ If any surface fails, preserve the exact provider UUID and repair only the disagreeing
173
+ surface. Relaunch the same history if needed. Repeat the full self-check before
174
+ unfreezing authority.
175
+
176
+ ## Phase 7: Unfreeze And Transfer Custody
177
+
178
+ After a clean self-check:
179
+
180
+ 1. explicitly unfreeze desk authority;
181
+ 2. transfer each staged or cutover-window instruction exactly once;
182
+ 3. require the new occupant to verify the effects by read-back;
183
+ 4. notify the routing lead and incumbent reserve of completion;
184
+ 5. leave the incumbent reserve idle, uncompacted, and authority-free.
185
+
186
+ ## Phase 8: Verify Herder Views
187
+
188
+ Clients follow the physical tmux session and pane, not the logical binding. The default
189
+ physical-seat cutover should leave every recorded client attached to the same canonical
190
+ pane. Read the attachments back. If a repair fallback already renamed the session, retarget
191
+ each affected client explicitly:
192
+
193
+ ```bash
194
+ rig seat switch-client <target-seat> --client <tty> --json
195
+ ```
196
+
197
+ Read back all client attachments. A correct cutover can otherwise still look wrong in
198
+ the grid or focus tab.
199
+
200
+ ## Completion Proof
201
+
202
+ The receipt must include:
203
+
204
+ - operator baton and authority source;
205
+ - snapshot ID;
206
+ - stable and temporary node IDs;
207
+ - old and new provider UUIDs;
208
+ - discovery, handover, and final session IDs;
209
+ - final process argv and critical environment;
210
+ - `rig seat status` result;
211
+ - target and successor inventory states;
212
+ - queue-row reconciliation;
213
+ - staged-input disposition and effect proof;
214
+ - reserve pane/name/token and fence;
215
+ - Herder client attachments;
216
+ - new occupant's self-check and first verified desk acts;
217
+ - deviations, failed attempts, and remaining product gaps;
218
+ - receipt path and SHA-256.
219
+
220
+ Close the baton only after the receipt exists and the new occupant has performed at
221
+ least one authority-bearing act verified by effect.
222
+
223
+ ## Traps Proven In The 2026-08-28 Run
224
+
225
+ - A dry-run can accept a managed successor while the live handover refuses
226
+ `successor_already_managed`. Quiesce the temporary seat first.
227
+ - Generic launch/restore selection can choose an older seat history. Launch the exact
228
+ accepted resume token.
229
+ - Handover can bind a candidate without stopping the incumbent. Apply the ruled
230
+ disposition explicitly.
231
+ - Reconciliation can create the right session identity without carrying the resume
232
+ token. Persist and read it back.
233
+ - A canonical-looking process can still have a broken tool `PATH`. Verify from inside
234
+ the provider's own tool shell.
235
+ - Renaming sessions makes Herder clients follow the retired pane. Preserve the physical
236
+ canonical pane by default; retarget explicitly only when repairing an already-renamed run.
237
+ - Pane input can be visible but absent from JSONL. Reconcile the durable outbox before
238
+ stopping the pane.
239
+ - Reserve messages can render with the stable seat name because boot-time environment
240
+ survives unbinding. The reserve must self-identify and remain explicitly fenced.
241
+ - Success output is not effect proof. Read back queue closure, binding, client movement,
242
+ and transferred instructions.
243
+
244
+ ## Productization Candidates
245
+
246
+ The manual sequence identifies useful first-class product work:
247
+
248
+ - handover directly from an already-managed successor seat;
249
+ - an exact-resume-token candidate launcher;
250
+ - first-class `advise`/memory disposition for the old occupant;
251
+ - atomic binding plus token persistence;
252
+ - managed environment validation before commit;
253
+ - staged-input custody reporting;
254
+ - verify-or-repair all Herder client attachments for a logical seat;
255
+ - reserve attribution distinct from canonical seat attribution;
256
+ - one receipt that reports continuity and seat-binding outcomes independently.
@@ -0,0 +1,40 @@
1
+ # Orchestrator Role In Apprentice Handover
2
+
3
+ The orchestrator owns the judgment boundary, not the successor's work and not the mechanic's
4
+ keystrokes. Keep the incumbent productive, keep the successor authority-free, and keep the
5
+ mechanic fenced until a named owner makes the one decision no instrument can derive.
6
+
7
+ ## The invariant floor
8
+
9
+ - Prove fresh identity and the pinned model before installing context, because every later
10
+ receipt is about the wrong occupant if the starting history or model diverged.
11
+ - Require the successor to derive its own layer-5 delta and have it checked, because reading
12
+ a deposit does not install it.
13
+ - Enumerate standing-duty custody at every boundary, because recurring work is easiest to
14
+ lose while visible one-off work carries cleanly.
15
+ - Keep the predecessor's verbatim reach-back handle and pre-formed questions, because an
16
+ affordance without a trigger goes unused.
17
+ - Route mechanics through `apprentice-successor-seat-cutover.md`, because one portable SOP
18
+ is safer than role-local copies that drift.
19
+
20
+ ## Authority and gates
21
+
22
+ The **word is the gate**. Until the named owner words acceptance and an effect receipt records
23
+ it, the successor may observe, ask, and produce bounded evidence but may not act as the stable
24
+ seat. G0–G3 are a useful receipt vocabulary when the succession uses that model; a declared
25
+ simpler model is valid when stakes do not earn all four. Missing records and deliberately
26
+ skipped gates must remain distinguishable.
27
+
28
+ The apprenticeship is a conversation, not a gauntlet. Choose evidence whose rigor matches the
29
+ cost and reversibility of a wrong succession. Never turn the experiment apparatus into culture.
30
+
31
+ ## Before routing cutover
32
+
33
+ Confirm the owner word, gate receipts or declared simpler model, complete deposits, explicit
34
+ duty custody, reserve disposition, exact successor token, and one-active-walker ownership.
35
+ Create an owned mechanic baton; awareness-only is not custody. The baton may prepare and prove,
36
+ but it never auto-rebinds.
37
+
38
+ After the mechanic reports effect, verify READY from source: canonical seat identity, current
39
+ model, current generation, canonical tmux pane, queue census, duty acceptance, and usable width.
40
+ Only then unfreeze authority.
@@ -1,10 +1,15 @@
1
1
  ---
2
2
  name: software-for-agents
3
3
  description: |
4
- Use when building, modifying, or diagnosing an OpenRig or studio-box system; when surprising behavior
5
- looks like a code bug but may come from Markdown, YAML, JSON, bootstrap files, schemas, skills, or
6
- conventions; or when deciding whether an agent-built studio app needs a separate mockup phase. NOT for
7
- treating defects in OpenRig core or rigs.to as tolerable control-plane drift.
4
+ Load this FIRST, before you assume how anything here works especially before building, modifying, or
5
+ "fixing a bug" in an OpenRig or studio-box system, or when something behaves unexpectedly and you're
6
+ about to treat it as a code bug. You are almost certainly NOT operating in traditional software. This
7
+ is a self-improving MARKDOWN CONTROL PLANE: the substrate is markdown + YAML + JSON + folder structure
8
+ (skills, instructions, bootstrap files, schemas, conventions), and most "bugs" are coherence gaps in
9
+ that layer, not broken functions. Read this to form the correct mental model so your fixes land at the
10
+ precise spot that stops the footgun for every future rig — not just patch a symptom. It also covers why STUDIO APPS skip the mockup phase — for an agent-built app the build is as fast as the mockup, so the PRD is the fleshed intent (velocity as method, not a quality waiver). NOTE: the
11
+ bug-tolerance in this model is SCOPED to agent-managed software; the OpenRig core and rigs.to stay
12
+ rock-solid — see the scope block up top before you apply anything here.
8
13
  metadata:
9
14
  openrig:
10
15
  stage: factory-approved
@@ -1,48 +1,26 @@
1
1
  # VM Preview Fixtures
2
2
 
3
- Sample data the Tart preview VM uses to populate the "populated" daemon with
4
- a representative "lived-in" environment. See
5
- `<substrate-shared-docs>/openrig-work/conventions/vm-preview/README.md` for the
6
- operator workflow and the rationale behind the two-daemon model.
3
+ Sample data used by the Tart preview environment to give one OpenRig daemon
4
+ representative content while a second daemon remains empty for comparison.
7
5
 
8
6
  ## Contents
9
7
 
10
- - `workflows/` — workflow_spec YAML files. The operator copies these into the
11
- populated daemon's `<workspace.specs_root>/workflows/` directory; slice 11's
12
- folder-discovery scanner auto-discovers them on the next
13
- `GET /api/specs/library` call.
8
+ - `workflows/` — public example workflow specifications. The basic-loop sample
9
+ demonstrates a complete intake-to-close handoff without depending on a
10
+ private rig or machine.
14
11
 
15
- - `queue-items/` — placeholder for future qitem fixture content (TODO; slice
16
- follow-up will add).
12
+ ## Use
17
13
 
18
- - `rigs/` placeholder for future rig-instance fixtures (TODO; slice
19
- follow-up will add). For v0, the operator manually instantiates a sample
20
- rig via `rig up product-team` against the populated daemon (see bootstrap
21
- script).
14
+ Run `scripts/vm-bootstrap/two-daemon-start.sh`, then copy the workflow YAML
15
+ files into the populated daemon's configured `<workspace.specs_root>/workflows/`
16
+ directory. The daemon discovers them on the next workflow-library listing.
22
17
 
23
18
  ## Conventions
24
19
 
25
- Fixture YAML files use the canonical placeholder paths per banked
26
- `feedback_test_fixture_example_path_placeholder.md`:
27
-
28
- - Username-bearing paths: `/Users/example/...` (never a real contributor
29
- username)
30
- - Substrate-relative refs: `<substrate-shared-docs>/...`
31
-
32
- ## v0 scope
33
-
34
- Slice 22 (release-0.3.1) ships the INFRASTRUCTURE for the two-daemon model:
35
-
36
- - **Process-env pattern**: `OPENRIG_HOME=<dir> rig daemon start ...` — each
37
- `rig` invocation gets its own state directory at process import time.
38
- No CLI flag (an earlier attempt at `--openrig-home` was dropped because
39
- it only threaded into the spawned child, not the parent-side lifecycle
40
- bookkeeping; see substrate convention doc for the architecture note).
41
- - Bootstrap script (`scripts/vm-bootstrap/two-daemon-start.sh`)
42
- - This fixtures directory + a sample workflow YAML
43
- - Convention doc in substrate
44
-
45
- Authoring rich populated content (~13-node openrig-velocity rig + 20 qitems
46
- + getting-started mission narrative) is deferred to follow-up content slices
47
- that have clearer ownership (slice 21 onboarding-conveyor will likely
48
- contribute getting-started mission content).
20
+ - Use `/Users/example/...` for username-bearing paths.
21
+ - Use symbolic configuration paths such as `<workspace.specs_root>` instead of
22
+ machine-specific locations.
23
+ - Use generic logical roles and IDs rather than concrete session, host, or rig
24
+ instance addresses.
25
+ - Describe the product behavior the fixture demonstrates; omit release history,
26
+ internal ownership, and implementation planning.
@@ -1,8 +1,7 @@
1
- # VM-preview fixture for slice 22 founder-walk-vm-populated-env.
2
- # Derived from the 0.3.0 basic-loop starter; renamed to avoid colliding
3
- # with the built-in spec when this fixture file is dropped into a
4
- # populated daemon's workspace.specs_root/workflows/ directory.
5
- # Slice 11's folder-discovery scanner auto-discovers it on next list.
1
+ # Example workflow for the populated VM preview.
2
+ # Its distinct ID avoids colliding with the built-in basic-loop specification
3
+ # when copied into the populated daemon's configured workflows directory.
4
+ # The daemon discovers it on the next workflow-library listing.
6
5
  workflow:
7
6
  id: vm-preview-basic-loop
8
7
  version: 1
@@ -0,0 +1,14 @@
1
+ # Public capability and source-map width for the default onboarding walk.
2
+ name: onboarding-width
3
+ version: "0.5.6"
4
+ # OPR.0.5.6.10 — affordances knowledge (what this system can do) is world
5
+ # content under the coining-session definitions.
6
+ taxonomy: world
7
+ purpose: "The public capability map and source map referenced by the default onboarding walk."
8
+ files:
9
+ - path: public-what-you-can-do.md
10
+ role: reference
11
+ summary: "The public OpenRig capability map."
12
+ - path: public-reference-material.md
13
+ role: reference
14
+ summary: "The public source map and trust guidance."
@@ -19,7 +19,7 @@ points and were written to be entered from:
19
19
  into the code and do not know which module owns the thing.
20
20
  - **`cli-reference.md` — the full `rig` command surface, ~106 KB.** Every group, subcommand, flag,
21
21
  JSON shape. **This is the authority on how a command works**, and the capabilities piece
22
- (`what-you-can-do.md`) is only the map to it.
22
+ (`public-what-you-can-do.md`) is only the map to it.
23
23
 
24
24
  **These are maintained, not archaeology.** `cli-reference.md` alone has forty-nine commits against
25
25
  it. Treat them as current.
@@ -40,28 +40,6 @@ Each of these carries frontmatter, and three fields are worth knowing by name:
40
40
  field is how you calibrate rather than guess. Where a doc and the live binary disagree, **the
41
41
  binary wins** — and the disagreement is worth reporting, not just working around.
42
42
 
43
- ## The corpus — under `shared-docs/` in the OpenRig home
44
-
45
- Twenty-one directories of accumulated writing. The ones you are most likely to want:
46
-
47
- | where | roughly | what it holds |
48
- |---|---|---|
49
- | `product/` | 103 files | what OpenRig is, who it is for, why it exists in this shape |
50
- | `conventions/` | 76 files | how things are done here — naming, scope, cadence, formats |
51
- | `field-notes/` | 141 files | what actually happened, written by whoever it happened to |
52
- | `primitives/` | 38 files | the load-bearing concepts, examined one at a time |
53
- | `doctrine/` | 10 files | the rulings that settled a recurring argument |
54
- | `corpus/` | 14 files | canon and insights, distilled |
55
-
56
- **A warning you will need, because it is not obvious from the directory names:** almost all of this
57
- was written to explain OpenRig **to a human**. It says *you stop being the router, the bookkeeping
58
- leaves your head, your job shrinks to judgment.* Read as-is, it is about somebody else.
59
-
60
- **The agent version is the same content with the subject swapped: you are the router now.** The
61
- bookkeeping moved to you. The judgment that was supposed to stay human is sitting in your seat.
62
- When you read the corpus, do that substitution as you go — otherwise you will absorb it as
63
- background about a user rather than as a description of your own job.
64
-
65
43
  ## The living answer — `--help`
66
44
 
67
45
  **The binary is always more current than anything written about it.** `rig <verb> --help` and
@@ -74,12 +52,12 @@ building a parallel solution out of primitives that already compose into the ans
74
52
 
75
53
  ## Outside the forest — when nothing on this machine can answer it
76
54
 
77
- **Everything above is this box.** The corpus, the as-built docs, `--help`, the disk. There is a
78
- whole class of question none of it reaches: what an external library actually does today, anything
79
- that changed after your training cutoff, what is true in the world rather than in this repo.
55
+ There is a whole class of question the source repo and live `--help` do not reach: what an external
56
+ library actually does today, anything that changed after your training cutoff, what is true in the
57
+ world rather than in this repo.
80
58
 
81
59
  **And the failure is the same one this page already warns about, pointed outward.** An agent that
82
- does not know the corpus exists invents instead of looking. An agent that does not know these exist
60
+ does not know the external sources below exist invents instead of looking. An agent that does not know these exist
83
61
  **answers from its training snapshot and states it as current** — and an invented answer and a
84
62
  known one look identical once you have stated one.
85
63
 
@@ -355,9 +355,9 @@ your circumstances is configuration, and the ones that are not, another agent ca
355
355
  - **`rig usage series`** — what a seat's token curve has looked like over time: climbing steadily,
356
356
  reset, or stopped reporting entirely. The last one is a signal, not a gap.
357
357
  - **`rig tui`** — the interactive view over rigs, pods, seats and specs. **`rig tui commands`**
358
- lists everything it can do without launching it. **`rig ui open`** is a browser view of the same
359
- territory experimental and in maintenance mode, so do not diagnose product behaviour from it;
360
- check the CLI.
358
+ lists everything it can do without launching it. **`rig ui open`** is unmaintained, best-effort,
359
+ and replaced by the TUI, so never diagnose product behaviour from the web UI. The TUI plus Slack
360
+ are the human surface; the CLI plus terminal are the agent surface.
361
361
  - **`rig mcp serve`** — how an agent that speaks MCP rather than shell drives OpenRig, and which
362
362
  operations are exposed that way. Relevant the moment a tool you are integrating cannot run a
363
363
  shell command.
@@ -380,12 +380,16 @@ database. It is one more set of primitives on a machine full of them.
380
380
  - **"Who should be working and isn't?"** — `rig ps --nodes` knows who is alive; the queue knows who
381
381
  owes. **Neither knows the interesting cell.** Cross them and *alive, holding work, and not
382
382
  moving* falls out — which is the actual question behind every "is the rig stuck."
383
- - **"Is that seat stuck or thinking?"** — `rig capture` for the screen, `claimedAt` for how long,
384
- `queue transitions` for what it recorded. **Liveness is not health:** a pane can render while
385
- nothing progresses, and no single surface reports intent.
386
- - **"Is this a park or a strand?"** the row cannot tell you; a deliberate park and a dropped
387
- baton are byte-identical on it. `queue transitions` is where the disposition lives. **When a
388
- conclusion rests on one field's current value, go find the thing that records change.**
383
+ - **"Is that seat stuck or thinking?"** — the row face answers this now (S04 pickup receipts):
384
+ every list/show projection carries a derived `pickup` state `working`, `stalled-after-claim`
385
+ (with its evidence named: claimed N min ago, zero substantive transitions since), `parked`, or
386
+ `unclaimed` and `rig view show pickup` lists every claimed row with it. The old by-hand join
387
+ (capture + `claimedAt` arithmetic + `queue transitions`) is RETIRED as a first move; `rig
388
+ capture` remains the second question (is the pane alive), never the state derivation.
389
+ - **"Is this a park or a strand?"** — the row face answers the pickup half: `parked` means the row is blocked,
390
+ whether or not it has a wake; a strand reads `stalled-after-claim` with named evidence. Wake
391
+ health and fired-but-unconsumed diagnosis come from `rig parked`, not the pickup projection.
392
+ `queue transitions` remains the audit trail for WHAT happened, not the tool for deriving pickup.
389
393
  - **"Did that actually land?"** — `queue show` truncates the body and `queue list` can report
390
394
  `bodyBytes=0`; neither means empty. **`sqlite3 "$OPENRIG_DB" "select length(body) …"` is the
391
395
  only answer.** The CLI is a projection; the database is the thing.
@@ -1,7 +1,8 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-starters"
4
- version: "0.5.4"
4
+ version: "0.5.6"
5
+ taxonomy: "skills"
5
6
  purpose: "Use when creating, refreshing, packaging, inspecting, promoting, or deprecating a named per-seat starting point — Agent Starter manifest authoring, the 6-state lifecycle (captured → named → inspectable → used → promoted → deprecated), provenance honesty, and refusal rules. NOT a VM image; a managed starting point composed from agent role + startup context + optional native session source + provenance."
6
7
  files:
7
8
  - path: "SKILL.md"
@@ -1,7 +1,8 @@
1
1
  # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
2
  # Package-time projection of a canonical skill; regenerated every build.
3
3
  name: "agent-startup-and-context-ingestion"
4
- version: "0.5.4"
4
+ version: "0.5.6"
5
+ taxonomy: "skills"
5
6
  purpose: "Use when designing or auditing how an agent becomes useful after launch — AGENTS.md overlays, role files, skills, rig specs, workflow specs, startup checklists, refocus messages, \"rig context\" surface. Covers the 4 failure modes that make startup context fail (old rig spec misses current operating mode; current agents never told about new guidance; startup file as dumping ground; orchestrator transmits implementation without preserving product intent)."
6
7
  files:
7
8
  - path: "SKILL.md"