@openrig/cli 0.2.0 → 0.3.0

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 (469) hide show
  1. package/daemon/dist/adapters/claude-code-adapter.d.ts +10 -0
  2. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  3. package/daemon/dist/adapters/claude-code-adapter.js +41 -3
  4. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  5. package/daemon/dist/builtins/workflow-specs/basic-loop.yaml +76 -0
  6. package/daemon/dist/builtins/workflow-specs/conveyor.yaml +80 -0
  7. package/daemon/dist/db/migrations/026_inbox_entries.d.ts +1 -1
  8. package/daemon/dist/db/migrations/026_inbox_entries.js +1 -1
  9. package/daemon/dist/db/migrations/029_classifier_leases.d.ts +1 -1
  10. package/daemon/dist/db/migrations/029_classifier_leases.js +1 -1
  11. package/daemon/dist/db/migrations/037_mission_control_actions.d.ts +51 -0
  12. package/daemon/dist/db/migrations/037_mission_control_actions.d.ts.map +1 -0
  13. package/daemon/dist/db/migrations/037_mission_control_actions.js +74 -0
  14. package/daemon/dist/db/migrations/037_mission_control_actions.js.map +1 -0
  15. package/daemon/dist/db/migrations/038_workspace_primitive.d.ts +16 -0
  16. package/daemon/dist/db/migrations/038_workspace_primitive.d.ts.map +1 -0
  17. package/daemon/dist/db/migrations/038_workspace_primitive.js +20 -0
  18. package/daemon/dist/db/migrations/038_workspace_primitive.js.map +1 -0
  19. package/daemon/dist/db/migrations/039_queue_target_repo.d.ts +16 -0
  20. package/daemon/dist/db/migrations/039_queue_target_repo.d.ts.map +1 -0
  21. package/daemon/dist/db/migrations/039_queue_target_repo.js +21 -0
  22. package/daemon/dist/db/migrations/039_queue_target_repo.js.map +1 -0
  23. package/daemon/dist/domain/active-lens-store.d.ts +23 -0
  24. package/daemon/dist/domain/active-lens-store.d.ts.map +1 -0
  25. package/daemon/dist/domain/active-lens-store.js +87 -0
  26. package/daemon/dist/domain/active-lens-store.js.map +1 -0
  27. package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts +68 -0
  28. package/daemon/dist/domain/agent-images/agent-image-library-service.d.ts.map +1 -0
  29. package/daemon/dist/domain/agent-images/agent-image-library-service.js +339 -0
  30. package/daemon/dist/domain/agent-images/agent-image-library-service.js.map +1 -0
  31. package/daemon/dist/domain/agent-images/agent-image-types.d.ts +113 -0
  32. package/daemon/dist/domain/agent-images/agent-image-types.d.ts.map +1 -0
  33. package/daemon/dist/domain/agent-images/agent-image-types.js +24 -0
  34. package/daemon/dist/domain/agent-images/agent-image-types.js.map +1 -0
  35. package/daemon/dist/domain/agent-images/evidence-guard.d.ts +26 -0
  36. package/daemon/dist/domain/agent-images/evidence-guard.d.ts.map +1 -0
  37. package/daemon/dist/domain/agent-images/evidence-guard.js +185 -0
  38. package/daemon/dist/domain/agent-images/evidence-guard.js.map +1 -0
  39. package/daemon/dist/domain/agent-images/manifest-parser.d.ts +3 -0
  40. package/daemon/dist/domain/agent-images/manifest-parser.d.ts.map +1 -0
  41. package/daemon/dist/domain/agent-images/manifest-parser.js +114 -0
  42. package/daemon/dist/domain/agent-images/manifest-parser.js.map +1 -0
  43. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts +28 -0
  44. package/daemon/dist/domain/agent-images/resume-token-discovery.d.ts.map +1 -0
  45. package/daemon/dist/domain/agent-images/resume-token-discovery.js +83 -0
  46. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -0
  47. package/daemon/dist/domain/agent-images/snapshot-capturer.d.ts +36 -0
  48. package/daemon/dist/domain/agent-images/snapshot-capturer.d.ts.map +1 -0
  49. package/daemon/dist/domain/agent-images/snapshot-capturer.js +58 -0
  50. package/daemon/dist/domain/agent-images/snapshot-capturer.js.map +1 -0
  51. package/daemon/dist/domain/agent-starter-resolver.d.ts +10 -16
  52. package/daemon/dist/domain/agent-starter-resolver.d.ts.map +1 -1
  53. package/daemon/dist/domain/agent-starter-resolver.js +11 -13
  54. package/daemon/dist/domain/agent-starter-resolver.js.map +1 -1
  55. package/daemon/dist/domain/classifier-lease-manager.d.ts +1 -1
  56. package/daemon/dist/domain/classifier-lease-manager.js +1 -1
  57. package/daemon/dist/domain/conflict-detector.d.ts.map +1 -1
  58. package/daemon/dist/domain/conflict-detector.js +6 -3
  59. package/daemon/dist/domain/conflict-detector.js.map +1 -1
  60. package/daemon/dist/domain/context-monitor.d.ts +5 -4
  61. package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
  62. package/daemon/dist/domain/context-monitor.js +26 -11
  63. package/daemon/dist/domain/context-monitor.js.map +1 -1
  64. package/daemon/dist/domain/context-packs/bundle-assembler.d.ts +49 -0
  65. package/daemon/dist/domain/context-packs/bundle-assembler.d.ts.map +1 -0
  66. package/daemon/dist/domain/context-packs/bundle-assembler.js +81 -0
  67. package/daemon/dist/domain/context-packs/bundle-assembler.js.map +1 -0
  68. package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts +41 -0
  69. package/daemon/dist/domain/context-packs/context-pack-library-service.d.ts.map +1 -0
  70. package/daemon/dist/domain/context-packs/context-pack-library-service.js +148 -0
  71. package/daemon/dist/domain/context-packs/context-pack-library-service.js.map +1 -0
  72. package/daemon/dist/domain/context-packs/context-pack-types.d.ts +64 -0
  73. package/daemon/dist/domain/context-packs/context-pack-types.d.ts.map +1 -0
  74. package/daemon/dist/domain/context-packs/context-pack-types.js +22 -0
  75. package/daemon/dist/domain/context-packs/context-pack-types.js.map +1 -0
  76. package/daemon/dist/domain/context-packs/manifest-parser.d.ts +3 -0
  77. package/daemon/dist/domain/context-packs/manifest-parser.d.ts.map +1 -0
  78. package/daemon/dist/domain/context-packs/manifest-parser.js +74 -0
  79. package/daemon/dist/domain/context-packs/manifest-parser.js.map +1 -0
  80. package/daemon/dist/domain/context-usage-store.d.ts +14 -1
  81. package/daemon/dist/domain/context-usage-store.d.ts.map +1 -1
  82. package/daemon/dist/domain/context-usage-store.js +156 -1
  83. package/daemon/dist/domain/context-usage-store.js.map +1 -1
  84. package/daemon/dist/domain/files/file-write-service.d.ts +61 -0
  85. package/daemon/dist/domain/files/file-write-service.d.ts.map +1 -0
  86. package/daemon/dist/domain/files/file-write-service.js +180 -0
  87. package/daemon/dist/domain/files/file-write-service.js.map +1 -0
  88. package/daemon/dist/domain/files/path-safety.d.ts +47 -0
  89. package/daemon/dist/domain/files/path-safety.d.ts.map +1 -0
  90. package/daemon/dist/domain/files/path-safety.js +176 -0
  91. package/daemon/dist/domain/files/path-safety.js.map +1 -0
  92. package/daemon/dist/domain/graph-projection.d.ts +14 -1
  93. package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  94. package/daemon/dist/domain/graph-projection.js +8 -0
  95. package/daemon/dist/domain/graph-projection.js.map +1 -1
  96. package/daemon/dist/domain/install-engine.d.ts.map +1 -1
  97. package/daemon/dist/domain/install-engine.js +22 -6
  98. package/daemon/dist/domain/install-engine.js.map +1 -1
  99. package/daemon/dist/domain/install-verifier.d.ts.map +1 -1
  100. package/daemon/dist/domain/install-verifier.js +10 -5
  101. package/daemon/dist/domain/install-verifier.js.map +1 -1
  102. package/daemon/dist/domain/managed-blocks.d.ts.map +1 -1
  103. package/daemon/dist/domain/managed-blocks.js +22 -3
  104. package/daemon/dist/domain/managed-blocks.js.map +1 -1
  105. package/daemon/dist/domain/mission-control/audit-browse.d.ts +26 -0
  106. package/daemon/dist/domain/mission-control/audit-browse.d.ts.map +1 -0
  107. package/daemon/dist/domain/mission-control/audit-browse.js +101 -0
  108. package/daemon/dist/domain/mission-control/audit-browse.js.map +1 -0
  109. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts +51 -0
  110. package/daemon/dist/domain/mission-control/mission-control-action-log.d.ts.map +1 -0
  111. package/daemon/dist/domain/mission-control/mission-control-action-log.js +124 -0
  112. package/daemon/dist/domain/mission-control/mission-control-action-log.js.map +1 -0
  113. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts +131 -0
  114. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.d.ts.map +1 -0
  115. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js +232 -0
  116. package/daemon/dist/domain/mission-control/mission-control-fleet-cli-capability.js.map +1 -0
  117. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts +85 -0
  118. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -0
  119. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +265 -0
  120. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -0
  121. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts +69 -0
  122. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -0
  123. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +300 -0
  124. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -0
  125. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.d.ts +18 -0
  126. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.d.ts.map +1 -0
  127. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js +48 -0
  128. package/daemon/dist/domain/mission-control/notification-adapter-ntfy.js.map +1 -0
  129. package/daemon/dist/domain/mission-control/notification-adapter-types.d.ts +25 -0
  130. package/daemon/dist/domain/mission-control/notification-adapter-types.d.ts.map +1 -0
  131. package/daemon/dist/domain/mission-control/notification-adapter-types.js +7 -0
  132. package/daemon/dist/domain/mission-control/notification-adapter-types.js.map +1 -0
  133. package/daemon/dist/domain/mission-control/notification-adapter-webhook.d.ts +27 -0
  134. package/daemon/dist/domain/mission-control/notification-adapter-webhook.d.ts.map +1 -0
  135. package/daemon/dist/domain/mission-control/notification-adapter-webhook.js +47 -0
  136. package/daemon/dist/domain/mission-control/notification-adapter-webhook.js.map +1 -0
  137. package/daemon/dist/domain/mission-control/notification-dispatcher.d.ts +53 -0
  138. package/daemon/dist/domain/mission-control/notification-dispatcher.d.ts.map +1 -0
  139. package/daemon/dist/domain/mission-control/notification-dispatcher.js +181 -0
  140. package/daemon/dist/domain/mission-control/notification-dispatcher.js.map +1 -0
  141. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  142. package/daemon/dist/domain/node-inventory.js +24 -0
  143. package/daemon/dist/domain/node-inventory.js.map +1 -1
  144. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  145. package/daemon/dist/domain/node-launcher.js +7 -5
  146. package/daemon/dist/domain/node-launcher.js.map +1 -1
  147. package/daemon/dist/domain/preview/preview-rate-limiter.d.ts +20 -0
  148. package/daemon/dist/domain/preview/preview-rate-limiter.d.ts.map +1 -0
  149. package/daemon/dist/domain/preview/preview-rate-limiter.js +46 -0
  150. package/daemon/dist/domain/preview/preview-rate-limiter.js.map +1 -0
  151. package/daemon/dist/domain/profile-resolver.d.ts +5 -0
  152. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  153. package/daemon/dist/domain/profile-resolver.js +62 -8
  154. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  155. package/daemon/dist/domain/progress/progress-indexer.d.ts +73 -0
  156. package/daemon/dist/domain/progress/progress-indexer.d.ts.map +1 -0
  157. package/daemon/dist/domain/progress/progress-indexer.js +210 -0
  158. package/daemon/dist/domain/progress/progress-indexer.js.map +1 -0
  159. package/daemon/dist/domain/project-classifier.d.ts +1 -1
  160. package/daemon/dist/domain/queue-repository.d.ts +22 -4
  161. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  162. package/daemon/dist/domain/queue-repository.js +80 -22
  163. package/daemon/dist/domain/queue-repository.js.map +1 -1
  164. package/daemon/dist/domain/rehydrate-eligibility.d.ts +16 -0
  165. package/daemon/dist/domain/rehydrate-eligibility.d.ts.map +1 -0
  166. package/daemon/dist/domain/rehydrate-eligibility.js +43 -0
  167. package/daemon/dist/domain/rehydrate-eligibility.js.map +1 -0
  168. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  169. package/daemon/dist/domain/restore-check-service.js +19 -6
  170. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  171. package/daemon/dist/domain/restore-orchestrator.d.ts.map +1 -1
  172. package/daemon/dist/domain/restore-orchestrator.js +4 -2
  173. package/daemon/dist/domain/restore-orchestrator.js.map +1 -1
  174. package/daemon/dist/domain/rig-repository.d.ts +14 -0
  175. package/daemon/dist/domain/rig-repository.d.ts.map +1 -1
  176. package/daemon/dist/domain/rig-repository.js +41 -0
  177. package/daemon/dist/domain/rig-repository.js.map +1 -1
  178. package/daemon/dist/domain/rig-teardown.d.ts.map +1 -1
  179. package/daemon/dist/domain/rig-teardown.js +5 -0
  180. package/daemon/dist/domain/rig-teardown.js.map +1 -1
  181. package/daemon/dist/domain/rigspec-codec.d.ts.map +1 -1
  182. package/daemon/dist/domain/rigspec-codec.js +15 -0
  183. package/daemon/dist/domain/rigspec-codec.js.map +1 -1
  184. package/daemon/dist/domain/rigspec-instantiator.d.ts +29 -0
  185. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  186. package/daemon/dist/domain/rigspec-instantiator.js +136 -4
  187. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  188. package/daemon/dist/domain/rigspec-schema.d.ts.map +1 -1
  189. package/daemon/dist/domain/rigspec-schema.js +157 -4
  190. package/daemon/dist/domain/rigspec-schema.js.map +1 -1
  191. package/daemon/dist/domain/runtime-adapter.d.ts +11 -0
  192. package/daemon/dist/domain/runtime-adapter.d.ts.map +1 -1
  193. package/daemon/dist/domain/runtime-adapter.js.map +1 -1
  194. package/daemon/dist/domain/skill-discovery.d.ts +51 -0
  195. package/daemon/dist/domain/skill-discovery.d.ts.map +1 -0
  196. package/daemon/dist/domain/skill-discovery.js +144 -0
  197. package/daemon/dist/domain/skill-discovery.js.map +1 -0
  198. package/daemon/dist/domain/slices/slice-detail-projector.d.ts +182 -0
  199. package/daemon/dist/domain/slices/slice-detail-projector.d.ts.map +1 -0
  200. package/daemon/dist/domain/slices/slice-detail-projector.js +508 -0
  201. package/daemon/dist/domain/slices/slice-detail-projector.js.map +1 -0
  202. package/daemon/dist/domain/slices/slice-indexer.d.ts +118 -0
  203. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -0
  204. package/daemon/dist/domain/slices/slice-indexer.js +503 -0
  205. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -0
  206. package/daemon/dist/domain/spec-library-service.d.ts +17 -2
  207. package/daemon/dist/domain/spec-library-service.d.ts.map +1 -1
  208. package/daemon/dist/domain/spec-library-service.js +31 -1
  209. package/daemon/dist/domain/spec-library-service.js.map +1 -1
  210. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +81 -0
  211. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -0
  212. package/daemon/dist/domain/spec-library-workflow-scanner.js +171 -0
  213. package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -0
  214. package/daemon/dist/domain/startup-validation.d.ts.map +1 -1
  215. package/daemon/dist/domain/startup-validation.js +57 -11
  216. package/daemon/dist/domain/startup-validation.js.map +1 -1
  217. package/daemon/dist/domain/steering/health-summary.d.ts +39 -0
  218. package/daemon/dist/domain/steering/health-summary.d.ts.map +1 -0
  219. package/daemon/dist/domain/steering/health-summary.js +100 -0
  220. package/daemon/dist/domain/steering/health-summary.js.map +1 -0
  221. package/daemon/dist/domain/steering/steering-composer.d.ts +102 -0
  222. package/daemon/dist/domain/steering/steering-composer.d.ts.map +1 -0
  223. package/daemon/dist/domain/steering/steering-composer.js +263 -0
  224. package/daemon/dist/domain/steering/steering-composer.js.map +1 -0
  225. package/daemon/dist/domain/transcript-capture.d.ts.map +1 -1
  226. package/daemon/dist/domain/transcript-capture.js +7 -4
  227. package/daemon/dist/domain/transcript-capture.js.map +1 -1
  228. package/daemon/dist/domain/transcript-rotation.d.ts +29 -0
  229. package/daemon/dist/domain/transcript-rotation.d.ts.map +1 -0
  230. package/daemon/dist/domain/transcript-rotation.js +109 -0
  231. package/daemon/dist/domain/transcript-rotation.js.map +1 -0
  232. package/daemon/dist/domain/transcript-store.d.ts.map +1 -1
  233. package/daemon/dist/domain/transcript-store.js +7 -1
  234. package/daemon/dist/domain/transcript-store.js.map +1 -1
  235. package/daemon/dist/domain/types.d.ts +101 -2
  236. package/daemon/dist/domain/types.d.ts.map +1 -1
  237. package/daemon/dist/domain/types.js +8 -1
  238. package/daemon/dist/domain/types.js.map +1 -1
  239. package/daemon/dist/domain/user-settings/settings-store.d.ts +42 -0
  240. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -0
  241. package/daemon/dist/domain/user-settings/settings-store.js +364 -0
  242. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -0
  243. package/daemon/dist/domain/view-event-bridge.d.ts.map +1 -1
  244. package/daemon/dist/domain/view-event-bridge.js +2 -3
  245. package/daemon/dist/domain/view-event-bridge.js.map +1 -1
  246. package/daemon/dist/domain/whoami-service.d.ts +29 -0
  247. package/daemon/dist/domain/whoami-service.d.ts.map +1 -1
  248. package/daemon/dist/domain/whoami-service.js +68 -0
  249. package/daemon/dist/domain/whoami-service.js.map +1 -1
  250. package/daemon/dist/domain/workflow/slice-workflow-binding.d.ts +21 -0
  251. package/daemon/dist/domain/workflow/slice-workflow-binding.d.ts.map +1 -0
  252. package/daemon/dist/domain/workflow/slice-workflow-binding.js +103 -0
  253. package/daemon/dist/domain/workflow/slice-workflow-binding.js.map +1 -0
  254. package/daemon/dist/domain/workflow/slice-workflow-projection.d.ts +81 -0
  255. package/daemon/dist/domain/workflow/slice-workflow-projection.d.ts.map +1 -0
  256. package/daemon/dist/domain/workflow/slice-workflow-projection.js +127 -0
  257. package/daemon/dist/domain/workflow/slice-workflow-projection.js.map +1 -0
  258. package/daemon/dist/domain/workflow/starter-spec-loader.d.ts +51 -0
  259. package/daemon/dist/domain/workflow/starter-spec-loader.d.ts.map +1 -0
  260. package/daemon/dist/domain/workflow/starter-spec-loader.js +140 -0
  261. package/daemon/dist/domain/workflow/starter-spec-loader.js.map +1 -0
  262. package/daemon/dist/domain/workflow-projector.js +11 -3
  263. package/daemon/dist/domain/workflow-projector.js.map +1 -1
  264. package/daemon/dist/domain/workflow-spec-cache.d.ts +7 -0
  265. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  266. package/daemon/dist/domain/workflow-spec-cache.js +62 -15
  267. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  268. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +6 -0
  269. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -0
  270. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +207 -0
  271. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -0
  272. package/daemon/dist/domain/workspace/frontmatter-validator.d.ts +40 -0
  273. package/daemon/dist/domain/workspace/frontmatter-validator.d.ts.map +1 -0
  274. package/daemon/dist/domain/workspace/frontmatter-validator.js +185 -0
  275. package/daemon/dist/domain/workspace/frontmatter-validator.js.map +1 -0
  276. package/daemon/dist/domain/workspace/workspace-resolver.d.ts +25 -0
  277. package/daemon/dist/domain/workspace/workspace-resolver.d.ts.map +1 -0
  278. package/daemon/dist/domain/workspace/workspace-resolver.js +86 -0
  279. package/daemon/dist/domain/workspace/workspace-resolver.js.map +1 -0
  280. package/daemon/dist/index.d.ts.map +1 -1
  281. package/daemon/dist/index.js +10 -1
  282. package/daemon/dist/index.js.map +1 -1
  283. package/daemon/dist/middleware/auth-bearer-token.d.ts +49 -0
  284. package/daemon/dist/middleware/auth-bearer-token.d.ts.map +1 -0
  285. package/daemon/dist/middleware/auth-bearer-token.js +135 -0
  286. package/daemon/dist/middleware/auth-bearer-token.js.map +1 -0
  287. package/daemon/dist/openrig-compat.d.ts +1 -1
  288. package/daemon/dist/openrig-compat.d.ts.map +1 -1
  289. package/daemon/dist/openrig-compat.js +6 -4
  290. package/daemon/dist/openrig-compat.js.map +1 -1
  291. package/daemon/dist/routes/agent-images.d.ts +8 -0
  292. package/daemon/dist/routes/agent-images.d.ts.map +1 -0
  293. package/daemon/dist/routes/agent-images.js +253 -0
  294. package/daemon/dist/routes/agent-images.js.map +1 -0
  295. package/daemon/dist/routes/config.d.ts +3 -0
  296. package/daemon/dist/routes/config.d.ts.map +1 -0
  297. package/daemon/dist/routes/config.js +109 -0
  298. package/daemon/dist/routes/config.js.map +1 -0
  299. package/daemon/dist/routes/context-packs.d.ts +3 -0
  300. package/daemon/dist/routes/context-packs.d.ts.map +1 -0
  301. package/daemon/dist/routes/context-packs.js +129 -0
  302. package/daemon/dist/routes/context-packs.js.map +1 -0
  303. package/daemon/dist/routes/files.d.ts +17 -0
  304. package/daemon/dist/routes/files.d.ts.map +1 -0
  305. package/daemon/dist/routes/files.js +262 -0
  306. package/daemon/dist/routes/files.js.map +1 -0
  307. package/daemon/dist/routes/health-summary.d.ts +9 -0
  308. package/daemon/dist/routes/health-summary.d.ts.map +1 -0
  309. package/daemon/dist/routes/health-summary.js +33 -0
  310. package/daemon/dist/routes/health-summary.js.map +1 -0
  311. package/daemon/dist/routes/mission-control.d.ts +37 -0
  312. package/daemon/dist/routes/mission-control.d.ts.map +1 -0
  313. package/daemon/dist/routes/mission-control.js +283 -0
  314. package/daemon/dist/routes/mission-control.js.map +1 -0
  315. package/daemon/dist/routes/progress.d.ts +7 -0
  316. package/daemon/dist/routes/progress.d.ts.map +1 -0
  317. package/daemon/dist/routes/progress.js +33 -0
  318. package/daemon/dist/routes/progress.js.map +1 -0
  319. package/daemon/dist/routes/queue.d.ts.map +1 -1
  320. package/daemon/dist/routes/queue.js +52 -1
  321. package/daemon/dist/routes/queue.js.map +1 -1
  322. package/daemon/dist/routes/rigs.d.ts +3 -0
  323. package/daemon/dist/routes/rigs.d.ts.map +1 -1
  324. package/daemon/dist/routes/rigs.js +73 -7
  325. package/daemon/dist/routes/rigs.js.map +1 -1
  326. package/daemon/dist/routes/rigspec.js +6 -3
  327. package/daemon/dist/routes/rigspec.js.map +1 -1
  328. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  329. package/daemon/dist/routes/sessions.js +119 -0
  330. package/daemon/dist/routes/sessions.js.map +1 -1
  331. package/daemon/dist/routes/slices.d.ts +9 -0
  332. package/daemon/dist/routes/slices.d.ts.map +1 -0
  333. package/daemon/dist/routes/slices.js +192 -0
  334. package/daemon/dist/routes/slices.js.map +1 -0
  335. package/daemon/dist/routes/spec-library.d.ts.map +1 -1
  336. package/daemon/dist/routes/spec-library.js +72 -5
  337. package/daemon/dist/routes/spec-library.js.map +1 -1
  338. package/daemon/dist/routes/steering.d.ts +7 -0
  339. package/daemon/dist/routes/steering.d.ts.map +1 -0
  340. package/daemon/dist/routes/steering.js +27 -0
  341. package/daemon/dist/routes/steering.js.map +1 -0
  342. package/daemon/dist/routes/up.d.ts.map +1 -1
  343. package/daemon/dist/routes/up.js +21 -3
  344. package/daemon/dist/routes/up.js.map +1 -1
  345. package/daemon/dist/routes/whoami.d.ts.map +1 -1
  346. package/daemon/dist/routes/whoami.js +6 -1
  347. package/daemon/dist/routes/whoami.js.map +1 -1
  348. package/daemon/dist/routes/workflow.d.ts.map +1 -1
  349. package/daemon/dist/routes/workflow.js +43 -0
  350. package/daemon/dist/routes/workflow.js.map +1 -1
  351. package/daemon/dist/routes/workspace.d.ts +3 -0
  352. package/daemon/dist/routes/workspace.d.ts.map +1 -0
  353. package/daemon/dist/routes/workspace.js +53 -0
  354. package/daemon/dist/routes/workspace.js.map +1 -0
  355. package/daemon/dist/server.d.ts +51 -0
  356. package/daemon/dist/server.d.ts.map +1 -1
  357. package/daemon/dist/server.js +52 -1
  358. package/daemon/dist/server.js.map +1 -1
  359. package/daemon/dist/startup.d.ts +9 -0
  360. package/daemon/dist/startup.d.ts.map +1 -1
  361. package/daemon/dist/startup.js +385 -2
  362. package/daemon/dist/startup.js.map +1 -1
  363. package/daemon/docs/reference/agent-spec.md +7 -7
  364. package/daemon/docs/reference/agent-startup-guide.md +2 -2
  365. package/daemon/docs/reference/project-workspace.md +102 -0
  366. package/daemon/specs/agents/apps/vault-specialist/agent.yaml +1 -1
  367. package/daemon/specs/agents/apps/vault-specialist/guidance/role.md +0 -1
  368. package/daemon/specs/agents/conveyor/builder/agent.yaml +35 -0
  369. package/daemon/specs/agents/conveyor/builder/guidance/role.md +31 -0
  370. package/daemon/specs/agents/conveyor/builder/startup/context.md +9 -0
  371. package/daemon/specs/agents/conveyor/lead/agent.yaml +35 -0
  372. package/daemon/specs/agents/conveyor/lead/guidance/role.md +34 -0
  373. package/daemon/specs/agents/conveyor/lead/startup/context.md +15 -0
  374. package/daemon/specs/agents/conveyor/planner/agent.yaml +35 -0
  375. package/daemon/specs/agents/conveyor/planner/guidance/role.md +29 -0
  376. package/daemon/specs/agents/conveyor/planner/startup/context.md +12 -0
  377. package/daemon/specs/agents/conveyor/reviewer/agent.yaml +35 -0
  378. package/daemon/specs/agents/conveyor/reviewer/guidance/role.md +29 -0
  379. package/daemon/specs/agents/conveyor/reviewer/startup/context.md +10 -0
  380. package/daemon/specs/agents/development/implementer/agent.yaml +1 -1
  381. package/daemon/specs/agents/development/implementer/guidance/role.md +0 -1
  382. package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +1 -1
  383. package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +2 -3
  384. package/daemon/specs/agents/shared/agent.yaml +0 -2
  385. package/daemon/specs/agents/shared/skills/core/openrig-user/SKILL.md +25 -0
  386. package/daemon/specs/agents/shared/skills/core/openrig-user-settings/SKILL.md +153 -0
  387. package/daemon/specs/agents/shared/skills/rig-architect/SKILL.md +1 -1
  388. package/daemon/specs/rigs/launch/conveyor/CULTURE.md +34 -0
  389. package/daemon/specs/rigs/launch/conveyor/README.md +33 -0
  390. package/daemon/specs/rigs/launch/conveyor/rig.yaml +72 -0
  391. package/daemon/specs/rigs/preview/product-team/CULTURE.md +2 -2
  392. package/daemon/specs/rigs/preview/product-team/rig.yaml +3 -4
  393. package/dist/commands/agent-image.d.ts +4 -0
  394. package/dist/commands/agent-image.d.ts.map +1 -0
  395. package/dist/commands/agent-image.js +352 -0
  396. package/dist/commands/agent-image.js.map +1 -0
  397. package/dist/commands/config-init-workspace.d.ts +35 -0
  398. package/dist/commands/config-init-workspace.d.ts.map +1 -0
  399. package/dist/commands/config-init-workspace.js +300 -0
  400. package/dist/commands/config-init-workspace.js.map +1 -0
  401. package/dist/commands/config.d.ts.map +1 -1
  402. package/dist/commands/config.js +78 -18
  403. package/dist/commands/config.js.map +1 -1
  404. package/dist/commands/context-pack.d.ts +4 -0
  405. package/dist/commands/context-pack.d.ts.map +1 -0
  406. package/dist/commands/context-pack.js +357 -0
  407. package/dist/commands/context-pack.js.map +1 -0
  408. package/dist/commands/daemon.d.ts.map +1 -1
  409. package/dist/commands/daemon.js +8 -0
  410. package/dist/commands/daemon.js.map +1 -1
  411. package/dist/commands/import.d.ts.map +1 -1
  412. package/dist/commands/import.js +7 -2
  413. package/dist/commands/import.js.map +1 -1
  414. package/dist/commands/ps.d.ts.map +1 -1
  415. package/dist/commands/ps.js +173 -14
  416. package/dist/commands/ps.js.map +1 -1
  417. package/dist/commands/queue.d.ts.map +1 -1
  418. package/dist/commands/queue.js +9 -0
  419. package/dist/commands/queue.js.map +1 -1
  420. package/dist/commands/send.d.ts +7 -0
  421. package/dist/commands/send.d.ts.map +1 -1
  422. package/dist/commands/send.js +24 -1
  423. package/dist/commands/send.js.map +1 -1
  424. package/dist/commands/specs.d.ts +4 -2
  425. package/dist/commands/specs.d.ts.map +1 -1
  426. package/dist/commands/specs.js +12 -8
  427. package/dist/commands/specs.js.map +1 -1
  428. package/dist/commands/up.d.ts.map +1 -1
  429. package/dist/commands/up.js +17 -3
  430. package/dist/commands/up.js.map +1 -1
  431. package/dist/commands/whoami.d.ts.map +1 -1
  432. package/dist/commands/whoami.js +9 -4
  433. package/dist/commands/whoami.js.map +1 -1
  434. package/dist/commands/workflow.d.ts.map +1 -1
  435. package/dist/commands/workflow.js +37 -0
  436. package/dist/commands/workflow.js.map +1 -1
  437. package/dist/commands/workspace.d.ts +6 -0
  438. package/dist/commands/workspace.d.ts.map +1 -0
  439. package/dist/commands/workspace.js +83 -0
  440. package/dist/commands/workspace.js.map +1 -0
  441. package/dist/config-store.d.ts +73 -1
  442. package/dist/config-store.d.ts.map +1 -1
  443. package/dist/config-store.js +314 -42
  444. package/dist/config-store.js.map +1 -1
  445. package/dist/daemon-lifecycle.d.ts +22 -0
  446. package/dist/daemon-lifecycle.d.ts.map +1 -1
  447. package/dist/daemon-lifecycle.js +41 -0
  448. package/dist/daemon-lifecycle.js.map +1 -1
  449. package/dist/index.d.ts +4 -0
  450. package/dist/index.d.ts.map +1 -1
  451. package/dist/index.js +6 -0
  452. package/dist/index.js.map +1 -1
  453. package/dist/openrig-compat.d.ts +1 -1
  454. package/dist/openrig-compat.d.ts.map +1 -1
  455. package/dist/openrig-compat.js +6 -4
  456. package/dist/openrig-compat.js.map +1 -1
  457. package/dist/restore-packet/claude-transcript-parser.js +1 -1
  458. package/dist/restore-packet/claude-transcript-parser.js.map +1 -1
  459. package/dist/restore-packet/codex-jsonl-parser.js +1 -1
  460. package/dist/restore-packet/codex-jsonl-parser.js.map +1 -1
  461. package/package.json +2 -2
  462. package/ui/dist/assets/index-BDHU1JUK.js +412 -0
  463. package/ui/dist/assets/index-DXTyJSqu.css +1 -0
  464. package/ui/dist/graphics/operator-climber-monochrome.png +0 -0
  465. package/ui/dist/index.html +3 -2
  466. package/daemon/specs/agents/shared/skills/mental-model-ha/SKILL.md +0 -956
  467. package/ui/dist/assets/index-B09doO8H.js +0 -139
  468. package/ui/dist/assets/index-Dec25siz.css +0 -1
  469. package/ui/dist/assets/index-GNYaWmBj.js +0 -225
