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
@@ -5,11 +5,14 @@
5
5
  // `SkillSpec` in vigiles branch `claude/skill-disallowed-tools` and is not in a release
6
6
  // this repo installs, so writing one here would not compile.
7
7
  import { experimental_skill } from "vigiles/spec";
8
+ import type { Flow } from "../../scripts/pipeline.ts";
9
+ import findVenue from "../find-venue/SKILL.md.spec.ts";
10
+ import submitPaper from "../submit-paper/SKILL.md.spec.ts";
8
11
 
9
12
  export default experimental_skill({
10
13
  name: "plan-paper-timeline",
11
14
  description:
12
- "Turn a venue's CFP dates into a scheduled, buffered plan on the Google Calendar — build the timeline backwards from the AoE submission deadline (harden + panel-review + artifact + anonymized host all land BEFORE it), create calendar events in the author's own time zone for submit-day / deadline / camera-ready, and apply the FILING-SPACING rule so multiple papers don't cluster in the month before a planned external filing. Use right after find-venue hands you real deadlines and before you start drafting. Compose with find-venue (deadline source) and submit-paper.",
15
+ "Turn a venue's CFP dates into a scheduled, buffered plan on the Google Calendar — build the timeline backwards from the AoE submission deadline (harden + panel-review + artifact + anonymized host all land BEFORE it), create calendar events in the author's own time zone for submit-day / deadline / camera-ready. Use right after find-venue hands you real deadlines and before you start drafting. Compose with find-venue (deadline source) and submit-paper.",
13
16
  tools: [
14
17
  "Read",
15
18
  "Write",
@@ -21,12 +24,11 @@ export default experimental_skill({
21
24
  "mcp__Google_Calendar__update_event",
22
25
  ],
23
26
  body: `
24
- # plan-paper-timeline — CFP dates → a buffered, filing-aware schedule
27
+ # plan-paper-timeline — CFP dates → a buffered schedule
25
28
 
26
29
  A deadline is not a plan. This skill converts the four dates every CFP gives you — **submission (AoE),
27
30
  notification, camera-ready, event** — into calendar events with the buffers that actually keep a
28
- submission from slipping, and sequences *multiple* papers so the cadence reads as sustained acclaim,
29
- not a pre-filing burst.
31
+ submission from slipping.
30
32
 
31
33
  ## 0. 🔴 CAN YOU PHYSICALLY SUBMIT? — do this in the FIRST week (scorecard row \`access\`)
32
34
 
@@ -69,9 +71,8 @@ Everything that must be done *before* you can submit gets its own slot ending be
69
71
  never "the day of." Working back from the submission AoE date, reserve, in this order:
70
72
 
71
73
  - **Draft frozen** — prose done, \`verify-citations\` clean. Earliest.
72
- - **Harden** — \`paper-adversarial-review\` → \`pc-panel-review\` venue-fit mode, fix blockers, re-render.
73
- Loops; give it room.
74
- - **Panel review** — \`pc-panel-review\` (multi-reviewer + artifact-runner) as the final gate. 1–2 days.
74
+ - **Final review** — \`paper-pipeline\`'s final review, once: \`tighten-paper\` → \`cold-read-diff\`
75
+ over the whole paper → \`pc-panel-review\` (multi-reviewer + artifact-runner). 1–2 days.
75
76
  - **Artifact built + hosted anonymously** — build the self-checking artifact and mint the OSF/4open
76
77
  anonymized link (see \`submit-paper\` + \`paper-pipeline/references/artifact-checklist.md\`). This step
77
78
  reliably eats more time than expected; put it before, not on, submit-day.
@@ -131,34 +132,21 @@ the two review/host milestones (§1) as your own working reminders; the three ab
131
132
  > file and replays it against a stand-in server carrying the REAL API's schema, so a prescription this
132
133
  > section gets wrong fails in the harness rather than on a live run. Edit it like code.
133
134
 
134
- ## 4. FILING-SPACING rule (the reason this skill exists)
135
- Where the papers are the authorship pillar of some external filing — a grant, a tenure packet, an
136
- immigration petition — **do not let multiple submissions or acceptances cluster in the month before
137
- that filing.** A burst of activity right before a deadline reads as *manufactured* rather than
138
- *sustained*, and that is a documented reason for refusal, not a stylistic worry. A steady cadence with
139
- recent-but-not-crammed activity reads far better.
140
-
141
- When scheduling paper N against papers already on the calendar and a known/likely filing date:
142
- - Spread submission and (projected) notification dates across months; avoid two acceptances landing in
143
- the same pre-filing window.
144
- - If two CFPs force a cluster, stagger which one you *extend* later (workshop → conference) so the
145
- second, stronger publication lands in a later month on purpose.
146
- - Prefer a paper with an earlier, safely-past deadline over one that would pile onto the filing month.
147
-
148
135
  ## Scorecard rows this skill owns
149
136
  Two, and they fail differently — see \`paper-pipeline/references/pipeline-status-template.md\`:
150
137
  - **\`access\`** — *can you physically submit?* (§0). Account · profile ACTIVE since \`<ISO>\` · portal
151
138
  reachable · form fields known · artifact-host requirement known. \`submit-paper\` is blocked on it.
152
- - **\`schedule\`** — the schedule itself (§1–§4): the buffered backwards plan and its calendar events.
139
+ - **\`schedule\`** — the schedule itself (§1–§3): the buffered backwards plan and its calendar events.
153
140
 
154
141
  ## Compose with
155
142
  - **\`find-venue\`** — the source of the four CFP dates this skill consumes; run it first.
156
143
  - **\`submit-paper\`** (+ the venue subskill) — what submit-day actually executes; this skill just makes
157
144
  sure the runway before it exists, **and that the account it executes through is already ACTIVE**.
158
-
159
- ## Provenance
160
- This session scheduled two real papers with spacing rather than back-to-back: **AgenticDev 2026 @ ASE**
161
- (submission 15 Jul, notify 21 Aug, camera-ready 28 Aug, workshop 12 Oct) and **AISec 2026 @ ACM CCS**
162
- (submission 24 Jul). Nine days apart, deliberately staggered so notifications and any camera-ready work
163
- don't collapse into one pre-filing month — the FILING-SPACING rule applied in practice, not in theory.`,
145
+ `,
164
146
  });
147
+
148
+ export const flow = {
149
+ stage: "venue",
150
+ handsTo: () => [submitPaper],
151
+ calls: () => [findVenue],
152
+ } satisfies Flow;
@@ -114,10 +114,10 @@ try {
114
114
  const reachedModel = r.modelRequests
115
115
  .map((q) => [q.system, ...q.messages.map((m) => m.text)].join("\n"))
116
116
  .join("\n");
117
- if (!reachedModel.includes("FILING-SPACING"))
117
+ if (!reachedModel.includes("CAN YOU PHYSICALLY SUBMIT?"))
118
118
  throw new Error(
119
119
  `the Skill call resolved but the skill BODY never reached the model ` +
120
- `("FILING-SPACING", a §4 heading, is absent from all ${String(r.modelRequests.length)} requests). ` +
120
+ `("CAN YOU PHYSICALLY SUBMIT?", the §0 heading, is absent from all ${String(r.modelRequests.length)} requests). ` +
121
121
  `Activation without a body is a loaded skill that guides nothing.`,
122
122
  );
123
123
 
@@ -42,8 +42,8 @@ resolve_venues() {
42
42
  fi
43
43
 
44
44
  # 2) the package this script is part of: `skills/render-paper/` → `presets/tex/`. `cd -P` follows
45
- # the symlinks a consumer's `.claude/skills/render-paper` is made of, so `../..` is the PACKAGE's
46
- # root, not the consumer's `.claude/`. Depends neither on the cwd nor on a git tree.
45
+ # any symlink on the way, so `../..` is the PACKAGE's root. Depends neither on the cwd nor on a
46
+ # git tree.
47
47
  own="$(cd -P "$SELF_DIR" && pwd)/../../presets/tex"
48
48
  if [ -f "$own/paper-guards.tex" ]; then
49
49
  (cd "$own" && pwd)
@@ -1,22 +1,9 @@
1
1
  /**
2
- * render-paper — the free, deterministic tier. No model, no network.
2
+ * The render gate (`check-render.sh`) — the free, deterministic tier. No model, no network.
3
3
  *
4
- * COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
5
- * a test that merely names a surface no longer counts, because that tier was
6
- * crediting surfaces nothing touched. So each skill needs a file inside its own
7
- * directory — this one.
8
- *
9
- * The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
10
- * this skill's name. They are not copied: 22 copies of the same checks is the drift that
11
- * module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
12
- * 614-line file named after no surface; it is a function call now.)
13
- *
14
- * What this proves: this skill's frontmatter parses as strict YAML, its declared
15
- * tool contract is sane, its pipeline wiring points at scripts that exist, and it
16
- * announces/records under ITS OWN identity rather than a sibling's.
17
- *
18
- * What it does NOT prove: that the skill fires, or that its guidance produces a
19
- * good result. Those need a real model — see `render-paper.eval.mjs`.
4
+ * What this proves: the script finds `paper-guards.tex` through the right directories, in the
5
+ * right order, whatever directory it is started from. What it does NOT prove: that a real build
6
+ * passes; the TeX e2e suite does that. The commands are documented in `docs/render.md`.
20
7
  */
21
8
  import assert from "node:assert/strict";
22
9
  import {
@@ -33,15 +20,12 @@ import { tmpdir } from "node:os";
33
20
  import { spawnSync } from "node:child_process";
34
21
  import { fileURLToPath } from "node:url";
35
22
  import { dirname, join } from "node:path";
36
- import { checkSkill } from "../../lib/skill-checks.mjs";
37
23
  import { papersRoot } from "#eslint-rules/papers";
38
24
  import {
39
25
  consumerRoot,
40
26
  settingsOf,
41
27
  } from "../paper-pipeline/scripts/consumer.mjs";
42
28
 
43
- await checkSkill("render-paper");
44
-
45
29
  // The TeX package pins that stood here (texlive-fonts-extra, texlive-plain-generic in
46
30
  // ensure-toolchain.sh) moved with the list itself: the venue profiles declare the packages, and
47
31
  // src/tex-requirements.harness.ts asserts that every acmart venue declares libertine, inconsolata,
@@ -1,34 +1,29 @@
1
1
  ---
2
2
  name: research-ideate
3
- description: "Decide whether a research idea is worth doing at all — before any work goes into it. Use when someone has an idea and asks: is this worth pursuing, should we take it on, is it a paper or just a blog post, is there a quick minimal result that doesn't need a dramatic finding, will it pull us away from our main line of work. Returns a go / no-go verdict with the sharpest framing, the minimal finding and the kinds of venue that would take it. Judges the idea by what counts in a body of work: a peer-reviewed indexed publication, a reusable method or benchmark rather than a one-off \"tool X is bad\", onward citations rather than GitHub stars, and one connected line rather than scattered topics. Stage: conception, before find-venue and before any draft; hands off to find-venue, build-benchmark, draft-paper."
3
+ description: "Decide whether a research idea is worth doing at all — before any work goes into it. Use when someone has an idea and asks: is this worth pursuing, should we take it on, is it a paper or just a blog post, is there a quick minimal result that doesn't need a dramatic finding, will it pull us away from our main line of work. Returns a go / no-go verdict with the sharpest framing, the minimal finding and the kinds of venue that would take it. Judges the idea by what makes a publishable, citable paper: a peer-reviewed indexed publication, a reusable method or benchmark rather than a one-off \"tool X is bad\", onward citations rather than GitHub stars, and one connected line rather than scattered topics. Stage: conception, before find-venue and before any draft; hands off to find-venue, build-benchmark, draft-paper."
4
4
  allowed-tools: [Read, Write, Grep, Glob, Agent, Skill]
5
5
  ---
6
6
 
7
- <!-- vigiles:sha256:03a0131d306d7ab0 compiled from skills/research-ideate/SKILL.md.spec.ts -->
7
+ <!-- vigiles:sha256:6cc26fb1806ad807 compiled from skills/research-ideate/SKILL.md.spec.ts -->
8
8
 
9
- # research-ideate — is this idea worth a paper, and does the paper earn authorship credit?
9
+ # research-ideate — is this idea worth a paper?
10
10
 
11
11
  Runs BEFORE any effort is spent. An idea can be interesting and still be a bad *publication*
12
- investment — the wrong framing produces something un-publishable or un-citable, which counts for
13
- nothing toward a body of work. This skill kills those ideas early and reshapes the survivors into the framing
12
+ investment — the wrong framing produces something un-publishable or un-citable, effort spent for
13
+ nothing. This skill kills those ideas early and reshapes the survivors into the framing
14
14
  that publishes. It does NOT do the venue search (that's `find-venue`) — it decides whether there's a
15
15
  paper worth taking to `find-venue` at all.
16
16
 
17
- Grounding for every judgment below: the authorship, judging and original-contribution criteria —
18
- what a reviewer of a body of work actually counts.
19
-
20
17
  ## Score the idea on five axes
21
18
 
22
19
  Answer each explicitly. A "no" on (a) is a hard stop; a "no" on the rest is a reshape signal.
23
20
 
24
21
  **(a) Does it yield a PEER-REVIEWED, INDEXED publication?**
25
- This is the authorship criterion, full stop. The paper must land in indexed proceedings (ACM DL /
26
- IEEE Xplore / archival workshop proceedings). Peer-reviewed + indexed papers count
27
- **regardless of caliber** — conference and workshop proceedings qualify. There is **no
28
- approved-venue list** and **venue newness does not hurt** the authorship criterion (prestige is
29
- only a late-stage enhancer). So the bar here is binary: will
30
- this produce something that goes through peer review and gets indexed? A blog post, a preprint that
31
- never gets reviewed, or a non-archival talk = **no credit**. If the idea can't clear this, stop.
22
+ The paper must land in indexed proceedings (ACM DL / IEEE Xplore / archival workshop proceedings);
23
+ conference and workshop proceedings both qualify, and a new workshop's indexed proceedings are as
24
+ archival as an old one's. So the bar here is binary: will this produce something that goes through
25
+ peer review and gets indexed? A blog post, a preprint that never gets reviewed, or a non-archival
26
+ talk is not a publication. If the idea can't clear this, stop.
32
27
 
33
28
  **(b) Is the contribution a reusable METHOD/BENCHMARK, or a one-off result?**
34
29
  Reviewers accept methods and benchmarks; they reject "we ran tool X and it's bad." Name both framings:
@@ -39,10 +34,9 @@ Reviewers accept methods and benchmarks; they reject "we ran tool X and it's bad
39
34
  someone applies it to tool Y. Pick the strongest framing before writing a line.
40
35
 
41
36
  **(c) Will it generate downstream CITATIONS / ADOPTION?**
42
- This is the original-contribution criterion, and it is read through **citations and adoption, NOT
43
- GitHub stars**. Ask: when the next person studies this space, must they cite or reuse this? A
37
+ Impact is read through **citations and adoption, NOT GitHub stars**. Ask: when the next person studies this space, must they cite or reuse this? A
44
38
  benchmark others rerun, a metric others report, a finding others build on — yes. A one-off teardown of
45
- one product — no. Methods/benchmarks (axis b) are exactly what earns this credit; scattered results do
39
+ one product — no. Methods/benchmarks (axis b) are exactly what gets reused; scattered results are
46
40
  not.
47
41
 
48
42
  **(d) Is there a fast MVP finding — a "proof of method" that needs no scary result?**
@@ -54,8 +48,8 @@ result, it's slow and risky — reshape it toward a proof-of-method MVP.
54
48
 
55
49
  **(e) Does it stay in the researcher's coherent LANE?**
56
50
  **Name the lane explicitly** — the research area the existing corpus is already in. A
57
- connected corpus of papers in one lane beats scattered topics — review of a body of work rewards a
58
- sustained, coherent corpus, not a grab-bag. Score whether this idea deepens the existing corpus
51
+ connected corpus of papers in one lane beats scattered topics: each paper builds on and cites the
52
+ last, and readers who found one find the rest. Score whether this idea deepens the existing corpus
59
53
  (good) or wanders into an unrelated field (weak, even if publishable). Same lane compounds; scattered
60
54
  does not.
61
55
 
@@ -77,7 +71,7 @@ Emit a compact verdict:
77
71
  - Never justify an idea by GitHub stars, demo virality, or "it'd be a great blog post." Those don't
78
72
  count. Citations/adoption and indexed proceedings do.
79
73
  - Prefer the proof-of-method MVP over the heroic result — a shipped medium finding beats a stalled big
80
- one, and it's what earns the credit on time.
74
+ one, and it is what gets published on time.
81
75
  - Keep it in lane. If it's a great idea in the wrong field, say so and note it belongs elsewhere.
82
76
  - Don't invent numbers, severities, or venue names here — this is a framing pass, not a study.
83
77
 
@@ -86,14 +80,3 @@ Emit a compact verdict:
86
80
  - `build-benchmark` — the MVP finding usually IS a small benchmark; this skill scopes it.
87
81
  - `draft-paper` — the sharpest-framing sentence becomes the paper's one-contribution seed.
88
82
  - `plan-paper-timeline` — once go/no-go is "go," size the effort against a real deadline.
89
-
90
- ## Provenance
91
- Both real papers passed this filter as **proof-of-method, medium-severity-is-sufficient** ideas in one
92
- lane:
93
- - **AgenticDev 2026 @ ASE — "Measuring the Wrong Number"** (~90%, submitted). The contribution was the
94
- *measurement method*, not a verdict on one tool; a medium-severity finding was enough because the
95
- reusable way-to-measure was the point. Stayed in the AI-assisted-SE reliability lane.
96
- - **AISec 2026 @ ACM CCS — "Safety Theater in Agentic Coding"** (~87–88%). Same shape at a security
97
- bar: a reusable probe/finding about agentic coding safety, proof-of-method sufficient, squarely in
98
- the security-of-AI-coding lane. Together the two form a *connected corpus* — exactly what axis (e)
99
- rewards — rather than two scattered one-offs.
@@ -5,36 +5,36 @@
5
5
  // `SkillSpec` in vigiles branch `claude/skill-disallowed-tools` and is not in a release
6
6
  // this repo installs, so writing one here would not compile.
7
7
  import { experimental_skill } from "vigiles/spec";
8
+ import type { Flow } from "../../scripts/pipeline.ts";
9
+ import buildBenchmark from "../build-benchmark/SKILL.md.spec.ts";
10
+ import draftPaper from "../draft-paper/SKILL.md.spec.ts";
11
+ import findVenue from "../find-venue/SKILL.md.spec.ts";
12
+ import planPaperTimeline from "../plan-paper-timeline/SKILL.md.spec.ts";
8
13
 
9
14
  export default experimental_skill({
10
15
  name: "research-ideate",
11
16
  description:
12
- 'Decide whether a research idea is worth doing at all — before any work goes into it. Use when someone has an idea and asks: is this worth pursuing, should we take it on, is it a paper or just a blog post, is there a quick minimal result that doesn\'t need a dramatic finding, will it pull us away from our main line of work. Returns a go / no-go verdict with the sharpest framing, the minimal finding and the kinds of venue that would take it. Judges the idea by what counts in a body of work: a peer-reviewed indexed publication, a reusable method or benchmark rather than a one-off "tool X is bad", onward citations rather than GitHub stars, and one connected line rather than scattered topics. Stage: conception, before find-venue and before any draft; hands off to find-venue, build-benchmark, draft-paper.',
17
+ 'Decide whether a research idea is worth doing at all — before any work goes into it. Use when someone has an idea and asks: is this worth pursuing, should we take it on, is it a paper or just a blog post, is there a quick minimal result that doesn\'t need a dramatic finding, will it pull us away from our main line of work. Returns a go / no-go verdict with the sharpest framing, the minimal finding and the kinds of venue that would take it. Judges the idea by what makes a publishable, citable paper: a peer-reviewed indexed publication, a reusable method or benchmark rather than a one-off "tool X is bad", onward citations rather than GitHub stars, and one connected line rather than scattered topics. Stage: conception, before find-venue and before any draft; hands off to find-venue, build-benchmark, draft-paper.',
13
18
  tools: ["Read", "Write", "Grep", "Glob", "Agent", "Skill"],
14
19
  body: `
15
- # research-ideate — is this idea worth a paper, and does the paper earn authorship credit?
20
+ # research-ideate — is this idea worth a paper?
16
21
 
17
22
  Runs BEFORE any effort is spent. An idea can be interesting and still be a bad *publication*
18
- investment — the wrong framing produces something un-publishable or un-citable, which counts for
19
- nothing toward a body of work. This skill kills those ideas early and reshapes the survivors into the framing
23
+ investment — the wrong framing produces something un-publishable or un-citable, effort spent for
24
+ nothing. This skill kills those ideas early and reshapes the survivors into the framing
20
25
  that publishes. It does NOT do the venue search (that's \`find-venue\`) — it decides whether there's a
21
26
  paper worth taking to \`find-venue\` at all.
22
27
 
23
- Grounding for every judgment below: the authorship, judging and original-contribution criteria —
24
- what a reviewer of a body of work actually counts.
25
-
26
28
  ## Score the idea on five axes
27
29
 
28
30
  Answer each explicitly. A "no" on (a) is a hard stop; a "no" on the rest is a reshape signal.
29
31
 
30
32
  **(a) Does it yield a PEER-REVIEWED, INDEXED publication?**
31
- This is the authorship criterion, full stop. The paper must land in indexed proceedings (ACM DL /
32
- IEEE Xplore / archival workshop proceedings). Peer-reviewed + indexed papers count
33
- **regardless of caliber** — conference and workshop proceedings qualify. There is **no
34
- approved-venue list** and **venue newness does not hurt** the authorship criterion (prestige is
35
- only a late-stage enhancer). So the bar here is binary: will
36
- this produce something that goes through peer review and gets indexed? A blog post, a preprint that
37
- never gets reviewed, or a non-archival talk = **no credit**. If the idea can't clear this, stop.
33
+ The paper must land in indexed proceedings (ACM DL / IEEE Xplore / archival workshop proceedings);
34
+ conference and workshop proceedings both qualify, and a new workshop's indexed proceedings are as
35
+ archival as an old one's. So the bar here is binary: will this produce something that goes through
36
+ peer review and gets indexed? A blog post, a preprint that never gets reviewed, or a non-archival
37
+ talk is not a publication. If the idea can't clear this, stop.
38
38
 
39
39
  **(b) Is the contribution a reusable METHOD/BENCHMARK, or a one-off result?**
40
40
  Reviewers accept methods and benchmarks; they reject "we ran tool X and it's bad." Name both framings:
@@ -45,10 +45,9 @@ Reviewers accept methods and benchmarks; they reject "we ran tool X and it's bad
45
45
  someone applies it to tool Y. Pick the strongest framing before writing a line.
46
46
 
47
47
  **(c) Will it generate downstream CITATIONS / ADOPTION?**
48
- This is the original-contribution criterion, and it is read through **citations and adoption, NOT
49
- GitHub stars**. Ask: when the next person studies this space, must they cite or reuse this? A
48
+ Impact is read through **citations and adoption, NOT GitHub stars**. Ask: when the next person studies this space, must they cite or reuse this? A
50
49
  benchmark others rerun, a metric others report, a finding others build on — yes. A one-off teardown of
51
- one product — no. Methods/benchmarks (axis b) are exactly what earns this credit; scattered results do
50
+ one product — no. Methods/benchmarks (axis b) are exactly what gets reused; scattered results are
52
51
  not.
53
52
 
54
53
  **(d) Is there a fast MVP finding — a "proof of method" that needs no scary result?**
@@ -60,8 +59,8 @@ result, it's slow and risky — reshape it toward a proof-of-method MVP.
60
59
 
61
60
  **(e) Does it stay in the researcher's coherent LANE?**
62
61
  **Name the lane explicitly** — the research area the existing corpus is already in. A
63
- connected corpus of papers in one lane beats scattered topics — review of a body of work rewards a
64
- sustained, coherent corpus, not a grab-bag. Score whether this idea deepens the existing corpus
62
+ connected corpus of papers in one lane beats scattered topics: each paper builds on and cites the
63
+ last, and readers who found one find the rest. Score whether this idea deepens the existing corpus
65
64
  (good) or wanders into an unrelated field (weak, even if publishable). Same lane compounds; scattered
66
65
  does not.
67
66
 
@@ -83,7 +82,7 @@ Emit a compact verdict:
83
82
  - Never justify an idea by GitHub stars, demo virality, or "it'd be a great blog post." Those don't
84
83
  count. Citations/adoption and indexed proceedings do.
85
84
  - Prefer the proof-of-method MVP over the heroic result — a shipped medium finding beats a stalled big
86
- one, and it's what earns the credit on time.
85
+ one, and it is what gets published on time.
87
86
  - Keep it in lane. If it's a great idea in the wrong field, say so and note it belongs elsewhere.
88
87
  - Don't invent numbers, severities, or venue names here — this is a framing pass, not a study.
89
88
 
@@ -92,15 +91,10 @@ Emit a compact verdict:
92
91
  - \`build-benchmark\` — the MVP finding usually IS a small benchmark; this skill scopes it.
93
92
  - \`draft-paper\` — the sharpest-framing sentence becomes the paper's one-contribution seed.
94
93
  - \`plan-paper-timeline\` — once go/no-go is "go," size the effort against a real deadline.
95
-
96
- ## Provenance
97
- Both real papers passed this filter as **proof-of-method, medium-severity-is-sufficient** ideas in one
98
- lane:
99
- - **AgenticDev 2026 @ ASE — "Measuring the Wrong Number"** (~90%, submitted). The contribution was the
100
- *measurement method*, not a verdict on one tool; a medium-severity finding was enough because the
101
- reusable way-to-measure was the point. Stayed in the AI-assisted-SE reliability lane.
102
- - **AISec 2026 @ ACM CCS — "Safety Theater in Agentic Coding"** (~87–88%). Same shape at a security
103
- bar: a reusable probe/finding about agentic coding safety, proof-of-method sufficient, squarely in
104
- the security-of-AI-coding lane. Together the two form a *connected corpus* — exactly what axis (e)
105
- rewards — rather than two scattered one-offs.`,
94
+ `,
106
95
  });
96
+
97
+ export const flow = {
98
+ stage: "idea",
99
+ handsTo: () => [findVenue, buildBenchmark, draftPaper, planPaperTimeline],
100
+ } satisfies Flow;
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: rewrite-unclear
3
- description: "Rewrite an unclear passage of a paper — a sentence, paragraph, heading, section or the abstract — so a reader outside the subfield understands it, keeping every claim, number and citation; more words are allowed. Use whenever someone points at paper text and wants it changed because it is unclear, confusing, too dense, full of undefined terms or reads like an LLM wrote it: simplify it, explain it plainly, rewrite it so a human gets it — \"make it simpler\", \"I can't follow this, rewrite it\", \"перепиши понятнее\", \"напиши проще\", \"не понимаю, что тут написано, переделай\" — and when grade-paper-writing or cold-read-diff hands over a flagged passage. Rewrite here, not inline: this skill checks each rewrite with a reader who has no context and with a claim-preservation diff. Not for a verdict or score on how the writing reads (grade-paper-writing), cutting length (tighten-paper), finding unclear sentences (cold-read-diff) or the order of the argument (argument-arc)."
3
+ description: "Rewrite an unclear passage of a paper — a sentence, paragraph, heading, section or the abstract — so a reader outside the subfield understands it, keeping every claim, number and citation; more words are allowed. Use whenever someone points at paper text and wants it changed because it is unclear, confusing, too dense, full of undefined terms or reads like an LLM wrote it: simplify it, explain it plainly, rewrite it so a human gets it — \"make it simpler\", \"I can't follow this, rewrite it\", \"перепиши понятнее\", \"напиши проще\", \"не понимаю, что тут написано, переделай\" — and when cold-read-diff hands over a flagged passage. Rewrite here, not inline: this skill checks each rewrite with a reader who has no context and with a claim-preservation diff. Not for cutting length (tighten-paper), finding unclear sentences (cold-read-diff) or the order of the argument (argument-arc)."
4
4
  allowed-tools: [Read, Edit, Grep, Glob, Agent]
5
5
  ---
6
6
 
7
- <!-- vigiles:sha256:629ee9cd959a15b6 compiled from skills/rewrite-unclear/SKILL.md.spec.ts -->
7
+ <!-- vigiles:sha256:9eab16a8b56dfecb compiled from skills/rewrite-unclear/SKILL.md.spec.ts -->
8
8
 
9
9
  # rewrite-unclear — make a passage say its claim so a stranger gets it
10
10
 
@@ -15,14 +15,12 @@ unclear text and hand it here:
15
15
  | who finds it | what it hands over |
16
16
  |---|---|
17
17
  | `cold-read-diff` | the rows its readers marked `CANNOT PARSE`, `ONLY-IF`, `CLEVER`, `WHOSE?`, `REGISTER` |
18
- | `grade-paper-writing` | its stall inventory and the sentences behind every dimension at 3 or below |
19
18
  | `tighten-paper` | a sentence that explains something and sits inside a cut |
20
19
  | `harden-paper`, `study-accepted-papers` (mode D) | the sentences their readability or wording checks flag |
21
20
  | the author | "this is unclear", by name or by pointing at it |
22
21
 
23
22
  **What it does not do:** cut for length (`tighten-paper`), decide whether a section should exist
24
- (`tighten-paper`), reorder the argument (`argument-arc`), score the prose (`grade-paper-writing`),
25
- or change a result.
23
+ (`tighten-paper`), reorder the argument (`argument-arc`), or change a result.
26
24
 
27
25
  ## Input
28
26
 
@@ -68,7 +66,9 @@ paragraph before it and the one after it too; they decide which terms the reader
68
66
  `../paper-pipeline/references/writing-craft.md` → "The claim-preservation diff" over the
69
67
  before and after: no number moved, no hedge dropped, no claim strengthened, no new absolute, no
70
68
  `\cite` or `\ref` lost, nothing that contradicts the unchanged text. A rewrite that fails it is
71
- reverted, not patched.
69
+ reverted, not patched. Record the result in the `claims` row of `PIPELINE-STATUS.md` (date,
70
+ passages, passed or reverted) in the same commit as the rewrite: it is the record
71
+ `harden-paper` reads.
72
72
 
73
73
  ## The ten rules
74
74
 
@@ -95,7 +95,9 @@ Rules 6–9 are partly countable, so a lint rule may find the case; this skill w
95
95
  A clearer passage may take more words. Pay for them by moving material to an appendix or the
96
96
  artifact, never by shortening another sentence that explains something: that is how the unclear
97
97
  passage was made. Whether the paper still fits is measured by the build after the rewrites, and a
98
- measured overflow goes to `tighten-paper`, which owns length.
98
+ measured overflow goes to `tighten-paper`, which owns length. After the final review is closed,
99
+ `tighten-paper` does not run again: the overflow is paid from the next cut not yet taken in its
100
+ recorded ranked plan (`reviews/<date>-tighten-paper.md`), on the author's yes.
99
101
 
100
102
  ## Output
101
103
 
@@ -105,14 +107,13 @@ sentence, why no edit could say the claim), and the step-4 result. Apply the rew
105
107
  `Edit` only when the author asked for fixes or the task already was "fix the prose"; otherwise the
106
108
  rewrites are a proposal the author accepts or rejects one by one.
107
109
 
108
- When the passage came from a report with `findings` frontmatter (`cold-read-diff`,
109
- `grade-paper-writing`), set that finding's `status` to `fixed` once the rewrite is applied and step
110
- 4 passed, or leave it `open` with the reason when the author kept the original.
110
+ When the passage came from a report with `findings` frontmatter (`cold-read-diff`), set that finding's `status` to `fixed` once the rewrite is applied and step
111
+ 4 passed, or to `wontfix` with `note` giving the author's reason when he kept the original.
111
112
 
112
113
  ## Rules
113
114
 
114
115
  - **The author decides.** The reader's verdict and the restatement are evidence; the author accepts
115
- or rejects each rewrite. "Leave it" is a valid outcome, recorded as `wontfix`.
116
+ or rejects each rewrite. "Leave it" is a valid outcome, recorded as `wontfix` with his reason.
116
117
  - **Do not argue with a reader who could not parse it.** The author's understanding of their own
117
118
  sentence is not evidence about anyone else's.
118
119
  - **Do not write the claim stronger to make it clearer.** A hedge that makes a sentence harder to read
@@ -122,7 +123,7 @@ When the passage came from a report with `findings` frontmatter (`cold-read-diff
122
123
 
123
124
  ## Compose with
124
125
 
125
- - `cold-read-diff` — finds the sentences; run it once more on the rewritten paragraphs as the confirming read.
126
- - `grade-paper-writing` — grades the whole paper and hands its stalls here.
127
- - `tighten-paper` — owns length; a measured overflow after rewrites goes there.
126
+ - `cold-read-diff` — finds the sentences; it confirms a rewrite only when the author asks.
127
+ - `tighten-paper` — owns length; a measured overflow after rewrites goes there, or, after the final review
128
+ is closed, to the next cut in its recorded plan.
128
129
  - `argument-arc` — when step 1 fails because the section has no claim, the problem is the arc, not the sentence.
@@ -1,15 +1,17 @@
1
1
  // Compiled to SKILL.md by `vigiles compile`. Edit THIS file, never the markdown.
2
2
  //
3
3
  // The one owner of turning an unclear passage into a clear one. Every skill that FINDS an unclear
4
- // sentence (grade-paper-writing, cold-read-diff, tighten-paper, harden-paper, study-accepted-papers
5
- // mode D, draft-paper) hands the passage here instead of carrying its own repair instructions.
4
+ // sentence (cold-read-diff, tighten-paper, harden-paper, study-accepted-papers mode D,
5
+ // draft-paper) hands the passage here instead of carrying its own repair instructions.
6
6
  // The ten rules are what an author's accepted rewrites did, one rule per kind of change.
7
7
  import { experimental_skill } from "vigiles/spec";
8
+ import type { Flow } from "../../scripts/pipeline.ts";
9
+ import argumentArc from "../argument-arc/SKILL.md.spec.ts";
8
10
 
9
11
  export default experimental_skill({
10
12
  name: "rewrite-unclear",
11
13
  description:
12
- 'Rewrite an unclear passage of a paper — a sentence, paragraph, heading, section or the abstract — so a reader outside the subfield understands it, keeping every claim, number and citation; more words are allowed. Use whenever someone points at paper text and wants it changed because it is unclear, confusing, too dense, full of undefined terms or reads like an LLM wrote it: simplify it, explain it plainly, rewrite it so a human gets it — "make it simpler", "I can\'t follow this, rewrite it", "перепиши понятнее", "напиши проще", "не понимаю, что тут написано, переделай" — and when grade-paper-writing or cold-read-diff hands over a flagged passage. Rewrite here, not inline: this skill checks each rewrite with a reader who has no context and with a claim-preservation diff. Not for a verdict or score on how the writing reads (grade-paper-writing), cutting length (tighten-paper), finding unclear sentences (cold-read-diff) or the order of the argument (argument-arc).',
14
+ 'Rewrite an unclear passage of a paper — a sentence, paragraph, heading, section or the abstract — so a reader outside the subfield understands it, keeping every claim, number and citation; more words are allowed. Use whenever someone points at paper text and wants it changed because it is unclear, confusing, too dense, full of undefined terms or reads like an LLM wrote it: simplify it, explain it plainly, rewrite it so a human gets it — "make it simpler", "I can\'t follow this, rewrite it", "перепиши понятнее", "напиши проще", "не понимаю, что тут написано, переделай" — and when cold-read-diff hands over a flagged passage. Rewrite here, not inline: this skill checks each rewrite with a reader who has no context and with a claim-preservation diff. Not for cutting length (tighten-paper), finding unclear sentences (cold-read-diff) or the order of the argument (argument-arc).',
13
15
  tools: ["Read", "Edit", "Grep", "Glob", "Agent"],
14
16
  body: `
15
17
  # rewrite-unclear — make a passage say its claim so a stranger gets it
@@ -21,14 +23,12 @@ unclear text and hand it here:
21
23
  | who finds it | what it hands over |
22
24
  |---|---|
23
25
  | \`cold-read-diff\` | the rows its readers marked \`CANNOT PARSE\`, \`ONLY-IF\`, \`CLEVER\`, \`WHOSE?\`, \`REGISTER\` |
24
- | \`grade-paper-writing\` | its stall inventory and the sentences behind every dimension at 3 or below |
25
26
  | \`tighten-paper\` | a sentence that explains something and sits inside a cut |
26
27
  | \`harden-paper\`, \`study-accepted-papers\` (mode D) | the sentences their readability or wording checks flag |
27
28
  | the author | "this is unclear", by name or by pointing at it |
28
29
 
29
30
  **What it does not do:** cut for length (\`tighten-paper\`), decide whether a section should exist
30
- (\`tighten-paper\`), reorder the argument (\`argument-arc\`), score the prose (\`grade-paper-writing\`),
31
- or change a result.
31
+ (\`tighten-paper\`), reorder the argument (\`argument-arc\`), or change a result.
32
32
 
33
33
  ## Input
34
34
 
@@ -74,7 +74,9 @@ paragraph before it and the one after it too; they decide which terms the reader
74
74
  \`../paper-pipeline/references/writing-craft.md\` → "The claim-preservation diff" over the
75
75
  before and after: no number moved, no hedge dropped, no claim strengthened, no new absolute, no
76
76
  \`\\cite\` or \`\\ref\` lost, nothing that contradicts the unchanged text. A rewrite that fails it is
77
- reverted, not patched.
77
+ reverted, not patched. Record the result in the \`claims\` row of \`PIPELINE-STATUS.md\` (date,
78
+ passages, passed or reverted) in the same commit as the rewrite: it is the record
79
+ \`harden-paper\` reads.
78
80
 
79
81
  ## The ten rules
80
82
 
@@ -101,7 +103,9 @@ Rules 6–9 are partly countable, so a lint rule may find the case; this skill w
101
103
  A clearer passage may take more words. Pay for them by moving material to an appendix or the
102
104
  artifact, never by shortening another sentence that explains something: that is how the unclear
103
105
  passage was made. Whether the paper still fits is measured by the build after the rewrites, and a
104
- measured overflow goes to \`tighten-paper\`, which owns length.
106
+ measured overflow goes to \`tighten-paper\`, which owns length. After the final review is closed,
107
+ \`tighten-paper\` does not run again: the overflow is paid from the next cut not yet taken in its
108
+ recorded ranked plan (\`reviews/<date>-tighten-paper.md\`), on the author's yes.
105
109
 
106
110
  ## Output
107
111
 
@@ -111,14 +115,13 @@ sentence, why no edit could say the claim), and the step-4 result. Apply the rew
111
115
  \`Edit\` only when the author asked for fixes or the task already was "fix the prose"; otherwise the
112
116
  rewrites are a proposal the author accepts or rejects one by one.
113
117
 
114
- When the passage came from a report with \`findings\` frontmatter (\`cold-read-diff\`,
115
- \`grade-paper-writing\`), set that finding's \`status\` to \`fixed\` once the rewrite is applied and step
116
- 4 passed, or leave it \`open\` with the reason when the author kept the original.
118
+ When the passage came from a report with \`findings\` frontmatter (\`cold-read-diff\`), set that finding's \`status\` to \`fixed\` once the rewrite is applied and step
119
+ 4 passed, or to \`wontfix\` with \`note\` giving the author's reason when he kept the original.
117
120
 
118
121
  ## Rules
119
122
 
120
123
  - **The author decides.** The reader's verdict and the restatement are evidence; the author accepts
121
- or rejects each rewrite. "Leave it" is a valid outcome, recorded as \`wontfix\`.
124
+ or rejects each rewrite. "Leave it" is a valid outcome, recorded as \`wontfix\` with his reason.
122
125
  - **Do not argue with a reader who could not parse it.** The author's understanding of their own
123
126
  sentence is not evidence about anyone else's.
124
127
  - **Do not write the claim stronger to make it clearer.** A hedge that makes a sentence harder to read
@@ -128,9 +131,15 @@ When the passage came from a report with \`findings\` frontmatter (\`cold-read-d
128
131
 
129
132
  ## Compose with
130
133
 
131
- - \`cold-read-diff\` — finds the sentences; run it once more on the rewritten paragraphs as the confirming read.
132
- - \`grade-paper-writing\` — grades the whole paper and hands its stalls here.
133
- - \`tighten-paper\` — owns length; a measured overflow after rewrites goes there.
134
+ - \`cold-read-diff\` — finds the sentences; it confirms a rewrite only when the author asks.
135
+ - \`tighten-paper\` — owns length; a measured overflow after rewrites goes there, or, after the final review
136
+ is closed, to the next cut in its recorded plan.
134
137
  - \`argument-arc\` — when step 1 fails because the section has no claim, the problem is the arc, not the sentence.
135
138
  `,
136
139
  });
140
+
141
+ export const flow = {
142
+ stage: "draft",
143
+ handsTo: () => [],
144
+ loopsBackTo: () => [argumentArc],
145
+ } satisfies Flow;
@@ -7,9 +7,8 @@
7
7
  *
8
8
  * The should-fire set is phrased the way authors complain about a passage (measured before this
9
9
  * skill existed: twelve such phrases, two trials each, fired no shipped skill at all). The
10
- * should-not-fire set is the neighbours: a length cut (`tighten-paper`), a whole-paper grade
11
- * (`grade-paper-writing`), a read of the last edit (`cold-read-diff`) and the argument's order
12
- * (`argument-arc`).
10
+ * should-not-fire set is the neighbours: a length cut (`tighten-paper`), a request for a writing
11
+ * grade, a read of the last edit (`cold-read-diff`) and the argument's order (`argument-arc`).
13
12
  *
14
13
  * Costs money; not CI.
15
14
  * npx vigiles eval skills/rewrite-unclear/rewrite-unclear.eval.ts
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: run-agent-grid
3
- description: "Run a paid or counted agent experiment grid end to end — units × arms × seeds (× agent stacks), one agent CLI run per cell in a fresh working copy, scored by an outcome oracle — without the failures that silently spoil one: an unapproved or hand-picked sample, a timeout that kills a slower model, two drivers sharing a working copy, secrets in transcripts, a classifier that mislabels outcomes, a session cap that kills the run, results lost from scratch space. Use when a study design exists and you are about to spend money or count runs: the registry and approval gate, the sandbox and secret probe, the smoke per model, the locked detached driver, the overlap audit, hand labels and the commit of finished runs. Ships grid-guard.js (lock, gate, overlap audit, env probe, key scan, pre-commit). Composes with build-benchmark (the design, upstream), build-label-page (hand labels) and osf-artifact-upload (the artifact)."
3
+ description: "Run a paid or counted agent experiment grid end to end — units × arms × seeds (× agent stacks), one agent CLI run per cell in a fresh working copy, scored by an outcome oracle — without the failures that silently spoil one: an unapproved or hand-picked sample, a timeout that kills a slower model, two drivers sharing a working copy, secrets in transcripts, a classifier that mislabels outcomes, a session cap that kills the run, results lost from scratch space. Use when a study design exists and you are about to spend money or count runs: the registry and approval gate, the sandbox and secret probe, the smoke per model, the locked detached driver, the overlap audit, hand labels and the commit of finished runs. Ships grid-guard.js (lock, gate, overlap audit, env probe, key scan, pre-commit). Composes with build-benchmark (the design, upstream) and build-label-page (hand labels)."
4
4
  allowed-tools: [Read, Write, Edit, Grep, Glob, Bash, Agent]
5
5
  ---
6
6
 
7
- <!-- vigiles:sha256:451354b8f781c409 compiled from skills/run-agent-grid/SKILL.md.spec.ts -->
7
+ <!-- vigiles:sha256:63242bdb86002197 compiled from skills/run-agent-grid/SKILL.md.spec.ts -->
8
8
 
9
9
  # run-agent-grid — running a counted agent grid without spoiling it
10
10
 
@@ -188,6 +188,6 @@ any stack the fix touched, then resume. A harness change is an addendum like any
188
188
  - **label-agent-runs** (downstream) — the outcome labels: codebook first, hand labels for every
189
189
  uncertain run, a blind second rater, labels frozen after the analysis.
190
190
  - **build-label-page** — the page a person labels those runs on.
191
- - **osf-artifact-upload** — the artifact, after `scan-keys` is clean.
191
+ - **The artifact upload** (`docs/osf-artifact.md` in the package) — only after `scan-keys` is clean.
192
192
  - An **independent refutation pass** (a second agent framed to refute, not to confirm) on the
193
193
  registry and the smoke before the first counted run.
@@ -1,10 +1,13 @@
1
1
  import { experimental_skill, file, prose } from "vigiles/spec";
2
2
  import { COMMANDS } from "./scripts/grid-guard-commands.ts";
3
+ import type { Flow } from "../../scripts/pipeline.ts";
4
+ import buildLabelPage from "../build-label-page/SKILL.md.spec.ts";
5
+ import labelAgentRuns from "../label-agent-runs/SKILL.md.spec.ts";
3
6
 
4
7
  export default experimental_skill({
5
8
  name: "run-agent-grid",
6
9
  description:
7
- "Run a paid or counted agent experiment grid end to end — units × arms × seeds (× agent stacks), one agent CLI run per cell in a fresh working copy, scored by an outcome oracle — without the failures that silently spoil one: an unapproved or hand-picked sample, a timeout that kills a slower model, two drivers sharing a working copy, secrets in transcripts, a classifier that mislabels outcomes, a session cap that kills the run, results lost from scratch space. Use when a study design exists and you are about to spend money or count runs: the registry and approval gate, the sandbox and secret probe, the smoke per model, the locked detached driver, the overlap audit, hand labels and the commit of finished runs. Ships grid-guard.js (lock, gate, overlap audit, env probe, key scan, pre-commit). Composes with build-benchmark (the design, upstream), build-label-page (hand labels) and osf-artifact-upload (the artifact).",
10
+ "Run a paid or counted agent experiment grid end to end — units × arms × seeds (× agent stacks), one agent CLI run per cell in a fresh working copy, scored by an outcome oracle — without the failures that silently spoil one: an unapproved or hand-picked sample, a timeout that kills a slower model, two drivers sharing a working copy, secrets in transcripts, a classifier that mislabels outcomes, a session cap that kills the run, results lost from scratch space. Use when a study design exists and you are about to spend money or count runs: the registry and approval gate, the sandbox and secret probe, the smoke per model, the locked detached driver, the overlap audit, hand labels and the commit of finished runs. Ships grid-guard.js (lock, gate, overlap audit, env probe, key scan, pre-commit). Composes with build-benchmark (the design, upstream) and build-label-page (hand labels).",
8
11
  tools: ["Read", "Write", "Edit", "Grep", "Glob", "Bash", "Agent"],
9
12
  body: prose`
10
13
  # run-agent-grid — running a counted agent grid without spoiling it
@@ -189,8 +192,13 @@ any stack the fix touched, then resume. A harness change is an addendum like any
189
192
  - **label-agent-runs** (downstream) — the outcome labels: codebook first, hand labels for every
190
193
  uncertain run, a blind second rater, labels frozen after the analysis.
191
194
  - **build-label-page** — the page a person labels those runs on.
192
- - **osf-artifact-upload** — the artifact, after \`${COMMANDS.scanKeys}\` is clean.
195
+ - **The artifact upload** (\`docs/osf-artifact.md\` in the package) — only after \`${COMMANDS.scanKeys}\` is clean.
193
196
  - An **independent refutation pass** (a second agent framed to refute, not to confirm) on the
194
197
  registry and the smoke before the first counted run.
195
198
  `,
196
199
  });
200
+
201
+ export const flow = {
202
+ stage: "study",
203
+ handsTo: () => [labelAgentRuns, buildLabelPage],
204
+ } satisfies Flow;