@openrig/cli 0.3.0 → 0.3.2

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 (482) hide show
  1. package/daemon/assets/plugins/openrig-core/.claude-plugin/plugin.json +15 -0
  2. package/daemon/assets/plugins/openrig-core/.codex-plugin/plugin.json +24 -0
  3. package/daemon/assets/plugins/openrig-core/LICENSE +200 -0
  4. package/daemon/assets/plugins/openrig-core/README.md +42 -0
  5. package/daemon/assets/plugins/openrig-core/hooks/claude.json +78 -0
  6. package/daemon/assets/plugins/openrig-core/hooks/codex.json +37 -0
  7. package/daemon/assets/{openrig-activity-hook-relay.cjs → plugins/openrig-core/hooks/scripts/activity-relay.cjs} +12 -0
  8. package/daemon/assets/plugins/openrig-core/hooks/scripts/compaction-restore-bridge.cjs +172 -0
  9. package/daemon/assets/plugins/openrig-core/skills/agent-startup-and-context-ingestion/SKILL.md +104 -0
  10. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/SKILL.md +131 -0
  11. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/precompact-hook.mjs +174 -0
  12. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/scripts/restore-from-jsonl.mjs +433 -0
  13. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/templates/compact-instruction.md +1 -0
  14. package/daemon/assets/plugins/openrig-core/skills/claude-compaction-restore/templates/post-compact-restore-instruction.md +1 -0
  15. package/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.md +305 -0
  16. package/daemon/{specs/agents/shared/skills/rig-architect → assets/plugins/openrig-core/skills/openrig-architect}/SKILL.md +38 -19
  17. package/daemon/assets/plugins/openrig-core/skills/openrig-operator/SKILL.md +222 -0
  18. package/daemon/assets/plugins/openrig-core/skills/openrig-user/SKILL.md +597 -0
  19. package/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.md +122 -0
  20. package/daemon/assets/plugins/openrig-core/skills/seat-continuity-and-handover/SKILL.md +137 -0
  21. package/daemon/assets/vm-preview-fixtures/README.md +48 -0
  22. package/daemon/assets/vm-preview-fixtures/workflows/sample-basic-loop.yaml +79 -0
  23. package/daemon/dist/adapters/claude-code-adapter.d.ts +1 -3
  24. package/daemon/dist/adapters/claude-code-adapter.d.ts.map +1 -1
  25. package/daemon/dist/adapters/claude-code-adapter.js +17 -57
  26. package/daemon/dist/adapters/claude-code-adapter.js.map +1 -1
  27. package/daemon/dist/adapters/cmux-transport.d.ts.map +1 -1
  28. package/daemon/dist/adapters/cmux-transport.js +81 -2
  29. package/daemon/dist/adapters/cmux-transport.js.map +1 -1
  30. package/daemon/dist/adapters/cmux.d.ts +4 -0
  31. package/daemon/dist/adapters/cmux.d.ts.map +1 -1
  32. package/daemon/dist/adapters/cmux.js +87 -0
  33. package/daemon/dist/adapters/cmux.js.map +1 -1
  34. package/daemon/dist/adapters/codex-runtime-adapter.d.ts +14 -3
  35. package/daemon/dist/adapters/codex-runtime-adapter.d.ts.map +1 -1
  36. package/daemon/dist/adapters/codex-runtime-adapter.js +45 -58
  37. package/daemon/dist/adapters/codex-runtime-adapter.js.map +1 -1
  38. package/daemon/dist/adapters/tmux.d.ts +36 -0
  39. package/daemon/dist/adapters/tmux.d.ts.map +1 -1
  40. package/daemon/dist/adapters/tmux.js +66 -0
  41. package/daemon/dist/adapters/tmux.js.map +1 -1
  42. package/daemon/dist/db/migrations/037_mission_control_actions.d.ts +5 -1
  43. package/daemon/dist/db/migrations/037_mission_control_actions.d.ts.map +1 -1
  44. package/daemon/dist/db/migrations/037_mission_control_actions.js +5 -1
  45. package/daemon/dist/db/migrations/037_mission_control_actions.js.map +1 -1
  46. package/daemon/dist/db/migrations/040_workflow_specs_diagnostic.d.ts +32 -0
  47. package/daemon/dist/db/migrations/040_workflow_specs_diagnostic.d.ts.map +1 -0
  48. package/daemon/dist/db/migrations/040_workflow_specs_diagnostic.js +37 -0
  49. package/daemon/dist/db/migrations/040_workflow_specs_diagnostic.js.map +1 -0
  50. package/daemon/dist/db/migrations/041_rig_policy.d.ts +32 -0
  51. package/daemon/dist/db/migrations/041_rig_policy.d.ts.map +1 -0
  52. package/daemon/dist/db/migrations/041_rig_policy.js +47 -0
  53. package/daemon/dist/db/migrations/041_rig_policy.js.map +1 -0
  54. package/daemon/dist/domain/agent-images/resume-token-discovery.js +1 -1
  55. package/daemon/dist/domain/agent-images/resume-token-discovery.js.map +1 -1
  56. package/daemon/dist/domain/agent-images/snapshot-capturer.d.ts.map +1 -1
  57. package/daemon/dist/domain/agent-images/snapshot-capturer.js +2 -1
  58. package/daemon/dist/domain/agent-images/snapshot-capturer.js.map +1 -1
  59. package/daemon/dist/domain/agent-manifest.d.ts.map +1 -1
  60. package/daemon/dist/domain/agent-manifest.js +143 -37
  61. package/daemon/dist/domain/agent-manifest.js.map +1 -1
  62. package/daemon/dist/domain/agent-resolver.js +1 -1
  63. package/daemon/dist/domain/agent-resolver.js.map +1 -1
  64. package/daemon/dist/domain/bootstrap-orchestrator.d.ts.map +1 -1
  65. package/daemon/dist/domain/bootstrap-orchestrator.js +86 -6
  66. package/daemon/dist/domain/bootstrap-orchestrator.js.map +1 -1
  67. package/daemon/dist/domain/bundle-agent-images-router.d.ts +95 -0
  68. package/daemon/dist/domain/bundle-agent-images-router.d.ts.map +1 -0
  69. package/daemon/dist/domain/bundle-agent-images-router.js +140 -0
  70. package/daemon/dist/domain/bundle-agent-images-router.js.map +1 -0
  71. package/daemon/dist/domain/bundle-assembler.d.ts +18 -1
  72. package/daemon/dist/domain/bundle-assembler.d.ts.map +1 -1
  73. package/daemon/dist/domain/bundle-assembler.js +11 -1
  74. package/daemon/dist/domain/bundle-assembler.js.map +1 -1
  75. package/daemon/dist/domain/bundle-audit.d.ts +89 -0
  76. package/daemon/dist/domain/bundle-audit.d.ts.map +1 -0
  77. package/daemon/dist/domain/bundle-audit.js +87 -0
  78. package/daemon/dist/domain/bundle-audit.js.map +1 -0
  79. package/daemon/dist/domain/bundle-conflict-detector.d.ts +57 -0
  80. package/daemon/dist/domain/bundle-conflict-detector.d.ts.map +1 -0
  81. package/daemon/dist/domain/bundle-conflict-detector.js +49 -0
  82. package/daemon/dist/domain/bundle-conflict-detector.js.map +1 -0
  83. package/daemon/dist/domain/bundle-context-packs-router.d.ts +100 -0
  84. package/daemon/dist/domain/bundle-context-packs-router.d.ts.map +1 -0
  85. package/daemon/dist/domain/bundle-context-packs-router.js +158 -0
  86. package/daemon/dist/domain/bundle-context-packs-router.js.map +1 -0
  87. package/daemon/dist/domain/bundle-plugins-router.d.ts +69 -0
  88. package/daemon/dist/domain/bundle-plugins-router.d.ts.map +1 -0
  89. package/daemon/dist/domain/bundle-plugins-router.js +87 -0
  90. package/daemon/dist/domain/bundle-plugins-router.js.map +1 -0
  91. package/daemon/dist/domain/bundle-skills-router.d.ts +62 -0
  92. package/daemon/dist/domain/bundle-skills-router.d.ts.map +1 -0
  93. package/daemon/dist/domain/bundle-skills-router.js +90 -0
  94. package/daemon/dist/domain/bundle-skills-router.js.map +1 -0
  95. package/daemon/dist/domain/bundle-types.d.ts +106 -0
  96. package/daemon/dist/domain/bundle-types.d.ts.map +1 -1
  97. package/daemon/dist/domain/bundle-types.js +375 -0
  98. package/daemon/dist/domain/bundle-types.js.map +1 -1
  99. package/daemon/dist/domain/bundle-workflow-specs-router.d.ts +94 -0
  100. package/daemon/dist/domain/bundle-workflow-specs-router.d.ts.map +1 -0
  101. package/daemon/dist/domain/bundle-workflow-specs-router.js +144 -0
  102. package/daemon/dist/domain/bundle-workflow-specs-router.js.map +1 -0
  103. package/daemon/dist/domain/claude-compaction-enforcer.d.ts +81 -0
  104. package/daemon/dist/domain/claude-compaction-enforcer.d.ts.map +1 -0
  105. package/daemon/dist/domain/claude-compaction-enforcer.js +242 -0
  106. package/daemon/dist/domain/claude-compaction-enforcer.js.map +1 -0
  107. package/daemon/dist/domain/cmux-layout-service.d.ts +41 -0
  108. package/daemon/dist/domain/cmux-layout-service.d.ts.map +1 -0
  109. package/daemon/dist/domain/cmux-layout-service.js +184 -0
  110. package/daemon/dist/domain/cmux-layout-service.js.map +1 -0
  111. package/daemon/dist/domain/context-monitor.d.ts +19 -1
  112. package/daemon/dist/domain/context-monitor.d.ts.map +1 -1
  113. package/daemon/dist/domain/context-monitor.js +62 -14
  114. package/daemon/dist/domain/context-monitor.js.map +1 -1
  115. package/daemon/dist/domain/graph-projection.d.ts +6 -0
  116. package/daemon/dist/domain/graph-projection.d.ts.map +1 -1
  117. package/daemon/dist/domain/graph-projection.js +6 -0
  118. package/daemon/dist/domain/graph-projection.js.map +1 -1
  119. package/daemon/dist/domain/kernel-boot-tracker.d.ts +74 -0
  120. package/daemon/dist/domain/kernel-boot-tracker.d.ts.map +1 -0
  121. package/daemon/dist/domain/kernel-boot-tracker.js +213 -0
  122. package/daemon/dist/domain/kernel-boot-tracker.js.map +1 -0
  123. package/daemon/dist/domain/kernel-boot.d.ts +50 -0
  124. package/daemon/dist/domain/kernel-boot.d.ts.map +1 -0
  125. package/daemon/dist/domain/kernel-boot.js +147 -0
  126. package/daemon/dist/domain/kernel-boot.js.map +1 -0
  127. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts +5 -0
  128. package/daemon/dist/domain/mission-control/mission-control-read-layer.d.ts.map +1 -1
  129. package/daemon/dist/domain/mission-control/mission-control-read-layer.js +16 -2
  130. package/daemon/dist/domain/mission-control/mission-control-read-layer.js.map +1 -1
  131. package/daemon/dist/domain/mission-control/mission-control-write-contract.d.ts.map +1 -1
  132. package/daemon/dist/domain/mission-control/mission-control-write-contract.js +3 -1
  133. package/daemon/dist/domain/mission-control/mission-control-write-contract.js.map +1 -1
  134. package/daemon/dist/domain/native-resume-probe.js +7 -7
  135. package/daemon/dist/domain/native-resume-probe.js.map +1 -1
  136. package/daemon/dist/domain/node-inventory.d.ts +18 -0
  137. package/daemon/dist/domain/node-inventory.d.ts.map +1 -1
  138. package/daemon/dist/domain/node-inventory.js +98 -0
  139. package/daemon/dist/domain/node-inventory.js.map +1 -1
  140. package/daemon/dist/domain/node-launcher.d.ts +12 -0
  141. package/daemon/dist/domain/node-launcher.d.ts.map +1 -1
  142. package/daemon/dist/domain/node-launcher.js +25 -1
  143. package/daemon/dist/domain/node-launcher.js.map +1 -1
  144. package/daemon/dist/domain/plugin-discovery-service.d.ts +150 -0
  145. package/daemon/dist/domain/plugin-discovery-service.d.ts.map +1 -0
  146. package/daemon/dist/domain/plugin-discovery-service.js +468 -0
  147. package/daemon/dist/domain/plugin-discovery-service.js.map +1 -0
  148. package/daemon/dist/domain/plugin-vendor-service.d.ts +54 -0
  149. package/daemon/dist/domain/plugin-vendor-service.d.ts.map +1 -0
  150. package/daemon/dist/domain/plugin-vendor-service.js +111 -0
  151. package/daemon/dist/domain/plugin-vendor-service.js.map +1 -0
  152. package/daemon/dist/domain/pod-bundle-assembler.d.ts +16 -1
  153. package/daemon/dist/domain/pod-bundle-assembler.d.ts.map +1 -1
  154. package/daemon/dist/domain/pod-bundle-assembler.js +11 -1
  155. package/daemon/dist/domain/pod-bundle-assembler.js.map +1 -1
  156. package/daemon/dist/domain/profile-resolver.d.ts +13 -3
  157. package/daemon/dist/domain/profile-resolver.d.ts.map +1 -1
  158. package/daemon/dist/domain/profile-resolver.js +11 -7
  159. package/daemon/dist/domain/profile-resolver.js.map +1 -1
  160. package/daemon/dist/domain/projection-planner.d.ts +7 -1
  161. package/daemon/dist/domain/projection-planner.d.ts.map +1 -1
  162. package/daemon/dist/domain/projection-planner.js +44 -4
  163. package/daemon/dist/domain/projection-planner.js.map +1 -1
  164. package/daemon/dist/domain/ps-projection.d.ts +22 -0
  165. package/daemon/dist/domain/ps-projection.d.ts.map +1 -1
  166. package/daemon/dist/domain/ps-projection.js +57 -0
  167. package/daemon/dist/domain/ps-projection.js.map +1 -1
  168. package/daemon/dist/domain/queue-repository.d.ts +44 -1
  169. package/daemon/dist/domain/queue-repository.d.ts.map +1 -1
  170. package/daemon/dist/domain/queue-repository.js +112 -6
  171. package/daemon/dist/domain/queue-repository.js.map +1 -1
  172. package/daemon/dist/domain/restore-check-service.d.ts +4 -0
  173. package/daemon/dist/domain/restore-check-service.d.ts.map +1 -1
  174. package/daemon/dist/domain/restore-check-service.js +16 -7
  175. package/daemon/dist/domain/restore-check-service.js.map +1 -1
  176. package/daemon/dist/domain/rig-policy/rig-policy-defaults.d.ts +48 -0
  177. package/daemon/dist/domain/rig-policy/rig-policy-defaults.d.ts.map +1 -0
  178. package/daemon/dist/domain/rig-policy/rig-policy-defaults.js +96 -0
  179. package/daemon/dist/domain/rig-policy/rig-policy-defaults.js.map +1 -0
  180. package/daemon/dist/domain/rig-policy/rig-policy-store.d.ts +46 -0
  181. package/daemon/dist/domain/rig-policy/rig-policy-store.d.ts.map +1 -0
  182. package/daemon/dist/domain/rig-policy/rig-policy-store.js +171 -0
  183. package/daemon/dist/domain/rig-policy/rig-policy-store.js.map +1 -0
  184. package/daemon/dist/domain/rig-policy/rig-policy-types.d.ts +145 -0
  185. package/daemon/dist/domain/rig-policy/rig-policy-types.d.ts.map +1 -0
  186. package/daemon/dist/domain/rig-policy/rig-policy-types.js +52 -0
  187. package/daemon/dist/domain/rig-policy/rig-policy-types.js.map +1 -0
  188. package/daemon/dist/domain/rig-policy/rig-policy-validator.d.ts +58 -0
  189. package/daemon/dist/domain/rig-policy/rig-policy-validator.d.ts.map +1 -0
  190. package/daemon/dist/domain/rig-policy/rig-policy-validator.js +211 -0
  191. package/daemon/dist/domain/rig-policy/rig-policy-validator.js.map +1 -0
  192. package/daemon/dist/domain/rigspec-instantiator.d.ts +1 -1
  193. package/daemon/dist/domain/rigspec-instantiator.d.ts.map +1 -1
  194. package/daemon/dist/domain/rigspec-instantiator.js +109 -18
  195. package/daemon/dist/domain/rigspec-instantiator.js.map +1 -1
  196. package/daemon/dist/domain/seat-activity-service.d.ts +79 -0
  197. package/daemon/dist/domain/seat-activity-service.d.ts.map +1 -0
  198. package/daemon/dist/domain/seat-activity-service.js +123 -0
  199. package/daemon/dist/domain/seat-activity-service.js.map +1 -0
  200. package/daemon/dist/domain/session-transport.d.ts.map +1 -1
  201. package/daemon/dist/domain/session-transport.js +33 -0
  202. package/daemon/dist/domain/session-transport.js.map +1 -1
  203. package/daemon/dist/domain/skill-library-discovery.d.ts +68 -0
  204. package/daemon/dist/domain/skill-library-discovery.d.ts.map +1 -0
  205. package/daemon/dist/domain/skill-library-discovery.js +144 -0
  206. package/daemon/dist/domain/skill-library-discovery.js.map +1 -0
  207. package/daemon/dist/domain/slices/slice-indexer.d.ts +31 -0
  208. package/daemon/dist/domain/slices/slice-indexer.d.ts.map +1 -1
  209. package/daemon/dist/domain/slices/slice-indexer.js +111 -6
  210. package/daemon/dist/domain/slices/slice-indexer.js.map +1 -1
  211. package/daemon/dist/domain/spec-library-service.d.ts +6 -0
  212. package/daemon/dist/domain/spec-library-service.d.ts.map +1 -1
  213. package/daemon/dist/domain/spec-library-service.js +19 -0
  214. package/daemon/dist/domain/spec-library-service.js.map +1 -1
  215. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts +43 -0
  216. package/daemon/dist/domain/spec-library-workflow-scanner.d.ts.map +1 -1
  217. package/daemon/dist/domain/spec-library-workflow-scanner.js +157 -3
  218. package/daemon/dist/domain/spec-library-workflow-scanner.js.map +1 -1
  219. package/daemon/dist/domain/spec-review-service.d.ts +1 -1
  220. package/daemon/dist/domain/spec-review-service.d.ts.map +1 -1
  221. package/daemon/dist/domain/spec-review-service.js +14 -1
  222. package/daemon/dist/domain/spec-review-service.js.map +1 -1
  223. package/daemon/dist/domain/types.d.ts +106 -10
  224. package/daemon/dist/domain/types.d.ts.map +1 -1
  225. package/daemon/dist/domain/types.js.map +1 -1
  226. package/daemon/dist/domain/user-settings/settings-store.d.ts +25 -1
  227. package/daemon/dist/domain/user-settings/settings-store.d.ts.map +1 -1
  228. package/daemon/dist/domain/user-settings/settings-store.js +186 -4
  229. package/daemon/dist/domain/user-settings/settings-store.js.map +1 -1
  230. package/daemon/dist/domain/workflow-spec-cache.d.ts +49 -0
  231. package/daemon/dist/domain/workflow-spec-cache.d.ts.map +1 -1
  232. package/daemon/dist/domain/workflow-spec-cache.js +96 -0
  233. package/daemon/dist/domain/workflow-spec-cache.js.map +1 -1
  234. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts +7 -0
  235. package/daemon/dist/domain/workspace/default-workspace-scaffold.d.ts.map +1 -1
  236. package/daemon/dist/domain/workspace/default-workspace-scaffold.js +201 -3
  237. package/daemon/dist/domain/workspace/default-workspace-scaffold.js.map +1 -1
  238. package/daemon/dist/domain/workspace/getting-started-narrative.d.ts +15 -0
  239. package/daemon/dist/domain/workspace/getting-started-narrative.d.ts.map +1 -0
  240. package/daemon/dist/domain/workspace/getting-started-narrative.js +237 -0
  241. package/daemon/dist/domain/workspace/getting-started-narrative.js.map +1 -0
  242. package/daemon/dist/domain/workspace/workspace-doctor.d.ts +197 -0
  243. package/daemon/dist/domain/workspace/workspace-doctor.d.ts.map +1 -0
  244. package/daemon/dist/domain/workspace/workspace-doctor.js +448 -0
  245. package/daemon/dist/domain/workspace/workspace-doctor.js.map +1 -0
  246. package/daemon/dist/index.d.ts +2 -1
  247. package/daemon/dist/index.d.ts.map +1 -1
  248. package/daemon/dist/index.js +63 -17
  249. package/daemon/dist/index.js.map +1 -1
  250. package/daemon/dist/lib/pane-envelope.d.ts +7 -0
  251. package/daemon/dist/lib/pane-envelope.d.ts.map +1 -0
  252. package/daemon/dist/lib/pane-envelope.js +38 -0
  253. package/daemon/dist/lib/pane-envelope.js.map +1 -0
  254. package/daemon/dist/middleware/auth-bearer-token.d.ts +47 -5
  255. package/daemon/dist/middleware/auth-bearer-token.d.ts.map +1 -1
  256. package/daemon/dist/middleware/auth-bearer-token.js +109 -8
  257. package/daemon/dist/middleware/auth-bearer-token.js.map +1 -1
  258. package/daemon/dist/routes/bundles.d.ts.map +1 -1
  259. package/daemon/dist/routes/bundles.js +966 -7
  260. package/daemon/dist/routes/bundles.js.map +1 -1
  261. package/daemon/dist/routes/config.d.ts.map +1 -1
  262. package/daemon/dist/routes/config.js +19 -2
  263. package/daemon/dist/routes/config.js.map +1 -1
  264. package/daemon/dist/routes/info.d.ts +3 -0
  265. package/daemon/dist/routes/info.d.ts.map +1 -0
  266. package/daemon/dist/routes/info.js +20 -0
  267. package/daemon/dist/routes/info.js.map +1 -0
  268. package/daemon/dist/routes/kernel-status.d.ts +3 -0
  269. package/daemon/dist/routes/kernel-status.d.ts.map +1 -0
  270. package/daemon/dist/routes/kernel-status.js +40 -0
  271. package/daemon/dist/routes/kernel-status.js.map +1 -0
  272. package/daemon/dist/routes/mission-control.d.ts.map +1 -1
  273. package/daemon/dist/routes/mission-control.js +25 -2
  274. package/daemon/dist/routes/mission-control.js.map +1 -1
  275. package/daemon/dist/routes/missions.d.ts +3 -0
  276. package/daemon/dist/routes/missions.d.ts.map +1 -0
  277. package/daemon/dist/routes/missions.js +195 -0
  278. package/daemon/dist/routes/missions.js.map +1 -0
  279. package/daemon/dist/routes/plugins.d.ts +3 -0
  280. package/daemon/dist/routes/plugins.d.ts.map +1 -0
  281. package/daemon/dist/routes/plugins.js +223 -0
  282. package/daemon/dist/routes/plugins.js.map +1 -0
  283. package/daemon/dist/routes/queue.d.ts +18 -0
  284. package/daemon/dist/routes/queue.d.ts.map +1 -1
  285. package/daemon/dist/routes/queue.js +97 -5
  286. package/daemon/dist/routes/queue.js.map +1 -1
  287. package/daemon/dist/routes/rig-cmux.d.ts +3 -0
  288. package/daemon/dist/routes/rig-cmux.d.ts.map +1 -0
  289. package/daemon/dist/routes/rig-cmux.js +121 -0
  290. package/daemon/dist/routes/rig-cmux.js.map +1 -0
  291. package/daemon/dist/routes/rig-policy.d.ts +9 -0
  292. package/daemon/dist/routes/rig-policy.d.ts.map +1 -0
  293. package/daemon/dist/routes/rig-policy.js +174 -0
  294. package/daemon/dist/routes/rig-policy.js.map +1 -0
  295. package/daemon/dist/routes/rigs.d.ts.map +1 -1
  296. package/daemon/dist/routes/rigs.js +10 -2
  297. package/daemon/dist/routes/rigs.js.map +1 -1
  298. package/daemon/dist/routes/sessions.d.ts.map +1 -1
  299. package/daemon/dist/routes/sessions.js +26 -3
  300. package/daemon/dist/routes/sessions.js.map +1 -1
  301. package/daemon/dist/routes/skills.d.ts +3 -0
  302. package/daemon/dist/routes/skills.d.ts.map +1 -0
  303. package/daemon/dist/routes/skills.js +147 -0
  304. package/daemon/dist/routes/skills.js.map +1 -0
  305. package/daemon/dist/routes/slices.d.ts.map +1 -1
  306. package/daemon/dist/routes/slices.js +15 -0
  307. package/daemon/dist/routes/slices.js.map +1 -1
  308. package/daemon/dist/routes/spec-library.d.ts.map +1 -1
  309. package/daemon/dist/routes/spec-library.js +16 -1
  310. package/daemon/dist/routes/spec-library.js.map +1 -1
  311. package/daemon/dist/routes/up.d.ts +25 -0
  312. package/daemon/dist/routes/up.d.ts.map +1 -1
  313. package/daemon/dist/routes/up.js +70 -3
  314. package/daemon/dist/routes/up.js.map +1 -1
  315. package/daemon/dist/routes/workspace.d.ts.map +1 -1
  316. package/daemon/dist/routes/workspace.js +80 -1
  317. package/daemon/dist/routes/workspace.js.map +1 -1
  318. package/daemon/dist/server.d.ts +41 -0
  319. package/daemon/dist/server.d.ts.map +1 -1
  320. package/daemon/dist/server.js +41 -0
  321. package/daemon/dist/server.js.map +1 -1
  322. package/daemon/dist/startup.d.ts.map +1 -1
  323. package/daemon/dist/startup.js +236 -6
  324. package/daemon/dist/startup.js.map +1 -1
  325. package/daemon/specs/agents/apps/vault-specialist/agent.yaml +0 -1
  326. package/daemon/specs/agents/conveyor/builder/agent.yaml +0 -1
  327. package/daemon/specs/agents/conveyor/lead/agent.yaml +0 -1
  328. package/daemon/specs/agents/conveyor/planner/agent.yaml +0 -1
  329. package/daemon/specs/agents/conveyor/reviewer/agent.yaml +0 -1
  330. package/daemon/specs/agents/design/product-designer/agent.yaml +0 -1
  331. package/daemon/specs/agents/development/implementer/agent.yaml +0 -1
  332. package/daemon/specs/agents/development/qa/agent.yaml +0 -1
  333. package/daemon/specs/agents/development/qa/guidance/role.md +0 -2
  334. package/daemon/specs/agents/orchestration/orchestrator/agent.yaml +0 -1
  335. package/daemon/specs/agents/orchestration/orchestrator/guidance/role.md +28 -4
  336. package/daemon/specs/agents/research/analyst/agent.yaml +0 -1
  337. package/daemon/specs/agents/research/synthesizer/agent.yaml +0 -1
  338. package/daemon/specs/agents/review/independent-reviewer/agent.yaml +0 -1
  339. package/daemon/specs/agents/shared/agent.yaml +6 -6
  340. package/daemon/specs/agents/shared/skills/core/openrig-architect/SKILL.md +361 -0
  341. package/daemon/specs/agents/shared/skills/core/openrig-installer/SKILL.md +142 -0
  342. package/daemon/specs/agents/shared/skills/core/openrig-user/SKILL.md +288 -6
  343. package/daemon/specs/agents/shared/skills/core/openrig-user-settings/SKILL.md +4 -4
  344. package/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md +116 -0
  345. package/daemon/specs/agents/shared/skills/pods/development-team/SKILL.md +0 -1
  346. package/daemon/specs/agents/shared/skills/pods/orchestration-team/SKILL.md +2 -2
  347. package/daemon/specs/agents/shared/skills/process/agent-browser/LOCAL-INSIGHTS.md +6 -6
  348. package/daemon/specs/agents/shared/skills/process/agent-browser/OPENRIG.md +40 -0
  349. package/daemon/specs/agents/shared/skills/process/agent-browser/SKILL.md +10 -0
  350. package/daemon/specs/agents/shared/skills/process/brainstorming/OPENRIG.md +48 -0
  351. package/daemon/specs/agents/shared/skills/process/brainstorming/SKILL.md +11 -0
  352. package/daemon/specs/agents/shared/skills/process/dogfood/SKILL.md +5 -0
  353. package/daemon/specs/agents/shared/skills/process/executing-plans/OPENRIG.md +56 -0
  354. package/daemon/specs/agents/shared/skills/process/executing-plans/SKILL.md +10 -0
  355. package/daemon/specs/agents/shared/skills/process/frontend-design/SKILL.md +5 -0
  356. package/daemon/specs/agents/shared/skills/process/systematic-debugging/SKILL.md +5 -0
  357. package/daemon/specs/agents/shared/skills/process/test-driven-development/SKILL.md +5 -0
  358. package/daemon/specs/agents/shared/skills/process/using-superpowers/OPENRIG.md +48 -0
  359. package/daemon/specs/agents/shared/skills/process/using-superpowers/SKILL.md +11 -0
  360. package/daemon/specs/agents/shared/skills/process/verification-before-completion/SKILL.md +5 -0
  361. package/daemon/specs/agents/shared/skills/process/writing-plans/OPENRIG.md +52 -0
  362. package/daemon/specs/agents/shared/skills/process/writing-plans/SKILL.md +12 -2
  363. package/daemon/specs/rigs/launch/conveyor/rig.yaml +1 -1
  364. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/agent.yaml +35 -0
  365. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/guidance/role.md +50 -0
  366. package/daemon/specs/rigs/launch/kernel/agents/advisor/lead/startup/context.md +37 -0
  367. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/agent.yaml +35 -0
  368. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/guidance/role.md +49 -0
  369. package/daemon/specs/rigs/launch/kernel/agents/operator/agent/startup/context.md +63 -0
  370. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/agent.yaml +35 -0
  371. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/guidance/role.md +33 -0
  372. package/daemon/specs/rigs/launch/kernel/agents/queue/worker/startup/context.md +30 -0
  373. package/daemon/specs/rigs/launch/kernel/culture/CULTURE.md +69 -0
  374. package/daemon/specs/rigs/launch/kernel/rig-claude-only.yaml +59 -0
  375. package/daemon/specs/rigs/launch/kernel/rig-codex-only.yaml +59 -0
  376. package/daemon/specs/rigs/launch/kernel/rig.yaml +69 -0
  377. package/dist/client.d.ts +3 -0
  378. package/dist/client.d.ts.map +1 -1
  379. package/dist/client.js +13 -1
  380. package/dist/client.js.map +1 -1
  381. package/dist/commands/bundle.d.ts.map +1 -1
  382. package/dist/commands/bundle.js +123 -2
  383. package/dist/commands/bundle.js.map +1 -1
  384. package/dist/commands/config-init-workspace.d.ts.map +1 -1
  385. package/dist/commands/config-init-workspace.js +293 -5
  386. package/dist/commands/config-init-workspace.js.map +1 -1
  387. package/dist/commands/config.d.ts.map +1 -1
  388. package/dist/commands/config.js +11 -3
  389. package/dist/commands/config.js.map +1 -1
  390. package/dist/commands/daemon.d.ts.map +1 -1
  391. package/dist/commands/daemon.js +53 -1
  392. package/dist/commands/daemon.js.map +1 -1
  393. package/dist/commands/heartbeat.d.ts.map +1 -1
  394. package/dist/commands/heartbeat.js +0 -5
  395. package/dist/commands/heartbeat.js.map +1 -1
  396. package/dist/commands/plugin.d.ts +4 -0
  397. package/dist/commands/plugin.d.ts.map +1 -0
  398. package/dist/commands/plugin.js +395 -0
  399. package/dist/commands/plugin.js.map +1 -0
  400. package/dist/commands/ps.d.ts.map +1 -1
  401. package/dist/commands/ps.js +51 -8
  402. package/dist/commands/ps.js.map +1 -1
  403. package/dist/commands/queue.d.ts +6 -0
  404. package/dist/commands/queue.d.ts.map +1 -1
  405. package/dist/commands/queue.js +103 -5
  406. package/dist/commands/queue.js.map +1 -1
  407. package/dist/commands/rig-policy.d.ts +48 -0
  408. package/dist/commands/rig-policy.d.ts.map +1 -0
  409. package/dist/commands/rig-policy.js +429 -0
  410. package/dist/commands/rig-policy.js.map +1 -0
  411. package/dist/commands/scope.d.ts +6 -0
  412. package/dist/commands/scope.d.ts.map +1 -0
  413. package/dist/commands/scope.js +659 -0
  414. package/dist/commands/scope.js.map +1 -0
  415. package/dist/commands/send.d.ts +8 -0
  416. package/dist/commands/send.d.ts.map +1 -1
  417. package/dist/commands/send.js +8 -0
  418. package/dist/commands/send.js.map +1 -1
  419. package/dist/commands/up.d.ts.map +1 -1
  420. package/dist/commands/up.js +60 -1
  421. package/dist/commands/up.js.map +1 -1
  422. package/dist/commands/workflow.d.ts +9 -0
  423. package/dist/commands/workflow.d.ts.map +1 -1
  424. package/dist/commands/workflow.js +139 -1
  425. package/dist/commands/workflow.js.map +1 -1
  426. package/dist/commands/workspace.d.ts +20 -0
  427. package/dist/commands/workspace.d.ts.map +1 -1
  428. package/dist/commands/workspace.js +138 -7
  429. package/dist/commands/workspace.js.map +1 -1
  430. package/dist/config-store.d.ts +18 -1
  431. package/dist/config-store.d.ts.map +1 -1
  432. package/dist/config-store.js +167 -4
  433. package/dist/config-store.js.map +1 -1
  434. package/dist/daemon-lifecycle.d.ts +45 -2
  435. package/dist/daemon-lifecycle.d.ts.map +1 -1
  436. package/dist/daemon-lifecycle.js +90 -9
  437. package/dist/daemon-lifecycle.js.map +1 -1
  438. package/dist/host-registry.d.ts +1 -1
  439. package/dist/host-registry.js +1 -1
  440. package/dist/index.d.ts +3 -0
  441. package/dist/index.d.ts.map +1 -1
  442. package/dist/index.js +7 -0
  443. package/dist/index.js.map +1 -1
  444. package/dist/lib/scope/dot-id.d.ts +43 -0
  445. package/dist/lib/scope/dot-id.d.ts.map +1 -0
  446. package/dist/lib/scope/dot-id.js +165 -0
  447. package/dist/lib/scope/dot-id.js.map +1 -0
  448. package/dist/lib/scope/scope-fs.d.ts +79 -0
  449. package/dist/lib/scope/scope-fs.d.ts.map +1 -0
  450. package/dist/lib/scope/scope-fs.js +468 -0
  451. package/dist/lib/scope/scope-fs.js.map +1 -0
  452. package/dist/lib/scope/templates.d.ts +38 -0
  453. package/dist/lib/scope/templates.d.ts.map +1 -0
  454. package/dist/lib/scope/templates.js +109 -0
  455. package/dist/lib/scope/templates.js.map +1 -0
  456. package/dist/lib/scope/types.d.ts +61 -0
  457. package/dist/lib/scope/types.d.ts.map +1 -0
  458. package/dist/lib/scope/types.js +38 -0
  459. package/dist/lib/scope/types.js.map +1 -0
  460. package/dist/lib/scope-templates/backlog-deprecation.md +26 -0
  461. package/dist/lib/scope-templates/backlog-tech-debt.md +22 -0
  462. package/dist/lib/scope-templates/bug-fix.md +30 -0
  463. package/dist/lib/scope-templates/mission-notes.md +97 -0
  464. package/dist/lib/scope-templates/mission-placeholder.md +20 -0
  465. package/dist/lib/scope-templates/mission-release.md +25 -0
  466. package/dist/lib/scope-templates/placeholder.md +30 -0
  467. package/dist/lib/scope-templates/release-feature.md +26 -0
  468. package/dist/lib/scope-templates/research.md +22 -0
  469. package/package.json +2 -2
  470. package/ui/dist/assets/index-C_Q5FczU.css +1 -0
  471. package/ui/dist/assets/index-GjTxfi9S.js +547 -0
  472. package/ui/dist/index.html +2 -2
  473. package/daemon/specs/agents/shared/skills/claude-compact-in-place/SKILL.md +0 -100
  474. package/daemon/specs/agents/shared/skills/process/containerized-e2e/SKILL.md +0 -256
  475. package/daemon/specs/agents/shared/skills/process/containerized-e2e/scripts/Dockerfile +0 -39
  476. package/daemon/specs/agents/shared/skills/process/containerized-e2e/scripts/build-e2e-image.sh +0 -37
  477. package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/control-plane-test.yaml +0 -40
  478. package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/e2e-report-template.md +0 -94
  479. package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/expansion-collision-fragment.yaml +0 -13
  480. package/daemon/specs/agents/shared/skills/process/containerized-e2e/templates/expansion-pod-fragment.yaml +0 -14
  481. package/ui/dist/assets/index-BDHU1JUK.js +0 -412
  482. package/ui/dist/assets/index-DXTyJSqu.css +0 -1