@@ -46,7 +46,7 @@ imports:
46
46
  profiles:
47
47
  default:
48
48
  uses:
49
- skills: [using-superpowers, openrig-user, development-team, test-driven-development, mental-model-ha]
49
+ skills: [using-superpowers, openrig-user, development-team, test-driven-development, systematic-debugging]
50
50
  guidance: []
51
51
  subagents: []
52
52
  hooks: []
@@ -91,7 +91,7 @@ profiles:
91
91
  preferences:
92
92
  runtime: claude-code
93
93
  uses:
94
- skills: [openrig-user, mental-model-ha, vault-user]
94
+ skills: [openrig-user, systematic-debugging, vault-user]
95
95
  guidance: []
96
96
  subagents: []
97
97
  hooks: []
@@ -216,7 +216,7 @@ imports:
216
216
  - ref: local:../../shared
217
217
  ```
218
218
 
219
- This gives access to the full pool of shared skills (openrig-user, mental-model-ha, development-team, etc.) and agents select the ones they need via profile `uses`.
219
+ This gives access to the full pool of shared skills (openrig-user, systematic-debugging, development-team, etc.) and agents select the ones they need via profile `uses`.
220
220
 
221
221
  ---
222
222
 
@@ -230,7 +230,7 @@ profiles:
230
230
  runtime: claude-code
231
231
  model: claude-opus-4-6
232
232
  uses:
233
- skills: [openrig-user, mental-model-ha, vault-user]
233
+ skills: [openrig-user, systematic-debugging, vault-user]
234
234
  guidance: [role]
235
235
  subagents: []
236
236
  hooks: []
@@ -258,7 +258,7 @@ The `uses` block selects which resources from the `resources` pool (including im
258
258
 
259
259
  ```yaml
