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
@@ -0,0 +1,132 @@
1
+ # Where each skill came from
2
+
3
+ Each skill's provenance: the papers and incidents it was distilled from. The skills keep only their
4
+ instructions.
5
+
6
+ ## analyze-sibling-paper
7
+
8
+ Built from the **AISec 2026 GateBench** run: `verify-citations` flagged **AgentTrust** (yang2026agenttrust,
9
+ arXiv:2606.08539) as making the same lexical-vs-semantic split the paper's spelling→grammar→effect framing
10
+ builds on — the sharpest "isn't this just X?" in the paper. Citing it from the abstract was not enough to
11
+ know whether the framing was a repackaging; only a deep read of the actual paper, classified by
12
+ contribution type (their trust-_system_ vs our _measurement + benchmark + existence result_) and dated
13
+ against submission, could settle the delta and produce the head-on positioning clause. That is exactly
14
+ the workflow this skill encodes.
15
+
16
+ **Extended 2026-07-29** — _What Breaks When LLMs Code?_ (arXiv:2605.30777) was cited into the
17
+ `the reference paper` introduction **from its abstract**, and a card was written saying so. Two gaps
18
+ surfaced immediately: the full text was never read (so the "no scoop" verdict rested on an abstract),
19
+ and its reference list — assembled by authors who had just screened 68,816 papers across 22 venues —
20
+ was never opened at all. Both are now steps 1–2, and both are machine-checked in the saved card, because
21
+ the previous version of this rule already said "read the paper, not the abstract" in prose and that did
22
+ not stop it happening. Prose isn't policy.
23
+
24
+ ## argument-arc
25
+
26
+ Built 2026-07-30 after a full-day rewrite of `the reference paper` in which the author said the same
27
+ thing five times — _"does not guide the reader sequentially through the ideas, but simply throws a bunch of
28
+ different ideas, references, and benchmarks at them"_ — and got five local edits in reply. The pipeline had a skill
29
+ for length, a skill for sentences and a skill for defects; the question _does this paper carry the
30
+ reader to one conclusion_ belonged to nobody, and that is the one that failed.
31
+
32
+ ## build-benchmark
33
+
34
+ - **AgenticDev 2026 @ ASE — "Measuring the Wrong Number":** a cost-aware, correctness-gated A/B harness
35
+ over 140 runs (7 tasks × 5 trials × 2 arms × 2 tools); Welch t + paired-t CIs + Bonferroni; the finding
36
+ that token-efficiency tools don't cut the dollar bill. Artifact = a stdlib-only `reproduce.py` that
37
+ recomputes every headline number from raw data and exits non-zero on drift.
38
+ - **AISec 2026 @ ACM CCS — "Safety Theater":** a 10-command disaster battery against 46 real
39
+ command-guards, SAFE STATIC evaluation (transcribe each predicate, never execute), median coverage
40
+ 2/10, plus mutation-evasion, held-out generalization, and per-step causal ablation axes. Artifact =
41
+ `evaluate.py`/`mutate.py`/`reproduce.mjs`/`ablation.mjs`, each self-asserting on run. Both artifacts
42
+ are hosted anonymized on OSF.
43
+
44
+ ## camera-ready
45
+
46
+ Both portfolio papers are anonymized-for-review and **defer de-anonymization + the public artifact to
47
+ camera-ready by design**: AgenticDev "Measuring the Wrong Number" (submitted, camera-ready 28 Aug if
48
+ accepted) and AISec "Safety Theater" (ships an anonymized artifact; hook names anonymized; responsible
49
+ disclosure to named maintainers owed before any de-anonymized public release). ORCID is identical
50
+ across both so every indexed version resolves to one researcher.
51
+
52
+ ## cold-read-diff
53
+
54
+ Built 2026-08-05, the day before the `the reference paper` deadline, after the corpus owner read the built PDF and
55
+ found eleven unreadable passages in twenty minutes — none of which any automated check had flagged,
56
+ and several of which had been introduced that same morning by fixes to other automated checks.
57
+
58
+ ## draft-paper
59
+
60
+ - **AgenticDev 2026 @ ASE — "Measuring the Wrong Number."** The thesis IS the construct-validity frame:
61
+ the field optimizes a metric that isn't the thing anyone cares about. The method (how to measure the
62
+ _right_ number) is the contribution; the tool verdict is just the demonstration. Its "what we do NOT
63
+ claim" paragraph and lower-bound-not-point-estimate threats framing are what moved it through review.
64
+ - **AISec 2026 @ ACM CCS — "Safety Theater."** A security-venue measurement paper: a defense that
65
+ _looks_ like safety without measurably being it. Needs the explicit threat model + ethics/disclosure
66
+ sections above, and dunks on the _defense pattern_, never the maintainers who shipped it — the
67
+ credit-the-humans rule is load-bearing at a top-tier security venue where a hostile framing draws a
68
+ hostile review. Both papers win on precise claim-sizing and an honest threats section, not on the
69
+ size of the effect.
70
+
71
+ ## extend-paper
72
+
73
+ The AgenticDev 2026 "Measuring the Wrong Number" workshop paper's **planned** extension to **MSR 2027**
74
+ (deadline ~Oct 23, 2026) or **NeurIPS 2027 Evaluations & Datasets** (~May 2027) — a second, stronger,
75
+ higher-prestige indexed publication. AgenticDev's CFP
76
+ explicitly invites journal extensions; the same ORCID links the workshop paper and its extension.
77
+
78
+ ## find-venue
79
+
80
+ The **AgenticDev 2026 @ ASE** venue decision was made by a **9-agent analysis** that checked every open
81
+ venue against this exact rubric. It **kept AgenticDev** — nothing open beat it on fit × archival ×
82
+ timeline: NeurIPS Eval had already **closed**, and FSE/MSR each needed a **full paper** (wrong type /
83
+ too much scope for the deadline). The prestige upgrade was deliberately deferred to an **extension to
84
+ MSR/NeurIPS 2027**, not a switch — proving the rule: ship the best-fit archival venue open now, extend
85
+ later. **AISec 2026 @ ACM CCS** confirmed the archival-weight logic at a top-tier security bar. Both
86
+ papers are indexed proceedings; neither was down-ranked for the workshop's newness.
87
+
88
+ ## paper-status
89
+
90
+ Built 2026-08-04, the day before the `compile-rules-2026` deadline, after the author asked for paper status
91
+ for the fourth time in one session and pointed out it should be a command: _"I ask this so often... there should be a skill"_. He was right, and the two things the skill measures first are the two
92
+ things chat had most recently gotten wrong.
93
+
94
+ ## pc-panel-review
95
+
96
+ - **AgenticDev 2026** (2026-07-12): 3 lenses (stats / practitioner / artifact-runner) + chair. Caught
97
+ what two prior single-lens rounds missed — a paper↔artifact mismatch ("raw 140-run data" vs shipped
98
+ per-arm aggregates) and a mislabeled "paired" test, both flagged by ≥2 reviewers. Round→confirm:
99
+ ~85%→90%.
100
+ - **AISec 2026 @ CCS** (2026-07-13): same shape at a harder (top-tier security) bar. The artifact-runner
101
+ ran all four harnesses AND stress-tested the release gate (planted a leak, confirmed it caught it);
102
+ the ethics reviewer caught the release-vs-paper anonymization contradiction (the released artifact
103
+ named 46 maintainers) — the single highest reject-vector, invisible to a paper-only read. After the
104
+ fixes + a confirm round, all three moved to Accept (~87–88%, from Weak-Accept/conditional/leak-risk).
105
+ Lesson: the two things that most move a security paper — an ethics/disclosure contradiction and a
106
+ reproduction/anonymization leak — live in the ARTIFACT, so the artifact-runner + an ethics lens are
107
+ non-optional at security venues.
108
+
109
+ ## plan-paper-timeline
110
+
111
+ Two real papers were scheduled with this skill: **AgenticDev 2026 @ ASE** (submission 15 Jul, notify
112
+ 21 Aug, camera-ready 28 Aug, workshop 12 Oct) and **AISec 2026 @ ACM CCS** (submission 24 Jul).
113
+
114
+ ## research-ideate
115
+
116
+ Both real papers passed this filter as **proof-of-method, medium-severity-is-sufficient** ideas in one
117
+ lane:
118
+
119
+ - **AgenticDev 2026 @ ASE — "Measuring the Wrong Number"** (~90%, submitted). The contribution was the
120
+ _measurement method_, not a verdict on one tool; a medium-severity finding was enough because the
121
+ reusable way-to-measure was the point. Stayed in the AI-assisted-SE reliability lane.
122
+ - **AISec 2026 @ ACM CCS — "Safety Theater in Agentic Coding"** (~87–88%). Same shape at a security
123
+ bar: a reusable probe/finding about agentic coding safety, proof-of-method sufficient, squarely in
124
+ the security-of-AI-coding lane. Together the two form a _connected corpus_ — exactly what axis (e)
125
+ rewards — rather than two scattered one-offs.
126
+
127
+ ## submit-paper
128
+
129
+ Written from the AgenticDev 2026 @ ASE submission (2026-07-13): PC-panel-reviewed, self-checking
130
+ artifact hosted on an OSF anonymized view-only link (no supplementary field at the venue), submitted #20
131
+ ready-for-review. The friction points here — no supplementary slot, 4open needing a repo, the abstract
132
+ re-paste, "ready for review" being a separate step, the PDF-only rule — are the ones that cost time.
@@ -123,7 +123,7 @@ A sample row:
123
123
  `harden-paper` and `pc-panel-review` check that every confirmatory claim rests on a
