cann-workbench 0.0.0-stage → 0.0.2-alpha

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 (408) hide show
  1. package/README.md +183 -2
  2. package/THIRD_PARTY_NOTICES.md +85 -0
  3. package/cordis.patch.yml +3 -0
  4. package/doctor/LICENSE +202 -0
  5. package/doctor/NOTICE +12 -0
  6. package/doctor/README.md +18 -0
  7. package/lib/client.js +94437 -0
  8. package/lib/index.d.ts +722 -0
  9. package/lib/index.js +33711 -0
  10. package/locale/en.json +6 -0
  11. package/locale/zh.json +6 -0
  12. package/package.json +171 -4
  13. package/skills/asc-tools/tool-ops-tune/INSTALL.md +52 -0
  14. package/skills/asc-tools/tool-ops-tune/LICENSE +38 -0
  15. package/skills/asc-tools/tool-ops-tune/README.md +167 -0
  16. package/skills/asc-tools/tool-ops-tune/SKILL.md +93 -0
  17. package/skills/asc-tools/tool-ops-tune/agent/AGENTS.md +195 -0
  18. package/skills/asc-tools/tool-ops-tune/agent/agents/perf-implementer.md +68 -0
  19. package/skills/asc-tools/tool-ops-tune/agent/agents/perf-reviewer.md +86 -0
  20. package/skills/asc-tools/tool-ops-tune/agent/workflows/task-prompts.md +362 -0
  21. package/skills/asc-tools/tool-ops-tune/agent/workflows/troubleshooting.md +43 -0
  22. package/skills/asc-tools/tool-ops-tune/docs/figures/opstune-architecture.png +0 -0
  23. package/skills/asc-tools/tool-ops-tune/docs/figures/opstune-architecture.svg +253 -0
  24. package/skills/asc-tools/tool-ops-tune/docs/ops-tune-design.md +404 -0
  25. package/skills/asc-tools/tool-ops-tune/docs//347/224/250/344/276/213/346/236/204/345/273/272.md +730 -0
  26. package/skills/asc-tools/tool-ops-tune/docs//347/237/245/350/257/206/345/272/223/350/247/204/350/214/203.md +103 -0
  27. package/skills/asc-tools/tool-ops-tune/evals/evals.json +242 -0
  28. package/skills/asc-tools/tool-ops-tune/ops-collect/SKILL.md +146 -0
  29. package/skills/asc-tools/tool-ops-tune/ops-collect/references/tool-routing.md +86 -0
  30. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/collect_board.sh +458 -0
  31. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/collect_cases.py +368 -0
  32. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/collect_sim.sh +134 -0
  33. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/csv_to_db.py +314 -0
  34. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/db_bench.py +545 -0
  35. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/facts_bridge.py +1102 -0
  36. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/isolation_test.py +452 -0
  37. package/skills/asc-tools/tool-ops-tune/ops-collect/scripts/jsonl_to_cases.py +163 -0
  38. package/skills/asc-tools/tool-ops-tune/ops-family/SKILL.md +76 -0
  39. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/advanced_tiling.md +92 -0
  40. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/broadcast_design.md +160 -0
  41. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/code/broadcast_add_kernel.cpp +126 -0
  42. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/code/broadcast_add_tiling.cpp +144 -0
  43. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/code/broadcast_tiling_common.h +401 -0
  44. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/code/onedim_add_kernel.cpp +107 -0
  45. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/code/onedim_add_tiling.cpp +64 -0
  46. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/datacopypad_design.md +46 -0
  47. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/guide.md +14 -0
  48. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/nddma_design.md +53 -0
  49. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/onedim_design.md +114 -0
  50. package/skills/asc-tools/tool-ops-tune/ops-family/references/broadcast/ub_broadcast_design.md +67 -0
  51. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/datacopy_optimization_design.md +351 -0
  52. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/index.md +9 -0
  53. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/tail_block_design.md +268 -0
  54. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/timing_harness/index.md +38 -0
  55. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/timing_harness/timing_harness_aclrt_event.cpp +199 -0
  56. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/timing_harness/timing_harness_torch_event.py +130 -0
  57. package/skills/asc-tools/tool-ops-tune/ops-family/references/common/ub_resident_design.md +342 -0
  58. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/guide.md +69 -0
  59. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/index.md +4 -0
  60. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_base.template +81 -0
  61. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_big_dim.template +217 -0
  62. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_cut_one_axis.template +336 -0
  63. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_cut_two_axis.template +781 -0
  64. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_n_last.template +340 -0
  65. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_small_shape.template +321 -0
  66. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_tensor_move.template +102 -0
  67. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_transdata_5hd.template +480 -0
  68. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_transdata_5hd_021axis.template +533 -0
  69. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/dav3510/transpose_with_gather.template +688 -0
  70. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/templates/transpose_tiling_data.template +192 -0
  71. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_big_dim.md +220 -0
  72. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_cut_one_axis.md +175 -0
  73. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_cut_two_axis.md +177 -0
  74. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_fusion_design.md +398 -0
  75. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_gather.md +191 -0
  76. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_n_last.md +276 -0
  77. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_small_shape.md +315 -0
  78. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_tensor_move.md +203 -0
  79. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_tiling_data.md +176 -0
  80. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_vconv_021.md +206 -0
  81. package/skills/asc-tools/tool-ops-tune/ops-family/references/conversion/transpose_vconv_5hd.md +179 -0
  82. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/double_buffer_design.md +288 -0
  83. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/guide.md +46 -0
  84. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/index.md +10 -0
  85. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/CMakeLists.txt +131 -0
  86. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/README.md +55 -0
  87. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_extension/add_custom_torch.cpp +80 -0
  88. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_extension/ops.h +23 -0
  89. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_extension/register.cpp +30 -0
  90. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_host/add_custom.asc +149 -0
  91. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_host/data_utils.h +97 -0
  92. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_kernel/add_custom_kernel.asc +136 -0
  93. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/op_kernel/add_custom_tiling.h +31 -0
  94. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/run.sh +87 -0
  95. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/scripts/gen_data.py +70 -0
  96. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/scripts/golden.py +34 -0
  97. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/scripts/test_torch.py +99 -0
  98. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/add_custom/scripts/verify_result.py +56 -0
  99. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/templates/usage_guide.md +61 -0
  100. package/skills/asc-tools/tool-ops-tune/ops-family/references/elementwise/vector_efficiency_design.md +203 -0
  101. package/skills/asc-tools/tool-ops-tune/ops-family/references/fa/fa_mixed_kernel_design.md +174 -0
  102. package/skills/asc-tools/tool-ops-tune/ops-family/references/fa/fa_roofline_design.md +141 -0
  103. package/skills/asc-tools/tool-ops-tune/ops-family/references/fa/guide.md +87 -0
  104. package/skills/asc-tools/tool-ops-tune/ops-family/references/knowledge_gaps.json +56 -0
  105. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/best-practices-guide.md +14 -0
  106. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/fullload_design.md +344 -0
  107. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/guide.md +52 -0
  108. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/mte2_preload_design.md +320 -0
  109. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/pingpong_design.md +254 -0
  110. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/scale_coalescing_design.md +282 -0
  111. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/streamk_design.md +374 -0
  112. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/swat_design.md +423 -0
  113. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/templates/matmul_basic_blaze.template +165 -0
  114. package/skills/asc-tools/tool-ops-tune/ops-family/references/matmul/templates/usage_guide.md +29 -0
  115. package/skills/asc-tools/tool-ops-tune/ops-family/references/mc2/best-practices-guide.md +43 -0
  116. package/skills/asc-tools/tool-ops-tune/ops-family/references/mc2/guide.md +42 -0
  117. package/skills/asc-tools/tool-ops-tune/ops-family/references/mc2/local_matmul_design.md +130 -0
  118. package/skills/asc-tools/tool-ops-tune/ops-family/references/mc2/pipeline_balancing_design.md +502 -0
  119. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/guide.md +178 -0
  120. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/kernel_utils.template +75 -0
  121. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ar_full_load.template +429 -0
  122. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ar_recompute.template +485 -0
  123. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ar_small_r.template +348 -0
  124. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ara_full_load.template +574 -0
  125. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ara_online.template +324 -0
  126. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_ara_recompute.template +436 -0
  127. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/dav310/softmax_v2_base.template +950 -0
  128. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/fused_attention_online_softmax_design.md +428 -0
  129. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ar_full_load.md +137 -0
  130. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ar_recompute.md +135 -0
  131. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ar_small_r.md +122 -0
  132. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ara_full_load.md +144 -0
  133. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ara_online.md +185 -0
  134. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_ara_recompute.md +163 -0
  135. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_tiling.template +460 -0
  136. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/softmax_v2_tiling_data.template +278 -0
  137. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/state_resident_design.md +337 -0
  138. package/skills/asc-tools/tool-ops-tune/ops-family/references/reduce/templates/usage_guide.md +253 -0
  139. package/skills/asc-tools/tool-ops-tune/ops-family/references/scalar/coding_principles.md +476 -0
  140. package/skills/asc-tools/tool-ops-tune/ops-family/references/scalar/conv_scalar.md +163 -0
  141. package/skills/asc-tools/tool-ops-tune/ops-family/references/scalar/guide.md +30 -0
  142. package/skills/asc-tools/tool-ops-tune/ops-family/references/simt/guide.md +91 -0
  143. package/skills/asc-tools/tool-ops-tune/ops-family/references/simt/optimization-guide.md +110 -0
  144. package/skills/asc-tools/tool-ops-tune/ops-family/references/sort/guide.md +83 -0
  145. package/skills/asc-tools/tool-ops-tune/ops-family/references/sort/radix_sort.md +354 -0
  146. package/skills/asc-tools/tool-ops-tune/ops-family/scripts/family_asset_audit.py +68 -0
  147. package/skills/asc-tools/tool-ops-tune/ops-family/scripts/tiling_candidates.py +419 -0
  148. package/skills/asc-tools/tool-ops-tune/ops-mechanism/SKILL.md +23 -0
  149. package/skills/asc-tools/tool-ops-tune/ops-mechanism/cases/ascendc/case_groupedmatmul_pipeline.md +23 -0
  150. package/skills/asc-tools/tool-ops-tune/ops-mechanism/cases/ascendc/case_triton_atomic_revert.md +19 -0
  151. package/skills/asc-tools/tool-ops-tune/ops-mechanism/cases/mc2/case_mc2_fusion.md +19 -0
  152. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/api-usage.md +70 -0
  153. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/ascendc-regbase-vf.md +45 -0
  154. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/ascendc-tiling.md +51 -0
  155. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/data-copy.md +67 -0
  156. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/index.md +45 -0
  157. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/mc2-balancing.md +77 -0
  158. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/mc2.md +103 -0
  159. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/memory-hierarchy.md +40 -0
  160. package/skills/asc-tools/tool-ops-tune/ops-mechanism/references/optimize/pipeline.md +95 -0
  161. package/skills/asc-tools/tool-ops-tune/ops-mechanism/scripts/case_backfill.py +170 -0
  162. package/skills/asc-tools/tool-ops-tune/ops-mechanism/scripts/log_gap.py +145 -0
  163. package/skills/asc-tools/tool-ops-tune/ops-mechanism/scripts/mc2_search.py +367 -0
  164. package/skills/asc-tools/tool-ops-tune/ops-report/SKILL.md +77 -0
  165. package/skills/asc-tools/tool-ops-tune/ops-verdict/evals/run_evals.py +963 -0
  166. package/skills/asc-tools/tool-ops-tune/ops-verdict/evals/smoke/install-hooks.sh +65 -0
  167. package/skills/asc-tools/tool-ops-tune/ops-verdict/evals/smoke/run_smoke.sh +535 -0
  168. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/core_tail_a5.csv +25 -0
  169. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/few_cores_a5.csv +5 -0
  170. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/mte2_bound_a2.csv +17 -0
  171. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/multi_kernel_mix_a5.csv +7 -0
  172. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/no_bound_a5.csv +9 -0
  173. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/serial_no_overlap_a2.csv +9 -0
  174. package/skills/asc-tools/tool-ops-tune/ops-verdict/fixtures/vec_bound_a5.csv +9 -0
  175. package/skills/asc-tools/tool-ops-tune/ops-verdict/references/io-contracts.md +94 -0
  176. package/skills/asc-tools/tool-ops-tune/ops-verdict/references/rule-schema.md +130 -0
  177. package/skills/asc-tools/tool-ops-tune/ops-verdict/references/scope-schema.md +61 -0
  178. package/skills/asc-tools/tool-ops-tune/ops-verdict/references/soc-spec.yaml +140 -0
  179. package/skills/asc-tools/tool-ops-tune/ops-verdict/rules/L0-instruction.yaml +67 -0
  180. package/skills/asc-tools/tool-ops-tune/ops-verdict/rules/L1-single-core.yaml +316 -0
  181. package/skills/asc-tools/tool-ops-tune/ops-verdict/rules/L2-inter-core.yaml +173 -0
  182. package/skills/asc-tools/tool-ops-tune/ops-verdict/rules/L3-inter-card.yaml +156 -0
  183. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/batch_pipeline.py +466 -0
  184. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/calibrate.py +249 -0
  185. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/delta_compare.py +278 -0
  186. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/render_html.py +304 -0
  187. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/snapshot.py +200 -0
  188. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/trace_bubble.py +331 -0
  189. package/skills/asc-tools/tool-ops-tune/ops-verdict/scripts/verdict.py +1094 -0
  190. package/skills/asc-tools/tool-ops-tune/scripts/diff_audit.py +281 -0
  191. package/skills/asc-tools/tool-precision-debug/LICENSE +38 -0
  192. package/skills/asc-tools/tool-precision-debug/README.md +190 -0
  193. package/skills/asc-tools/tool-precision-debug/scripts/install.sh +475 -0
  194. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/LICENSE +38 -0
  195. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/SKILL.md +136 -0
  196. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/evals/evals.json +932 -0
  197. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/baseline.md +69 -0
  198. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/checkpoint-design.md +82 -0
  199. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/dumptensor.md +83 -0
  200. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/hypothesis-experiment.md +114 -0
  201. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/index.md +20 -0
  202. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/localization.md +85 -0
  203. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/numerical-modeling.md +94 -0
  204. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/operator-modeling.md +116 -0
  205. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/progressive-error-analysis.md +86 -0
  206. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/reporting.md +140 -0
  207. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/reproducibility.md +121 -0
  208. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/semantic-bisection.md +72 -0
  209. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/diagnosis/sensitive-points.md +146 -0
  210. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/fp16-promotion-boundary.md +46 -0
  211. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/fused-rmsnorm-gelu-residual.md +162 -0
  212. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/index.md +16 -0
  213. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/integer-float-collision.md +44 -0
  214. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/partial-statistics-merge.md +30 -0
  215. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/softplus-v2-grad-family.md +156 -0
  216. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/sync-dataflow-handshake.md +89 -0
  217. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/tail-valid-region-state.md +30 -0
  218. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/cases/thnn-fused-gru-bias-reduction.md +73 -0
  219. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/index.md +34 -0
  220. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/accumulation-order.md +108 -0
  221. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/algorithm-parameter-contract.md +118 -0
  222. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/buffer-lifetime-alias.md +133 -0
  223. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/cast-rounding.md +76 -0
  224. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/complex-operator-boundary.md +48 -0
  225. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/data-movement-alignment.md +104 -0
  226. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/golden-host-contract.md +84 -0
  227. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/index-address-ownership.md +57 -0
  228. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/index.md +32 -0
  229. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/multicore-ownership.md +117 -0
  230. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/pipeline-sync-visibility.md +146 -0
  231. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/precision-mode-approximation.md +90 -0
  232. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/shape-boundary-contract.md +57 -0
  233. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/special-values.md +122 -0
  234. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/mechanisms/tiling-tail-state.md +146 -0
  235. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/broadcast-transpose.md +64 -0
  236. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/convolution.md +60 -0
  237. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/dynamic-quant.md +47 -0
  238. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/index.md +18 -0
  239. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/matmul-mmad.md +131 -0
  240. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/normalization.md +145 -0
  241. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/reduction.md +167 -0
  242. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/softplus-v2-grad.md +58 -0
  243. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/patterns/operators/sort-merge.md +65 -0
  244. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/tools/index.md +18 -0
  245. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/tools/kernel-debug-data.md +133 -0
  246. package/skills/asc-tools/tool-precision-debug/skills/tool-precision-debug/references/tools/msobjdump.md +150 -0
  247. package/skills/cann-doctor/SKILL.md +15 -0
  248. package/skills/catalog.json +79 -0
  249. package/skills/mattpocock/GLOSSARY.md +30 -0
  250. package/skills/mattpocock/LICENSE +21 -0
  251. package/skills/mattpocock/README.md +258 -0
  252. package/skills/mattpocock/SCOPE.md +35 -0
  253. package/skills/mattpocock/docs/agents/triage-labels.md +15 -0
  254. package/skills/mattpocock/docs/engineering/ask-matt.md +91 -0
  255. package/skills/mattpocock/docs/engineering/code-review.md +101 -0
  256. package/skills/mattpocock/docs/engineering/codebase-design.md +88 -0
  257. package/skills/mattpocock/docs/engineering/diagnosing-bugs.md +94 -0
  258. package/skills/mattpocock/docs/engineering/domain-modeling.md +86 -0
  259. package/skills/mattpocock/docs/engineering/grill-with-docs.md +82 -0
  260. package/skills/mattpocock/docs/engineering/implement-spec.md +86 -0
  261. package/skills/mattpocock/docs/engineering/implement.md +97 -0
  262. package/skills/mattpocock/docs/engineering/improve-codebase-architecture.md +113 -0
  263. package/skills/mattpocock/docs/engineering/pr.md +79 -0
  264. package/skills/mattpocock/docs/engineering/prototype.md +67 -0
  265. package/skills/mattpocock/docs/engineering/research.md +73 -0
  266. package/skills/mattpocock/docs/engineering/resolving-merge-conflicts.md +53 -0
  267. package/skills/mattpocock/docs/engineering/retro.md +81 -0
  268. package/skills/mattpocock/docs/engineering/setup-matt-pocock-skills.md +94 -0
  269. package/skills/mattpocock/docs/engineering/tdd.md +94 -0
  270. package/skills/mattpocock/docs/engineering/to-spec.md +81 -0
  271. package/skills/mattpocock/docs/engineering/to-tickets.md +99 -0
  272. package/skills/mattpocock/docs/engineering/triage.md +109 -0
  273. package/skills/mattpocock/docs/engineering/wayfinder.md +103 -0
  274. package/skills/mattpocock/docs/engineering/wizard.md +96 -0
  275. package/skills/mattpocock/docs/productivity/grill-me.md +76 -0
  276. package/skills/mattpocock/docs/productivity/grilling.md +87 -0
  277. package/skills/mattpocock/docs/productivity/handoff.md +76 -0
  278. package/skills/mattpocock/docs/productivity/teach.md +97 -0
  279. package/skills/mattpocock/docs/productivity/to-questionnaire.md +78 -0
  280. package/skills/mattpocock/docs/productivity/wait-what.md +36 -0
  281. package/skills/mattpocock/docs/productivity/writing-for-agents.md +70 -0
  282. package/skills/mattpocock/scripts/link-skills.sh +62 -0
  283. package/skills/mattpocock/scripts/list-skills.sh +7 -0
  284. package/skills/mattpocock/scripts/sync-plugin-version.mjs +41 -0
  285. package/skills/mattpocock/skills/deprecated/README.md +3 -0
  286. package/skills/mattpocock/skills/engineering/README.md +34 -0
  287. package/skills/mattpocock/skills/engineering/ask-matt/PHASE-BOUNDARIES.md +55 -0
  288. package/skills/mattpocock/skills/engineering/ask-matt/SKILL.md +97 -0
  289. package/skills/mattpocock/skills/engineering/ask-matt/agents/openai.yaml +5 -0
  290. package/skills/mattpocock/skills/engineering/code-review/SKILL.md +89 -0
  291. package/skills/mattpocock/skills/engineering/code-review/agents/openai.yaml +3 -0
  292. package/skills/mattpocock/skills/engineering/codebase-design/DEEPENING.md +37 -0
  293. package/skills/mattpocock/skills/engineering/codebase-design/DESIGN-IT-TWICE.md +44 -0
  294. package/skills/mattpocock/skills/engineering/codebase-design/SKILL.md +114 -0
  295. package/skills/mattpocock/skills/engineering/codebase-design/agents/openai.yaml +3 -0
  296. package/skills/mattpocock/skills/engineering/diagnosing-bugs/SKILL.md +138 -0
  297. package/skills/mattpocock/skills/engineering/diagnosing-bugs/agents/openai.yaml +3 -0
  298. package/skills/mattpocock/skills/engineering/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  299. package/skills/mattpocock/skills/engineering/domain-modeling/ADR-FORMAT.md +47 -0
  300. package/skills/mattpocock/skills/engineering/domain-modeling/GLOSSARY-FORMAT.md +60 -0
  301. package/skills/mattpocock/skills/engineering/domain-modeling/SKILL.md +74 -0
  302. package/skills/mattpocock/skills/engineering/domain-modeling/agents/openai.yaml +3 -0
  303. package/skills/mattpocock/skills/engineering/grill-with-docs/SKILL.md +7 -0
  304. package/skills/mattpocock/skills/engineering/grill-with-docs/agents/openai.yaml +5 -0
  305. package/skills/mattpocock/skills/engineering/implement/SKILL.md +17 -0
  306. package/skills/mattpocock/skills/engineering/implement/agents/openai.yaml +5 -0
  307. package/skills/mattpocock/skills/engineering/implement-spec/SKILL.md +42 -0
  308. package/skills/mattpocock/skills/engineering/implement-spec/agents/openai.yaml +5 -0
  309. package/skills/mattpocock/skills/engineering/improve-codebase-architecture/HTML-REPORT.md +123 -0
  310. package/skills/mattpocock/skills/engineering/improve-codebase-architecture/SKILL.md +71 -0
  311. package/skills/mattpocock/skills/engineering/improve-codebase-architecture/agents/openai.yaml +5 -0
  312. package/skills/mattpocock/skills/engineering/pr/CREDITS.md +3 -0
  313. package/skills/mattpocock/skills/engineering/pr/SKILL.md +170 -0
  314. package/skills/mattpocock/skills/engineering/pr/agents/openai.yaml +3 -0
  315. package/skills/mattpocock/skills/engineering/prototype/LOGIC.md +67 -0
  316. package/skills/mattpocock/skills/engineering/prototype/SKILL.md +26 -0
  317. package/skills/mattpocock/skills/engineering/prototype/UI.md +112 -0
  318. package/skills/mattpocock/skills/engineering/prototype/agents/openai.yaml +3 -0
  319. package/skills/mattpocock/skills/engineering/research/SKILL.md +12 -0
  320. package/skills/mattpocock/skills/engineering/research/agents/openai.yaml +3 -0
  321. package/skills/mattpocock/skills/engineering/retro/SKILL.md +44 -0
  322. package/skills/mattpocock/skills/engineering/retro/agents/openai.yaml +5 -0
  323. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/SKILL.md +120 -0
  324. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  325. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/domain.md +51 -0
  326. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/issue-tracker-github.md +50 -0
  327. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  328. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/issue-tracker-local.md +30 -0
  329. package/skills/mattpocock/skills/engineering/setup-matt-pocock-skills/triage-labels.md +15 -0
  330. package/skills/mattpocock/skills/engineering/tdd/SKILL.md +38 -0
  331. package/skills/mattpocock/skills/engineering/tdd/agents/openai.yaml +3 -0
  332. package/skills/mattpocock/skills/engineering/tdd/mocking.md +59 -0
  333. package/skills/mattpocock/skills/engineering/tdd/tests.md +77 -0
  334. package/skills/mattpocock/skills/engineering/to-spec/SKILL.md +75 -0
  335. package/skills/mattpocock/skills/engineering/to-spec/agents/openai.yaml +5 -0
  336. package/skills/mattpocock/skills/engineering/to-tickets/SKILL.md +105 -0
  337. package/skills/mattpocock/skills/engineering/to-tickets/agents/openai.yaml +5 -0
  338. package/skills/mattpocock/skills/engineering/triage/AGENT-BRIEF.md +207 -0
  339. package/skills/mattpocock/skills/engineering/triage/OUT-OF-SCOPE.md +105 -0
  340. package/skills/mattpocock/skills/engineering/triage/SKILL.md +112 -0
  341. package/skills/mattpocock/skills/engineering/triage/agents/openai.yaml +5 -0
  342. package/skills/mattpocock/skills/engineering/wayfinder/SKILL.md +128 -0
  343. package/skills/mattpocock/skills/engineering/wayfinder/agents/openai.yaml +5 -0
  344. package/skills/mattpocock/skills/engineering/wizard/SKILL.md +44 -0
  345. package/skills/mattpocock/skills/engineering/wizard/agents/openai.yaml +3 -0
  346. package/skills/mattpocock/skills/engineering/wizard/template.sh +223 -0
  347. package/skills/mattpocock/skills/in-progress/README.md +17 -0
  348. package/skills/mattpocock/skills/in-progress/chief-of-staff/SKILL.md +75 -0
  349. package/skills/mattpocock/skills/in-progress/chief-of-staff/agents/openai.yaml +5 -0
  350. package/skills/mattpocock/skills/in-progress/claude-handoff/SKILL.md +18 -0
  351. package/skills/mattpocock/skills/in-progress/claude-handoff/agents/openai.yaml +5 -0
  352. package/skills/mattpocock/skills/in-progress/loop-me/SKILL.md +32 -0
  353. package/skills/mattpocock/skills/in-progress/loop-me/agents/openai.yaml +5 -0
  354. package/skills/mattpocock/skills/in-progress/setup-ts-deep-modules/SKILL.md +102 -0
  355. package/skills/mattpocock/skills/in-progress/setup-ts-deep-modules/agents/openai.yaml +5 -0
  356. package/skills/mattpocock/skills/in-progress/setup-ts-deep-modules/dependency-cruiser.config.cjs +95 -0
  357. package/skills/mattpocock/skills/in-progress/software-factory/EXAMPLE-TASKS.md +80 -0
  358. package/skills/mattpocock/skills/in-progress/software-factory/GIT-HOSTS.md +84 -0
  359. package/skills/mattpocock/skills/in-progress/software-factory/OBSERVABILITY-PLATFORMS.md +75 -0
  360. package/skills/mattpocock/skills/in-progress/software-factory/RUNNERS.md +94 -0
  361. package/skills/mattpocock/skills/in-progress/software-factory/SKILL.md +98 -0
  362. package/skills/mattpocock/skills/in-progress/software-factory/TICKET-TRACKERS.md +85 -0
  363. package/skills/mattpocock/skills/in-progress/writing-beats/SKILL.md +67 -0
  364. package/skills/mattpocock/skills/in-progress/writing-beats/agents/openai.yaml +5 -0
  365. package/skills/mattpocock/skills/in-progress/writing-fragments/SKILL.md +79 -0
  366. package/skills/mattpocock/skills/in-progress/writing-fragments/agents/openai.yaml +5 -0
  367. package/skills/mattpocock/skills/in-progress/writing-shape/SKILL.md +79 -0
  368. package/skills/mattpocock/skills/in-progress/writing-shape/agents/openai.yaml +5 -0
  369. package/skills/mattpocock/skills/misc/README.md +8 -0
  370. package/skills/mattpocock/skills/misc/git-guardrails-claude-code/SKILL.md +95 -0
  371. package/skills/mattpocock/skills/misc/git-guardrails-claude-code/agents/openai.yaml +3 -0
  372. package/skills/mattpocock/skills/misc/git-guardrails-claude-code/scripts/block-dangerous-git.sh +25 -0
  373. package/skills/mattpocock/skills/misc/migrate-to-shoehorn/SKILL.md +118 -0
  374. package/skills/mattpocock/skills/misc/migrate-to-shoehorn/agents/openai.yaml +3 -0
  375. package/skills/mattpocock/skills/misc/scaffold-exercises/SKILL.md +106 -0
  376. package/skills/mattpocock/skills/misc/scaffold-exercises/agents/openai.yaml +3 -0
  377. package/skills/mattpocock/skills/misc/setup-pre-commit/SKILL.md +91 -0
  378. package/skills/mattpocock/skills/misc/setup-pre-commit/agents/openai.yaml +3 -0
  379. package/skills/mattpocock/skills/productivity/README.md +20 -0
  380. package/skills/mattpocock/skills/productivity/grill-me/SKILL.md +7 -0
  381. package/skills/mattpocock/skills/productivity/grill-me/agents/openai.yaml +5 -0
  382. package/skills/mattpocock/skills/productivity/grilling/SKILL.md +30 -0
  383. package/skills/mattpocock/skills/productivity/grilling/agents/openai.yaml +3 -0
  384. package/skills/mattpocock/skills/productivity/handoff/SKILL.md +16 -0
  385. package/skills/mattpocock/skills/productivity/handoff/agents/openai.yaml +5 -0
  386. package/skills/mattpocock/skills/productivity/teach/GLOSSARY-FORMAT.md +35 -0
  387. package/skills/mattpocock/skills/productivity/teach/LEARNING-RECORD-FORMAT.md +46 -0
  388. package/skills/mattpocock/skills/productivity/teach/MISSION-FORMAT.md +31 -0
  389. package/skills/mattpocock/skills/productivity/teach/RESOURCES-FORMAT.md +32 -0
  390. package/skills/mattpocock/skills/productivity/teach/SKILL.md +140 -0
  391. package/skills/mattpocock/skills/productivity/teach/agents/openai.yaml +5 -0
  392. package/skills/mattpocock/skills/productivity/to-questionnaire/SKILL.md +54 -0
  393. package/skills/mattpocock/skills/productivity/to-questionnaire/agents/openai.yaml +5 -0
  394. package/skills/mattpocock/skills/productivity/wait-what/SKILL.md +7 -0
  395. package/skills/mattpocock/skills/productivity/wait-what/agents/openai.yaml +5 -0
  396. package/skills/mattpocock/skills/productivity/writing-for-agents/SKILL-MECHANICS.md +22 -0
  397. package/skills/mattpocock/skills/productivity/writing-for-agents/SKILL.md +81 -0
  398. package/skills/mattpocock/skills/productivity/writing-for-agents/agents/openai.yaml +3 -0
  399. package/skills/task-agents/operator-development/Agent.md +71 -0
  400. package/skills/task-agents/operator-development/skills.json +120 -0
  401. package/skills/task-agents/operator-development/stages.schema.json +532 -0
  402. package/skills/task-agents/performance-optimization/Agent.md +78 -0
  403. package/skills/task-agents/performance-optimization/skills.json +64 -0
  404. package/skills/task-agents/response-protocol.md +35 -0
  405. package/skills/task-agents/sidebar-contracts.schema.json +4168 -0
  406. package/skills/task-agents/sidebar-selection.schema.json +971 -0
  407. package/skills/task-agents/visuals/components.json +283 -0
  408. package/skills/task-agents/visuals/contracts.schema.json +3628 -0