260
260
  uses:
261
- skills: [openrig-user, mental-model-ha, vault-user]
261
+ skills: [openrig-user, systematic-debugging, vault-user]
262
262
  guidance: [role]
263
263
  subagents: []
264
264
  hooks: [pre-commit]
@@ -410,9 +410,9 @@ The only required file is `agent.yaml`. Everything else is referenced by paths i
410
410
  | Agent | Location | Imports | Profile Skills | Purpose |
411
411
  |-------|----------|---------|---------------|---------|
412
412
  | `shared` | `specs/agents/shared/` | none | — (resource pool only) | Shared skill pool for all built-in agents |
413
- | `implementer` | `specs/agents/development/implementer/` | `shared` | openrig-user, development-team, test-driven-development, mental-model-ha, etc. | TDD implementation agent |
413
+ | `implementer` | `specs/agents/development/implementer/` | `shared` | openrig-user, development-team, test-driven-development, systematic-debugging, etc. | TDD implementation agent |
414
414
  | `qa` | `specs/agents/development/qa/` | `shared` | openrig-user, development-team, etc. | Quality assurance agent |
415
415
  | `orchestrator` | `specs/agents/orchestration/orchestrator/` | `shared` | openrig-user, orchestration-team, etc. | Rig orchestration lead |
416
416
  | `reviewer` | `specs/agents/review/reviewer/` | `shared` | openrig-user, review-team, etc. | Independent code reviewer |