124
124
  `decide_before_run` study whose decision commit precedes its first output, and flag a
125
125
  "pre-registered" or "decided before" claim the table does not support; `tighten-paper` keeps that
126
- sentence; `osf-artifact-upload` and `camera-ready` ship each plan, its decision file and the index,
126
+ sentence; the artifact checklist and `camera-ready` ship each plan, its decision file and the index,
127
127
  with the whole history. Each regenerates the index first, so the commits are this checkout's.
128
128
 
129
129
  ### 5. Reads stay inside the paper
@@ -0,0 +1,135 @@
1
+ # verify-citations: history and measurements
2
+
3
+ The `verify-citations` skill keeps its instructions; this page keeps the incidents and measurements
4
+ behind them. Dates are when each was observed.
5
+
6
+ ## Why it is continuous
7
+
8
+ _This skill used to sit at a number in the middle of a stage list, which made it read like a one-shot
9
+ step you tick off and move past — one of the three concrete errors that numbering produced, and the
10
+ reason the list was replaced on 2026-08-03. The project rule was always that it re-runs every cycle;
11
+ the position contradicted the rule, and the position is what people followed._
12
+
13
+ ## Where the reducer came from
14
+
15
+ Ported fresh (own code) from the OSS mining note
16
+ `papers/research/oss-skill-mining-imbad0202.md` (STEAL #1) + the CVE/PoC-SHA pinning from
17
+ `oss-skill-mining-euzun.md`.
18
+
19
+ ## The author-list gate: the three defects that found it
20
+
21
+ question it structurally cannot ask, and on 2026-08-24 that gap cost three real defects in a bibliography
22
+ this skill had already reported as **"ALL 23 cites verified real"**:
23
+
24
+ > We write `@inproceedings{... NeurIPS 2023}`. Is our author list the **NeurIPS** one — or did we copy the
25
+ > **arXiv preprint's**?
26
+
27
+ The preprint and the published version are frequently **different lists**, and every existence check passes
28
+ either way: the paper is real, the id resolves, the title matches. What was found:
29
+
30
+ | entry | ours | the version we CLAIM to cite |
31
+ | ------------------------ | ------------------------------------- | ------------------------------------------------------------------- |
32
+ | `schick2023toolformer` | 8 authors | NeurIPS 2023 has **9** — **Eric Hambro** was simply absent |
33
+ | `dehghani2022efficiency` | Dehghani, Arnab, Beyer, Vaswani, Tay | ICLR 2022: Dehghani, **Tay**, Arnab, Beyer, Vaswani |
34
+ | `raji2021benchmark` | Raji, Bender, Paullada, Denton, Hanna | NeurIPS D&B 2021: Raji, **Denton**, Bender, **Hanna**, **Paullada** |
35
+
36
+ The first is a **real person dropped from a citation in an archival publication** — by our own scale that is
37
+ heavier than a typo, and it is exactly the class §"any regalia about third parties" already warns about.
38
+
39
+ ## The author-list gate: rebiber, and the two design decisions
40
+
41
+ ⚠️ **Discovery credit, and why it is NOT a dependency.** The class was found by running **rebiber**
42
+ (`yuchenlin/rebiber`), which rewrites bib entries into their DBLP records. Re-measured 2026-09-27 on rebiber
43
+ 1.4.0 (GitHub commit `b917e36`, the pin in `render-paper/checkers-requirements.txt`; the PyPI package is
44
+ a 2021 release upstream disowns):
45
+
46
+ - **Install: no longer broken, but heavy.** It installs in 36 s in a clean venv (bibtexparser 2.0.1 wheel,
47
+ rebiber built from source) — and carries **409 MB** of bundled venue data.
48
+ - **Rewrites: now optional.** `--dry-run --report` previews and leaves the file untouched; `-s True` shortens
49
+ venues (NAACL 2019 becomes `Proc. of NAACL-HLT` instead of a 160-character booktitle).
50
+ - **Bundled data still misses what live DBLP finds.** `raji2021benchmark` stayed an arXiv entry, local
51
+ index and `--live-lookup` alike, as it did in August.
52
+
53
+ So the reason not to depend on it is now scope, not breakage: we need the **comparison** of an author list
54
+ against the published record, not a rewrite of the entry, and that is one DBLP query with zero dependencies.
55
+
56
+ 🔴 **Two design decisions that are load-bearing, both learned by measurement the same day:**
57
+
58
+ 1. **Compare surname SEQUENCES, nothing else.** A first cut reported 13 differences of which **11 were
59
+ "Last, First" vs "First Last"** — pure formatting. A checker that cries 13 when 2 are real is read once
60
+ and then ignored; this repo has already killed a check that way (33 findings, 22 of them live files).
61
+ 2. **A failed lookup is NOT a skip.** The first run printed _"PASS: no author-list disagreement"_ while
62
+ **9 of 27 entries had never been examined** (DBLP answered 429). Failures now retry with backoff and land
63
+ in a separate bucket that downgrades the verdict to **PARTIAL** — never `PASS`.
64
+
65
+ **Tests:** `node scripts/bib-authors.test.mjs` — 11 assertions, offline, with the three real entries above
66
+ pinned as regressions. Mutation-checked: collapsing the name normalisation makes it fail.
67
+
68
+ ## The reducer's tests
69
+
70
+ **Pure/impure split + tests.** The verdict logic (`reduceVerdict` / `classifyResolver` / `checkNvd` /
71
+ `checkCommit` + the string helpers) is a pure function of `(citation, evidence)` — the live HTTP layer only
72
+ shapes raw API responses into that evidence. `scripts/verify-cites.test.mjs` exercises the reducer offline with
73
+ injected fixtures (`node scripts/verify-cites.test.mjs`); no test touches the network.
74
+
75
+ ## The attribution gate: from a script to rules
76
+
77
+ 🔴 **Moved 2026-08-26 out of a script and into rules** (ladder step 3, the `CLAUDE.md` beside the papers).
78
+ It used to be one script, `verify-refs.mjs`; the measurement half stayed a script and the judgement half
79
+ became twelve ESLint rules over the facts it writes.
80
+
81
+ ## The attribution gate: why it exists and what it found
82
+
83
+ **Why it exists, stated plainly: `verify-cites.mjs` never compares an author list.** It parses `author`
84
+ out of a `.bib` into the citation object and then does nothing with it — the string appears twice in 991
85
+ lines, once in a doc comment and once in the extractor. So of the nine broken references this project
86
+ shipped across two nights, the shapes it structurally cannot see are the ones about ATTRIBUTION: seven
87
+ wrong initials on correct surnames, a reversed author order, an invented award. This leg closes that,
88
+ the same one MedSci Skills (arXiv:2606.09500) closes with `verify_refs.py`.
89
+
90
+ | | `verify-cites.mjs` (§5) | the `refs/*` rules (§5b) |
91
+ | ----------------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | question | does the id resolve to _something_ | is _that_ the work the entry describes |
93
+ | registries | Crossref · OpenAlex · Semantic Scholar · arXiv | CrossRef · arXiv (the two that matter for CS) |
94
+ | authors | **never compared** | surname multiset **+ order-sensitive first author** |
95
+ | year | ±1 on a title search | exact, and only against the record that dates the cited version |
96
+ | preprint→published | not asked | arXiv `journal_ref`/`doi` present and no venue named → say so |
97
+ | what it could not check | folded into `unresolvable` | **enumerated, one rule per reason, never counted as verified** |
98
+ | tests | `verify-cites.test.mjs` — not a `*.harness.mjs`, so `npx vigiles test` never runs it | `src/references.test.ts` (the `refs/*` rules in `src/reference-rules.ts`) + `skills/paper-pipeline/scripts/extract-ref-facts.test.mjs` and `.harness.mjs`, under the package's 100% line and branch coverage gate |
99
+
100
+ **The uncovered set is the point.** A reference with no resolvable identifier is a FINDING here
101
+ (`refs/no-identifier`), and every partial comparison is another (`refs/partial-check`, one messageId per
102
+ reason). On this project's submitted bibliography that set is 17 entries of 67 — an npm package, a Supreme
103
+ Court dissent, an FAA circular, Dijkstra. None of them is a defect; all of them are things a model checker
104
+ would have reported as fine. Being able to hand a reviewer the list of what was NOT machine-verified is a
105
+ property no model-driven pass has.
106
+
107
+ 🔴 **`.bib` papers were never checked by the old script — two dead legs, both measured 2026-08-26.**
108
+ `refs.bib` was not in its source list (so `agenticdev-2026` and `aisec-2026` answered "nothing to check"),
109
+ and its `.bib` regex required a closing `}` on its own line, which neither real file has (`parsed 0
110
+ references`). The `.bib` half now goes through `@retorquere/bibtex-parser`. Two of the three papers are
111
+ therefore being checked for the first time.
112
+
113
+ **Every check is exercised.** `src/references.test.ts` drives the `refs/*` rules, and `npm run coverage`
114
+ fails CI if any line or branch of them goes unexercised. Run `npx vitest run src/references.test.ts`
115
+ after any edit to the rules.
116
+
117
+ ## A pointer to a skill that never existed
118
+
119
+ ⚠️ **Was `deep-research` until 2026-08-31 — no such skill has
120
+ ever existed in this base** (0 matches on disk), and the name appeared BOTH here and in this
121
+ skill's own `description`. A pointer to a non-existent skill fails silently: the step is simply
122
+ not performed, and the compose line still reads as if coverage were arranged.
123
+
124
+ ## Provenance
125
+
126
+ Both papers grounded their novelty delta over the nearest prior work explicitly, and that framing is what
127
+ made them land:
128
+
129
+ - **AgenticDev 2026 — "Measuring the Wrong Number":** positioned against Kapoor et al. _"AI Agents That
130
+ Matter"_ and Dehghani et al. _"The Efficiency Misnomer"_ — the delta being a cost-aware,
131
+ correctness-gated _measurement_ where those argued the problem.
132
+ - **AISec 2026 @ CCS — "Safety Theater":** positioned against Ptacek & Newsham (the classic
133
+ evasion-testing framing), **AgentDojo**, and **IsolateGPT** — the delta being a static, mutation-and-
134
+ ablation evaluation of real command-guards rather than a new defense. Each of these was verified real,
135
+ with correct venue/year, before submit.
@@ -0,0 +1,19 @@
1
+ # Writing exemplars
2
+
3
+ Five well-known papers read for writing craft only, each with what to imitate and what not to. The
4
+ numbers are one reader's 1–5 craft judgment, an illustration, not a score any skill gives.
5
+
6
+ - **Attention Is All You Need** — Title 5, Abstract 4, Prose **2**. Imitate: six-word thesis-title, one
7
+ killer figure, one memorable number (28.4 BLEU). **Do NOT imitate** the dense, contribution-less prose —
8
+ it works only because the audience already cared. This IS the "wall of jargon" trap.
9
+ - **Reflections on Trusting Trust** — Prose **5**, the gold model. Plain words, one idea built step by step,
10
+ opens on a question the reader already feels ("to what extent should one trust…"), lands one unforgettable
11
+ moral ("You can't trust code that you did not totally create yourself"). The antidote.
12
+ - **Not What You've Signed Up For** (indirect prompt injection, AISec) — the **security-audience** model.
13
+ Abstract pivots on a rhetorical question — _"But, what if it is not the user prompting?"_ — that makes a
14
+ human sit up harder than any statistic. Surface the assumption everyone holds, then break it.
15
+ - **Extracting Training Data from LLMs** (Carlini) — the **measurement-paper** model. Every abstraction is
16
+ cashed out in a visceral concrete example ("128-bit UUID… appearing in just one document"). The fix for
17
+ "doesn't drive home how crazy it is" is the concrete instance, NOT more numbers.
18
+ - **MapReduce** — "Simplified" in the title = the reader's _benefit_ as the promise; clean topic sentences;
19
+ motivating example before mechanism.
package/docs/install.md CHANGED
@@ -106,17 +106,20 @@ paperlint hooks present, others missing) or any hook wired twice. A hook set wir
106
106
  counts as wired. Not wired at all, a missing external program and an unlinked skill are printed and exit 0,
