@research-copilot/plugin 1.1.17 → 1.1.19

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 (800) hide show
  1. package/README.md +18 -9
  2. package/dist/.claude-plugin/plugin.json +1 -1
  3. package/dist/.codex-plugin/plugin.toml +1 -1
  4. package/dist/.cursor-plugin/plugin.json +1 -1
  5. package/dist/.gemini-plugin/plugin.json +1 -1
  6. package/dist/.opencode-plugin/plugin.json +1 -1
  7. package/dist/.windsurf-plugin/plugin.json +1 -1
  8. package/dist/skills/ablation-planner/SKILL.md +126 -0
  9. package/dist/skills/alphaxiv/SKILL.md +186 -0
  10. package/dist/skills/analyze-results/SKILL.md +45 -0
  11. package/dist/skills/arxiv/SKILL.md +210 -0
  12. package/dist/skills/auto-paper-improvement-loop/SKILL.md +574 -0
  13. package/dist/skills/auto-review-loop/SKILL.md +370 -0
  14. package/dist/skills/auto-review-loop-llm/SKILL.md +247 -0
  15. package/dist/skills/auto-review-loop-minimax/SKILL.md +290 -0
  16. package/dist/skills/benchmark-paper-template/SKILL.md +142 -0
  17. package/dist/skills/benchmark-paper-template/references/benchmark-design.md +180 -0
  18. package/dist/skills/benchmark-paper-template/references/checklist.md +113 -0
  19. package/dist/skills/benchmark-paper-template/references/construction-pipeline.md +127 -0
  20. package/dist/skills/benchmark-paper-template/references/experiments.md +159 -0
  21. package/dist/skills/benchmark-paper-template/references/gap-analysis.md +86 -0
  22. package/dist/skills/benchmark-paper-template/references/instantiation-template.md +194 -0
  23. package/dist/skills/benchmark-paper-template/references/orchestrator-notes.md +96 -0
  24. package/dist/skills/benchmark-paper-template/references/paper-structure.md +209 -0
  25. package/dist/skills/citation-audit/SKILL.md +494 -0
  26. package/dist/skills/claims-drafting/SKILL.md +239 -0
  27. package/dist/skills/comm-lit-review/SKILL.md +299 -0
  28. package/dist/skills/comm-lit-review/references/domain-taxonomy.md +57 -0
  29. package/dist/skills/comm-lit-review/references/output-template.md +37 -0
  30. package/dist/skills/comm-lit-review/references/source-policy.md +99 -0
  31. package/dist/skills/comm-lit-review/references/venue-tiering.md +112 -0
  32. package/dist/skills/composer/SKILL.md +840 -0
  33. package/dist/skills/composer/references/section_guides.md +675 -0
  34. package/dist/skills/composer/references/writing_standards.md +629 -0
  35. package/dist/skills/composer/scripts/chapter_quality_check.py +470 -0
  36. package/dist/skills/composer/scripts/final_evaluation.py +550 -0
  37. package/dist/skills/deepxiv/SKILL.md +142 -0
  38. package/dist/skills/dse-loop/SKILL.md +277 -0
  39. package/dist/skills/embodiment-description/SKILL.md +129 -0
  40. package/dist/skills/exa-search/SKILL.md +192 -0
  41. package/dist/skills/experiment-audit/SKILL.md +262 -0
  42. package/dist/skills/experiment-bridge/SKILL.md +316 -0
  43. package/dist/skills/experiment-plan/SKILL.md +249 -0
  44. package/dist/skills/experiment-queue/SKILL.md +380 -0
  45. package/dist/skills/experiment-queue/scripts/build_manifest.py +142 -0
  46. package/dist/skills/experiment-queue/scripts/queue_manager.py +426 -0
  47. package/dist/skills/feishu-notify/SKILL.md +155 -0
  48. package/dist/skills/figure-description/SKILL.md +138 -0
  49. package/dist/skills/figure-designer/SKILL.md +207 -0
  50. package/dist/skills/figure-designer/references/design-rules.md +99 -0
  51. package/dist/skills/figure-designer/references/experimental-results.md +127 -0
  52. package/dist/skills/figure-designer/references/motivated-example.md +138 -0
  53. package/dist/skills/figure-designer/references/solution-overview.md +145 -0
  54. package/dist/skills/figure-designer/references/tools.md +124 -0
  55. package/dist/skills/figure-spec/SKILL.md +252 -0
  56. package/dist/skills/figure-spec/scripts/figure_renderer.py +799 -0
  57. package/dist/skills/formula-derivation/SKILL.md +280 -0
  58. package/dist/skills/gemini-search/SKILL.md +205 -0
  59. package/dist/skills/grant-proposal/SKILL.md +625 -0
  60. package/dist/skills/humanizer/AGENTS.md +25 -0
  61. package/dist/skills/humanizer/SKILL.md +621 -0
  62. package/dist/skills/idea-creator/SKILL.md +311 -0
  63. package/dist/skills/idea-discovery/SKILL.md +340 -0
  64. package/dist/skills/idea-discovery-robot/SKILL.md +362 -0
  65. package/dist/skills/idea-evaluator/SKILL.md +265 -0
  66. package/dist/skills/idea-evaluator/references/fatal-flaws.md +192 -0
  67. package/dist/skills/idea-evaluator/references/five-dimensions.md +251 -0
  68. package/dist/skills/idea-evaluator/references/lifecycle-capability-matching.md +177 -0
  69. package/dist/skills/idea-evaluator/references/paradigm-elephant.md +112 -0
  70. package/dist/skills/idea-evaluator/references/paradigm-examples.md +107 -0
  71. package/dist/skills/idea-evaluator/references/paradigm-first-principles.md +115 -0
  72. package/dist/skills/idea-evaluator/references/paradigm-hamming.md +137 -0
  73. package/dist/skills/idea-evaluator/references/paradigm-shift-probe.md +160 -0
  74. package/dist/skills/idea-evaluator/references/paradigm-technology-cycle.md +116 -0
  75. package/dist/skills/idea-evaluator/references/worked-examples.md +206 -0
  76. package/dist/skills/interview-cheatsheet/SKILL.md +245 -0
  77. package/dist/skills/intro-drafter/SKILL.md +250 -0
  78. package/dist/skills/intro-drafter/references/contribution-patterns.md +116 -0
  79. package/dist/skills/intro-drafter/references/flowchart.md +204 -0
  80. package/dist/skills/intro-drafter/references/paper-types.md +155 -0
  81. package/dist/skills/intro-drafter/references/running-example.md +133 -0
  82. package/dist/skills/intro-drafter/references/worked-examples.md +161 -0
  83. package/dist/skills/invention-structuring/SKILL.md +188 -0
  84. package/dist/skills/jurisdiction-format/SKILL.md +192 -0
  85. package/dist/skills/kill-argument/SKILL.md +384 -0
  86. package/dist/skills/llm-wiki/.mise.toml +2 -0
  87. package/dist/skills/llm-wiki/.nvmrc +1 -0
  88. package/dist/skills/llm-wiki/AGENTS.md +132 -0
  89. package/dist/skills/llm-wiki/CHANGELOG.md +459 -0
  90. package/dist/skills/llm-wiki/CLAUDE.md +109 -0
  91. package/dist/skills/llm-wiki/HERMES.md +44 -0
  92. package/dist/skills/llm-wiki/SKILL.md +1133 -0
  93. package/dist/skills/llm-wiki/assets/graph-demo.gif +0 -0
  94. package/dist/skills/llm-wiki/assets/graph-preview.png +0 -0
  95. package/dist/skills/llm-wiki/deps/LICENSE-d3.txt +13 -0
  96. package/dist/skills/llm-wiki/deps/LICENSE-marked.txt +44 -0
  97. package/dist/skills/llm-wiki/deps/LICENSE-purify.txt +568 -0
  98. package/{LICENSE → dist/skills/llm-wiki/deps/LICENSE-roughjs.txt} +1 -1
  99. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/SKILL.md +261 -0
  100. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/references/config/first-time-setup.md +106 -0
  101. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/cdp.ts +179 -0
  102. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/constants.ts +13 -0
  103. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/defuddle-converter.ts +58 -0
  104. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/html-to-markdown.ts +135 -0
  105. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/legacy-converter.ts +629 -0
  106. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/main.ts +314 -0
  107. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/markdown-conversion-shared.ts +305 -0
  108. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/media-localizer.ts +317 -0
  109. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/package.json +14 -0
  110. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/paths.ts +29 -0
  111. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/package.json +9 -0
  112. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/src/index.test.ts +307 -0
  113. package/dist/skills/llm-wiki/deps/baoyu-url-to-markdown/scripts/vendor/baoyu-chrome-cdp/src/index.ts +523 -0
  114. package/dist/skills/llm-wiki/deps/d3.min.js +2 -0
  115. package/dist/skills/llm-wiki/deps/marked.min.js +6 -0
  116. package/dist/skills/llm-wiki/deps/purify.min.js +3 -0
  117. package/dist/skills/llm-wiki/deps/rough.min.js +7 -0
  118. package/dist/skills/llm-wiki/deps/youtube-transcript/SKILL.md +47 -0
  119. package/dist/skills/llm-wiki/deps/youtube-transcript/scripts/get_transcript.py +72 -0
  120. package/dist/skills/llm-wiki/docs/design/oriental-atlas/DESIGN.md +183 -0
  121. package/dist/skills/llm-wiki/docs/design/oriental-atlas/design-brief.md +170 -0
  122. package/dist/skills/llm-wiki/docs/design/oriental-atlas/oriental-editorial-atlas.html +1908 -0
  123. package/dist/skills/llm-wiki/docs/design/oriental-atlas/reviews/result-review.md +68 -0
  124. package/dist/skills/llm-wiki/docs/plans/2026-06-15-omp-tool-status-events-phased-plan.md +655 -0
  125. package/dist/skills/llm-wiki/docs/plans/2026-06-15-omp-tool-status-events-progress.json +913 -0
  126. package/dist/skills/llm-wiki/docs/spark/2026-06-15-omp-tool-status-events-design.md +174 -0
  127. package/dist/skills/llm-wiki/install.ps1 +87 -0
  128. package/dist/skills/llm-wiki/install.sh +722 -0
  129. package/dist/skills/llm-wiki/package-lock.json +10309 -0
  130. package/dist/skills/llm-wiki/package.json +24 -0
  131. package/dist/skills/llm-wiki/packages/graph-engine/package.json +33 -0
  132. package/dist/skills/llm-wiki/packages/graph-engine/src/anim/.gitkeep +1 -0
  133. package/dist/skills/llm-wiki/packages/graph-engine/src/anim/index.ts +179 -0
  134. package/dist/skills/llm-wiki/packages/graph-engine/src/diff.ts +121 -0
  135. package/dist/skills/llm-wiki/packages/graph-engine/src/graph-node.ts +37 -0
  136. package/dist/skills/llm-wiki/packages/graph-engine/src/index.ts +140 -0
  137. package/dist/skills/llm-wiki/packages/graph-engine/src/model/atlas.ts +18 -0
  138. package/dist/skills/llm-wiki/packages/graph-engine/src/model/index.ts +6 -0
  139. package/dist/skills/llm-wiki/packages/graph-engine/src/model/labels.ts +11 -0
  140. package/dist/skills/llm-wiki/packages/graph-engine/src/model/learning.ts +8 -0
  141. package/dist/skills/llm-wiki/packages/graph-engine/src/model/legacy-helpers.ts +1373 -0
  142. package/dist/skills/llm-wiki/packages/graph-engine/src/model/queue.ts +7 -0
  143. package/dist/skills/llm-wiki/packages/graph-engine/src/model/storage.ts +4 -0
  144. package/dist/skills/llm-wiki/packages/graph-engine/src/model/visibility.ts +9 -0
  145. package/dist/skills/llm-wiki/packages/graph-engine/src/render/.gitkeep +1 -0
  146. package/dist/skills/llm-wiki/packages/graph-engine/src/render/index.ts +59 -0
  147. package/dist/skills/llm-wiki/packages/graph-engine/src/render/legend.ts +25 -0
  148. package/dist/skills/llm-wiki/packages/graph-engine/src/render/model.ts +593 -0
  149. package/dist/skills/llm-wiki/packages/graph-engine/src/render/preview.ts +65 -0
  150. package/dist/skills/llm-wiki/packages/graph-engine/src/render/search.ts +48 -0
  151. package/dist/skills/llm-wiki/packages/graph-engine/src/render/static-renderer.ts +2783 -0
  152. package/dist/skills/llm-wiki/packages/graph-engine/src/render/toolbar.ts +40 -0
  153. package/dist/skills/llm-wiki/packages/graph-engine/src/render/viewport.ts +272 -0
  154. package/dist/skills/llm-wiki/packages/graph-engine/src/select/.gitkeep +1 -0
  155. package/dist/skills/llm-wiki/packages/graph-engine/src/select/index.ts +189 -0
  156. package/dist/skills/llm-wiki/packages/graph-engine/src/sim/index.ts +298 -0
  157. package/dist/skills/llm-wiki/packages/graph-engine/src/sim/pins.ts +96 -0
  158. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/.gitkeep +1 -0
  159. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/index.ts +8 -0
  160. package/dist/skills/llm-wiki/packages/graph-engine/src/themes/tokens.ts +107 -0
  161. package/dist/skills/llm-wiki/packages/graph-engine/src/types.ts +313 -0
  162. package/dist/skills/llm-wiki/packages/graph-engine/test/anim.test.ts +100 -0
  163. package/dist/skills/llm-wiki/packages/graph-engine/test/diff.test.ts +133 -0
  164. package/dist/skills/llm-wiki/packages/graph-engine/test/helpers.test.ts +275 -0
  165. package/dist/skills/llm-wiki/packages/graph-engine/test/learning.test.ts +259 -0
  166. package/dist/skills/llm-wiki/packages/graph-engine/test/preview.test.ts +56 -0
  167. package/dist/skills/llm-wiki/packages/graph-engine/test/queue.test.ts +114 -0
  168. package/dist/skills/llm-wiki/packages/graph-engine/test/render-model.test.ts +322 -0
  169. package/dist/skills/llm-wiki/packages/graph-engine/test/runtime-state.test.ts +281 -0
  170. package/dist/skills/llm-wiki/packages/graph-engine/test/search-and-legend.test.ts +111 -0
  171. package/dist/skills/llm-wiki/packages/graph-engine/test/select.test.ts +168 -0
  172. package/dist/skills/llm-wiki/packages/graph-engine/test/sim.test.ts +123 -0
  173. package/dist/skills/llm-wiki/packages/graph-engine/test/themes.test.ts +62 -0
  174. package/dist/skills/llm-wiki/packages/graph-engine/test/toolbar.test.ts +64 -0
  175. package/dist/skills/llm-wiki/packages/graph-engine/test/viewport.test.ts +167 -0
  176. package/dist/skills/llm-wiki/packages/graph-engine/tsconfig.json +17 -0
  177. package/dist/skills/llm-wiki/packages/graph-engine/vite.config.ts +15 -0
  178. package/dist/skills/llm-wiki/platforms/claude/CLAUDE.md +37 -0
  179. package/dist/skills/llm-wiki/platforms/claude/companions/llm-wiki-upgrade/SKILL.md +95 -0
  180. package/dist/skills/llm-wiki/platforms/codex/AGENTS.md +23 -0
  181. package/dist/skills/llm-wiki/scripts/adapter-state.sh +424 -0
  182. package/dist/skills/llm-wiki/scripts/build-graph-data.sh +395 -0
  183. package/dist/skills/llm-wiki/scripts/build-graph-html.sh +453 -0
  184. package/dist/skills/llm-wiki/scripts/cache.sh +352 -0
  185. package/dist/skills/llm-wiki/scripts/create-source-page.sh +100 -0
  186. package/dist/skills/llm-wiki/scripts/delete-helper.sh +68 -0
  187. package/dist/skills/llm-wiki/scripts/graph-analysis.js +732 -0
  188. package/dist/skills/llm-wiki/scripts/hook-session-start.sh +46 -0
  189. package/dist/skills/llm-wiki/scripts/init-wiki.sh +95 -0
  190. package/dist/skills/llm-wiki/scripts/lib/source-signal-eligibility.js +158 -0
  191. package/dist/skills/llm-wiki/scripts/lint-fix.sh +114 -0
  192. package/dist/skills/llm-wiki/scripts/lint-runner.sh +217 -0
  193. package/dist/skills/llm-wiki/scripts/runtime-context.sh +77 -0
  194. package/dist/skills/llm-wiki/scripts/shared-config.sh +83 -0
  195. package/dist/skills/llm-wiki/scripts/source-record-contract.tsv +10 -0
  196. package/dist/skills/llm-wiki/scripts/source-registry.sh +349 -0
  197. package/dist/skills/llm-wiki/scripts/source-registry.tsv +10 -0
  198. package/dist/skills/llm-wiki/scripts/source-signal-coverage.js +83 -0
  199. package/dist/skills/llm-wiki/scripts/validate-step1.sh +144 -0
  200. package/dist/skills/llm-wiki/scripts/wiki-compat.sh +267 -0
  201. package/dist/skills/llm-wiki/setup.sh +8 -0
  202. package/dist/skills/llm-wiki/templates/entity-template.md +30 -0
  203. package/dist/skills/llm-wiki/templates/graph-styles/wash/footer.html +27 -0
  204. package/dist/skills/llm-wiki/templates/graph-styles/wash/graph-wash-helpers.js +1326 -0
  205. package/dist/skills/llm-wiki/templates/graph-styles/wash/graph-wash.js +1009 -0
  206. package/dist/skills/llm-wiki/templates/graph-styles/wash/header.html +2002 -0
  207. package/dist/skills/llm-wiki/templates/index-en-template.md +51 -0
  208. package/dist/skills/llm-wiki/templates/index-template.md +51 -0
  209. package/dist/skills/llm-wiki/templates/log-en-template.md +11 -0
  210. package/dist/skills/llm-wiki/templates/log-template.md +11 -0
  211. package/dist/skills/llm-wiki/templates/overview-en-template.md +41 -0
  212. package/dist/skills/llm-wiki/templates/overview-template.md +41 -0
  213. package/dist/skills/llm-wiki/templates/purpose-en-template.md +16 -0
  214. package/dist/skills/llm-wiki/templates/purpose-template.md +16 -0
  215. package/dist/skills/llm-wiki/templates/query-template.md +19 -0
  216. package/dist/skills/llm-wiki/templates/schema-template.md +185 -0
  217. package/dist/skills/llm-wiki/templates/source-template.md +51 -0
  218. package/dist/skills/llm-wiki/templates/synthesis-template.md +25 -0
  219. package/dist/skills/llm-wiki/templates/topic-template.md +35 -0
  220. package/dist/skills/llm-wiki/tests/adapter-state.sh +338 -0
  221. package/dist/skills/llm-wiki/tests/browser/graph-density-preview.mjs +53 -0
  222. package/dist/skills/llm-wiki/tests/browser/graph-html-insights.mjs +41 -0
  223. package/dist/skills/llm-wiki/tests/browser/graph-node-slim.mjs +71 -0
  224. package/dist/skills/llm-wiki/tests/browser/graph-stage-4-5.mjs +717 -0
  225. package/dist/skills/llm-wiki/tests/expected/graph-data-empty.json +60 -0
  226. package/dist/skills/llm-wiki/tests/expected/graph-data-sample.json +396 -0
  227. package/dist/skills/llm-wiki/tests/expected/graph-interactive-basic.html +1736 -0
  228. package/dist/skills/llm-wiki/tests/expected/lint-output.txt +44 -0
  229. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/index.md +1 -0
  230. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Alpha.md +10 -0
  231. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Beta.md +7 -0
  232. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Delta.md +8 -0
  233. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/entities/Gamma.md +8 -0
  234. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/queries/20260422-abc.md +10 -0
  235. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/synthesis/Crystal.md +8 -0
  236. package/dist/skills/llm-wiki/tests/fixtures/coverage-sample-wiki/wiki/topics/Overview.md +9 -0
  237. package/dist/skills/llm-wiki/tests/fixtures/graph-data-empty-wiki/wiki/entities/.gitkeep +0 -0
  238. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/purpose.md +3 -0
  239. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Attention.md +7 -0
  240. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Decoder.md +7 -0
  241. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Encoder.md +7 -0
  242. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/GPT.md +7 -0
  243. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/entities/Transformer.md +13 -0
  244. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/sources/paper.md +9 -0
  245. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/topics/arch.md +12 -0
  246. package/dist/skills/llm-wiki/tests/fixtures/graph-data-sample-wiki/wiki/topics/finetune.md +9 -0
  247. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-basic/wiki/graph-data.json +40 -0
  248. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-dense/wiki/graph-data.json +3965 -0
  249. package/dist/skills/llm-wiki/tests/fixtures/graph-interactive-multicomm/wiki/graph-data.json +212 -0
  250. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/index.md +14 -0
  251. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/C++.md +6 -0
  252. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Lonely.md +4 -0
  253. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Other.md +8 -0
  254. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/entities/Real.md +7 -0
  255. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/sources/2026-01-01-test-source.md +15 -0
  256. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/sources/2026-02-01-inline-img.md +12 -0
  257. package/dist/skills/llm-wiki/tests/fixtures/lint-sample-wiki/wiki/topics/AIbasic.md +3 -0
  258. package/dist/skills/llm-wiki/tests/graph-analysis-helper.regression-1.sh +237 -0
  259. package/dist/skills/llm-wiki/tests/graph-browser-stage-4-5.regression-1.sh +157 -0
  260. package/dist/skills/llm-wiki/tests/graph-build-failures.regression-1.sh +91 -0
  261. package/dist/skills/llm-wiki/tests/graph-data-confidence-merge.regression-1.sh +309 -0
  262. package/dist/skills/llm-wiki/tests/graph-data-source-paths.regression-1.sh +49 -0
  263. package/dist/skills/llm-wiki/tests/graph-html-a11y.regression-1.sh +47 -0
  264. package/dist/skills/llm-wiki/tests/graph-html-brand-link.regression-1.sh +47 -0
  265. package/dist/skills/llm-wiki/tests/graph-html-density.regression-1.sh +228 -0
  266. package/dist/skills/llm-wiki/tests/graph-html-drawer-neighbors.regression-1.sh +47 -0
  267. package/dist/skills/llm-wiki/tests/graph-html-insights.regression-1.sh +80 -0
  268. package/dist/skills/llm-wiki/tests/graph-html-long-label.regression-1.sh +92 -0
  269. package/dist/skills/llm-wiki/tests/graph-html-minimap.regression-1.sh +51 -0
  270. package/dist/skills/llm-wiki/tests/graph-html-mobile.regression-1.sh +48 -0
  271. package/dist/skills/llm-wiki/tests/graph-html-oriental-atlas-contract.regression-1.sh +94 -0
  272. package/dist/skills/llm-wiki/tests/graph-html-oriental-design-contract.regression-1.sh +82 -0
  273. package/dist/skills/llm-wiki/tests/graph-html-search.regression-1.sh +52 -0
  274. package/dist/skills/llm-wiki/tests/graph-html-styles.regression-1.sh +66 -0
  275. package/dist/skills/llm-wiki/tests/graph-html-toolbar.regression-1.sh +62 -0
  276. package/dist/skills/llm-wiki/tests/js/graph-wash-bootstrap.test.js +110 -0
  277. package/dist/skills/llm-wiki/tests/js/graph-wash-helpers.test.js +296 -0
  278. package/dist/skills/llm-wiki/tests/js/graph-wash-learning.test.js +260 -0
  279. package/dist/skills/llm-wiki/tests/js/graph-wash-queue.test.js +115 -0
  280. package/dist/skills/llm-wiki/tests/js/graph-wash-runtime-state.test.js +282 -0
  281. package/dist/skills/llm-wiki/tests/js/source-signal-coverage.test.js +48 -0
  282. package/dist/skills/llm-wiki/tests/js/source-signal-eligibility.test.js +202 -0
  283. package/dist/skills/llm-wiki/tests/lib/graph-html-engine-helpers.sh +110 -0
  284. package/dist/skills/llm-wiki/tests/lint-output.regression-1.sh +32 -0
  285. package/dist/skills/llm-wiki/tests/regression.sh +1754 -0
  286. package/dist/skills/llm-wiki/workbench/.claude/skills/.gitkeep +0 -0
  287. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/SKILL.md +590 -0
  288. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/__init__.py +1 -0
  289. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/accept_changes.py +135 -0
  290. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/comment.py +318 -0
  291. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/__init__.py +0 -0
  292. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  293. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  294. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/pack.py +159 -0
  295. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  296. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  297. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  298. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  299. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  300. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  301. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  302. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  303. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  304. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  305. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  306. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  307. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  308. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  309. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  310. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  311. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  312. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  313. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  314. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  315. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  316. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  317. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  318. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  319. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  320. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  321. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  322. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  323. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  324. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  325. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  326. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  327. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  328. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  329. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  330. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  331. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  332. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  333. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  334. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/soffice.py +183 -0
  335. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/unpack.py +132 -0
  336. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validate.py +111 -0
  337. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/__init__.py +15 -0
  338. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/base.py +847 -0
  339. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/docx.py +446 -0
  340. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/pptx.py +275 -0
  341. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/office/validators/redlining.py +247 -0
  342. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/comments.xml +3 -0
  343. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  344. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  345. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/commentsIds.xml +3 -0
  346. package/dist/skills/llm-wiki/workbench/.claude/skills/docx/scripts/templates/people.xml +3 -0
  347. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/SKILL.md +314 -0
  348. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/forms.md +294 -0
  349. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/reference.md +612 -0
  350. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  351. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/check_fillable_fields.py +11 -0
  352. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  353. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/create_validation_image.py +37 -0
  354. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/extract_form_field_info.py +122 -0
  355. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/extract_form_structure.py +115 -0
  356. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  357. package/dist/skills/llm-wiki/workbench/.claude/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  358. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/SKILL.md +232 -0
  359. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/editing.md +205 -0
  360. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/pptxgenjs.md +420 -0
  361. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/__init__.py +0 -0
  362. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/add_slide.py +195 -0
  363. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/clean.py +286 -0
  364. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  365. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  366. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  367. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/pack.py +159 -0
  368. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  369. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  370. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  371. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  372. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  373. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  374. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  375. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  376. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  377. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  378. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  379. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  380. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  381. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  382. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  383. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  384. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  385. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  386. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  387. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  388. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  389. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  390. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  391. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  392. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  393. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  394. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  395. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  396. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  397. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  398. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  399. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  400. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  401. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  402. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  403. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  404. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  405. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  406. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  407. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/soffice.py +183 -0
  408. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/unpack.py +132 -0
  409. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validate.py +111 -0
  410. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/__init__.py +15 -0
  411. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/base.py +847 -0
  412. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/docx.py +446 -0
  413. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/pptx.py +275 -0
  414. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/office/validators/redlining.py +247 -0
  415. package/dist/skills/llm-wiki/workbench/.claude/skills/pptx/scripts/thumbnail.py +289 -0
  416. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/SKILL.md +292 -0
  417. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  418. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  419. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  420. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/pack.py +159 -0
  421. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  422. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  423. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  424. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  425. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  426. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  427. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  428. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  429. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  430. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  431. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  432. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  433. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  434. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  435. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  436. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  437. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  438. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  439. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  440. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  441. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  442. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  443. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  444. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  445. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  446. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  447. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  448. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  449. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  450. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  451. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  452. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  453. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  454. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  455. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  456. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  457. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  458. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  459. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  460. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/soffice.py +183 -0
  461. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/unpack.py +132 -0
  462. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validate.py +111 -0
  463. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  464. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/base.py +847 -0
  465. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/docx.py +446 -0
  466. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  467. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  468. package/dist/skills/llm-wiki/workbench/.claude/skills/xlsx/scripts/recalc.py +184 -0
  469. package/dist/skills/llm-wiki/workbench/AGENTS.md +110 -0
  470. package/dist/skills/llm-wiki/workbench/CLAUDE.md +54 -0
  471. package/dist/skills/llm-wiki/workbench/PRODUCT.md +1268 -0
  472. package/dist/skills/llm-wiki/workbench/docs/current-kb-retrieval-design.md +587 -0
  473. package/dist/skills/llm-wiki/workbench/docs/graph-evolution-1-design.md +210 -0
  474. package/dist/skills/llm-wiki/workbench/docs/stage-2-design.md +1139 -0
  475. package/dist/skills/llm-wiki/workbench/docs/stage-3-design.md +1269 -0
  476. package/dist/skills/llm-wiki/workbench/docs/stage-3.5-design.md +1164 -0
  477. package/dist/skills/llm-wiki/workbench/docs/stage-4-design.md +504 -0
  478. package/dist/skills/llm-wiki/workbench/docs/stage-4.5-design.md +195 -0
  479. package/dist/skills/llm-wiki/workbench/docs/superpowers/specs/2026-05-28-resizable-preview-layout-design.md +165 -0
  480. package/dist/skills/llm-wiki/workbench/docs/superpowers/specs/2026-05-28-settings-panel-scroll-fix.md +50 -0
  481. package/dist/skills/llm-wiki/workbench/server/package.json +29 -0
  482. package/dist/skills/llm-wiki/workbench/server/src/agent.ts +457 -0
  483. package/dist/skills/llm-wiki/workbench/server/src/artifacts.ts +248 -0
  484. package/dist/skills/llm-wiki/workbench/server/src/auth.ts +164 -0
  485. package/dist/skills/llm-wiki/workbench/server/src/config.ts +130 -0
  486. package/dist/skills/llm-wiki/workbench/server/src/conversations.test.ts +121 -0
  487. package/dist/skills/llm-wiki/workbench/server/src/conversations.ts +255 -0
  488. package/dist/skills/llm-wiki/workbench/server/src/digest/batch.ts +189 -0
  489. package/dist/skills/llm-wiki/workbench/server/src/digest/concurrency.test.ts +36 -0
  490. package/dist/skills/llm-wiki/workbench/server/src/digest/concurrency.ts +31 -0
  491. package/dist/skills/llm-wiki/workbench/server/src/digest/subagent.ts +91 -0
  492. package/dist/skills/llm-wiki/workbench/server/src/extensions/artifacts.ts +81 -0
  493. package/dist/skills/llm-wiki/workbench/server/src/extensions/knowledge-base.ts +263 -0
  494. package/dist/skills/llm-wiki/workbench/server/src/extensions/new-wiki.ts +42 -0
  495. package/dist/skills/llm-wiki/workbench/server/src/extensions/synthesis.ts +172 -0
  496. package/dist/skills/llm-wiki/workbench/server/src/graph-watcher.test.ts +196 -0
  497. package/dist/skills/llm-wiki/workbench/server/src/graph.test.ts +84 -0
  498. package/dist/skills/llm-wiki/workbench/server/src/graph.ts +379 -0
  499. package/dist/skills/llm-wiki/workbench/server/src/index.ts +1148 -0
  500. package/dist/skills/llm-wiki/workbench/server/src/knowledge-bases.test.ts +30 -0
  501. package/dist/skills/llm-wiki/workbench/server/src/knowledge-bases.ts +321 -0
  502. package/dist/skills/llm-wiki/workbench/server/src/pages.test.ts +16 -0
  503. package/dist/skills/llm-wiki/workbench/server/src/pages.ts +158 -0
  504. package/dist/skills/llm-wiki/workbench/server/src/retrieval.test.ts +151 -0
  505. package/dist/skills/llm-wiki/workbench/server/src/retrieval.ts +427 -0
  506. package/dist/skills/llm-wiki/workbench/server/src/tool-status-events.test.ts +363 -0
  507. package/dist/skills/llm-wiki/workbench/server/src/tool-status-events.ts +616 -0
  508. package/dist/skills/llm-wiki/workbench/server/src/wiki-init.test.ts +19 -0
  509. package/dist/skills/llm-wiki/workbench/server/src/wiki-init.ts +188 -0
  510. package/dist/skills/llm-wiki/workbench/server/tsconfig.json +10 -0
  511. package/dist/skills/llm-wiki/workbench/tsconfig.json +20 -0
  512. package/dist/skills/llm-wiki/workbench/web/components.json +21 -0
  513. package/dist/skills/llm-wiki/workbench/web/eslint.config.js +22 -0
  514. package/dist/skills/llm-wiki/workbench/web/index.html +13 -0
  515. package/dist/skills/llm-wiki/workbench/web/package.json +48 -0
  516. package/dist/skills/llm-wiki/workbench/web/src/App.tsx +749 -0
  517. package/dist/skills/llm-wiki/workbench/web/src/components/AddExternalDialog.tsx +373 -0
  518. package/dist/skills/llm-wiki/workbench/web/src/components/ArtifactView.tsx +15 -0
  519. package/dist/skills/llm-wiki/workbench/web/src/components/BatchDigestPanel.tsx +106 -0
  520. package/dist/skills/llm-wiki/workbench/web/src/components/ChatPanel.tsx +821 -0
  521. package/dist/skills/llm-wiki/workbench/web/src/components/CommandMenu.tsx +65 -0
  522. package/dist/skills/llm-wiki/workbench/web/src/components/ExportButtons.tsx +54 -0
  523. package/dist/skills/llm-wiki/workbench/web/src/components/GraphPanel.tsx +516 -0
  524. package/dist/skills/llm-wiki/workbench/web/src/components/GraphReader.tsx +48 -0
  525. package/dist/skills/llm-wiki/workbench/web/src/components/GraphSelection.tsx +100 -0
  526. package/dist/skills/llm-wiki/workbench/web/src/components/MarkdownView.tsx +56 -0
  527. package/dist/skills/llm-wiki/workbench/web/src/components/NewWikiDialog.tsx +101 -0
  528. package/dist/skills/llm-wiki/workbench/web/src/components/RefMenu.tsx +40 -0
  529. package/dist/skills/llm-wiki/workbench/web/src/components/RightDrawer.tsx +227 -0
  530. package/dist/skills/llm-wiki/workbench/web/src/components/SettingsPanel.tsx +331 -0
  531. package/dist/skills/llm-wiki/workbench/web/src/components/Sidebar.tsx +436 -0
  532. package/dist/skills/llm-wiki/workbench/web/src/components/ToolHistorySummary.tsx +123 -0
  533. package/dist/skills/llm-wiki/workbench/web/src/components/ToolStatusRunway.tsx +90 -0
  534. package/dist/skills/llm-wiki/workbench/web/src/components/renderers/DownloadOnlyRenderer.tsx +88 -0
  535. package/dist/skills/llm-wiki/workbench/web/src/components/renderers/HtmlRenderer.tsx +92 -0
  536. package/dist/skills/llm-wiki/workbench/web/src/components/ui/button.tsx +52 -0
  537. package/dist/skills/llm-wiki/workbench/web/src/components/ui/command.tsx +50 -0
  538. package/dist/skills/llm-wiki/workbench/web/src/components/ui/dialog.tsx +156 -0
  539. package/dist/skills/llm-wiki/workbench/web/src/components/ui/input.tsx +21 -0
  540. package/dist/skills/llm-wiki/workbench/web/src/components/ui/tooltip.tsx +57 -0
  541. package/dist/skills/llm-wiki/workbench/web/src/index.css +1737 -0
  542. package/dist/skills/llm-wiki/workbench/web/src/lib/api.ts +648 -0
  543. package/dist/skills/llm-wiki/workbench/web/src/lib/drawer-state.ts +79 -0
  544. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-reader.ts +25 -0
  545. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-selection-drawer.ts +35 -0
  546. package/dist/skills/llm-wiki/workbench/web/src/lib/graph-selection.ts +96 -0
  547. package/dist/skills/llm-wiki/workbench/web/src/lib/legacy-tool-status.ts +113 -0
  548. package/dist/skills/llm-wiki/workbench/web/src/lib/sse.ts +72 -0
  549. package/dist/skills/llm-wiki/workbench/web/src/lib/tool-status-format.ts +170 -0
  550. package/dist/skills/llm-wiki/workbench/web/src/lib/tool-status-model.ts +392 -0
  551. package/dist/skills/llm-wiki/workbench/web/src/lib/utils.ts +10 -0
  552. package/dist/skills/llm-wiki/workbench/web/src/lib/wiki-links.ts +32 -0
  553. package/dist/skills/llm-wiki/workbench/web/src/main.tsx +10 -0
  554. package/dist/skills/llm-wiki/workbench/web/test/api.test.ts +61 -0
  555. package/dist/skills/llm-wiki/workbench/web/test/chat-panel-tool-status.test.tsx +26 -0
  556. package/dist/skills/llm-wiki/workbench/web/test/graph-drawer-state.test.ts +78 -0
  557. package/dist/skills/llm-wiki/workbench/web/test/graph-reader-request.test.ts +32 -0
  558. package/dist/skills/llm-wiki/workbench/web/test/graph-reader.test.ts +62 -0
  559. package/dist/skills/llm-wiki/workbench/web/test/graph-selection-drawer.test.ts +56 -0
  560. package/dist/skills/llm-wiki/workbench/web/test/graph-selection.test.ts +83 -0
  561. package/dist/skills/llm-wiki/workbench/web/test/tool-history-summary.test.tsx +124 -0
  562. package/dist/skills/llm-wiki/workbench/web/test/tool-status-format.test.ts +107 -0
  563. package/dist/skills/llm-wiki/workbench/web/test/tool-status-model.test.ts +324 -0
  564. package/dist/skills/llm-wiki/workbench/web/test/tool-status-runway.test.ts +134 -0
  565. package/dist/skills/llm-wiki/workbench/web/test/wiki-links.test.ts +23 -0
  566. package/dist/skills/llm-wiki/workbench/web/tsconfig.app.json +30 -0
  567. package/dist/skills/llm-wiki/workbench/web/tsconfig.json +7 -0
  568. package/dist/skills/llm-wiki/workbench/web/tsconfig.node.json +24 -0
  569. package/dist/skills/llm-wiki/workbench/web/vite.config.ts +26 -0
  570. package/dist/skills/mean-reviewer/SECURITY.md +23 -0
  571. package/dist/skills/mean-reviewer/SKILL.md +203 -0
  572. package/dist/skills/mean-reviewer/examples/13446_1000_Layer_Networks_for_.pdf +0 -0
  573. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer.md +116 -0
  574. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer_author_rebuttal_simulated.md +282 -0
  575. package/dist/skills/mean-reviewer/examples/13446_mean_reviewer_reply.md +91 -0
  576. package/dist/skills/mean-reviewer/examples/13446_official_review.json +973 -0
  577. package/dist/skills/mean-reviewer/examples/ChatGPT_AC_Roleplay.jpeg +0 -0
  578. package/dist/skills/medical-imaging-review/SKILL.md +295 -0
  579. package/dist/skills/medical-imaging-review/references/CITATION_INTEGRITY.md +233 -0
  580. package/dist/skills/medical-imaging-review/references/DOMAINS.md +302 -0
  581. package/dist/skills/medical-imaging-review/references/HALLUCINATION_PATTERNS.md +211 -0
  582. package/dist/skills/medical-imaging-review/references/MCP_SETUP.md +216 -0
  583. package/dist/skills/medical-imaging-review/references/PARADIGM.md +221 -0
  584. package/dist/skills/medical-imaging-review/references/QUALITY_CHECKLIST.md +169 -0
  585. package/dist/skills/medical-imaging-review/references/TEMPLATES.md +291 -0
  586. package/dist/skills/medical-imaging-review/references/WORKFLOW.md +289 -0
  587. package/dist/skills/mermaid-diagram/SKILL.md +379 -0
  588. package/dist/skills/meta-apply/SKILL.md +137 -0
  589. package/dist/skills/meta-optimize/SKILL.md +253 -0
  590. package/dist/skills/monitor-experiment/SKILL.md +98 -0
  591. package/dist/skills/novelty-check/SKILL.md +89 -0
  592. package/dist/skills/openalex/SKILL.md +228 -0
  593. package/dist/skills/overleaf-sync/SKILL.md +220 -0
  594. package/dist/skills/paper-claim-audit/SKILL.md +340 -0
  595. package/dist/skills/paper-compile/SKILL.md +253 -0
  596. package/dist/skills/paper-figure/SKILL.md +279 -0
  597. package/dist/skills/paper-illustration/SKILL.md +690 -0
  598. package/dist/skills/paper-illustration-image2/SKILL.md +383 -0
  599. package/dist/skills/paper-illustration-image2/scripts/paper_illustration_image2.py +255 -0
  600. package/dist/skills/paper-plan/SKILL.md +278 -0
  601. package/dist/skills/paper-poster/SKILL.md +19 -0
  602. package/dist/skills/paper-poster-html/DESIGN_FINAL.md +176 -0
  603. package/dist/skills/paper-poster-html/IMPLEMENTATION_CONVENTIONS.md +161 -0
  604. package/dist/skills/paper-poster-html/LICENSES/posterly-MIT.txt +21 -0
  605. package/dist/skills/paper-poster-html/NOTICE.md +57 -0
  606. package/dist/skills/paper-poster-html/SKILL.md +357 -0
  607. package/dist/skills/paper-poster-html/scripts/_posterly/__init__.py +0 -0
  608. package/dist/skills/paper-poster-html/scripts/_posterly/canvas.py +200 -0
  609. package/dist/skills/paper-poster-html/scripts/_posterly/measure.py +588 -0
  610. package/dist/skills/paper-poster-html/scripts/_posterly/polish.py +498 -0
  611. package/dist/skills/paper-poster-html/scripts/_posterly/preflight.py +489 -0
  612. package/dist/skills/paper-poster-html/scripts/_posterly/render.py +215 -0
  613. package/dist/skills/paper-poster-html/scripts/_posterly/textutil.py +16 -0
  614. package/dist/skills/paper-poster-html/scripts/_posterly/verify_final.py +171 -0
  615. package/dist/skills/paper-poster-html/scripts/asset_check.py +897 -0
  616. package/dist/skills/paper-poster-html/scripts/extract_pdf_figures.py +666 -0
  617. package/dist/skills/paper-poster-html/scripts/poster_check.py +251 -0
  618. package/dist/skills/paper-poster-html/scripts/preprocess_figures.py +238 -0
  619. package/dist/skills/paper-poster-html/scripts/render_preview.py +217 -0
  620. package/dist/skills/paper-poster-html/scripts/run_gates.py +556 -0
  621. package/dist/skills/paper-poster-html/scripts/style_check.py +1324 -0
  622. package/dist/skills/paper-poster-html/templates/COMPONENTS.md +462 -0
  623. package/dist/skills/paper-poster-html/templates/landscape_4col.html +1032 -0
  624. package/dist/skills/paper-poster-html/templates/landscape_hero.html +1046 -0
  625. package/dist/skills/paper-poster-html/templates/portrait_2col.html +947 -0
  626. package/dist/skills/paper-poster-html/templates/tokens/acl.json +9 -0
  627. package/dist/skills/paper-poster-html/templates/tokens/cvpr.json +9 -0
  628. package/dist/skills/paper-poster-html/templates/tokens/generic.json +9 -0
  629. package/dist/skills/paper-poster-html/templates/tokens/iclr.json +9 -0
  630. package/dist/skills/paper-poster-html/templates/tokens/icml.json +9 -0
  631. package/dist/skills/paper-poster-html/templates/tokens/neurips.json +9 -0
  632. package/dist/skills/paper-slide-deck/SKILL.md +464 -0
  633. package/dist/skills/paper-slide-deck/references/analysis-framework.md +392 -0
  634. package/dist/skills/paper-slide-deck/references/base-prompt.md +70 -0
  635. package/dist/skills/paper-slide-deck/references/content-rules.md +95 -0
  636. package/dist/skills/paper-slide-deck/references/figure-container-template.md +177 -0
  637. package/dist/skills/paper-slide-deck/references/modification-guide.md +85 -0
  638. package/dist/skills/paper-slide-deck/references/outline-template.md +437 -0
  639. package/dist/skills/paper-slide-deck/references/styles/academic-paper.md +109 -0
  640. package/dist/skills/paper-slide-deck/references/styles/blueprint.md +67 -0
  641. package/dist/skills/paper-slide-deck/references/styles/bold-editorial.md +70 -0
  642. package/dist/skills/paper-slide-deck/references/styles/chalkboard.md +68 -0
  643. package/dist/skills/paper-slide-deck/references/styles/corporate.md +69 -0
  644. package/dist/skills/paper-slide-deck/references/styles/dark-atmospheric.md +69 -0
  645. package/dist/skills/paper-slide-deck/references/styles/editorial-infographic.md +73 -0
  646. package/dist/skills/paper-slide-deck/references/styles/fantasy-animation.md +69 -0
  647. package/dist/skills/paper-slide-deck/references/styles/intuition-machine.md +72 -0
  648. package/dist/skills/paper-slide-deck/references/styles/minimal.md +64 -0
  649. package/dist/skills/paper-slide-deck/references/styles/notion.md +69 -0
  650. package/dist/skills/paper-slide-deck/references/styles/pixel-art.md +67 -0
  651. package/dist/skills/paper-slide-deck/references/styles/scientific.md +73 -0
  652. package/dist/skills/paper-slide-deck/references/styles/sketch-notes.md +66 -0
  653. package/dist/skills/paper-slide-deck/references/styles/vector-illustration.md +72 -0
  654. package/dist/skills/paper-slide-deck/references/styles/vintage.md +73 -0
  655. package/dist/skills/paper-slide-deck/references/styles/watercolor.md +68 -0
  656. package/dist/skills/paper-slide-deck/scripts/apply-template.ts +282 -0
  657. package/dist/skills/paper-slide-deck/scripts/detect-figures.ts +283 -0
  658. package/dist/skills/paper-slide-deck/scripts/extract-figure.ts +140 -0
  659. package/dist/skills/paper-slide-deck/scripts/generate-slides.py +182 -0
  660. package/dist/skills/paper-slide-deck/scripts/merge-to-pdf.ts +116 -0
  661. package/dist/skills/paper-slide-deck/scripts/merge-to-pptx.ts +137 -0
  662. package/dist/skills/paper-slide-deck/scripts/package-lock.json +899 -0
  663. package/dist/skills/paper-slide-deck/scripts/package.json +8 -0
  664. package/dist/skills/paper-slides/SKILL.md +571 -0
  665. package/dist/skills/paper-talk/SKILL.md +381 -0
  666. package/dist/skills/paper-write/SKILL.md +411 -0
  667. package/dist/skills/paper-write/templates/IEEEtran.bst +2409 -0
  668. package/dist/skills/paper-write/templates/IEEEtran.cls +6347 -0
  669. package/dist/skills/paper-write/templates/aaai2026.bst +1493 -0
  670. package/dist/skills/paper-write/templates/aaai2026.sty +315 -0
  671. package/dist/skills/paper-write/templates/aaai2026.tex +952 -0
  672. package/dist/skills/paper-write/templates/acl.sty +312 -0
  673. package/dist/skills/paper-write/templates/acl2026.tex +377 -0
  674. package/dist/skills/paper-write/templates/acl_natbib.bst +1940 -0
  675. package/dist/skills/paper-write/templates/acm.bst +3081 -0
  676. package/dist/skills/paper-write/templates/acm_mm2026.tex +204 -0
  677. package/dist/skills/paper-write/templates/acmart.cls +3520 -0
  678. package/dist/skills/paper-write/templates/cvpr.bst +1448 -0
  679. package/dist/skills/paper-write/templates/cvpr.sty +508 -0
  680. package/dist/skills/paper-write/templates/cvpr2026.tex +63 -0
  681. package/dist/skills/paper-write/templates/iclr2026.tex +84 -0
  682. package/dist/skills/paper-write/templates/iclr2026_conference.bst +1440 -0
  683. package/dist/skills/paper-write/templates/iclr2026_conference.sty +246 -0
  684. package/dist/skills/paper-write/templates/icml2025.tex +87 -0
  685. package/dist/skills/paper-write/templates/icml2026.sty +767 -0
  686. package/dist/skills/paper-write/templates/icml2026.tex +662 -0
  687. package/dist/skills/paper-write/templates/ieee_conference.tex +89 -0
  688. package/dist/skills/paper-write/templates/ieee_journal.tex +93 -0
  689. package/dist/skills/paper-write/templates/math_commands.tex +48 -0
  690. package/dist/skills/paper-write/templates/neurips2025.tex +80 -0
  691. package/dist/skills/paper-write/templates/neurips2026.tex +493 -0
  692. package/dist/skills/paper-write/templates/neurips_2026.sty +437 -0
  693. package/dist/skills/paper-writing/SKILL.md +632 -0
  694. package/dist/skills/patent-novelty-check/SKILL.md +153 -0
  695. package/dist/skills/patent-pipeline/SKILL.md +344 -0
  696. package/dist/skills/patent-review/SKILL.md +202 -0
  697. package/dist/skills/pixel-art/SKILL.md +139 -0
  698. package/dist/skills/pre-submission-reviewer/SKILL.md +247 -0
  699. package/dist/skills/pre-submission-reviewer/references/forbidden-patterns.md +163 -0
  700. package/dist/skills/pre-submission-reviewer/references/grammar-rules.md +135 -0
  701. package/dist/skills/pre-submission-reviewer/references/latex-rules.md +158 -0
  702. package/dist/skills/pre-submission-reviewer/references/logic-and-structure.md +125 -0
  703. package/dist/skills/pre-submission-reviewer/references/section-guides.md +169 -0
  704. package/dist/skills/prior-art-search/SKILL.md +146 -0
  705. package/dist/skills/proof-checker/SKILL.md +499 -0
  706. package/dist/skills/proof-writer/SKILL.md +222 -0
  707. package/dist/skills/qzcli/SKILL.md +316 -0
  708. package/dist/skills/rebuttal/SKILL.md +304 -0
  709. package/dist/skills/render-html/SKILL.md +299 -0
  710. package/dist/skills/render-html/scripts/render_html.py +905 -0
  711. package/dist/skills/render-html/scripts/templates/academic.html +342 -0
  712. package/dist/skills/render-html/scripts/templates/dashboard.html +333 -0
  713. package/dist/skills/research-lit/SKILL.md +353 -0
  714. package/dist/skills/research-paper-writing/SKILL.md +99 -0
  715. package/dist/skills/research-paper-writing/agents/openai.yaml +4 -0
  716. package/dist/skills/research-paper-writing/references/abstract.md +102 -0
  717. package/dist/skills/research-paper-writing/references/conclusion.md +35 -0
  718. package/dist/skills/research-paper-writing/references/does-my-writing-flow-source.md +45 -0
  719. package/dist/skills/research-paper-writing/references/examples/abstract/template-a.md +21 -0
  720. package/dist/skills/research-paper-writing/references/examples/abstract/template-b.md +34 -0
  721. package/dist/skills/research-paper-writing/references/examples/abstract/template-c.md +28 -0
  722. package/dist/skills/research-paper-writing/references/examples/abstract-examples.md +13 -0
  723. package/dist/skills/research-paper-writing/references/examples/index.md +21 -0
  724. package/dist/skills/research-paper-writing/references/examples/introduction/novel-task-challenge-decomposition.md +18 -0
  725. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-not-recommended-abstract-only.md +30 -0
  726. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-1-one-contribution-multi-advantages.md +30 -0
  727. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-2-two-contributions.md +34 -0
  728. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-3-new-module-on-existing-pipeline.md +18 -0
  729. package/dist/skills/research-paper-writing/references/examples/introduction/pipeline-version-4-observation-driven.md +16 -0
  730. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-1-existing-task.md +32 -0
  731. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-2-existing-task-insight-backed-by-traditional.md +33 -0
  732. package/dist/skills/research-paper-writing/references/examples/introduction/technical-challenge-version-3-novel-task.md +21 -0
  733. package/dist/skills/research-paper-writing/references/examples/introduction/version-1-task-then-application.md +14 -0
  734. package/dist/skills/research-paper-writing/references/examples/introduction/version-2-application-first.md +10 -0
  735. package/dist/skills/research-paper-writing/references/examples/introduction/version-3-general-to-specific-setting.md +14 -0
  736. package/dist/skills/research-paper-writing/references/examples/introduction/version-4-open-with-challenge.md +20 -0
  737. package/dist/skills/research-paper-writing/references/examples/introduction-examples.md +25 -0
  738. package/dist/skills/research-paper-writing/references/examples/method/example-of-the-three-elements.md +67 -0
  739. package/dist/skills/research-paper-writing/references/examples/method/method-writing-common-issues-note.md +10 -0
  740. package/dist/skills/research-paper-writing/references/examples/method/module-design-instant-ngp.md +55 -0
  741. package/dist/skills/research-paper-writing/references/examples/method/module-motivation-patterns.md +15 -0
  742. package/dist/skills/research-paper-writing/references/examples/method/module-triad-neural-body.md +19 -0
  743. package/dist/skills/research-paper-writing/references/examples/method/neural-body-annotated-figure-text.md +66 -0
  744. package/dist/skills/research-paper-writing/references/examples/method/overview-template.md +30 -0
  745. package/dist/skills/research-paper-writing/references/examples/method/pre-writing-questions.md +17 -0
  746. package/dist/skills/research-paper-writing/references/examples/method/section-skeleton.md +9 -0
  747. package/dist/skills/research-paper-writing/references/examples/method-examples.md +24 -0
  748. package/dist/skills/research-paper-writing/references/experiments.md +102 -0
  749. package/dist/skills/research-paper-writing/references/introduction.md +408 -0
  750. package/dist/skills/research-paper-writing/references/method.md +196 -0
  751. package/dist/skills/research-paper-writing/references/paper-review.md +86 -0
  752. package/dist/skills/research-paper-writing/references/related-work.md +41 -0
  753. package/dist/skills/research-pipeline/SKILL.md +257 -0
  754. package/dist/skills/research-proposal/SKILL.md +573 -0
  755. package/dist/skills/research-proposal/assets/proposal_scaffold_en.md +323 -0
  756. package/dist/skills/research-proposal/assets/proposal_scaffold_zh.md +346 -0
  757. package/dist/skills/research-proposal/references/DOMAIN_TEMPLATES.md +518 -0
  758. package/dist/skills/research-proposal/references/LITERATURE_WORKFLOW.md +529 -0
  759. package/dist/skills/research-proposal/references/QUALITY_CHECKLIST.md +325 -0
  760. package/dist/skills/research-proposal/references/STRUCTURE_GUIDE.md +398 -0
  761. package/dist/skills/research-proposal/references/WRITING_STYLE_GUIDE.md +661 -0
  762. package/dist/skills/research-refine/SKILL.md +716 -0
  763. package/dist/skills/research-refine-pipeline/SKILL.md +186 -0
  764. package/dist/skills/research-review/SKILL.md +119 -0
  765. package/dist/skills/research-wiki/SKILL.md +373 -0
  766. package/dist/skills/resubmit-pipeline/SKILL.md +427 -0
  767. package/dist/skills/result-to-claim/SKILL.md +190 -0
  768. package/dist/skills/run-experiment/SKILL.md +227 -0
  769. package/dist/skills/scientific-figure-making/SKILL.md +38 -0
  770. package/dist/skills/scientific-figure-making/references/api.md +152 -0
  771. package/dist/skills/scientific-figure-making/references/common-patterns.md +74 -0
  772. package/dist/skills/scientific-figure-making/references/demos.md +30 -0
  773. package/dist/skills/scientific-figure-making/references/design-theory.md +138 -0
  774. package/dist/skills/scientific-figure-making/references/tutorials.md +135 -0
  775. package/dist/skills/semantic-scholar/SKILL.md +219 -0
  776. package/dist/skills/serverless-modal/SKILL.md +324 -0
  777. package/dist/skills/slides-polish/SKILL.md +563 -0
  778. package/dist/skills/specification-writing/SKILL.md +211 -0
  779. package/dist/skills/strategist/SKILL.md +670 -0
  780. package/dist/skills/strategist/references/quality_standards.md +336 -0
  781. package/dist/skills/strategist/references/search_strategy.md +459 -0
  782. package/dist/skills/strategist/scripts/evaluate_samples.py +300 -0
  783. package/dist/skills/strategist/scripts/gap_analysis.py +399 -0
  784. package/dist/skills/system-profile/SKILL.md +103 -0
  785. package/dist/skills/tech-paper-template/SKILL.md +192 -0
  786. package/dist/skills/tech-paper-template/references/consistency-checks.md +166 -0
  787. package/dist/skills/tech-paper-template/references/paper-types.md +127 -0
  788. package/dist/skills/tech-paper-template/references/thinking-template.md +194 -0
  789. package/dist/skills/tech-paper-template/references/worked-examples.md +124 -0
  790. package/dist/skills/training-check/SKILL.md +83 -0
  791. package/dist/skills/vast-gpu/SKILL.md +380 -0
  792. package/dist/skills/vibe-research-workflow/SKILL.md +189 -0
  793. package/dist/skills/vibe-research-workflow/references/behavior-guidelines.md +149 -0
  794. package/dist/skills/vibe-research-workflow/references/tool-selection.md +144 -0
  795. package/dist/skills/vibe-research-workflow/references/vibe-coding.md +154 -0
  796. package/dist/skills/vibe-research-workflow/references/vibe-figure.md +131 -0
  797. package/dist/skills/vibe-research-workflow/references/vibe-writing.md +181 -0
  798. package/dist/skills/wiki-enrich/SKILL.md +254 -0
  799. package/dist/skills/writing-systems-papers/SKILL.md +184 -0
  800. package/package.json +1 -1
