paperlint 16.8.0 → 17.1.0

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 (300) hide show
  1. package/CLAUDE.md +10 -2
  2. package/CONTRIBUTING.md +1 -1
  3. package/README.md +17 -14
  4. package/dist/adapters/latex/abstract.d.ts +7 -1
  5. package/dist/adapters/latex/abstract.d.ts.map +1 -1
  6. package/dist/adapters/latex/abstract.js +19 -4
  7. package/dist/adapters/latex/abstract.js.map +1 -1
  8. package/dist/adapters/latex/captions.d.ts +6 -5
  9. package/dist/adapters/latex/captions.d.ts.map +1 -1
  10. package/dist/adapters/latex/captions.js +14 -30
  11. package/dist/adapters/latex/captions.js.map +1 -1
  12. package/dist/adapters/latex/index.d.ts +1 -1
  13. package/dist/adapters/latex/index.d.ts.map +1 -1
  14. package/dist/adapters/latex/index.js +5 -2
  15. package/dist/adapters/latex/index.js.map +1 -1
  16. package/dist/adapters/latex/prose.d.ts +6 -0
  17. package/dist/adapters/latex/prose.d.ts.map +1 -1
  18. package/dist/adapters/latex/prose.js +18 -12
  19. package/dist/adapters/latex/prose.js.map +1 -1
  20. package/dist/cli.d.ts +6 -1
  21. package/dist/cli.d.ts.map +1 -1
  22. package/dist/cli.js +16 -8
  23. package/dist/cli.js.map +1 -1
  24. package/dist/domain/register.d.ts +23 -1
  25. package/dist/domain/register.d.ts.map +1 -1
  26. package/dist/domain/register.js +37 -14
  27. package/dist/domain/register.js.map +1 -1
  28. package/dist/domain/term-definitions.d.ts +48 -0
  29. package/dist/domain/term-definitions.d.ts.map +1 -0
  30. package/dist/domain/term-definitions.js +228 -0
  31. package/dist/domain/term-definitions.js.map +1 -0
  32. package/dist/domain/tex-document.d.ts +11 -0
  33. package/dist/domain/tex-document.d.ts.map +1 -1
  34. package/dist/domain/tex-document.js.map +1 -1
  35. package/dist/eslint-rules/review-frontmatter.js +5 -5
  36. package/dist/eslint-rules/review-frontmatter.schema.json +15 -8
  37. package/dist/eslint-rules/sibling-frontmatter.d.ts.map +1 -1
  38. package/dist/folder-venue-rule.d.ts +1 -1
  39. package/dist/folder-venue-rule.d.ts.map +1 -1
  40. package/dist/folder-venue-rule.js +4 -2
  41. package/dist/folder-venue-rule.js.map +1 -1
  42. package/dist/hooks-notice.d.ts +3 -3
  43. package/dist/hooks-notice.d.ts.map +1 -1
  44. package/dist/hooks-notice.js +41 -8
  45. package/dist/hooks-notice.js.map +1 -1
  46. package/dist/link-skills.d.ts +5 -0
  47. package/dist/link-skills.d.ts.map +1 -1
  48. package/dist/link-skills.js +7 -0
  49. package/dist/link-skills.js.map +1 -1
  50. package/dist/ports/latex.d.ts +11 -1
  51. package/dist/ports/latex.d.ts.map +1 -1
  52. package/dist/presets.d.ts +21 -2
  53. package/dist/presets.d.ts.map +1 -1
  54. package/dist/presets.js +66 -17
  55. package/dist/presets.js.map +1 -1
  56. package/dist/readability.d.ts +12 -2
  57. package/dist/readability.d.ts.map +1 -1
  58. package/dist/readability.js +76 -3
  59. package/dist/readability.js.map +1 -1
  60. package/dist/register-bands.d.ts +16 -5
  61. package/dist/register-bands.d.ts.map +1 -1
  62. package/dist/register-bands.js +56 -17
  63. package/dist/register-bands.js.map +1 -1
  64. package/dist/skills/argument-arc/scripts/headings-core.d.ts +12 -0
  65. package/dist/skills/argument-arc/scripts/headings.d.ts +2 -0
  66. package/dist/skills/cold-read-diff/scripts/cold-read-core.d.ts +12 -0
  67. package/dist/skills/cold-read-diff/scripts/readers.d.ts +2 -1
  68. package/dist/term-definition-rules.d.ts +26 -0
  69. package/dist/term-definition-rules.d.ts.map +1 -0
  70. package/dist/term-definition-rules.js +137 -0
  71. package/dist/term-definition-rules.js.map +1 -0
  72. package/dist/tex-paper.d.ts +6 -0
  73. package/dist/tex-paper.d.ts.map +1 -1
  74. package/dist/tex-paper.js +10 -0
  75. package/dist/tex-paper.js.map +1 -1
  76. package/dist/tex-requirements.d.ts +2 -0
  77. package/dist/tex-requirements.d.ts.map +1 -1
  78. package/dist/tex-requirements.js +9 -0
  79. package/dist/tex-requirements.js.map +1 -1
  80. package/dist/tex-venue-rules.d.ts +3 -2
  81. package/dist/tex-venue-rules.d.ts.map +1 -1
  82. package/dist/tex-venue-rules.js +3 -2
  83. package/dist/tex-venue-rules.js.map +1 -1
  84. package/docs/configuration.md +2 -2
  85. package/{skills/paper-pipeline/references → docs/design}/acceptance-gate.md +50 -53
  86. package/docs/design/paper-pipeline-history.md +217 -0
  87. package/docs/design/skill-provenance.md +132 -0
  88. package/docs/design/study-modes.md +1 -1
  89. package/docs/design/verify-citations-history.md +135 -0
  90. package/docs/design/writing-exemplars.md +19 -0
  91. package/docs/install.md +7 -4
  92. package/docs/layout.md +5 -4
  93. package/docs/optional-rules.md +4 -0
  94. package/docs/osf-artifact.md +54 -0
  95. package/docs/pipeline.md +171 -0
  96. package/docs/render.md +82 -0
  97. package/docs/rules/paper/folder-venue-leftover.md +10 -7
  98. package/docs/rules/tex/contrast-frames.md +1 -2
  99. package/docs/rules/tex/max-caption-words.md +82 -0
  100. package/docs/rules/tex/max-paragraph-words.md +2 -2
  101. package/docs/rules/tex/negated-sentences.md +96 -0
  102. package/docs/rules/tex/term-before-definition.md +103 -0
  103. package/docs/rules/tex/term-defined-twice.md +62 -0
  104. package/docs/rules/tex/venue-leftover.md +13 -1
  105. package/docs/rules.md +23 -18
  106. package/docs/skills.md +16 -21
  107. package/docs/submission.md +14 -0
  108. package/docs/texlive-install-decision.md +1 -1
  109. package/docs/toolchain.md +11 -11
  110. package/eslint-rules/review-frontmatter.schema.json +15 -8
  111. package/eslint-rules/review-frontmatter.test.mjs +8 -5
  112. package/eslint-rules/review-frontmatter.ts +5 -5
  113. package/eslint.config.mjs +1 -5
  114. package/hooks/paper-status-gates.sh +21 -4
  115. package/hooks/paper-status-gates.test.ts +51 -0
  116. package/lib/skill-checks.test.mjs +2 -6
  117. package/lib/skill-trigger-cases.mjs +12 -97
  118. package/lib/skill-trigger-cases.test.ts +0 -6
  119. package/package.json +3 -1
  120. package/presets/acm-sigconf.md +1 -1
  121. package/presets/agenticdev.jsonc +5 -2
  122. package/presets/agenticdev.md +4 -2
  123. package/presets/aidc.jsonc +14 -1
  124. package/presets/aidc.md +3 -2
  125. package/presets/aisec.jsonc +9 -3
  126. package/presets/aisec.md +4 -1
  127. package/presets/ase.jsonc +145 -0
  128. package/presets/ase.md +178 -0
  129. package/presets/ccs.jsonc +87 -0
  130. package/presets/ccs.md +184 -0
  131. package/presets/icse.jsonc +100 -0
  132. package/presets/icse.md +126 -0
  133. package/presets/ieee-conference.md +1 -1
  134. package/presets/sp.jsonc +152 -0
  135. package/presets/sp.md +160 -0
  136. package/presets/venue-profile.schema.json +22 -3
  137. package/scripts/harness-api.frozen.json +0 -4
  138. package/scripts/pipeline.ts +481 -0
  139. package/skills/CLAUDE.md +2 -2
  140. package/skills/CLAUDE.md.spec.ts +26 -1
  141. package/skills/analyze-sibling-paper/SKILL.md +2 -20
  142. package/skills/analyze-sibling-paper/SKILL.md.spec.ts +9 -19
  143. package/skills/argument-arc/SKILL.md +32 -18
  144. package/skills/argument-arc/SKILL.md.spec.ts +43 -17
  145. package/skills/argument-arc/scripts/headings-core.js +46 -0
  146. package/skills/argument-arc/scripts/headings-core.ts +65 -0
  147. package/skills/argument-arc/scripts/headings.js +15 -0
  148. package/skills/argument-arc/scripts/headings.test.ts +105 -0
  149. package/skills/argument-arc/scripts/headings.ts +20 -0
  150. package/skills/build-benchmark/SKILL.md +1 -12
  151. package/skills/build-benchmark/SKILL.md.spec.ts +15 -11
  152. package/skills/build-label-page/SKILL.md.spec.ts +11 -0
  153. package/skills/camera-ready/SKILL.md +1 -8
  154. package/skills/camera-ready/SKILL.md.spec.ts +8 -7
  155. package/skills/cold-read-diff/SKILL.md +36 -25
  156. package/skills/cold-read-diff/SKILL.md.spec.ts +44 -24
  157. package/skills/cold-read-diff/scripts/cold-read-core.js +63 -6
  158. package/skills/cold-read-diff/scripts/cold-read-core.ts +81 -6
  159. package/skills/cold-read-diff/scripts/cold-read.js +1 -1
  160. package/skills/cold-read-diff/scripts/cold-read.test.ts +66 -0
  161. package/skills/cold-read-diff/scripts/cold-read.ts +1 -1
  162. package/skills/cold-read-diff/scripts/readers.js +2 -1
  163. package/skills/cold-read-diff/scripts/readers.ts +2 -1
  164. package/skills/draft-paper/SKILL.md +16 -29
  165. package/skills/draft-paper/SKILL.md.spec.ts +27 -28
  166. package/skills/extend-paper/SKILL.md +7 -16
  167. package/skills/extend-paper/SKILL.md.spec.ts +18 -15
  168. package/skills/find-venue/SKILL.md +11 -24
  169. package/skills/find-venue/SKILL.md.spec.ts +19 -23
  170. package/skills/harden-paper/SKILL.md +62 -290
  171. package/skills/harden-paper/SKILL.md.spec.ts +82 -304
  172. package/skills/harden-paper/harden-paper.harness.mjs +1 -2
  173. package/skills/jobs.ts +25 -0
  174. package/skills/label-agent-runs/SKILL.md.spec.ts +10 -0
  175. package/skills/map-prior-work/SKILL.md +5 -4
  176. package/skills/map-prior-work/SKILL.md.spec.ts +13 -3
  177. package/skills/paper-pipeline/SKILL.md +80 -278
  178. package/skills/paper-pipeline/SKILL.md.spec.ts +130 -276
  179. package/skills/paper-pipeline/description-language.eval.mjs +0 -22
  180. package/skills/paper-pipeline/framing-vs-vocabulary.eval.mjs +0 -29
  181. package/skills/paper-pipeline/paper-pipeline.harness.mjs +0 -16
  182. package/skills/paper-pipeline/pipeline-firing.eval.mjs +7 -29
  183. package/skills/paper-pipeline/pipeline-language.eval.mjs +0 -52
  184. package/skills/paper-pipeline/references/artifact-checklist.md +6 -1
  185. package/skills/paper-pipeline/references/body-vs-appendix.md +3 -4
  186. package/skills/paper-pipeline/references/pipeline-status-template.md +8 -10
  187. package/skills/paper-pipeline/references/review-ratchet.md +4 -7
  188. package/skills/paper-pipeline/references/venue-bar.md +1 -2
  189. package/skills/paper-pipeline/references/writing-craft.md +21 -281
  190. package/skills/paper-status/SKILL.md +17 -20
  191. package/skills/paper-status/SKILL.md.spec.ts +23 -19
  192. package/skills/pc-panel-review/SKILL.md +66 -93
  193. package/skills/pc-panel-review/SKILL.md.spec.ts +75 -92
  194. package/skills/plan-paper-timeline/SKILL.md +7 -29
  195. package/skills/plan-paper-timeline/SKILL.md.spec.ts +16 -28
  196. package/skills/plan-paper-timeline/plan-paper-timeline.effects.harness.mjs +2 -2
  197. package/skills/render-paper/check-render.sh +2 -2
  198. package/skills/render-paper/render-paper.harness.mjs +4 -20
  199. package/skills/research-ideate/SKILL.md +15 -32
  200. package/skills/research-ideate/SKILL.md.spec.ts +25 -31
  201. package/skills/rewrite-unclear/SKILL.md +15 -14
  202. package/skills/rewrite-unclear/SKILL.md.spec.ts +24 -15
  203. package/skills/rewrite-unclear/rewrite-unclear.eval.ts +2 -3
  204. package/skills/run-agent-grid/SKILL.md +3 -3
  205. package/skills/run-agent-grid/SKILL.md.spec.ts +10 -2
  206. package/skills/study-accepted-papers/SKILL.md +5 -5
  207. package/skills/study-accepted-papers/SKILL.md.spec.ts +27 -4
  208. package/skills/submit-paper/SKILL.md +37 -31
  209. package/skills/submit-paper/SKILL.md.spec.ts +46 -30
  210. package/skills/submit-paper/check-deanon.sh +1 -1
  211. package/skills/tighten-paper/SKILL.md +43 -68
  212. package/skills/tighten-paper/SKILL.md.spec.ts +51 -67
  213. package/skills/verify-citations/SKILL.md +18 -112
  214. package/skills/verify-citations/SKILL.md.spec.ts +27 -114
  215. package/src/adapters/latex/abstract.test.ts +42 -0
  216. package/src/adapters/latex/abstract.ts +23 -6
  217. package/src/adapters/latex/captions.test.ts +36 -38
  218. package/src/adapters/latex/captions.ts +16 -33
  219. package/src/adapters/latex/index.test.ts +11 -0
  220. package/src/adapters/latex/index.ts +5 -2
  221. package/src/adapters/latex/prose.ts +23 -11
  222. package/src/cli.ts +26 -5
  223. package/src/domain/register.test.ts +65 -0
  224. package/src/domain/register.ts +72 -16
  225. package/src/domain/term-definitions.test.ts +240 -0
  226. package/src/domain/term-definitions.ts +329 -0
  227. package/src/domain/tex-document.ts +12 -0
  228. package/src/domain/venue-name.test.ts +4 -4
  229. package/src/folder-venue-rule.test.ts +23 -2
  230. package/src/folder-venue-rule.ts +8 -8
  231. package/src/hooks-notice.test.ts +127 -0
  232. package/src/hooks-notice.ts +50 -10
  233. package/src/link-skills.ts +9 -0
  234. package/src/new-paper.test.ts +2 -2
  235. package/src/paper-settings-commands.test.ts +1 -1
  236. package/src/ports/latex.ts +11 -0
  237. package/src/preset-card-rule.test.ts +4 -0
  238. package/src/presets.test.ts +141 -4
  239. package/src/presets.ts +113 -22
  240. package/src/readability.test.ts +92 -0
  241. package/src/readability.ts +113 -5
  242. package/src/register-bands.test.ts +81 -1
  243. package/src/register-bands.ts +88 -23
  244. package/src/rule-cases.test.ts +122 -2
  245. package/src/term-definition-rules.test.ts +150 -0
  246. package/src/term-definition-rules.ts +189 -0
  247. package/src/tex-paper.test.ts +18 -1
  248. package/src/tex-paper.ts +11 -0
  249. package/src/tex-requirements.ts +15 -0
  250. package/src/tex-venue-rules.test.ts +45 -1
  251. package/src/tex-venue-rules.ts +8 -3
  252. package/src/venue-rules.test.ts +2 -2
  253. package/templates/paper/PIPELINE-STATUS.md +19 -19
  254. package/dist/paper-prose.d.ts +0 -17
  255. package/dist/paper-prose.d.ts.map +0 -1
  256. package/dist/paper-prose.js +0 -46
  257. package/dist/paper-prose.js.map +0 -1
  258. package/skills/grade-paper-writing/SKILL.md +0 -494
  259. package/skills/grade-paper-writing/SKILL.md.spec.ts +0 -501
  260. package/skills/grade-paper-writing/__snapshots__/prose-lint.test.ts.snap +0 -84
  261. package/skills/grade-paper-writing/fixtures/control_gopen.txt +0 -1
  262. package/skills/grade-paper-writing/fixtures/control_human_paper.txt +0 -1
  263. package/skills/grade-paper-writing/fixtures/rewrite.txt +0 -1
  264. package/skills/grade-paper-writing/fixtures/specimen.txt +0 -1
  265. package/skills/grade-paper-writing/fixtures/structure-checks.md +0 -22
  266. package/skills/grade-paper-writing/grade-paper-writing.eval.mjs +0 -19
  267. package/skills/grade-paper-writing/grade-paper-writing.harness.mjs +0 -23
  268. package/skills/grade-paper-writing/prose-lint.mjs +0 -602
  269. package/skills/grade-paper-writing/prose-lint.test.ts +0 -413
  270. package/skills/osf-artifact-upload/SKILL.md +0 -58
  271. package/skills/osf-artifact-upload/SKILL.md.spec.ts +0 -65
  272. package/skills/osf-artifact-upload/osf-artifact-upload.eval.mjs +0 -22
  273. package/skills/osf-artifact-upload/osf-artifact-upload.harness.ts +0 -102
  274. package/skills/paper-adversarial-review/SKILL.md +0 -100
  275. package/skills/paper-adversarial-review/SKILL.md.spec.ts +0 -107
  276. package/skills/paper-adversarial-review/paper-adversarial-review.eval.mjs +0 -19
  277. package/skills/paper-adversarial-review/paper-adversarial-review.harness.mjs +0 -24
  278. package/skills/paper-pipeline/grade-paper-writing-ablation.eval.mjs +0 -1274
  279. package/skills/paper-pipeline/references/credit-criteria.md +0 -69
  280. package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/README.md +0 -35
  281. package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/run_retext.mjs +0 -24
  282. package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/sentences.txt +0 -11
  283. package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/test_sentences.py +0 -25
  284. package/skills/paper-pipeline/references/occupancy-2026-08-06-prose-checkers.md +0 -538
  285. package/skills/paper-pipeline/references/occupancy-2026-08-06-reproducible-tooling.md +0 -431
  286. package/skills/paper-pipeline/references/occupancy-2026-08-06-staleness-and-orchestration.md +0 -592
  287. package/skills/paper-pipeline/repro/2026-08-08-parent-replication.mjs +0 -92
  288. package/skills/render-paper/SKILL.md +0 -123
  289. package/skills/render-paper/SKILL.md.spec.ts +0 -130
  290. package/skills/render-paper/render-paper.eval.mjs +0 -19
  291. package/skills/submission-portal/SKILL.md +0 -129
  292. package/skills/submission-portal/SKILL.md.spec.ts +0 -134
  293. package/skills/submission-portal/submission-portal.eval.mjs +0 -15
  294. package/skills/submission-portal/submission-portal.test.ts +0 -12
  295. package/skills/sweep-design-space/SKILL.md +0 -232
  296. package/skills/sweep-design-space/SKILL.md.spec.ts +0 -248
  297. package/skills/sweep-design-space/sweep-design-space.eval.mjs +0 -19
  298. package/skills/sweep-design-space/sweep-design-space.harness.mjs +0 -23
  299. package/src/paper-prose.test.ts +0 -78
  300. package/src/paper-prose.ts +0 -67
