paperlint 17.3.0 → 18.0.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 (190) hide show
  1. package/.github/workflows/deadlines.yml +1 -1
  2. package/CONTRIBUTING.md +8 -5
  3. package/README.md +19 -18
  4. package/dist/adapters/latex/index.d.ts +1 -0
  5. package/dist/adapters/latex/index.d.ts.map +1 -1
  6. package/dist/adapters/latex/index.js +3 -0
  7. package/dist/adapters/latex/index.js.map +1 -1
  8. package/dist/adapters/latex/parse.d.ts +9 -0
  9. package/dist/adapters/latex/parse.d.ts.map +1 -1
  10. package/dist/adapters/latex/parse.js +12 -0
  11. package/dist/adapters/latex/parse.js.map +1 -1
  12. package/dist/adapters/latex/venue-lines.d.ts +10 -0
  13. package/dist/adapters/latex/venue-lines.d.ts.map +1 -0
  14. package/dist/adapters/latex/venue-lines.js +11 -0
  15. package/dist/adapters/latex/venue-lines.js.map +1 -0
  16. package/dist/build.d.ts +1 -1
  17. package/dist/build.d.ts.map +1 -1
  18. package/dist/cli.d.ts.map +1 -1
  19. package/dist/cli.js +17 -6
  20. package/dist/cli.js.map +1 -1
  21. package/dist/domain/body-pages.d.ts +1 -1
  22. package/dist/domain/body-pages.js +1 -1
  23. package/dist/domain/edition.d.ts +35 -0
  24. package/dist/domain/edition.d.ts.map +1 -0
  25. package/dist/domain/edition.js +64 -0
  26. package/dist/domain/edition.js.map +1 -0
  27. package/dist/edition-rule.d.ts +17 -0
  28. package/dist/edition-rule.d.ts.map +1 -0
  29. package/dist/edition-rule.js +90 -0
  30. package/dist/edition-rule.js.map +1 -0
  31. package/dist/facts-file.d.ts +1 -1
  32. package/dist/facts-file.d.ts.map +1 -1
  33. package/dist/folder-layout-rule.js +1 -1
  34. package/dist/folder-layout-rule.js.map +1 -1
  35. package/dist/folder-venue-rule.d.ts +1 -1
  36. package/dist/folder-venue-rule.d.ts.map +1 -1
  37. package/dist/folder-venue-rule.js +15 -6
  38. package/dist/folder-venue-rule.js.map +1 -1
  39. package/dist/heading-case.js +1 -1
  40. package/dist/ports/latex.d.ts +6 -1
  41. package/dist/ports/latex.d.ts.map +1 -1
  42. package/dist/preset-card-rule.d.ts.map +1 -1
  43. package/dist/preset-card-rule.js +2 -1
  44. package/dist/preset-card-rule.js.map +1 -1
  45. package/dist/presets.d.ts +26 -8
  46. package/dist/presets.d.ts.map +1 -1
  47. package/dist/presets.js +86 -19
  48. package/dist/presets.js.map +1 -1
  49. package/dist/tex-requirements.d.ts +0 -2
  50. package/dist/tex-requirements.d.ts.map +1 -1
  51. package/dist/tex-requirements.js +0 -1
  52. package/dist/tex-requirements.js.map +1 -1
  53. package/dist/tex-venue-rules.d.ts +19 -8
  54. package/dist/tex-venue-rules.d.ts.map +1 -1
  55. package/dist/tex-venue-rules.js +81 -21
  56. package/dist/tex-venue-rules.js.map +1 -1
  57. package/dist/venue-rules.js +1 -1
  58. package/dist/venue-rules.js.map +1 -1
  59. package/docs/configuration.md +7 -6
  60. package/docs/optional-rules.md +2 -2
  61. package/docs/prior-art/hotcrp-option-types.md +1 -1
  62. package/docs/rules/anonymity/identity.md +2 -2
  63. package/docs/rules/cycle/record.md +4 -4
  64. package/docs/rules/paper/edition-over.md +66 -0
  65. package/docs/rules/paper/folder-venue-leftover.md +22 -18
  66. package/docs/rules/pdf/body-size.md +6 -6
  67. package/docs/rules/talk/profile.md +3 -3
  68. package/docs/rules/tex/claim-emphasis.md +1 -1
  69. package/docs/rules/tex/contrast-frames.md +1 -1
  70. package/docs/rules/tex/heading-case.md +20 -20
  71. package/docs/rules/tex/negated-sentences.md +1 -1
  72. package/docs/rules/tex/relation-markers.md +1 -1
  73. package/docs/rules/tex/venue-leftover.md +82 -44
  74. package/docs/rules.md +37 -24
  75. package/docs/submission.md +6 -6
  76. package/docs/talk.md +2 -2
  77. package/docs/venues.md +85 -5
  78. package/fixtures/build-e2e/acmart/expect.json +1 -1
  79. package/fixtures/build-e2e/acmart/paperlint.json +1 -1
  80. package/fixtures/build-e2e/aidc/paperlint.json +1 -1
  81. package/fixtures/build-e2e/anon-ack/paperlint.json +1 -1
  82. package/fixtures/build-e2e/anon-author/paperlint.json +1 -1
  83. package/fixtures/build-e2e/anon-bib/paperlint.json +1 -1
  84. package/fixtures/build-e2e/anon-href/paperlint.json +1 -1
  85. package/fixtures/build-e2e/anon-macro/paperlint.json +1 -1
  86. package/fixtures/build-e2e/anon-pdfauthor/paperlint.json +1 -1
  87. package/fixtures/build-e2e/fallback/expect.json +1 -1
  88. package/fixtures/build-e2e/fse/expect.json +1 -1
  89. package/fixtures/build-e2e/fse/paperlint.json +1 -1
  90. package/fixtures/build-e2e/fse-over/expect.json +1 -1
  91. package/fixtures/build-e2e/fse-over/paperlint.json +1 -1
  92. package/fixtures/build-e2e/msr/paperlint.json +1 -1
  93. package/fixtures/build-e2e/msr-appendix-after/paperlint.json +1 -1
  94. package/lib/skill-checks.mjs +1 -1
  95. package/package.json +1 -1
  96. package/presets/acl-latex.jsonc +35 -0
  97. package/presets/acl-latex.md +40 -0
  98. package/presets/acm-acmsmall.md +1 -1
  99. package/presets/acm-sigconf.jsonc +1 -1
  100. package/presets/acm-sigconf.md +1 -1
  101. package/presets/acsac-2026.jsonc +19 -0
  102. package/presets/acsac-2026.md +46 -0
  103. package/presets/{agent.jsonc → agent-2027.jsonc} +14 -7
  104. package/presets/{agent.md → agent-2027.md} +10 -6
  105. package/presets/{agenticdev.jsonc → agenticdev-2026.jsonc} +6 -3
  106. package/presets/{agenticdev.md → agenticdev-2026.md} +5 -5
  107. package/presets/{agentverify.jsonc → agentverify-2027.jsonc} +10 -2
  108. package/presets/{agentverify.md → agentverify-2027.md} +9 -3
  109. package/presets/{aidc.jsonc → aidc-2026.jsonc} +12 -4
  110. package/presets/{aidc.md → aidc-2026.md} +8 -4
  111. package/presets/{aisec.jsonc → aisec-2026.jsonc} +7 -4
  112. package/presets/{aisec.md → aisec-2026.md} +7 -6
  113. package/presets/{ase.jsonc → ase-2026.jsonc} +9 -9
  114. package/presets/{ase.md → ase-2026.md} +8 -8
  115. package/presets/{ccs.jsonc → ccs-2026.jsonc} +4 -4
  116. package/presets/{ccs.md → ccs-2026.md} +4 -4
  117. package/presets/emnlp-2026.jsonc +21 -0
  118. package/presets/emnlp-2026.md +46 -0
  119. package/presets/{fse.jsonc → fse-2027.jsonc} +6 -7
  120. package/presets/{fse.md → fse-2027.md} +9 -9
  121. package/presets/icse-2027.jsonc +24 -0
  122. package/presets/icse-2027.md +53 -0
  123. package/presets/{icse.jsonc → icse-2028.jsonc} +8 -7
  124. package/presets/{icse.md → icse-2028.md} +9 -8
  125. package/presets/ieee-conference.jsonc +1 -1
  126. package/presets/ieee-conference.md +2 -2
  127. package/presets/{msr.jsonc → msr-2027.jsonc} +4 -5
  128. package/presets/{msr.md → msr-2027.md} +7 -7
  129. package/presets/{nlbse.jsonc → nlbse-2027.jsonc} +9 -1
  130. package/presets/{nlbse.md → nlbse-2027.md} +9 -3
  131. package/presets/{realm.jsonc → realm-2026.jsonc} +17 -27
  132. package/presets/{realm.md → realm-2026.md} +11 -4
  133. package/presets/{sp.jsonc → sp-2027.jsonc} +8 -8
  134. package/presets/{sp.md → sp-2027.md} +5 -5
  135. package/presets/tex/agenticdev.tex +1 -1
  136. package/presets/venue-profile.schema.json +28 -13
  137. package/scripts/refresh-deadlines/main.test.ts +4 -4
  138. package/scripts/refresh-deadlines/refresh.test.ts +9 -9
  139. package/skills/find-venue/SKILL.md +2 -2
  140. package/skills/find-venue/SKILL.md.spec.ts +1 -1
  141. package/skills/render-paper/extract-pdf-facts.harness.ts +2 -2
  142. package/skills/submit-paper/SKILL.md +7 -7
  143. package/skills/submit-paper/SKILL.md.spec.ts +6 -6
  144. package/src/adapters/latex/index.ts +3 -0
  145. package/src/adapters/latex/parse.ts +15 -0
  146. package/src/adapters/latex/venue-lines.ts +21 -0
  147. package/src/build.harness.mjs +5 -2
  148. package/src/build.ts +1 -1
  149. package/src/cli.test.ts +8 -6
  150. package/src/cli.ts +23 -6
  151. package/src/cycle-rules.test.ts +8 -6
  152. package/src/domain/body-pages.ts +1 -1
  153. package/src/domain/edition.ts +104 -0
  154. package/src/domain/submission-fields.test.ts +13 -10
  155. package/src/domain/venue-name.test.ts +41 -16
  156. package/src/domain/versions.test.ts +2 -2
  157. package/src/edition-rule.test.ts +164 -0
  158. package/src/edition-rule.ts +121 -0
  159. package/src/facts-file.test.ts +4 -4
  160. package/src/facts-file.ts +1 -1
  161. package/src/folder-layout-rule.test.ts +1 -1
  162. package/src/folder-layout-rule.ts +1 -1
  163. package/src/folder-venue-rule.test.ts +33 -11
  164. package/src/folder-venue-rule.ts +16 -7
  165. package/src/heading-case.test.ts +4 -4
  166. package/src/heading-case.ts +1 -1
  167. package/src/linted-set.test.ts +1 -1
  168. package/src/new-paper.test.ts +38 -25
  169. package/src/paper-files.test.ts +1 -1
  170. package/src/paper-settings-commands.test.ts +4 -4
  171. package/src/paper-settings.test.ts +16 -13
  172. package/src/ports/latex.ts +6 -0
  173. package/src/preset-card-rule.test.ts +30 -24
  174. package/src/preset-card-rule.ts +2 -1
  175. package/src/presets.test.ts +347 -70
  176. package/src/presets.ts +124 -31
  177. package/src/register-bands.test.ts +2 -2
  178. package/src/rule-cases.test.ts +26 -4
  179. package/src/submission-show.test.ts +3 -3
  180. package/src/submission-update.test.ts +1 -1
  181. package/src/submission.test.ts +1 -1
  182. package/src/talk-rules.test.ts +1 -1
  183. package/src/tex-requirements.harness.ts +2 -2
  184. package/src/tex-requirements.ts +2 -4
  185. package/src/tex-venue-rules.test.ts +187 -62
  186. package/src/tex-venue-rules.ts +129 -29
  187. package/src/venue-rules.test.ts +26 -23
  188. package/src/venue-rules.ts +1 -1
  189. package/src/versions-command.test.ts +2 -2
  190. package/templates/paper/paperlint.json +1 -1