417
- | `vault-specialist` | `specs/agents/apps/vault-specialist/` | `shared` | openrig-user, mental-model-ha, vault-user | Vault domain specialist |
417
+ | `vault-specialist` | `specs/agents/apps/vault-specialist/` | `shared` | openrig-user, systematic-debugging, vault-user | Vault domain specialist |
418
418
  | `design` | `specs/agents/design/` | none | — | Product designer |
@@ -61,7 +61,7 @@ Skills are delivered to agents through two parallel paths:
61
61
 
62
62
  Both paths are important. The spec projection ensures the files are physically present. The startup instruction ensures the agent knows to read them. This redundancy is intentional — it handles cases where one path fails.
63
63
 
64
- Example: An implementer agent's startup guidance says "Load the following skills: openrig-user, test-driven-development, mental-model-ha" — AND the agent spec's profile uses those same skill IDs. The agent gets the files from projection and the instruction to read them from guidance.
64
+ Example: An implementer agent's startup guidance says "Load the following skills: openrig-user, test-driven-development, systematic-debugging" — AND the agent spec's profile uses those same skill IDs. The agent gets the files from projection and the instruction to read them from guidance.
65
65
 
66
66
  ### The File Types
67
67
 
@@ -301,7 +301,7 @@ Don't put project documentation inside the role guidance. The role is about the
301
301
 