@@ -0,0 +1,427 @@
1
+ ---
2
+ name: resubmit-pipeline
3
+ description: "Workflow 5: orchestrate a text-only resubmit of a polished paper to a different venue under hard constraints (no new experiments, no bib edits, no framework changes, never overwrite prior submissions). Use when user says \"resubmit pipeline\", \"重投流程\", \"port paper to <new venue>\", \"resubmit to <venue>\", \"tighten paper for resubmission\", or has a rejected/withdrawn paper to move to a different top venue under tight time budget."
4
+ argument-hint: "[paper-base-dir] [— target-venue: <name>] [— review-corpus: <path>]"
5
+ allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob, spawn_agent
6
+ ---
7
+
8
+ # Resubmit Pipeline: Text-Only Microedit Mode
9
+
10
+ Compose a polished paper into a new venue under text-only constraints: **$ARGUMENTS**
11
+
12
+ ## Why This Exists
13
+
14
+ Most ARIS writing workflows assume the input is either a narrative report (Workflow 3) or an in-progress paper that may still need experiments / bib changes / structural edits. Resubmit is a fundamentally different scope:
15
+
16
+ - The paper is **already polished** — proofs are done, experiments are done, bibliography is curated.
17
+ - The user wants to absorb prior reviewer concerns from a previous venue and re-submit, **without** introducing new experiments, new citations, or framework changes (LLM hallucination paranoia + tight resubmit timing + closed compute budget).
18
+ - The base submission directory is **read-only** — the new submission must compose into a sibling directory, never mutate prior state.
19
+ - Page limit may shrink between source and target venue (e.g., workshop camera-ready → 9-page main).
20
+
21
+ Existing skills cover adjacent territory but none of this exact composition: `/rebuttal` builds the OpenReview-style response document, not in-paper microedits; `/auto-paper-improvement-loop` is the per-round engine but presupposes someone has already chosen the base manuscript, migrated venue format, set the edit whitelist, queued the reviewer feedback, and decided what NOT to change. `/resubmit-pipeline` fills that orchestration gap.
22
+
23
+ ## When to Use
24
+
25
+ - A theory or system paper was rejected at venue A and you want to resubmit to venue B with tight time budget (≤ 1-2 weeks).
26
+ - You have **3 inputs ready**: the polished paper directory at venue A's format, the target venue B's format/template/style files, and the prior reviewer reports.
27
+ - You explicitly do **not** want to re-derive theorems, run new experiments, or change the bibliography.
28
+
29
+ ## When NOT to Use
30
+
31
+ - The paper still needs experiments — use `/experiment-bridge` → `/auto-review-loop` first.
32
+ - The paper still needs structural rewrites or new sections — use `/paper-writing` (Workflow 3).
33
+ - You want to write the rebuttal response itself — use `/rebuttal` (Workflow 4).
34
+ - The reviewer feedback demands new theorems or new framework — escalate to user before starting; this skill emits `BLOCKED` with `reason_code: out_of_scope_microedit` if it detects this case.
35
+
36
+ ## Constants
37
+
38
+ - **REVIEWER_MODEL** = inherits from `/auto-paper-improvement-loop`'s default (`gpt-5.5` via Codex MCP) unless the user passes `— reviewer-model: gpt-5.4` (legacy) or another OpenAI model. Codex reasoning effort is fixed at `xhigh` for all reviewer calls per the existing skill convention.
39
+ - **ROUNDS** = 2 (default; matches `/auto-paper-improvement-loop`'s diminishing-returns line). A 3rd round only fires if Phase 2 reports non-convergence AND the user explicitly approves at the round-2 checkpoint.
40
+ - **EFFORT** = `max` (default for resubmit; resubmit is high-stakes). The user can override with `— effort: balanced` if time is extremely tight.
41
+ - **EDIT_WHITELIST_PATH** = `<paper-base-dir>/../<NewVenue>/.aris/edit_whitelist.yaml` (auto-generated in Phase 0; user can override with a custom path).
42
+ - **NEVER_OVERWRITE** = true (always; this is a hard contract — prior submission directories are immutable).
43
+ - **ASSURANCE_LEVEL** = `submission` (default; resubmit always targets a real submission).
44
+
45
+ ## Inputs
46
+
47
+ Three mandatory inputs:
48
+
49
+ 1. **`paper-base-dir`** — the polished paper at venue A's format. Must contain `main.tex` (or equivalent entry), `sec/` or `sections/`, `references.bib` (or equivalent), and a compiled `main.pdf` (used for visual review).
50
+ 2. **`— target-venue: <name>`** — one of: `iclr`, `icml`, `neurips`, `aaai`, `ijcai`, `colm`, `tmlr`, `uai`, or `other`. The skill expects venue style files at `<paper-base-dir>/templates/<venue>.{sty,tex,bst}` or in a recognized template directory. If `other`, the user passes `— target-style-dir: <path>`.
51
+ 3. **`— review-corpus: <path>`** — directory containing prior venue's reviewer reports as `.txt` or `.md` files (one per reviewer, ideally). If `--review-corpus` is omitted, the skill emits `BLOCKED` with `reason_code: missing_review_corpus` because the whole point of resubmit is absorbing those concerns.
52
+
53
+ Optional:
54
+
55
+ - **`— reviewer-model: gpt-5.4`** — override the default reviewer (`gpt-5.5`); use this for legacy reproducibility or to consume the older quota tier.
56
+ - **`— rounds: <int>`** — override default 2.
57
+ - **`— assurance: draft`** — relax MANDATORY gates (default `submission`).
58
+ - **`— effort: balanced`** — relax `max` if time is critical.
59
+ - **`— skip-anonymity-scan`** — skip Phase 0.5 anonymity check (only valid for non-double-blind venues like TMLR; else WARN).
60
+ - **`— overleaf-target: <project-id>`** — the Overleaf project ID for Phase 4 push (per `/overleaf-sync setup`).
61
+
62
+ ## Pipeline
63
+
64
+ ### Phase 0: Physical Isolation Setup (zero edits to existing files)
65
+
66
+ Resubmit's hardest invariant: **never overwrite any prior submission directory**. The new venue's submission lives as a **sibling** of all prior venues.
67
+
68
+ ```bash
69
+ # Resolve target-venue → new sibling dir name (capitalized)
70
+ NEW_VENUE_DIR="$(dirname "$PAPER_BASE_DIR")/$(echo "$TARGET_VENUE" | sed 's/.*/\u&/')"
71
+
72
+ # Atomic dir create — `mkdir` (not `mkdir -p`) fails fast if the dir exists,
73
+ # avoiding the TOCTOU race window of `[ -e ] && exit; mkdir -p`. The mkdir
74
+ # itself must succeed exactly once; if a concurrent run gets there first,
75
+ # this errors out per resubmit-pipeline's never-overwrite invariant.
76
+ mkdir "$NEW_VENUE_DIR" 2>/dev/null || {
77
+ echo "ERROR: $NEW_VENUE_DIR already exists; resubmit-pipeline never overwrites prior submissions. Pick a different target-venue or rename the existing dir." >&2
78
+ exit 1
79
+ }
80
+ mkdir -p "$NEW_VENUE_DIR/.aris"
81
+ ```
82
+
83
+ **Composition rules** (all `cp`, never `\input{../...}`, never symlink):
84
+
85
+ 1. **`main.tex`** — write fresh for the target venue's `.sty`. Use `templates/<venue>.tex` as the starting skeleton; only the `\title{}`, `\author{}`, abstract include, and section input lines are copied from the base venue's `main.tex`. The new `main.tex` lives entirely inside `$NEW_VENUE_DIR/`.
86
+ 2. **`sec/` (or `sections/`)** — physical `cp -r $PAPER_BASE_DIR/sec/ $NEW_VENUE_DIR/sec/`. **Do not symlink, do not `\input{../sec/...}` from the new main.** Symlinks break Overleaf zip export; cross-directory `\input` would mutate the shared pool and pollute prior submissions.
87
+ 3. **`math_commands.tex`** (and any other macro file the sections depend on) — physical `cp` into `$NEW_VENUE_DIR/`.
88
+ 4. **`Figure/` (or `figures/`)** — copy the directory in (`cp -r`). **Path trap**: existing sections likely write `\includegraphics{Figure/foo.pdf}`. If you set `\graphicspath{{../Figure/}}` from a child directory, it resolves `../Figure/Figure/foo.pdf` — wrong. Either copy `Figure/` in directly (preferred), or use `\graphicspath{{../}}`.
89
+ 5. **Bibliography** — write `\bibliographystyle{<venue-bst>}` + `\bibliography{../references}` directly in the new `main.tex`. **Never** `\input` an existing `ref.tex` or `references.tex` that already contains its own `\bibliography{}` command (path resolution silently breaks).
90
+ 6. **`.aris/`** — create `$NEW_VENUE_DIR/.aris/` and write `assurance.txt` containing `submission` (matches the verifier's expected location).
91
+
92
+ **Output of Phase 0**: a new sibling dir with all source files, no edits to text content yet, ready for compile.
93
+
94
+ ### Phase 0.5: Health Check + Anonymity Scan (still zero text edits)
95
+
96
+ Before any audit or edit, the paper must compile cleanly on the new venue's style and pass anonymity scan if the target venue is double-blind.
97
+
98
+ **Compile + page count**:
99
+
100
+ ```bash
101
+ cd "$NEW_VENUE_DIR"
102
+ latexmk -C
103
+ latexmk -pdf -interaction=nonstopmode -halt-on-error main.tex 2>&1 | tee compile.log
104
+ ```
105
+
106
+ If compile fails: emit `RESUBMIT_REPORT.json` with `verdict: BLOCKED, reason_code: phase_0_5_compile_failed`, surface the error to the user, and stop. Common causes: missing macro from `math_commands.tex`, venue style undefined command, `\graphicspath` issue.
107
+
108
+ Page count vs venue limit (measure first; do not assume):
109
+
110
+ ```bash
111
+ PAGES=$(pdfinfo main.pdf | awk '/^Pages:/ {print $2}')
112
+ LIMIT=$(grep -oE "page_limit: [0-9]+" "$NEW_VENUE_DIR/templates/$TARGET_VENUE.tex" | awk '{print $2}')
113
+ echo "Pages: $PAGES, Limit: $LIMIT, Delta: $((PAGES - LIMIT))"
114
+ ```
115
+
116
+ If `PAGES > LIMIT`, queue Phase 2 to honor a page-shrink heuristic (see "Page-Shrink Heuristic" below).
117
+
118
+ **Anonymity scan** (skip only if `— skip-anonymity-scan` is passed AND target venue is non-double-blind):
119
+
120
+ The scan covers **5 layers** (the proposal's 1-layer scan was incomplete):
121
+
122
+ 1. **Surface identifiers**: author surnames, affiliations, institution names, lab codenames, prior funding tag IDs (`grep -E "$(echo $AUTHOR_SURNAMES | tr ' ' '|')|$(echo $AFFILIATIONS | tr ' ' '|')"`).
123
+ 2. **Self-citation phrasing**: any sentence using "we showed in [...]" or "in our prior work [...]" that names the paper's own authors. Must rewrite to "X et al. [year] shows..." third-person form. Grep regex: `\b(we|our|my|I)\s+(showed|proved|demonstrated|prior work|earlier paper|previous paper)\b`.
124
+ 3. **Acknowledgments + funding**: scan `acknowledgments.tex` (or `\acknowledgments{}` block) for institution-specific thanks, grant IDs, named collaborators. Comment out for double-blind submission.
125
+ 4. **Cross-rebuttal references**: scan footnotes and body for "this paper builds on rebuttal at venue X" or "addressing reviewer N's concern from venue X" — these must be removed entirely (they violate anonymity AND signal prior rejection).
126
+ 5. **Internal codenames / project links**: grep for repo URLs (`github.com/<user>/<project>`), Slack channel names, internal wiki links, and dataset codenames that may identify the lab.
127
+
128
+ If **any of the 5 layers** triggers a hit, emit `RESUBMIT_REPORT.json` with `verdict: BLOCKED, reason_code: anonymity_scan_failed` and present a per-hit list to the user. They must approve a fix or accept the risk before Phase 1 runs. Layers 4-5 are equally blocking as layers 1-3 — cross-rebuttal references and internal codenames signal both prior-venue identity AND lab identity, both of which violate double-blind in different ways.
129
+
130
+ **Residual coloring / margin-note scan**:
131
+
132
+ Search for `\revise{...}`, `\fix{...}`, `\new{...}`, `\todo{...}`, `\todonotes{...}`, `\textcolor{red}{...}` leftovers from camera-ready cycles. List them; user decides whether to keep (some venues accept revision-marker boxes) or strip.
133
+
134
+ **Output of Phase 0.5**: `BASELINE.md` with initial page count, anonymity-scan summary, residual-color list, overfull-hbox count.
135
+
136
+ ### Phase 1: Audit (zero edits)
137
+
138
+ Three audits in parallel, all detect-only. The new dir's source files are read; nothing is written except audit artifacts.
139
+
140
+ | Skill | Purpose | Artifact |
141
+ |---|---|---|
142
+ | `/proof-checker $NEW_VENUE_DIR/main.tex --restatement-check` | Gap-find on theorems prior reviewers attacked; cross-location consistency between main statement and restatements | `PROOF_AUDIT.json` + `.md` |
143
+ | `/paper-claim-audit $NEW_VENUE_DIR/` | Numerical fidelity (every number in body matches what proofs / result files establish) | `PAPER_CLAIM_AUDIT.json` + `.md` |
144
+ | `/citation-audit $NEW_VENUE_DIR/ — soft-only` | Wrong-context citations + misattributions, mapped to "soften citing sentence" actions (NOT bib edits) | `CITATION_AUDIT.json` + `.md` |
145
+
146
+ **Critical**: the third audit MUST run with `— soft-only`. Without that flag, citation-audit emits `KEEP/FIX/REPLACE/REMOVE` verdicts that presuppose bib mutations — incompatible with resubmit's "no bib edits" constraint. With `--soft-only`, the same findings are translated to per-occurrence sentence-rewrite proposals consumable by Phase 2.
147
+
148
+ **Atomize prior reviewer concerns** in parallel:
149
+
150
+ ```
151
+ For each file under $REVIEW_CORPUS:
152
+ Read the reviewer report.
153
+ Atomize into discrete concerns: severity (critical / major / minor),
154
+ type (assumption / novelty / scope / rigor / experiment-coverage / framing),
155
+ addressability (text-fixable / partial / unaddressable-under-constraints).
156
+ Append to KNOWN_WEAKNESSES.md with stable IDs (W1, W2, ...).
157
+ ```
158
+
159
+ `KNOWN_WEAKNESSES.md` schema:
160
+
161
+ ```yaml
162
+ - id: W1
163
+ severity: major
164
+ type: scope
165
+ source: reviewer_2_venue_a
166
+ concern: "Theorem 3 states a generic result but the proof only handles a specific regime."
167
+ addressability: text-fixable
168
+ recommended_fix: "Narrow Theorem 3's title to 'restricted regime'; add scope qualifier in abstract."
169
+ - id: W2
170
+ severity: critical
171
+ type: experiment-coverage
172
+ source: reviewer_3_venue_a
173
+ concern: "No comparison against [prior method X]."
174
+ addressability: unaddressable-under-constraints
175
+ recommended_fix: "Acknowledge in Limitations that this comparison is left for future work."
176
+ ```
177
+
178
+ **Output of Phase 1**: 4 artifacts (3 audits + KNOWN_WEAKNESSES.md). All are inputs to Phase 2.
179
+
180
+ ### Phase 2: Targeted Text Microedits via Auto-Improvement Loop
181
+
182
+ The load-bearing phase. `/auto-paper-improvement-loop` is invoked with **two safety mechanisms**:
183
+
184
+ 1. **`— edit-whitelist <path>`** — a YAML file enumerating allowed paths and forbidden operations. Auto-generated in Phase 0 at `$NEW_VENUE_DIR/.aris/edit_whitelist.yaml`:
185
+
186
+ ```yaml
187
+ allowed_paths:
188
+ - "sec/*.tex"
189
+ - "main.tex"
190
+ - "appendix.tex"
191
+ forbidden_paths:
192
+ - "**/*.bib"
193
+ - "**/*.sty"
194
+ - "**/*.bst"
195
+ - "../*Submission/**" # all prior submission dirs
196
+ - "../*Camera/**"
197
+ - "templates/**"
198
+ forbidden_operations:
199
+ - new_cite # blocks \cite{...}, \citep{...}, \citet{...}, \citeauthor{...}
200
+ - new_bibitem # blocks \bibitem{...} additions
201
+ - new_theorem_env # blocks \begin{theorem|lemma|proposition|corollary} additions
202
+ - numerical_claim # blocks adding numbers / percentages / metrics not present in original
203
+ rationale: "Resubmit mode: text-only microedits, paper structure frozen by user constraint."
204
+ ```
205
+
206
+ 2. **Per-round diff gate via auto-loop's HUMAN_CHECKPOINT** — `/auto-paper-improvement-loop` does not accept `--rounds`, `--reviewer-model`, or `--resume-after-round-checkpoint` flags (those are not in its CLI). It uses the `MAX_ROUNDS = 2` constant and `REVIEWER_MODEL = gpt-5.5` defaults, with an existing `HUMAN_CHECKPOINT` mechanism for round gating. Resubmit-pipeline therefore invokes the loop **once** with `HUMAN_CHECKPOINT = true` so each round pauses for the orchestrator to inspect the diff:
207
+
208
+ ```bash
209
+ # Snapshot the new venue dir BEFORE auto-loop runs (for diff baseline,
210
+ # works whether or not paper-base-dir is a git repo)
211
+ SNAPSHOT_DIR="$NEW_VENUE_DIR/.aris/snapshots/round-0"
212
+ mkdir -p "$SNAPSHOT_DIR"
213
+ rsync -a --exclude='.aris' --exclude='*.pdf' --exclude='*.aux' \
214
+ "$NEW_VENUE_DIR/" "$SNAPSHOT_DIR/"
215
+
216
+ # Single auto-loop invocation; rounds + checkpoints are loop-internal.
217
+ # The whitelist file is the only resubmit-specific param.
218
+ /auto-paper-improvement-loop "$NEW_VENUE_DIR/" \
219
+ --edit-whitelist "$NEW_VENUE_DIR/.aris/edit_whitelist.yaml" \
220
+ — assurance: submission \
221
+ — effort: "$EFFORT" \
222
+ — human checkpoint: true
223
+ ```
224
+
225
+ Inside the loop, at each round-end checkpoint, the resubmit orchestrator inspects:
226
+
227
+ ```bash
228
+ for ROUND in 1 2; do # auto-loop's MAX_ROUNDS = 2
229
+ # auto-loop pauses at HUMAN_CHECKPOINT after each round
230
+ # diff this round vs prior snapshot (works without git)
231
+ diff -ruN "$NEW_VENUE_DIR/.aris/snapshots/round-$((ROUND-1))" "$NEW_VENUE_DIR" \
232
+ > "$NEW_VENUE_DIR/.aris/round-$ROUND-diff.txt"
233
+
234
+ # Whitelist compliance check on the diff
235
+ check_whitelist_compliance "$NEW_VENUE_DIR/.aris/round-$ROUND-diff.txt" \
236
+ "$NEW_VENUE_DIR/.aris/edit_whitelist.yaml"
237
+
238
+ # Selective regression audits (only fire if relevant files touched)
239
+ if grep -qE 'theorem|lemma|proposition|corollary' "$NEW_VENUE_DIR/.aris/round-$ROUND-diff.txt"; then
240
+ /proof-checker "$NEW_VENUE_DIR/main.tex" --restatement-check
241
+ fi
242
+ if grep -qE '[0-9]+(\.[0-9]+)?\s*(%|±|x|×)' "$NEW_VENUE_DIR/.aris/round-$ROUND-diff.txt"; then
243
+ /paper-claim-audit "$NEW_VENUE_DIR/"
244
+ fi
245
+
246
+ # Snapshot this round for next-round diff
247
+ rsync -a --exclude='.aris' --exclude='*.pdf' --exclude='*.aux' \
248
+ "$NEW_VENUE_DIR/" "$NEW_VENUE_DIR/.aris/snapshots/round-$ROUND/"
249
+
250
+ # Convergence check — see "Convergence Criteria" section below
251
+ # If converged, signal HUMAN_CHECKPOINT to terminate early
252
+ done
253
+ ```
254
+
255
+ **Why the snapshot-rsync approach instead of `git diff HEAD~1..HEAD`**: the paper-base-dir is not guaranteed to be a git repo, and even when it is, intermediate states inside one auto-loop round don't produce per-round commits. rsync snapshots are repo-agnostic.
256
+
257
+ 3. **Mapping of edits to concerns** — every proposed edit must be mapped to either (a) an entry in `KNOWN_WEAKNESSES.md` with an ID, OR (b) a Phase 1 audit finding. Un-mapped edits are rejected by the loop's reviewer prompt. This is enforced via the loop's reviewer prompt template (the resubmit-pipeline's invocation passes a custom prompt addendum saying "every fix must cite a W<n> ID or audit finding ID").
258
+
259
+ **Inputs into the loop's reviewer prompt** (concatenated):
260
+
261
+ - The 3 Phase 1 audit reports (`PROOF_AUDIT.md`, `PAPER_CLAIM_AUDIT.md`, `CITATION_AUDIT.md`)
262
+ - `KNOWN_WEAKNESSES.md`
263
+ - A custom addendum: "you are reviewing a resubmit; the user constraint is text-only microedits; every proposed fix MUST cite either a W<n> ID from KNOWN_WEAKNESSES or an audit finding ID; un-mapped fixes are rejected; the edit whitelist is binding."
264
+
265
+ **Output of Phase 2**: `PAPER_IMPROVEMENT_LOG.md` with per-round diffs, `rejected_by_edit_whitelist` list, and convergence status.
266
+
267
+ ### Phase 3: Adversarial Gate
268
+
269
+ `/kill-argument $NEW_VENUE_DIR/`
270
+
271
+ **No `--difficulty` parameter exists** in `/kill-argument` — earlier proposal drafts referenced a non-existent flag. The skill always uses Codex 5.5 + xhigh and runs the standard 2-thread Attack-Adjudication protocol; the `assurance` level (set to `submission` for resubmit) determines whether `FAIL` blocks the final report.
272
+
273
+ The kill-argument output is **residual-risk reporting**, not auto-rewrite directives. A hostile reviewer may demand framework changes the user banned; the adjudication step exists to **triage** which findings are text-fixable vs need user escalation.
274
+
275
+ ```
276
+ Read $NEW_VENUE_DIR/KILL_ARGUMENT.json
277
+ For each decomposed_point with verdict in {still_unresolved, partially_answered}:
278
+ If severity_if_unresolved == critical:
279
+ If recommended_fix is text-only AND maps to allowed paths:
280
+ Append to "extra round queue"
281
+ Else:
282
+ Append to "user escalation queue" with note "outside text-only constraint"
283
+ ```
284
+
285
+ If extra round queue is non-empty AND user-budget allows: one extra Phase 2 round. Else: stop and surface the user-escalation queue with a written escalation note ("here is what cannot be fixed under your constraints; please decide before submission").
286
+
287
+ ### Phase 4: Final Compile + Diff Report + Overleaf Push
288
+
289
+ **Final compile**:
290
+
291
+ ```bash
292
+ /paper-compile $NEW_VENUE_DIR/main.tex --venue $TARGET_VENUE
293
+ ```
294
+
295
+ `/paper-compile` checks page limit, font, bib resolve, figure overflow, and emits `COMPILE_REPORT.json`. If page limit exceeded → trigger page-shrink heuristic (see below).
296
+
297
+ **Final paper-claim-audit zero-context pass**:
298
+
299
+ ```bash
300
+ /paper-claim-audit $NEW_VENUE_DIR/
301
+ ```
302
+
303
+ Verifies no Phase 2 microedit accidentally introduced a numerical claim that's not backed by results.
304
+
305
+ **Diff report**:
306
+
307
+ ```bash
308
+ diff -u $PAPER_BASE_DIR/main.tex $NEW_VENUE_DIR/main.tex > $NEW_VENUE_DIR/.aris/DIFF_REPORT.md
309
+ for f in $PAPER_BASE_DIR/sec/*.tex; do
310
+ base=$(basename $f)
311
+ diff -u "$f" "$NEW_VENUE_DIR/sec/$base" >> $NEW_VENUE_DIR/.aris/DIFF_REPORT.md
312
+ done
313
+ ```
314
+
315
+ This goes to the user for skim-review before any export.
316
+
317
+ **Overleaf push** (if `— overleaf-target: <project-id>` was passed):
318
+
319
+ Defer entirely to `/overleaf-sync setup` and `/overleaf-sync push`. Do **not** invent a parallel push mechanism — `/overleaf-sync setup` already handles token-stays-in-keychain (token never enters the agent), and `/overleaf-sync push` has a confirmation gate before writing to shared Overleaf state.
320
+
321
+ ```bash
322
+ /overleaf-sync setup $OVERLEAF_TARGET # one-time, user confirms in their terminal
323
+ /overleaf-sync push # confirmation-gated push from $NEW_VENUE_DIR
324
+ ```
325
+
326
+ If `overleaf-target` is not provided, skip Overleaf push and tell the user to either `/overleaf-sync setup <id>` manually or zip-export the directory.
327
+
328
+ ## Page-Shrink Heuristic
329
+
330
+ When Phase 0.5 or Phase 4 detects page overflow, apply this **ordered** heuristic. Stop as soon as the page limit is met. Each step is fully constrained by the edit whitelist (no theorem changes, no bib changes, no framework changes):
331
+
332
+ 1. **Compress conclusion** (typically 1-2 paragraphs of "future work" can be cut to 2-3 sentences each). Save: 0.3-0.7 pages.
333
+ 2. **Tighten abstract / intro hedging** (cut "in this paper, we" → "we"; cut "it is well known that" → straight to point). Save: 0.2-0.4 pages.
334
+ 3. **Move marginal figures to appendix** (figures whose information is not load-bearing for the main argument). Save: 0.5-1 page per figure.
335
+ 4. **Move proof sketches / extended remarks to appendix** (keep theorem statements + 1-line proof intuition in main; full proof goes to appendix). Save: 0.5-2 pages.
336
+ 5. **Compress related-work prose** (cite-by-citation comparisons → comparison table). Save: 0.3-0.5 pages.
337
+
338
+ **Forbidden** under this heuristic: removing experiments, removing theorems from main, removing citations (bib frozen). If after step 5 the paper still overflows, emit `RESUBmit_REPORT.json` with `verdict: BLOCKED, reason_code: page_shrink_failed_under_constraints` and surface to user — they must decide whether to relax a constraint or pick a different target venue.
339
+
340
+ ## Convergence Criteria (Phase 2 stop condition)
341
+
342
+ Phase 2's per-round loop terminates when **all three** hold:
343
+
344
+ 1. **No new CRITICAL or MAJOR text-fixable findings** in the round's reviewer output (compared to the running running-deduped weakness list).
345
+ 2. **Page budget passes** — `/paper-compile` reports page count ≤ venue limit.
346
+ 3. **All audits non-blocking** — `/proof-checker`, `/paper-claim-audit`, `/citation-audit --soft-only` all return `verdict ∈ {PASS, NOT_APPLICABLE}` (not `WARN/FAIL/BLOCKED/ERROR`).
347
+
348
+ If after `ROUNDS` (default 2) any of (1)/(2)/(3) is still failing, emit a checkpoint to the user asking whether to continue with an extra round (not auto-extend). The user explicitly approving an extra round overrides the default-2 cap.
349
+
350
+ This pattern is borrowed from `/rebuttal` Phase 7's "terminate when no new substantive issues" — the same shape works for resubmit.
351
+
352
+ ## Master `RESUBMIT_REPORT.md` Ledger
353
+
354
+ Every resubmit run writes one master report at `$NEW_VENUE_DIR/RESUBMIT_REPORT.{md,json}` collecting:
355
+
356
+ - Source dir, target venue, target style files used, run start / end timestamps
357
+ - Pointers to all artifacts: `BASELINE.md`, `PROOF_AUDIT.json`, `PAPER_CLAIM_AUDIT.json`, `CITATION_AUDIT.json`, `KNOWN_WEAKNESSES.md`, `PAPER_IMPROVEMENT_LOG.md`, `KILL_ARGUMENT.json`, `COMPILE_REPORT.json`, `DIFF_REPORT.md`
358
+ - SHA256 hashes of every input file consumed (for `verify_paper_audits.sh` compatibility)
359
+ - All thread IDs (Phase 1 audits + Phase 2 reviewer rounds + Phase 3 kill-argument's two threads)
360
+ - `audit_skill: resubmit-pipeline`, `verdict ∈ {PASS, WARN, FAIL, NOT_APPLICABLE, BLOCKED, ERROR}`, `reason_code: <one of the listed codes>`
361
+ - Decision log: every user checkpoint approval / rejection / escalation, with timestamp
362
+ - "Skipped constraints": if any user override (e.g., `— skip-anonymity-scan`, `— rounds 3`) was passed, recorded with rationale
363
+
364
+ The schema follows `shared-references/assurance-contract.md` (the same schema all mandatory audits use). This makes resubmit-pipeline runs forensically reproducible.
365
+
366
+ ## Failure Modes
367
+
368
+ The skill emits one of 7 verdicts (the 6 from the assurance contract + a `USER_DECISION` runtime state for in-flight checkpoint pauses):
369
+
370
+ | Verdict | reason_code | Trigger | Recovery |
371
+ |---|---|---|---|
372
+ | `PASS` | `clean_resubmit` | All gates passed; final PDF compiled at venue limit | Submit |
373
+ | `WARN` | `partially_addressed_concerns` | All MUST-FIX gates passed but some `KNOWN_WEAKNESSES` remain unaddressable | User reviews unaddressed list; submits with awareness |
374
+ | `FAIL` | `kill_argument_unresolved_critical` | Phase 3 surfaces a `still_unresolved` critical finding that cannot be fixed under text-only constraints | User decides: relax constraints, escalate to framework change, or pick different venue |
375
+ | `NOT_APPLICABLE` | `not_a_resubmit` | The skill detects no prior reviews in `--review-corpus` or the directory looks like a fresh draft | User uses `/paper-writing` instead |
376
+ | `USER_DECISION` | `awaiting_phase_<N>_checkpoint` | Skill paused at a Phase 0.5 anonymity-fix checkpoint, Phase 2 round-end diff gate, Phase 3 escalation queue, or Phase 4 page-shrink approval | User responds to the checkpoint prompt; skill resumes with the user's decision recorded in the master ledger |
377
+ | `BLOCKED` | `phase_0_setup_blocked` | New venue dir already exists, or template files not found | User resolves the conflict; rerun |
378
+ | `BLOCKED` | `phase_0_5_compile_failed` | Initial compile fails on new venue's style | User fixes compile error before audits run |
379
+ | `BLOCKED` | `anonymity_scan_failed` | Phase 0.5 hits surface-identifier or self-citation patterns the user must approve | User approves fixes or passes `— skip-anonymity-scan` (only for non-double-blind) |
380
+ | `BLOCKED` | `missing_review_corpus` | `--review-corpus` not provided AND not detected | User provides the prior reviews |
381
+ | `BLOCKED` | `page_shrink_failed_under_constraints` | Page-shrink heuristic exhausted, paper still overflows | User relaxes a constraint or picks a different venue |
382
+ | `BLOCKED` | `out_of_scope_microedit` | `KNOWN_WEAKNESSES` analysis shows ≥1 critical concern requires new experiments / new theorems / framework change | User decides whether to escalate (drop resubmit-pipeline; use full Workflow 1.5 + 3) |
383
+ | `ERROR` | `audit_failure` / `loop_failure` | Any sub-skill emits `ERROR` | Examine sub-skill's report; fix + retry |
384
+
385
+ `BLOCKED` is recoverable; `ERROR` indicates an unexpected sub-skill failure; only `FAIL` and unrecoverable `BLOCKED` block submission.
386
+
387
+ ## Key Rules
388
+
389
+ - **Never overwrite prior submission directories.** This is the single hardest invariant. The skill aborts at Phase 0 if the target dir already exists.
390
+ - **Bib is frozen.** All citation-audit findings flow through `--soft-only` and emerge as text-rewrite proposals, not bib edits.
391
+ - **Edit whitelist is binding.** Every Phase 2 round respects the whitelist; rejections logged to `PAPER_IMPROVEMENT_LOG.md`; the user sees a per-round summary at the round checkpoint.
392
+ - **Per-round diff gate is mandatory.** Multi-round drift is the highest-risk failure mode for resubmit (a small softening at round 1 + another small softening at round 2 can compound into a meaningful framing change). The orchestrator MUST inspect each round's diff before next round.
393
+ - **Convergence criteria are fixed.** Default is 2 rounds; a 3rd round requires explicit user approval at the round-2 checkpoint. The loop does not auto-extend.
394
+ - **Anonymity scan is 5-layer.** Surface identifiers, self-citation phrasing, acknowledgments, cross-rebuttal references, internal codenames — not just `grep author surnames`.
395
+ - **Phase 3 (kill-argument) is residual-risk reporting, not auto-rewrite.** Adjudicator's `still_unresolved` critical points may need user escalation, not blind extra-round triggering.
396
+ - **Overleaf push defers to `/overleaf-sync`.** Don't invent a parallel mechanism.
397
+ - **Master `RESUBMIT_REPORT.md` ledger is mandatory** at `assurance: submission`.
398
+
399
+ ## Output Contract
400
+
401
+ - `<NEW_VENUE_DIR>/main.tex` + `sec/` + `main.pdf` — the new submission, compiled
402
+ - `<NEW_VENUE_DIR>/RESUBMIT_REPORT.md` + `RESUBMIT_REPORT.json` — master ledger (mandatory)
403
+ - `<NEW_VENUE_DIR>/BASELINE.md` — Phase 0.5 health snapshot
404
+ - `<NEW_VENUE_DIR>/KNOWN_WEAKNESSES.md` — atomized prior reviewer concerns with stable IDs
405
+ - `<NEW_VENUE_DIR>/PROOF_AUDIT.json` + `.md` — Phase 1 proof audit
406
+ - `<NEW_VENUE_DIR>/PAPER_CLAIM_AUDIT.json` + `.md` — Phase 1 claim audit
407
+ - `<NEW_VENUE_DIR>/CITATION_AUDIT.json` + `.md` — Phase 1 citation audit (--soft-only mode)
408
+ - `<NEW_VENUE_DIR>/PAPER_IMPROVEMENT_LOG.md` — per-round Phase 2 trace
409
+ - `<NEW_VENUE_DIR>/KILL_ARGUMENT.json` + `.md` — Phase 3 adversarial gate
410
+ - `<NEW_VENUE_DIR>/COMPILE_REPORT.json` — Phase 4 compile + page-limit check
411
+ - `<NEW_VENUE_DIR>/DIFF_REPORT.md` — full diff vs base venue body
412
+ - `<NEW_VENUE_DIR>/.aris/edit_whitelist.yaml` — Phase 0-generated whitelist
413
+ - `<NEW_VENUE_DIR>/.aris/round-N-diff.txt` — per-round diff for the gate
414
+ - `<NEW_VENUE_DIR>/.aris/traces/<phase>/<date>_runNN/` — Codex traces per phase
415
+
416
+ The new venue dir is **the** deliverable; the prior venue dir is untouched.
417
+
418
+ ## Review Tracing
419
+
420
+ Every Codex MCP reviewer call across all phases saves traces per `shared-references/review-tracing.md` to `<NEW_VENUE_DIR>/.aris/traces/<phase-name>/<date>_run<NN>/`. Both threads of `/kill-argument` are preserved separately. The master `RESUBMIT_REPORT.json` `trace_path` field points to the top-level traces directory.
421
+
422
+ ## Notes
423
+
424
+ - This skill orchestrates several existing skills (proof-checker, paper-claim-audit, citation-audit, auto-paper-improvement-loop, kill-argument, paper-compile, overleaf-sync) plus uses two recently-added parameters (`/auto-paper-improvement-loop --edit-whitelist`, `/citation-audit --soft-only`). Make sure those parameters resolve to the current SKILL.md versions before relying on the resubmit pipeline.
425
+ - The 5-layer anonymity scan is intentionally more thorough than `/paper-compile`'s generic self-citation warning, because resubmit-mode often inherits camera-ready text from a non-double-blind venue going to a double-blind venue.
426
+ - Page-shrink heuristic is ordered (compress conclusion → tighten hedging → move marginal figures → move proof sketches → compress related-work prose). The order is calibrated to "least risky to most risky" — compressing conclusion is mostly editorial; moving proof sketches changes the reading flow. Stop as early as page limit is met.
427
+ - `RESUBMIT_REPORT.json` schema follows `shared-references/assurance-contract.md` exactly. This makes resubmit runs forensically reproducible. **Note**: `verify_paper_audits.sh` does not currently include `RESUBMIT_REPORT.json` in its `MANDATORY_AUDITS` list (the verifier checks proof / paper-claim / citation / kill-argument). The 4 mandatory audit files consumed by resubmit (which DO live in `<NEW_VENUE_DIR>/`) are recognized by the verifier as usual; `RESUBMIT_REPORT.json` is the orchestrator's own ledger and is not yet a verifier mandatory artifact. Adding it to the verifier is a separate follow-up if the user wants resubmit to be a submission gate via the verifier.
@@ -0,0 +1,190 @@
1
+ ---
2
+ name: result-to-claim
3
+ description: Use when experiments complete to judge what claims the results support, what they don't, and what evidence is still missing. A secondary Codex agent evaluates results against intended claims and routes to next action (pivot, supplement, or confirm). Use after experiments finish — before writing the paper or running ablations.
4
+ argument-hint: [experiment-description-or-wandb-run]
5
+ allowed-tools: Bash(*), Read, Grep, Glob, Write, Edit
6
+ ---
7
+
8
+ # Result-to-Claim Gate
9
+
10
+ Experiments produce numbers; this gate decides what those numbers *mean*. Collect results from available sources, get a secondary Codex judgment, then auto-route based on the verdict.
11
+
12
+ ## Context: $ARGUMENTS
13
+
14
+ ## When to Use
15
+
16
+ - After a set of experiments completes (main results, not just sanity checks)
17
+ - Before committing to claims in a paper or review response
18
+ - When results are ambiguous and you need an objective second opinion
19
+
20
+ ## Workflow
21
+
22
+ ### Step 1: Collect Results
23
+
24
+ Gather experiment data from whatever sources are available in the project:
25
+
26
+ 1. **W&B** (preferred): `wandb.Api().run("<entity>/<project>/<run_id>").history()` — metrics, training curves, comparisons
27
+ 2. **EXPERIMENT_LOG.md**: full results table with baselines and verdicts
28
+ 3. **EXPERIMENT_TRACKER.md**: check which experiments are DONE vs still running
29
+ 4. **Log files**: `ssh server "tail -100 /path/to/training.log"` if no other source
30
+ 5. **docs/research_contract.md**: intended claims and experiment design
31
+
32
+ Assemble the key information:
33
+ - What experiments were run (method, dataset, config)
34
+ - Main metrics and baseline comparisons (deltas)
35
+ - The intended claim these experiments were designed to test
36
+ - Any known confounds or caveats
37
+
38
+ ### Step 2: Codex Judgment
39
+
40
+ Send the collected results to a secondary Codex agent for objective evaluation:
41
+
42
+ ```text
43
+ spawn_agent:
44
+ reasoning_effort: xhigh
45
+ message: |
46
+ RESULT-TO-CLAIM EVALUATION
47
+
48
+ I need you to judge whether experimental results support the intended claim.
49
+
50
+ Intended claim: [the claim these experiments test]
51
+
52
+ Experiments run:
53
+ [list experiments with method, dataset, metrics]
54
+
55
+ Results:
56
+ [paste key numbers, comparison deltas, significance]
57
+
58
+ Baselines:
59
+ [baseline numbers and sources — reproduced or from paper]
60
+
61
+ Known caveats:
62
+ [any confounding factors, limited datasets, missing comparisons]
63
+
64
+ Please evaluate:
65
+ 1. claim_supported: yes | partial | no
66
+ 2. what_results_support: what the data actually shows
67
+ 3. what_results_dont_support: where the data falls short of the claim
68
+ 4. missing_evidence: specific evidence gaps
69
+ 5. suggested_claim_revision: if the claim should be strengthened, weakened, or reframed
70
+ 6. next_experiments_needed: specific experiments to fill gaps (if any)
71
+ 7. confidence: high | medium | low
72
+
73
+ Be honest. Do not inflate claims beyond what the data supports.
74
+ A single positive result on one dataset does not support a general claim.
75
+ ```
76
+
77
+ ### Step 3: Parse and Normalize
78
+
79
+ Extract structured fields from the secondary Codex response:
80
+
81
+ ```markdown
82
+ - claim_supported: yes | partial | no
83
+ - what_results_support: "..."
84
+ - what_results_dont_support: "..."
85
+ - missing_evidence: "..."
86
+ - suggested_claim_revision: "..."
87
+ - next_experiments_needed: "..."
88
+ - confidence: high | medium | low
89
+ ```
90
+
91
+ ### Step 3.5: Check Experiment Integrity (if audit exists)
92
+
93
+ **Skip this step if `EXPERIMENT_AUDIT.json` does not exist.**
94
+
95
+ ```
96
+ if EXPERIMENT_AUDIT.json exists:
97
+ read integrity_status from file
98
+ attach to verdict output:
99
+ integrity_status: pass | warn | fail
100
+
101
+ if integrity_status == "fail":
102
+ append to verdict: "[INTEGRITY CONCERN] — audit found issues, see EXPERIMENT_AUDIT.md"
103
+ downgrade confidence to "low" regardless of Codex judgment
104
+
105
+ if integrity_status == "warn":
106
+ append to verdict: "[INTEGRITY: WARN] — audit flagged potential issues"
107
+ else:
108
+ integrity_status = "unavailable"
109
+ verdict is labeled "provisional — no integrity audit run"
110
+ (this does NOT block anything — pipeline continues normally)
111
+ ```
112
+
113
+ See `shared-references/experiment-integrity.md` for the full integrity protocol.
114
+
115
+ ### Step 4: Route Based on Verdict
116
+
117
+ #### `no` — Claim not supported
118
+
119
+ 1. Record postmortem in findings.md (Research Findings section):
120
+ - What was tested, what failed, hypotheses for why
121
+ - Constraints for future attempts (what NOT to try again)
122
+ 2. Update the project pipeline status in `AGENTS.md` or project notes
123
+ 3. Decide whether to pivot to next idea from IDEA_CANDIDATES.md or try an alternative approach
124
+
125
+ #### `partial` — Claim partially supported
126
+
127
+ 1. Update the working claim to reflect what IS supported
128
+ 2. Record the gap in findings.md
129
+ 3. Design and run supplementary experiments to fill evidence gaps
130
+ 4. Re-run result-to-claim after supplementary experiments complete
131
+ 5. **Multiple rounds of `partial` on the same claim** → record analysis in findings.md, consider whether to narrow the claim scope or switch ideas
132
+
133
+ #### `yes` — Claim supported
134
+
135
+ 1. Record confirmed claim in project notes
136
+ 2. If ablation studies are incomplete → trigger `/ablation-planner`
137
+ 3. If all evidence is in → ready for paper writing
138
+
139
+ ### Step 5: Update Research Wiki (if active)
140
+
141
+ **Skip this step entirely if `research-wiki/` does not exist.**
142
+
143
+ ```
144
+ if research-wiki/ exists:
145
+ # 1. Create experiment page
146
+ Create research-wiki/experiments/<exp_id>.md with:
147
+ - node_id: exp:<id>
148
+ - idea_id: idea:<active_idea>
149
+ - date, hardware, duration, metrics
150
+ - verdict, confidence, reasoning summary
151
+
152
+ # 2. Update claim status
153
+ for each claim resolved by this verdict:
154
+ if verdict == "yes":
155
+ Update claim page: status → supported
156
+ run the installed ARIS research_wiki.py helper to add a supports edge from "exp:<id>" to "claim:<cid>"
157
+ elif verdict == "partial":
158
+ Update claim page: status → partial
159
+ run the installed ARIS research_wiki.py helper to add a partial supports edge from "exp:<id>" to "claim:<cid>"
160
+ else:
161
+ Update claim page: status → invalidated
162
+ run the installed ARIS research_wiki.py helper to add an invalidates edge from "exp:<id>" to "claim:<cid>"
163
+
164
+ # 3. Update idea outcome
165
+ Update research-wiki/ideas/<idea_id>.md:
166
+ - outcome: positive | mixed | negative
167
+ - If negative: fill "Failure / Risk Notes" and "Lessons Learned"
168
+ - If positive: fill "Actual Outcome" and "Reusable Components"
169
+
170
+ # 4. Rebuild + log
171
+ rebuild the query pack with the installed ARIS research_wiki.py helper
172
+ log "result-to-claim: exp:<id> verdict=<verdict> for idea:<idea_id>" with the installed ARIS research_wiki.py helper
173
+
174
+ # 5. Re-ideation suggestion
175
+ Count failed/partial ideas since last /idea-creator run.
176
+ If >= 3: print "💡 3+ ideas tested since last ideation. Consider re-running /idea-creator — the wiki now knows what doesn't work."
177
+ ```
178
+
179
+ ## Rules
180
+
181
+ - **The secondary Codex agent is the judge, not the local executor.** The local executor collects evidence and routes; the reviewer agent evaluates. This prevents post-hoc rationalization.
182
+ - Do not inflate claims beyond what the data supports. If Codex says "partial", do not round up to "yes".
183
+ - A single positive result on one dataset does not support a general claim. Be honest about scope.
184
+ - If `confidence` is low, treat the judgment as inconclusive and add experiments rather than committing to a claim.
185
+ - If reviewer delegation is unavailable, make the best local judgment you can and mark it `[pending external review]` - do not block the pipeline.
186
+ - Always record the verdict and reasoning in findings.md, regardless of outcome.
187
+
188
+ ## Review Tracing
189
+
190
+ After the secondary Codex judgment, save a trace following `../shared-references/review-tracing.md`. Write files directly to `.aris/traces/result-to-claim/<date>_run<NN>/` and include the prompt, raw reviewer response, parsed verdict, routing action, and whether the result is `[pending external review]`. Respect the `--- trace:` parameter when present (default: `full`).