@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,616 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Darwin Skill - 我的Skill进化报告</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap" rel="stylesheet">
10
+ <style>
11
+ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
12
+
13
+ body {
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: flex-start;
17
+ min-height: 100vh;
18
+ background: #FAFAF5;
19
+ font-family: 'Noto Sans SC', 'Inter', sans-serif;
20
+ padding: 0;
21
+ }
22
+
23
+ .card {
24
+ width: 900px;
25
+ min-height: 600px;
26
+ position: relative;
27
+ display: flex;
28
+ flex-direction: column;
29
+ background: #FAFAF5;
30
+ color: #1A1A1A;
31
+ }
32
+
33
+ /* ===== 1. 顶部品牌条 ===== */
34
+ .brand-bar {
35
+ background: #1A1A1A;
36
+ padding: 24px 48px;
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ }
41
+ .brand-name {
42
+ font-size: 22px;
43
+ font-weight: 800;
44
+ color: #fff;
45
+ letter-spacing: 0.02em;
46
+ font-family: 'Inter', 'Noto Sans SC', sans-serif;
47
+ }
48
+ .brand-name .dot { color: #E8590C; }
49
+ .brand-date {
50
+ font-size: 15px;
51
+ font-weight: 500;
52
+ color: #888;
53
+ font-family: 'Inter', sans-serif;
54
+ }
55
+
56
+ /* ===== 2. 核心成就区 ===== */
57
+ .hero-section {
58
+ padding: 40px 48px 36px;
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 48px;
62
+ background: linear-gradient(180deg, #FAFAF5 0%, #F5F0E8 100%);
63
+ position: relative;
64
+ }
65
+
66
+ /* SVG圆环 */
67
+ .ring-container {
68
+ flex-shrink: 0;
69
+ width: 280px;
70
+ height: 280px;
71
+ position: relative;
72
+ }
73
+ .ring-bg {
74
+ fill: none;
75
+ stroke: #E8E0D4;
76
+ stroke-width: 16;
77
+ stroke-dasharray: 8 8;
78
+ }
79
+ .ring-progress {
80
+ fill: none;
81
+ stroke: url(#orangeGradient);
82
+ stroke-width: 18;
83
+ stroke-linecap: round;
84
+ stroke-dasharray: 534;
85
+ stroke-dashoffset: 69;
86
+ transform: rotate(-90deg);
87
+ transform-origin: center;
88
+ filter: drop-shadow(0 2px 8px rgba(232,89,12,0.3));
89
+ }
90
+ .ring-center {
91
+ position: absolute;
92
+ top: 50%;
93
+ left: 50%;
94
+ transform: translate(-50%, -50%);
95
+ text-align: center;
96
+ }
97
+ .ring-score {
98
+ font-size: 88px;
99
+ font-weight: 900;
100
+ color: #1A1A1A;
101
+ line-height: 1;
102
+ font-family: 'Inter', sans-serif;
103
+ letter-spacing: -0.04em;
104
+ }
105
+ .ring-max {
106
+ font-size: 24px;
107
+ font-weight: 600;
108
+ color: #B0A898;
109
+ font-family: 'Inter', sans-serif;
110
+ margin-left: 2px;
111
+ }
112
+ .ring-label {
113
+ font-size: 14px;
114
+ font-weight: 600;
115
+ color: #999;
116
+ margin-top: 4px;
117
+ letter-spacing: 0.08em;
118
+ }
119
+
120
+ /* 右侧文字区 */
121
+ .hero-text {
122
+ flex: 1;
123
+ display: flex;
124
+ flex-direction: column;
125
+ gap: 16px;
126
+ }
127
+ .hero-title {
128
+ font-size: 32px;
129
+ font-weight: 900;
130
+ line-height: 1.25;
131
+ color: #1A1A1A;
132
+ }
133
+ .hero-skill-name {
134
+ color: #E8590C;
135
+ }
136
+ .hero-journey {
137
+ font-size: 18px;
138
+ font-weight: 500;
139
+ color: #666;
140
+ line-height: 1.5;
141
+ }
142
+ .hero-journey strong {
143
+ color: #1A1A1A;
144
+ font-weight: 700;
145
+ }
146
+ .delta-badge {
147
+ display: inline-flex;
148
+ align-items: center;
149
+ gap: 8px;
150
+ background: #E8590C;
151
+ color: #fff;
152
+ padding: 10px 28px;
153
+ border-radius: 12px;
154
+ font-size: 42px;
155
+ font-weight: 900;
156
+ font-family: 'Inter', sans-serif;
157
+ letter-spacing: -0.02em;
158
+ width: fit-content;
159
+ box-shadow: 0 4px 16px rgba(232,89,12,0.3);
160
+ }
161
+ .delta-badge-label {
162
+ font-size: 16px;
163
+ font-weight: 700;
164
+ opacity: 0.9;
165
+ font-family: 'Noto Sans SC', sans-serif;
166
+ letter-spacing: 0;
167
+ }
168
+
169
+ /* ===== 3. 最大突破区 ===== */
170
+ .breakthrough-section {
171
+ padding: 0 48px;
172
+ display: flex;
173
+ gap: 20px;
174
+ }
175
+ .breakthrough-card {
176
+ flex: 1;
177
+ border-radius: 16px;
178
+ padding: 28px 28px 24px;
179
+ position: relative;
180
+ overflow: hidden;
181
+ }
182
+ .breakthrough-card.primary {
183
+ background: linear-gradient(135deg, #E8590C 0%, #FF8A4C 100%);
184
+ color: #fff;
185
+ flex: 1.2;
186
+ }
187
+ .breakthrough-card.secondary {
188
+ background: #F0EAE0;
189
+ color: #1A1A1A;
190
+ border: 2px solid #E0D8CC;
191
+ }
192
+ .breakthrough-label {
193
+ font-size: 13px;
194
+ font-weight: 700;
195
+ letter-spacing: 0.1em;
196
+ margin-bottom: 12px;
197
+ text-transform: uppercase;
198
+ }
199
+ .breakthrough-card.primary .breakthrough-label {
200
+ color: rgba(255,255,255,0.75);
201
+ }
202
+ .breakthrough-card.secondary .breakthrough-label {
203
+ color: #999;
204
+ }
205
+ .breakthrough-dim {
206
+ font-size: 24px;
207
+ font-weight: 900;
208
+ margin-bottom: 6px;
209
+ }
210
+ .breakthrough-score-row {
211
+ display: flex;
212
+ align-items: baseline;
213
+ gap: 12px;
214
+ margin-bottom: 12px;
215
+ }
216
+ .breakthrough-from {
217
+ font-size: 36px;
218
+ font-weight: 400;
219
+ opacity: 0.5;
220
+ font-family: 'Inter', sans-serif;
221
+ text-decoration: line-through;
222
+ text-decoration-thickness: 2px;
223
+ }
224
+ .breakthrough-arrow {
225
+ font-size: 20px;
226
+ opacity: 0.5;
227
+ }
228
+ .breakthrough-to {
229
+ font-size: 52px;
230
+ font-weight: 900;
231
+ font-family: 'Inter', sans-serif;
232
+ line-height: 1;
233
+ }
234
+ .breakthrough-card.secondary .breakthrough-to {
235
+ color: #E8590C;
236
+ }
237
+ .breakthrough-pct {
238
+ font-size: 18px;
239
+ font-weight: 700;
240
+ font-family: 'Inter', sans-serif;
241
+ }
242
+ .breakthrough-card.primary .breakthrough-pct {
243
+ color: rgba(255,255,255,0.85);
244
+ }
245
+ .breakthrough-card.secondary .breakthrough-pct {
246
+ color: #2B8A3E;
247
+ }
248
+ .breakthrough-story {
249
+ font-size: 15px;
250
+ font-weight: 500;
251
+ line-height: 1.5;
252
+ margin-top: 8px;
253
+ }
254
+ .breakthrough-card.primary .breakthrough-story {
255
+ color: rgba(255,255,255,0.9);
256
+ }
257
+ .breakthrough-card.secondary .breakthrough-story {
258
+ color: #666;
259
+ }
260
+
261
+ /* ===== 4. 全维度速览 ===== */
262
+ .dims-section {
263
+ padding: 32px 48px 0;
264
+ }
265
+ .dims-header {
266
+ font-size: 15px;
267
+ font-weight: 700;
268
+ color: #999;
269
+ letter-spacing: 0.08em;
270
+ margin-bottom: 18px;
271
+ }
272
+ .dims-grid {
273
+ display: grid;
274
+ grid-template-columns: repeat(4, 1fr);
275
+ gap: 12px;
276
+ }
277
+ .dim-cell {
278
+ background: #F0EBE3;
279
+ border-radius: 12px;
280
+ padding: 16px 14px;
281
+ display: flex;
282
+ flex-direction: column;
283
+ align-items: center;
284
+ gap: 6px;
285
+ position: relative;
286
+ transition: background 0.2s;
287
+ }
288
+ .dim-cell.hot {
289
+ background: #FFF0E6;
290
+ border: 2px solid rgba(232,89,12,0.2);
291
+ }
292
+ .dim-cell.warm {
293
+ background: #F5EEE4;
294
+ }
295
+ .dim-name {
296
+ font-size: 13px;
297
+ font-weight: 700;
298
+ color: #888;
299
+ text-align: center;
300
+ white-space: nowrap;
301
+ }
302
+ .dim-score-row {
303
+ display: flex;
304
+ align-items: baseline;
305
+ gap: 6px;
306
+ }
307
+ .dim-score {
308
+ font-size: 32px;
309
+ font-weight: 900;
310
+ font-family: 'Inter', sans-serif;
311
+ color: #1A1A1A;
312
+ line-height: 1;
313
+ }
314
+ .dim-cell.hot .dim-score {
315
+ color: #E8590C;
316
+ }
317
+ .dim-old-score {
318
+ font-size: 15px;
319
+ font-weight: 500;
320
+ color: #BBB;
321
+ font-family: 'Inter', sans-serif;
322
+ text-decoration: line-through;
323
+ text-decoration-color: #CCC;
324
+ }
325
+ .dim-arrow {
326
+ display: inline-flex;
327
+ align-items: center;
328
+ justify-content: center;
329
+ font-size: 11px;
330
+ font-weight: 800;
331
+ font-family: 'Inter', sans-serif;
332
+ padding: 2px 8px;
333
+ border-radius: 6px;
334
+ line-height: 1;
335
+ }
336
+ .dim-arrow.up-big {
337
+ background: #E8590C;
338
+ color: #fff;
339
+ }
340
+ .dim-arrow.up-mid {
341
+ background: rgba(232,89,12,0.15);
342
+ color: #E8590C;
343
+ }
344
+ .dim-arrow.up-small {
345
+ background: rgba(43,138,62,0.1);
346
+ color: #2B8A3E;
347
+ }
348
+
349
+ /* ===== 5. 改进摘要 ===== */
350
+ .summary-section {
351
+ padding: 28px 48px 0;
352
+ }
353
+ .summary-header {
354
+ font-size: 15px;
355
+ font-weight: 700;
356
+ color: #999;
357
+ letter-spacing: 0.08em;
358
+ margin-bottom: 14px;
359
+ }
360
+ .summary-items {
361
+ display: flex;
362
+ flex-direction: column;
363
+ gap: 8px;
364
+ }
365
+ .summary-item {
366
+ font-size: 15px;
367
+ font-weight: 500;
368
+ color: #555;
369
+ line-height: 1.6;
370
+ padding-left: 20px;
371
+ position: relative;
372
+ }
373
+ .summary-item::before {
374
+ content: '';
375
+ position: absolute;
376
+ left: 0;
377
+ top: 9px;
378
+ width: 8px;
379
+ height: 8px;
380
+ background: #E8590C;
381
+ border-radius: 50%;
382
+ }
383
+
384
+ /* ===== 6. 底部品牌区 ===== */
385
+ .footer {
386
+ margin-top: auto;
387
+ background: #1A1A1A;
388
+ padding: 28px 48px;
389
+ display: flex;
390
+ justify-content: space-between;
391
+ align-items: center;
392
+ }
393
+ .footer-left {
394
+ display: flex;
395
+ flex-direction: column;
396
+ gap: 6px;
397
+ }
398
+ .footer-brand {
399
+ font-size: 20px;
400
+ font-weight: 800;
401
+ color: #fff;
402
+ font-family: 'Inter', 'Noto Sans SC', sans-serif;
403
+ }
404
+ .footer-brand .dot { color: #E8590C; }
405
+ .footer-slogan {
406
+ font-size: 14px;
407
+ color: #777;
408
+ font-weight: 500;
409
+ }
410
+ .footer-right {
411
+ text-align: right;
412
+ display: flex;
413
+ flex-direction: column;
414
+ gap: 4px;
415
+ }
416
+ .footer-url {
417
+ font-size: 14px;
418
+ color: #aaa;
419
+ font-family: 'Inter', monospace;
420
+ font-weight: 600;
421
+ }
422
+ .footer-by {
423
+ font-size: 13px;
424
+ color: #666;
425
+ }
426
+
427
+ /* 装饰性纹理 */
428
+ .card::before {
429
+ content: '';
430
+ position: absolute;
431
+ top: 0;
432
+ right: 0;
433
+ width: 400px;
434
+ height: 400px;
435
+ background: radial-gradient(circle at top right, rgba(232,89,12,0.04) 0%, transparent 70%);
436
+ pointer-events: none;
437
+ z-index: 0;
438
+ }
439
+ .card > * {
440
+ position: relative;
441
+ z-index: 1;
442
+ }
443
+ </style>
444
+ </head>
445
+ <body>
446
+
447
+ <div class="card">
448
+
449
+ <!-- 1. 顶部品牌条 -->
450
+ <div class="brand-bar">
451
+ <div class="brand-name">Darwin<span class="dot">.</span>skill</div>
452
+ <div class="brand-date" data-field="date">2026.04.14</div>
453
+ </div>
454
+
455
+ <!-- 2. 核心成就区 -->
456
+ <div class="hero-section">
457
+ <div class="ring-container">
458
+ <svg viewBox="0 0 200 200" width="280" height="280">
459
+ <defs>
460
+ <linearGradient id="orangeGradient" x1="0%" y1="0%" x2="100%" y2="100%">
461
+ <stop offset="0%" stop-color="#E8590C"/>
462
+ <stop offset="100%" stop-color="#FF8A4C"/>
463
+ </linearGradient>
464
+ </defs>
465
+ <!-- 背景虚线环 -->
466
+ <circle cx="100" cy="100" r="85" class="ring-bg"/>
467
+ <!-- 进度弧 -->
468
+ <circle cx="100" cy="100" r="85" class="ring-progress"/>
469
+ </svg>
470
+ <div class="ring-center">
471
+ <div>
472
+ <span class="ring-score" data-field="score-after">87</span><span class="ring-max">/100</span>
473
+ </div>
474
+ <div class="ring-label">质量总分</div>
475
+ </div>
476
+ </div>
477
+
478
+ <div class="hero-text">
479
+ <div class="hero-title">
480
+ 我的Skill进化报告<br>
481
+ <span class="hero-skill-name" data-field="skill-name">审校降AI味</span>
482
+ </div>
483
+ <div class="hero-journey">
484
+ 从 <strong data-field="score-before">72</strong> 分进化到 <strong>87</strong> 分<br>
485
+ <span style="color:#999;font-size:14px;" data-field="skill-id">huashu-proofreading</span>
486
+ </div>
487
+ <div class="delta-badge">
488
+ <span data-field="score-delta">+15</span>
489
+ <span class="delta-badge-label">分</span>
490
+ </div>
491
+ </div>
492
+ </div>
493
+
494
+ <!-- 3. 最大突破区 -->
495
+ <div class="breakthrough-section">
496
+ <div class="breakthrough-card primary">
497
+ <div class="breakthrough-label">最大突破</div>
498
+ <div class="breakthrough-dim" data-field="top1-name">指令精度</div>
499
+ <div class="breakthrough-score-row">
500
+ <span class="breakthrough-from" data-field="top1-from">5</span>
501
+ <span class="breakthrough-arrow">&rarr;</span>
502
+ <span class="breakthrough-to" data-field="top1-to">9</span>
503
+ </div>
504
+ <div class="breakthrough-pct" data-field="top1-pct">+80%</div>
505
+ <div class="breakthrough-story" data-field="top1-story">从模糊指令到精确可执行,指令精度翻了将近一倍</div>
506
+ </div>
507
+ <div class="breakthrough-card secondary">
508
+ <div class="breakthrough-label">第二突破</div>
509
+ <div class="breakthrough-dim" data-field="top2-name">工作流清晰度</div>
510
+ <div class="breakthrough-score-row">
511
+ <span class="breakthrough-from" data-field="top2-from">5</span>
512
+ <span class="breakthrough-arrow">&rarr;</span>
513
+ <span class="breakthrough-to" data-field="top2-to">8</span>
514
+ </div>
515
+ <div class="breakthrough-pct" data-field="top2-pct">+60%</div>
516
+ <div class="breakthrough-story" data-field="top2-story">线性可执行步骤,每步都有明确检查点</div>
517
+ </div>
518
+ </div>
519
+
520
+ <!-- 4. 全维度速览 -->
521
+ <div class="dims-section">
522
+ <div class="dims-header">八维度全景</div>
523
+ <div class="dims-grid">
524
+ <div class="dim-cell warm">
525
+ <div class="dim-name">元数据</div>
526
+ <div class="dim-score-row">
527
+ <span class="dim-old-score">6</span>
528
+ <span class="dim-score">8</span>
529
+ </div>
530
+ <span class="dim-arrow up-mid">+2</span>
531
+ </div>
532
+ <div class="dim-cell hot">
533
+ <div class="dim-name">工作流</div>
534
+ <div class="dim-score-row">
535
+ <span class="dim-old-score">5</span>
536
+ <span class="dim-score">8</span>
537
+ </div>
538
+ <span class="dim-arrow up-big">+3</span>
539
+ </div>
540
+ <div class="dim-cell hot">
541
+ <div class="dim-name">边界覆盖</div>
542
+ <div class="dim-score-row">
543
+ <span class="dim-old-score">4</span>
544
+ <span class="dim-score">7</span>
545
+ </div>
546
+ <span class="dim-arrow up-big">+3</span>
547
+ </div>
548
+ <div class="dim-cell">
549
+ <div class="dim-name">检查点</div>
550
+ <div class="dim-score-row">
551
+ <span class="dim-old-score">6</span>
552
+ <span class="dim-score">7</span>
553
+ </div>
554
+ <span class="dim-arrow up-small">+1</span>
555
+ </div>
556
+ <div class="dim-cell hot">
557
+ <div class="dim-name">指令精度</div>
558
+ <div class="dim-score-row">
559
+ <span class="dim-old-score">5</span>
560
+ <span class="dim-score">9</span>
561
+ </div>
562
+ <span class="dim-arrow up-big">+4</span>
563
+ </div>
564
+ <div class="dim-cell">
565
+ <div class="dim-name">资源整合</div>
566
+ <div class="dim-score-row">
567
+ <span class="dim-old-score">7</span>
568
+ <span class="dim-score">8</span>
569
+ </div>
570
+ <span class="dim-arrow up-small">+1</span>
571
+ </div>
572
+ <div class="dim-cell warm">
573
+ <div class="dim-name">整体架构</div>
574
+ <div class="dim-score-row">
575
+ <span class="dim-old-score">6</span>
576
+ <span class="dim-score">8</span>
577
+ </div>
578
+ <span class="dim-arrow up-mid">+2</span>
579
+ </div>
580
+ <div class="dim-cell hot">
581
+ <div class="dim-name">实测表现</div>
582
+ <div class="dim-score-row">
583
+ <span class="dim-old-score">5</span>
584
+ <span class="dim-score">8</span>
585
+ </div>
586
+ <span class="dim-arrow up-big">+3</span>
587
+ </div>
588
+ </div>
589
+ </div>
590
+
591
+ <!-- 5. 改进摘要 -->
592
+ <div class="summary-section">
593
+ <div class="summary-header">关键改进</div>
594
+ <div class="summary-items">
595
+ <div class="summary-item" data-field="improve-1">补充异常处理fallback路径,边界覆盖从4飙升到7</div>
596
+ <div class="summary-item" data-field="improve-2">工作流重组为线性可执行步骤,每步可验证</div>
597
+ <div class="summary-item" data-field="improve-3">测试prompt覆盖率从60%提升到95%,实测表现大幅进化</div>
598
+ </div>
599
+ </div>
600
+
601
+ <!-- 6. 底部品牌区 -->
602
+ <div class="footer">
603
+ <div class="footer-left">
604
+ <div class="footer-brand">Darwin<span class="dot">.</span>skill</div>
605
+ <div class="footer-slogan">像训练模型一样进化你的Skills</div>
606
+ </div>
607
+ <div class="footer-right">
608
+ <div class="footer-url">github.com/alchaincyf/darwin-skill</div>
609
+ <div class="footer-by">by 花叔</div>
610
+ </div>
611
+ </div>
612
+
613
+ </div>
614
+
615
+ </body>
616
+ </html>