@openrig/cli 0.5.8 → 0.5.10

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 (1083) hide show
  1. package/daemon/assets/claude-statusline-context.cjs +1 -0
  2. package/daemon/assets/plugins/openrig-core/README.md +1 -1
  3. package/daemon/assets/plugins/openrig-core/skills/agent-operated-software/SKILL.md +92 -0
  4. package/daemon/assets/plugins/openrig-core/skills/agent-operated-workflows/SKILL.md +79 -0
  5. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +2 -2
  6. package/daemon/assets/plugins/openrig-core/skills/messaging-the-human/SKILL.md +48 -61
  7. package/daemon/assets/plugins/openrig-core/skills/mission-slice-sop/SKILL.md +19 -5
  8. package/daemon/assets/plugins/openrig-core/skills/openrig-skills/SKILL.md +4 -2
  9. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +37 -16
  10. package/daemon/assets/plugins/openrig-core/skills/software-for-agents/SKILL.md +11 -179
  11. package/daemon/context-packs/onboarding-width/manifest.yaml +1 -1
  12. package/daemon/context-packs/onboarding-width/public-what-you-can-do.md +88 -28
  13. package/daemon/context-packs/skills/agent-operated-software/SKILL.md +92 -0
  14. package/daemon/context-packs/skills/agent-operated-software/manifest.yaml +10 -0
  15. package/daemon/context-packs/skills/agent-operated-workflows/SKILL.md +79 -0
  16. package/daemon/context-packs/skills/agent-operated-workflows/manifest.yaml +10 -0
  17. package/daemon/context-packs/skills/applying-a-permission-policy/manifest.yaml +1 -1
  18. package/daemon/context-packs/skills/claude-compaction-restore/manifest.yaml +1 -1
  19. package/daemon/context-packs/skills/core/agent-starters/manifest.yaml +1 -1
  20. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/SKILL.md +21 -6
  21. package/daemon/context-packs/skills/core/agent-startup-and-context-ingestion/manifest.yaml +1 -1
  22. package/daemon/context-packs/skills/core/cross-host-rig-commands/manifest.yaml +1 -1
  23. package/daemon/context-packs/skills/core/human-in-the-loop/manifest.yaml +1 -1
  24. package/daemon/context-packs/skills/core/messaging-the-human/SKILL.md +48 -61
  25. package/daemon/context-packs/skills/core/messaging-the-human/manifest.yaml +3 -3
  26. package/daemon/context-packs/skills/core/openrig-architect/manifest.yaml +1 -1
  27. package/daemon/context-packs/skills/core/openrig-cmux/manifest.yaml +1 -1
  28. package/daemon/context-packs/skills/core/openrig-herdr/manifest.yaml +1 -1
  29. package/daemon/context-packs/skills/core/openrig-skills/SKILL.md +4 -2
  30. package/daemon/context-packs/skills/core/openrig-skills/manifest.yaml +1 -1
  31. package/daemon/context-packs/skills/core/openrig-upgrade/SKILL.md +81 -0
  32. package/daemon/context-packs/skills/core/openrig-upgrade/manifest.yaml +3 -1
  33. package/daemon/context-packs/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs +1419 -0
  34. package/daemon/context-packs/skills/core/rig-bundles-and-shareable-artifacts/manifest.yaml +1 -1
  35. package/daemon/context-packs/skills/core/rig-lifecycle/manifest.yaml +1 -1
  36. package/daemon/context-packs/skills/core/session-source-fork/manifest.yaml +1 -1
  37. package/daemon/context-packs/skills/core/specification-system/manifest.yaml +1 -1
  38. package/daemon/context-packs/skills/core/topology-mutation-and-seat-management/manifest.yaml +1 -1
  39. package/daemon/context-packs/skills/core/watchdog/manifest.yaml +1 -1
  40. package/daemon/context-packs/skills/delegating-work/manifest.yaml +1 -1
  41. package/daemon/context-packs/skills/forming-an-openrig-mental-model/SKILL.md +2 -2
  42. package/daemon/context-packs/skills/forming-an-openrig-mental-model/manifest.yaml +1 -1
  43. package/daemon/context-packs/skills/loading-addressable-markdown/manifest.yaml +1 -1
  44. package/daemon/context-packs/skills/mission-slice-sop/SKILL.md +19 -5
  45. package/daemon/context-packs/skills/mission-slice-sop/manifest.yaml +1 -1
  46. package/daemon/context-packs/skills/openrig-operating-model/manifest.yaml +1 -1
  47. package/daemon/context-packs/skills/openrig-user/SKILL.md +37 -16
  48. package/daemon/context-packs/skills/openrig-user/manifest.yaml +1 -1
  49. package/daemon/context-packs/skills/orienting-to-an-inherited-seat/manifest.yaml +1 -1
  50. package/daemon/context-packs/skills/pm/backlog-capture/manifest.yaml +1 -1
  51. package/daemon/context-packs/skills/pm/context-builder/manifest.yaml +1 -1
  52. package/daemon/context-packs/skills/pm/exec-summary/manifest.yaml +1 -1
  53. package/daemon/context-packs/skills/pm/office-hours/manifest.yaml +1 -1
  54. package/daemon/context-packs/skills/pm/plan-review/manifest.yaml +1 -1
  55. package/daemon/context-packs/skills/pm/requirements-writer/manifest.yaml +1 -1
  56. package/daemon/context-packs/skills/pm/ui-mockup/manifest.yaml +1 -1
  57. package/daemon/context-packs/skills/pods/development-team/SKILL.md +40 -139
  58. package/daemon/context-packs/skills/pods/development-team/manifest.yaml +3 -3
  59. package/daemon/context-packs/skills/pods/orchestration-team/SKILL.md +40 -60
  60. package/daemon/context-packs/skills/pods/orchestration-team/manifest.yaml +3 -3
  61. package/daemon/context-packs/skills/pods/oversight-team/manifest.yaml +1 -1
  62. package/daemon/context-packs/skills/pods/review-team/SKILL.md +34 -31
  63. package/daemon/context-packs/skills/pods/review-team/manifest.yaml +3 -3
  64. package/daemon/context-packs/skills/process/agent-browser/manifest.yaml +1 -1
  65. package/daemon/context-packs/skills/process/context-engineering/manifest.yaml +1 -1
  66. package/daemon/context-packs/skills/process/dogfood/manifest.yaml +1 -1
  67. package/daemon/context-packs/skills/process/frontend-design/manifest.yaml +1 -1
  68. package/daemon/context-packs/skills/process/systematic-debugging/manifest.yaml +1 -1
  69. package/daemon/context-packs/skills/process/test-driven-development/SKILL.md +6 -8
  70. package/daemon/context-packs/skills/process/test-driven-development/manifest.yaml +1 -1
  71. package/daemon/context-packs/skills/process/verification-before-completion/manifest.yaml +1 -1
  72. package/daemon/context-packs/skills/queue-handoff/manifest.yaml +1 -1
  73. package/daemon/context-packs/skills/refocusing/manifest.yaml +1 -1
  74. package/daemon/context-packs/skills/retiring-and-inheriting-a-seat/manifest.yaml +1 -1
  75. package/daemon/context-packs/skills/seat-continuity-and-handover/manifest.yaml +1 -1
  76. package/daemon/context-packs/skills/session-compaction-and-restore/manifest.yaml +1 -1
  77. package/daemon/context-packs/skills/software-for-agents/SKILL.md +11 -179
  78. package/daemon/context-packs/skills/software-for-agents/manifest.yaml +3 -3
  79. package/daemon/context-packs/world-example/manifest.yaml +1 -1
  80. package/daemon/context-packs/world-example/your-world.md +1 -1
  81. package/daemon/context-packs/world-public/build-your-world.md +19 -0
  82. package/daemon/context-packs/world-public/claims.yaml +5 -1
  83. package/daemon/context-packs/world-public/manifest.yaml +40 -1
  84. package/daemon/context-packs/world-public/verify-world.sh +25 -9
  85. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  86. package/daemon/dist/adapters/claude-code-adapter.js +4 -2
  87. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  88. package/daemon/dist/build-info.js +3 -3
  89. package/daemon/dist/db/all-migrations.d.ts +1 -1
  90. package/daemon/dist/db/all-migrations.d.ts.map +1 -1
  91. package/daemon/dist/db/all-migrations.js +3 -1
  92. package/daemon/dist/db/all-migrations.js.map +1 -1
  93. package/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts +8 -5
  94. package/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts.map +1 -1
  95. package/daemon/dist/db/migrations/046_seat_identity_verdicts.js +8 -5
  96. package/daemon/dist/db/migrations/046_seat_identity_verdicts.js.map +1 -1
  97. package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts +8 -0
  98. package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts.map +1 -0
  99. package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js +50 -0
  100. package/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js.map +1 -0
  101. package/daemon/dist/domain/active-occupant.d.ts +6 -1
  102. package/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  103. package/daemon/dist/domain/active-occupant.js +47 -0
  104. package/daemon/dist/domain/active-occupant.js.map +1 -1
  105. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  106. package/daemon/dist/domain/bootstrap-orchestrator.js +8 -1
  107. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  108. package/daemon/dist/domain/bundle-context-packs-router.d.ts +3 -3
  109. package/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
  110. package/daemon/dist/domain/bundle-skills-router.d.ts +3 -0
  111. package/daemon/dist/domain/bundle-skills-router.d.ts.map +1 -1
  112. package/daemon/dist/domain/bundle-skills-router.js +5 -1
  113. package/daemon/dist/domain/bundle-skills-router.js.map +1 -1
  114. package/daemon/dist/domain/claim-service.d.ts +2 -0
  115. package/daemon/dist/domain/claim-service.d.ts.map +1 -1
  116. package/daemon/dist/domain/claim-service.js +33 -12
  117. package/daemon/dist/domain/claim-service.js.map +1 -1
  118. package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
  119. package/daemon/dist/domain/context-packs/context-pack-library-service.js +9 -1
  120. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  121. package/daemon/dist/domain/context-packs/context-pack-types.d.ts +25 -0
  122. package/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
  123. package/daemon/dist/domain/context-packs/context-pack-types.js +3 -1
  124. package/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
  125. package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
  126. package/daemon/dist/domain/context-packs/manifest-parser.js +143 -3
  127. package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
  128. package/daemon/dist/domain/context-packs/profile-composer.d.ts +22 -1
  129. package/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
  130. package/daemon/dist/domain/context-packs/profile-composer.js +105 -40
  131. package/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
  132. package/daemon/dist/domain/context-usage-store.d.ts +4 -0
  133. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  134. package/daemon/dist/domain/context-usage-store.js +8 -4
  135. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  136. package/daemon/dist/domain/crash-cart-conductor.d.ts +13 -0
  137. package/daemon/dist/domain/crash-cart-conductor.d.ts.map +1 -1
  138. package/daemon/dist/domain/crash-cart-conductor.js +3 -1
  139. package/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  140. package/daemon/dist/domain/execution-view.d.ts.map +1 -1
  141. package/daemon/dist/domain/execution-view.js +145 -16
  142. package/daemon/dist/domain/execution-view.js.map +1 -1
  143. package/daemon/dist/domain/gateway/channel-operations.d.ts +39 -0
  144. package/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
  145. package/daemon/dist/domain/gateway/channel-operations.js +35 -0
  146. package/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
  147. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts +3 -0
  148. package/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
  149. package/daemon/dist/domain/gateway/gateway-subsystem.js +3 -0
  150. package/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
  151. package/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
  152. package/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
  153. package/daemon/dist/domain/gateway/human-readiness.js +44 -0
  154. package/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
  155. package/daemon/dist/domain/gateway/human-registry.d.ts +2 -7
  156. package/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  157. package/daemon/dist/domain/gateway/human-registry.js +2 -7
  158. package/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  159. package/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
  160. package/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  161. package/daemon/dist/domain/gateway/slack/inbound.js +35 -12
  162. package/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  163. package/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
  164. package/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  165. package/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  166. package/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  167. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +18 -0
  168. package/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  169. package/daemon/dist/domain/gateway/slack/slack-subsystem.js +62 -8
  170. package/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  171. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
  172. package/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
  173. package/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
  174. package/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
  175. package/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
  176. package/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  177. package/daemon/dist/domain/gateway/slack/state-store.js +28 -1
  178. package/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  179. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
  180. package/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
  181. package/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
  182. package/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
  183. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
  184. package/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
  185. package/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
  186. package/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
  187. package/daemon/dist/domain/health-checkpoints.d.ts +57 -0
  188. package/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
  189. package/daemon/dist/domain/health-checkpoints.js +198 -0
  190. package/daemon/dist/domain/health-checkpoints.js.map +1 -0
  191. package/daemon/dist/domain/health-context.d.ts +14 -0
  192. package/daemon/dist/domain/health-context.d.ts.map +1 -0
  193. package/daemon/dist/domain/health-context.js +93 -0
  194. package/daemon/dist/domain/health-context.js.map +1 -0
  195. package/daemon/dist/domain/health-detectors.d.ts +106 -0
  196. package/daemon/dist/domain/health-detectors.d.ts.map +1 -0
  197. package/daemon/dist/domain/health-detectors.js +392 -0
  198. package/daemon/dist/domain/health-detectors.js.map +1 -0
  199. package/daemon/dist/domain/health-diagnosis.d.ts +143 -0
  200. package/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
  201. package/daemon/dist/domain/health-diagnosis.js +249 -0
  202. package/daemon/dist/domain/health-diagnosis.js.map +1 -0
  203. package/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
  204. package/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
  205. package/daemon/dist/domain/health-passive-ceremony.js +234 -0
  206. package/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
  207. package/daemon/dist/domain/health-policy.d.ts +45 -0
  208. package/daemon/dist/domain/health-policy.d.ts.map +1 -0
  209. package/daemon/dist/domain/health-policy.js +89 -0
  210. package/daemon/dist/domain/health-policy.js.map +1 -0
  211. package/daemon/dist/domain/health-projection.d.ts +237 -0
  212. package/daemon/dist/domain/health-projection.d.ts.map +1 -0
  213. package/daemon/dist/domain/health-projection.js +312 -0
  214. package/daemon/dist/domain/health-projection.js.map +1 -0
  215. package/daemon/dist/domain/instance-initialization.d.ts +25 -0
  216. package/daemon/dist/domain/instance-initialization.d.ts.map +1 -0
  217. package/daemon/dist/domain/instance-initialization.js +81 -0
  218. package/daemon/dist/domain/instance-initialization.js.map +1 -0
  219. package/daemon/dist/domain/lifecycle-manifest.d.ts +19 -0
  220. package/daemon/dist/domain/lifecycle-manifest.d.ts.map +1 -0
  221. package/daemon/dist/domain/lifecycle-manifest.js +73 -0
  222. package/daemon/dist/domain/lifecycle-manifest.js.map +1 -0
  223. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  224. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
  225. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  226. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts +36 -36
  227. package/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  228. package/daemon/dist/domain/model-divergence/current-generation-record.js +104 -135
  229. package/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  230. package/daemon/dist/domain/native-process-lineage.d.ts +10 -0
  231. package/daemon/dist/domain/native-process-lineage.d.ts.map +1 -0
  232. package/daemon/dist/domain/native-process-lineage.js +86 -0
  233. package/daemon/dist/domain/native-process-lineage.js.map +1 -0
  234. package/daemon/dist/domain/native-resume-probe.js +12 -1
  235. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  236. package/daemon/dist/domain/node-inventory.d.ts +2 -0
  237. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  238. package/daemon/dist/domain/node-inventory.js +4 -1
  239. package/daemon/dist/domain/node-inventory.js.map +1 -1
  240. package/daemon/dist/domain/node-launcher.d.ts +3 -0
  241. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  242. package/daemon/dist/domain/node-launcher.js +21 -8
  243. package/daemon/dist/domain/node-launcher.js.map +1 -1
  244. package/daemon/dist/domain/pane-binding-observation.d.ts +22 -0
  245. package/daemon/dist/domain/pane-binding-observation.d.ts.map +1 -0
  246. package/daemon/dist/domain/pane-binding-observation.js +54 -0
  247. package/daemon/dist/domain/pane-binding-observation.js.map +1 -0
  248. package/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
  249. package/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  250. package/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  251. package/daemon/dist/domain/policies/workflow-keepalive.js +16 -2
  252. package/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  253. package/daemon/dist/domain/profile-resolver.d.ts +12 -0
  254. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  255. package/daemon/dist/domain/profile-resolver.js +60 -0
  256. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  257. package/daemon/dist/domain/project-lifecycle-compiler.d.ts +35 -0
  258. package/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -0
  259. package/daemon/dist/domain/project-lifecycle-compiler.js +219 -0
  260. package/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -0
  261. package/daemon/dist/domain/provider/claude-usage-reader.d.ts +1 -1
  262. package/daemon/dist/domain/provider/claude-usage-reader.d.ts.map +1 -1
  263. package/daemon/dist/domain/provider/claude-usage-reader.js +28 -18
  264. package/daemon/dist/domain/provider/claude-usage-reader.js.map +1 -1
  265. package/daemon/dist/domain/queue-repository.d.ts +19 -1
  266. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  267. package/daemon/dist/domain/queue-repository.js +66 -5
  268. package/daemon/dist/domain/queue-repository.js.map +1 -1
  269. package/daemon/dist/domain/queue-retention.d.ts +3 -4
  270. package/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  271. package/daemon/dist/domain/queue-retention.js +5 -8
  272. package/daemon/dist/domain/queue-retention.js.map +1 -1
  273. package/daemon/dist/domain/queue-transition-log.d.ts +33 -0
  274. package/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  275. package/daemon/dist/domain/queue-transition-log.js +152 -0
  276. package/daemon/dist/domain/queue-transition-log.js.map +1 -1
  277. package/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
  278. package/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
  279. package/daemon/dist/domain/queue-wait-backoff.js +96 -0
  280. package/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
  281. package/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
  282. package/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  283. package/daemon/dist/domain/queue-wake-repository.js +8 -3
  284. package/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  285. package/daemon/dist/domain/restore-attempt-receipt.d.ts +34 -0
  286. package/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -0
  287. package/daemon/dist/domain/restore-attempt-receipt.js +59 -0
  288. package/daemon/dist/domain/restore-attempt-receipt.js.map +1 -0
  289. package/daemon/dist/domain/restore-orchestrator.d.ts +57 -24
  290. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  291. package/daemon/dist/domain/restore-orchestrator.js +152 -26
  292. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  293. package/daemon/dist/domain/restore-topology.d.ts +14 -0
  294. package/daemon/dist/domain/restore-topology.d.ts.map +1 -0
  295. package/daemon/dist/domain/restore-topology.js +27 -0
  296. package/daemon/dist/domain/restore-topology.js.map +1 -0
  297. package/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  298. package/daemon/dist/domain/rig-lifecycle-service.js +9 -0
  299. package/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  300. package/daemon/dist/domain/rigspec-instantiator.d.ts +19 -0
  301. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  302. package/daemon/dist/domain/rigspec-instantiator.js +65 -1
  303. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  304. package/daemon/dist/domain/rigspec-preflight.d.ts +8 -0
  305. package/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  306. package/daemon/dist/domain/rigspec-preflight.js +4 -0
  307. package/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  308. package/daemon/dist/domain/seat-attention-reconciler.d.ts +23 -1
  309. package/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  310. package/daemon/dist/domain/seat-attention-reconciler.js +97 -46
  311. package/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  312. package/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  313. package/daemon/dist/domain/seat-identity-reconciler.js +15 -6
  314. package/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  315. package/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -1
  316. package/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  317. package/daemon/dist/domain/seat-lifecycle-service.js +525 -29
  318. package/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  319. package/daemon/dist/domain/session-registry.d.ts +8 -1
  320. package/daemon/dist/domain/session-registry.d.ts.map +1 -1
  321. package/daemon/dist/domain/session-registry.js +19 -0
  322. package/daemon/dist/domain/session-registry.js.map +1 -1
  323. package/daemon/dist/domain/skill-catalog.d.ts +81 -0
  324. package/daemon/dist/domain/skill-catalog.d.ts.map +1 -0
  325. package/daemon/dist/domain/skill-catalog.js +827 -0
  326. package/daemon/dist/domain/skill-catalog.js.map +1 -0
  327. package/daemon/dist/domain/skill-discovery.d.ts +3 -0
  328. package/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
  329. package/daemon/dist/domain/skill-discovery.js +1 -1
  330. package/daemon/dist/domain/skill-discovery.js.map +1 -1
  331. package/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  332. package/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  333. package/daemon/dist/domain/snapshot-capture.js +38 -2
  334. package/daemon/dist/domain/snapshot-capture.js.map +1 -1
  335. package/daemon/dist/domain/snapshot-repository.d.ts +15 -1
  336. package/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
  337. package/daemon/dist/domain/snapshot-repository.js +103 -1
  338. package/daemon/dist/domain/snapshot-repository.js.map +1 -1
  339. package/daemon/dist/domain/startup-orchestrator.d.ts +2 -0
  340. package/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  341. package/daemon/dist/domain/startup-orchestrator.js +12 -0
  342. package/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  343. package/daemon/dist/domain/system-world.d.ts +45 -0
  344. package/daemon/dist/domain/system-world.d.ts.map +1 -0
  345. package/daemon/dist/domain/system-world.js +123 -0
  346. package/daemon/dist/domain/system-world.js.map +1 -0
  347. package/daemon/dist/domain/telemetry-state-paths.d.ts +7 -0
  348. package/daemon/dist/domain/telemetry-state-paths.d.ts.map +1 -0
  349. package/daemon/dist/domain/telemetry-state-paths.js +20 -0
  350. package/daemon/dist/domain/telemetry-state-paths.js.map +1 -0
  351. package/daemon/dist/domain/types.d.ts +106 -4
  352. package/daemon/dist/domain/types.d.ts.map +1 -1
  353. package/daemon/dist/domain/types.js.map +1 -1
  354. package/daemon/dist/domain/user-settings/settings-store.d.ts +16 -3
  355. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  356. package/daemon/dist/domain/user-settings/settings-store.js +137 -41
  357. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  358. package/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
  359. package/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  360. package/daemon/dist/domain/watchdog-jobs-repository.js +5 -0
  361. package/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  362. package/daemon/dist/domain/watchdog-policy-engine.d.ts +7 -23
  363. package/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  364. package/daemon/dist/domain/watchdog-policy-engine.js +44 -226
  365. package/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  366. package/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  367. package/daemon/dist/domain/workflow-boot-sweep.js +20 -6
  368. package/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  369. package/daemon/dist/domain/workflow-instance-store.d.ts +33 -1
  370. package/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  371. package/daemon/dist/domain/workflow-instance-store.js +127 -2
  372. package/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  373. package/daemon/dist/domain/workflow-keepalive-arming.d.ts +7 -5
  374. package/daemon/dist/domain/workflow-keepalive-arming.d.ts.map +1 -1
  375. package/daemon/dist/domain/workflow-keepalive-arming.js +27 -16
  376. package/daemon/dist/domain/workflow-keepalive-arming.js.map +1 -1
  377. package/daemon/dist/domain/workflow-projector.d.ts +30 -2
  378. package/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  379. package/daemon/dist/domain/workflow-projector.js +375 -14
  380. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  381. package/daemon/dist/domain/workflow-runtime.d.ts +62 -2
  382. package/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  383. package/daemon/dist/domain/workflow-runtime.js +391 -28
  384. package/daemon/dist/domain/workflow-runtime.js.map +1 -1
  385. package/daemon/dist/domain/workflow-spec-cache.d.ts +10 -2
  386. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  387. package/daemon/dist/domain/workflow-spec-cache.js +101 -0
  388. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  389. package/daemon/dist/domain/workflow-types.d.ts +46 -1
  390. package/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  391. package/daemon/dist/domain/workflow-types.js.map +1 -1
  392. package/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  393. package/daemon/dist/domain/workflow-validator.js +38 -3
  394. package/daemon/dist/domain/workflow-validator.js.map +1 -1
  395. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +38 -9
  396. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  397. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +93 -347
  398. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  399. package/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  400. package/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  401. package/daemon/dist/gateway-human-registry-surface.js +1 -0
  402. package/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  403. package/daemon/dist/gateway-slack-surface.d.ts +1 -0
  404. package/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  405. package/daemon/dist/gateway-slack-surface.js +1 -0
  406. package/daemon/dist/gateway-slack-surface.js.map +1 -1
  407. package/daemon/dist/health-detectors-surface.d.ts +2 -0
  408. package/daemon/dist/health-detectors-surface.d.ts.map +1 -0
  409. package/daemon/dist/health-detectors-surface.js +2 -0
  410. package/daemon/dist/health-detectors-surface.js.map +1 -0
  411. package/daemon/dist/health-projection-surface.d.ts +2 -0
  412. package/daemon/dist/health-projection-surface.d.ts.map +1 -0
  413. package/daemon/dist/health-projection-surface.js +2 -0
  414. package/daemon/dist/health-projection-surface.js.map +1 -0
  415. package/daemon/dist/index.d.ts.map +1 -1
  416. package/daemon/dist/index.js +15 -0
  417. package/daemon/dist/index.js.map +1 -1
  418. package/daemon/dist/instance-initialization-surface.d.ts +3 -0
  419. package/daemon/dist/instance-initialization-surface.d.ts.map +1 -0
  420. package/daemon/dist/instance-initialization-surface.js +3 -0
  421. package/daemon/dist/instance-initialization-surface.js.map +1 -0
  422. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  423. package/daemon/dist/lib/pane-envelope.js +4 -1
  424. package/daemon/dist/lib/pane-envelope.js.map +1 -1
  425. package/daemon/dist/project-lifecycle-surface.d.ts +3 -0
  426. package/daemon/dist/project-lifecycle-surface.d.ts.map +1 -0
  427. package/daemon/dist/project-lifecycle-surface.js +3 -0
  428. package/daemon/dist/project-lifecycle-surface.js.map +1 -0
  429. package/daemon/dist/routes/bundles.js +10 -9
  430. package/daemon/dist/routes/bundles.js.map +1 -1
  431. package/daemon/dist/routes/config.d.ts.map +1 -1
  432. package/daemon/dist/routes/config.js +27 -49
  433. package/daemon/dist/routes/config.js.map +1 -1
  434. package/daemon/dist/routes/context-packs.d.ts.map +1 -1
  435. package/daemon/dist/routes/context-packs.js +114 -16
  436. package/daemon/dist/routes/context-packs.js.map +1 -1
  437. package/daemon/dist/routes/crash-cart.js +3 -0
  438. package/daemon/dist/routes/crash-cart.js.map +1 -1
  439. package/daemon/dist/routes/gateway.d.ts +5 -1
  440. package/daemon/dist/routes/gateway.d.ts.map +1 -1
  441. package/daemon/dist/routes/gateway.js +70 -22
  442. package/daemon/dist/routes/gateway.js.map +1 -1
  443. package/daemon/dist/routes/health-diagnosis.d.ts +3 -0
  444. package/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
  445. package/daemon/dist/routes/health-diagnosis.js +47 -0
  446. package/daemon/dist/routes/health-diagnosis.js.map +1 -0
  447. package/daemon/dist/routes/health.d.ts +3 -0
  448. package/daemon/dist/routes/health.d.ts.map +1 -0
  449. package/daemon/dist/routes/health.js +50 -0
  450. package/daemon/dist/routes/health.js.map +1 -0
  451. package/daemon/dist/routes/hosts.d.ts +2 -0
  452. package/daemon/dist/routes/hosts.d.ts.map +1 -1
  453. package/daemon/dist/routes/hosts.js +12 -5
  454. package/daemon/dist/routes/hosts.js.map +1 -1
  455. package/daemon/dist/routes/queue.d.ts.map +1 -1
  456. package/daemon/dist/routes/queue.js +20 -0
  457. package/daemon/dist/routes/queue.js.map +1 -1
  458. package/daemon/dist/routes/rigs.js +12 -1
  459. package/daemon/dist/routes/rigs.js.map +1 -1
  460. package/daemon/dist/routes/rigspec.js +9 -2
  461. package/daemon/dist/routes/rigspec.js.map +1 -1
  462. package/daemon/dist/routes/seat.js +21 -1
  463. package/daemon/dist/routes/seat.js.map +1 -1
  464. package/daemon/dist/routes/sessions.js +16 -6
  465. package/daemon/dist/routes/sessions.js.map +1 -1
  466. package/daemon/dist/routes/snapshots.d.ts.map +1 -1
  467. package/daemon/dist/routes/snapshots.js +41 -3
  468. package/daemon/dist/routes/snapshots.js.map +1 -1
  469. package/daemon/dist/routes/up.js +12 -1
  470. package/daemon/dist/routes/up.js.map +1 -1
  471. package/daemon/dist/routes/watchdog.d.ts.map +1 -1
  472. package/daemon/dist/routes/watchdog.js +7 -6
  473. package/daemon/dist/routes/watchdog.js.map +1 -1
  474. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  475. package/daemon/dist/routes/workflow.js +104 -39
  476. package/daemon/dist/routes/workflow.js.map +1 -1
  477. package/daemon/dist/server.d.ts +10 -0
  478. package/daemon/dist/server.d.ts.map +1 -1
  479. package/daemon/dist/server.js +9 -0
  480. package/daemon/dist/server.js.map +1 -1
  481. package/daemon/dist/skill-loadout-surface.d.ts +3 -0
  482. package/daemon/dist/skill-loadout-surface.d.ts.map +1 -0
  483. package/daemon/dist/skill-loadout-surface.js +2 -0
  484. package/daemon/dist/skill-loadout-surface.js.map +1 -0
  485. package/daemon/dist/startup.d.ts.map +1 -1
  486. package/daemon/dist/startup.js +101 -66
  487. package/daemon/dist/startup.js.map +1 -1
  488. package/daemon/dist/system-world-surface.d.ts +2 -0
  489. package/daemon/dist/system-world-surface.d.ts.map +1 -0
  490. package/daemon/dist/system-world-surface.js +2 -0
  491. package/daemon/dist/system-world-surface.js.map +1 -0
  492. package/daemon/docs/reference/getting-started.md +2 -1
  493. package/daemon/docs/reference/health-diagnosis.md +305 -0
  494. package/daemon/docs/reference/instance-layout.md +106 -0
  495. package/daemon/docs/reference/mission-install.md +12 -2
  496. package/daemon/docs/reference/product-journey-sdlc.md +53 -15
  497. package/daemon/docs/reference/project-workspace.md +66 -40
  498. package/daemon/docs/reference/sdlc-conventions.md +6 -4
  499. package/daemon/specs/agents/development/implementer/agent.yaml +1 -9
  500. package/daemon/specs/agents/development/implementer/guidance/role.md +21 -43
  501. package/daemon/specs/agents/development/qa/agent.yaml +2 -11
  502. package/daemon/specs/agents/development/qa/guidance/role.md +21 -73
  503. package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +1 -9
  504. package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +25 -72
  505. package/daemon/specs/agents/review/independent-reviewer/agent.yaml +1 -9
  506. package/daemon/specs/agents/review/independent-reviewer/guidance/role.md +20 -35
  507. package/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md +21 -6
  508. package/daemon/specs/agents/shared/skills/core/messaging-the-human/SKILL.md +48 -61
  509. package/daemon/specs/agents/shared/skills/core/openrig-skills/SKILL.md +4 -2
  510. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/SKILL.md +81 -0
  511. package/daemon/specs/agents/shared/skills/core/openrig-upgrade/scripts/migrate-telemetry-state-0.5.9.mjs +1419 -0
  512. package/daemon/specs/agents/shared/skills/pods/development-team/SKILL.md +40 -139
  513. package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +40 -60
  514. package/daemon/specs/agents/shared/skills/pods/review-team/SKILL.md +34 -31
  515. package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +6 -8
  516. package/daemon/specs/rigs/launch/demo/CULTURE.md +21 -30
  517. package/daemon/specs/rigs/launch/implementation-pair/rig.yaml +3 -3
  518. package/daemon/specs/rigs/preview/product-team/CULTURE.md +26 -71
  519. package/dist/build-info.js +3 -3
  520. package/dist/commands/config-init-workspace.d.ts +4 -23
  521. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  522. package/dist/commands/config-init-workspace.js +14 -576
  523. package/dist/commands/config-init-workspace.js.map +1 -1
  524. package/dist/commands/config.d.ts.map +1 -1
  525. package/dist/commands/config.js +7 -4
  526. package/dist/commands/config.js.map +1 -1
  527. package/dist/commands/context.d.ts.map +1 -1
  528. package/dist/commands/context.js +114 -8
  529. package/dist/commands/context.js.map +1 -1
  530. package/dist/commands/daemon.d.ts.map +1 -1
  531. package/dist/commands/daemon.js +16 -0
  532. package/dist/commands/daemon.js.map +1 -1
  533. package/dist/commands/gateway.d.ts +17 -0
  534. package/dist/commands/gateway.d.ts.map +1 -1
  535. package/dist/commands/gateway.js +99 -13
  536. package/dist/commands/gateway.js.map +1 -1
  537. package/dist/commands/health.d.ts +12 -0
  538. package/dist/commands/health.d.ts.map +1 -0
  539. package/dist/commands/health.js +351 -0
  540. package/dist/commands/health.js.map +1 -0
  541. package/dist/commands/host.d.ts.map +1 -1
  542. package/dist/commands/host.js +2 -0
  543. package/dist/commands/host.js.map +1 -1
  544. package/dist/commands/launch.d.ts.map +1 -1
  545. package/dist/commands/launch.js +51 -4
  546. package/dist/commands/launch.js.map +1 -1
  547. package/dist/commands/queue.d.ts +18 -0
  548. package/dist/commands/queue.d.ts.map +1 -1
  549. package/dist/commands/queue.js +62 -0
  550. package/dist/commands/queue.js.map +1 -1
  551. package/dist/commands/restore.d.ts.map +1 -1
  552. package/dist/commands/restore.js +43 -3
  553. package/dist/commands/restore.js.map +1 -1
  554. package/dist/commands/scope.d.ts.map +1 -1
  555. package/dist/commands/scope.js +169 -79
  556. package/dist/commands/scope.js.map +1 -1
  557. package/dist/commands/seat.d.ts.map +1 -1
  558. package/dist/commands/seat.js +30 -0
  559. package/dist/commands/seat.js.map +1 -1
  560. package/dist/commands/send.d.ts.map +1 -1
  561. package/dist/commands/send.js +4 -1
  562. package/dist/commands/send.js.map +1 -1
  563. package/dist/commands/skill.d.ts.map +1 -1
  564. package/dist/commands/skill.js +61 -0
  565. package/dist/commands/skill.js.map +1 -1
  566. package/dist/commands/slack.d.ts.map +1 -1
  567. package/dist/commands/slack.js +39 -11
  568. package/dist/commands/slack.js.map +1 -1
  569. package/dist/commands/snapshot.d.ts.map +1 -1
  570. package/dist/commands/snapshot.js +4 -2
  571. package/dist/commands/snapshot.js.map +1 -1
  572. package/dist/commands/start.d.ts.map +1 -1
  573. package/dist/commands/start.js +3 -0
  574. package/dist/commands/start.js.map +1 -1
  575. package/dist/commands/up.d.ts.map +1 -1
  576. package/dist/commands/up.js +3 -0
  577. package/dist/commands/up.js.map +1 -1
  578. package/dist/commands/walk.d.ts.map +1 -1
  579. package/dist/commands/walk.js +3 -0
  580. package/dist/commands/walk.js.map +1 -1
  581. package/dist/commands/workflow-render.d.ts +31 -0
  582. package/dist/commands/workflow-render.d.ts.map +1 -1
  583. package/dist/commands/workflow-render.js +84 -6
  584. package/dist/commands/workflow-render.js.map +1 -1
  585. package/dist/commands/workflow.d.ts.map +1 -1
  586. package/dist/commands/workflow.js +98 -8
  587. package/dist/commands/workflow.js.map +1 -1
  588. package/dist/config-store.d.ts +17 -4
  589. package/dist/config-store.d.ts.map +1 -1
  590. package/dist/config-store.js +139 -44
  591. package/dist/config-store.js.map +1 -1
  592. package/dist/daemon-lifecycle.d.ts +13 -16
  593. package/dist/daemon-lifecycle.d.ts.map +1 -1
  594. package/dist/daemon-lifecycle.js +28 -33
  595. package/dist/daemon-lifecycle.js.map +1 -1
  596. package/dist/index.d.ts +4 -0
  597. package/dist/index.d.ts.map +1 -1
  598. package/dist/index.js +3 -1
  599. package/dist/index.js.map +1 -1
  600. package/dist/lib/scope/mission-composition.d.ts +16 -0
  601. package/dist/lib/scope/mission-composition.d.ts.map +1 -0
  602. package/dist/lib/scope/mission-composition.js +110 -0
  603. package/dist/lib/scope/mission-composition.js.map +1 -0
  604. package/dist/lib/scope/scope-fs.d.ts +5 -0
  605. package/dist/lib/scope/scope-fs.d.ts.map +1 -1
  606. package/dist/lib/scope/scope-fs.js +36 -6
  607. package/dist/lib/scope/scope-fs.js.map +1 -1
  608. package/dist/lib/work-install.d.ts +17 -0
  609. package/dist/lib/work-install.d.ts.map +1 -1
  610. package/dist/lib/work-install.js +49 -6
  611. package/dist/lib/work-install.js.map +1 -1
  612. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  613. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js +4 -2
  614. package/node_modules/@openrig/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  615. package/node_modules/@openrig/daemon/dist/build-info.js +3 -3
  616. package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts +1 -1
  617. package/node_modules/@openrig/daemon/dist/db/all-migrations.d.ts.map +1 -1
  618. package/node_modules/@openrig/daemon/dist/db/all-migrations.js +3 -1
  619. package/node_modules/@openrig/daemon/dist/db/all-migrations.js.map +1 -1
  620. package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts +8 -5
  621. package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.d.ts.map +1 -1
  622. package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.js +8 -5
  623. package/node_modules/@openrig/daemon/dist/db/migrations/046_seat_identity_verdicts.js.map +1 -1
  624. package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts +8 -0
  625. package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.d.ts.map +1 -0
  626. package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js +50 -0
  627. package/node_modules/@openrig/daemon/dist/db/migrations/079_workflow_lifecycle_parallel.js.map +1 -0
  628. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts +6 -1
  629. package/node_modules/@openrig/daemon/dist/domain/active-occupant.d.ts.map +1 -1
  630. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js +47 -0
  631. package/node_modules/@openrig/daemon/dist/domain/active-occupant.js.map +1 -1
  632. package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  633. package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js +8 -1
  634. package/node_modules/@openrig/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  635. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts +3 -3
  636. package/node_modules/@openrig/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -1
  637. package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.d.ts +3 -0
  638. package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.d.ts.map +1 -1
  639. package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.js +5 -1
  640. package/node_modules/@openrig/daemon/dist/domain/bundle-skills-router.js.map +1 -1
  641. package/node_modules/@openrig/daemon/dist/domain/claim-service.d.ts +2 -0
  642. package/node_modules/@openrig/daemon/dist/domain/claim-service.d.ts.map +1 -1
  643. package/node_modules/@openrig/daemon/dist/domain/claim-service.js +33 -12
  644. package/node_modules/@openrig/daemon/dist/domain/claim-service.js.map +1 -1
  645. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -1
  646. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js +9 -1
  647. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -1
  648. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts +25 -0
  649. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -1
  650. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js +3 -1
  651. package/node_modules/@openrig/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -1
  652. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -1
  653. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js +143 -3
  654. package/node_modules/@openrig/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -1
  655. package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts +22 -1
  656. package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.d.ts.map +1 -1
  657. package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js +105 -40
  658. package/node_modules/@openrig/daemon/dist/domain/context-packs/profile-composer.js.map +1 -1
  659. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts +4 -0
  660. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  661. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js +8 -4
  662. package/node_modules/@openrig/daemon/dist/domain/context-usage-store.js.map +1 -1
  663. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.d.ts +13 -0
  664. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.d.ts.map +1 -1
  665. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js +3 -1
  666. package/node_modules/@openrig/daemon/dist/domain/crash-cart-conductor.js.map +1 -1
  667. package/node_modules/@openrig/daemon/dist/domain/execution-view.d.ts.map +1 -1
  668. package/node_modules/@openrig/daemon/dist/domain/execution-view.js +145 -16
  669. package/node_modules/@openrig/daemon/dist/domain/execution-view.js.map +1 -1
  670. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts +39 -0
  671. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.d.ts.map +1 -0
  672. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js +35 -0
  673. package/node_modules/@openrig/daemon/dist/domain/gateway/channel-operations.js.map +1 -0
  674. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts +3 -0
  675. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.d.ts.map +1 -1
  676. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js +3 -0
  677. package/node_modules/@openrig/daemon/dist/domain/gateway/gateway-subsystem.js.map +1 -1
  678. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts +37 -0
  679. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.d.ts.map +1 -0
  680. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js +44 -0
  681. package/node_modules/@openrig/daemon/dist/domain/gateway/human-readiness.js.map +1 -0
  682. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts +2 -7
  683. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.d.ts.map +1 -1
  684. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js +2 -7
  685. package/node_modules/@openrig/daemon/dist/domain/gateway/human-registry.js.map +1 -1
  686. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts +16 -1
  687. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.d.ts.map +1 -1
  688. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js +35 -12
  689. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/inbound.js.map +1 -1
  690. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts +1 -0
  691. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.d.ts.map +1 -1
  692. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js +1 -0
  693. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/queue-access.js.map +1 -1
  694. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts +18 -0
  695. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.d.ts.map +1 -1
  696. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js +62 -8
  697. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/slack-subsystem.js.map +1 -1
  698. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts +13 -0
  699. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.d.ts.map +1 -1
  700. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js +59 -1
  701. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/socket-inbound.js.map +1 -1
  702. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts +21 -0
  703. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.d.ts.map +1 -1
  704. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js +28 -1
  705. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/state-store.js.map +1 -1
  706. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts +2 -0
  707. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.d.ts.map +1 -1
  708. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js +6 -1
  709. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-routing.js.map +1 -1
  710. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts +4 -0
  711. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.d.ts.map +1 -1
  712. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js +11 -0
  713. package/node_modules/@openrig/daemon/dist/domain/gateway/slack/thread-seat-map.js.map +1 -1
  714. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts +57 -0
  715. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.d.ts.map +1 -0
  716. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js +198 -0
  717. package/node_modules/@openrig/daemon/dist/domain/health-checkpoints.js.map +1 -0
  718. package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts +14 -0
  719. package/node_modules/@openrig/daemon/dist/domain/health-context.d.ts.map +1 -0
  720. package/node_modules/@openrig/daemon/dist/domain/health-context.js +93 -0
  721. package/node_modules/@openrig/daemon/dist/domain/health-context.js.map +1 -0
  722. package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts +106 -0
  723. package/node_modules/@openrig/daemon/dist/domain/health-detectors.d.ts.map +1 -0
  724. package/node_modules/@openrig/daemon/dist/domain/health-detectors.js +392 -0
  725. package/node_modules/@openrig/daemon/dist/domain/health-detectors.js.map +1 -0
  726. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts +143 -0
  727. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.d.ts.map +1 -0
  728. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js +249 -0
  729. package/node_modules/@openrig/daemon/dist/domain/health-diagnosis.js.map +1 -0
  730. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts +19 -0
  731. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.d.ts.map +1 -0
  732. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js +234 -0
  733. package/node_modules/@openrig/daemon/dist/domain/health-passive-ceremony.js.map +1 -0
  734. package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts +45 -0
  735. package/node_modules/@openrig/daemon/dist/domain/health-policy.d.ts.map +1 -0
  736. package/node_modules/@openrig/daemon/dist/domain/health-policy.js +89 -0
  737. package/node_modules/@openrig/daemon/dist/domain/health-policy.js.map +1 -0
  738. package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts +237 -0
  739. package/node_modules/@openrig/daemon/dist/domain/health-projection.d.ts.map +1 -0
  740. package/node_modules/@openrig/daemon/dist/domain/health-projection.js +312 -0
  741. package/node_modules/@openrig/daemon/dist/domain/health-projection.js.map +1 -0
  742. package/node_modules/@openrig/daemon/dist/domain/instance-initialization.d.ts +25 -0
  743. package/node_modules/@openrig/daemon/dist/domain/instance-initialization.d.ts.map +1 -0
  744. package/node_modules/@openrig/daemon/dist/domain/instance-initialization.js +81 -0
  745. package/node_modules/@openrig/daemon/dist/domain/instance-initialization.js.map +1 -0
  746. package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.d.ts +19 -0
  747. package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.d.ts.map +1 -0
  748. package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.js +73 -0
  749. package/node_modules/@openrig/daemon/dist/domain/lifecycle-manifest.js.map +1 -0
  750. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  751. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js +14 -11
  752. package/node_modules/@openrig/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  753. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts +36 -36
  754. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.d.ts.map +1 -1
  755. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js +104 -135
  756. package/node_modules/@openrig/daemon/dist/domain/model-divergence/current-generation-record.js.map +1 -1
  757. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts +10 -0
  758. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.d.ts.map +1 -0
  759. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js +86 -0
  760. package/node_modules/@openrig/daemon/dist/domain/native-process-lineage.js.map +1 -0
  761. package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js +12 -1
  762. package/node_modules/@openrig/daemon/dist/domain/native-resume-probe.js.map +1 -1
  763. package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts +2 -0
  764. package/node_modules/@openrig/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  765. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js +4 -1
  766. package/node_modules/@openrig/daemon/dist/domain/node-inventory.js.map +1 -1
  767. package/node_modules/@openrig/daemon/dist/domain/node-launcher.d.ts +3 -0
  768. package/node_modules/@openrig/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  769. package/node_modules/@openrig/daemon/dist/domain/node-launcher.js +21 -8
  770. package/node_modules/@openrig/daemon/dist/domain/node-launcher.js.map +1 -1
  771. package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.d.ts +22 -0
  772. package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.d.ts.map +1 -0
  773. package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.js +54 -0
  774. package/node_modules/@openrig/daemon/dist/domain/pane-binding-observation.js.map +1 -0
  775. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js +1 -1
  776. package/node_modules/@openrig/daemon/dist/domain/policies/parked-owner-consumer.js.map +1 -1
  777. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.d.ts.map +1 -1
  778. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js +16 -2
  779. package/node_modules/@openrig/daemon/dist/domain/policies/workflow-keepalive.js.map +1 -1
  780. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts +12 -0
  781. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  782. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js +60 -0
  783. package/node_modules/@openrig/daemon/dist/domain/profile-resolver.js.map +1 -1
  784. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts +35 -0
  785. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.d.ts.map +1 -0
  786. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js +219 -0
  787. package/node_modules/@openrig/daemon/dist/domain/project-lifecycle-compiler.js.map +1 -0
  788. package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.d.ts +1 -1
  789. package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.d.ts.map +1 -1
  790. package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.js +28 -18
  791. package/node_modules/@openrig/daemon/dist/domain/provider/claude-usage-reader.js.map +1 -1
  792. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts +19 -1
  793. package/node_modules/@openrig/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  794. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js +66 -5
  795. package/node_modules/@openrig/daemon/dist/domain/queue-repository.js.map +1 -1
  796. package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts +3 -4
  797. package/node_modules/@openrig/daemon/dist/domain/queue-retention.d.ts.map +1 -1
  798. package/node_modules/@openrig/daemon/dist/domain/queue-retention.js +5 -8
  799. package/node_modules/@openrig/daemon/dist/domain/queue-retention.js.map +1 -1
  800. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts +33 -0
  801. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.d.ts.map +1 -1
  802. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js +152 -0
  803. package/node_modules/@openrig/daemon/dist/domain/queue-transition-log.js.map +1 -1
  804. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts +21 -0
  805. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.d.ts.map +1 -0
  806. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js +96 -0
  807. package/node_modules/@openrig/daemon/dist/domain/queue-wait-backoff.js.map +1 -0
  808. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts +1 -0
  809. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.d.ts.map +1 -1
  810. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js +8 -3
  811. package/node_modules/@openrig/daemon/dist/domain/queue-wake-repository.js.map +1 -1
  812. package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.d.ts +34 -0
  813. package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.d.ts.map +1 -0
  814. package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.js +59 -0
  815. package/node_modules/@openrig/daemon/dist/domain/restore-attempt-receipt.js.map +1 -0
  816. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts +57 -24
  817. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  818. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js +152 -26
  819. package/node_modules/@openrig/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  820. package/node_modules/@openrig/daemon/dist/domain/restore-topology.d.ts +14 -0
  821. package/node_modules/@openrig/daemon/dist/domain/restore-topology.d.ts.map +1 -0
  822. package/node_modules/@openrig/daemon/dist/domain/restore-topology.js +27 -0
  823. package/node_modules/@openrig/daemon/dist/domain/restore-topology.js.map +1 -0
  824. package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.d.ts.map +1 -1
  825. package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js +9 -0
  826. package/node_modules/@openrig/daemon/dist/domain/rig-lifecycle-service.js.map +1 -1
  827. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts +19 -0
  828. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  829. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js +65 -1
  830. package/node_modules/@openrig/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  831. package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.d.ts +8 -0
  832. package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.d.ts.map +1 -1
  833. package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.js +4 -0
  834. package/node_modules/@openrig/daemon/dist/domain/rigspec-preflight.js.map +1 -1
  835. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts +23 -1
  836. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.d.ts.map +1 -1
  837. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js +97 -46
  838. package/node_modules/@openrig/daemon/dist/domain/seat-attention-reconciler.js.map +1 -1
  839. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.d.ts.map +1 -1
  840. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js +15 -6
  841. package/node_modules/@openrig/daemon/dist/domain/seat-identity-reconciler.js.map +1 -1
  842. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts +47 -1
  843. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.d.ts.map +1 -1
  844. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js +525 -29
  845. package/node_modules/@openrig/daemon/dist/domain/seat-lifecycle-service.js.map +1 -1
  846. package/node_modules/@openrig/daemon/dist/domain/session-registry.d.ts +8 -1
  847. package/node_modules/@openrig/daemon/dist/domain/session-registry.d.ts.map +1 -1
  848. package/node_modules/@openrig/daemon/dist/domain/session-registry.js +19 -0
  849. package/node_modules/@openrig/daemon/dist/domain/session-registry.js.map +1 -1
  850. package/node_modules/@openrig/daemon/dist/domain/skill-catalog.d.ts +81 -0
  851. package/node_modules/@openrig/daemon/dist/domain/skill-catalog.d.ts.map +1 -0
  852. package/node_modules/@openrig/daemon/dist/domain/skill-catalog.js +827 -0
  853. package/node_modules/@openrig/daemon/dist/domain/skill-catalog.js.map +1 -0
  854. package/node_modules/@openrig/daemon/dist/domain/skill-discovery.d.ts +3 -0
  855. package/node_modules/@openrig/daemon/dist/domain/skill-discovery.d.ts.map +1 -1
  856. package/node_modules/@openrig/daemon/dist/domain/skill-discovery.js +1 -1
  857. package/node_modules/@openrig/daemon/dist/domain/skill-discovery.js.map +1 -1
  858. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts +4 -1
  859. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.d.ts.map +1 -1
  860. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js +38 -2
  861. package/node_modules/@openrig/daemon/dist/domain/snapshot-capture.js.map +1 -1
  862. package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.d.ts +15 -1
  863. package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.d.ts.map +1 -1
  864. package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.js +103 -1
  865. package/node_modules/@openrig/daemon/dist/domain/snapshot-repository.js.map +1 -1
  866. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts +2 -0
  867. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.d.ts.map +1 -1
  868. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js +12 -0
  869. package/node_modules/@openrig/daemon/dist/domain/startup-orchestrator.js.map +1 -1
  870. package/node_modules/@openrig/daemon/dist/domain/system-world.d.ts +45 -0
  871. package/node_modules/@openrig/daemon/dist/domain/system-world.d.ts.map +1 -0
  872. package/node_modules/@openrig/daemon/dist/domain/system-world.js +123 -0
  873. package/node_modules/@openrig/daemon/dist/domain/system-world.js.map +1 -0
  874. package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.d.ts +7 -0
  875. package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.d.ts.map +1 -0
  876. package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.js +20 -0
  877. package/node_modules/@openrig/daemon/dist/domain/telemetry-state-paths.js.map +1 -0
  878. package/node_modules/@openrig/daemon/dist/domain/types.d.ts +106 -4
  879. package/node_modules/@openrig/daemon/dist/domain/types.d.ts.map +1 -1
  880. package/node_modules/@openrig/daemon/dist/domain/types.js.map +1 -1
  881. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts +16 -3
  882. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  883. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js +137 -41
  884. package/node_modules/@openrig/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  885. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts +2 -0
  886. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.d.ts.map +1 -1
  887. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js +5 -0
  888. package/node_modules/@openrig/daemon/dist/domain/watchdog-jobs-repository.js.map +1 -1
  889. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts +7 -23
  890. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.d.ts.map +1 -1
  891. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js +44 -226
  892. package/node_modules/@openrig/daemon/dist/domain/watchdog-policy-engine.js.map +1 -1
  893. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.d.ts.map +1 -1
  894. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js +20 -6
  895. package/node_modules/@openrig/daemon/dist/domain/workflow-boot-sweep.js.map +1 -1
  896. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts +33 -1
  897. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.d.ts.map +1 -1
  898. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js +127 -2
  899. package/node_modules/@openrig/daemon/dist/domain/workflow-instance-store.js.map +1 -1
  900. package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.d.ts +7 -5
  901. package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.d.ts.map +1 -1
  902. package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.js +27 -16
  903. package/node_modules/@openrig/daemon/dist/domain/workflow-keepalive-arming.js.map +1 -1
  904. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts +30 -2
  905. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.d.ts.map +1 -1
  906. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js +375 -14
  907. package/node_modules/@openrig/daemon/dist/domain/workflow-projector.js.map +1 -1
  908. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts +62 -2
  909. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.d.ts.map +1 -1
  910. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js +391 -28
  911. package/node_modules/@openrig/daemon/dist/domain/workflow-runtime.js.map +1 -1
  912. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts +10 -2
  913. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  914. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js +101 -0
  915. package/node_modules/@openrig/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  916. package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts +46 -1
  917. package/node_modules/@openrig/daemon/dist/domain/workflow-types.d.ts.map +1 -1
  918. package/node_modules/@openrig/daemon/dist/domain/workflow-types.js.map +1 -1
  919. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.d.ts.map +1 -1
  920. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js +38 -3
  921. package/node_modules/@openrig/daemon/dist/domain/workflow-validator.js.map +1 -1
  922. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +38 -9
  923. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  924. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js +93 -347
  925. package/node_modules/@openrig/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  926. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts +1 -0
  927. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.d.ts.map +1 -1
  928. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js +1 -0
  929. package/node_modules/@openrig/daemon/dist/gateway-human-registry-surface.js.map +1 -1
  930. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts +1 -0
  931. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.d.ts.map +1 -1
  932. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js +1 -0
  933. package/node_modules/@openrig/daemon/dist/gateway-slack-surface.js.map +1 -1
  934. package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts +2 -0
  935. package/node_modules/@openrig/daemon/dist/health-detectors-surface.d.ts.map +1 -0
  936. package/node_modules/@openrig/daemon/dist/health-detectors-surface.js +2 -0
  937. package/node_modules/@openrig/daemon/dist/health-detectors-surface.js.map +1 -0
  938. package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts +2 -0
  939. package/node_modules/@openrig/daemon/dist/health-projection-surface.d.ts.map +1 -0
  940. package/node_modules/@openrig/daemon/dist/health-projection-surface.js +2 -0
  941. package/node_modules/@openrig/daemon/dist/health-projection-surface.js.map +1 -0
  942. package/node_modules/@openrig/daemon/dist/index.d.ts.map +1 -1
  943. package/node_modules/@openrig/daemon/dist/index.js +15 -0
  944. package/node_modules/@openrig/daemon/dist/index.js.map +1 -1
  945. package/node_modules/@openrig/daemon/dist/instance-initialization-surface.d.ts +3 -0
  946. package/node_modules/@openrig/daemon/dist/instance-initialization-surface.d.ts.map +1 -0
  947. package/node_modules/@openrig/daemon/dist/instance-initialization-surface.js +3 -0
  948. package/node_modules/@openrig/daemon/dist/instance-initialization-surface.js.map +1 -0
  949. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.d.ts.map +1 -1
  950. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js +4 -1
  951. package/node_modules/@openrig/daemon/dist/lib/pane-envelope.js.map +1 -1
  952. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts +3 -0
  953. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.d.ts.map +1 -0
  954. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.js +3 -0
  955. package/node_modules/@openrig/daemon/dist/project-lifecycle-surface.js.map +1 -0
  956. package/node_modules/@openrig/daemon/dist/routes/bundles.js +10 -9
  957. package/node_modules/@openrig/daemon/dist/routes/bundles.js.map +1 -1
  958. package/node_modules/@openrig/daemon/dist/routes/config.d.ts.map +1 -1
  959. package/node_modules/@openrig/daemon/dist/routes/config.js +27 -49
  960. package/node_modules/@openrig/daemon/dist/routes/config.js.map +1 -1
  961. package/node_modules/@openrig/daemon/dist/routes/context-packs.d.ts.map +1 -1
  962. package/node_modules/@openrig/daemon/dist/routes/context-packs.js +114 -16
  963. package/node_modules/@openrig/daemon/dist/routes/context-packs.js.map +1 -1
  964. package/node_modules/@openrig/daemon/dist/routes/crash-cart.js +3 -0
  965. package/node_modules/@openrig/daemon/dist/routes/crash-cart.js.map +1 -1
  966. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts +5 -1
  967. package/node_modules/@openrig/daemon/dist/routes/gateway.d.ts.map +1 -1
  968. package/node_modules/@openrig/daemon/dist/routes/gateway.js +70 -22
  969. package/node_modules/@openrig/daemon/dist/routes/gateway.js.map +1 -1
  970. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts +3 -0
  971. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.d.ts.map +1 -0
  972. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js +47 -0
  973. package/node_modules/@openrig/daemon/dist/routes/health-diagnosis.js.map +1 -0
  974. package/node_modules/@openrig/daemon/dist/routes/health.d.ts +3 -0
  975. package/node_modules/@openrig/daemon/dist/routes/health.d.ts.map +1 -0
  976. package/node_modules/@openrig/daemon/dist/routes/health.js +50 -0
  977. package/node_modules/@openrig/daemon/dist/routes/health.js.map +1 -0
  978. package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts +2 -0
  979. package/node_modules/@openrig/daemon/dist/routes/hosts.d.ts.map +1 -1
  980. package/node_modules/@openrig/daemon/dist/routes/hosts.js +12 -5
  981. package/node_modules/@openrig/daemon/dist/routes/hosts.js.map +1 -1
  982. package/node_modules/@openrig/daemon/dist/routes/queue.d.ts.map +1 -1
  983. package/node_modules/@openrig/daemon/dist/routes/queue.js +20 -0
  984. package/node_modules/@openrig/daemon/dist/routes/queue.js.map +1 -1
  985. package/node_modules/@openrig/daemon/dist/routes/rigs.js +12 -1
  986. package/node_modules/@openrig/daemon/dist/routes/rigs.js.map +1 -1
  987. package/node_modules/@openrig/daemon/dist/routes/rigspec.js +9 -2
  988. package/node_modules/@openrig/daemon/dist/routes/rigspec.js.map +1 -1
  989. package/node_modules/@openrig/daemon/dist/routes/seat.js +21 -1
  990. package/node_modules/@openrig/daemon/dist/routes/seat.js.map +1 -1
  991. package/node_modules/@openrig/daemon/dist/routes/sessions.js +16 -6
  992. package/node_modules/@openrig/daemon/dist/routes/sessions.js.map +1 -1
  993. package/node_modules/@openrig/daemon/dist/routes/snapshots.d.ts.map +1 -1
  994. package/node_modules/@openrig/daemon/dist/routes/snapshots.js +41 -3
  995. package/node_modules/@openrig/daemon/dist/routes/snapshots.js.map +1 -1
  996. package/node_modules/@openrig/daemon/dist/routes/up.js +12 -1
  997. package/node_modules/@openrig/daemon/dist/routes/up.js.map +1 -1
  998. package/node_modules/@openrig/daemon/dist/routes/watchdog.d.ts.map +1 -1
  999. package/node_modules/@openrig/daemon/dist/routes/watchdog.js +7 -6
  1000. package/node_modules/@openrig/daemon/dist/routes/watchdog.js.map +1 -1
  1001. package/node_modules/@openrig/daemon/dist/routes/workflow.d.ts.map +1 -1
  1002. package/node_modules/@openrig/daemon/dist/routes/workflow.js +104 -39
  1003. package/node_modules/@openrig/daemon/dist/routes/workflow.js.map +1 -1
  1004. package/node_modules/@openrig/daemon/dist/server.d.ts +10 -0
  1005. package/node_modules/@openrig/daemon/dist/server.d.ts.map +1 -1
  1006. package/node_modules/@openrig/daemon/dist/server.js +9 -0
  1007. package/node_modules/@openrig/daemon/dist/server.js.map +1 -1
  1008. package/node_modules/@openrig/daemon/dist/skill-loadout-surface.d.ts +3 -0
  1009. package/node_modules/@openrig/daemon/dist/skill-loadout-surface.d.ts.map +1 -0
  1010. package/node_modules/@openrig/daemon/dist/skill-loadout-surface.js +2 -0
  1011. package/node_modules/@openrig/daemon/dist/skill-loadout-surface.js.map +1 -0
  1012. package/node_modules/@openrig/daemon/dist/startup.d.ts.map +1 -1
  1013. package/node_modules/@openrig/daemon/dist/startup.js +101 -66
  1014. package/node_modules/@openrig/daemon/dist/startup.js.map +1 -1
  1015. package/node_modules/@openrig/daemon/dist/system-world-surface.d.ts +2 -0
  1016. package/node_modules/@openrig/daemon/dist/system-world-surface.d.ts.map +1 -0
  1017. package/node_modules/@openrig/daemon/dist/system-world-surface.js +2 -0
  1018. package/node_modules/@openrig/daemon/dist/system-world-surface.js.map +1 -0
  1019. package/node_modules/@openrig/daemon/package.json +25 -1
  1020. package/package.json +1 -1
  1021. package/tui/dist/commands/registry.d.ts.map +1 -1
  1022. package/tui/dist/commands/registry.js +10 -1
  1023. package/tui/dist/commands/registry.js.map +1 -1
  1024. package/tui/dist/daemon-client.d.ts +13 -0
  1025. package/tui/dist/daemon-client.d.ts.map +1 -1
  1026. package/tui/dist/daemon-client.js +19 -0
  1027. package/tui/dist/daemon-client.js.map +1 -1
  1028. package/tui/dist/demo-data.d.ts.map +1 -1
  1029. package/tui/dist/demo-data.js +65 -9
  1030. package/tui/dist/demo-data.js.map +1 -1
  1031. package/tui/dist/detail.d.ts +9 -0
  1032. package/tui/dist/detail.d.ts.map +1 -1
  1033. package/tui/dist/detail.js.map +1 -1
  1034. package/tui/dist/execution/execution-model.d.ts +8 -2
  1035. package/tui/dist/execution/execution-model.d.ts.map +1 -1
  1036. package/tui/dist/execution/execution-model.js +482 -119
  1037. package/tui/dist/execution/execution-model.js.map +1 -1
  1038. package/tui/dist/health/health-model.d.ts +25 -0
  1039. package/tui/dist/health/health-model.d.ts.map +1 -0
  1040. package/tui/dist/health/health-model.js +322 -0
  1041. package/tui/dist/health/health-model.js.map +1 -0
  1042. package/tui/dist/hydrate.d.ts +3 -2
  1043. package/tui/dist/hydrate.d.ts.map +1 -1
  1044. package/tui/dist/hydrate.js +77 -8
  1045. package/tui/dist/hydrate.js.map +1 -1
  1046. package/tui/dist/input.d.ts +6 -1
  1047. package/tui/dist/input.d.ts.map +1 -1
  1048. package/tui/dist/input.js +22 -10
  1049. package/tui/dist/input.js.map +1 -1
  1050. package/tui/dist/main.js +39 -8
  1051. package/tui/dist/main.js.map +1 -1
  1052. package/tui/dist/navigator.d.ts.map +1 -1
  1053. package/tui/dist/navigator.js +10 -6
  1054. package/tui/dist/navigator.js.map +1 -1
  1055. package/tui/dist/render.d.ts.map +1 -1
  1056. package/tui/dist/render.js +617 -155
  1057. package/tui/dist/render.js.map +1 -1
  1058. package/tui/dist/scopes/scopes-model.d.ts +14 -8
  1059. package/tui/dist/scopes/scopes-model.d.ts.map +1 -1
  1060. package/tui/dist/scopes/scopes-model.js +218 -46
  1061. package/tui/dist/scopes/scopes-model.js.map +1 -1
  1062. package/tui/dist/socket-server.d.ts +13 -0
  1063. package/tui/dist/socket-server.d.ts.map +1 -1
  1064. package/tui/dist/socket-server.js +24 -0
  1065. package/tui/dist/socket-server.js.map +1 -1
  1066. package/tui/dist/state.d.ts.map +1 -1
  1067. package/tui/dist/state.js +31 -11
  1068. package/tui/dist/state.js.map +1 -1
  1069. package/tui/dist/stylize.d.ts.map +1 -1
  1070. package/tui/dist/stylize.js +22 -28
  1071. package/tui/dist/stylize.js.map +1 -1
  1072. package/tui/dist/theme.d.ts +1 -1
  1073. package/tui/dist/theme.d.ts.map +1 -1
  1074. package/tui/dist/theme.js +5 -4
  1075. package/tui/dist/theme.js.map +1 -1
  1076. package/tui/dist/types.d.ts +186 -1
  1077. package/tui/dist/types.d.ts.map +1 -1
  1078. package/tui/dist/visual-layout.d.ts +6 -0
  1079. package/tui/dist/visual-layout.d.ts.map +1 -0
  1080. package/tui/dist/visual-layout.js +8 -0
  1081. package/tui/dist/visual-layout.js.map +1 -0
  1082. package/ui/dist/assets/{index-B_wqzP0D.js → index-wyX378xb.js} +15 -15
  1083. package/ui/dist/index.html +1 -1