@@ -1,18 +1,32 @@
1
+ // V0.3.1 slice 21 onboarding-conveyor: rich narrative content for the
2
+ // getting-started mission's two slices (the click-through-to-learn
3
+ // teaching surface).
4
+ import * as fs from "node:fs";
5
+ import * as path from "node:path";
6
+ import { GETTING_STARTED_NARRATIVE } from "./getting-started-narrative.js";
7
+ // Release-0.3.2 slice 01 (OPR.0.3.2.1) — seeded missions/slices now
8
+ // carry §1 dot-IDs in frontmatter so the scaffold coheres with
9
+ // `conventions/scope-and-versioning`. `getting-started` is a
10
+ // non-release mission → escape band `OPR.99.0.1`; its slices fan out
11
+ // as `OPR.99.0.1.<n>` (numbers monotonic, never reused).
1
12
  const DEFAULT_MISSIONS = [
2
13
  {
3
14
  id: "getting-started",
15
+ dotId: "OPR.99.0.1",
4
16
  title: "Getting Started",
5
17
  status: "active",
6
18
  objective: "Launch the conveyor starter and learn how OpenRig moves work through queue-backed slices.",
7
19
  slices: [
8
20
  {
9
21
  id: "first-conveyor-run",
22
+ dotId: "OPR.99.0.1.1",
10
23
  title: "First Conveyor Run",
11
24
  status: "active",
12
25
  objective: "Move one small packet through intake, planning, build, review, and close on the conveyor starter.",
13
26
  },
14
27
  {
15
28
  id: "inspect-project-evidence",
29
+ dotId: "OPR.99.0.1.2",
16
30
  title: "Inspect Project Evidence",
17
31
  status: "draft",
18
32
  objective: "Open Project, Queue, Story, and Tests to inspect the evidence created by the first conveyor run.",
@@ -39,7 +53,7 @@ export function workspaceScaffoldDirs() {
39
53
  function subdirReadmeContent(subdir) {
40
54
  switch (subdir) {
41
55
  case "missions":
42
- return "# missions\n\nProject missions live here. Each mission folder maps to one Project mission in the UI and owns a `slices/` child folder.\n\nExpected shape:\n\n```text\nmissions/<mission-id>/README.md\nmissions/<mission-id>/PROGRESS.md\nmissions/<mission-id>/slices/<slice-id>/README.md\n```\n";
56
+ return "# missions\n\nProject missions live here. Each mission folder maps to one Project mission in the UI and owns a `slices/` child folder.\n\nExpected shape:\n\n```text\nmissions/<mission-name>/README.md\nmissions/<mission-name>/PROGRESS.md\nmissions/<mission-name>/slices/<slice-name>/README.md\n```\n\nEvery mission and slice README carries a stable dot-ID in its frontmatter (`id: OPR.<ver>[.<n>]`) per the scope-and-versioning convention. Use `rig scope mission create <name>` and `rig scope slice create <mission> <slug>` to mint conformant artifacts; the CLI handles the dot-ID + auto-numbering for you. The folder name is the operator-facing slug; the `id:` is the stable handle that survives renames.\n";
43
57
  case "artifacts":
44
58
  return "# artifacts\n\nWork products live here: plans, drafts, generated outputs, and other files that a slice may reference before closure.\n";
45
59
  case "evidence":
@@ -67,7 +81,7 @@ This workspace is file-backed. The Project UI mirrors this structure:
67
81
  - \`evidence/\` is for proof notes and verification summaries.
68
82
  - \`dogfood-evidence/<proof-packet-id>\` becomes Tests proof when the packet id contains the slice id tokens.
69
83
 
70
- Use stable kebab-case ids for mission and slice folders. Keep slice ids unique inside the workspace.
84
+ Use stable kebab-case names for mission and slice folders. Every mission/slice README also carries a stable dot-ID in its frontmatter (\`id: OPR.<ver>[.<n>]\`) per the \`scope-and-versioning\` convention; mint conformant artifacts via \`rig scope mission create <name>\` and \`rig scope slice create <mission> <slug>\`. Folder names are operator-facing slugs; the \`id:\` is the rename-proof handle.
71
85
  `;
72
86
  const STEERING_PLACEHOLDER = `---
73
87
  title: Priority Stack
@@ -96,6 +110,7 @@ alongside your Project workspace.
96
110
  `;
97
111
  function missionReadme(mission) {
98
112
  return `---
113
+ id: ${mission.dotId}
99
114
  title: ${mission.title}
100
115
  status: ${mission.status}
101
116
  mission: ${mission.id}
@@ -124,7 +139,24 @@ mission: ${mission.id}
124
139
  `;
125
140
  }
126
141
  function sliceReadme(mission, slice) {
142
+ // V0.3.1 slice 21: getting-started slices ship rich narrative
143
+ // content that teaches both "what a conveyor is" and "what each
144
+ // tab does". Other slices keep the boilerplate.
145
+ const narrative = GETTING_STARTED_NARRATIVE[slice.id];
146
+ if (narrative) {
147
+ return `---
148
+ id: ${slice.dotId}
149
+ title: ${slice.title}
150
+ status: ${slice.status}
151
+ mission: ${mission.id}
152
+ rail-item: ${mission.id}
153
+ slice: ${slice.id}
154
+ ---
155
+
156
+ ${narrative.readme}`;
157
+ }
127
158
  return `---
159
+ id: ${slice.dotId}
128
160
  title: ${slice.title}
129
161
  status: ${slice.status}
130
162
  mission: ${mission.id}
@@ -146,7 +178,23 @@ Queue items for this slice should mention or tag:
146
178
  This lets Project attach queue activity to the slice story, queue, tests, and topology tabs.
147
179
  `;
148
180
  }
181
+ /** V0.3.1 slice 21: getting-started slices emit a timeline.md that
182
+ * the slice Story tab renders via the slice-06 useSliceTimelineMarkdown
183
+ * hook. Returns null when no narrative is defined for the slice id
184
+ * (default mission slices don't ship a timeline). */
185
+ function sliceTimeline(mission, slice) {
186
+ const narrative = GETTING_STARTED_NARRATIVE[slice.id];
187
+ if (!narrative)
188
+ return null;
189
+ return narrative.timeline;
190
+ }
149
191
  function sliceProgress(mission, slice) {
192
+ // V0.3.1 slice 21: getting-started slices ship the worked-example
193
+ // PROGRESS narrative (acceptance criteria for a mocked conveyor run
194
+ // / inspection); other slices keep the boilerplate.
195
+ const narrative = GETTING_STARTED_NARRATIVE[slice.id];
196
+ if (narrative)
197
+ return narrative.progress;
150
198
  return `---
151
199
  title: ${slice.title} Progress
152
200
  status: ${slice.status}
@@ -184,6 +232,134 @@ ${slice.objective}
184
232
  - [ ] Any proof artifacts are referenced from the slice before closure.
185
233
  `;
186
234
  }
235
+ // FR-5e A1 (daemon-side symmetry) — MISSION_NOTES template +
236
+ // rendering for the daemon's `/api/config/init-workspace` route so
237
+ // UI-driven init lands the same scaffold as CLI-driven init. The
238
+ // template content is duplicated here from
239
+ // packages/cli/src/lib/scope-templates/mission-notes.md to keep the
240
+ // daemon side dependency-free of the cli package; a parity test in
241
+ // getting-started-narrative-parity.test.ts asserts CLI + daemon emit
242
+ // byte-identical MISSION_NOTES content given the same opts. Same
243
+ // env-var-pivot pattern the CLI surface honors:
244
+ // OPENRIG_MISSION_NOTES_TEMPLATE_PATH > built-in.
245
+ const MISSION_NOTES_BUILT_IN = `---
246
+ mission: {{mission_id}}
247
+ name: {{mission_name}}
248
+ status: active
249
+ authored: {{created_date}}
250
+ last-updated: {{created_date}}
251
+ ---
252
+
253
+ # Mission Notes — {{mission_name}}
254
+
255
+ > Read the frontmatter \`last-updated\` first. If stale relative to runtime,
256
+ > treat this file as \`provisional\` and re-verify before relying on it.
257
+ > Pointer-first by design — index durable canonical artifacts; don't duplicate
258
+ > them (duplication is the stale-breadcrumb failure mode this convention
259
+ > exists to kill).
260
+
261
+ ## §1. Top-of-mind context
262
+
263
+ (Current most-load-bearing state — gates, open scope-decisions, in-flight
264
+ surprises. Updated by anyone when material changes. Keep to 5-15 lines.)
265
+
266
+ ## §2. Active workstreams + drivers + tips
267
+
268
+ (Per-workstream rows. THIS SECTION IS THE MISSION CODEMAP. Each row:
269
+ state / driver / branch+tip-SHA / latest blocker or ACK.)
270
+
271
+ - (workstream-id) — state — driver — tip-SHA — blocker/ACK
272
+
273
+ ## §3. Open scope-decisions
274
+
275
+ (Labeled gates the operator owns. Per gate: where the gate is, what's needed,
276
+ who routed.)
277
+
278
+ - OQ-1: (decision needed) — gate at <artifact-path> — surfaced by <seat>
279
+
280
+ ## §4. Slice inventory
281
+
282
+ (Full table of slices on this mission.)
283
+
284
+ | # | slice | state | driver | blocker |
285
+ |---|---|---|---|---|
286
+
287
+ ## §5. Pending dispatches
288
+
289
+ (Next-go items waiting on driver availability or convergence. Immediately-ready
290
+ set, not full backlog.)
291
+
292
+ ## §6. Ledgers
293
+
294
+ (Mission-specific shared ledgers: release version + tag, SC counts, cumulative
295
+ deltas, etc.)
296
+
297
+ ## §7. Banked memories that apply here
298
+
299
+ (Bulleted: banked-feedback / banked-project memories load-bearing on restore
300
+ for this mission. Ones learned during this mission go into the same list.)
301
+
302
+ ## §8. Convention pointers
303
+
304
+ (Which banked conventions this mission inherits. Cross-reference each by path.
305
+ This section is the principles/conventions inheritance surface for the mission.)
306
+
307
+ - \`conventions/mission-notes/README.md\` — this convention (apply on every restore)
308
+
309
+ ## §9. Reconstruction protocol
310
+
311
+ (Commands to run after compaction or for onboarding. Refresh as the mission's
312
+ restore-needs evolve.)
313
+
314
+ 1. \`rig whoami --json\` — confirm seat identity
315
+ 2. Read this file's §1 + your §A-§X section + this §9
316
+ 3. Read \`missions/{{mission_id}}/README.md\` for mission scope
317
+ 4. Read \`missions/{{mission_id}}/PROGRESS.md\` for delivery state
318
+ 5. \`rig queue list --destination <your-session>\` — your durable inbox
319
+ 6. State "restored from {{mission_id}}; resumed at <action>" before acting
320
+
321
+ ## §10. What NOT to reconstruct
322
+
323
+ (Explicit pruning — completed slices / merged commits / closed ACK packets are
324
+ recoverable on demand and don't need to be in working memory. Name them to
325
+ free attention.)
326
+
327
+ ## §A. <first-seat>@<rig> notes
328
+
329
+ (First seat's notes. Pattern: append cont.N entries with date + state of the
330
+ world from this seat's perspective. Latest = truth. Other seats READ but
331
+ don't modify.)
332
+
333
+ DONE {{created_date}} (cont.0 — mission scaffolded):
334
+ - Mission scaffolded via \`rig scope mission create\`. Template applied; this
335
+ file is the seed state. First substantive cont.1 entry follows when work
336
+ begins.
337
+
338
+ ## §B / §C / ... — per-seat sections
339
+
340
+ (Each additional seat adds an h2 ## §X section under their own header as they
341
+ join. Section pattern matches §A.)
342
+ `;
343
+ function applyMissionNotesPlaceholders(content, opts) {
344
+ return content
345
+ .replace(/\{\{mission_id\}\}/g, opts.mission_id)
346
+ .replace(/\{\{mission_name\}\}/g, opts.mission_name)
347
+ .replace(/\{\{created_date\}\}/g, opts.created_date);
348
+ }
349
+ export function renderDaemonMissionNotes(opts) {
350
+ const envValue = process.env.OPENRIG_MISSION_NOTES_TEMPLATE_PATH;
351
+ if (envValue && envValue.trim().length > 0) {
352
+ const absPath = path.resolve(envValue.trim());
353
+ if (!fs.existsSync(absPath)) {
354
+ throw new Error(`OPENRIG_MISSION_NOTES_TEMPLATE_PATH points at "${envValue}", which does not exist. ` +
355
+ "MISSION_NOTES.md not scaffolded. Set it to an absolute path to a readable template file, " +
356
+ "or unset it to use the built-in bundled fallback.");
357
+ }
358
+ const raw = fs.readFileSync(absPath, "utf8");
359
+ return applyMissionNotesPlaceholders(raw, opts);
360
+ }
361
+ return applyMissionNotesPlaceholders(MISSION_NOTES_BUILT_IN, opts);
362
+ }
187
363
  export function workspaceScaffoldFiles() {
188
364
  const files = [
189
365
  { relPath: "README.md", content: WORKSPACE_README },
@@ -197,9 +373,31 @@ export function workspaceScaffoldFiles() {
197
373
  { relPath: "dogfood-evidence/README.md", content: subdirReadmeContent("dogfood-evidence") },
198
374
  ];
199
375
  for (const mission of DEFAULT_MISSIONS) {
200
- files.push({ relPath: `missions/${mission.id}/README.md`, content: missionReadme(mission) }, { relPath: `missions/${mission.id}/PROGRESS.md`, content: missionProgress(mission) });
376
+ files.push({ relPath: `missions/${mission.id}/README.md`, content: missionReadme(mission) }, { relPath: `missions/${mission.id}/PROGRESS.md`, content: missionProgress(mission) },
377
+ // FR-5e A1 (daemon-side symmetry) — match CLI scaffold so UI-init
378
+ // produces a workspace that passes doctor check #7. The template
379
+ // resolution + env-var-pivot mirrors the CLI surface;
380
+ // getting-started-narrative-parity.test.ts asserts byte-identity.
381
+ {
382
+ relPath: `missions/${mission.id}/MISSION_NOTES.md`,
383
+ content: renderDaemonMissionNotes({
384
+ mission_id: mission.dotId,
385
+ mission_name: mission.title,
386
+ created_date: new Date().toISOString().slice(0, 10),
387
+ }),
388
+ });
201
389
  for (const slice of mission.slices) {
202
390
  files.push({ relPath: `missions/${mission.id}/slices/${slice.id}/README.md`, content: sliceReadme(mission, slice) }, { relPath: `missions/${mission.id}/slices/${slice.id}/PROGRESS.md`, content: sliceProgress(mission, slice) }, { relPath: `missions/${mission.id}/slices/${slice.id}/IMPLEMENTATION-PRD.md`, content: slicePrd(mission, slice) });
391
+ // V0.3.1 slice 21: getting-started slices ship a timeline.md
392
+ // so the Story tab renders the worked-example narrative via
393
+ // slice-06's useSliceTimelineMarkdown hook.
394
+ const timeline = sliceTimeline(mission, slice);
395
+ if (timeline) {
396
+ files.push({
397
+ relPath: `missions/${mission.id}/slices/${slice.id}/timeline.md`,
398
+ content: timeline,
399
+ });
400
+ }
203
401
  }
204
402
  }
205
403
  return files;
@@ -1 +1 @@
1
- {"version":3,"file":"default-workspace-scaffold.js","sourceRoot":"","sources":["../../../src/domain/workspace/default-workspace-scaffold.ts"],"names":[],"mappings":"AAeA,MAAM,gBAAgB,GAAqB;IACzC;QACE,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,2FAA2F;QACtG,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,oBAAoB;gBACxB,KAAK,EAAE,oBAAoB;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,SAAS,EAAE,mGAAmG;aAC/G;YACD;gB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AAO,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EACxG,EAAE,OAAO,EAAE,YAAY,OAAO,CAAC,EAAE,WAAW,KAAK,CAAC,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,EAC5G,EAAE,OAAO,EAAE,YAAY,OAAO,CAAC,EAAE,WAAW,KAAK,CAAC,EAAE,wBAAwB,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,CAClH,CAAC;QACJ,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"default-workspace-scaffold.js","sourceRoot":"","sources":["../../../src/domain/workspace/default-workspace-scaffold.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,mEAAmE;AACnE,qBAAqB;AACrB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAwB3E,oEAAoE;AACpE,+DAA+D;AAC/D,6DAA6D;AAC7D,qEAAqE;AACrE,yDAAyD;AACzD,MAAM,gBAAgB,GAAqB;IACzC;QACE,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,2FAA2F;QACtG,MAAM,EAAE;YACN;gBACE,EAAE,EAAE,oBAAoB;gBACxB,KAAK,EAAE,cAAc;gBACrB,KAAK,EAAE,oBAAoB;gBAC3B,MAAM,EAAE,QAAQ;gBAChB,SAAS,EAAE,mGAAmG;aAC/G;YACD;gBACE,EAAE,EAAE,0BAA0B;gBAC9B,KAAK,EAAE,cAAc;gBACrB,KAAK,EAAE,0BAA0B;gBACjC,MAAM,EAAE,OAAO;gBACf,SAAS,EAAE,kGAAkG;aAC9G;SACF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AAE,WAAW,KAAK,CAAC,EAAE,wBAAwB,EAAE,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,CAClH,CAAC;YACF,6DAA6D;YAC7D,4DAA4D;YAC5D,4CAA4C;YAC5C,MAAM,QAAQ,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;YAC/C,IAAI,QAAQ,EAAE,CAAC;gBACb,KAAK,CAAC,IAAI,CAAC;oBACT,OAAO,EAAE,YAAY,OAAO,CAAC,EAAE,WAAW,KAAK,CAAC,EAAE,cAAc;oBAChE,OAAO,EAAE,QAAQ;iBAClB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const FIRST_CONVEYOR_RUN_README = "# First Conveyor Run\n\nWelcome to OpenRig. This is the first slice in your getting-started mission. It exists to teach you what a **conveyor run** is + how OpenRig moves work through a multi-agent topology.\n\n## What a conveyor run is\n\nA **conveyor** is OpenRig's central work-movement primitive. One conveyor run = one complete flow of work through your topology:\n\n1. **Slice declared** \u2014 operator (you) or an agent declares a slice with intent + acceptance criteria\n2. **Work routed** \u2014 orchestrator picks the slice up + routes it to the right agent\n3. **Agents collaborate** \u2014 work moves agent-to-agent via durable handoffs (queue items)\n4. **Evidence accumulates** \u2014 each step leaves a trail: commits, files, proof packets, screenshots\n5. **Slice closes** \u2014 acceptance criteria met; orchestrator routes the result back\n\nYou're looking at a mocked conveyor run RIGHT NOW. The other tabs (Story / Progress / Artifacts / Tests / Queue / Topology) each show a different slice of this same run.\n\n## Walking the tabs\n\n- **Overview** (you're here) \u2014 read what a slice intends + how to use the rest of the tabs\n- **Story** \u2014 narrative timeline of what happened, beat by beat\n- **Progress** \u2014 acceptance checklist; what's done, what's pending\n- **Artifacts** \u2014 files produced, commits, proof packets \u2014 the durable evidence trail\n- **Tests** \u2014 pass/fail summaries + screenshots + verification proof\n- **Queue** \u2014 operational qitems showing how work moved between agents\n- **Topology** \u2014 the rig graph; which agents touched this slice + which edges fired\n\n## Click through\n\nTry them in order. Each tab teaches itself.\n";
2
+ export declare const FIRST_CONVEYOR_RUN_TIMELINE = "# Story \u2014 First Conveyor Run\n\n## 2026-04-15 09:00 \u2014 Slice declared\n\nOperator request: \"Build a CLI tool that lints todo lists.\" Slice declared in `getting-started/slices/first-conveyor-run/`. Acceptance: `tdl lint <file>` exits non-zero on malformed entries.\n\n## 09:02 \u2014 Orchestrator routes\n\n`orch-lead@getting-started` picks up the slice. Routes to `driver@getting-started` via `rig queue handoff`. Driver receives nudge; opens IMPL-PRD; reads acceptance.\n\n## 09:05 \u2014 Driver picks up\n\nDriver claims qitem. Reads slice scope. Surveys existing tdl repo (this is a worked example \u2014 imagine the repo is real). Plans: parse YAML; validate entries; exit code per finding.\n\n## 09:30 \u2014 First commit\n\n`feat(lint): parse + validate todo entries` \u2014 driver commits 4 files. Stream event emitted; visible in Artifacts tab.\n\n## 10:15 \u2014 Driver hands to reviewer\n\nAcceptance met locally. Driver hands off to `reviewer@getting-started`. Reviewer opens diff; reads tests.\n\n## 10:25 \u2014 Reviewer flags concern\n\n\"Edge case: what about UTF-8 entries with combining characters?\" Hands back to driver as `concerning`.\n\n## 10:40 \u2014 Driver addresses\n\nDriver fixes UTF-8 handling. Re-runs tests; all pass. Hands back.\n\n## 11:00 \u2014 Reviewer accepts\n\n`accept` decision; closes qitem with `closure-reason: handed_off_to orch-lead`. Conveyor proceeds.\n\n## 11:05 \u2014 Slice ships\n\nOrchestrator merges. Proof packet generated. Slice marked SHIPPED.\n\n---\n\n**What you just read**: one conveyor run from declaration to ship. ~2 hours wall-clock; 3 agents involved; 1 handoff with concern + remediation; 5 stream events; 1 proof packet.\n\nThe Story tab shows this kind of narrative for any real slice. Driver-authored `timeline.md` files live in each slice folder; this is yours to read + your operator's to update as work moves.\n";
3
+ export declare const FIRST_CONVEYOR_RUN_PROGRESS = "---\ntitle: First Conveyor Run Progress\nstatus: active\nmission: getting-started\nrail-item: getting-started\nslice: first-conveyor-run\n---\n\n# Progress \u2014 First Conveyor Run\n\n## Acceptance criteria\n\n- [x] Parse YAML todo entries\n- [x] Validate per-entry shape (id, title, status, due-date)\n- [x] Exit non-zero on malformed entries\n- [x] Handle UTF-8 entries with combining characters\n- [x] Tests pass (12/12)\n- [x] Reviewer accepts\n- [x] Slice merged\n\n## Status: SHIPPED\n\nThis was a mocked conveyor run \u2014 no real code was produced. But the Progress tab works the same way for real work: as acceptance criteria are met, boxes get checked; the operator can scan at a glance whether the slice is on track.\n\n## How the Progress tab works\n\nThe tab renders the slice's `PROGRESS.md` markdown file. Driver updates it as work progresses. Operator scans it during walks. Founder reviews at slice closure.\n\nTry writing one for a real slice you start. It's just markdown; live updates appear here.\n";
4
+ export declare const INSPECT_PROJECT_EVIDENCE_README = "# Inspect Project Evidence\n\nThe previous slice (First Conveyor Run) showed you what a conveyor run looks like as it happens. This slice teaches you how to inspect the evidence after a run completes.\n\n## Why inspect evidence?\n\nIn OpenRig, agents work autonomously. The operator (you) doesn't watch every keystroke. Instead, the operator:\n\n1. Declares slices with clear acceptance\n2. Routes them to agents\n3. Inspects evidence when slices close\n\nThe Artifacts + Tests + Queue + Topology tabs are your inspection surface. They show you what happened, with enough detail to:\n\n- Verify the acceptance was actually met\n- Spot subtle issues a passing test might miss\n- Build trust in the agents over time\n\n## Walking the tabs\n\n- **Overview** \u2014 you're here; learn what to look for\n- **Story** \u2014 read the narrative of what happened (high-level)\n- **Progress** \u2014 acceptance status at a glance\n- **Artifacts** \u2014 the durable evidence: files, commits, proof packets. **THIS IS THE TAB YOU LEARN MOST FROM.**\n- **Tests** \u2014 pass/fail + screenshots + verification proof\n- **Queue** \u2014 who handed what to whom (audit trail of decisions)\n- **Topology** \u2014 which agents touched this; which edges fired\n\n## Key inspection skills\n\nWhen walking a finished slice:\n\n1. **Read the Story** for context \u2014 what was the operator trying to do?\n2. **Check Progress** \u2014 did acceptance actually pass? Any TODO boxes?\n3. **Open Artifacts \u2192 Files** \u2014 sample-read 2-3 files; does the code match what the Story claimed?\n4. **Open Tests \u2192 Proof packets** \u2014 do screenshots actually show what was claimed?\n5. **Read Queue** \u2014 were there concerning decisions? Hand-offs to escalation?\n6. **Skim Topology** \u2014 were unexpected agents involved?\n\nTrust comes from repeated successful inspections, not from a single proof packet.\n";
5
+ export declare const INSPECT_PROJECT_EVIDENCE_TIMELINE = "# Story \u2014 Inspect Project Evidence\n\nThis slice mirrors the previous one (First Conveyor Run). The same agents shipped the same work. But this view is from the inspector's angle, not the runner's.\n\n## 11:10 \u2014 Operator opens project\n\nOperator (you, in the real world) opens `/project/slice/first-conveyor-run` after the slice ships. First read: the Progress tab. All boxes checked.\n\n## 11:12 \u2014 Read Story\n\nOperator reads the Story narrative. Notices the reviewer's UTF-8 concern + driver's remediation. Confidence-building: there was friction, friction was caught, friction was addressed.\n\n## 11:15 \u2014 Open Artifacts\n\nOperator clicks Artifacts. Sees 4 commits, 5 files, 1 proof packet, 2 screenshots. Opens commit `feat(lint): parse + validate todo entries`. Reads the diff.\n\n## 11:18 \u2014 Read tests\n\nOperator opens Tests tab. 12/12 passing. Opens the proof packet \u2014 screenshot shows CLI output `Error: malformed entry at line 3`. Visually verifies the acceptance was met.\n\n## 11:22 \u2014 Skim Queue\n\nOperator scrolls Queue. 4 qitems in chronological order. Sees the `concerning` decision + subsequent `accept`. Confidence reinforced.\n\n## 11:25 \u2014 Mark complete\n\nOperator marks slice acceptance complete. Closes the inspection.\n\n---\n\n**What you just read**: a clean inspection in ~15 minutes. Operator builds trust through the evidence trail. This is the OpenRig usage pattern at scale: declare \u2192 route \u2192 inspect.\n";
6
+ export declare const INSPECT_PROJECT_EVIDENCE_PROGRESS = "---\ntitle: Inspect Project Evidence Progress\nstatus: active\nmission: getting-started\nrail-item: getting-started\nslice: inspect-project-evidence\n---\n\n# Progress \u2014 Inspect Project Evidence\n\n## Inspection checklist\n\n- [x] Read Story (context: what was being done)\n- [x] Check Progress (acceptance status)\n- [x] Sample-read Artifacts files\n- [x] Verify Tests proof packets visually\n- [x] Skim Queue for concerning decisions\n- [x] Skim Topology for unexpected agents\n\n## Status: COMPLETE\n\nThis was a mocked inspection \u2014 a worked example of the inspection workflow.\n\n## How to apply this\n\nFor any real slice that ships in YOUR project: open the slice page, walk the tabs in this order, check each box mentally. Over time you'll develop instincts for what passes the smell test vs what needs deeper investigation.\n";
7
+ /** Slice id → narrative content map. Scaffold callers use this to
8
+ * override the boilerplate sliceReadme / sliceProgress for the two
9
+ * getting-started slices. Other slices keep the boilerplate. */
10
+ export declare const GETTING_STARTED_NARRATIVE: Record<string, {
11
+ readme: string;
12
+ timeline: string;
13
+ progress: string;
14
+ }>;
15
+ //# sourceMappingURL=getting-started-narrative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getting-started-narrative.d.ts","sourceRoot":"","sources":["../../../src/domain/workspace/getting-started-narrative.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,yBAAyB,4qDA6BrC,CAAC;AAEF,eAAO,MAAM,2BAA2B,22DA2CvC,CAAC;AAEF,eAAO,MAAM,2BAA2B,kgCA6BvC,CAAC;AAEF,eAAO,MAAM,+BAA+B,62DAwC3C,CAAC;AAEF,eAAO,MAAM,iCAAiC,k9CA+B7C,CAAC;AAEF,eAAO,MAAM,iCAAiC,g1BA0B7C,CAAC;AAEF;;iEAEiE;AACjE,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,MAAM,EACN;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAYvD,CAAC"}
@@ -0,0 +1,237 @@
1
+ // V0.3.1 slice 21 onboarding-conveyor.
2
+ //
3
+ // Narrative tab content for the getting-started mission's two slices.
4
+ // The scaffold writes these as README.md / timeline.md / PROGRESS.md
5
+ // inside each slice folder so a new operator's fresh install ships
6
+ // with a click-through-to-learn experience: opening each tab teaches
7
+ // both (a) what a conveyor run is and (b) what each Project tab does.
8
+ //
9
+ // PARITY CONTRACT with CLI:
10
+ // `packages/cli/src/commands/config-init-workspace.ts` duplicates the
11
+ // same narrative inline because cli + daemon don't cross-import today.
12
+ // `packages/daemon/test/getting-started-narrative-parity.test.ts`
13
+ // asserts byte-identical content with the CLI counterpart so drift
14
+ // fails CI. If you update this content, update the CLI mirror in
15
+ // lockstep.
16
+ //
17
+ // Content authored from the slice 21 onboarding-conveyor IMPLEMENTATION-PRD (Appendix A) in the substrate openrig-work tree.
18
+ export const FIRST_CONVEYOR_RUN_README = `# First Conveyor Run
19
+
20
+ Welcome to OpenRig. This is the first slice in your getting-started mission. It exists to teach you what a **conveyor run** is + how OpenRig moves work through a multi-agent topology.
21
+
22
+ ## What a conveyor run is
23
+
24
+ A **conveyor** is OpenRig's central work-movement primitive. One conveyor run = one complete flow of work through your topology:
25
+
26
+ 1. **Slice declared** — operator (you) or an agent declares a slice with intent + acceptance criteria
27
+ 2. **Work routed** — orchestrator picks the slice up + routes it to the right agent
28
+ 3. **Agents collaborate** — work moves agent-to-agent via durable handoffs (queue items)
29
+ 4. **Evidence accumulates** — each step leaves a trail: commits, files, proof packets, screenshots
30
+ 5. **Slice closes** — acceptance criteria met; orchestrator routes the result back
31
+
32
+ You're looking at a mocked conveyor run RIGHT NOW. The other tabs (Story / Progress / Artifacts / Tests / Queue / Topology) each show a different slice of this same run.
33
+
34
+ ## Walking the tabs
35
+
36
+ - **Overview** (you're here) — read what a slice intends + how to use the rest of the tabs
37
+ - **Story** — narrative timeline of what happened, beat by beat
38
+ - **Progress** — acceptance checklist; what's done, what's pending
39
+ - **Artifacts** — files produced, commits, proof packets — the durable evidence trail
40
+ - **Tests** — pass/fail summaries + screenshots + verification proof
41
+ - **Queue** — operational qitems showing how work moved between agents
42
+ - **Topology** — the rig graph; which agents touched this slice + which edges fired
43
+
44
+ ## Click through
45
+
46
+ Try them in order. Each tab teaches itself.
47
+ `;
48
+ export const FIRST_CONVEYOR_RUN_TIMELINE = `# Story — First Conveyor Run
49
+
50
+ ## 2026-04-15 09:00 — Slice declared
51
+
52
+ Operator request: "Build a CLI tool that lints todo lists." Slice declared in \`getting-started/slices/first-conveyor-run/\`. Acceptance: \`tdl lint <file>\` exits non-zero on malformed entries.
53
+
54
+ ## 09:02 — Orchestrator routes
55
+
56
+ \`orch-lead@getting-started\` picks up the slice. Routes to \`driver@getting-started\` via \`rig queue handoff\`. Driver receives nudge; opens IMPL-PRD; reads acceptance.
57
+
58
+ ## 09:05 — Driver picks up
59
+
60
+ Driver claims qitem. Reads slice scope. Surveys existing tdl repo (this is a worked example — imagine the repo is real). Plans: parse YAML; validate entries; exit code per finding.
61
+
62
+ ## 09:30 — First commit
63
+
64
+ \`feat(lint): parse + validate todo entries\` — driver commits 4 files. Stream event emitted; visible in Artifacts tab.
65
+
66
+ ## 10:15 — Driver hands to reviewer
67
+
68
+ Acceptance met locally. Driver hands off to \`reviewer@getting-started\`. Reviewer opens diff; reads tests.
69
+
70
+ ## 10:25 — Reviewer flags concern
71
+
72
+ "Edge case: what about UTF-8 entries with combining characters?" Hands back to driver as \`concerning\`.
73
+
74
+ ## 10:40 — Driver addresses
75
+
76
+ Driver fixes UTF-8 handling. Re-runs tests; all pass. Hands back.
77
+
78
+ ## 11:00 — Reviewer accepts
79
+
80
+ \`accept\` decision; closes qitem with \`closure-reason: handed_off_to orch-lead\`. Conveyor proceeds.
81
+
82
+ ## 11:05 — Slice ships
83
+
84
+ Orchestrator merges. Proof packet generated. Slice marked SHIPPED.
85
+
86
+ ---
87
+
88
+ **What you just read**: one conveyor run from declaration to ship. ~2 hours wall-clock; 3 agents involved; 1 handoff with concern + remediation; 5 stream events; 1 proof packet.
89
+
90
+ The Story tab shows this kind of narrative for any real slice. Driver-authored \`timeline.md\` files live in each slice folder; this is yours to read + your operator's to update as work moves.
91
+ `;
92
+ export const FIRST_CONVEYOR_RUN_PROGRESS = `---
93
+ title: First Conveyor Run Progress
94
+ status: active
95
+ mission: getting-started
96
+ rail-item: getting-started
97
+ slice: first-conveyor-run
98
+ ---
99
+
100
+ # Progress — First Conveyor Run
101
+
102
+ ## Acceptance criteria
103
+
104
+ - [x] Parse YAML todo entries
105
+ - [x] Validate per-entry shape (id, title, status, due-date)
106
+ - [x] Exit non-zero on malformed entries
107
+ - [x] Handle UTF-8 entries with combining characters
108
+ - [x] Tests pass (12/12)
109
+ - [x] Reviewer accepts
110
+ - [x] Slice merged
111
+
112
+ ## Status: SHIPPED
113
+
114
+ This was a mocked conveyor run — no real code was produced. But the Progress tab works the same way for real work: as acceptance criteria are met, boxes get checked; the operator can scan at a glance whether the slice is on track.
115
+
116
+ ## How the Progress tab works
117
+
118
+ The tab renders the slice's \`PROGRESS.md\` markdown file. Driver updates it as work progresses. Operator scans it during walks. Founder reviews at slice closure.
119
+
120
+ Try writing one for a real slice you start. It's just markdown; live updates appear here.
121
+ `;
122
+ export const INSPECT_PROJECT_EVIDENCE_README = `# Inspect Project Evidence
123
+
124
+ The previous slice (First Conveyor Run) showed you what a conveyor run looks like as it happens. This slice teaches you how to inspect the evidence after a run completes.
125
+
126
+ ## Why inspect evidence?
127
+
128
+ In OpenRig, agents work autonomously. The operator (you) doesn't watch every keystroke. Instead, the operator:
129
+
130
+ 1. Declares slices with clear acceptance
131
+ 2. Routes them to agents
132
+ 3. Inspects evidence when slices close
133
+
134
+ The Artifacts + Tests + Queue + Topology tabs are your inspection surface. They show you what happened, with enough detail to:
135
+
136
+ - Verify the acceptance was actually met
137
+ - Spot subtle issues a passing test might miss
138
+ - Build trust in the agents over time
139
+
140
+ ## Walking the tabs
141
+
142
+ - **Overview** — you're here; learn what to look for
143
+ - **Story** — read the narrative of what happened (high-level)
144
+ - **Progress** — acceptance status at a glance
145
+ - **Artifacts** — the durable evidence: files, commits, proof packets. **THIS IS THE TAB YOU LEARN MOST FROM.**
146
+ - **Tests** — pass/fail + screenshots + verification proof
147
+ - **Queue** — who handed what to whom (audit trail of decisions)
148
+ - **Topology** — which agents touched this; which edges fired
149
+
150
+ ## Key inspection skills
151
+
152
+ When walking a finished slice:
153
+
154
+ 1. **Read the Story** for context — what was the operator trying to do?
155
+ 2. **Check Progress** — did acceptance actually pass? Any TODO boxes?
156
+ 3. **Open Artifacts → Files** — sample-read 2-3 files; does the code match what the Story claimed?
157
+ 4. **Open Tests → Proof packets** — do screenshots actually show what was claimed?
158
+ 5. **Read Queue** — were there concerning decisions? Hand-offs to escalation?
159
+ 6. **Skim Topology** — were unexpected agents involved?
160
+
161
+ Trust comes from repeated successful inspections, not from a single proof packet.
162
+ `;
163
+ export const INSPECT_PROJECT_EVIDENCE_TIMELINE = `# Story — Inspect Project Evidence
164
+
165
+ This slice mirrors the previous one (First Conveyor Run). The same agents shipped the same work. But this view is from the inspector's angle, not the runner's.
166
+
167
+ ## 11:10 — Operator opens project
168
+
169
+ Operator (you, in the real world) opens \`/project/slice/first-conveyor-run\` after the slice ships. First read: the Progress tab. All boxes checked.
170
+
171
+ ## 11:12 — Read Story
172
+
173
+ Operator reads the Story narrative. Notices the reviewer's UTF-8 concern + driver's remediation. Confidence-building: there was friction, friction was caught, friction was addressed.
174
+
175
+ ## 11:15 — Open Artifacts
176
+
177
+ Operator clicks Artifacts. Sees 4 commits, 5 files, 1 proof packet, 2 screenshots. Opens commit \`feat(lint): parse + validate todo entries\`. Reads the diff.
178
+
179
+ ## 11:18 — Read tests
180
+
181
+ Operator opens Tests tab. 12/12 passing. Opens the proof packet — screenshot shows CLI output \`Error: malformed entry at line 3\`. Visually verifies the acceptance was met.
182
+
183
+ ## 11:22 — Skim Queue
184
+
185
+ Operator scrolls Queue. 4 qitems in chronological order. Sees the \`concerning\` decision + subsequent \`accept\`. Confidence reinforced.
186
+
187
+ ## 11:25 — Mark complete
188
+
189
+ Operator marks slice acceptance complete. Closes the inspection.
190
+
191
+ ---
192
+
193
+ **What you just read**: a clean inspection in ~15 minutes. Operator builds trust through the evidence trail. This is the OpenRig usage pattern at scale: declare → route → inspect.
194
+ `;
195
+ export const INSPECT_PROJECT_EVIDENCE_PROGRESS = `---
196
+ title: Inspect Project Evidence Progress
197
+ status: active
198
+ mission: getting-started
199
+ rail-item: getting-started
200
+ slice: inspect-project-evidence
201
+ ---
202
+
203
+ # Progress — Inspect Project Evidence
204
+
205
+ ## Inspection checklist
206
+
207
+ - [x] Read Story (context: what was being done)
208
+ - [x] Check Progress (acceptance status)
209
+ - [x] Sample-read Artifacts files
210
+ - [x] Verify Tests proof packets visually
211
+ - [x] Skim Queue for concerning decisions
212
+ - [x] Skim Topology for unexpected agents
213
+
214
+ ## Status: COMPLETE
215
+
216
+ This was a mocked inspection — a worked example of the inspection workflow.
217
+
218
+ ## How to apply this
219
+
220
+ For any real slice that ships in YOUR project: open the slice page, walk the tabs in this order, check each box mentally. Over time you'll develop instincts for what passes the smell test vs what needs deeper investigation.
221
+ `;
222
+ /** Slice id → narrative content map. Scaffold callers use this to
223
+ * override the boilerplate sliceReadme / sliceProgress for the two
224
+ * getting-started slices. Other slices keep the boilerplate. */
225
+ export const GETTING_STARTED_NARRATIVE = {
226
+ "first-conveyor-run": {
227
+ readme: FIRST_CONVEYOR_RUN_README,
228
+ timeline: FIRST_CONVEYOR_RUN_TIMELINE,
229
+ progress: FIRST_CONVEYOR_RUN_PROGRESS,
230
+ },
231
+ "inspect-project-evidence": {
232
+ readme: INSPECT_PROJECT_EVIDENCE_README,
233
+ timeline: INSPECT_PROJECT_EVIDENCE_TIMELINE,
234
+ progress: INSPECT_PROJECT_EVIDENCE_PROGRESS,
235
+ },
236
+ };
237
+ //# sourceMappingURL=getting-started-narrative.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getting-started-narrative.js","sourceRoot":"","sources":["../../../src/domain/workspace/getting-started-narrative.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,EAAE;AACF,sEAAsE;AACtE,qEAAqE;AACrE,mEAAmE;AACnE,qEAAqE;AACrE,sEAAsE;AACtE,EAAE;AACF,4BAA4B;AAC5B,sEAAsE;AACtE,uEAAuE;AACvE,kEAAkE;AAClE,mEAAmE;AACnE,iEAAiE;AACjE,YAAY;AACZ,EAAE;AACF,6HAA6H;AAE7H,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BxC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C1C,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1C,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC9C,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhD,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhD,CAAC;AAEF;;iEAEiE;AACjE,MAAM,CAAC,MAAM,yBAAyB,GAGlC;IACF,oBAAoB,EAAE;QACpB,MAAM,EAAE,yBAAyB;QACjC,QAAQ,EAAE,2BAA2B;QACrC,QAAQ,EAAE,2BAA2B;KACtC;IACD,0BAA0B,EAAE;QAC1B,MAAM,EAAE,+BAA+B;QACvC,QAAQ,EAAE,iCAAiC;QAC3C,QAAQ,EAAE,iCAAiC;KAC5C;CACF,CAAC"}