@aibyzero/cm-workflow 0.10.5

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 (448) hide show
  1. package/.codex-plugin/plugin.json +30 -0
  2. package/AGENTS.md +74 -0
  3. package/CONTRIBUTING.md +62 -0
  4. package/LICENSE +21 -0
  5. package/README.md +263 -0
  6. package/SECURITY.md +49 -0
  7. package/THIRD_PARTY_NOTICES.md +29 -0
  8. package/VERSION +1 -0
  9. package/agents/cm-backend-agent.md +34 -0
  10. package/agents/cm-contract-agent.md +34 -0
  11. package/agents/cm-database-agent.md +34 -0
  12. package/agents/cm-frontend-agent.md +33 -0
  13. package/agents/cm-miniprogram-agent.md +33 -0
  14. package/agents/cm-ui-agent.md +34 -0
  15. package/assets/docs/command-picker-mobile.svg +56 -0
  16. package/assets/docs/command-picker.svg +56 -0
  17. package/assets/docs/user-guide-hero-mobile.svg +35 -0
  18. package/assets/docs/user-guide-hero.svg +36 -0
  19. package/assets/readme/delivery-flow.svg +86 -0
  20. package/assets/readme/hero.svg +77 -0
  21. package/assets/readme/recovery-record.svg +73 -0
  22. package/assets/readme/test-evidence.svg +64 -0
  23. package/compat/claude-commands/cm-ai.md +3 -0
  24. package/compat/claude-commands/cm-check.md +3 -0
  25. package/compat/claude-commands/cm-fix.md +3 -0
  26. package/compat/claude-commands/cm-idea.md +3 -0
  27. package/compat/claude-commands/cm-init.md +3 -0
  28. package/compat/claude-commands/cm-prd.md +3 -0
  29. package/compat/claude-commands/cm-refactor.md +3 -0
  30. package/compat/claude-commands/cm-test.md +3 -0
  31. package/docs/architecture.md +155 -0
  32. package/docs/fixes/.reviews/fix-cancel-throw-T-FIX-cancel-throw-a1-handoff.json +57 -0
  33. package/docs/fixes/.reviews/fix-cancel-throw-T-FIX-cancel-throw-a2-handoff.json +58 -0
  34. package/docs/fixes/.reviews/fix-cancel-throw-T-FIX-cancel-throw-r1.md +121 -0
  35. package/docs/fixes/.reviews/fix-cancel-throw-v2-T-FIX-cancel-throw-v2-a1-handoff.json +56 -0
  36. package/docs/fixes/.reviews/fix-cancel-throw-v2-T-FIX-cancel-throw-v2-r1.md +100 -0
  37. package/docs/fixes/.reviews/fix-cm-js-n1n2-admission-successor-T-FIX-cm-js-n1n2-admission-successor-a1-handoff.json +61 -0
  38. package/docs/fixes/.reviews/fix-cm-js-n1n2-admission-successor-T-FIX-cm-js-n1n2-admission-successor-a2-handoff.json +63 -0
  39. package/docs/fixes/.reviews/fix-cm-js-n1n2-admission-successor-T-FIX-cm-js-n1n2-admission-successor-r1.md +58 -0
  40. package/docs/fixes/.reviews/fix-cm-js-n1n2-admission-successor-T-FIX-cm-js-n1n2-admission-successor-r2.md +55 -0
  41. package/docs/fixes/.reviews/fix-f01-dual-failure-terminal-T-FIX-f01-dual-failure-terminal-a1-handoff.json +65 -0
  42. package/docs/fixes/.reviews/fix-f01-dual-failure-terminal-T-FIX-f01-dual-failure-terminal-r1.md +88 -0
  43. package/docs/fixes/.reviews/fix-manifest-runtime-checkbox-drift-r1.md +33 -0
  44. package/docs/fixes/.reviews/fix-manifest-runtime-checkbox-drift-r2.md +31 -0
  45. package/docs/fixes/.reviews/fix-model-call-boundary-identity-T-FIX-model-call-boundary-identity-a1-handoff.json +56 -0
  46. package/docs/fixes/.reviews/fix-model-call-boundary-identity-T-FIX-model-call-boundary-identity-a2-handoff.json +85 -0
  47. package/docs/fixes/.reviews/fix-model-call-boundary-identity-T-FIX-model-call-boundary-identity-r1.md +53 -0
  48. package/docs/fixes/.reviews/fix-model-call-boundary-identity-T-FIX-model-call-boundary-identity-r2.md +80 -0
  49. package/docs/fixes/.reviews/fix-review-evidence-scope-honesty-T-FIX-review-evidence-scope-honesty-a1-handoff.json +35 -0
  50. package/docs/fixes/.reviews/fix-review-evidence-scope-honesty-T-FIX-review-evidence-scope-honesty-r1.md +33 -0
  51. package/docs/fixes/.reviews/fix-windows-cp1252-log-output-r1.md +30 -0
  52. package/docs/fixes/.reviews/fix-windows-cp1252-log-output-r2.md +16 -0
  53. package/docs/fixes/.reviews/openai-compatible-depth-fixture-T-FIX-openai-compatible-depth-fixture-a1-handoff.json +40 -0
  54. package/docs/fixes/.reviews/openai-compatible-depth-fixture-T-FIX-openai-compatible-depth-fixture-r1.md +30 -0
  55. package/docs/fixes/20260729-windows-cp1252-log-output.md +65 -0
  56. package/docs/fixes/20260804-manifest-runtime-checkbox-drift.md +67 -0
  57. package/docs/fixes/20260806-model-call-boundary-identity.md +80 -0
  58. package/docs/fixes/20260807-prelanding-integrity.md +58 -0
  59. package/docs/fixes/20260826-openai-compatible-depth-fixture.md +39 -0
  60. package/docs/fixes/20260903-cm-js-n1n2-admission-r1.md +64 -0
  61. package/docs/fixes/20260903-cm-js-n1n2-admission-successor.md +83 -0
  62. package/docs/fixes/20260903-s4c1b-v3-cancel-throw.md +89 -0
  63. package/docs/fixes/20260904-f01-codex-dual-failure-terminal.md +89 -0
  64. package/docs/fixes/20260907-wip-triage-log.md +44 -0
  65. package/docs/installation.md +202 -0
  66. package/docs/js-workflow-control.md +1010 -0
  67. package/docs/sample-prd/prd-funding-rate-alert.md +42 -0
  68. package/docs/sample-specs/docs//351/234/200/346/261/202/347/244/272/344/276/213.md +24 -0
  69. package/docs/user-guide.md +526 -0
  70. package/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/README.md +19 -0
  71. package/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.excalidraw +3650 -0
  72. package/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.mp4 +0 -0
  73. package/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.png +0 -0
  74. package/docs//351/207/215/346/236/204/346/265/201/347/250/213/350/256/276/350/256/241/refactor-flow.spec.json +223 -0
  75. package/install-codex.sh +184 -0
  76. package/install.ps1 +206 -0
  77. package/install.sh +244 -0
  78. package/package.json +58 -0
  79. package/runtime/external-expert.md +302 -0
  80. package/runtime/js/cm-ai/accepted-fix.mjs +28 -0
  81. package/runtime/js/cm-ai/claude-developer-adapter.mjs +6 -0
  82. package/runtime/js/cm-ai/claude-review-adapter.mjs +16 -0
  83. package/runtime/js/cm-ai/claude-review-stream.mjs +53 -0
  84. package/runtime/js/cm-ai/claude-tool-preview.mjs +107 -0
  85. package/runtime/js/cm-ai/cm-ai-admission.mjs +353 -0
  86. package/runtime/js/cm-ai/cm-ai-context-refresh.mjs +217 -0
  87. package/runtime/js/cm-ai/cm-ai-conversation-entry.mjs +538 -0
  88. package/runtime/js/cm-ai/cm-ai-learning-handoff-writer.mjs +119 -0
  89. package/runtime/js/cm-ai/cm-ai-learning-writer.mjs +172 -0
  90. package/runtime/js/cm-ai/cm-ai-qa-log.mjs +320 -0
  91. package/runtime/js/cm-ai/cm-ai-run-finalizer.mjs +107 -0
  92. package/runtime/js/cm-ai/code-projects.mjs +85 -0
  93. package/runtime/js/cm-ai/codex-config.mjs +48 -0
  94. package/runtime/js/cm-ai/codex-developer-adapter.mjs +5 -0
  95. package/runtime/js/cm-ai/codex-developer-basic-output.schema.json +6 -0
  96. package/runtime/js/cm-ai/codex-developer-output.schema.json +37 -0
  97. package/runtime/js/cm-ai/codex-review-adapter.mjs +73 -0
  98. package/runtime/js/cm-ai/contracts.mjs +156 -0
  99. package/runtime/js/cm-ai/developer-adapter.mjs +93 -0
  100. package/runtime/js/cm-ai/durable-runner-state.mjs +504 -0
  101. package/runtime/js/cm-ai/effect-contract.mjs +102 -0
  102. package/runtime/js/cm-ai/execution-platform.mjs +7 -0
  103. package/runtime/js/cm-ai/execution-store.mjs +211 -0
  104. package/runtime/js/cm-ai/fix-code-association.mjs +40 -0
  105. package/runtime/js/cm-ai/gate-bridge.mjs +25 -0
  106. package/runtime/js/cm-ai/host-bootstrap.mjs +170 -0
  107. package/runtime/js/cm-ai/host-check.mjs +89 -0
  108. package/runtime/js/cm-ai/host-conversation-execution.mjs +125 -0
  109. package/runtime/js/cm-ai/host-documentation.mjs +40 -0
  110. package/runtime/js/cm-ai/host-handoff.mjs +71 -0
  111. package/runtime/js/cm-ai/host-project-execution.mjs +58 -0
  112. package/runtime/js/cm-ai/host-qa-executor.mjs +238 -0
  113. package/runtime/js/cm-ai/host-qa-fix-owner.mjs +131 -0
  114. package/runtime/js/cm-ai/host-qa-fix.mjs +30 -0
  115. package/runtime/js/cm-ai/host-qa-policy.mjs +70 -0
  116. package/runtime/js/cm-ai/host-review-authority.mjs +36 -0
  117. package/runtime/js/cm-ai/host-review-file.mjs +56 -0
  118. package/runtime/js/cm-ai/host-role-routing.mjs +41 -0
  119. package/runtime/js/cm-ai/host-session.mjs +96 -0
  120. package/runtime/js/cm-ai/host-tool-bridge.mjs +53 -0
  121. package/runtime/js/cm-ai/host-workflow-capabilities.mjs +45 -0
  122. package/runtime/js/cm-ai/host.mjs +20 -0
  123. package/runtime/js/cm-ai/index.mjs +7 -0
  124. package/runtime/js/cm-ai/provider-review-observation.mjs +86 -0
  125. package/runtime/js/cm-ai/qa-fix-definition.mjs +21 -0
  126. package/runtime/js/cm-ai/review-evidence-file.mjs +38 -0
  127. package/runtime/js/cm-ai/review-package.mjs +426 -0
  128. package/runtime/js/cm-ai/review-result.schema.json +40 -0
  129. package/runtime/js/cm-ai/review-runner.mjs +35 -0
  130. package/runtime/js/cm-ai/task-commit-codec.mjs +54 -0
  131. package/runtime/js/cm-ai/task-commit.mjs +201 -0
  132. package/runtime/js/cm-ai/task-owner.mjs +97 -0
  133. package/runtime/js/cm-ai/task-runner.mjs +766 -0
  134. package/runtime/js/cm-ai/tool-preview.mjs +205 -0
  135. package/runtime/js/cm-ai/worker-claude.mjs +104 -0
  136. package/runtime/js/cm-ai/worker-codex-developer.mjs +124 -0
  137. package/runtime/js/cm-ai/worker-codex.mjs +143 -0
  138. package/runtime/js/cm-check/host.mjs +101 -0
  139. package/runtime/js/cm-fix/baseline.mjs +70 -0
  140. package/runtime/js/cm-fix/cause-evidence.mjs +24 -0
  141. package/runtime/js/cm-fix/cause-invocation.mjs +40 -0
  142. package/runtime/js/cm-fix/cause-package.mjs +68 -0
  143. package/runtime/js/cm-fix/dossier.mjs +140 -0
  144. package/runtime/js/cm-fix/execution.mjs +1549 -0
  145. package/runtime/js/cm-fix/final-review-evidence.mjs +20 -0
  146. package/runtime/js/cm-fix/final-review.mjs +156 -0
  147. package/runtime/js/cm-fix/finish.mjs +124 -0
  148. package/runtime/js/cm-fix/handoff.mjs +64 -0
  149. package/runtime/js/cm-fix/host-review.mjs +38 -0
  150. package/runtime/js/cm-fix/host.mjs +96 -0
  151. package/runtime/js/cm-fix/investigation.mjs +25 -0
  152. package/runtime/js/cm-fix/layout.mjs +17 -0
  153. package/runtime/js/cm-fix/learning-writeback.mjs +86 -0
  154. package/runtime/js/cm-fix/learning.mjs +31 -0
  155. package/runtime/js/cm-fix/metrics.mjs +75 -0
  156. package/runtime/js/cm-fix/progress.mjs +64 -0
  157. package/runtime/js/cm-fix/protected-edits.mjs +95 -0
  158. package/runtime/js/cm-fix/qa-source.mjs +58 -0
  159. package/runtime/js/cm-fix/red-test.mjs +92 -0
  160. package/runtime/js/cm-fix/regression-evidence.mjs +64 -0
  161. package/runtime/js/cm-fix/regression.mjs +41 -0
  162. package/runtime/js/cm-fix/repair.mjs +95 -0
  163. package/runtime/js/cm-fix/reproduce.mjs +54 -0
  164. package/runtime/js/cm-fix/retrospective.mjs +41 -0
  165. package/runtime/js/cm-fix/review-baseline.mjs +47 -0
  166. package/runtime/js/cm-fix/start.mjs +49 -0
  167. package/runtime/js/cm-fix/test-author.mjs +63 -0
  168. package/runtime/js/cm-fix/visual.mjs +72 -0
  169. package/runtime/js/cm-fix/walkthrough.mjs +126 -0
  170. package/runtime/js/cm-idea/session.mjs +79 -0
  171. package/runtime/js/cm-init/draft-generation.mjs +66 -0
  172. package/runtime/js/cm-init/draft-inspection.mjs +70 -0
  173. package/runtime/js/cm-init/project-analysis.mjs +60 -0
  174. package/runtime/js/cm-init/project-scan.mjs +55 -0
  175. package/runtime/js/cm-init/review-evidence.mjs +80 -0
  176. package/runtime/js/cm-prd/accepted-design.mjs +46 -0
  177. package/runtime/js/cm-prd/analysis.mjs +260 -0
  178. package/runtime/js/cm-prd/change.mjs +268 -0
  179. package/runtime/js/cm-prd/correction-check.mjs +49 -0
  180. package/runtime/js/cm-prd/design-risk.mjs +30 -0
  181. package/runtime/js/cm-prd/disposition-plan.mjs +33 -0
  182. package/runtime/js/cm-prd/draft-save.mjs +122 -0
  183. package/runtime/js/cm-prd/draft.mjs +70 -0
  184. package/runtime/js/cm-prd/materials.mjs +48 -0
  185. package/runtime/js/cm-prd/review-correction.mjs +158 -0
  186. package/runtime/js/cm-prd/review-disposition.mjs +96 -0
  187. package/runtime/js/cm-prd/review-findings.mjs +36 -0
  188. package/runtime/js/cm-prd/review-host.mjs +48 -0
  189. package/runtime/js/cm-prd/review-preparation.mjs +49 -0
  190. package/runtime/js/cm-prd/review-publication.mjs +56 -0
  191. package/runtime/js/cm-prd/self-check.mjs +75 -0
  192. package/runtime/js/cm-prd/session.mjs +74 -0
  193. package/runtime/js/cm-prd/summary.mjs +133 -0
  194. package/runtime/js/cm-refactor/host.mjs +2 -0
  195. package/runtime/js/cm-refactor/records.mjs +86 -0
  196. package/runtime/js/cm-refactor/workflow.mjs +478 -0
  197. package/runtime/js/cm-test/declared-command.mjs +32 -0
  198. package/runtime/js/cm-test/host.mjs +319 -0
  199. package/runtime/js/cm-test/logic-results.mjs +39 -0
  200. package/runtime/js/cm-test/recovery.mjs +58 -0
  201. package/runtime/js/cm-test/session.mjs +56 -0
  202. package/runtime/js/cm-test/source-snapshot.mjs +136 -0
  203. package/runtime/logging.md +207 -0
  204. package/runtime/model-efficiency.md +201 -0
  205. package/runtime/orchestration.md +113 -0
  206. package/runtime/project-context.md +43 -0
  207. package/runtime/project-learning.md +49 -0
  208. package/runtime/review.md +140 -0
  209. package/runtime/steelman-review.md +111 -0
  210. package/runtime/task-gates.md +283 -0
  211. package/runtime/task-handoff.schema.json +103 -0
  212. package/runtime/test-contract.md +212 -0
  213. package/runtime/workflow-config.md +118 -0
  214. package/runtime/workflow-routing.md +82 -0
  215. package/scripts/cm-ai-admission.mjs +50 -0
  216. package/scripts/cm-ai-admission.test.mjs +38 -0
  217. package/scripts/cm-ai-batch-host.mjs +77 -0
  218. package/scripts/cm-ai-batch-host.test.mjs +155 -0
  219. package/scripts/cm-ai-batch-run.mjs +136 -0
  220. package/scripts/cm-ai-batch-run.test.mjs +128 -0
  221. package/scripts/cm-ai-bootstrap.test.mjs +228 -0
  222. package/scripts/cm-ai-fix-integration.test.mjs +233 -0
  223. package/scripts/cm-ai-host.mjs +175 -0
  224. package/scripts/cm-ai-host.test.mjs +368 -0
  225. package/scripts/cm-ai-multi-root.test.mjs +289 -0
  226. package/scripts/cm-ai-nested-execution.test.mjs +313 -0
  227. package/scripts/cm-ai-run.mjs +293 -0
  228. package/scripts/cm-ai-run.test.mjs +336 -0
  229. package/scripts/cm-check-entry.mjs +120 -0
  230. package/scripts/cm-check-host.mjs +29 -0
  231. package/scripts/cm-check-host.test.mjs +71 -0
  232. package/scripts/cm-check-runtime.ps1 +69 -0
  233. package/scripts/cm-check-runtime.sh +910 -0
  234. package/scripts/cm-claude-probe.test.mjs +54 -0
  235. package/scripts/cm-claude-review-stream.test.mjs +45 -0
  236. package/scripts/cm-claude-worker.test.mjs +92 -0
  237. package/scripts/cm-codex-developer-adapter.test.mjs +85 -0
  238. package/scripts/cm-codex-developer-worker.test.mjs +128 -0
  239. package/scripts/cm-codex-review-progress.test.mjs +96 -0
  240. package/scripts/cm-execution-platform.test.mjs +47 -0
  241. package/scripts/cm-fix-cause-invocation.test.mjs +72 -0
  242. package/scripts/cm-fix-cause-package.test.mjs +68 -0
  243. package/scripts/cm-fix-code-association.test.mjs +55 -0
  244. package/scripts/cm-fix-entry.mjs +132 -0
  245. package/scripts/cm-fix-execution.test.mjs +63 -0
  246. package/scripts/cm-fix-final-review.test.mjs +124 -0
  247. package/scripts/cm-fix-host-review-assembly.test.mjs +34 -0
  248. package/scripts/cm-fix-host-review.test.mjs +261 -0
  249. package/scripts/cm-fix-host-sequence.test.mjs +26 -0
  250. package/scripts/cm-fix-host.mjs +89 -0
  251. package/scripts/cm-fix-host.test.mjs +105 -0
  252. package/scripts/cm-fix-learning-writeback.test.mjs +73 -0
  253. package/scripts/cm-fix-learning.test.mjs +66 -0
  254. package/scripts/cm-fix-metrics.test.mjs +58 -0
  255. package/scripts/cm-fix-no-existing-tests.test.mjs +92 -0
  256. package/scripts/cm-fix-observation-dossier.test.mjs +452 -0
  257. package/scripts/cm-fix-progress.test.mjs +45 -0
  258. package/scripts/cm-fix-protected-edits.test.mjs +54 -0
  259. package/scripts/cm-fix-qa-source.test.mjs +206 -0
  260. package/scripts/cm-fix-red-owner.test.mjs +143 -0
  261. package/scripts/cm-fix-red-test.test.mjs +38 -0
  262. package/scripts/cm-fix-regression.test.mjs +57 -0
  263. package/scripts/cm-fix-repair-owner.test.mjs +370 -0
  264. package/scripts/cm-fix-repair.test.mjs +68 -0
  265. package/scripts/cm-fix-reproduce.test.mjs +31 -0
  266. package/scripts/cm-fix-retrospective.test.mjs +46 -0
  267. package/scripts/cm-fix-review-baseline.test.mjs +54 -0
  268. package/scripts/cm-fix-review-recovery.test.mjs +197 -0
  269. package/scripts/cm-fix-test-author.test.mjs +105 -0
  270. package/scripts/cm-fix-visual-bare.test.mjs +171 -0
  271. package/scripts/cm-fix-walkthrough.test.mjs +45 -0
  272. package/scripts/cm-host-check.test.mjs +113 -0
  273. package/scripts/cm-host-documentation.test.mjs +45 -0
  274. package/scripts/cm-host-handoff.test.mjs +58 -0
  275. package/scripts/cm-host-qa-executor.test.mjs +156 -0
  276. package/scripts/cm-host-qa-policy.test.mjs +59 -0
  277. package/scripts/cm-host-review-authority.test.mjs +60 -0
  278. package/scripts/cm-host-role-routing.test.mjs +33 -0
  279. package/scripts/cm-idea-entry.mjs +104 -0
  280. package/scripts/cm-idea-host.mjs +144 -0
  281. package/scripts/cm-idea-host.test.mjs +75 -0
  282. package/scripts/cm-idea-recovery.test.mjs +90 -0
  283. package/scripts/cm-init-analysis-host.test.mjs +50 -0
  284. package/scripts/cm-init-draft-generation.test.mjs +52 -0
  285. package/scripts/cm-init-draft-inspection.test.mjs +41 -0
  286. package/scripts/cm-init-entry.mjs +170 -0
  287. package/scripts/cm-init-host.mjs +284 -0
  288. package/scripts/cm-init-host.test.mjs +231 -0
  289. package/scripts/cm-init-project-analysis.test.mjs +47 -0
  290. package/scripts/cm-init-project-scan.test.mjs +41 -0
  291. package/scripts/cm-init-revision-host.test.mjs +61 -0
  292. package/scripts/cm-init-session.test.mjs +122 -0
  293. package/scripts/cm-log-event.mjs +538 -0
  294. package/scripts/cm-log-event.py +133 -0
  295. package/scripts/cm-log-event.test.mjs +70 -0
  296. package/scripts/cm-openai-compatible-call.py +661 -0
  297. package/scripts/cm-prd-analysis.test.mjs +67 -0
  298. package/scripts/cm-prd-completion.test.mjs +190 -0
  299. package/scripts/cm-prd-design-phase.test.mjs +296 -0
  300. package/scripts/cm-prd-draft-save.test.mjs +63 -0
  301. package/scripts/cm-prd-draft.test.mjs +39 -0
  302. package/scripts/cm-prd-entry.mjs +245 -0
  303. package/scripts/cm-prd-host.mjs +273 -0
  304. package/scripts/cm-prd-host.test.mjs +169 -0
  305. package/scripts/cm-prd-materials.test.mjs +41 -0
  306. package/scripts/cm-prd-review-claim.test.mjs +42 -0
  307. package/scripts/cm-prd-review-disposition.test.mjs +196 -0
  308. package/scripts/cm-prd-review-gate.mjs +194 -0
  309. package/scripts/cm-prd-review-gate.py +26 -0
  310. package/scripts/cm-prd-review-host.test.mjs +30 -0
  311. package/scripts/cm-prd-review-preparation.test.mjs +69 -0
  312. package/scripts/cm-prd-review-publication.test.mjs +95 -0
  313. package/scripts/cm-prd-revision.test.mjs +32 -0
  314. package/scripts/cm-prd-self-check.test.mjs +23 -0
  315. package/scripts/cm-prd-sources.test.mjs +76 -0
  316. package/scripts/cm-prd-timing.py +272 -0
  317. package/scripts/cm-refactor-entry.mjs +145 -0
  318. package/scripts/cm-refactor-host.mjs +26 -0
  319. package/scripts/cm-refactor-host.test.mjs +201 -0
  320. package/scripts/cm-review-dependency-snapshot.test.mjs +67 -0
  321. package/scripts/cm-review-inventory.test.mjs +109 -0
  322. package/scripts/cm-spec-manifest.mjs +104 -0
  323. package/scripts/cm-spec-manifest.py +26 -0
  324. package/scripts/cm-task-gate.mjs +879 -0
  325. package/scripts/cm-task-gate.py +312 -0
  326. package/scripts/cm-task-gate.test.mjs +202 -0
  327. package/scripts/cm-test-declared-command.test.mjs +18 -0
  328. package/scripts/cm-test-entry.mjs +231 -0
  329. package/scripts/cm-test-host.mjs +40 -0
  330. package/scripts/cm-test-host.test.mjs +169 -0
  331. package/scripts/cm-test-logic-results.test.mjs +26 -0
  332. package/scripts/cm-test-session.test.mjs +138 -0
  333. package/scripts/cm-usage-report.py +516 -0
  334. package/scripts/cm-workflow-config.mjs +463 -0
  335. package/scripts/cm-workflow-config.test.mjs +181 -0
  336. package/scripts/cm-workflow.mjs +36 -0
  337. package/scripts/cm-workflow.test.mjs +51 -0
  338. package/scripts/cm_workflow_config.py +52 -0
  339. package/scripts/fixtures/claude-review-process.mjs +35 -0
  340. package/scripts/fixtures/codex-review-process.mjs +22 -0
  341. package/scripts/fixtures/prd-review-gate-python-oracle.py +320 -0
  342. package/scripts/fixtures/spec-manifest-python-oracle.py +172 -0
  343. package/scripts/scan-public-safety.py +117 -0
  344. package/scripts/test-cm-log-event.py +1213 -0
  345. package/scripts/test-cm-openai-compatible-call.py +1185 -0
  346. package/scripts/test-cm-prd-review-gate.py +272 -0
  347. package/scripts/test-cm-prd-timing.py +168 -0
  348. package/scripts/test-cm-usage-report.py +584 -0
  349. package/scripts/test-npm-install.py +171 -0
  350. package/scripts/test-scan-public-safety.py +76 -0
  351. package/scripts/test-shell-compat.sh +365 -0
  352. package/scripts/test-spec-manifest.py +263 -0
  353. package/scripts/test-task-gate.py +46 -0
  354. package/scripts/test-workflow-config.py +30 -0
  355. package/scripts/validate-public-repo.py +245 -0
  356. package/scripts/validate-test-cases.mjs +71 -0
  357. package/scripts/validate-test-cases.py +27 -0
  358. package/scripts/validate-test-cases.test.mjs +36 -0
  359. package/skills/cm-ai/SKILL.md +137 -0
  360. package/skills/cm-ai/references/N1-init.md +108 -0
  361. package/skills/cm-ai/references/N2-enter-feature.md +38 -0
  362. package/skills/cm-ai/references/N3-execute-task.md +123 -0
  363. package/skills/cm-ai/references/N4-review.md +103 -0
  364. package/skills/cm-ai/references/N5-mark-done.md +117 -0
  365. package/skills/cm-ai/references/N6-qa-eval.md +102 -0
  366. package/skills/cm-ai/references/N7-context.md +23 -0
  367. package/skills/cm-ai/references/N8-finish.md +103 -0
  368. package/skills/cm-ai/references/js-host.md +126 -0
  369. package/skills/cm-backend-engineer/SKILL.md +100 -0
  370. package/skills/cm-check/SKILL.md +52 -0
  371. package/skills/cm-check/references/js-host.md +44 -0
  372. package/skills/cm-contract-engineer/SKILL.md +136 -0
  373. package/skills/cm-database-engineer/SKILL.md +89 -0
  374. package/skills/cm-devops-engineer/SKILL.md +137 -0
  375. package/skills/cm-doc-syncer/SKILL.md +150 -0
  376. package/skills/cm-finance-expert/SKILL.md +85 -0
  377. package/skills/cm-fix/SKILL.md +199 -0
  378. package/skills/cm-fix/references/cross-boundary-debugging.md +44 -0
  379. package/skills/cm-fix/references/js-host.md +135 -0
  380. package/skills/cm-frontend-engineer/SKILL.md +127 -0
  381. package/skills/cm-idea/SKILL.md +55 -0
  382. package/skills/cm-idea/references/domains/trading.md +97 -0
  383. package/skills/cm-idea/references/example-prd.md +92 -0
  384. package/skills/cm-idea/references/idea-to-prd.md +282 -0
  385. package/skills/cm-idea/references/js-host.md +63 -0
  386. package/skills/cm-init/SKILL.md +191 -0
  387. package/skills/cm-init/references/js-host.md +123 -0
  388. package/skills/cm-miniprogram-engineer/SKILL.md +141 -0
  389. package/skills/cm-miniprogram-engineer/references/platform-readiness.md +58 -0
  390. package/skills/cm-miniprogram-engineer/references/release-checklist.md +59 -0
  391. package/skills/cm-prd/SKILL.md +548 -0
  392. package/skills/cm-prd/references/brownfield.md +13 -0
  393. package/skills/cm-prd/references/change-mode.md +145 -0
  394. package/skills/cm-prd/references/context-scope.md +62 -0
  395. package/skills/cm-prd/references/greenfield.md +80 -0
  396. package/skills/cm-prd/references/js-change-recovery.md +57 -0
  397. package/skills/cm-prd/references/js-host.md +98 -0
  398. package/skills/cm-prd/references/phase-timing.md +68 -0
  399. package/skills/cm-prd/references/spec-self-check.md +22 -0
  400. package/skills/cm-product-manager/SKILL.md +83 -0
  401. package/skills/cm-qa-engineer/SKILL.md +142 -0
  402. package/skills/cm-refactor/SKILL.md +236 -0
  403. package/skills/cm-refactor/references/js-batch.md +75 -0
  404. package/skills/cm-refactor/references/js-host.md +78 -0
  405. package/skills/cm-test/SKILL.md +288 -0
  406. package/skills/cm-test/references/js-host.md +118 -0
  407. package/skills/cm-ui-engineer/SKILL.md +105 -0
  408. package/skills/codebase-context/SKILL.md +489 -0
  409. package/skills/darwin-skill/NOTICE.md +26 -0
  410. package/skills/darwin-skill/README.md +272 -0
  411. package/skills/darwin-skill/SKILL.md +492 -0
  412. package/skills/darwin-skill/references/runtime-neutrality.md +68 -0
  413. package/skills/darwin-skill/references/skilllens-evidence.md +142 -0
  414. package/skills/darwin-skill/scripts/screenshot.mjs +71 -0
  415. package/skills/darwin-skill/templates/result-card-dark.html +698 -0
  416. package/skills/darwin-skill/templates/result-card-white.html +444 -0
  417. package/skills/darwin-skill/templates/result-card.html +616 -0
  418. package/skills/external-expert/SKILL.md +250 -0
  419. package/templates/arch-reference.md +68 -0
  420. package/templates/auto-update/cm-announce.sh +19 -0
  421. package/templates/auto-update/cm-update.sh +274 -0
  422. package/templates/cm-workflow.yml +52 -0
  423. package/templates/dashboard/dashboard.html +153 -0
  424. package/templates/dashboard/serve.sh +10 -0
  425. package/templates/hooks/pre-commit-cm-task-check +67 -0
  426. package/templates/pixel/cm-pixel.html +388 -0
  427. package/templates/pixel/cm-pixel.sh +212 -0
  428. package/templates/pixel/dev/README.md +20 -0
  429. package/templates/pixel/dev/atlas-preview.png +0 -0
  430. package/templates/pixel/dev/build.py +55 -0
  431. package/templates/pixel/dev/sheets/roguelikeChar_transparent.png +0 -0
  432. package/templates/pixel/dev/sheets/roguelikeCity_tilemap.png +0 -0
  433. package/templates/pixel/dev/sheets/roguelikeIndoor_transparent.png +0 -0
  434. package/templates/pixel/dev/template.html +388 -0
  435. package/templates/pixel/serve.sh +12 -0
  436. package/templates/refactor/cm-refactor-denies.json +14 -0
  437. package/templates/rules/backend-api.md +36 -0
  438. package/templates/rules/coding-style.md +44 -0
  439. package/templates/rules/database.md +27 -0
  440. package/templates/rules/finance.md +32 -0
  441. package/templates/rules/frontend.md +32 -0
  442. package/templates/rules/git-workflow.md +25 -0
  443. package/templates/rules/miniprogram.md +31 -0
  444. package/templates/rules/security.md +31 -0
  445. package/templates/rules/smart-contract.md +28 -0
  446. package/templates/rules/testing.md +36 -0
  447. package/templates/statusline/cm-statusline.sh +73 -0
  448. package/templates/ui-lens/cm-ui-lens-extract.mjs +55 -0
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: cm-frontend-agent
3
+ description: 前端开发子 agent。由 /cm-ai 在并行执行 Web 前端任务时派发,负责流程纪律(任务边界、上下文、汇报、退出),具体开发规范由 cm-frontend-engineer skill 提供。
4
+ ---
5
+
6
+ # cm-frontend-agent — 前端开发子 agent
7
+
8
+ 你是被主流程派发的前端开发子 agent。**agent 管纪律,skill 管技术**——你的职责是守住流程边界,开发方法完全遵循 skill。
9
+
10
+ ## 执行流程
11
+
12
+ 1. **加载 skill**:读取并严格遵循 `cm-frontend-engineer` skill,它是开发方法的唯一准则
13
+ 2. **读取上下文**:派发指令中给出的 specs 摘录(requirements/design/tasks 相关部分)+ 代码项目的 `.claude/CLAUDE.md` 和 `.claude/rules/`
14
+ 3. **只做指定任务**:严格按派发指令中的任务编号(T-xxx)执行,不顺手做其他任务
15
+
16
+ ## 边界约束(不可违反)
17
+
18
+ - **不修改**任务范围之外的文件;发现必须跨界的改动 → 停止并在汇报中说明
19
+ - **不自行标记** tasks.md —— 标记完成是主流程 N5 的职责
20
+ - **不自行执行** review —— 审查是主流程 N4 的职责
21
+ - **不得修改 `.claude/` 下任何文件**(CLAUDE.md、rules/)——规范异议写入汇报,由主流程处理
22
+ - 涉及接口契约(API 字段、schema、事件格式)的决定 → 以 design.md 为准,design.md 未覆盖的在汇报中明确列出
23
+
24
+ ## 完成后汇报(固定格式)
25
+
26
+ ```text
27
+ 📦 T-{编号} 完成汇报
28
+ - 变更文件: {列表}
29
+ - 验证结果: {lint / typecheck / build 结果}
30
+ - 契约相关: {新增或依赖的接口约定,无则写"无"}
31
+ - 需其他工种配合: {事项,无则写"无"}
32
+ - 建议写入 LESSONS: {要点,无则写"无"}
33
+ ```
@@ -0,0 +1,33 @@
1
+ ---
2
+ name: cm-miniprogram-agent
3
+ description: 微信小程序开发子 agent。由 /cm-ai 在并行执行小程序任务时派发,负责流程纪律(任务边界、上下文、汇报、退出),具体开发规范由 cm-miniprogram-engineer skill 提供。
4
+ ---
5
+
6
+ # cm-miniprogram-agent — 小程序开发子 agent
7
+
8
+ 你是被主流程派发的微信小程序开发子 agent。**agent 管纪律,skill 管技术**——你的职责是守住流程边界,开发方法完全遵循 skill。
9
+
10
+ ## 执行流程
11
+
12
+ 1. **加载 skill**:读取并严格遵循 `cm-miniprogram-engineer` skill,它是开发方法的唯一准则
13
+ 2. **读取上下文**:派发指令中给出的 specs 摘录 + 代码项目的 `.claude/CLAUDE.md` 和 `.claude/rules/`
14
+ 3. **只做指定任务**:严格按派发指令中的任务编号(T-xxx)执行,不顺手做其他任务
15
+
16
+ ## 边界约束(不可违反)
17
+
18
+ - **不修改**任务范围之外的文件;发现必须跨界的改动 → 停止并在汇报中说明
19
+ - **不自行标记** tasks.md —— 标记完成是主流程 N5 的职责
20
+ - **不自行执行** review —— 审查是主流程 N4 的职责
21
+ - **不得修改 `.claude/` 下任何文件**(CLAUDE.md、rules/)——规范异议写入汇报,由主流程处理
22
+ - 后端接口约定以 design.md 为准,design.md 未覆盖的在汇报中明确列出
23
+
24
+ ## 完成后汇报(固定格式)
25
+
26
+ ```text
27
+ 📦 T-{编号} 完成汇报
28
+ - 变更文件: {列表,含四件套及 app.json 路由变更}
29
+ - 验证结果: {编译 / lint / build 结果}
30
+ - 契约相关: {依赖的后端接口、需配置的合法域名,无则写"无"}
31
+ - 需其他工种配合: {事项,无则写"无"}
32
+ - 建议写入 LESSONS: {要点,无则写"无"}
33
+ ```
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: cm-ui-agent
3
+ description: UI 还原子 agent。由 /cm-ai 在并行执行 UI 还原任务时派发,负责流程纪律(任务边界、上下文、汇报、退出),具体还原方法由 cm-ui-engineer skill 提供。
4
+ ---
5
+
6
+ # cm-ui-agent — UI 还原子 agent
7
+
8
+ 你是被主流程派发的 UI 还原子 agent。**agent 管纪律,skill 管技术**——你的职责是守住流程边界,还原方法完全遵循 skill。
9
+
10
+ ## 执行流程
11
+
12
+ 1. **加载 skill**:读取并严格遵循 `cm-ui-engineer` skill,它是还原方法的唯一准则
13
+ 2. **读取上下文**:派发指令中给出的 specs 摘录 + 设计基准路径(`design-baseline/`)+ 代码项目的 `.claude/CLAUDE.md` 和 `.claude/rules/`
14
+ 3. **只做指定任务**:严格按派发指令中的任务编号(T-xxx)执行,不顺手做其他任务
15
+
16
+ ## 边界约束(不可违反)
17
+
18
+ - **只碰展示层文件**:组件公共目录(如 `components/ui/`)、样式与 token 文件、静态资产、本任务的页面静态结构;**不碰**业务逻辑、API 层、路由配置
19
+ - **不修改设计基准文件**(`design-baseline/` 只读)
20
+ - **不修改既有 token 值**——需要改 → 停止并写入汇报「契约相关」栏(新增 token 可自由添加)
21
+ - **不自行标记** tasks.md、**不自行执行** review、**不修改** design.md(契约偏差只报不改)
22
+ - **不得修改 `.claude/` 下任何文件**(CLAUDE.md、rules/)——规范异议写入汇报,由主流程处理
23
+ - 基准缺失状态/断点 → 上报,**不脑补设计**;执行期不向用户征求设计意见
24
+
25
+ ## 完成后汇报(固定格式)
26
+
27
+ ```text
28
+ 📦 T-{编号} 完成汇报
29
+ - 变更文件: {token / 组件 / 页面 / 资产列表}
30
+ - 验证结果: {BackstopJS 各断点 mismatch 值 + 白名单项}
31
+ - 契约相关: {组件契约实现情况、token 变更清单,无则写"无"}
32
+ - 需其他工种配合: {前端可接线的组件清单及 props,无则写"无"}
33
+ - 建议写入 LESSONS: {要点,无则写"无"}
34
+ ```
@@ -0,0 +1,56 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="720" height="1180" viewBox="0 0 720 1180" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow 移动版命令选择器</title>
3
+ <desc id="desc">在手机上按需求开发、验证维护两类目标选择八个 CM Workflow 入口。</desc>
4
+ <rect width="720" height="1180" rx="28" fill="#F4F0E8"/>
5
+ <text x="40" y="72" fill="#151515" font-family="Georgia, 'Noto Serif SC', serif" font-size="40" font-weight="700">你现在要做什么?</text>
6
+ <text x="680" y="108" text-anchor="end" fill="#777168" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" letter-spacing="1.5">COMMAND PICKER / 01</text>
7
+
8
+ <rect x="40" y="140" width="640" height="446" rx="18" fill="#FFFFFF" stroke="#D3CCC1"/>
9
+ <rect x="40" y="140" width="10" height="446" rx="5" fill="#C44B32"/>
10
+ <text x="78" y="190" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="700" letter-spacing="2">CREATE / 需求与开发</text>
11
+
12
+ <circle cx="85" cy="252" r="8" fill="#C44B32"/>
13
+ <text x="116" y="260" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">只有一个模糊点子</text>
14
+ <text x="640" y="260" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-idea</text>
15
+ <line x1="78" y1="291" x2="642" y2="291" stroke="#E2DDD4"/>
16
+
17
+ <circle cx="85" cy="348" r="8" fill="#C44B32"/>
18
+ <text x="116" y="356" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">第一次接管代码项目</text>
19
+ <text x="640" y="356" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-init</text>
20
+ <line x1="78" y1="387" x2="642" y2="387" stroke="#E2DDD4"/>
21
+
22
+ <circle cx="85" cy="444" r="8" fill="#C44B32"/>
23
+ <text x="116" y="452" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">已有需求或要做变更</text>
24
+ <text x="640" y="452" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-prd</text>
25
+ <line x1="78" y1="483" x2="642" y2="483" stroke="#E2DDD4"/>
26
+
27
+ <circle cx="85" cy="540" r="8" fill="#C44B32"/>
28
+ <text x="116" y="548" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">规格已经人工确认</text>
29
+ <text x="640" y="548" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-ai</text>
30
+
31
+ <rect x="40" y="618" width="640" height="446" rx="18" fill="#151515"/>
32
+ <rect x="40" y="618" width="10" height="446" rx="5" fill="#2E6655"/>
33
+ <text x="78" y="668" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="700" letter-spacing="2">VERIFY / 维护与验证</text>
34
+
35
+ <circle cx="85" cy="730" r="8" fill="#6D9A89"/>
36
+ <text x="116" y="738" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">验证已经实现的功能</text>
37
+ <text x="640" y="738" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-test</text>
38
+ <line x1="78" y1="769" x2="642" y2="769" stroke="#3A3A3A"/>
39
+
40
+ <circle cx="85" cy="826" r="8" fill="#6D9A89"/>
41
+ <text x="116" y="834" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">确认是可复现缺陷</text>
42
+ <text x="640" y="834" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-fix</text>
43
+ <line x1="78" y1="865" x2="642" y2="865" stroke="#3A3A3A"/>
44
+
45
+ <circle cx="85" cy="922" r="8" fill="#6D9A89"/>
46
+ <text x="116" y="930" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">只改结构,不改行为</text>
47
+ <text x="640" y="930" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-refactor</text>
48
+ <line x1="78" y1="961" x2="642" y2="961" stroke="#3A3A3A"/>
49
+
50
+ <circle cx="85" cy="1018" r="8" fill="#6D9A89"/>
51
+ <text x="116" y="1026" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="24">安装或工作流入口异常</text>
52
+ <text x="640" y="1026" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="22" font-weight="700">$cm-check</text>
53
+
54
+ <text x="360" y="1118" text-anchor="middle" fill="#5F5A52" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="700">TEST DOES NOT FIX · FIX DOES NOT DESIGN</text>
55
+ <text x="360" y="1146" text-anchor="middle" fill="#5F5A52" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="700">REFACTOR DOES NOT CHANGE BEHAVIOR</text>
56
+ </svg>
@@ -0,0 +1,56 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="570" viewBox="0 0 1200 570" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow 命令选择器</title>
3
+ <desc id="desc">按需求开发、验证维护两类目标选择八个 CM Workflow 入口。</desc>
4
+ <rect width="1200" height="570" rx="24" fill="#F4F0E8"/>
5
+ <text x="60" y="67" fill="#151515" font-family="Georgia, 'Noto Serif SC', serif" font-size="38" font-weight="700">你现在要做什么?</text>
6
+ <text x="1140" y="63" text-anchor="end" fill="#777168" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" letter-spacing="1.5">COMMAND PICKER / 01</text>
7
+ <line x1="60" y1="94" x2="1140" y2="94" stroke="#C9C1B5"/>
8
+
9
+ <rect x="60" y="124" width="520" height="342" rx="16" fill="#FFFFFF" stroke="#D3CCC1"/>
10
+ <rect x="60" y="124" width="10" height="342" rx="5" fill="#C44B32"/>
11
+ <text x="98" y="169" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="700" letter-spacing="2">CREATE / 需求与开发</text>
12
+
13
+ <circle cx="105" cy="218" r="7" fill="#C44B32"/>
14
+ <text x="132" y="225" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">只有一个模糊点子</text>
15
+ <text x="535" y="225" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-idea</text>
16
+ <line x1="98" y1="248" x2="542" y2="248" stroke="#E2DDD4"/>
17
+
18
+ <circle cx="105" cy="287" r="7" fill="#C44B32"/>
19
+ <text x="132" y="294" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">第一次接管代码项目</text>
20
+ <text x="535" y="294" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-init</text>
21
+ <line x1="98" y1="317" x2="542" y2="317" stroke="#E2DDD4"/>
22
+
23
+ <circle cx="105" cy="356" r="7" fill="#C44B32"/>
24
+ <text x="132" y="363" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">已有需求或要做变更</text>
25
+ <text x="535" y="363" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-prd</text>
26
+ <line x1="98" y1="386" x2="542" y2="386" stroke="#E2DDD4"/>
27
+
28
+ <circle cx="105" cy="425" r="7" fill="#C44B32"/>
29
+ <text x="132" y="432" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">规格已经人工确认</text>
30
+ <text x="535" y="432" text-anchor="end" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-ai</text>
31
+
32
+ <rect x="620" y="124" width="520" height="342" rx="16" fill="#151515"/>
33
+ <rect x="620" y="124" width="10" height="342" rx="5" fill="#2E6655"/>
34
+ <text x="658" y="169" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="700" letter-spacing="2">VERIFY / 维护与验证</text>
35
+
36
+ <circle cx="665" cy="218" r="7" fill="#6D9A89"/>
37
+ <text x="692" y="225" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">验证已经实现的功能</text>
38
+ <text x="1095" y="225" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-test</text>
39
+ <line x1="658" y1="248" x2="1102" y2="248" stroke="#3A3A3A"/>
40
+
41
+ <circle cx="665" cy="287" r="7" fill="#6D9A89"/>
42
+ <text x="692" y="294" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">确认是可复现缺陷</text>
43
+ <text x="1095" y="294" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-fix</text>
44
+ <line x1="658" y1="317" x2="1102" y2="317" stroke="#3A3A3A"/>
45
+
46
+ <circle cx="665" cy="356" r="7" fill="#6D9A89"/>
47
+ <text x="692" y="363" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">只改结构,不改行为</text>
48
+ <text x="1095" y="363" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-refactor</text>
49
+ <line x1="658" y1="386" x2="1102" y2="386" stroke="#3A3A3A"/>
50
+
51
+ <circle cx="665" cy="425" r="7" fill="#6D9A89"/>
52
+ <text x="692" y="432" fill="#F4F0E8" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20">安装或工作流入口异常</text>
53
+ <text x="1095" y="432" text-anchor="end" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="700">$cm-check</text>
54
+
55
+ <text x="600" y="521" text-anchor="middle" fill="#5F5A52" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="700" letter-spacing=".8">TEST DOES NOT FIX · FIX DOES NOT DESIGN · REFACTOR DOES NOT CHANGE BEHAVIOR</text>
56
+ </svg>
@@ -0,0 +1,35 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="720" height="720" viewBox="0 0 720 720" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow 使用手册移动版封面</title>
3
+ <desc id="desc">CM Workflow 的命令前缀和三条入门原则。</desc>
4
+ <rect width="720" height="720" rx="28" fill="#F4F0E8"/>
5
+ <path d="M0 28C0 12.536 12.536 0 28 0h664c15.464 0 28 12.536 28 28v22H0z" fill="#151515"/>
6
+ <circle cx="30" cy="25" r="5" fill="#C44B32"/>
7
+ <circle cx="49" cy="25" r="5" fill="#F4F0E8" opacity=".65"/>
8
+ <circle cx="68" cy="25" r="5" fill="#2E6655"/>
9
+
10
+ <text x="44" y="105" fill="#C44B32" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="700" letter-spacing="2">CREATE MORE / START HERE</text>
11
+ <text x="44" y="163" fill="#151515" font-family="Georgia, 'Noto Serif SC', serif" font-size="43" font-weight="700">CM Workflow 使用手册</text>
12
+ <text x="44" y="204" fill="#5F5A52" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="23">从“我现在该用哪个命令”开始。</text>
13
+
14
+ <rect x="44" y="244" width="300" height="76" rx="11" fill="#151515"/>
15
+ <text x="66" y="271" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" font-weight="700" letter-spacing="1.5">CODEX</text>
16
+ <text x="66" y="302" fill="#F4F0E8" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="24">$cm-*</text>
17
+ <rect x="360" y="244" width="316" height="76" rx="11" fill="#FFFFFF" stroke="#C9C1B5"/>
18
+ <text x="382" y="271" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" font-weight="700" letter-spacing="1.5">CLAUDE CODE</text>
19
+ <text x="382" y="302" fill="#151515" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="24">/cm-*</text>
20
+
21
+ <text x="44" y="382" fill="#777168" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" font-weight="700" letter-spacing="2">THREE RULES</text>
22
+ <line x1="44" y1="403" x2="676" y2="403" stroke="#C9C1B5"/>
23
+
24
+ <text x="44" y="464" fill="#C44B32" font-family="Georgia, serif" font-size="34" font-weight="700">01</text>
25
+ <text x="112" y="458" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="25" font-weight="650">每个项目只需初始化一次</text>
26
+ <text x="112" y="488" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="17">INIT ONCE</text>
27
+
28
+ <text x="44" y="554" fill="#C44B32" font-family="Georgia, serif" font-size="34" font-weight="700">02</text>
29
+ <text x="112" y="548" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="25" font-weight="650">先确认规格,再执行实现</text>
30
+ <text x="112" y="578" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="17">PRD → REVIEW → AI</text>
31
+
32
+ <text x="44" y="644" fill="#C44B32" font-family="Georgia, serif" font-size="34" font-weight="700">03</text>
33
+ <text x="112" y="638" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="25" font-weight="650">测试只报告,修复才改代码</text>
34
+ <text x="112" y="668" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="17">TEST REPORTS · FIX CHANGES</text>
35
+ </svg>
@@ -0,0 +1,36 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow 使用手册</title>
3
+ <desc id="desc">从当前目标出发,选择正确命令,理解写入边界,并在新会话中继续工作。</desc>
4
+ <rect width="1200" height="360" rx="24" fill="#F4F0E8"/>
5
+ <path d="M0 24C0 10.745 10.745 0 24 0h1152c13.255 0 24 10.745 24 24v8H0z" fill="#151515"/>
6
+ <circle cx="31" cy="16" r="4" fill="#C44B32"/>
7
+ <circle cx="47" cy="16" r="4" fill="#F4F0E8" opacity=".65"/>
8
+ <circle cx="63" cy="16" r="4" fill="#2E6655"/>
9
+
10
+ <text x="68" y="91" fill="#C44B32" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="700" letter-spacing="2">CREATE MORE / START HERE</text>
11
+ <text x="68" y="145" fill="#151515" font-family="Georgia, 'Noto Serif SC', serif" font-size="43" font-weight="700">CM Workflow 使用手册</text>
12
+ <text x="68" y="184" fill="#5F5A52" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="21">从“我现在该用哪个命令”开始。</text>
13
+
14
+ <rect x="68" y="224" width="220" height="64" rx="10" fill="#151515"/>
15
+ <text x="88" y="249" fill="#A7C3B9" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="13" font-weight="700" letter-spacing="1.5">CODEX</text>
16
+ <text x="88" y="274" fill="#F4F0E8" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="20">$cm-*</text>
17
+
18
+ <rect x="304" y="224" width="220" height="64" rx="10" fill="#FFFFFF" stroke="#C9C1B5"/>
19
+ <text x="324" y="249" fill="#A3412D" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="13" font-weight="700" letter-spacing="1.5">CLAUDE CODE</text>
20
+ <text x="324" y="274" fill="#151515" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="20">/cm-*</text>
21
+
22
+ <line x1="608" y1="76" x2="608" y2="296" stroke="#C9C1B5"/>
23
+ <text x="660" y="92" fill="#777168" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="14" font-weight="700" letter-spacing="2">THREE RULES</text>
24
+
25
+ <text x="660" y="145" fill="#C44B32" font-family="Georgia, serif" font-size="28" font-weight="700">01</text>
26
+ <text x="714" y="143" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20" font-weight="650">每个项目只需初始化一次</text>
27
+ <text x="714" y="168" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="15">INIT ONCE</text>
28
+
29
+ <text x="660" y="218" fill="#C44B32" font-family="Georgia, serif" font-size="28" font-weight="700">02</text>
30
+ <text x="714" y="216" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20" font-weight="650">先确认规格,再执行实现</text>
31
+ <text x="714" y="241" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="15">PRD → REVIEW → AI</text>
32
+
33
+ <text x="660" y="291" fill="#C44B32" font-family="Georgia, serif" font-size="28" font-weight="700">03</text>
34
+ <text x="714" y="289" fill="#151515" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="20" font-weight="650">测试只报告,修复才改代码</text>
35
+ <text x="714" y="314" fill="#777168" font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif" font-size="15">TEST REPORTS · FIX CHANGES</text>
36
+ </svg>
@@ -0,0 +1,86 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow delivery case file</title>
3
+ <desc id="desc">A warm editorial case file showing how Create More is constrained by approved specifications, scoped implementation, task review evidence, and QA.</desc>
4
+
5
+ <rect width="1200" height="360" fill="#F4F0E8"/>
6
+ <path d="M48 38H1152M48 316H1152" stroke="#151515" stroke-width="1.5"/>
7
+
8
+ <text x="48" y="70" fill="#C44B32" font-size="18" font-weight="800"
9
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace" letter-spacing="2">DELIVERY CASE FILE</text>
10
+ <text x="48" y="108" fill="#151515" font-size="30" font-weight="700"
11
+ font-family="Georgia, Songti SC, serif">一份任务,如何形成可交付记录</text>
12
+ <text x="1152" y="70" fill="#777168" font-size="17" text-anchor="end"
13
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">CASE · CM-001</text>
14
+
15
+ <path d="M104 213H1096" stroke="#AAA399" stroke-width="2"/>
16
+
17
+ <g transform="translate(48 142)">
18
+ <rect width="168" height="126" fill="#FAF8F2" stroke="#AAA399"/>
19
+ <rect x="16" y="18" width="26" height="26" fill="#151515"/>
20
+ <text x="29" y="37" fill="#F4F0E8" font-size="15" font-weight="800" text-anchor="middle"
21
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">01</text>
22
+ <text x="16" y="72" fill="#151515" font-size="21" font-weight="800"
23
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">需求登记</text>
24
+ <text x="16" y="101" fill="#777168" font-size="16"
25
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">IDEA / PRD</text>
26
+ </g>
27
+
28
+ <g transform="translate(232 142)">
29
+ <rect width="168" height="126" fill="#FAF8F2" stroke="#AAA399"/>
30
+ <rect x="16" y="18" width="26" height="26" fill="#151515"/>
31
+ <text x="29" y="37" fill="#F4F0E8" font-size="15" font-weight="800" text-anchor="middle"
32
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">02</text>
33
+ <text x="16" y="72" fill="#151515" font-size="21" font-weight="800"
34
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">规格成档</text>
35
+ <text x="16" y="99" fill="#777168" font-size="14"
36
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">REQ · DESIGN</text>
37
+ <text x="16" y="118" fill="#777168" font-size="14"
38
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">TASKS · CASES</text>
39
+ </g>
40
+
41
+ <g transform="translate(416 142)">
42
+ <rect width="168" height="126" fill="#FAF8F2" stroke="#AAA399"/>
43
+ <rect x="16" y="18" width="26" height="26" fill="#C44B32"/>
44
+ <path d="M22 31l6 6 10-14" fill="none" stroke="#FFF8ED" stroke-width="3"/>
45
+ <text x="16" y="72" fill="#151515" font-size="21" font-weight="800"
46
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">人工确认</text>
47
+ <text x="16" y="101" fill="#C44B32" font-size="16" font-weight="800"
48
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">APPROVED</text>
49
+ </g>
50
+
51
+ <g transform="translate(600 142)">
52
+ <rect width="168" height="126" fill="#FAF8F2" stroke="#AAA399"/>
53
+ <rect x="16" y="18" width="26" height="26" fill="#151515"/>
54
+ <text x="29" y="37" fill="#F4F0E8" font-size="15" font-weight="800" text-anchor="middle"
55
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">04</text>
56
+ <text x="16" y="72" fill="#151515" font-size="21" font-weight="800"
57
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">逐任务实现</text>
58
+ <text x="16" y="101" fill="#777168" font-size="15"
59
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">SCOPED CHANGE</text>
60
+ </g>
61
+
62
+ <g transform="translate(784 142)">
63
+ <rect width="168" height="126" fill="#FAF8F2" stroke="#C44B32" stroke-width="2"/>
64
+ <rect x="16" y="18" width="26" height="26" fill="#C44B32"/>
65
+ <path d="M22 31l6 6 10-14" fill="none" stroke="#FFF8ED" stroke-width="3"/>
66
+ <text x="16" y="72" fill="#151515" font-size="21" font-weight="800"
67
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">任务审查</text>
68
+ <text x="16" y="101" fill="#C44B32" font-size="16" font-weight="800"
69
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">EVIDENCE</text>
70
+ </g>
71
+
72
+ <g transform="translate(968 142)">
73
+ <rect width="184" height="126" fill="#2E6655"/>
74
+ <rect x="16" y="18" width="26" height="26" fill="none" stroke="#F4F0E8" stroke-width="2"/>
75
+ <path d="M22 31l6 6 10-14" fill="none" stroke="#F4F0E8" stroke-width="3"/>
76
+ <text x="16" y="72" fill="#F4F0E8" font-size="21" font-weight="800"
77
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">QA &amp; 归档</text>
78
+ <text x="16" y="101" fill="#F4F0E8" font-size="16" font-weight="800"
79
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">DELIVERABLE</text>
80
+ </g>
81
+
82
+ <text x="48" y="298" fill="#C44B32" font-size="16" font-weight="800"
83
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">CREATE MORE · EVIDENCE FIRST</text>
84
+ <text x="1152" y="298" fill="#2E6655" font-size="16" font-weight="800" text-anchor="end"
85
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">FILED ✓</text>
86
+ </svg>
@@ -0,0 +1,77 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM means Create More — CM Workflow</title>
3
+ <desc id="desc">An editorial evidence ledger showing how CM Workflow turns more ideas into reviewable, testable, and recoverable delivery.</desc>
4
+
5
+ <rect width="1200" height="360" fill="#F4F0E8"/>
6
+ <path d="M52 40H1148M52 320H1148M720 40V320" stroke="#151515" stroke-width="1.5"/>
7
+
8
+ <text x="52" y="70" fill="#C44B32" font-size="18" font-weight="700"
9
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace" letter-spacing="2">CM = CREATE MORE</text>
10
+
11
+ <g id="identity" transform="translate(52 92)">
12
+ <text x="0" y="72" fill="#151515" font-size="72" font-weight="700"
13
+ font-family="Georgia, Songti SC, serif">CM Workflow</text>
14
+ <text x="2" y="120" fill="#3E3A35" font-size="23" font-weight="550"
15
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, sans-serif">让更多想法,成为可审查、可测试、可恢复的交付。</text>
16
+
17
+ <g transform="translate(2 160)">
18
+ <rect width="232" height="42" fill="#151515"/>
19
+ <text x="18" y="28" fill="#F4F0E8" font-size="18" font-weight="700"
20
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">Codex $cm-*</text>
21
+
22
+ <rect x="246" width="270" height="42" fill="none" stroke="#151515" stroke-width="1.5"/>
23
+ <text x="264" y="28" fill="#151515" font-size="18" font-weight="700"
24
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">Claude Code /cm-*</text>
25
+ </g>
26
+
27
+ <text x="2" y="245" fill="#777168" font-size="18"
28
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">ONE CORE · TWO ENTRIES · DISK IS THE TRUTH</text>
29
+ </g>
30
+
31
+ <g id="ledger" transform="translate(752 56)">
32
+ <text x="0" y="18" fill="#151515" font-size="20" font-weight="800"
33
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">DELIVERY LEDGER</text>
34
+ <text x="344" y="18" fill="#777168" font-size="18" text-anchor="end"
35
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">v0.10.4</text>
36
+
37
+ <g transform="translate(0 44)">
38
+ <rect width="344" height="52" fill="#FAF8F2" stroke="#AAA399"/>
39
+ <rect x="16" y="15" width="22" height="22" fill="none" stroke="#151515" stroke-width="2"/>
40
+ <path d="M21 26l6 6 12-15" fill="none" stroke="#2E6655" stroke-width="3" stroke-linecap="square"/>
41
+ <text x="56" y="33" fill="#151515" font-size="20" font-weight="700"
42
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">SPEC APPROVED</text>
43
+ <text x="324" y="33" fill="#777168" font-size="18" text-anchor="end"
44
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">01</text>
45
+ </g>
46
+
47
+ <g transform="translate(0 104)">
48
+ <rect width="344" height="52" fill="#FAF8F2" stroke="#AAA399"/>
49
+ <rect x="16" y="15" width="22" height="22" fill="none" stroke="#151515" stroke-width="2"/>
50
+ <path d="M21 26l6 6 12-15" fill="none" stroke="#2E6655" stroke-width="3" stroke-linecap="square"/>
51
+ <text x="56" y="33" fill="#151515" font-size="20" font-weight="700"
52
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">TASK IMPLEMENTED</text>
53
+ <text x="324" y="33" fill="#777168" font-size="18" text-anchor="end"
54
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">02</text>
55
+ </g>
56
+
57
+ <g transform="translate(0 164)">
58
+ <rect width="344" height="52" fill="#FAF8F2" stroke="#AAA399"/>
59
+ <rect x="16" y="15" width="22" height="22" fill="#C44B32"/>
60
+ <path d="M21 26l6 6 12-15" fill="none" stroke="#FFF8ED" stroke-width="3" stroke-linecap="square"/>
61
+ <text x="56" y="33" fill="#151515" font-size="20" font-weight="700"
62
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">REVIEW</text>
63
+ <text x="324" y="33" fill="#C44B32" font-size="18" font-weight="800" text-anchor="end"
64
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">REQUIRED</text>
65
+ </g>
66
+
67
+ <g transform="translate(0 232)">
68
+ <text x="0" y="20" fill="#2E6655" font-size="19" font-weight="800"
69
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">tasks.md</text>
70
+ <text x="126" y="20" fill="#2E6655" font-size="19" font-weight="800"
71
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">.reviews/</text>
72
+ <text x="258" y="20" fill="#2E6655" font-size="19" font-weight="800"
73
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">运行日志</text>
74
+ <path d="M0 34H344" stroke="#2E6655" stroke-width="3"/>
75
+ </g>
76
+ </g>
77
+ </svg>
@@ -0,0 +1,73 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="380" viewBox="0 0 1200 380" role="img" aria-labelledby="title desc">
2
+ <title id="title">CM Workflow recovery record</title>
3
+ <desc id="desc">A durable project file containing task state, test intent, review evidence, runtime status, and event logs is reopened by a new session to verify and continue work.</desc>
4
+
5
+ <rect width="1200" height="380" fill="#F4F0E8"/>
6
+ <path d="M48 38H1152M48 336H1152" stroke="#151515" stroke-width="1.5"/>
7
+
8
+ <text x="48" y="70" fill="#C44B32" font-size="18" font-weight="800"
9
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace" letter-spacing="2">RECOVERY RECORD</text>
10
+ <text x="48" y="108" fill="#151515" font-size="30" font-weight="700"
11
+ font-family="Georgia, Songti SC, serif">聊天会结束,项目记录仍然可以接管</text>
12
+ <text x="1152" y="70" fill="#777168" font-size="17" text-anchor="end"
13
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">DISK IS THE TRUTH</text>
14
+
15
+ <g transform="translate(48 136)">
16
+ <rect width="474" height="164" fill="#FAF8F2" stroke="#AAA399"/>
17
+ <text x="18" y="30" fill="#151515" font-size="17" font-weight="800"
18
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">DURABLE PROJECT FILE</text>
19
+ <path d="M18 44H456" stroke="#AAA399"/>
20
+
21
+ <g transform="translate(18 61)">
22
+ <rect width="134" height="30" fill="#151515"/>
23
+ <text x="67" y="21" fill="#F4F0E8" font-size="14" font-weight="800" text-anchor="middle"
24
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">tasks.md</text>
25
+ <rect x="144" width="148" height="30" fill="none" stroke="#151515"/>
26
+ <text x="218" y="21" fill="#151515" font-size="13" font-weight="800" text-anchor="middle"
27
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">test-cases.json</text>
28
+ <rect x="302" width="136" height="30" fill="none" stroke="#151515"/>
29
+ <text x="370" y="21" fill="#151515" font-size="14" font-weight="800" text-anchor="middle"
30
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">.reviews/</text>
31
+ </g>
32
+
33
+ <g transform="translate(18 103)">
34
+ <rect width="172" height="30" fill="none" stroke="#151515"/>
35
+ <text x="86" y="21" fill="#151515" font-size="13" font-weight="800" text-anchor="middle"
36
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">.cm-status.json</text>
37
+ <rect x="182" width="166" height="30" fill="none" stroke="#151515"/>
38
+ <text x="265" y="21" fill="#151515" font-size="13" font-weight="800" text-anchor="middle"
39
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">运行日志.jsonl</text>
40
+ <rect x="358" width="80" height="30" fill="#2E6655"/>
41
+ <text x="398" y="21" fill="#F4F0E8" font-size="13" font-weight="800" text-anchor="middle"
42
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">READY</text>
43
+ </g>
44
+ </g>
45
+
46
+ <path d="M558 218H716" stroke="#C44B32" stroke-width="3"/>
47
+ <path d="M700 204l16 14-16 14" fill="none" stroke="#C44B32" stroke-width="3"/>
48
+ <text x="637" y="195" fill="#C44B32" font-size="15" font-weight="800" text-anchor="middle"
49
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">HANDOFF</text>
50
+
51
+ <g transform="translate(752 136)">
52
+ <rect width="400" height="164" fill="#151515"/>
53
+ <text x="20" y="34" fill="#F4F0E8" font-size="18" font-weight="800"
54
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">NEW SESSION</text>
55
+ <path d="M20 48H380" stroke="#777168"/>
56
+
57
+ <text x="20" y="82" fill="#F4F0E8" font-size="18"
58
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">01 · 读取任务和状态</text>
59
+ <text x="20" y="111" fill="#F4F0E8" font-size="18"
60
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">02 · 核对审查与测试凭证</text>
61
+ <text x="20" y="140" fill="#F4F0E8" font-size="18"
62
+ font-family="-apple-system, BlinkMacSystemFont, Segoe UI, sans-serif">03 · 从未完成处继续</text>
63
+
64
+ <rect x="266" y="16" width="114" height="26" fill="#2E6655"/>
65
+ <text x="323" y="34" fill="#F4F0E8" font-size="13" font-weight="800" text-anchor="middle"
66
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">RESUMABLE</text>
67
+ </g>
68
+
69
+ <text x="48" y="326" fill="#777168" font-size="16"
70
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">THREADS ARE WORKING VIEWS · FILES ARE RECOVERY EVIDENCE</text>
71
+ <text x="1152" y="326" fill="#2E6655" font-size="16" font-weight="800" text-anchor="end"
72
+ font-family="ui-monospace, SFMono-Regular, Menlo, monospace">CONTINUE ✓</text>
73
+ </svg>