302
302
  In a startup file or guidance, include a line like:
303
303
  ```
304
- You have the following skills loaded: openrig-user, test-driven-development, mental-model-ha. Use them.
304
+ You have the following skills loaded: openrig-user, test-driven-development, systematic-debugging. Use them.
305
305
  ```
306
306
  This prompts the agent to actually invoke the skills, not just have them as passive context.
307
307
 
@@ -0,0 +1,102 @@
1
+ # Project Workspace Contract
2
+
3
+ OpenRig's Project UI is a file-backed view over a workspace root. The folder
4
+ shape is intentionally simple so humans and agents can create or repair it
5
+ without daemon-internal knowledge.
6
+
7
+ ## Default Shape
8
+
9
+ `rig config init-workspace` creates the default workspace at
10
+ `~/.openrig/workspace` unless `--root` or `workspace.root` points elsewhere.
11
+
12
+ ```text
13
+ workspace/
14
+ README.md
15
+ STEERING.md
16
+ missions/
17
+ README.md
18
+ idea-ledger/
19
+ README.md
20
+ PROGRESS.md
21
+ slices/
22
+ capture-product-ideas/
23
+ README.md
24
+ PROGRESS.md
25
+ IMPLEMENTATION-PRD.md
26
+ triage-product-ideas/
27
+ README.md
28
+ PROGRESS.md
29
+ IMPLEMENTATION-PRD.md
30
+ handoff-loop/
31
+ README.md
32
+ PROGRESS.md
33
+ slices/
34
+ route-work-packets/
35
+ README.md
36
+ PROGRESS.md
37
+ IMPLEMENTATION-PRD.md
38
+ verify-loop-evidence/
39
+ README.md
40
+ PROGRESS.md
41
+ IMPLEMENTATION-PRD.md
42
+ progress/
43
+ field-notes/
44
+ specs/
45
+ ```
46
+
47
+ ## UI Mapping
48
+
49
+ - `workspace.root` maps to the Project workspace.
50
+ - `workspace.root/missions/<mission-id>` maps to a Project mission.
51
+ - `workspace.root/missions/<mission-id>/slices/<slice-id>` maps to a Project slice.
52
+ - Mission `PROGRESS.md` frontmatter supplies the mission status badge when the
53
+ file root is allowlisted.
54
+ - Slice `README.md`, `PROGRESS.md`, and `IMPLEMENTATION-PRD.md` frontmatter
55
+ supply display name, lifecycle status, mission id, and queue linkage hints.
56
+
57
+ Mission and slice ids should be stable kebab-case strings. Keep slice ids
58
+ unique inside the workspace so `/project/slice/<slice-id>` resolves without
59
+ ambiguity.
60
+
61
+ ## Queue Mapping
62
+
63
+ Queue items attach to a slice when their body or tags mention one of:
64
+
65
+ - the slice id;
66
+ - the mission id;
67
+ - the legacy `rail-item` value in slice frontmatter.
68
+
69
+ For new work, include both mission and slice ids in the queue item body or
70
+ tags. Example:
71
+
72
+ ```text
73
+ Mission: idea-ledger
74
+ Slice: capture-product-ideas
75
+ ```
76
+
77
+ This makes Story, Queue, Tests, and Topology tabs line up with the filesystem
78
+ slice without adding a separate project database schema.
79
+
80
+ ## Compatibility
81
+
82
+ The default discovery root is `workspace.slices_root=<workspace.root>/missions`.
83
+ The slice indexer also supports legacy flat roots such as
84
+ `workspace.slices_root=<workspace.root>/slices`, where each direct child folder
85
+ is a slice. Flat roots remain readable, but the mission-aware shape is the
86
+ default setup contract.
87
+
88
+ ## Repair Checklist
89
+
90
+ If Project shows a mission discovery warning:
91
+
92
+ 1. Run `rig config get workspace.root --show-source`.
93
+ 2. Run `rig config get workspace.slices_root --show-source`.
94
+ 3. Confirm `workspace.slices_root` points at a folder containing mission
95
+ directories with `slices/` children.
96
+ 4. Confirm `files.allowlist` includes `workspace:<workspace.root>` so the UI
97
+ can read mission `PROGRESS.md`.
98
+ 5. If the workspace is missing, run `rig config init-workspace` after operator
99
+ approval.
100
+
101
+ No daemon restart is required for most config reads. Restart when changing
102
+ startup-time roots such as `files.allowlist` or progress scan roots.
@@ -11,7 +11,7 @@ imports:
11
11
  profiles:
12
12
  default:
13
13
  uses:
14
- skills: [using-superpowers, openrig-user, mental-model-ha, systematic-debugging, verification-before-completion, vault-user]
14
+ skills: [using-superpowers, openrig-user, systematic-debugging, verification-before-completion, vault-user]
15
15
  guidance: []
16
16
  subagents: []
17
17
  hooks: []
@@ -28,7 +28,6 @@ You have the following skills loaded:
28
28
 
29
29
  - `using-superpowers` — general agent capabilities
30
30
  - `openrig-user` — OpenRig CLI and topology operations
31
- - `mental-model-ha` — compaction and restore discipline
32
31
  - `systematic-debugging` — structured debugging approach
33
32
  - `verification-before-completion` — evidence before claims
34
33
  - `vault-user` — Vault-specific operations and domain knowledge
@@ -0,0 +1,35 @@
1
+ name: conveyor-builder
2
+ version: "1.0"
3
+ description: Conveyor builder - executes the planned packet and prepares proof for review
4
+
5
+ defaults:
6
+ runtime: claude-code
7
+
8
+ imports:
9
+ - ref: local:../../shared
10
+
11
+ profiles:
12
+ default:
13
+ uses:
14
+ skills: [openrig-user, development-team, test-driven-development, systematic-debugging, executing-plans, verification-before-completion]
15
+ guidance: []
16
+ subagents: []
17
+ hooks: []
18
+ runtime_resources: [shared:claude-default-settings, shared:claude-default-mcp, shared:codex-default-config]
19
+
20
+ resources:
21
+ guidance:
22
+ - id: role
23
+ path: guidance/role.md
24
+ - id: startup-context
25
+ path: startup/context.md
26
+
27
+ startup:
28
+ files:
29
+ - path: guidance/role.md
30
+ delivery_hint: send_text
31
+ required: true
32
+ - path: startup/context.md
33
+ delivery_hint: send_text
34
+ required: true
35
+ actions: []
@@ -0,0 +1,31 @@
1
+ # Role: Conveyor Builder
2
+
3
+ You are the build station for the `conveyor` starter rig. Your job is to
4
+ execute the planner's packet, keep edits bounded, and produce proof that a
5
+ reviewer can inspect.
6
+
7
+ ## Skills Loaded
8
+
9
+ - `openrig-user`
10
+ - `development-team`
11
+ - `test-driven-development`
12
+ - `systematic-debugging`
13
+ - `executing-plans`
14
+ - `verification-before-completion`
15
+
16
+ ## Responsibilities
17
+
18
+ - Read the plan before editing or producing an artifact.
19
+ - Keep implementation scope aligned to the packet.
20
+ - Run the verification commands that fit the change.
21
+ - Hand off to `review-reviewer@conveyor` with changed files, commands run, and
22
+ residual risks.
23
+ - If review sends work back, address the specific finding and preserve the
24
+ evidence trail.
25
+
26
+ ## Principles
27
+
28
+ - Do the smallest useful build step that satisfies the plan.
29
+ - Tests and proof are part of the work product.
30
+ - Do not claim success without reproducible verification.
31
+ - Keep handoffs factual so the review station can move quickly.
@@ -0,0 +1,9 @@
1
+ # Startup Context
2
+
3
+ Run `rig whoami --json` before making topology claims. Confirm that your
4
+ session is `build-builder@conveyor`.
5
+
6
+ Default workflow role: `builder`.
7
+
8
+ Receive planned packets from `plan-planner@conveyor`. Send proof-ready work to
9
+ `review-reviewer@conveyor`. Rework packets may also arrive from review.
@@ -0,0 +1,35 @@
1
+ name: conveyor-lead
2
+ version: "1.0"
3
+ description: Conveyor intake lead - receives work, keeps station handoffs clear, and closes packets
4
+
5
+ defaults:
6
+ runtime: claude-code
7
+
8
+ imports:
9
+ - ref: local:../../shared
10
+
11
+ profiles:
12
+ default:
13
+ uses:
14
+ skills: [openrig-user, orchestration-team, backlog-capture, writing-plans, executing-plans, verification-before-completion, brainstorming]
15
+ guidance: []
16
+ subagents: []
17
+ hooks: []
18
+ runtime_resources: [shared:claude-default-settings, shared:claude-default-mcp, shared:codex-default-config]
19
+
20
+ resources:
21
+ guidance:
22
+ - id: role
23
+ path: guidance/role.md
24
+ - id: startup-context
25
+ path: startup/context.md
26
+
27
+ startup:
28
+ files:
29
+ - path: guidance/role.md
30
+ delivery_hint: send_text
31
+ required: true
32
+ - path: startup/context.md
33
+ delivery_hint: send_text
34
+ required: true
35
+ actions: []
@@ -0,0 +1,34 @@
1
+ # Role: Conveyor Lead
2
+
3
+ You are the intake and close seat for the `conveyor` starter rig. Your job is
4
+ to receive new work packets, keep the station pipeline understandable, and
5
+ close work with useful evidence when the review station says the packet is
6
+ ready.
7
+
8
+ ## Skills Loaded
9
+
10
+ - `openrig-user`
11
+ - `orchestration-team`
12
+ - `backlog-capture`
13
+ - `writing-plans`
14
+ - `executing-plans`
15
+ - `verification-before-completion`
16
+ - `brainstorming`
17
+
18
+ ## Responsibilities
19
+
20
+ - Turn rough incoming requests into queue packets that a planner can act on.
21
+ - Keep the active workflow instance honest: current owner, next owner, and
22
+ terminal state should always be visible through OpenRig surfaces.
23
+ - Watch for backpressure. If planning, build, or review is backed up, stop
24
+ feeding new packets and help clear the queue.
25
+ - Close completed packets only after the review station has supplied evidence.
26
+ - Escalate unclear requirements instead of inventing hidden scope.
27
+
28
+ ## Principles
29
+
30
+ - Handoffs are durable queue motion, not private chat.
31
+ - The starter rig should teach a new user how OpenRig coordinates work.
32
+ - Keep packets small enough that every station can finish its turn.
33
+ - Prefer explicit closure notes over vague status updates.
34
+ - Do not embed private release topology assumptions in this generic starter.
@@ -0,0 +1,15 @@
1
+ # Startup Context
2
+
3
+ Run `rig whoami --json` before making topology claims. Confirm that your
4
+ session is `intake-lead@conveyor`.
5
+
6
+ Default workflow role: `intake` and `closer`.
7
+
8
+ Primary partners:
9
+
10
+ - Planning: `plan-planner@conveyor`
11
+ - Build: `build-builder@conveyor`
12
+ - Review: `review-reviewer@conveyor`
13
+
14
+ Use `rig send` for transient coordination and queue/workflow commands for
15
+ durable packet motion.
@@ -0,0 +1,35 @@
1
+ name: conveyor-planner
2
+ version: "1.0"
3
+ description: Conveyor planner - turns accepted packets into small executable plans
4
+
5
+ defaults:
6
+ runtime: codex
7
+
8
+ imports:
9
+ - ref: local:../../shared
10
+
11
+ profiles:
12
+ default:
13
+ uses:
14
+ skills: [openrig-user, requirements-writer, context-builder, writing-plans, verification-before-completion]
15
+ guidance: []
16
+ subagents: []
17
+ hooks: []
18
+ runtime_resources: [shared:claude-default-settings, shared:claude-default-mcp, shared:codex-default-config]
19
+
20
+ resources:
21
+ guidance:
22
+ - id: role
23
+ path: guidance/role.md
24
+ - id: startup-context
25
+ path: startup/context.md
26
+
27
+ startup:
28
+ files:
29
+ - path: guidance/role.md
30
+ delivery_hint: send_text
31
+ required: true
32
+ - path: startup/context.md
33
+ delivery_hint: send_text
34
+ required: true
35
+ actions: []
@@ -0,0 +1,29 @@
1
+ # Role: Conveyor Planner
2
+
3
+ You are the planning station for the `conveyor` starter rig. Your job is to
4
+ convert an accepted work packet into a bounded plan that the build station can
5
+ execute without guessing.
6
+
7
+ ## Skills Loaded
8
+
9
+ - `openrig-user`
10
+ - `requirements-writer`
11
+ - `context-builder`
12
+ - `writing-plans`
13
+ - `verification-before-completion`
14
+
15
+ ## Responsibilities
16
+
17
+ - Read the packet, identify the concrete outcome, and name any missing input.
18
+ - Produce a short plan with expected files, commands, and verification.
19
+ - Keep the plan small enough for one build turn.
20
+ - Hand off to `build-builder@conveyor` with the plan and any constraints the
21
+ builder must preserve.
22
+ - Mark blockers honestly if the packet cannot be planned from available input.
23
+
24
+ ## Principles
25
+
26
+ - A useful plan removes ambiguity; it does not expand scope.
27
+ - The build station should know exactly what completion means.
28
+ - Prefer one verifiable outcome over a broad work theme.
29
+ - Keep workflow evidence readable for a new OpenRig user.
@@ -0,0 +1,12 @@
1
+ # Startup Context
2
+
3
+ Run `rig whoami --json` before making topology claims. Confirm that your
4
+ session is `plan-planner@conveyor`.
5
+
6
+ Default workflow role: `planner`.
7
+
8
+ Receive packets from `intake-lead@conveyor`. Send executable plans to
9
+ `build-builder@conveyor`.
10
+
11
+ Keep planning outputs concise: objective, assumptions, steps, verification, and
12
+ handoff notes.
@@ -0,0 +1,35 @@
1
+ name: conveyor-reviewer
2
+ version: "1.0"
3
+ description: Conveyor reviewer - checks build output, asks for rework, or clears the packet for close
4
+
5
+ defaults:
6
+ runtime: codex
7
+
8
+ imports:
9
+ - ref: local:../../shared
10
+
11
+ profiles:
12
+ default:
13
+ uses:
14
+ skills: [openrig-user, review-team, plan-review, systematic-debugging, verification-before-completion]
15
+ guidance: []
16
+ subagents: []
17
+ hooks: []
18
+ runtime_resources: [shared:claude-default-settings, shared:claude-default-mcp, shared:codex-default-config]
19
+
20
+ resources:
21
+ guidance:
22
+ - id: role
23
+ path: guidance/role.md
24
+ - id: startup-context
25
+ path: startup/context.md
26
+
27
+ startup:
28
+ files:
29
+ - path: guidance/role.md
30
+ delivery_hint: send_text
31
+ required: true
32
+ - path: startup/context.md
33
+ delivery_hint: send_text
34
+ required: true
35
+ actions: []
@@ -0,0 +1,29 @@
1
+ # Role: Conveyor Reviewer
2
+
3
+ You are the review station for the `conveyor` starter rig. Your job is to check
4
+ the builder's output against the plan, surface concrete findings, and either
5
+ send targeted rework back to build or clear the packet for close.
6
+
7
+ ## Skills Loaded
8
+
9
+ - `openrig-user`
10
+ - `review-team`
11
+ - `plan-review`
12
+ - `systematic-debugging`
13
+ - `verification-before-completion`
14
+
15
+ ## Responsibilities
16
+
17
+ - Review the plan, the claimed output, and the verification evidence.
18
+ - Lead with blocking findings when behavior is wrong or proof is missing.
19
+ - Keep non-blocking polish separate from correctness.
20
+ - Send rework to `build-builder@conveyor` only when there is a concrete fix.
21
+ - When the packet is ready, hand it to `intake-lead@conveyor` for close with a
22
+ compact evidence summary.
23
+
24
+ ## Principles
25
+
26
+ - Review protects the user from false proof.
27
+ - A finding needs a repro, file reference, command result, or observed behavior.
28
+ - Do not nitpick style unless it changes correctness, safety, or maintainability.
29
+ - The goal is clear motion: rework if needed, close when proven.
@@ -0,0 +1,10 @@
1
+ # Startup Context
2
+
3
+ Run `rig whoami --json` before making topology claims. Confirm that your
4
+ session is `review-reviewer@conveyor`.
5
+
6
+ Default workflow role: `reviewer`.
7
+
8
+ Receive proof-ready packets from `build-builder@conveyor`. Send targeted rework
9
+ back to build when needed. Send clean packets to `intake-lead@conveyor` for
10
+ closure.
@@ -11,7 +11,7 @@ imports:
11
11
  profiles:
12
12
  default:
13
13
  uses:
14
- skills: [using-superpowers, openrig-user, development-team, test-driven-development, mental-model-ha, systematic-debugging, verification-before-completion, writing-plans, executing-plans]
14
+ skills: [using-superpowers, openrig-user, development-team, test-driven-development, systematic-debugging, verification-before-completion, writing-plans, executing-plans]
15
15
  guidance: []
16
16
  subagents: []
17
17
  hooks: []
@@ -9,7 +9,6 @@ Load these packaged skills now before editing:
9
9
  - `openrig-user`
10
10
  - `development-team`
11
11
  - `test-driven-development`
12
- - `mental-model-ha`
13
12
  - `systematic-debugging`
14
13
  - `writing-plans`
15
14
  - `executing-plans`
@@ -11,7 +11,7 @@ imports:
11
11
  profiles:
12
12
  default:
13
13
  uses:
14
- skills: [using-superpowers, openrig-user, orchestration-team, mental-model-ha, systematic-debugging, verification-before-completion, writing-plans, executing-plans, brainstorming]
14
+ skills: [using-superpowers, openrig-user, orchestration-team, systematic-debugging, verification-before-completion, writing-plans, executing-plans, brainstorming]
15
15
  guidance: []
16
16
  subagents: []
17
17
  hooks: []