107
107
  because `--no-hooks` and the skills you do not use are choices.
108
108
 
109
- **After upgrading, the first paper edit tells you which hooks to wire.** `init` wires the hooks once, so a release
110
- that ships one more leaves a project that ran `init` earlier without it. The hooks that are wired run the new
109
+ **After upgrading, the first paper edit tells you which hooks to wire and which skills to link.** `init` wires the hooks once, so a release
110
+ that ships one more leaves a project that ran `init` earlier without it, and a release that ships a skill (16.8.0 added
111
+ `rewrite-unclear`) leaves it unlinked in `.claude/skills/`. The hooks that are wired run the new
111
112
  version's code: the first time one of them acts on a file inside a paper (an Edit or Write there, or a Read for
112
113
  `paper-skills-nudge`), it adds one instruction to the session, "paperlint 16.2.1 expects hooks that this project has not
113
114
  wired: lint-edited. Run `npx paperlint init` now, then `npx paperlint doctor` to confirm", as Claude Code's
114
- `additionalContext`. It is said once per installed version (remembered in
115
+ `additionalContext`; shipped skills that are not linked are named in the same notice ("ships skills that are not
116
+ linked into .claude/skills/: rewrite-unclear"). A skill is named only when it is missing: a name that your own
117
+ directory holds is your choice, and `doctor` reports it. It is said once per installed version (remembered in
115
118
  `node_modules/.cache/paperlint/unwired-hooks.json`), only by the PostToolUse hooks (`lint-edited`,
116
119
  `paper-skills-nudge`, `paper-status-gates`) and never by a PreToolUse hook, so it cannot change an allow or a deny;
117
120
  it never blocks, and an error while checking is one stderr line. `paperlint lint` prints the same finding as one
118
121
  stderr line on every run, without changing its exit code, and the GitHub action fails on it when `check-hooks` is
119
- set ([`ci.md`](ci.md)). Nothing is said when no hook is wired (`--no-hooks`) or the settings file cannot be read.
122
+ set ([`ci.md`](ci.md)). Nothing is said about hooks when none is wired (`--no-hooks`) or the settings file cannot be read, and nothing about skills when all are linked or the package does not resolve from the project.
120
123
 
121
124
  ### How comparable tools install
122
125
 
package/docs/layout.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  A paper moves through eight stages ([the flow](#the-flow)). Each stage writes into one
4
4
  place, and a check guards that place. This page is the map: the places, who writes each one, and the
5
- moment each check runs. The skills, stage by stage: [`skills.md`](skills.md).
5
+ moment each check runs. The skills, stage by stage: [`skills.md`](skills.md); which skill hands
6
+ work to which, generated from the skills themselves: [`pipeline.md`](pipeline.md).
6
7
 
7
8
  ## The flow
8
9
 
@@ -26,7 +27,7 @@ flowchart TB
26
27
  D --> P --> A --> R --> L --> Y
27
28
  end
28
29
  S4["<b>4 · draft</b><br/>draft-paper · argument-arc · tighten-paper<br/>writes: paper.tex, sections/, figures/<br/>checked by: the tex/* rules<br/>hook paper-edit-guard: no shell writes"]
29
- S5["<b>5 · review</b><br/>grade-paper-writing · verify-citations<br/>pc-panel-review · harden-paper<br/>study-accepted-papers, mode C or D<br/>writes: reviews/, the scorecard<br/>in PIPELINE-STATUS.md<br/>checked by: review/frontmatter"]
30
+ S5["<b>5 · review</b><br/>cold-read-diff · verify-citations<br/>pc-panel-review · harden-paper<br/>study-accepted-papers, mode C or D<br/>writes: reviews/, the scorecard<br/>in PIPELINE-STATUS.md<br/>checked by: review/frontmatter"]
30
31
  S6["<b>6 · submit</b><br/>paperlint build · submit-paper<br/>writes: paper.pdf, _build/,<br/>versions/, submission/<br/>checked by: format/page-limit, pdf/*,<br/>anonymity/identity, versions/layout"]
31
32
  S7["<b>7 · camera-ready</b><br/>camera-ready<br/>writes: versions/, talk/<br/>checked by: versions/layout, talk/*"]
32
33
  S8["<b>8 · extend</b><br/>extend-paper<br/>writes: a new paper folder"]
@@ -107,7 +108,7 @@ Both are explained in [`venues.md`](venues.md).
107
108
  | `PIPELINE-STATUS.md` | every stage | `paperlint new`, then `paper-pipeline`, `paper-status`; `study-accepted-papers` (the scorecard) | `paper/stages`, `paper/source`, [`cycle/submitted-frozen`](rules/cycle/submitted-frozen.md) ([rules](rules.md)) |
108
109
  | `paperlint.json` | before 1, then 2 | `paperlint new`; `find-venue` names the venue | `paperlint lint` refuses an unknown key; [`cycle/record`](rules/cycle/record.md) |
109
110
  | `siblings/` | 1 idea | `map-prior-work`, `analyze-sibling-paper` | `sibling/frontmatter` ([records](configuration.md#records-in-frontmatter-checked-by-shipped-json-schemas)) |
110
- | `reviews/` | 2, then 4–5 | `study-accepted-papers` (its report), `grade-paper-writing`, `cold-read-diff`, the review skills | `review/frontmatter` ([records](configuration.md#records-in-frontmatter-checked-by-shipped-json-schemas)) |
111
+ | `reviews/` | 2, then 4–5 | `study-accepted-papers` (its report), `cold-read-diff`, the review skills | `review/frontmatter` ([records](configuration.md#records-in-frontmatter-checked-by-shipped-json-schemas)) |
111
112
  | `research/` | any | you and the skills: dated research and decision records | nothing |
112
113
  | `repro/`, its top | 3 study | `build-benchmark`, your scripts | [`repro/allowed-files-only`](rules/repro/allowed-files-only.md); the hook `paper-folder-layout` refuses a new loose entry |
113
114
  | `repro/studies.json` | 3 study | `paperlint studies new` appends a row; you edit a row when its study ends; `paperlint studies index` regenerates the index in `repro/README.md` | [`repro/study-registered`](rules/repro/study-registered.md): a row per study folder, its fields, the index in sync |
@@ -122,7 +123,7 @@ Both are explained in [`venues.md`](venues.md).
122
123
  | `CLAIMS.md`, `figures/` | 4 draft | you | nothing |
123
124
  | `paper.pdf`, `_build/` | 6 submit | `paperlint build` | `pdf/*`, [`format/page-limit`](rules/format/page-limit.md), [`anonymity/identity`](rules/anonymity/identity.md), the reference rules |
124
125
  | `versions/` | 6, then 7 | you, at submission and at camera-ready (`submit-paper` says how): the frozen PDF and source of each stage | [`versions/layout`](rules/versions/layout.md) with `cycles`; `paper/stages`, `paper/source` without |
125
- | `submission/`, `SUBMIT-CHECKLIST.md` | 6 submit | you, while `submit-paper` and `submission-portal` do the submitting: forms, portal records, mail with the venue | [`cycle/evidence`](rules/cycle/evidence.md), for the files a closed cycle names |
126
+ | `submission/`, `SUBMIT-CHECKLIST.md` | 6 submit | you, while `submit-paper` and `paperlint submission` do the submitting: forms, portal records, mail with the venue | [`cycle/evidence`](rules/cycle/evidence.md), for the files a closed cycle names |
126
127
  | `talk/` | 7 camera-ready | you | the `talk/*` rules ([talk](talk.md)) |
127
128
  | `extra/` | any | you | nothing, ever |
128
129
 
@@ -15,6 +15,10 @@ paper's own file still has the last word for that paper.
15
15
  | [`tex/max-paragraph-words`](rules/tex/max-paragraph-words.md) | a paragraph of the body stays at or under `max` words (150) | any project that wants a ceiling on paragraph length; no venue states one, no preset turns it on — [page](rules/tex/max-paragraph-words.md) |
16
16
  | [`tex/max-paragraph-numbers`](rules/tex/max-paragraph-numbers.md) | a paragraph of the body stays at or under `max` numbers (8) | any project that wants a ceiling; no venue states one, no preset turns it on — [page](rules/tex/max-paragraph-numbers.md) |
17
17
  | [`tex/max-sentence-words`](rules/tex/max-sentence-words.md) | a sentence of the body stays at or under `max` words (55) | any project that wants a ceiling; no venue states one, no preset turns it on — [page](rules/tex/max-sentence-words.md) |
18
+ | [`tex/negated-sentences`](rules/tex/negated-sentences.md) | the share of body sentences holding a negator stays within the band of the venue preset's anchors | papers on a preset with anchors that record it (AIDC); a writing measure, so off — [page](rules/tex/negated-sentences.md) |
19
+ | [`tex/max-caption-words`](rules/tex/max-caption-words.md) | a caption stays at or under `max` words (100), each of its sentences at or under `maxSentence` (40) | any project that wants a ceiling on captions; no venue states one — [page](rules/tex/max-caption-words.md) |
20
+ | [`tex/term-before-definition`](rules/tex/term-before-definition.md) | a term the body defines with `\emph` is not used before that definition | papers that mark each definition in italics; others mostly use italics for stress — [page](rules/tex/term-before-definition.md) |
21
+ | [`tex/term-defined-twice`](rules/tex/term-defined-twice.md) | a term the body defines is set as a definition once | the same papers — [page](rules/tex/term-defined-twice.md) |
18
22
  | [`study/declare-sample`](rules/study/declare-sample.md) | experimental: a study's `prereg.json` declares its population, screens, coverage and the author's check of the drawn units | papers with a sampled study; no preset turns it on — [page](rules/study/declare-sample.md) |
19
23
  | [`cycle/changes-since-approved`](rules/cycle/changes-since-approved.md) | experimental: what the approved text had (numbers, cite keys) and the draft lacks is declared in `changes.yaml` | papers that keep an approved version; no preset turns it on — [page](rules/cycle/changes-since-approved.md) |
20
24
  | [`cycle/changes-since-approved-coverage`](rules/cycle/changes-since-approved-coverage.md) | experimental: each paragraph of the approved text that is gone is covered by a `changes.yaml` entry | the same; a warning — [page](rules/cycle/changes-since-approved-coverage.md) |
@@ -0,0 +1,54 @@
1
+ # Replacing the artifact on OSF
2
+
3
+ For a double-blind venue without a supplementary upload, the reproduction artifact is often hosted
4
+ on an [OSF](https://osf.io) project behind an anonymized view-only link (creating the project and
5
+ the link: `submit-paper`, step 2). This page replaces or adds a file on that project through the
6
+ [OSF API](https://developer.osf.io/), when the web interface is inconvenient.
7
+
8
+ ## The token
9
+
10
+ Make a personal access token at `osf.io/settings/tokens` with the scope `osf.full_write` (a
11
+ read-only token cannot write); it is shown once. Set it in your environment as `OSF_TOKEN`. Never
12
+ commit it, print it or write it into a file, and delete it on the same page after the upload.
13
+
14
+ ## Replace a file
15
+
16
+ `$NODE` is the project's guid: the five characters after `osf.io/` in the paper's Availability line.
17
+ The `?view_only=…` part is a separate anonymized link; with the owner's token you address the
18
+ project by its guid.
19
+
20
+ ```bash
21
+ set +x; AUTH="Authorization: Bearer $OSF_TOKEN"; NODE=<guid>; ZIP=artifact.zip
22
+ # 1. the token works: prints your name
23
+ curl -g -s --retry 3 -H "$AUTH" https://api.osf.io/v2/users/me/ \
24
+ | python3 -c "import sys,json;print(json.load(sys.stdin)['data']['attributes']['full_name'])"
25
+ # 2. the files: each one's links.upload is where a new version goes
26
+ curl -g -s --retry 3 -H "$AUTH" "https://api.osf.io/v2/nodes/$NODE/files/osfstorage/" > files.json
27
+ # UP = links.upload of the entry whose attributes.name is the file to replace;
28
+ # to add a new file, use the folder's upload link instead
29
+ # 3. a new version: PUT the bytes
30
+ curl -g -s --retry 3 -H "$AUTH" -X PUT --data-binary @"$ZIP" "${UP}?kind=file" -o up.json
31
+ # success: HTTP 200, data.attributes.extra.version went up, the size matches
32
+ # 4. verify: list the files again; extra.hashes.md5 must equal `md5sum "$ZIP"`
33
+ ```
34
+
35
+ The md5 OSF stores is the proof: when it equals the local file's, the upload landed, even when a
36
+ download back fails. An artifact kept unpacked (`README.md`, `reproduce.py`, `data/…`) is replaced
37
+ file by file, each through its own `links.upload`.
38
+
39
+ ## Known failures
40
+
41
+ - **Square brackets in a URL** (`?page[size]=50`) make curl glob and fail with an empty body and no
42
+ status. Pass `-g`, or drop the parameter.
43
+ - **An empty answer.** Behind some proxies a call returns 0 bytes now and then: retry
44
+ (`--retry 3`, or loop until the body is JSON), and verify by the API's metadata rather than by
45
+ downloading the file back.
46
+ - **A token in a shell trace.** Keep `set +x` and hold the token only in a variable.
47
+
48
+ ## After
49
+
50
+ - The paper's Availability `\url{}` still points at the same project: the guid does not change.
51
+ - Delete the token at `osf.io/settings/tokens`.
52
+
53
+ What the artifact must carry before it is zipped (each study's plan, its decision file, the
54
+ regenerated index): [the artifact checklist](../skills/paper-pipeline/references/artifact-checklist.md).
@@ -0,0 +1,171 @@
1
+ # The skill pipeline
2
+
3
+ <!-- Generated by `npm run pipeline` from each skill's `flow` export and `skills/jobs.ts`. Do not edit by hand. -->
4
+
5
+ Who hands work to whom, read from the skills themselves: each `skills/<name>/SKILL.md.spec.ts`
6
+ exports `flow`, and `skills/jobs.ts` names the one owner of each job on a paper's text. A flow
7
+ has three kinds of edge: **hands to** (27), the next step on the main path, drawn
8
+ solid; **loops back to** (6), work sent back to an earlier skill, drawn dashed;
9
+ **runs** (49), a skill this one runs as one of its own steps or whose output it needs,
10
+ written inside the box, never drawn. `test/pipeline.test.ts` fails on a cycle of hand-offs, a
11
+ hand-off to an earlier stage, an edge the skill's own text never names, a job without an owner,
12
+ and this file when it is stale. The stages are those of [`skills.md`](skills.md).
13
+
14
+ ## The stages
15
+
16
+ Each arrow stands for one or more edges between skills of the two stages.
17
+
18
+ ```mermaid
19
+ flowchart LR
20
+ stage_idea["<b>1 · Idea</b><br/>analyze-sibling-paper<br/>map-prior-work<br/>research-ideate"]
21
+ stage_venue["<b>2 · Venue</b><br/>find-venue<br/>plan-paper-timeline<br/>study-accepted-papers"]
22
+ stage_study["<b>3 · Study</b><br/>build-benchmark<br/>build-label-page<br/>label-agent-runs<br/>run-agent-grid"]
23
+ stage_draft["<b>4 · Draft</b><br/>argument-arc<br/>cold-read-diff<br/>draft-paper<br/>rewrite-unclear<br/>tighten-paper"]
24
+ stage_review["<b>5 · Review</b><br/>harden-paper<br/>pc-panel-review<br/>verify-citations"]
25
+ stage_submit["<b>6 · Submit</b><br/>submit-paper"]
26
+ stage_camera_ready["<b>7 · Camera-ready</b><br/>camera-ready"]
27
+ stage_extend["<b>8 · Extend</b><br/>extend-paper"]
28
+ stage_idea --> stage_venue
29
+ stage_idea --> stage_study
30
+ stage_idea --> stage_draft
31
+ stage_idea --> stage_extend
32
+ stage_venue --> stage_study
33
+ stage_venue --> stage_draft
34
+ stage_venue --> stage_review
35
+ stage_venue --> stage_submit
36
+ stage_venue --> stage_extend
37
+ stage_study --> stage_draft
38
+ stage_study --> stage_review
39
+ stage_study --> stage_submit
40
+ stage_draft --> stage_review
41
+ stage_review --> stage_submit
42
+ stage_submit --> stage_camera_ready
43
+ stage_camera_ready --> stage_extend
44
+ stage_draft -.-> stage_idea
45
+ stage_draft -.-> stage_study
46
+ stage_extend -.-> stage_idea
47
+ ```
48
+
49
+ ## Across every stage
50
+
51
+ - `paper-pipeline` (owns: which stage runs next; the final review) runs 21 skills: `research-ideate`, `map-prior-work`, `find-venue`, `study-accepted-papers`, `plan-paper-timeline`, `argument-arc`, `build-benchmark`, `run-agent-grid`, `label-agent-runs`, `build-label-page`, `draft-paper`, `verify-citations`, `analyze-sibling-paper`, `tighten-paper`, `cold-read-diff`, `rewrite-unclear`, `pc-panel-review`, `harden-paper`, `submit-paper`, `camera-ready`, `extend-paper`.
52
+ - `paper-status`.
53
+
54
+ ## 1 · Idea
55
+
56
+ ```mermaid
57
+ flowchart TB
58
+ analyze_sibling_paper["<b>analyze-sibling-paper</b>"]
59
+ map_prior_work["<b>map-prior-work</b><br/>runs: analyze-sibling-paper"]
60
+ research_ideate["<b>research-ideate</b>"]
61
+ to_stage_extend(["→ 8 · Extend"])
62
+ to_stage_draft(["→ 4 · Draft"])
63
+ to_stage_venue(["→ 2 · Venue"])
64
+ to_stage_study(["→ 3 · Study"])
65
+ analyze_sibling_paper -- "extend-paper" --> to_stage_extend
66
+ map_prior_work -- "draft-paper" --> to_stage_draft
67
+ research_ideate -- "find-venue, plan-paper-timeline" --> to_stage_venue
68
+ research_ideate -- "build-benchmark" --> to_stage_study
69
+ research_ideate -- "draft-paper" --> to_stage_draft
70
+ ```
71
+
72
+ ## 2 · Venue
73
+
74
+ ```mermaid
75
+ flowchart TB
76
+ find_venue["<b>find-venue</b>"]
77
+ plan_paper_timeline["<b>plan-paper-timeline</b><br/>runs: find-venue"]
78
+ study_accepted_papers["<b>study-accepted-papers</b><br/>runs: verify-citations, analyze-sibling-paper, rewrite-unclear"]
79
+ find_venue --> plan_paper_timeline
80
+ study_accepted_papers --> plan_paper_timeline
81
+ to_stage_extend(["→ 8 · Extend"])
82
+ to_stage_submit(["→ 6 · Submit"])
83
+ to_stage_draft(["→ 4 · Draft"])
84
+ to_stage_study(["→ 3 · Study"])
85
+ to_stage_review(["→ 5 · Review"])
86
+ find_venue -- "extend-paper" --> to_stage_extend
87
+ plan_paper_timeline -- "submit-paper" --> to_stage_submit
88
+ study_accepted_papers -- "argument-arc" --> to_stage_draft
89
+ study_accepted_papers -- "build-benchmark" --> to_stage_study
90
+ study_accepted_papers -- "pc-panel-review, harden-paper" --> to_stage_review
91
+ study_accepted_papers -- "extend-paper" --> to_stage_extend
92
+ ```
93
+
94
+ ## 3 · Study
95
+
96
+ ```mermaid
97
+ flowchart TB
98
+ build_benchmark["<b>build-benchmark</b><br/>runs: argument-arc, label-agent-runs, build-label-page"]
99
+ build_label_page["<b>build-label-page</b><br/>runs: build-benchmark"]
100
+ label_agent_runs["<b>label-agent-runs</b><br/>runs: build-label-page"]
101
+ run_agent_grid["<b>run-agent-grid</b>"]
102
+ build_benchmark --> run_agent_grid
103
+ build_label_page -.-> label_agent_runs
104
+ label_agent_runs -.-> build_benchmark
105
+ run_agent_grid --> label_agent_runs
106
+ run_agent_grid --> build_label_page
107
+ to_stage_draft(["→ 4 · Draft"])
108
+ to_stage_review(["→ 5 · Review"])
109
+ to_stage_submit(["→ 6 · Submit"])
110
+ build_benchmark -- "draft-paper" --> to_stage_draft
111
+ build_benchmark -- "pc-panel-review" --> to_stage_review
112
+ build_benchmark -- "submit-paper" --> to_stage_submit
113
+ build_label_page -- "draft-paper" --> to_stage_draft
114
+ ```
115
+
116
+ ## 4 · Draft
117
+
118
+ ```mermaid
119
+ flowchart TB
120
+ argument_arc["<b>argument-arc</b><br/>the order of the argument<br/>judge headings (the headings as a set)<br/>one name for one thing across the paper (the name budget)<br/>runs: rewrite-unclear"]
121
+ cold_read_diff["<b>cold-read-diff</b><br/>find unclear sentences<br/>judge headings (a heading in the last edit)<br/>runs: rewrite-unclear"]
122
+ draft_paper["<b>draft-paper</b><br/>runs: cold-read-diff, rewrite-unclear, verify-citations"]
123
+ rewrite_unclear["<b>rewrite-unclear</b><br/>rewrite for clarity<br/>fix a heading or a name"]
124
+ tighten_paper["<b>tighten-paper</b><br/>cut for length<br/>runs: rewrite-unclear"]
125
+ rewrite_unclear -.-> argument_arc
126
+ tighten_paper --> cold_read_diff
127
+ to_stage_study(["→ 3 · Study"])
128
+ to_stage_idea(["→ 1 · Idea"])
129
+ to_stage_review(["→ 5 · Review"])
130
+ argument_arc -. "build-benchmark" .-> to_stage_study
131
+ argument_arc -. "research-ideate" .-> to_stage_idea
132
+ draft_paper -- "pc-panel-review" --> to_stage_review
133
+ ```
134
+
135
+ ## 5 · Review
136
+
137
+ ```mermaid
138
+ flowchart TB
139
+ harden_paper["<b>harden-paper</b><br/>is it ready to submit<br/>runs: tighten-paper, cold-read-diff, pc-panel-review,<br/>verify-citations, analyze-sibling-paper"]
140
+ pc_panel_review["<b>pc-panel-review</b><br/>runs: tighten-paper, cold-read-diff"]
141
+ verify_citations["<b>verify-citations</b><br/>runs: analyze-sibling-paper, map-prior-work"]
142
+ to_stage_submit(["→ 6 · Submit"])
143
+ harden_paper -- "submit-paper" --> to_stage_submit
144
+ ```
145
+
146
+ ## 6 · Submit
147
+
148
+ ```mermaid
149
+ flowchart TB
150
+ submit_paper["<b>submit-paper</b><br/>runs: pc-panel-review"]
151
+ to_stage_camera_ready(["→ 7 · Camera-ready"])
152
+ submit_paper -- "camera-ready" --> to_stage_camera_ready
153
+ ```
154
+
155
+ ## 7 · Camera-ready
156
+
157
+ ```mermaid
158
+ flowchart TB
159
+ camera_ready["<b>camera-ready</b>"]
160
+ to_stage_extend(["→ 8 · Extend"])
161
+ camera_ready -- "extend-paper" --> to_stage_extend
162
+ ```
163
+
164
+ ## 8 · Extend
165
+
166
+ ```mermaid
167
+ flowchart TB
168
+ extend_paper["<b>extend-paper</b><br/>runs: find-venue, plan-paper-timeline"]
169
+ to_stage_idea(["→ 1 · Idea"])
170
+ extend_paper -. "research-ideate" .-> to_stage_idea
171
+ ```