@@ -1,187 +1,19 @@
1
1
  ---
2
2
  name: software-for-agents
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.
3
+ description: >-
4
+ Use when older OpenRig instructions name software-for-agents or describe agent-in-the-middle or
5
+ studio software under the former skill name.
8
6
  metadata:
9
7
  openrig:
10
- stage: factory-approved
11
- audience: any agent building on OpenRig or a studio box — the first-load mental model
12
- sibling_skills:
13
- - forming-an-openrig-mental-model
14
- - openrig-program-manager
15
- - mission-slice-sop
16
- - openrig-user
8
+ stage: deprecated
9
+ successor: agent-operated-software
10
+ remove_in: 0.6.0
17
11
  ---
18
12
 
19
- # Software for agents — the markdown control plane
13
+ # Renamed to agent-operated-software
20
14
 
21
- ## Where this applies — and where it does NOT (read this first)
15
+ This is a one-release compatibility redirect. Load `agent-operated-software` for the maintained
16
+ architecture and operating guidance. Do not extend or copy doctrine into this file.
22
17
 
23
- This mental model — *most bugs are coherence gaps, not code*; *ship-and-flag when unsure*; iterate fast —
24
- is scoped to **agent-managed software: the studio-box mini-apps and any agent-in-the-middle / rapidly-
25
- evolving lightweight UI** where an agent sits in the loop and downstream cleanup is cheap. It is NOT a
26
- universal license.
27
-
28
- **It does NOT apply to TRADITIONAL software held to a rock-solid, no-bugs bar:** the **OpenRig CLI
29
- surfaces**, the **OpenRig repo** (daemon / CLI / UI / adapters), and the **rigs.to website**. There, a bug
30
- is a bug — reproduce it, fix it in code, hold the full-rigor gate. Do NOT treat a real defect there as a
31
- markdown coherence gap, and do NOT "ship and flag." If you are building or fixing OpenRig core or rigs.to,
32
- the tolerance in this skill is OFF and `product-is-the-truth-not-the-proof` governs. **Know which lane
33
- you're in before you apply anything below.**
34
-
35
- ---
36
-
37
- You inherited the accumulated footgun-map of thousands of rigs that ran before you. They found and
38
- solved most of the traps. Your job is to find the *next* one and patch it at the precise optimal spot
39
- in the substrate, so the rig after you starts from a higher ledge. That is the actual work. Whatever
40
- you were "assigned" (a video, a feature, a fix) is the vehicle for surfacing it.
41
-
42
- ## 1. This is not traditional software — it's a control plane made of markdown
43
-
44
- In traditional software a bug is a broken function you fix in code. Here, the system you operate in is
45
- an **agent-in-the-middle** system whose substrate is **markdown + YAML + JSON + folders**: skills,
46
- instructions, bootstrap files (`CLAUDE.md`/`AGENTS.md`), schemas, `culture.md`, mission/slice notes,
47
- conventions. **The agents ARE the backend.** So most "bugs" are not broken code — they are **coherence
48
- failures in the markdown layer**: an instruction that's unclear or missing, a schema that drifted from
49
- its documented state, a convention living in one seat's head instead of a skill.
50
-
51
- **Consequence:** when something surprises you, your first hypothesis is *"the control plane is unclear
52
- or drifted here,"* not *"the code is broken."* Sometimes it IS the code (fix it — don't overfit on
53
- markdown; see §5, and mind the scope block above: in OpenRig core / rigs.to the code IS the first
54
- hypothesis). But the highest-leverage fixes in the agent-managed layer are usually: make the substrate
55
- coherent again at the exact spot the confusion arose. Keep the markdown/schemas/conventions in sync with
56
- reality and the system **self-improves** — the next rig inherits the patched substrate and never re-hits it.
57
-
58
- ## 2. Progressive disclosure — skills are a hot tier, not a manual
59
-
60
- Skills are misnamed. They are a **progressive-disclosure primitive**. Think CPU cache / hot storage
61
- tier: the **name + description of every skill is always ambiently loaded** — a hot tier of awareness
62
- the agent carries without opening anything. That is enormous leverage, good or bad. So:
63
-
64
- - **Write skill name + description as TRIGGERS** — *why/when do you reach for this?* — not as titles.
65
- The hot tier's whole job is to fire when an agent doesn't yet know it needs the skill (the
66
- "you don't know what you don't know" problem). This skill's own description is written that way.
67
- - **Reaching for a skill unfurls a trail.** A good skill routes you — breadcrumbs, pointers, maps —
68
- so it becomes *inevitable* you find the exact context on disk for what you're doing.
69
- - **If the context doesn't exist, generate it.** A skill can ship **scripts** that produce context
70
- optimally shaped for a decision, or that execute a fiddly API surface so you don't stumble through 12
71
- tool calls discovering it. Use a **script as a prompt**: run it — if it works, the result IS your
72
- context; if it fails, it should fail in a way that *teaches* you how the system works, so you can
73
- read the script, understand the edge case, and do the thing manually. Scripts belong in the skill
74
- folder next to the SKILL.md.
75
-
76
- ## 2b. Self-certifying artifacts — the convention 5 seats (both models) converged on
77
-
78
- The single most expensive failure class in production is **not being able to tell a finished artifact
79
- from an unfinished one.** A mid-write file read as final; a render OOM-killed mid-write left a corrupt
80
- `.mp4` that passed a filename check; a truncated clip passed a duration check and froze on playback. In
81
- one build, five seats — Claude *and* Codex, independently — each invented a *different* ad-hoc
82
- completeness check (ffprobe moov, duration compare, filename convention, manifest assetExists, ffmpeg
83
- input count). Five blind spots. So make it ONE shared primitive:
84
-
85
- **When you author ANY tool that produces an artifact (render / composite / export / cut), it must
86
- self-certify:**
87
- 1. Write to `<name>.partial` (never the final path directly).
88
- 2. **Verify the content** — the specific property that can be wrong, not a proxy: moov atom present,
89
- duration matches the intended window, audio stream present, colorspace/hue correct, resolution =
90
- delivery res. (Filename ≠ correct; duration ≠ complete; "clean-encoded" ≠ right.)
91
- 3. **`fsync`, then atomically `rename`** `<name>.partial` → `<name>` (rename is atomic; a half-written
92
- file never appears at the real path).
93
- 4. Write the manifest, then a **`.done` sentinel LAST.**
94
-
95
- Then *"is this finished?"* is **one `stat` of `<name>.done`** — identical for every tool, seat, watcher,
96
- and a compacted agent restoring cold (who is least equipped to know what was mid-write when the lights
97
- went out). **Consumers fail closed:** e.g. a swap-into-slot (`restore_occupant`) must refuse an artifact
98
- lacking `.done` or failing the verify-gate. This convention collapses the whole "content over filename,
99
- disk over memory" discipline into one check the substrate enforces for you. Build the sentinel; the
100
- workarounds disappear. (Code-side companion: a fail-closed verify-gate wired into the swap verb — a
101
- coordinated build with the tool owner, not a solo markdown edit.)
102
-
103
- ## 3. Build it like software — piggyback on what agents are trained for
104
-
105
- Agents are fine-tuned to write code and build software; the harness itself is a terminal/coding
106
- instrument. So **whatever you're asked to build — even a video — map the process to a software SDLC**
107
- and you inherit all that baked-in muscle memory. This is why, e.g., the mini-NLE's beats carry
108
- reference IDs like `1.1 / 2.1`: a storyboard is the **human-facing visual metaphor**, but underneath it
109
- is a **specification** — sections, beats, success criteria, the thing being built.
110
-
111
- Use an **agent SDLC**, not the antiquated human one (which was shaped around human-org weaknesses):
112
- **intent → plan → spec → build → verify → review → QA → done.** The human slots in as **steering,
113
- judgment, taste, review**; the agents do the technical nitty-gritty, in parallel, fast. Map any
114
- "build X with agents" task onto this and the primitives (specs, locks, proof, verification) become
115
- intuitive instead of alien.
116
-
117
- ## 4. Phases and the LOCK gate (spec-locking, not just "done")
118
-
119
- Building runs in **phases**, and each phase has a **lock gate** — you don't advance until the taste/
120
- steering owner has locked it. This is exactly *don't start building until the PRD is locked by product*:
121
-
122
- - **Storyboard / intent phase** — done on the **canvas** now (the highest-bandwidth human↔agent surface:
123
- the human steers, chats, annotates/circles; agents build structure fast). Iterate here; get the
124
- storyboard through the canvas gate. (Canvas largely replaced the NLE's old in-timeline storyboard.)
125
- - **Plan phase (brief, in the NLE)** — build the spine with placeholders so the human can click through
126
- the main-stage player and *feel the flow* (sequencing problems surface when placeholders are strung
127
- together with audio). **Lock every beat** = the spec is approved; this is what unlocks parallel build.
128
- - **Fill phase** — many agents build each beat in parallel, in clear lanes. **Lock a beat when it's
129
- final** (`/api/approve`): lock means *don't touch, we're good, signal to everyone incl. the human.*
130
- Unlock to revise. **All beats locked = done.**
131
-
132
- The lock is the "finished" primitive at the editorial layer. Locking a whole phase's beats before the
133
- next phase is the discipline that lets 10 agents work in parallel without catastrophic collisions —
134
- everyone knows the target, their lane, and who judges done (the **producer owns the final product**).
135
-
136
- ## 4b. Studio apps skip the mockup phase — the build IS the mockup
137
-
138
- For a **studio app**, do not run a separate mockup phase. The whole point of the Studio is that a mockup
139
- buys you almost nothing here: **as fast as it takes to build a mockup, you can build the running app** —
140
- an unlock made possible by agentic engineering. A mockup is only ever a device to flesh out the PRD; once
141
- the PRD and its settled answers exist, that phase is **done**. The Studio is a lightweight, rapid-velocity,
142
- agent-in-the-middle leveraged system: build apps fast, iterate on them fast.
143
-
144
- The phase model above collapses accordingly:
145
-
146
- 1. **The PRD + settled answers ARE the fleshed intent** — no separate mockup gate, no plan-lock-on-mockups step.
147
- 2. **Spec-lock the WHAT** — `rig scope slice approve --scope spec` locks the intent the PRD already fleshed.
148
- 3. **BUILD the app**, then **iterate on the RUNNING app at mockup speed** — the running thing is the
149
- iteration surface, not an image.
150
- 4. **LOOK is on the running screens** (any "mockup" proof tag now points at the running app's screens),
151
- then **proof-lock** — `rig scope slice approve --scope delivery`. A slice is not done until every
152
- proof-contract item has evidence from the **running app**.
153
-
154
- **Velocity is the METHOD, not a quality waiver.** The LOOK is still a real LOOK; the proof contract still
155
- binds at delivery. You are removing a redundant artifact, not lowering the bar.
156
-
157
- **Scope — this does NOT generalize** (consistent with the scope block at the top): it applies to the
158
- studio-app / agent-in-the-middle loop only. Outside that loop, a **locked design mockup that a slice must
159
- match is still legitimate** — do not strip mockups from traditional or design-locked work. Know which lane
160
- you're in. For the build mechanics, see the studio's build skill (`building-studio-apps`); this section is
161
- the *why* and *when*.
162
-
163
- ## 5. Where to fix — and don't overfit on markdown
164
-
165
- - **Precise-spot discipline:** find the *one* place a coherence fix belongs (the skill, the schema, the
166
- bootstrap, `culture.md`) so it can't recur — not a symptom patch. Ask: *what would have prevented
167
- this for every future rig?*
168
- - **Don't overfit on the markdown layer** — deterministic code bugs exist and you should fix them. The
169
- studio-box apps (NLE, canvas, media manager, shell) live in the **studio-box repo**, portable across
170
- hosts (VPS/Mac/VM). **A code fix there fixes ALL studio boxes, not just this host** — so: clear bug or
171
- broadly-useful feature → ship it; host-specific behavior → make it optional/guarded. When unsure, ship
172
- and flag it; downstream cleanup beats you becoming the bottleneck. *(This ship-and-flag latitude is the
173
- studio-box / agent-managed lane only — re-read the scope block: OpenRig core + rigs.to hold the
174
- rock-solid bar, no ship-and-flag.)*
175
- - **Culture lives in `culture.md`** — the rig's social contract / constitution: how the team
176
- coordinates, the parallel-agent lanes, the phase-locking discipline, who owns the final call.
177
- Coordination is largely **emergent** (bottom-up, evolutionary pressure across thousands of rigs) — but
178
- once a pattern proves out, *write it down there* so it's inherited, not re-discovered.
179
-
180
- ## The one-line seed
181
- You're not maintaining code; you're **gardening a self-improving control plane made of markdown and
182
- schemas, using software-engineering muscle memory, with the lock as your spec-gate** — and every
183
- footgun you patch at the right spot (in the agent-managed lane) makes every future rig better. See also:
184
- `forming-an-openrig-mental-model` (the OpenRig runtime), `mission-slice-sop` (the SDLC operating
185
- procedure), `openrig-user` (the CLI surface), `product-is-the-truth-not-the-proof` (the doctrine that
186
- governs the rock-solid lane). *(The "agents ARE the backend" idea — agent-in-the-middle — is inlined in
187
- §1; a standalone `agent-in-the-middle` skill is a future candidate, not yet authored.)*
18
+ Retirement: remove this redirect in 0.6.0 after the 0.5.9 compatibility window. Until then, the old
19
+ identifier fails forward to the one editable body instead of silently disappearing.
@@ -1,6 +1,6 @@
1
1
  # Public capability and source-map width for the default onboarding walk.
2
2
  name: onboarding-width
3
- version: "0.5.8"
3
+ version: "0.5.10"
4
4
  # OPR.0.5.6.10 — affordances knowledge (what this system can do) is world
5
5
  # content under the coining-session definitions.
6
6
  taxonomy: world
@@ -11,7 +11,7 @@ not know exists.** So the point of what follows is not skill. It is recognition:
11
11
  lands, something rhymes, and you go check instead of building.
12
12
 
13
13
  Eighty-one-plus top-level verbs ship (capability canon refreshed through
14
- `capability-delta-v0.5.7`). Read this once for shape, and let it make you suspicious that a thing
14
+ `capability-delta-v0.5.10`). Read this once for shape, and let it make you suspicious that a thing
15
15
  already exists. Model-divergence proclamations are live product (trust them; pins use canonical
16
16
  model IDs).
17
17
 
@@ -32,6 +32,8 @@ one command away. Your memory of the fleet is a claim about the past.
32
32
  unless you ask for nodes.
33
33
  - **`rig discover`** — what is running on this box that OpenRig is *not* managing.
34
34
  - **`rig queue whoami`** — what the daemon thinks you are holding. Not what you remember holding.
35
+ When the seat's typed rows name exactly one work node, its JSON also carries `currentWork` with
36
+ the mission, slice, and path the refocus hook uses.
35
37
  - **`rig seat status <seat>`** — what the system already believes about a seat's handover state,
36
38
  and whether the thing you did an hour ago actually landed.
37
39
  - **`rig view list` / `rig view show <lens>`** — named lenses over coordination state: use
@@ -44,6 +46,11 @@ one command away. Your memory of the fleet is a claim about the past.
44
46
  daemon behaviour. They are configuration. **Watch one thing:** `source: default` does not mean
45
47
  "the documented default" — it means *derived on this box*, and can resolve somewhere quite unlike
46
48
  the path in the help text.
49
+ - **`rig health`** — inspect bounded, explainable findings for the current seat, one stable seat,
50
+ a rig, or the local instance; `rig health explain <finding-id>` shows the exact window, source,
51
+ freshness, rule, evidence, confidence, and next inspection. Use the TUI's HEALTH tab for the
52
+ same records when a human also needs to see them. Empty output is never a healthy assertion,
53
+ list/explain never mutate, and diagnostic presentation remains explicit opt-in policy.
47
54
 
48
55
  ## Reaching another agent
49
56
 
@@ -53,7 +60,9 @@ unseen — which makes messages the one delivery channel that never gets skipped
53
60
  - **`rig send`** — put words in front of one seat, several, a pod, or a rig. **`--verify` checks
54
61
  pane-only delivery**: the text was staged at the far end, not that the agent consumed or acted
55
62
  on it. Alternate-screen and queued-command cases can still yield false negatives, so
56
- consequential delivery gets an effect check at the far end rather than a blind retry.
63
+ consequential delivery gets an effect check at the far end rather than a blind retry. A
64
+ producer-link advisory reading `no_activity_signal` means activity could not be determined;
65
+ confirm by effect, never relaunch on it.
57
66
  - **`rig send --raw`** / **`--dangerously-interact --reason "<why>"`** — a seat is frozen on an
58
67
  interactive prompt or a permission block. Normal `send` *refuses* to answer a prompt on purpose;
59
68
  this is the deliberate override, and it is how you unblock a peer who cannot unblock itself.
@@ -84,9 +93,9 @@ unseen — which makes messages the one delivery channel that never gets skipped
84
93
  material without dumping it**: absorption between pieces is the whole mechanism, and sending
85
94
  faster than the receiver thinks merges everything into one turn and destroys it. It is also how
86
95
  you were onboarded, and how you would onboard someone else.
87
- - **`rig slack`** — how something reaches a person who is not at a terminal, and how their reply
88
- gets back in as work. **`slack status` says it is configured; `slack verify` says it will
89
- actually work.**
96
+ - **`rig slack`** — inspect and manage one connector implementation. Use registered-human
97
+ readiness for the delivery decision and `queue create --verify` for its receipt; connector
98
+ setup or verification is not an outbound human message.
90
99
 
91
100
  ## Making work outlive you
92
101
 
@@ -105,7 +114,8 @@ your context, your compaction and your replacement — and it is the only thing
105
114
  - **`rig queue block` / `resolve`** — park a row on a real blocker so it stays **yours and
106
115
  visible**, with a plain-language summary and a pointer to what a human must judge; `resolve`
107
116
  writes their decision onto the durable record and wakes the owner. **Closing it would be a lie
108
- and sitting on it silently is indistinguishable from a crash.**
117
+ and sitting on it silently is indistinguishable from a crash.** `--wake-after <duration>` arms
118
+ one wake for this park episode; a new park supersedes it and every exit route retires it.
109
119
  - **`rig queue overdue`** — what was claimed and never closed in time. **Defaults to the current
110
120
  rig**; ask for more if you mean more.
111
121
  - **`rig queue undelivered`** — pending create-path nudge failures only. For gateway or human
@@ -127,10 +137,13 @@ you that is still running.
127
137
 
128
138
  - **`rig watchdog register`** — arm a wake for a condition that will become true after you are
129
139
  asleep, compacted or finished. For a context wall, use the exact
130
- `--policy context-usage-threshold` rather than a hand-rolled transcript timer.
140
+ `--policy context-usage-threshold` rather than a hand-rolled transcript timer. A scheduled
141
+ reminder arrives as the authored message under an explicit scheduler identity, not as YAML
142
+ syntax or anonymous agent input.
131
143
  - **`rig watchdog list` / `show` / `status` / `stop`** — did it fire, is it still live, did someone
132
- stop it. **Quiet skips are not recorded**, so a healthy idle job and a job that never ran look
133
- identical in `status` — INDETERMINATE is the honest read until `show` says otherwise.
144
+ stop it. `list` defaults to active, compact, and 100; `--all --full` is the complete history.
145
+ **Quiet skips are not recorded**, so a healthy idle job and a job that never ran look identical
146
+ in `status` — INDETERMINATE is the honest read until `show` says otherwise.
134
147
  - **An alarm whose message has gone stale is worse than no alarm.** When the thread it refers to
135
148
  closes, kill it or rewrite it — a successor inheriting an escalation order with no thread
136
149
  attached is worse off than one with nothing.
@@ -145,6 +158,10 @@ cheaper than being it.
145
158
  - **`rig workflow specs`** — what can be started here, and which are shipped versus authored by
146
159
  this rig.
147
160
  - **`rig workflow validate`** — will this spec instantiate at all, before a run finds out for you.
161
+ - **`rig workflow compile <mission>`** / **`instantiate-lifecycle`** — derive one executable graph
162
+ from `project.yaml` → `mission.yaml` → `slice.yaml`, inspect it without writing, then start an
163
+ eligible graph with an opaque replay key. Typed acceptance candidate, verdict, and evidence
164
+ travel through `workflow project`; workflow completion alone is never release acceptance.
148
165
  - **`rig workflow instantiate`** — start a multi-step, multi-seat run as one governed instance with
149
166
  an entry packet that lands on a real owner.
150
167
  - **`rig workflow status`** — **which instances need *you*, right now**, with the reason and next
@@ -171,8 +188,11 @@ not have to tear one down to change it, and you rarely have to start from nothin
171
188
  - **`rig down`** — stop a rig's seats and take it out of the running set.
172
189
  - **`rig launch <rig> [seat]`** — one seat is down; start just that one, without disturbing the
173
190
  rest.
191
+ - **`rig seat launch <seat> --fresh --reason <why>`** — deliberately create a blank occupant for
192
+ exactly one existing seat. It uses no resume, fork, rebuild, snapshot, or restore packet;
193
+ siblings and durable work stay put, and unmanaged ambiguity refuses.
174
194
  - **`rig add`** / **`rig expand`** — graft one more member, or a whole new pod, onto a rig that is
175
- already running.
195
+ already running. `rig grow --new-pod` and `rig expand` are one ingress; choose by input shape.
176
196
  - **`rig remove`** / **`rig shrink`** — take a seat, or an entire pod, out of a running topology.
177
197
  If it holds active work, pass `--fallback <live-seat>` to reroute before mutation; without a
178
198
  valid fallback the command refuses rather than strand the rows.
@@ -201,7 +221,8 @@ not have to tear one down to change it, and you rarely have to start from nothin
201
221
  because someone lost work once.
202
222
 
203
223
  - **`rig start`** — the box rebooted and everything is gone: bring the whole topology back in one
204
- move, rather than hand-restoring rig by rig.
224
+ move, rather than hand-restoring rig by rig. Selected-rig recovery now demands positive runtime
225
+ evidence and refuses stale identity by name rather than substituting an occupant.
205
226
  - **`rig daemon start` / `stop` / `status` / `logs`** — bounce the control plane, or read what it
206
227
  actually tried and refused, in its own voice.
207
228
  - **`rig doctor`** — is the *installation* wired up correctly, or are you chasing a bug that is
@@ -213,11 +234,19 @@ because someone lost work once.
213
234
  list with their exact remediation, mid-run cancel with `c`. It only offers RESTORE on POSITIVE
214
235
  down-evidence (confirmed-down vs cannot-verify are distinct screens).
215
236
  - **`rig snapshot`** — take a restore point **before** the risky thing. `snapshot list` shows what
216
- you actually have and how old the newest is.
237
+ you actually have and how old the newest is; `--intended-seats` records the topology roster the
238
+ later restore must judge rather than treating every historical node as current.
217
239
  - **`rig restore`** — put a rig back to a snapshot. **`rig restore-check` first**: what would
218
240
  actually come back, and for everything that would not, which check fails and what the fix is.
241
+ Use `rig launch ... --snapshot-id <id>` when selection must be exact, and `rig restore status
242
+ <attempt> --rig <rig>` for the derived intended-set receipt after an asynchronous restore.
219
243
  - **`rig restore-packet write` / `read` / `validate`** — a seat is about to die or must move
220
244
  runtimes; capture what it knows into a portable artifact instead of losing it with the process.
245
+ - **Upgrading is agent-led** — load the shipped `openrig-upgrade` skill for the bounded inspect,
246
+ backup, plugin-refresh, and 0.5.9 instance-migration helpers. The migration is an
247
+ Agent-Operated Workflow: inspect, take one bounded reversible action, verify its effect, and
248
+ continue from the receipt. There is no `rig upgrade` verb, and `rig down` is not part of a
249
+ continuity-preserving upgrade.
221
250
  - **A seat's `compaction_strategy` is declared, not improvised at the wall.** Pair a threshold-
222
251
  managed seat with the `context-usage-threshold` watchdog above so continuity is arranged while
223
252
  the seat can still act.
@@ -230,6 +259,9 @@ because someone lost work once.
230
259
  - **`rig seat set-model` / `stop` / `clean`** — persist the model for later managed resumes, stop
231
260
  exactly one live seat, or clear a dead seat's stale binding. When the topology is right and only
232
261
  the occupant is wrong, use these seat lifecycle verbs or `rig handover`, not a rig down/up cycle.
262
+ Effective-model detection follows the identity-verified current occupant, not a retained
263
+ predecessor; a `<synthetic>` transcript record is skipped, so a PENDING model check is not a
264
+ divergence.
233
265
  - **`rig compact-plan`** → **`rig compact`** — who is near the context wall, then act on it.
234
266
  **Ordering matters: running `compact` without the plan is guessing which seat needed it.**
235
267
  - **Know what compaction costs before you reach for it.** On some runtimes what comes back has
@@ -250,7 +282,9 @@ the tooling already reads. An agent who does not know this exists invents a priv
250
282
  scheme, and nothing downstream can see it.
251
283
 
252
284
  - **`rig scope mission ls` / `show` / `create`** — what work exists, what a mission is for, and how
253
- to open one so it gets a stable dot-ID rather than being a bare folder nothing can address.
285
+ to open one so it gets a stable dot-ID rather than being a bare folder nothing can address. In
286
+ `rig tui`, SCOPES → select a mission shows the same story as DONE / NOW / NEXT / ATTENTION, with
287
+ row drill-in and Escape back.
254
288
  - **`rig scope slice ls` / `show` / `create`** — the same at the altitude where work is actually
255
289
  buildable. `show` gives you intent, frontmatter and children without guessing which of five files
256
290
  to open.
@@ -279,8 +313,10 @@ scheme, and nothing downstream can see it.
279
313
  - **`rig workspace doctor` / `validate`** — does the daemon agree with you about where the work
280
314
  tree is, and which files are missing the frontmatter their kind requires.
281
315
  - **`rig context work-install --project … --mission … --slice … [--deliver]`** — resolves the ordered
282
- context plan; add `--deliver` to emit the exact extant files in that same order while marking
283
- absent pieces visibly. Without the flag it remains plan-only.
316
+ System World, topology, and Project World plan. Add `--runtime` to see the composed managed skill
317
+ loadout, `--apply-skills` to reconcile its owned harness projection, or `--deliver` to emit the
318
+ exact extant files in order while marking absent pieces visibly. Without the flags it remains
319
+ plan-only.
284
320
  - **`rig context show` / `sync` / `rm`** — what is inside a context pack before you prime a seat
285
321
  with it, and how to make the library catch up when you edit one.
286
322
  - **`rig context get <name-or-ref>`** — pull exact context by address instead of reading files:
@@ -314,12 +350,17 @@ working arrangement becomes something someone else can instantiate.
314
350
 
315
351
  - **`rig spec validate` → `preflight` → `audit`** — three different questions, in order: is the
316
352
  file well-formed, would it boot *on this host*, and **will the agents it launches actually know
317
- anything when they arrive**. The third is the one people skip.
353
+ anything when they arrive**. The third is the one people skip. Unknown structural keys refuse
354
+ with their path instead of being normalized away.
355
+ - **`rig context trace --pod <pod>`** — walk the context chain through instance → rig → pod → seat
356
+ when the pod altitude matters.
318
357
  - **`rig specs show` / `preview` / `add` / `sync` / `rename` / `remove`** — where a spec lives,
319
358
  what you would get if you launched it, and how to put yours in the library so it is launchable
320
359
  by bare name.
321
360
  - **`rig export <rig>`** — turn a rig that is *running right now* back into a spec you can read,
322
361
  diff or hand to someone. **`rig import`** goes the other way.
362
+ - **`rig import <workspace.yaml> --workspace-only --target-rig <id>`** — apply a validated
363
+ workspace declaration to an existing rig without changing topology; `rig export` preserves it.
323
364
  - **`rig bundle create` / `inspect` / `install` / `history`** — one file that rebuilds a rig on a
324
365
  machine with none of its content, what is inside one before you trust it, and what has actually
325
366
  been installed here.
@@ -343,8 +384,19 @@ reaching them is ordinary work rather than an escalation.
343
384
  than guessing a hostname, because entries do not all use the same transport.
344
385
  - **`rig file copy`** — move a file between hosts without hand-rolling `scp` and guessing the
345
386
  address.
346
- - **`rig gateway human add`** — make a *person* addressable, so an escalation reaches a named human
347
- over a real connector instead of dying in a log.
387
+ - **`rig gateway human list` / `show`** — discover registered humans and inspect configured,
388
+ enabled, active, ready, reason, and next action. Use the returned `<entityId>@external`
389
+ address; a username or kernel seat is not a human delivery address.
390
+ - **`rig queue create --destination <entityId>@external --verify`** — persist one human
391
+ request, then boundedly inspect its transport receipt. Posted means posted, not read;
392
+ pending, failed, or indeterminate delivery leaves the row intact. Inspect the same row's
393
+ transitions before retrying. `rig send` remains agent-terminal delivery only.
394
+ - **When project policy calls for human judgment or an update, load `messaging-the-human`.**
395
+ System World teaches these mechanics; Project World decides when and why they apply.
396
+ Existing `<entityId>@host` blockers are internal custody labels mapped through the registry
397
+ to the external participant, not a separate outbound route.
398
+ - **`rig gateway human add`** — register a person and their connector binding. Registration or
399
+ connector changes do not themselves authorize a message.
348
400
  - **Across a host boundary, "it didn't work" has four distinct shapes** — unreachable machine,
349
401
  permission gate, remote runtime down, or the remote command itself failed. Collapsing them throws
350
402
  away a diagnosis you already had. **And a transport that succeeded says nothing about whether the
@@ -356,7 +408,9 @@ reaching them is ordinary work rather than an escalation.
356
408
  your circumstances is configuration, and the ones that are not, another agent can change for you.
357
409
 
358
410
  - **`rig config get` / `reset` / `init-workspace`** — read one value, change a system-wide setting
359
- and put it back exactly as it was, or lay down the workspace tree on a box that has none.
411
+ and put it back exactly as it was, or additively lay down the canonical project scaffold on a
412
+ box that has none. Instance startup uses the same additive initializer for the surrounding
413
+ `state`, `context`, `skills`, `topology`, and operational roots.
360
414
  - **`rig policy list` / `show` / `current`** *(v0.5.2)* — what permission policy is actually in
361
415
  effect: discovers custom policy specs, validates refs (malformed can never read as valid OR
362
416
  absent), shows what would apply.
@@ -364,30 +418,36 @@ your circumstances is configuration, and the ones that are not, another agent ca
364
418
  loudly to report, whether to batch permission questions or block on them. **This declares a
365
419
  posture; it does not grant or deny permissions** — the harness's own settings are the control
366
420
  surface for that.
367
- - **The owner boundary is exactly: pushes and PRs.** Nothing else needs the owner's word — local
368
- commits and ordinary apply work never do. When a script guard mentions being gated, it is
369
- demanding an explicit path (e.g. `OPENRIG_SKILL_CANON_ROOT`), not permission; read it as a
370
- missing input, never as an authorization wall.
421
+ - **Project World declares the human authority boundary.** Read the current project and mission
422
+ policy for actions requiring approval; the system mechanics do not impose a universal list.
423
+ A script's explicit-path authoring guard (for example `OPENRIG_SKILL_CANON_ROOT`) asks for a
424
+ missing source path and does not itself create a permission gate.
371
425
  - **`rig auth list` / `validate` / `seats`** — is this seat's runtime actually logged in, which
372
426
  accounts exist, and which account each seat is *supposed* to be on.
373
427
  - **`rig provider accounts` / `bindings` / `signals` / `switch`** — which seats are bound to which
374
428
  accounts, what the usage signals say, and whether a seat can be moved without stranding the
375
429
  conversation it is in the middle of. **`provider signals` reports anomalies rather than a
376
430
  listing** — unbound seats, accounts shared across several seats.
431
+ - **Codex configuration fragments** — a `codex_config_fragment` must open with a table header and
432
+ never overrides a user-declared table; see `docs/reference/agent-spec.md`.
377
433
  - **`rig env`** — the real services behind a rig: are they up, what are they saying, how do you
378
434
  stop them without killing the rig.
379
435
  - **`rig setup`** — what OpenRig would change about this machine, shown before it touches anything.
380
436
  - **`rig usage series`** — what a seat's token curve has looked like over time: climbing steadily,
381
437
  reset, or stopped reporting entirely. The last one is a signal, not a gap.
382
438
  - **`rig tui`** — the interactive view over rigs, pods, seats and specs. **`rig tui commands`**
383
- lists everything it can do without launching it. **`rig ui open`** is unmaintained, best-effort,
384
- and replaced by the TUI, so never diagnose product behaviour from the web UI. The TUI plus Slack
385
- are the human surface; the CLI plus terminal are the agent surface.
439
+ lists everything it can do without launching it. Open the instance row for one continuous
440
+ cross-rig agent table with pod separators and material `RECENT` transitions; drill into a rig,
441
+ mission, slice, or agent without losing the owning identity. **`rig ui open`** is unmaintained,
442
+ best-effort, and replaced by the TUI, so never diagnose product behaviour from the web UI. The
443
+ TUI plus Slack are the human surface; the CLI plus terminal are the agent surface.
386
444
  - **`rig mcp serve`** — how an agent that speaks MCP rather than shell drives OpenRig, and which
387
445
  operations are exposed that way. Relevant the moment a tool you are integrating cannot run a
388
446
  shell command.
389
- - **`rig skill`** — how packaged capability gets routed and projected to seats. Worth knowing the
390
- layer exists; it is mid-repair right now, so treat what is currently installed as in flux.
447
+ - **`rig skill loadout --runtime <claude-code|codex>`** — inspect the exact catalog revision,
448
+ selectors, target, and current/missing/shadowed/conflicting state for one working directory.
449
+ `--apply` writes only the managed ownership set, is idempotent, and refuses local edits or
450
+ unowned collisions.
391
451
  - **`rig startup-proof submit`** — prove you actually oriented at boot, rather than claiming you
392
452
  read the prompt.
393
453
 
@@ -0,0 +1,92 @@
1
+ ---
2
+ name: agent-operated-software
3
+ description: >-
4
+ Use when designing, building, operating, or diagnosing an ongoing application whose live backend
5
+ or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON
6
+ agent control plane or a thin surface over specialist agent roles.
7
+ metadata:
8
+ openrig:
9
+ stage: provisional
10
+ audience: any agent building or operating an agent-backed application
11
+ sibling_skills:
12
+ - agent-operated-workflows
13
+ - forming-an-openrig-mental-model
14
+ - mission-slice-sop
15
+ - openrig-user
16
+ ---
17
+
18
+ # Agent-Operated Software
19
+
20
+ **Agent-Operated Software** is an ongoing application whose functioning runtime includes an OpenRig
21
+ agent or rig in its live backend or control loop. The application surface can be thin: structured
22
+ state and specialist roles do the work, while the UI makes that work legible and steerable.
23
+
24
+ ## Start with the shared taxonomy
25
+
26
+ - **AI-enabled software:** application code owns the control loop and calls a model as one capability.
27
+ - **Agent-Operated Workflow:** an agent owns one bounded procedure with a start and stop condition;
28
+ see `agent-operated-workflows`.
29
+ - **Agent-Operated Software:** agents participate in an ongoing application's functioning runtime.
30
+
31
+ An application may compose many Agent-Operated Workflows. A bounded workflow does not by itself make
32
+ its surrounding product Agent-Operated Software, and a model call is neither category unless an agent
33
+ owns part of the control loop.
34
+
35
+ ## Agents are part of the backend
36
+
37
+ In this architecture, behavior is not located only in functions. It is distributed across agents,
38
+ skills, instructions, bootstrap files, schemas, Markdown, YAML, JSON, folders, and deterministic
39
+ tools. A surprising result may therefore be a code defect or a coherence gap in this control plane.
40
+ Trace the path that actually produced the behavior before choosing which layer to repair.
41
+
42
+ This is not permission to tolerate defects in OpenRig core or another rock-solid substrate. There,
43
+ reproduce the bug, fix the code, and hold the full gate. The faster coherence-first posture belongs
44
+ to recoverable agent-operated application layers whose state and behavior can be inspected and
45
+ repaired cheaply.
46
+
47
+ ## Markdown is the control plane
48
+
49
+ Markdown is maximally useful to an agent while remaining legible enough for a human to steer. Put
50
+ intent, work state, evidence, and decisions into stable addressed artifacts rather than private chat
51
+ or an opaque custom database. Keep schemas and conventions aligned with the running behavior: the
52
+ agent population acts on those files as executable context.
53
+
54
+ Use **progressive disclosure**. A skill's name and description are the hot trigger; its body is cold
55
+ procedure. Descriptions say when to load, not how to work. The body should route the reader to exact
56
+ sources instead of copying them into another doctrine fork.
57
+
58
+ Scripts can act as prompts. A good script returns the context or exact effect an agent needs; when it
59
+ cannot, its failure teaches what it observed, why it stopped, and safe next actions. Keep deterministic
60
+ mechanics in tools and judgment in agents.
61
+
62
+ ## Make artifacts self-certifying
63
+
64
+ When a tool produces an artifact, do not make every consumer invent a completeness test:
65
+
66
+ 1. Write to a partial path, never the final path.
67
+ 2. Verify the property that can actually be wrong, such as duration, streams, resolution, or schema.
68
+ 3. Flush and atomically rename the partial artifact to its final path.
69
+ 4. Write the manifest, then a `.done` sentinel last.
70
+
71
+ Consumers fail closed on the shared proof. A filename or exit code is not content verification.
72
+
73
+ ## Build with an agent SDLC
74
+
75
+ Map work onto **intent -> plan -> spec -> build -> verify -> review -> QA -> done**. The human supplies
76
+ steering, judgment, taste, and the call on irreversible ambiguity; agents perform and coordinate the
77
+ technical work. Locks freeze the agreed spec and accepted delivery so multiple seats can work without
78
+ guessing whether the target moved.
79
+
80
+ For studio applications, the running product is usually the best iteration surface. A separate mockup
81
+ earns its cost only when it resolves a real design uncertainty that the running app cannot expose as
82
+ cheaply. This removes a redundant artifact, not the visual review or proof contract.
83
+
84
+ ## Repair the narrowest authoritative layer
85
+
86
+ Find the generator or source that every affected agent actually consumes. Fix a code defect in code;
87
+ fix a missing trigger in the skill; fix a malformed contract in its schema. Then verify through the
88
+ consumer. Editing a rendered or installed copy creates a temporary fork, not a repair.
89
+
90
+ The payoff compounds: a correction to the shared application control plane changes the next agent's
91
+ starting point. That is how an ongoing agent-operated system improves without making one human its
92
+ permanent router.
@@ -0,0 +1,10 @@
1
+ # GENERATED by scripts/generate-context-packs.mjs — DO NOT EDIT.
2
+ # Package-time projection of a canonical skill; regenerated every build.
3
+ name: "agent-operated-software"
4
+ version: "0.5.10"
5
+ taxonomy: "skills"
6
+ purpose: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."
7
+ files:
8
+ - path: "SKILL.md"
9
+ role: "instruction"
10
+ summary: "Use when designing, building, operating, or diagnosing an ongoing application whose live backend or control loop includes OpenRig agents, including applications with a Markdown, YAML, or JSON agent control plane or a thin surface over specialist agent roles."