@@ -0,0 +1,253 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1080 1420" font-family="'Courier New', 'Lucida Console', 'Microsoft YaHei', 'SimHei', monospace">
2
+ <defs>
3
+ <pattern id="grid" width="30" height="30" patternUnits="userSpaceOnUse">
4
+ <path d="M 30 0 L 0 0 0 30" fill="none" stroke="#112240" stroke-width="0.5"/>
5
+ </pattern>
6
+ <marker id="arr-cyan" markerWidth="9" markerHeight="7" refX="8" refY="3.5" orient="auto">
7
+ <polygon points="0 0, 9 3.5, 0 7" fill="#00b4d8"/>
8
+ </marker>
9
+ <marker id="arr-green" markerWidth="9" markerHeight="7" refX="8" refY="3.5" orient="auto">
10
+ <polygon points="0 0, 9 3.5, 0 7" fill="#06d6a0"/>
11
+ </marker>
12
+ <marker id="arr-orange" markerWidth="9" markerHeight="7" refX="8" refY="3.5" orient="auto">
13
+ <polygon points="0 0, 9 3.5, 0 7" fill="#f77f00"/>
14
+ </marker>
15
+ <marker id="arr-amber" markerWidth="9" markerHeight="7" refX="8" refY="3.5" orient="auto">
16
+ <polygon points="0 0, 9 3.5, 0 7" fill="#ffd166"/>
17
+ </marker>
18
+ <linearGradient id="hdr" x1="0" y1="0" x2="0" y2="1">
19
+ <stop offset="0" stop-color="#00b4d8" stop-opacity="0.22"/>
20
+ <stop offset="1" stop-color="#00b4d8" stop-opacity="0.04"/>
21
+ </linearGradient>
22
+ <linearGradient id="hdrv" x1="0" y1="0" x2="0" y2="1">
23
+ <stop offset="0" stop-color="#06d6a0" stop-opacity="0.20"/>
24
+ <stop offset="1" stop-color="#06d6a0" stop-opacity="0.03"/>
25
+ </linearGradient>
26
+ </defs>
27
+ <rect width="1080" height="1420" fill="#0a1628"/>
28
+ <rect width="1080" height="1420" fill="url(#grid)" opacity="0.55"/>
29
+ <rect x="40" y="28" width="1000" height="66" fill="#0d1f3c" stroke="#00b4d8" stroke-width="1"/>
30
+ <text x="60" y="55" fill="#ffffff" font-size="19" font-weight="700" letter-spacing="2">OPS TUNE — 算子调优 AGENT / SKILL 四层架构</text>
31
+ <text x="60" y="78" fill="#48cae4" font-size="12" letter-spacing="1">判定进脚本 · 解释进 LLM · 经验可回流 | 标尺 — 证据 — 机制 — 闭环</text>
32
+ <text x="1002" y="55" fill="#f77f00" font-size="10" text-anchor="end" letter-spacing="1">DWG-OPS-001</text>
33
+ <text x="1002" y="70" fill="#48cae4" font-size="10" text-anchor="end">REV 1.0 / 2026-10</text>
34
+ <text x="1002" y="84" fill="#48cae4" font-size="10" text-anchor="end">ASCEND NPU</text>
35
+ <rect data-graph-role="container" x="40" y="116" width="1000" height="150" fill="#0d1f3c" fill-opacity="0.45" stroke="#48cae4" stroke-width="1" stroke-dasharray="6,3"/>
36
+ <rect data-graph-role="decoration" x="40" y="116" width="1000" height="30" fill="url(#hdr)"/>
37
+ <text x="58" y="136" fill="#00b4d8" font-size="13" font-weight="700" letter-spacing="2">L4 · 用户场景层</text>
38
+ <text x="360" y="136" fill="#48cae4" font-size="10">四入口共用同一 SKILL 集与数据契约</text>
39
+ <rect x="60" y="162" width="225" height="82" rx="2" fill="#0d1f3c" stroke="#00b4d8" stroke-width="1.2"/>
40
+ <path d="M 60 174 v -8 h 8 M 285 232 v 8 h 8 M 277 232 h 8 v 8 M 277 174 h 8 v -8" stroke="#48cae4" stroke-width="2" fill="none"/>
41
+ <text x="172" y="192" fill="#caf0f8" font-size="14" font-weight="700" text-anchor="middle">单算子调优</text>
42
+ <text x="172" y="216" fill="#48cae4" font-size="10" text-anchor="middle">工程+cases → 全自动闭环</text>
43
+ <rect x="305" y="162" width="225" height="82" rx="2" fill="#0d1f3c" stroke="#00b4d8" stroke-width="1.2"/>
44
+ <path d="M 305 174 v -8 h 8 M 530 232 v 8 h 8 M 522 232 h 8 v 8 M 522 174 h 8 v -8" stroke="#48cae4" stroke-width="2" fill="none"/>
45
+ <text x="417" y="192" fill="#caf0f8" font-size="14" font-weight="700" text-anchor="middle">融合算子调优</text>
46
+ <text x="417" y="216" fill="#48cae4" font-size="10" text-anchor="middle">FA / MC² 污染前置+隔离测试</text>
47
+ <rect x="550" y="162" width="225" height="82" rx="2" fill="#0d1f3c" stroke="#00b4d8" stroke-width="1.2"/>
48
+ <path d="M 550 174 v -8 h 8 M 775 232 v 8 h 8 M 767 232 h 8 v 8 M 767 174 h 8 v -8" stroke="#48cae4" stroke-width="2" fill="none"/>
49
+ <text x="662" y="192" fill="#caf0f8" font-size="14" font-weight="700" text-anchor="middle">批量回归</text>
50
+ <text x="662" y="216" fill="#48cae4" font-size="10" text-anchor="middle">基线库重跑判定+对比</text>
51
+ <rect x="795" y="162" width="225" height="82" rx="2" fill="#0d1f3c" stroke="#00b4d8" stroke-width="1.2"/>
52
+ <path d="M 795 174 v -8 h 8 M 1020 232 v 8 h 8 M 1012 232 h 8 v 8 M 1012 174 h 8 v -8" stroke="#48cae4" stroke-width="2" fill="none"/>
53
+ <text x="907" y="192" fill="#caf0f8" font-size="14" font-weight="700" text-anchor="middle">调优问答</text>
54
+ <text x="907" y="216" fill="#48cae4" font-size="10" text-anchor="middle">已有产物 → 离线判定</text>
55
+ <line x1="172" y1="244" x2="172" y2="303" stroke="#48cae4" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
56
+ <line x1="417" y1="244" x2="417" y2="303" stroke="#48cae4" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
57
+ <line x1="662" y1="244" x2="662" y2="303" stroke="#48cae4" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
58
+ <line x1="907" y1="244" x2="907" y2="303" stroke="#48cae4" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
59
+ <rect data-graph-role="container" x="40" y="306" width="1000" height="360" fill="#0d1f3c" fill-opacity="0.45" stroke="#00b4d8" stroke-width="1.2"/>
60
+ <rect data-graph-role="decoration" x="40" y="306" width="1000" height="32" fill="url(#hdr)"/>
61
+ <text x="58" y="327" fill="#00b4d8" font-size="13" font-weight="700" letter-spacing="2">L3 · AGENT 编排层</text>
62
+ <text x="330" y="327" fill="#f77f00" font-size="11">只调度 · 不判定 · 不写码 —— 不确定性上浮到这里收敛</text>
63
+ <rect data-graph-role="container" x="70" y="356" width="600" height="284" rx="2" fill="#0d1f3c" stroke="#06d6a0" stroke-width="1.6"/>
64
+ <rect x="70" y="356" width="600" height="30" fill="url(#hdrv)"/>
65
+ <text x="88" y="376" fill="#06d6a0" font-size="14" font-weight="700" letter-spacing="1">OpsTuningAgent</text>
66
+ <text x="650" y="376" fill="#48cae4" font-size="10" text-anchor="end">mode: primary</text>
67
+ <rect x="88" y="398" width="184" height="80" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="1"/>
68
+ <text x="98" y="420" fill="#f77f00" font-size="11" font-weight="700">P0</text>
69
+ <text x="128" y="420" fill="#caf0f8" font-size="12" font-weight="700">意图与边界</text>
70
+ <text x="98" y="444" fill="#48cae4" font-size="9.5">精度门禁① / 场景分类</text>
71
+ <text x="98" y="464" fill="#06d6a0" font-size="9">■ 门禁① 进入(精度全集)</text>
72
+ <rect x="284" y="398" width="184" height="80" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="1"/>
73
+ <text x="294" y="420" fill="#f77f00" font-size="11" font-weight="700">P1</text>
74
+ <text x="324" y="420" fill="#caf0f8" font-size="12" font-weight="700">环境与基线</text>
75
+ <text x="294" y="444" fill="#48cae4" font-size="9.5">④ 口径指纹 12 字段</text>
76
+ <rect x="480" y="398" width="184" height="80" rx="2" fill="#0e3446" stroke="#48cae4" stroke-width="1"/>
77
+ <text x="490" y="420" fill="#f77f00" font-size="11" font-weight="700">P2</text>
78
+ <text x="520" y="420" fill="#caf0f8" font-size="12" font-weight="700">采集→分层判定</text>
79
+ <text x="490" y="444" fill="#48cae4" font-size="9.5">L3→L2→L1→L0</text>
80
+ <rect x="88" y="490" width="184" height="80" rx="2" fill="#0e3446" stroke="#48cae4" stroke-width="1"/>
81
+ <text x="98" y="512" fill="#f77f00" font-size="11" font-weight="700">P3</text>
82
+ <text x="128" y="512" fill="#caf0f8" font-size="12" font-weight="700">机制路由</text>
83
+ <text x="98" y="536" fill="#48cae4" font-size="9.5">候选方案卡 ≤3</text>
84
+ <rect x="284" y="490" width="184" height="80" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="1"/>
85
+ <text x="294" y="512" fill="#f77f00" font-size="11" font-weight="700">P4</text>
86
+ <text x="324" y="512" fill="#caf0f8" font-size="12" font-weight="700">单变量迭代</text>
87
+ <text x="294" y="536" fill="#48cae4" font-size="9.5">KEEP / REVERT / 复测</text>
88
+ <text x="294" y="556" fill="#06d6a0" font-size="9">■ 门禁② 每轮先精度后性能</text>
89
+ <rect x="480" y="490" width="184" height="80" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="1"/>
90
+ <text x="490" y="512" fill="#f77f00" font-size="11" font-weight="700">P5</text>
91
+ <text x="520" y="512" fill="#caf0f8" font-size="12" font-weight="700">归档与回灌</text>
92
+ <text x="490" y="536" fill="#48cae4" font-size="9.5">REPORT 六要素 + E 级案例</text>
93
+ <line x1="272.5" y1="438" x2="283.5" y2="438" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
94
+ <line x1="468.5" y1="438" x2="479.5" y2="438" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
95
+ <path d="M 580 478 v 6 h -400 v 6" stroke="#00b4d8" stroke-width="1.2" fill="none" marker-end="url(#arr-cyan)"/>
96
+ <line x1="272.5" y1="530" x2="283.5" y2="530" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
97
+ <line x1="468.5" y1="530" x2="479.5" y2="530" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
98
+ <path d="M 350 574 v 22 h 84 v -24" stroke="#7c3aed" stroke-width="1.2" fill="none" stroke-dasharray="4,3" marker-end="url(#arr-cyan)"/>
99
+ <text x="392" y="612" fill="#7c3aed" font-size="9" text-anchor="middle">REVERT 回滚 → 复跑验证</text>
100
+ <rect x="700" y="356" width="310" height="180" rx="2" fill="#0d1f3c" stroke="#ffd166" stroke-width="1.4"/>
101
+ <text x="718" y="382" fill="#ffd166" font-size="13" font-weight="700">perf-implementer</text>
102
+ <text x="992" y="382" fill="#48cae4" font-size="9" text-anchor="end">mode: subagent</text>
103
+ <text x="718" y="408" fill="#caf0f8" font-size="11">● 单机制实施(单变量铁律)</text>
104
+ <text x="718" y="430" fill="#caf0f8" font-size="11">● 模板拷贝优先 T1-T5</text>
105
+ <text x="718" y="452" fill="#caf0f8" font-size="11">● MicroAPI 编译修复顺序</text>
106
+ <text x="718" y="474" fill="#caf0f8" font-size="11">● 全量 case 精度验证</text>
107
+ <text x="718" y="496" fill="#f77f00" font-size="10">✗ 不自采性能(主 agent 垄断)</text>
108
+ <text x="718" y="518" fill="#f77f00" font-size="10">✗ 不做机制选择 / 不判定</text>
109
+ <line x1="670" y1="420" x2="700" y2="420" stroke="#ffd166" stroke-width="1.4" marker-end="url(#arr-amber)"/>
110
+ <text x="685" y="410" fill="#ffd166" font-size="9" text-anchor="middle">方案卡</text>
111
+ <line x1="700" y1="470" x2="670" y2="470" stroke="#06d6a0" stroke-width="1.4" marker-end="url(#arr-green)"/>
112
+ <text x="685" y="490" fill="#06d6a0" font-size="9" text-anchor="middle">精度+diff</text>
113
+ <rect x="700" y="560" width="310" height="64" rx="2" fill="#0e2a24" stroke="#06d6a0" stroke-width="1" stroke-dasharray="5,3"/>
114
+ <text x="855" y="584" fill="#06d6a0" font-size="11" font-weight="700" text-anchor="middle">消费 verdict.json —— 不产出判定</text>
115
+ <text x="855" y="606" fill="#48cae4" font-size="10" text-anchor="middle">LLM 只做编排 · 解释 · 机制选择;判定只出自脚本</text>
116
+ <rect data-graph-role="container" x="40" y="682" width="1000" height="88" fill="#0d1f3c" fill-opacity="0.35" stroke="#7c3aed" stroke-width="1" stroke-dasharray="6,3"/>
117
+ <text x="1030" y="704" fill="#7c3aed" font-size="12" font-weight="700" letter-spacing="1" text-anchor="end">数据契约流</text>
118
+ <text x="1030" y="722" fill="#48cae4" font-size="9.5" text-anchor="end">单一数据源 · 报告/对话/CI 同源渲染</text>
119
+ <rect x="60" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
120
+ <text x="135" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">collection_manifest</text>
121
+ <text x="135" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">① 采集块状态机</text>
122
+ <rect x="228" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
123
+ <text x="303" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">verdict.json</text>
124
+ <text x="303" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">② 判定书+反证</text>
125
+ <rect x="396" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
126
+ <text x="471" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">candidates.json</text>
127
+ <text x="471" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">③ 方案卡 ≤3</text>
128
+ <rect x="564" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
129
+ <text x="639" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">result.json</text>
130
+ <text x="639" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">④ 口径指纹 12 字段</text>
131
+ <rect x="732" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
132
+ <text x="807" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">comparison.md</text>
133
+ <text x="807" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">⑤ 噪声带三段</text>
134
+ <rect x="900" y="734" width="150" height="28" rx="2" fill="#131033" stroke="#7c3aed" stroke-width="1"/>
135
+ <text x="975" y="746" fill="#e0d7ff" font-size="10.5" font-weight="700" text-anchor="middle">REPORT.md</text>
136
+ <text x="975" y="758" fill="#9d8fd4" font-size="8.5" text-anchor="middle">⑥ 六要素+案例回灌</text>
137
+ <rect data-graph-role="container" x="40" y="786" width="1000" height="440" fill="#0d1f3c" fill-opacity="0.45" stroke="#00b4d8" stroke-width="1.2"/>
138
+ <rect data-graph-role="decoration" x="40" y="786" width="1000" height="32" fill="url(#hdr)"/>
139
+ <text x="58" y="807" fill="#00b4d8" font-size="13" font-weight="700" letter-spacing="2">L2 · SKILL 能力层</text>
140
+ <text x="330" y="807" fill="#48cae4" font-size="11">确定性沉淀在这里(可独立使用)</text>
141
+ <rect data-graph-role="container" x="60" y="836" width="228" height="366" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1.2"/>
142
+ <text x="174" y="860" fill="#caf0f8" font-size="14" font-weight="700" text-anchor="middle">ops-collect</text>
143
+ <text x="174" y="878" fill="#48cae4" font-size="10" text-anchor="middle">采集编排</text>
144
+ <rect x="76" y="892" width="196" height="52" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
145
+ <text x="84" y="912" fill="#caf0f8" font-size="11">collect_board.sh</text>
146
+ <text x="84" y="930" fill="#48cae4" font-size="9.5">standard / quick / mc2 三模式</text>
147
+ <rect x="76" y="956" width="196" height="52" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
148
+ <text x="84" y="976" fill="#caf0f8" font-size="11">isolation_test.py</text>
149
+ <text x="84" y="994" fill="#48cae4" font-size="9.5">T_comm/T_compute → R 值</text>
150
+ <rect x="76" y="1020" width="196" height="88" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
151
+ <text x="84" y="1040" fill="#caf0f8" font-size="11">路由硬规则</text>
152
+ <text x="84" y="1058" fill="#48cae4" font-size="9.5">● 先探测本机 --help</text>
153
+ <text x="84" y="1074" fill="#48cae4" font-size="9.5">● 已有 manifest 禁重采</text>
154
+ <text x="84" y="1090" fill="#48cae4" font-size="9.5">● MC² 禁 host 计时</text>
155
+ <rect x="76" y="1120" width="196" height="66" rx="2" fill="#0e2a24" stroke="#06d6a0" stroke-width="0.8"/>
156
+ <text x="84" y="1140" fill="#06d6a0" font-size="10.5">跨 rank max 口径(木桶效应)</text>
157
+ <text x="84" y="1156" fill="#48cae4" font-size="9.5">循环 ≥10 前五 warm-up</text>
158
+ <text x="84" y="1172" fill="#48cae4" font-size="9.5">tileCnt=1 源码副本隔离测试</text>
159
+ <rect data-graph-role="container" x="306" y="836" width="300" height="366" rx="2" fill="#0d1f3c" stroke="#06d6a0" stroke-width="2"/>
160
+ <rect x="306" y="836" width="300" height="52" fill="url(#hdrv)"/>
161
+ <text x="456" y="858" fill="#06d6a0" font-size="15" font-weight="700" text-anchor="middle">ops-verdict ★</text>
162
+ <text x="456" y="878" fill="#48cae4" font-size="10" text-anchor="middle">判定引擎(核心增量)</text>
163
+ <rect x="322" y="900" width="268" height="64" rx="2" fill="#0e3446" stroke="#06d6a0" stroke-width="0.8"/>
164
+ <text x="330" y="918" fill="#caf0f8" font-size="11" font-weight="700">rules/ — 23 条规则 · 4 包</text>
165
+ <text x="330" y="934" fill="#48cae4" font-size="9.5">L3 卡间(MC² R 五档) / L2 核间(长尾/离散)</text>
166
+ <text x="330" y="950" fill="#48cae4" font-size="9.5">L1 单核(pipe 阈值) / L0 指令</text>
167
+ <rect x="322" y="976" width="268" height="80" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
168
+ <text x="330" y="996" fill="#caf0f8" font-size="11" font-weight="700">verdict.py</text>
169
+ <text x="330" y="1012" fill="#48cae4" font-size="9.5">● 绑定契约: REQUIRED 缺失→SKIPPED</text>
170
+ <text x="330" y="1028" fill="#48cae4" font-size="9.5">● 三值逻辑: None 不冒充 False</text>
171
+ <text x="330" y="1044" fill="#48cae4" font-size="9.5">● 路由副作用: 污染命中→禁用单核 MTE2</text>
172
+ <rect x="322" y="1068" width="128" height="56" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
173
+ <text x="386" y="1090" fill="#caf0f8" font-size="10.5" text-anchor="middle">snapshot.py</text>
174
+ <text x="386" y="1108" fill="#48cae4" font-size="9" text-anchor="middle">口径指纹落盘</text>
175
+ <rect x="462" y="1068" width="128" height="56" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
176
+ <text x="526" y="1090" fill="#caf0f8" font-size="10.5" text-anchor="middle">delta_compare.py</text>
177
+ <text x="526" y="1108" fill="#48cae4" font-size="9" text-anchor="middle">精度门禁 exit 2</text>
178
+ <rect x="322" y="1136" width="268" height="54" rx="2" fill="#0e2a24" stroke="#06d6a0" stroke-width="1.2"/>
179
+ <text x="330" y="1156" fill="#06d6a0" font-size="11" font-weight="700">evals/ — 执行式回归 10/10 ✓</text>
180
+ <text x="330" y="1174" fill="#48cae4" font-size="9.5">fixture → 断言判定输出;阈值变更必须全绿</text>
181
+ <rect data-graph-role="container" x="624" y="836" width="196" height="366" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1.2"/>
182
+ <text x="722" y="860" fill="#caf0f8" font-size="13" font-weight="700" text-anchor="middle">ops-mechanism</text>
183
+ <text x="722" y="878" fill="#48cae4" font-size="10" text-anchor="middle">机制卡 + 案例证据库</text>
184
+ <rect x="640" y="892" width="164" height="66" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
185
+ <text x="648" y="910" fill="#caf0f8" font-size="11">机制卡 × 7</text>
186
+ <text x="648" y="926" fill="#48cae4" font-size="9.5">八要素:原理/前提/收益/</text>
187
+ <text x="648" y="942" fill="#48cae4" font-size="9.5">风险/验证/回滚/模板</text>
188
+ <rect x="640" y="970" width="164" height="84" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
189
+ <text x="648" y="990" fill="#caf0f8" font-size="11">案例卡 A-E 分级</text>
190
+ <text x="648" y="1006" fill="#48cae4" font-size="9.5">● 反例入库</text>
191
+ <text x="648" y="1022" fill="#48cae4" font-size="9.5">● 无同型降级策略</text>
192
+ <text x="648" y="1038" fill="#48cae4" font-size="9.5">● E 级实测回灌</text>
193
+ <rect x="640" y="1066" width="164" height="52" rx="2" fill="#0e2a24" stroke="#06d6a0" stroke-width="0.8"/>
194
+ <text x="722" y="1086" fill="#06d6a0" font-size="10.5" text-anchor="middle">渐进式披露</text>
195
+ <text x="722" y="1102" fill="#48cae4" font-size="9" text-anchor="middle">判定后才加载机制卡</text>
196
+ <text x="648" y="1160" fill="#48cae4" font-size="9.5">mechanism_refs 精确路由</text>
197
+ <rect data-graph-role="container" x="836" y="836" width="184" height="366" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1.2"/>
198
+ <text x="928" y="860" fill="#caf0f8" font-size="13" font-weight="700" text-anchor="middle">ops-family</text>
199
+ <text x="928" y="878" fill="#48cae4" font-size="10" text-anchor="middle">算子族 + 模板货架</text>
200
+ <rect x="852" y="892" width="152" height="100" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
201
+ <text x="860" y="910" fill="#caf0f8" font-size="11">代码模板 × 26</text>
202
+ <text x="860" y="926" fill="#48cae4" font-size="9.5">.h / .cpp / .template</text>
203
+ <text x="860" y="942" fill="#48cae4" font-size="9.5">matmul 六策略判定树</text>
204
+ <text x="860" y="958" fill="#48cae4" font-size="9.5">reduce × 5 softmax 模板</text>
205
+ <text x="860" y="974" fill="#48cae4" font-size="9.5">broadcast 选型 · conversion ×12</text>
206
+ <rect x="852" y="1004" width="152" height="64" rx="2" fill="#0d2b3c" stroke="#48cae4" stroke-width="0.8"/>
207
+ <text x="860" y="1022" fill="#caf0f8" font-size="10.5">10 族分类表</text>
208
+ <text x="860" y="1038" fill="#48cae4" font-size="9.5">A 型单实现调参</text>
209
+ <text x="860" y="1054" fill="#48cae4" font-size="9.5">B 型多实现选型</text>
210
+ <rect x="852" y="1080" width="152" height="76" rx="2" fill="#0e2a24" stroke="#06d6a0" stroke-width="0.8"/>
211
+ <text x="860" y="1098" fill="#06d6a0" font-size="10.5">拷贝纪律 T1-T5</text>
212
+ <text x="860" y="1114" fill="#48cae4" font-size="9.5">● 禁止参考重写</text>
213
+ <text x="860" y="1130" fill="#48cae4" font-size="9.5">● MicroAPI 原样保留</text>
214
+ <text x="860" y="1146" fill="#48cae4" font-size="9.5">● 修复顺序禁直接降级</text>
215
+ <line x1="219" y1="666" x2="219" y2="836" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
216
+ <line x1="555" y1="666" x2="555" y2="836" stroke="#06d6a0" stroke-width="1.6" marker-end="url(#arr-green)"/>
217
+ <line x1="723" y1="666" x2="723" y2="836" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
218
+ <line x1="891" y1="666" x2="891" y2="836" stroke="#00b4d8" stroke-width="1.2" marker-end="url(#arr-cyan)"/>
219
+ <text x="565" y="818" fill="#06d6a0" font-size="9.5">调用 / 消费</text>
220
+ <rect data-graph-role="container" x="40" y="1246" width="1000" height="112" fill="#0d1f3c" fill-opacity="0.35" stroke="#48cae4" stroke-width="1" stroke-dasharray="6,3"/>
221
+ <text x="58" y="1270" fill="#48cae4" font-size="12" font-weight="700" letter-spacing="2">L1 · 工具层</text>
222
+ <text x="280" y="1270" fill="#48cae4" font-size="10">复用不重做 —— 全部 CANN 官方/开源资产,本套件只做路由与契约</text>
223
+ <rect x="60" y="1286" width="178" height="52" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1" stroke-dasharray="4,2"/>
224
+ <text x="149" y="1308" fill="#caf0f8" font-size="11.5" font-weight="700" text-anchor="middle">msprof</text>
225
+ <text x="149" y="1326" fill="#48cae4" font-size="9" text-anchor="middle">task-based 多 rank</text>
226
+ <rect x="252" y="1286" width="178" height="52" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1" stroke-dasharray="4,2"/>
227
+ <text x="341" y="1308" fill="#caf0f8" font-size="11.5" font-weight="700" text-anchor="middle">msprof op / msopprof</text>
228
+ <text x="341" y="1326" fill="#48cae4" font-size="9" text-anchor="middle">算子级采集</text>
229
+ <rect x="444" y="1286" width="178" height="52" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1" stroke-dasharray="4,2"/>
230
+ <text x="533" y="1308" fill="#caf0f8" font-size="11.5" font-weight="700" text-anchor="middle">cannsim</text>
231
+ <text x="533" y="1326" fill="#48cae4" font-size="9" text-anchor="middle">仿真 A5</text>
232
+ <rect x="636" y="1286" width="178" height="52" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1" stroke-dasharray="4,2"/>
233
+ <text x="725" y="1308" fill="#caf0f8" font-size="11.5" font-weight="700" text-anchor="middle">npu-smi / acl</text>
234
+ <text x="725" y="1326" fill="#48cae4" font-size="9" text-anchor="middle">设备与运行时</text>
235
+ <rect x="828" y="1286" width="178" height="52" rx="2" fill="#0d1f3c" stroke="#48cae4" stroke-width="1" stroke-dasharray="4,2"/>
236
+ <text x="917" y="1308" fill="#caf0f8" font-size="11.5" font-weight="700" text-anchor="middle">CANNBench</text>
237
+ <text x="917" y="1326" fill="#48cae4" font-size="9" text-anchor="middle">t_hw 理论标尺</text>
238
+ <line x1="240" y1="1202" x2="240" y2="1246" stroke="#48cae4" stroke-width="1" marker-end="url(#arr-cyan)"/>
239
+ <line x1="540" y1="1202" x2="540" y2="1246" stroke="#48cae4" stroke-width="1" marker-end="url(#arr-cyan)"/>
240
+ <line x1="840" y1="1202" x2="840" y2="1246" stroke="#48cae4" stroke-width="1" marker-end="url(#arr-cyan)"/>
241
+ <rect data-graph-role="legend" x="40" y="1372" width="1000" height="32" fill="#0d1f3c" fill-opacity="0.6" stroke="#112240" stroke-width="0.5"/>
242
+ <line x1="56" y1="1388" x2="86" y2="1388" stroke="#00b4d8" stroke-width="1.4" marker-end="url(#arr-cyan)"/>
243
+ <text x="94" y="1392" fill="#90e0ef" font-size="10">编排/调用</text>
244
+ <line x1="180" y1="1388" x2="210" y2="1388" stroke="#06d6a0" stroke-width="1.6" marker-end="url(#arr-green)"/>
245
+ <text x="218" y="1392" fill="#90e0ef" font-size="10">判定(只出脚本)/精度回流</text>
246
+ <line x1="370" y1="1388" x2="400" y2="1388" stroke="#ffd166" stroke-width="1.4" marker-end="url(#arr-amber)"/>
247
+ <text x="408" y="1392" fill="#90e0ef" font-size="10">方案卡分发</text>
248
+ <line x1="490" y1="1388" x2="520" y2="1388" stroke="#7c3aed" stroke-width="1.4" stroke-dasharray="4,3" marker-end="url(#arr-cyan)"/>
249
+ <text x="528" y="1392" fill="#90e0ef" font-size="10">REVERT 回滚循环</text>
250
+ <rect x="650" y="1381" width="14" height="14" fill="none" stroke="#7c3aed" stroke-width="1" stroke-dasharray="4,2"/>
251
+ <text x="672" y="1392" fill="#90e0ef" font-size="10">数据契约产物</text>
252
+ <text x="1024" y="1392" fill="#48cae4" font-size="10" text-anchor="end">OpsTune · V1.0 · 2026-10</text>
253
+ </svg>