@@ -7,7 +7,8 @@
7
7
  * tex/required-section error each section the preset requires is there, titled exactly, and
8
8
  * where the preset says (`last`: after every section of the body)
9
9
  * tex/venue-leftover warn the text a reader sees names ANOTHER shipped venue — its `name`
10
- * or one of its `aliases` — than the one the paper extends
10
+ * or one of its `aliases` — than the edition the paper extends: in
11
+ * prose beside a recent year, in a venue-identity command always
11
12
  *
12
13
  * and, in the `format` plugin (named for the requirement, not the input — paperlint#151):
13
14
  *
@@ -48,6 +49,7 @@ import {
48
49
  import type { LatexReader } from "./ports/latex.ts";
49
50
  import { paperPreset, shippedVenueNames, type Preset } from "./presets.ts";
50
51
  import type { NamedVenue } from "./domain/venue-name.ts";
52
+ import { editionLabel } from "./domain/edition.ts";
51
53
  import type { PaperSource } from "./domain/paper-source.ts";
52
54
  import { readPaper, reportInPaper, type ProseDeps } from "./tex-paper.ts";
53
55
  import type { RequiredSection } from "./tex-requirements.ts";
@@ -269,50 +271,138 @@ export function judgeRequiredSections(
269
271
  }
270
272
 
271
273
  /**
272
- * Another shipped venue: the word for it, what it is called in a paper's text, and when a name
273
- * counts as naming it (`mentions`).
274
+ * Another shipped venue as the text names it: the word for it (its `name`), every name it goes by,
275
+ * and its edition's year (from its id).
274
276
  */
275
- export type OtherVenue = NamedVenue & Pick<Preset, "mentions">;
277
+ export type OtherVenue = NamedVenue & Pick<Preset, "year" | "declaredAliases">;
276
278
 
277
279
  /**
278
- * What must follow a name for it to name a `with-year` venue: a year beside it — `2027`, `'27` or
279
- * `’27`, after spaces or none (`~` renders as a space). A lookahead, so the finding is the name.
280
+ * A year beside a name, right after it: `2027`, `'27` or `’27`, after spaces or none (`~` renders
281
+ * as a no-break space). Anchored: it is tried on the text after the name.
280
282
  */
281
- const YEAR_BESIDE = "(?=[\\s\\u00a0]*(?:\\d{4}|['’]\\d{2})(?![\\p{L}\\p{N}]))";
283
+ const YEAR_AFTER = /^[\s\u00a0]*(?:(\d{4})|['’](\d{2}))(?![\p{L}\p{N}])/u;
284
+
285
+ /** The year written right after offset `end` of `text`, or null. `'27` is 2027. Pure. */
286
+ function yearAfter(text: string, end: number): number | null {
287
+ const m = YEAR_AFTER.exec(text.slice(end));
288
+ if (m === null) return null;
289
+ return m[1] !== undefined
290
+ ? Number.parseInt(m[1], 10)
291
+ : 2000 + Number.parseInt(String(m[2]), 10);
292
+ }
282
293
 
283
294
  /** `s` as a pattern that matches it literally. */
284
295
  const literal = (s: string): string =>
285
296
  s.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
286
297
 
298
+ /** One name a match is judged by: whether it is the paper's own, and the venue it shows as. */
299
+ interface NameToJudge {
300
+ readonly name: string;
301
+ readonly own: boolean;
302
+ readonly shows: string;
303
+ }
304
+
305
+ /**
306
+ * Every name to look for, once each: every other shipped venue's, shown as that venue's `name`, and
307
+ * the paper's own and its parent's, which count only in another edition. Pure.
308
+ */
309
+ function namesToJudge(
310
+ preset: Pick<Preset, "label" | "aliases" | "parentNames">,
311
+ others: readonly OtherVenue[],
312
+ ): readonly NameToJudge[] {
313
+ const own = new Set([...preset.aliases, ...preset.parentNames]);
314
+ const shownBy = (name: string): string =>
315
+ others.find((o) => o.aliases.includes(name))?.label ??
316
+ (preset.aliases.includes(name) ? preset.label : name);
317
+ const all = [...new Set([...others.flatMap((o) => o.aliases), ...own])];
318
+ return all.map((name) => ({
319
+ name,
320
+ own: own.has(name),
321
+ shows: shownBy(name),
322
+ }));
323
+ }
324
+
287
325
  /**
288
- * Each place the rendered text names another venue — one of its aliases as a whole word, case
289
- * and all — unless that alias is also this paper's venue's own, or its parent conference's
290
- * (`parentNames`: an AgenticDev paper may say «ASE 2026»).
326
+ * Whether a name at a place, with `year` beside it (null: none), names another venue than the
327
+ * paper's edition (of year `paperYear`). Inside a venue-identity command (`inLine`) any other
328
+ * venue's name counts; in prose only beside a year no older than the paper's year minus one, so
329
+ * related work («ICSE 2019») and a bare acronym are not leftovers. The paper's own names, and its
330
+ * parent's, count only beside another year: another edition of its own series. Pure.
331
+ */
332
+ export function namesAnotherEdition(
333
+ n: { readonly own: boolean; readonly inLine: boolean },
334
+ year: number | null,
335
+ paperYear: number | null,
336
+ ): boolean {
337
+ const recent = paperYear === null || (year !== null && year >= paperYear - 1);
338
+ if (n.own)
339
+ return (
340
+ year !== null &&
341
+ paperYear !== null &&
342
+ year !== paperYear &&
343
+ (n.inLine || recent)
344
+ );
345
+ return n.inLine || (year !== null && recent);
346
+ }
347
+
348
+ /** A name to look for, with the pattern that finds it as a whole word. */
349
+ type NameMatcher = NameToJudge & { readonly re: RegExp };
350
+
351
+ /**
352
+ * The findings of one name in one run: each whole-word match judged with the year beside it and
353
+ * whether it stands in a venue-stating command (`inLine`). Pure.
354
+ */
355
+ function matchesIn(
356
+ run: TextRun,
357
+ n: NameMatcher,
358
+ paper: {
359
+ readonly inLine: (at: Span | null) => boolean;
360
+ readonly year: number | null;
361
+ readonly venue: string;
362
+ },
363
+ ): readonly Located[] {
364
+ const { inLine, venue } = paper;
365
+ const text = runText(run);
366
+ return [...text.matchAll(n.re)].flatMap((m) => {
367
+ const at = spanIn(run, m.index, m.index + m[0].length);
368
+ const year = yearAfter(text, m.index + m[0].length);
369
+ const judged = { own: n.own, inLine: inLine(at) };
370
+ if (!namesAnotherEdition(judged, year, paper.year)) return [];
371
+ const other = editionLabel(n.shows, year);
372
+ return [{ messageId: "leftover", data: { name: m[0], other, venue }, at }];
373
+ });
374
+ }
375
+
376
+ /**
377
+ * Each place the rendered text names another venue than the paper's edition — a name as a whole
378
+ * word, case and all, judged with the year beside it (`namesAnotherEdition`). `lines` are the spans
379
+ * of the commands that state the paper's venue (`\acmConference` …).
291
380
  */
292
381
  export function judgeLeftover(
293
382
  runs: readonly TextRun[],
383
+ lines: readonly Place[],
294
384
  preset: Preset,
295
385
  others: readonly OtherVenue[],
296
386
  ): readonly Located[] {
297
- const own = new Set([...preset.aliases, ...preset.parentNames]);
298
- const names = others.flatMap((o) =>
299
- o.aliases
300
- .filter((a) => !own.has(a))
301
- .map((alias) => ({
302
- other: o.label,
303
- re: new RegExp(
304
- `(?<![\\p{L}\\p{N}])${literal(alias)}(?![\\p{L}\\p{N}])${o.mentions === "with-year" ? YEAR_BESIDE : ""}`,
305
- "gu",
306
- ),
307
- })),
387
+ const venue = editionLabel(preset.label, preset.year);
388
+ const inLine = (at: Span | null): boolean =>
389
+ at !== null &&
390
+ lines.some(
391
+ (l) =>
392
+ l.kind === "at" && l.span.start <= at.start && at.start < l.span.end,
393
+ );
394
+ const names: readonly NameMatcher[] = namesToJudge(preset, others).map(
395
+ (n) => ({
396
+ ...n,
397
+ re: new RegExp(
398
+ `(?<![\\p{L}\\p{N}])${literal(n.name)}(?![\\p{L}\\p{N}])`,
399
+ "gu",
400
+ ),
401
+ }),
308
402
  );
309
403
  return runs.flatMap((run) =>
310
- names.flatMap(({ other, re }) =>
311
- [...runText(run).matchAll(re)].map((m) => ({
312
- messageId: "leftover",
313
- data: { name: m[0], other, venue: preset.label },
314
- at: spanIn(run, m.index, m.index + m[0].length),
315
- })),
404
+ names.flatMap((n) =>
405
+ matchesIn(run, n, { inLine, year: preset.year, venue }),
316
406
  ),
317
407
  );
318
408
  }
@@ -437,7 +527,12 @@ const RULES: Readonly<
437
527
  },
438
528
  "venue-leftover": {
439
529
  judge: (r) =>
440
- judgeLeftover(r.latex.renderedRuns(r.src), r.preset, r.others()),
530
+ judgeLeftover(
531
+ r.latex.renderedRuns(r.src),
532
+ r.latex.venueLines(r.src),
533
+ r.preset,
534
+ r.others(),
535
+ ),
441
536
  meta: {
442
537
  type: "suggestion",
443
538
  docs: {
@@ -481,7 +576,12 @@ export function otherVenues(
481
576
  ): readonly OtherVenue[] {
482
577
  return shippedVenueNames(deps)
483
578
  .filter((v) => !v.chain.every((f) => preset.chain.includes(f)))
484
- .map(({ label, aliases, mentions }) => ({ label, aliases, mentions }));
579
+ .map(({ label, aliases, year, declaredAliases }) => ({
580
+ label,
581
+ aliases,
582
+ year,
583
+ declaredAliases,
584
+ }));
485
585
  }
486
586
 
487
587
  /** What the venue-conformance rules are built with: the preset store, the LaTeX reader, and the paper's files as the build recorded them. */
@@ -175,7 +175,7 @@ function lint(
175
175
  return out;
176
176
  }
177
177
 
178
- const DECL = { extends: "paperlint:agenticdev", kind: "short" };
178
+ const DECL = { extends: "paperlint:agenticdev-2026", kind: "short" };
179
179
  const ids = (fs: readonly Finding[]) =>
180
180
  fs.map((f) => `${f.rule}:${f.messageId}`).sort();
181
181
  /** A patch that changes one field set of the `i`-th font. */
@@ -197,7 +197,7 @@ describe("a paper that meets its venue", () => {
197
197
 
198
198
  it("is silent on aisec, a second shipped ACM profile", () => {
199
199
  expect(
200
- lint({ venue: { extends: "paperlint:aisec", kind: "research" } }),
200
+ lint({ venue: { extends: "paperlint:aisec-2026", kind: "research" } }),
201
201
  ).toEqual([]);
202
202
  });
203
203
 
@@ -247,7 +247,7 @@ describe("a paper that names no venue", () => {
247
247
  "the last cycle closed, none open",
248
248
  {
249
249
  id: "first-2026",
250
- venue: { kind: "preset", extends: "paperlint:aisec" },
250
+ venue: { kind: "preset", extends: "paperlint:aisec-2026" },
251
251
  opened: "2026-07-01",
252
252
  outcome: { kind: "withdrawn", date: "2026-07-18", evidence: "n.md" },
253
253
  },
@@ -271,13 +271,13 @@ describe("pdf/profile — the declaration must resolve, or nothing is judged", (
271
271
  "an unknown venue (a typo would silently disable every check)",
272
272
  { extends: "paperlint:agentic-dev", kind: "short" },
273
273
  "preset",
274
- /agent, agenticdev, agentverify, aidc, aisec, ase, ccs, fse, icse, ieee-conference, msr, nlbse, realm, sp/,
274
+ /acsac-2026, agent-2027, agenticdev-2026, agentverify-2027, aidc-2026, aisec-2026, ase-2026, ccs-2026, emnlp-2026, fse-2027, icse-2027, icse-2028, ieee-conference, msr-2027, nlbse-2027, realm-2026, sp-2027/,
275
275
  ],
276
276
  [
277
277
  "the base TeX set is not a venue",
278
278
  { extends: "paperlint:tex-base" },
279
279
  "preset",
280
- /agent, agenticdev, agentverify, aidc, aisec, ase, ccs, fse, icse, ieee-conference, msr, nlbse, realm, sp/,
280
+ /acsac-2026, agent-2027, agenticdev-2026, agentverify-2027, aidc-2026, aisec-2026, ase-2026, ccs-2026, emnlp-2026, fse-2027, icse-2027, icse-2028, ieee-conference, msr-2027, nlbse-2027, realm-2026, sp-2027/,
281
281
  ],
282
282
  [
283
283
  "paperlint.json that is not JSON",
@@ -312,10 +312,10 @@ describe("pdf/profile — the declaration must resolve, or nothing is judged", (
312
312
 
313
313
  describe("pdf/profile — the kind", () => {
314
314
  it.each([
315
- ["no kind", { extends: "paperlint:agenticdev" }, "kindMissing"],
315
+ ["no kind", { extends: "paperlint:agenticdev-2026" }, "kindMissing"],
316
316
  [
317
317
  "a kind the venue does not have",
318
- { extends: "paperlint:agenticdev", kind: "long" },
318
+ { extends: "paperlint:agenticdev-2026", kind: "long" },
319
319
  "kindUnknown",
320
320
  ],
321
321
  ])(
@@ -354,7 +354,7 @@ describe("pdf/profile — the kind", () => {
354
354
  });
355
355
  expect(
356
356
  lint({
357
- venue: { extends: "paperlint:realm", kind: "long" },
357
+ venue: { extends: "paperlint:realm-2026", kind: "long" },
358
358
  facts: realm,
359
359
  }),
360
360
  ).toEqual([]);
@@ -541,13 +541,16 @@ describe("format/page-limit", () => {
541
541
  "format/page-limit:pages",
542
542
  ]);
543
543
  expect(
544
- lint({ venue: { extends: "paperlint:agenticdev", kind: "full" }, facts }),
544
+ lint({
545
+ venue: { extends: "paperlint:agenticdev-2026", kind: "full" },
546
+ facts,
547
+ }),
545
548
  ).toEqual([]);
546
549
  });
547
550
  });
548
551
 
549
552
  describe("format/page-limit on a venue whose limit includes the references (AGENT)", () => {
550
- const AGENT = { extends: "paperlint:agent", kind: "full" };
553
+ const AGENT = { extends: "paperlint:agent-2027", kind: "full" };
551
554
  /** An AGENT full paper: a body that fills eight pages, its references on `refs` more. */
552
555
  const spill = (refs: number): Facts =>
553
556
  withFacts((f) => {
@@ -563,7 +566,7 @@ describe("format/page-limit on a venue whose limit includes the references (AGEN
563
566
  expect(fs.map((f) => [f.messageId, f.message])).toEqual([
564
567
  [
565
568
  "pages",
566
- "pages, references included: 9, over the limit 8 for AGENT 2027/full — a desk reject; cut the text",
569
+ "pages, references included: 9, over the limit 8 for AGENT/full — a desk reject; cut the text",
567
570
  ],
568
571
  ]);
569
572
  });
@@ -730,7 +733,7 @@ describe("the IEEE conference family and AIDC", () => {
730
733
  const FAMILY = { extends: "paperlint:ieee-conference" };
731
734
  const IDENTITY = ["Ada Example", "adaexample", "ada@example.org"];
732
735
  const AIDC = {
733
- extends: "paperlint:aidc",
736
+ extends: "paperlint:aidc-2026",
734
737
  kind: "regular",
735
738
  identity: IDENTITY,
736
739
  };
@@ -758,7 +761,7 @@ describe("the IEEE conference family and AIDC", () => {
758
761
 
759
762
  it.each([
760
763
  ["the family", FAMILY],
761
- ["aidc", AIDC],
764
+ ["aidc-2026", AIDC],
762
765
  ])("the planted A4 build fails %s on both page dimensions", (_, venue) => {
763
766
  const facts = ieeeFacts(
764
767
  (f) => ((f.page_w_in = 8.264), (f.page_h_in = 11.694)),
@@ -771,7 +774,7 @@ describe("the IEEE conference family and AIDC", () => {
771
774
 
772
775
  it.each([
773
776
  ["the family", FAMILY],
774
- ["aidc", AIDC],
777
+ ["aidc-2026", AIDC],
775
778
  ])("the planted Computer Modern build fails %s: no Times", (_, venue) => {
776
779
  const facts = ieeeFacts(
777
780
  (f) => (f.fonts = type1(["CMBX12", "CMR10", "CMTI10"])),
@@ -809,7 +812,7 @@ const acmsmallFacts = (patch: Patch = () => {}): Facts =>
809
812
 
810
813
  const ACMSMALL = { extends: "paperlint:acm-acmsmall" };
811
814
  const FSE = {
812
- extends: "paperlint:fse",
815
+ extends: "paperlint:fse-2027",
813
816
  kind: "research",
814
817
  identity: ["Ada Example", "adaexample", "ada@example.org"],
815
818
  };
@@ -824,7 +827,7 @@ describe("the ACM single-column family and FSE", () => {
824
827
 
825
828
  it.each([
826
829
  ["the family", ACMSMALL],
827
- ["fse", FSE],
830
+ ["fse-2027", FSE],
828
831
  ])(
829
832
  "🔴 the planted sigconf build fails %s: page, columns and body size",
830
833
  (_, venue) => {
@@ -918,7 +921,7 @@ describe("pdf/body-size on the IEEE family: 10 pt body, 8 pt references", () =>
918
921
  ids(
919
922
  lint({
920
923
  venue: {
921
- extends: "paperlint:aidc",
924
+ extends: "paperlint:aidc-2026",
922
925
  kind: "regular",
923
926
  identity: ["Ada Example"],
924
927
  },
@@ -947,7 +950,7 @@ describe("pdf/body-size on the IEEE family: 10 pt body, 8 pt references", () =>
947
950
 
948
951
  /** An AIDC regular paper (12 body pages), for the page-limit tests. */
949
952
  const AIDC_REGULAR = {
950
- extends: "paperlint:aidc",
953
+ extends: "paperlint:aidc-2026",
951
954
  kind: "regular",
952
955
  identity: ["Ada Example"],
953
956
  };
@@ -1185,7 +1188,7 @@ describe("format/page-limit with `appendix_in_body`: the appendix is body, the r
1185
1188
 
1186
1189
  /** An MSR technical paper that declares who wrote it. */
1187
1190
  const MSR = {
1188
- extends: "paperlint:msr",
1191
+ extends: "paperlint:msr-2027",
1189
1192
  kind: "technical",
1190
1193
  identity: ["Ada Example"],
1191
1194
  };
@@ -1256,7 +1259,7 @@ describe("format/page-limit on MSR: ten pages of main text, appendices included,
1256
1259
 
1257
1260
  /** An AIDC paper that declares who wrote it. */
1258
1261
  const BLIND = {
1259
- extends: "paperlint:aidc",
1262
+ extends: "paperlint:aidc-2026",
1260
1263
  kind: "regular",
1261
1264
  identity: ["Ada Example", "adaexample", "ada@example.org"],
1262
1265
  };
@@ -1264,7 +1267,7 @@ const said = (patch: Patch) => ieeeFacts(patch);
1264
1267
 
1265
1268
  describe("anonymity/identity — a blind venue (AIDC)", () => {
1266
1269
  it("no identity declared: an error, built or not — a missing input is not a clean pass", () => {
1267
- const noIdentity = { extends: "paperlint:aidc", kind: "regular" };
1270
+ const noIdentity = { extends: "paperlint:aidc-2026", kind: "regular" };
1268
1271
  const built = lint({ venue: noIdentity, facts: ieeeFacts() });
1269
1272
  expect(ids(built)).toEqual(["anonymity/identity:noIdentity"]);
1270
1273
  expect(built[0]?.message).toMatch(/"identity": \["Your Name"/);
@@ -1327,7 +1330,7 @@ describe("anonymity/identity — a blind venue (AIDC)", () => {
1327
1330
 
1328
1331
  describe("an AIDC kind", () => {
1329
1332
  it("an AIDC kind that does not exist names the two that do", () => {
1330
- const fs = lint({ venue: { extends: "paperlint:aidc", kind: "wip" } });
1333
+ const fs = lint({ venue: { extends: "paperlint:aidc-2026", kind: "wip" } });
1331
1334
  expect(ids(fs)).toContain("pdf/profile:kindUnknown");
1332
1335
  expect(fs.find((f) => f.rule === "pdf/profile")?.message).toMatch(
1333
1336
  /regular, short/,
@@ -1454,7 +1457,7 @@ const onCycle = (cycle: Record<string, unknown>) => ({
1454
1457
  cycles: [
1455
1458
  {
1456
1459
  id: "aidc-2026",
1457
- venue: { kind: "preset", extends: "paperlint:aidc" },
1460
+ venue: { kind: "preset", extends: "paperlint:aidc-2026" },
1458
1461
  kind: "regular",
1459
1462
  opened: "2026-09-26",
1460
1463
  ...cycle,
@@ -754,7 +754,7 @@ const META: Readonly<Record<VenueRuleName, Meta>> = {
754
754
  unbuilt:
755
755
  "not built yet, so `{{venue}}`'s page limit, fonts and format are not checked — run `paperlint build`",
756
756
  noPreset:
757
- 'this paper names no venue preset yet, so its page limit, fonts and format are not checked — set "extends" in {{file}} (e.g. "paperlint:agenticdev"; see docs/rules.md)',
757
+ 'this paper names no venue preset yet, so its page limit, fonts and format are not checked — set "extends" in {{file}} (e.g. "paperlint:agenticdev-2026"; see docs/rules.md)',
758
758
  noPresetCycle:
759
759
  'this paper\'s current cycle names no venue preset, so its page limit, fonts and format are not checked — set the venue in the current cycle in {{file}} ("venue": { "kind": "preset", "extends": "paperlint:…" }), or open a new cycle when the last one has ended',
760
760
  noGeometry:
@@ -44,14 +44,14 @@ const decision = (kind: string, date: string) => ({
44
44
  const CYCLES = [
45
45
  {
46
46
  id: "workshop-2026",
47
- venue: { kind: "preset", extends: "paperlint:agenticdev" },
47
+ venue: { kind: "preset", extends: "paperlint:agenticdev-2026" },
48
48
  opened: "2026-03-01",
49
49
  submission: { id: 3 },
50
50
  outcome: decision("accepted", "2026-05-01"),
51
51
  },
52
52
  {
53
53
  id: "conf-2026",
54
- venue: { kind: "preset", extends: "paperlint:aisec" },
54
+ venue: { kind: "preset", extends: "paperlint:aisec-2026" },
55
55
  opened: "2026-06-01",
56
56
  submission: { id: 11 },
57
57
  outcome: decision("rejected", "2026-09-08"),
@@ -1,4 +1,4 @@
1
1
  {
2
- "$comment": "Name this paper's venue preset in \"extends\": \"paperlint:<name>\" for a shipped one, e.g. \"paperlint:agenticdev\" (`npx paperlint --help` lists them), or a path to your own preset relative to THIS file, e.g. \"../../venues/my-venue.jsonc\"; add \"kind\" for its page limit. `npx paperlint new <name> --venue <preset>` writes both for a new paper. Until then the page limit, fonts and format are not checked.",
2
+ "$comment": "Name this paper's venue preset in \"extends\": \"paperlint:<name>\" for a shipped one, e.g. \"paperlint:agenticdev-2026\" (`npx paperlint --help` lists them), or a path to your own preset relative to THIS file, e.g. \"../../venues/my-venue.jsonc\"; add \"kind\" for its page limit. `npx paperlint new <name> --venue <preset>` writes both for a new paper. Until then the page limit, fonts and format are not checked.",
3
3
  "extends": null
4
4
  }