@@ -78,26 +78,10 @@ for (const name of new Set(asserted)) {
78
78
  // ── backward: every shipped skill is named somewhere in the map ──
79
79
  /** Shipped skills the conductor does NOT name, each with why. */
80
80
  const NOT_IN_MAP = new Map([
81
- [
82
- "cold-read-diff",
83
- "reached through `grade-paper-writing`, which routes to it; missing only from the map",
84
- ],
85
- [
86
- "sweep-design-space",
87
- "reached through `argument-arc`; missing only from the map",
88
- ],
89
81
  [
90
82
  "paper-status",
91
83
  "reports ON the pipeline rather than being a stage in it — the conductor has nothing to route to it",
92
84
  ],
93
- [
94
- "osf-artifact-upload",
95
- "a helper that uploads an artifact file, not a stage of writing a paper",
96
- ],
97
- [
98
- "submission-portal",
99
- "a helper that reads and updates the submission on the portal, reached through `submit-paper`",
100
- ],
101
85
  ]);
102
86
 
103
87
  for (const name of dirs) {
@@ -307,18 +307,7 @@ const CASES = [
307
307
  "после трёх раундов ревью там одна вода и хеджи, нужен план сокращения",
308
308
  "sections 4 and 5 say the same thing twice, and nobody would skim any of it",
309
309
  ],
310
- collides: ["grade-paper-writing", "argument-arc"],
311
- },
312
- {
313
- skill: "grade-paper-writing",
314
- why: "prose craft — the sentence is the unit, NOT the section",
315
- prompts: [
316
- "оцени как написано — читается как стена жаргона",
317
- "is the writing any good or does it read like shit",
318
- "abstract звучит криво хотя по смыслу всё на месте, дай оценку прозе",
319
- "grade the craft: title, abstract, sentence clarity, hedge stacking",
320
- ],
321
- collides: ["tighten-paper", "argument-arc"],
310
+ collides: ["cold-read-diff", "argument-arc"],
322
311
  },
323
312
  {
324
313
  skill: "argument-arc",
@@ -329,18 +318,7 @@ const CASES = [
329
318
  "мы вводим пять именованных штук и три числа — по-моему это перебор",
330
319
  "before the big rewrite I want one sentence per section, bottom up",
331
320
  ],
332
- collides: ["tighten-paper", "grade-paper-writing"],
333
- },
334
- {
335
- skill: "paper-adversarial-review",
336
- why: "ONE hostile reviewer, fast",
337
- prompts: [
338
- "red-team эту статью, чем будет бить reviewer 2",
339
- "would reviewer 2 buy this claim about the hook finding",
340
- "найди слабые места до сабмита — один злой но честный рецензент",
341
- "what is our desk reject risk and where do we overclaim",
342
- ],
343
- collides: ["pc-panel-review"],
321
+ collides: ["tighten-paper", "cold-read-diff"],
344
322
  },
345
323
  {
346
324
  skill: "pc-panel-review",
@@ -351,7 +329,7 @@ const CASES = [
351
329
  "что решат на PC discussion — accept или reject",
352
330
  "нужно несколько независимых ревьюеров с разными линзами плюс мета-ревью от чейра",
353
331
  ],
354
- collides: ["paper-adversarial-review"],
332
+ collides: ["tighten-paper"],
355
333
  },
356
334
  {
357
335
  skill: "cold-read-diff",
@@ -362,7 +340,7 @@ const CASES = [
362
340
  "поправил формулировки в 4.2, прогони свежим читателем до того как я закрою правку",
363
341
  "эти предложения короткие, правдивые и всё равно непонятно что они утверждают",
364
342
  ],
365
- collides: ["grade-paper-writing", "tighten-paper"],
343
+ collides: ["tighten-paper", "argument-arc"],
366
344
  },
367
345
  {
368
346
  skill: "verify-citations",
@@ -654,9 +632,9 @@ if (flag("update-baseline")) {
654
632
  // not to a number invented here. Tighten these only against recorded runs.
655
633
  //
656
634
  // Precision is NOT gated. A colliding sibling firing alongside the right skill is often CORRECT
657
- // chaining — grade-paper-writing's own description says to run tighten-paper first on a bloated
658
- // draft — so a false positive here means "fired on a prompt another skill owns", which includes
659
- // legitimate hand-offs. Gating it would punish the composition these skills are designed for.
635
+ // chaining — the final review runs tighten-paper before the cold read on a bloated draft — so a
636
+ // false positive here means "fired on a prompt another skill owns", which includes legitimate
637
+ // hand-offs. Gating it would punish the composition these skills are designed for.
660
638
  const FLOOR = { min: 0.5, maxFalsePositive: 0.75 };
661
639
  if (GATE) {
662
640
  const failures = [];
@@ -268,32 +268,6 @@ const CASES = [
268
268
  },
269
269
  ],
270
270
  },
271
- {
272
- skill: "grade-paper-writing",
273
- why: "prose craft — the sentence is the unit, NOT the section",
274
- pairs: [
275
- {
276
- origin: "ru",
277
- ru: "оцени как написано — читается как стена жаргона",
278
- en: "grade how it is written — it reads like a wall of jargon",
279
- },
280
- {
281
- origin: "en",
282
- en: "is the writing any good or does it read like shit",
283
- ru: "текст вообще нормальный или читается как дерьмо",
284
- },
285
- {
286
- origin: "ru",
287
- ru: "abstract звучит криво хотя по смыслу всё на месте, дай оценку прозе",
288
- en: "the abstract sounds clumsy even though the substance is fine, grade the prose",
289
- },
290
- {
291
- origin: "en",
292
- en: "grade the craft: title, abstract, sentence clarity, hedge stacking",
293
- ru: "оцени ремесло: заголовок, аннотация, ясность предложений, нагромождение хеджей",
294
- },
295
- ],
296
- },
297
271
  {
298
272
  skill: "argument-arc",
299
273
  why: "argument architecture — does one conclusion become inevitable",
@@ -320,32 +294,6 @@ const CASES = [
320
294
  },
321
295
  ],
322
296
  },
323
- {
324
- skill: "paper-adversarial-review",
325
- why: "ONE hostile reviewer, fast",
326
- pairs: [
327
- {
328
- origin: "ru",
329
- ru: "red-team эту статью, чем будет бить reviewer 2",
330
- en: "red-team this paper, what will reviewer 2 hit it with",
331
- },
332
- {
333
- origin: "en",
334
- en: "would reviewer 2 buy this claim about the hook finding",
335
- ru: "купится ли reviewer 2 на это утверждение про находку с хуком",
336
- },
337
- {
338
- origin: "ru",
339
- ru: "найди слабые места до сабмита — один злой но честный рецензент",
340
- en: "find the weak spots before submission — one hostile but fair reviewer",
341
- },
342
- {
343
- origin: "en",
344
- en: "what is our desk reject risk and where do we overclaim",
345
- ru: "какой у нас риск desk reject и где мы переобещаем",
346
- },
347
- ],
348
- },
349
297
  {
350
298
  skill: "pc-panel-review",
351
299
  why: "the WHOLE committee + an accept probability, not one reviewer",
@@ -38,6 +38,10 @@ zip below is built from it; the anonymized copy that was uploaded goes in the pa
38
38
  - `README.md` — a **"what reproduces which paper number"** table (paper location → the line that prints
39
39
  it), a scope/method note, and the run command.
40
40
  - `LICENSE` — MIT (or similar); the "Available" badge often requires one. Anonymized author line for review.
41
+ - For every study the paper reports: its `plan.json` (its mode) and its decision file, and
42
+ `repro/README.md` with the index regenerated (`npx paperlint studies index <paper-dir>`) — each
43
+ study's mode, decision commit and first output — with the command that re-checks the order
44
+ (`npx paperlint lint` on a full clone). A zip without them asks a reviewer to take the modes on trust.
41
45
  - No `__pycache__` / `node_modules` / generated `*results*.json` in the shipped zip (`.pyc` can embed
42
46
  your absolute repo path — a de-anon leak). Strip distinctive fingerprints (an exact star count, a
43
47
  total-spend figure).
@@ -49,7 +53,8 @@ zip below is built from it; the anonymized copy that was uploaded goes in the pa
49
53
  - Zip **only** the artifact dir (never sibling internal dirs). A release-gate script that greps for
50
54
  identity + Cyrillic, re-runs the harnesses, and zips only the artifact is the pattern
51
55
  (`<papers-root>/<paper>/check-release.sh` is a working example in the first consumer).
52
- - Host it anonymized for double-blind review — see `submit-paper` §hosting and `osf-artifact-upload`.
56
+ - Host it anonymized for double-blind review — see `submit-paper` §hosting; replacing a file on OSF:
57
+ `docs/osf-artifact.md` in the paperlint package.
53
58
 
54
59
  ## Provenance
55
60
 
@@ -1,8 +1,7 @@
1
1
  # Body, appendix, or artifact — the one rule that decides
2
2
 
3
3
  Shared reference. Read by `draft-paper` (where do I put this as I write?), `tighten-paper` (what
4
- moves out when the body overruns?), `harden-paper` (is the body self-contained, and does it fit?)
5
- and `paper-adversarial-review` (what to cut). Do not copy it into those skills — link it, the way
4
+ moves out when the body overruns?), and `harden-paper` (is every bound in the body, not only in an appendix?). Do not copy it into those skills — link it, the way
6
5
  they link `review-ratchet.md`.
7
6
 
8
7
  ## Why this file exists
@@ -66,8 +65,8 @@ other way round.
66
65
 
67
66
  ## When the body overruns
68
67
 
69
- This list is the one cut order. `tighten-paper`, `harden-paper` and `paper-adversarial-review` point
70
- here and keep no order of their own. Spend in this order until the measured overflow is covered.
68
+ This list is the one cut order. `tighten-paper` points
69
+ here and keeps no order of its own. Spend in this order until the measured overflow is covered.
71
70
 
72
71
  0. **Measure, then strike the steps this venue makes worthless.** Read the overflow (pt or lines)
73
72
  from the build, and what the limit counts from the paper's resolved preset, never from memory.
@@ -80,16 +80,15 @@ the scorecard explains itself where it lives:
80
80
  | `cites` | CONTINUOUS | every `\cite` is real, and the delta over the nearest neighbour is stated | `verify-citations` |
81
81
  | `siblings` | CONTINUOUS | deep read of a competing/concurrent paper | `analyze-sibling-paper` |
82
82
  | `priordelta` | CONTINUOUS | re-sweep restricted to work posted since | `map-prior-work` (delta) |
83
- | `render` | CONTINUOUS | build the PDF; the page count everything else is blocked on | `render-paper` |
83
+ | `render` | CONTINUOUS | build the PDF; the page count everything else is blocked on | `npx paperlint build` |
84
84
  | `numbers` | CONTINUOUS | every printed quantity traces to committed data | the paper's own numbers gate |
85
85
  | `structure` | GATES | the developmental/editorial verdict + cut plan | `tighten-paper` |
86
- | `writing` | GATES | writing craft + the persona stall inventory | `grade-paper-writing` |
87
86
  | `panel` | GATES | the simulated PC decision | `pc-panel-review` |
88
87
  | `artifact` | GATES | defects found by **executing** the artifact | `pc-panel-review` §C |
89
88
  | `claims` | GATES | claim-preservation diff after every rewrite | Fable diff (`writing-craft.md`) |
90
- | `harden` | GATES | the multi-axis pre-submit gate | `harden-paper` |
89
+ | `harden` | GATES | the submit checklist | `harden-paper` |
91
90
  | `submit` | GATES | the upload itself | `submit-paper` |
92
- | `coldread` | GATES | a reader with no context on the changed prose | `cold-read-diff` |
91
+ | `coldread` | GATES | the final review's cold read, two blind readers per chunk | `cold-read-diff` |
93
92
  | `cameraready` | AFTER | de-anonymize, disclose, archive | `camera-ready` |
94
93
  | `extend` | AFTER | the ≥30%-new follow-on at a stronger venue | `extend-paper` |
95
94
 
@@ -105,9 +104,9 @@ existed. Neither is expressible now. Keep new ids lowercase, one word, and say w
105
104
  - **One row per unit of work; update the row in the SAME commit as the work.** Status + ISO date +
106
105
  result + open findings + a link to the durable artifact (`siblings/`, a saved grader report).
107
106
  - **Four sections, because the four kinds fail differently** (see `paper-pipeline` → "There is no
108
- stage 7"). SETUP is done-or-not. LOOP iterates. **CONTINUOUS is never done** — its date is compared
109
- against the paper's own mtime, and a `☑` older than the text is a _stale pass_, which reads as
110
- green and is not. GATES are blocked on named inputs.
107
+ stage 7"). SETUP is done-or-not. LOOP iterates. **CONTINUOUS is never done** — each row fires on its
108
+ own trigger (a `\cite` added or moved, a sibling surfacing), not on any edit of the text. GATES are
109
+ blocked on named inputs.
111
110
  - 🔴 **The `Requires` cells above are not free-form — do not thin them.** The cell was retyped by
112
111
  hand for every paper until 2026-08-08, and `compile-rules-2026` had lost four of them — including
113
112
  `arc`, which argument-arc's SKILL.md says must precede `tighten-paper`. A dropped edge is
@@ -150,6 +149,5 @@ name filled in, and a project that keeps its own richer scorecard puts one at
150
149
  - **After running anything** (here or in a subagent) → update its row before moving on; commit with the
151
150
  work.
152
151
  - **Before submit** → every non-`n/a` row is `☑`, or a consciously-accepted `◐`/`⚠` named in the verdict
153
- line. **An unrun GATE is not a valid "anti-churn" skip if capacity exists: run it.** Anti-churn covers
154
- re-polishing prose that already passed a gate, never skipping a gate that never ran. And a **stale
155
- CONTINUOUS row is worse than an empty one** — it reads as green while being false.
152
+ line. A GATE that never ran is a `☐` row named in that line, not a pass. A gate the closed final
153
+ review already ran is not run again for a later edit (`paper-pipeline`, "The final review").
@@ -1,7 +1,7 @@
1
1
  # The review ratchet — how to fix a caught overclaim, and how to pay for it
2
2
 
3
- Cited by `paper-adversarial-review`, `pc-panel-review` and `harden-paper`. It lived as three
4
- near-identical paragraphs in those three skills until 2026-07-30; three copies of a rule drift, and
3
+ Cited by `pc-panel-review` and `harden-paper`. It lived as three
4
+ near-identical paragraphs in three skills until 2026-07-30; three copies of a rule drift, and
5
5
  the drift is invisible because each copy reads fine on its own.
6
6
 
7
7
  ## The rule
@@ -22,11 +22,8 @@ paper that survived four rounds reads like armor.
22
22
 
23
23
  ## Paying the ratchet back
24
24
 
25
- **After applying a round's consensus fixes, run `tighten-paper`** to strip the mass the round
26
- deposited. Structure-pruning is the counterweight; without it the paper monotonically inflates.
27
-
28
- Observed cost of skipping it: one session, seven overclaim fixes plus one panel round added roughly a
29
- page of pure hedge density.
25
+ The final review's `tighten-paper` step is the counterweight, once (`paper-pipeline`, "The final
26
+ review"); a review round does not schedule another tighten pass.
30
27
 
31
28
  ## What this rule does NOT license
32
29
 
@@ -1,7 +1,6 @@
1
1
  # The venue's bar: one input for every skill that scores soundness or novelty
2
2
 
3
- Used by `pc-panel-review` (every reviewer seat and the chair), `paper-adversarial-review`, and
4
- `harden-paper` (its soundness and novelty axes). The wording lives here and nowhere else.
3
+ Used by `pc-panel-review` (every reviewer seat and the chair). The wording lives here and nowhere else.
5
4
 
6
5
  ## The input
7
6