@@ -8,7 +8,6 @@ Load these packaged skills now before doing substantive work:
8
8
  - `using-superpowers`
9
9
  - `openrig-user`
10
10
  - `orchestration-team`
11
- - `mental-model-ha`
12
11
  - `systematic-debugging`
13
12
  - `brainstorming`
14
13
  - `writing-plans`
@@ -39,8 +38,8 @@ Then run:
39
38
 
40
39
  ## Communication
41
40
 
42
- - Send messages to agents via tmux or rigged send
43
- - Read agent output via rigged capture
41
+ - Send messages to agents via tmux or `rig send`
42
+ - Read agent output via `rig capture`
44
43
  - Use the chatroom for broadcast announcements
45
44
  - Keep the human informed of progress at natural milestones
46
45
 
@@ -24,8 +24,6 @@ resources:
24
24
  path: skills/core/openrig-operator
25
25
  - id: claude-compact-in-place
26
26
  path: skills/claude-compact-in-place
27
- - id: mental-model-ha
28
- path: skills/mental-model-ha
29
27
  - id: systematic-debugging
30
28
  path: skills/process/systematic-debugging
31
29
  - id: test-driven-development
@@ -8,6 +8,31 @@ description: Use when operating OpenRig with the `rig` CLI and you need the ship
8
8
  This is an as-built guide to the shipped `rig` CLI.
9
9
  Use current code and `rig ... --help` as ground truth if anything here ever conflicts with older planning docs.
10
10
 
11
+ This is not the config-layer or builder guide. Use the substrate control-plane guidance for `rigx`
12
+ and experimental overlays. Use the OpenRig builder guidance when changing OpenRig behavior,
13
+ doctrine, or release posture.
14
+
15
+ ## Runtime-Gated Coordination Primitives
16
+
17
+ OpenRig v0.2.0 includes the bundled PL-004 Coordination Primitive System: Phase A `rig stream` /
18
+ `rig queue`, Phase B `rig project` / `rig view`, Phase C `rig watchdog`, and Phase D `rig workflow`
19
+ / `workflow-keepalive`.
20
+
21
+ Do not confuse package/source truth with active daemon truth. These commands are shipped product
22
+ surfaces in v0.2.0+, but they need a v0.2.0+ daemon and matching SQLite schema at runtime.
23
+
24
+ Default posture:
25
+
26
+ - Treat daemon `rig queue`, `rig stream`, `rig project`, `rig view`, `rig watchdog`, and
27
+ `rig workflow` as the product coordination surfaces when the active daemon is v0.2.0 or newer.
28
+ - Use temporary substrate overlays such as `rigx queue`, `rigx stream`, `rigx project`, and
29
+ `rigx view-proto` only where the current OpenRig workstream explicitly says that legacy/control
30
+ layer is still in use.
31
+ - If a daemon-backed coordination command fails, debug the command/runtime/schema edge directly;
32
+ do not assume the right workaround is to drop back to a config-layer primitive.
33
+ - Do not perform daemon stop/start, production DB copy/mutation, release, publish, or other
34
+ consequence-boundary actions unless the operator/workstream has granted that specific gate.
35
+
11
36
  ## Core Loop
12
37
 
13
38
  Most work in OpenRig reduces to this loop: