paperlint 17.0.0 → 17.2.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 (89) hide show
  1. package/CLAUDE.md +2 -2
  2. package/README.md +22 -16
  3. package/dist/cli.d.ts +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +28 -29
  6. package/dist/cli.js.map +1 -1
  7. package/dist/folder-venue-rule.d.ts +1 -1
  8. package/dist/folder-venue-rule.d.ts.map +1 -1
  9. package/dist/folder-venue-rule.js +4 -2
  10. package/dist/folder-venue-rule.js.map +1 -1
  11. package/dist/presets.d.ts +21 -2
  12. package/dist/presets.d.ts.map +1 -1
  13. package/dist/presets.js +71 -17
  14. package/dist/presets.js.map +1 -1
  15. package/dist/register-bands.d.ts +1 -7
  16. package/dist/register-bands.d.ts.map +1 -1
  17. package/dist/register-bands.js +12 -19
  18. package/dist/register-bands.js.map +1 -1
  19. package/dist/rule-sets.d.ts +43 -0
  20. package/dist/rule-sets.d.ts.map +1 -0
  21. package/dist/rule-sets.js +59 -0
  22. package/dist/rule-sets.js.map +1 -0
  23. package/dist/rules-config.d.ts +2 -1
  24. package/dist/rules-config.d.ts.map +1 -1
  25. package/dist/rules-config.js +17 -3
  26. package/dist/rules-config.js.map +1 -1
  27. package/dist/tex-requirements.d.ts +2 -0
  28. package/dist/tex-requirements.d.ts.map +1 -1
  29. package/dist/tex-requirements.js +1 -0
  30. package/dist/tex-requirements.js.map +1 -1
  31. package/dist/tex-venue-rules.d.ts +2 -1
  32. package/dist/tex-venue-rules.d.ts.map +1 -1
  33. package/dist/tex-venue-rules.js +3 -2
  34. package/dist/tex-venue-rules.js.map +1 -1
  35. package/docs/configuration.md +9 -2
  36. package/docs/optional-rules.md +48 -6
  37. package/docs/rules/paper/folder-venue-leftover.md +10 -7
  38. package/docs/rules/tex/claim-emphasis.md +1 -1
  39. package/docs/rules/tex/claim-provenance.md +3 -3
  40. package/docs/rules/tex/contrast-frames.md +1 -1
  41. package/docs/rules/tex/max-caption-words.md +1 -1
  42. package/docs/rules/tex/max-paragraph-numbers.md +1 -1
  43. package/docs/rules/tex/max-paragraph-words.md +1 -1
  44. package/docs/rules/tex/max-sentence-words.md +1 -1
  45. package/docs/rules/tex/negated-sentences.md +1 -1
  46. package/docs/rules/tex/register.md +1 -1
  47. package/docs/rules/tex/relation-markers.md +1 -1
  48. package/docs/rules/tex/venue-leftover.md +13 -1
  49. package/docs/rules.md +21 -18
  50. package/fixtures/real-papers.test.ts +3 -0
  51. package/package.json +1 -1
  52. package/presets/acm-sigconf.md +1 -1
  53. package/presets/agenticdev.jsonc +5 -2
  54. package/presets/agenticdev.md +4 -2
  55. package/presets/aidc.jsonc +2 -1
  56. package/presets/aidc.md +4 -3
  57. package/presets/aisec.jsonc +9 -3
  58. package/presets/aisec.md +4 -1
  59. package/presets/ase.jsonc +145 -0
  60. package/presets/ase.md +178 -0
  61. package/presets/ccs.jsonc +87 -0
  62. package/presets/ccs.md +184 -0
  63. package/presets/icse.jsonc +100 -0
  64. package/presets/icse.md +126 -0
  65. package/presets/ieee-conference.md +1 -1
  66. package/presets/sp.jsonc +152 -0
  67. package/presets/sp.md +160 -0
  68. package/presets/venue-profile.schema.json +7 -2
  69. package/src/cli.harness.mjs +25 -5
  70. package/src/cli.ts +43 -30
  71. package/src/domain/venue-name.test.ts +4 -4
  72. package/src/folder-venue-rule.test.ts +23 -2
  73. package/src/folder-venue-rule.ts +8 -8
  74. package/src/lint-fix.test.ts +15 -2
  75. package/src/new-paper.test.ts +2 -2
  76. package/src/paper-includes.test.ts +62 -1
  77. package/src/paper-settings-commands.test.ts +1 -1
  78. package/src/preset-card-rule.test.ts +4 -0
  79. package/src/presets.test.ts +141 -4
  80. package/src/presets.ts +120 -22
  81. package/src/register-bands.ts +13 -23
  82. package/src/rule-cases.test.ts +155 -16
  83. package/src/rule-sets.test.ts +150 -0
  84. package/src/rule-sets.ts +63 -0
  85. package/src/rules-config.ts +31 -3
  86. package/src/tex-requirements.ts +4 -0
  87. package/src/tex-venue-rules.test.ts +45 -1
  88. package/src/tex-venue-rules.ts +3 -2
  89. package/src/venue-rules.test.ts +2 -2
@@ -0,0 +1,152 @@
1
+ // IEEE S&P 2027 (the 48th IEEE Symposium on Security and Privacy, "Oakland"), research papers and
2
+ // SoK papers — a VENUE preset over the IEEE conference family. Everything the IEEEtran template
3
+ // decides (page size, columns, fonts, body size, TeX packages) comes from ieee-conference.jsonc;
4
+ // this file adds what S&P's call for papers sets.
5
+ //
6
+ // Verbatim from https://sp2027.ieee-security.org/cfpapers.html (fetched 2026-11-19):
7
+ // «Submitted papers may include up to 13 pages of text and up to 5 pages for references and
8
+ // appendices, totaling no more than 18 pages. All text and figures past page 13 must be clearly
9
+ // marked as part of the appendix. The final camera-ready paper must be no more than 18 pages,
10
+ // although, at the PC chairs' discretion, additional pages may be allowed. Reviewers are not
11
+ // required to read appendices. For SoK papers, the references do not count towards the number
12
+ // of pages.»
13
+ // «Papers that are over the allowed number of pages will be rejected without review.»
14
+ // «Papers must be formatted for US letter (not A4) size paper. All submissions must use the IEEE
15
+ // "compsoc" conference proceedings template. LaTeX submissions using the IEEE templates must use
16
+ // IEEEtran.cls version 1.8b with options "conference,compsoc." (That is, begin your LaTeX
17
+ // document with the line \documentclass[conference,compsoc]{IEEEtran}.)»
18
+ // «Papers must be submitted in a form suitable for anonymous review: no author names or
19
+ // affiliations (whether they are real or the default fake names included in the IEEE template)
20
+ // may appear on the title page, and papers should avoid revealing authors' identity in the
21
+ // text.»
22
+ // «All deadlines are 23:59:59 AoE (UTC-12).»
23
+ //
24
+ // 🔴 TWO SUBMISSION CYCLES, TWO PORTALS. The call: «First deadline: https://cycle1.sp2027.ieee-security.org/»
25
+ // and «Second deadline: https://cycle2.sp2027.ieee-security.org». A preset holds one portal and one
26
+ // reading of each deadline, so it carries the SECOND cycle, the later one; the first cycle's dates,
27
+ // with their quotes and the portal's readings, are in the card (sp.md beside this file). Both
28
+ // cycles' paper deadlines had passed on the day this was read (cycle 2: 2026-11-17 AoE); no S&P
29
+ // 2028 call was found that day (a web search found none, and sp2028.ieee-security.org could not be
30
+ // reached).
31
+ //
32
+ // Its card, in prose: `sp.md` beside this file.
33
+ {
34
+ "type": "venue",
35
+ "name": "IEEE S&P",
36
+ // The call quoted above.
37
+ "url": "https://sp2027.ieee-security.org/cfpapers.html",
38
+ "extends": "paperlint:ieee-conference",
39
+
40
+ // «Papers must be submitted in a form suitable for anonymous review» (the call above), and
41
+ // `"blind":true` in the status data of both cycles' portals
42
+ // (https://cycle1.sp2027.ieee-security.org/deadlines and
43
+ // https://cycle2.sp2027.ieee-security.org/deadlines, read 2026-11-19). anonymity/identity then
44
+ // requires the paper's `identity`.
45
+ "blind": true,
46
+
47
+ // The second cycle's HotCRP site, named in the call (the note above). Recorded 2026-11-19:
48
+ // `/api/whoami` on this site answers 401 «Missing credentials» without a token — the HotCRP API,
49
+ // there.
50
+ "portal": {
51
+ "kind": "hotcrp",
52
+ "url": "https://cycle2.sp2027.ieee-security.org",
53
+ },
54
+
55
+ // The second cycle. The portal's readings, from its public deadlines page, read 2026-11-19:
56
+ // «Registration deadline: Wednesday Nov 11, 2026, 7:59:59 AM EST» (`"reg":1794401999`,
57
+ // 2026-11-11T12:59:59Z)
58
+ // «Submission deadline: Wednesday Nov 18, 2026, 6:59:59 AM EST» (`"sub":1795003199`,
59
+ // 2026-11-18T11:59:59Z)
60
+ // The call's, «All deadlines are 23:59:59 AoE (UTC-12)»:
61
+ // «Abstract registration deadline: November 10, 2026» → 2026-11-11T11:59:59Z
62
+ // «Paper submission deadline: November 17, 2026» → 2026-11-18T11:59:59Z
63
+ // «Acceptance notification: March 5, 2027» → 2027-03-06T11:59:59Z
64
+ // «Camera-ready deadline: April 8, 2027» → 2027-04-09T11:59:59Z
65
+ // 🔴 THE REGISTRATION READINGS DISAGREE BY ONE HOUR: the portal closes registration at
66
+ // 12:59:59 UTC, an hour after the end of the call's AoE day. Both are kept; the earlier, the
67
+ // call's, binds. The submission readings agree.
68
+ "deadlines": [
69
+ {
70
+ "what": "registration",
71
+ "at": "2026-11-11T12:59:59Z",
72
+ "source": "portal",
73
+ "url": "https://cycle2.sp2027.ieee-security.org/deadlines",
74
+ "read": "2026-11-19",
75
+ },
76
+ {
77
+ "what": "registration",
78
+ "at": "2026-11-11T11:59:59Z",
79
+ "source": "call",
80
+ "url": "https://sp2027.ieee-security.org/cfpapers.html",
81
+ "read": "2026-11-19",
82
+ },
83
+ {
84
+ "what": "submission",
85
+ "at": "2026-11-18T11:59:59Z",
86
+ "source": "portal",
87
+ "url": "https://cycle2.sp2027.ieee-security.org/deadlines",
88
+ "read": "2026-11-19",
89
+ },
90
+ {
91
+ "what": "submission",
92
+ "at": "2026-11-18T11:59:59Z",
93
+ "source": "call",
94
+ "url": "https://sp2027.ieee-security.org/cfpapers.html",
95
+ "read": "2026-11-19",
96
+ },
97
+ {
98
+ "what": "notification",
99
+ "at": "2027-03-06T11:59:59Z",
100
+ "source": "call",
101
+ "url": "https://sp2027.ieee-security.org/cfpapers.html",
102
+ "read": "2026-11-19",
103
+ },
104
+ {
105
+ "what": "camera-ready",
106
+ "at": "2027-04-09T11:59:59Z",
107
+ "source": "call",
108
+ "url": "https://sp2027.ieee-security.org/cfpapers.html",
109
+ "read": "2026-11-19",
110
+ },
111
+ ],
112
+
113
+ // What the venue is called in a paper's text (tex/venue-leftover) — and only beside a year
114
+ // («S&P 2027», «Oakland'27»): security papers name S&P as the venue of the work they cite, and
115
+ // «S&P» is also the stock index, «Oakland» a city. «Oakland» is the call's own «Since 1980 in
116
+ // Oakland». The bare «SP» (IEEE Xplore's acronym for the proceedings) is left out: as a folder
117
+ // word (paper/folder-venue-leftover matches words, case ignored) it would take any «sp».
118
+ "aliases": ["S&P", "Oakland"],
119
+ "mentions": "with-year",
120
+
121
+ // The class line the call names (tex/template).
122
+ "template": "\\documentclass[conference,compsoc]{IEEEtran}",
123
+
124
+ "format": {
125
+ // \textwidth and \textheight of [conference,compsoc], measured (ieee-conference.jsonc).
126
+ "textblock_w_in": 7.0,
127
+ "textblock_h_in": 9.02,
128
+
129
+ // 🔴 THE 13 PAGES ARE THE TEXT BEFORE THE REFERENCES AND THE APPENDICES: «up to 13 pages of text
130
+ // and up to 5 pages for references and appendices» and «All text and figures past page 13 must
131
+ // be clearly marked as part of the appendix.» So format/page-limit counts the body up to where
132
+ // the references or the appendix start, whichever comes first (`body_ends_at`), not by banal's
133
+ // count, which calls any page with non-bibliography text body (aidc.jsonc measures how an
134
+ // appendix then pushes a correct paper over). Load hyperref: without it an appendix before the
135
+ // references is counted as body (docs/rules/format/page-limit.md).
136
+ "body_ends_at": "references",
137
+
138
+ "kinds": {
139
+ // «up to 13 pages of text and up to 5 pages for references and appendices, totaling no more
140
+ // than 18 pages». Under `body_ends_at`, `ref_pages_max` is judged on banal's count of
141
+ // reference pages (src/venue-rules.ts, judgePages: the text replaces only the body's count),
142
+ // as for AISec's «references and appendices» (aisec.jsonc); the total, pdf.js's page count,
143
+ // is gated too. Not measured on an S&P build.
144
+ "research": { "body_pages_max": 13, "ref_pages_max": 5, "pages_max": 18 },
145
+ // «For SoK papers, the references do not count towards the number of pages.» So neither the
146
+ // references nor a total is limited. The appendices' own share (5 pages, if the 18 still
147
+ // holds without the references) is not something the call states, and the preset cannot
148
+ // count appendix pages apart from reference pages: not encoded (sp.md, «Not verified»).
149
+ "sok": { "body_pages_max": 13, "ref_pages_max": "unlimited" },
150
+ },
151
+ },
152
+ }
package/presets/sp.md ADDED
@@ -0,0 +1,160 @@
1
+ ---
2
+ title: "IEEE S&P — venue card"
3
+ ---
4
+
5
+ # IEEE S&P (IEEE Symposium on Security and Privacy, "Oakland")
6
+
7
+ The card of the venue preset `paperlint:sp` ([`sp.jsonc`](sp.jsonc)): what the venue asks for, in
8
+ prose. The numbers a machine checks live in the preset; the section at the end is generated from
9
+ it. The `submit-paper` skill reads this card for the venue's specifics.
10
+
11
+ **Re-verify the call for papers every year**
12
+ ([sp2027.ieee-security.org/cfpapers.html](https://sp2027.ieee-security.org/cfpapers.html)). Sources
13
+ read 2026-11-19: that page, [the home page](https://sp2027.ieee-security.org/index.html), and the
14
+ public deadlines pages of the two portals,
15
+ [cycle 1](https://cycle1.sp2027.ieee-security.org/deadlines) and
16
+ [cycle 2](https://cycle2.sp2027.ieee-security.org/deadlines). The call holds the dates; there is no
17
+ separate dates page. No S&P 2028 call was found that day (a web search found none, and
18
+ `sp2028.ieee-security.org` could not be reached), so this is the 2027 edition, **whose two paper
19
+ deadlines had both passed** when it was read.
20
+
21
+ ## The venue (2027 edition, the 48th)
22
+
23
+ - **Venue**: the research papers (and SoK papers) of the **48th IEEE Symposium on Security and
24
+ Privacy**, «May 17-19, 2027» in Montreal, the workshops on May 20 (the home page).
25
+ - **Format**, verbatim from the call: «Papers must be formatted for US letter (not A4) size paper.
26
+ All submissions must use the IEEE "compsoc" conference proceedings template. LaTeX submissions
27
+ using the IEEE templates must use IEEEtran.cls version 1.8b with options "conference,compsoc."
28
+ (That is, begin your LaTeX document with the line \documentclass[conference,compsoc]{IEEEtran}.)»
29
+ and «Papers that fail to use the "compsoc" template (including using the non-compsoc IEEE
30
+ conference template), modify margins, font, or line spacing, or use egregious space scrunching are
31
+ subject to rejection without review.» It adds: «some LaTeX packages (e.g., \usepackage{usenix})
32
+ override the compsoc formatting and must be removed.»
33
+ - **Double-blind**: «Papers must be submitted in a form suitable for anonymous review: no author
34
+ names or affiliations (whether they are real or the default fake names included in the IEEE
35
+ template) may appear on the title page, and papers should avoid revealing authors' identity in
36
+ the text.» Also: no identifying acknowledgments, own work cited in the third person, anonymized
37
+ artifact repositories, and «Submitted papers should not include full CVE identifiers in order to
38
+ preserve the anonymity of the submission.» «Papers that are not properly anonymized may be
39
+ rejected without review.» Both portals say `"blind":true`.
40
+ - **Portals**: HotCRP, one site per cycle — «First deadline: https://cycle1.sp2027.ieee-security.org/»
41
+ and «Second deadline: https://cycle2.sp2027.ieee-security.org». The preset names the second.
42
+ - **Submission cap**: «Any author may submit no more than 6 papers per cycle.»
43
+ - **ORCID**: «All authors are required to submit an ORCID number at abstract submission time.»
44
+ - **Server crashes**: «The authors are responsible for having a draft submitted 24 hours before the
45
+ deadline.»
46
+
47
+ ## Dates: two cycles
48
+
49
+ The call: «All deadlines are 23:59:59 AoE (UTC-12).» An AoE day ends at 11:59:59 UTC the next day.
50
+
51
+ | what | cycle 1 (the call) | cycle 2 (the call) |
52
+ | -------------------------------------------- | ------------------ | ------------------ |
53
+ | Abstract registration deadline | June 4, 2026 | November 10, 2026 |
54
+ | Paper submission deadline | June 11, 2026 | November 17, 2026 |
55
+ | Early-reject notification | July 27, 2026 | January 18, 2027 |
56
+ | Reviews released | August 20, 2026 | February 11, 2027 |
57
+ | Rebuttal text due | August 27, 2026 | February 16, 2027 |
58
+ | Beginning of the interactive period | August 26, 2026 | February 17, 2027 |
59
+ | End of the interactive rebuttal and revision | September 3, 2026 | February 26, 2027 |
60
+ | Acceptance notification | September 11, 2026 | March 5, 2027 |
61
+ | Submission to shepherd | October 2, 2026 | March 26, 2027 |
62
+ | Camera-ready deadline | October 16, 2026 | April 8, 2027 |
63
+
64
+ The portals' readings, 2026-11-19:
65
+
66
+ - **Cycle 1** (`https://cycle1.sp2027.ieee-security.org/deadlines`): «Registration deadline: Friday
67
+ Jun 5, 2026, 7:59:59 AM EDT» (`"reg":1780660799`, 2026-06-05T11:59:59Z) and «Submission deadline:
68
+ Friday Jun 12, 2026, 7:59:59 AM EDT» (`"sub":1781265599`, 2026-06-12T11:59:59Z): the ends of the
69
+ call's AoE days. 🔴 Its status data also holds `"final":{"open":true,"done":1823774399}`,
70
+ 2027-10-17T11:59:59Z — the end of **October 16, 2027** AoE, while the call says «Camera-ready
71
+ deadline: October 16, 2026». A year apart; the call's date is the one in the cycle's sequence. Not
72
+ in the preset, which carries cycle 2.
73
+ - **Cycle 2** (`https://cycle2.sp2027.ieee-security.org/deadlines`): «Registration deadline:
74
+ Wednesday Nov 11, 2026, 7:59:59 AM EST» (`"reg":1794401999`, **2026-11-11T12:59:59Z**) and
75
+ «Submission deadline: Wednesday Nov 18, 2026, 6:59:59 AM EST» (`"sub":1795003199`,
76
+ 2026-11-18T11:59:59Z). 🔴 **The registration readings disagree by one hour**: the call's
77
+ November 10 AoE ends at 11:59:59Z, the portal's at 12:59:59Z. The preset keeps both (`source:
78
+ "portal"` and `source: "call"`); the earlier, the call's, binds. The submission readings agree.
79
+
80
+ The preset carries cycle 2: registration and submission from the portal and the call, notification
81
+ and camera-ready from the call. A preset holds one portal and one reading of each kind per source,
82
+ so a paper in cycle 1 records that cycle's dates in its own cycle.
83
+
84
+ The call also says, under «Updates for Cycle 2»: «If submissions exceed the tolerances we have
85
+ planned, we may need to adjust parts of the process in order to protect review quality. These
86
+ changes may include (but are not limited to): Adjusting dates including the early rejection
87
+ notifications, rebuttal period and final decision notifications.»
88
+
89
+ ## Paper kinds and limits
90
+
91
+ | kind | text pages | references and appendices | total | what the call says |
92
+ | ---------- | ---------: | ------------------------: | ----: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
93
+ | `research` | 13 | 5 | 18 | «Submitted papers may include up to 13 pages of text and up to 5 pages for references and appendices, totaling no more than 18 pages. All text and figures past page 13 must be clearly marked as part of the appendix.» |
94
+ | `sok` | 13 | references: not counted | — | «For SoK papers, the references do not count towards the number of pages.» SoK papers are «distinguished by the prefix "SoK:" in the title and a checkbox on the submission form». |
95
+
96
+ «Papers that are over the allowed number of pages will be rejected without review.» «Reviewers are
97
+ not required to read appendices.» «The final camera-ready paper must be no more than 18 pages,
98
+ although, at the PC chairs' discretion, additional pages may be allowed.» — the camera-ready's, not
99
+ the submission's, so not in the preset.
100
+
101
+ 🔴 **The 13 pages are the text before the references and the appendix**, whichever comes first
102
+ (`format.body_ends_at: "references"`), and the page they end on counts when text stands above the
103
+ heading there. banal's count would call any page with non-bibliography text body, so an appendix
104
+ would push a correct paper over (measured for AIDC on the same template, `aidc.jsonc`). **Load
105
+ hyperref**: without it an appendix placed before the references is counted as text
106
+ (`docs/rules/format/page-limit.md`). The five pages of references and appendices are judged on
107
+ banal's count of reference pages, and the 18 pages on the PDF's page count.
108
+
109
+ ## What else the preset encodes
110
+
111
+ - **The IEEE template**, through `extends: paperlint:ieee-conference` — letter paper, two columns,
112
+ Times at 10 pt, IEEEtran's TeX packages ([`ieee-conference.md`](ieee-conference.md)) — with
113
+ `conference` and `compsoc` required in the class line (`tex/template`) and compsoc's text block,
114
+ 7.00 × 9.02 in.
115
+ - **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
116
+ declared `identity`.
117
+ - **Where submissions go** (`portal`): the cycle-2 HotCRP site; `paperlint submission` reads and
118
+ updates a paper's submission through HotCRP's API there (`/api/whoami` answered 401 «Missing
119
+ credentials» without a token, 2026-11-19).
120
+ - **Names**: `IEEE S&P`, `S&P` and `Oakland`, what `tex/venue-leftover` looks for in another
121
+ venue's paper — only with a year beside it (`mentions: with-year`: «S&P 2027», «Oakland'27»),
122
+ since security papers name S&P as the venue of work they cite, «S&P» is also a stock index and
123
+ «Oakland» a city. «Oakland» is the call's «Since 1980 in Oakland». IEEE Xplore's bare «SP» is
124
+ left out: `paper/folder-venue-leftover` matches folder words, case ignored, and would take any
125
+ «sp».
126
+ - **No required section**: the «Ethics Considerations» and «Generative AI usage considerations»
127
+ are HotCRP fields at registration, not sections of the submitted PDF. The call: «authors of
128
+ accepted papers will be asked to add the "Ethics Considerations" section itself to their
129
+ manuscript at the camera ready stage, where it will not count toward page limits» — a
130
+ camera-ready requirement, so not `required_sections`.
131
+
132
+ ## Not verified
133
+
134
+ - **The SoK appendices' limit**: whether a SoK paper's appendices are still held to five pages (the
135
+ call says only that its references do not count). The preset limits a SoK paper's text to 13
136
+ pages and nothing else.
137
+ - **The submission form's fields** (`submission_fields`): the call names the SoK checkbox, the
138
+ «Ethics Considerations» and «Generative AI usage considerations» fields, and conflict types, but
139
+ the form was not read logged in, so none is recorded.
140
+ - **The cycle-1 camera-ready**: the call's October 16, 2026 against the portal's 2027-10-17T11:59:59Z
141
+ (above); not resolved by the organizers.
142
+ - **Remote presentation**: the call says «One of the authors of the accepted paper is expected to
143
+ register and present the paper at the conference» and that each paper gets «a short talk
144
+ presentation (e.g., 5-7 minutes, length determined based on the number of accepted papers) and
145
+ (b) a poster presentation»; it does not say whether a remote presentation is allowed. No `talk`.
146
+ - **Heading case and the register of the body**: not encoded (no accepted S&P paper is in
147
+ `fixtures/accepted-papers/`).
148
+
149
+ ## What the preset resolves to
150
+
151
+ <!-- paperlint:preset-rules -->
152
+ <!-- prettier-ignore-start -->
153
+ <!-- Generated from sp.jsonc by `npx eslint --fix` (rule preset/card-rules). Edit the preset, not this section. -->
154
+
155
+ **`paperlint:sp`** — venue preset for IEEE S&P · call for papers: <https://sp2027.ieee-security.org/cfpapers.html> · extends `paperlint:ieee-conference`
156
+
157
+ No preset of this chain sets a rule: under it, every rule keeps paperlint's default.
158
+
159
+ <!-- prettier-ignore-end -->
160
+ <!-- /paperlint:preset-rules -->
@@ -49,7 +49,7 @@
49
49
  "type": "boolean"
50
50
  },
51
51
  "aliases": {
52
- "description": "Other names the venue goes by in a paper's text — its acronym, its parent conference (`[\"AISec\", \"ACM CCS\"]`). Read by `tex/venue-leftover`: a paper that extends another venue and says one of these is flagged. Matched as whole words, case-sensitive. Also read by `paper/folder-venue-leftover`, against the words of the paper's folder name, case ignored. Collected along the `extends` chain, with `name`.",
52
+ "description": "Other names the venue goes by in a paper's text — its acronym (`[\"AISec\"]`); the conference a workshop is held at is its `parent`. Read by `tex/venue-leftover`: a paper that extends another venue and says one of these is flagged. Matched as whole words, case-sensitive. Also read by `paper/folder-venue-leftover`, against the words of the paper's folder name, case ignored. Collected along the `extends` chain, with `name`.",
53
53
  "type": "array",
54
54
  "uniqueItems": true,
55
55
  "items": {
@@ -57,6 +57,11 @@
57
57
  "minLength": 1
58
58
  }
59
59
  },
60
+ "parent": {
61
+ "description": "The conference a workshop is held at: `paperlint:<name>` (shipped) or a path starting with ./ or ../, relative to this file, naming a venue preset (`\"parent\": \"paperlint:ccs\"` in aisec.jsonc). The parent's `name` and `aliases`, and its own parent's, count as the paper's own names: `tex/venue-leftover` and `paper/folder-venue-leftover` never report them in a paper of this venue, and report them as the parent in any other venue's paper. A parent that does not resolve to a venue, or parents that name each other, are refused. Refused on a family. A child's value replaces its parent's.",
62
+ "type": "string",
63
+ "minLength": 1
64
+ },
60
65
  "mentions": {
61
66
  "description": "When the venue's `name` and `aliases` count as naming it in a paper's text (`tex/venue-leftover`). Absent: any whole-word use. `with-year`: only with a year beside the name — `MSR 2027`, `MSR'27`, `MSR~2027` — for a name that is also a common acronym (MSR: Microsoft Research, or an acronym a paper defines), where a bare use names something else far more often than the venue. A child's value replaces its parent's.",
62
67
  "type": "string",
@@ -535,7 +540,7 @@
535
540
  "properties": { "type": { "const": "family" } }
536
541
  },
537
542
  "then": {
538
- "properties": { "name": false, "url": false }
543
+ "properties": { "name": false, "url": false, "parent": false }
539
544
  }
540
545
  },
541
546
  {
@@ -917,9 +917,13 @@ check(
917
917
  join(paper, "PIPELINE-STATUS.md"),
918
918
  `---\nstages:\n - stage: submitted\n date: 2026-07-22\n pdf: versions/2026-07-22-submitted.pdf\n bytes: 100\n source: versions/s.tex\n sourceBytes: 4\n---\n# S\n\n| id | note |\n|---|---|\n| cites | bib-authors run |\n`,
919
919
  );
920
+ // `paper/section-word` is in the opt-in writing set: on for every paper here.
920
921
  writeFileSync(
921
922
  join(root, "paperlint.json"),
922
- JSON.stringify({ [PAPERS_DIR_FIELD]: "papers" }),
923
+ JSON.stringify({
924
+ [PAPERS_DIR_FIELD]: "papers",
925
+ rules: { "paperlint:writing": "warn" },
926
+ }),
923
927
  );
924
928
 
925
929
  const lax = await cli(["lint"], root);
@@ -1036,10 +1040,17 @@ check(
1036
1040
  // (`"papers/p"`). Keys are computed against ESLint's `cwd`, so a run started from a
1037
1041
  // subdirectory, or with `--config` from elsewhere, silently stopped honouring the debt.
1038
1042
  {
1043
+ // A message that names the paper's own `paperlint.json` names it as the reader typed it, so
1044
+ // relative to where the run started: that path is the run's, like the file paths, and is masked.
1039
1045
  const findings = (r) => {
1040
1046
  try {
1041
1047
  return JSON.parse(r.stdout)
1042
- .flatMap((x) => x.messages.map((m) => `${m.ruleId}: ${m.message}`))
1048
+ .flatMap((x) =>
1049
+ x.messages.map(
1050
+ (m) =>
1051
+ `${m.ruleId}: ${m.message.replace(/\S*papers\/p\/paperlint\.json/g, "<paper>/paperlint.json")}`,
1052
+ ),
1053
+ )
1043
1054
  .sort();
1044
1055
  } catch {
1045
1056
  return [`UNPARSABLE: ${r.out}`];
@@ -1052,8 +1063,14 @@ check(
1052
1063
  try {
1053
1064
  const paper = join(tree, "papers", "p");
1054
1065
  mkdirSync(paper, { recursive: true });
1055
- // Two findings of different kinds: a structural one (no scorecard) and a rule one (`§`).
1066
+ // Two findings of different kinds: a structural one (no scorecard) and a rule one (`§`). The
1067
+ // `§` rule is in the opt-in writing set, turned on in the paper's own file, which is read
1068
+ // wherever the command runs.
1056
1069
  writeFileSync(join(paper, "paper.tex"), tex("See § 3 and §4."));
1070
+ writeFileSync(
1071
+ join(paper, "paperlint.json"),
1072
+ JSON.stringify({ rules: { "paperlint:writing": "warn" } }),
1073
+ );
1057
1074
 
1058
1075
  const inside = await cli(["lint", "--json", "papers"], tree);
1059
1076
  const outside = await cli(
@@ -1077,12 +1094,15 @@ check(
1077
1094
  );
1078
1095
 
1079
1096
  // A `rules` block, its `files` relative to the config's directory, turns the `§` rule off
1080
- // for this paper — and it must reach the paper from wherever the command runs.
1097
+ // for this paper — and it must reach the paper from wherever the command runs. The set moves
1098
+ // to the root file, before the block: a paper's own file would win over the root's.
1099
+ rmSync(join(paper, "paperlint.json"));
1081
1100
  writeFileSync(
1082
1101
  join(tree, "paperlint.json"),
1083
1102
  JSON.stringify({
1084
1103
  [PAPERS_DIR_FIELD]: "papers",
1085
1104
  rules: [
1105
+ { rules: { "paperlint:writing": "warn" } },
1086
1106
  { files: ["papers/p/**"], rules: { "paper/section-word": "off" } },
1087
1107
  ],
1088
1108
  }),
@@ -1859,7 +1879,7 @@ console.log(
1859
1879
  ),
1860
1880
  );
1861
1881
  settings({
1862
- rules: [{ files: ["papers/**"], rules: { "paper/section-word": "off" } }],
1882
+ rules: [{ files: ["papers/**"], rules: { "tex/future-promise": "off" } }],
1863
1883
  });
1864
1884
  check(
1865
1885
  "a built-in rule's severity can be changed the same way",
package/src/cli.ts CHANGED
@@ -47,6 +47,7 @@ import {
47
47
  FRAGMENT_FILES,
48
48
  includeBlocks,
49
49
  paperBodies,
50
+ type PaperBody,
50
51
  } from "./paper-includes.ts";
51
52
  import { omit } from "remeda";
52
53
  import { refusalOf } from "./unowned-file.ts";
@@ -89,10 +90,7 @@ import {
89
90
  import { claimProvenanceRule } from "./claim-provenance.ts";
90
91
  import { termDefinitionRules } from "./term-definition-rules.ts";
91
92
  import { registerRule } from "./register.ts";
92
- import {
93
- REGISTER_BAND_RULE_LEVELS,
94
- registerBandRules,
95
- } from "./register-bands.ts";
93
+ import { registerBandRules } from "./register-bands.ts";
96
94
  import { headingCaseRule } from "./heading-case.ts";
97
95
  import {
98
96
  maxParagraphNumbersRule,
@@ -577,11 +575,10 @@ export function buildConfig(
577
575
  ...referenceRules(RECORDED_DEPS),
578
576
  ...sourcesRules(RECORD_DEPS),
579
577
  };
580
- // Each typography rule reports every occurrence where it is, and fixes it (`--fix`).
581
- const prose = {
582
- "paper/section-word": "warn",
583
- "paper/leading-zero": "warn",
584
- };
578
+ // The typography rules (each fixes what it reports, `--fix`), `tex/claim-provenance`,
579
+ // `tex/register` and the register bands are registered here and on for no file: they flag the
580
+ // writing, not what the venue decides, so they are in the opt-in set `paperlint:writing`
581
+ // (src/rule-sets.ts).
585
582
  const md = MARKDOWN_WITH_FRONTMATTER;
586
583
 
587
584
  const cfg: ConfigBlock[] = [
@@ -687,19 +684,10 @@ export function buildConfig(
687
684
  },
688
685
  language: "tex/latex",
689
686
  rules: {
690
- ...prose,
691
687
  ...REFERENCE_RULE_LEVELS,
692
688
  ...SOURCES_RULE_LEVELS,
693
- "paper/figure-ref-style": "warn",
694
689
  ...BIB_RULE_LEVELS,
695
690
  "tex/future-promise": "warn",
696
- // A number with no owner: a prose rule, on beside the others above.
697
- "tex/claim-provenance": "warn",
698
- // Sentence-initial conjunctions over the whole body: register, not vocabulary.
699
- "tex/register": "warn",
700
- // Contrast frames, claims in bold, relation markers: each against the band the venue
701
- // preset's anchors set, silent for a preset without anchors (src/register-bands.ts).
702
- ...REGISTER_BAND_RULE_LEVELS,
703
691
  "tex/acm-frontmatter-override": "error",
704
692
  // Silent for a paper whose paperlint.json names no venue (src/venue-rules.ts).
705
693
  ...VENUE_RULE_LEVELS,
@@ -737,12 +725,9 @@ export function buildConfig(
737
725
  },
738
726
  },
739
727
  language: "tex/latex",
740
- rules: {
741
- "paper/section-word": "warn",
742
- "paper/leading-zero": "warn",
743
- "paper/figure-ref-style": "warn",
744
- "tex/future-promise": "warn",
745
- },
728
+ // The typography rules are registered here so the writing set reaches a body file too;
729
+ // like on `paper.tex`, they are on only where a `rules` setting turns them on.
730
+ rules: { "tex/future-promise": "warn" },
746
731
  },
747
732
  ]
748
733
  : [];
@@ -872,7 +857,22 @@ export const OPTIONAL_RULES: ReadonlySet<string> = new Set(
872
857
  * project. Judged against the run alone, `paperlint lint papers/c` failed on a block written for
873
858
  * papers a and b (#103) — a block that reaches a paper outside this run is not dead. A glob that
874
859
  * reaches no paper of the project at all still fails, from a subset as from the whole.
860
+ *
861
+ * A paper's rules reach it through its `PIPELINE-STATUS.md` too, and the typography rules through
862
+ * every body file handed to ESLint (`bodyFiles`): a block whose `files` name only `sections/*.tex`
863
+ * runs there, and was refused as reaching nothing until those files were probed as well. They are
864
+ * the files read from each paper's record BEFORE the run (`bodyFilesOf`), never read again after
865
+ * it: `--fix` rewrites a body file, the record no longer matches it, and a second read found no
866
+ * body files and refused a run whose rule had just fixed one.
875
867
  */
868
+ /** The body files `bodies` handed to ESLint, for the paper whose `paper.tex` is `main`. */
869
+ const bodyFilesOf =
870
+ (bodies: readonly PaperBody[]) =>
871
+ (main: string): readonly string[] =>
872
+ bodies
873
+ .filter((b) => resolve(b.main) === resolve(main))
874
+ .flatMap((b) => b.files);
875
+
876
876
  /** What `calculateConfigForFile` answers, read for its rules: undefined for a file outside ESLint's cwd or scope. */
877
877
  const ComputedConfig = z
878
878
  .object({ rules: z.record(z.string(), z.unknown()).optional() })
@@ -882,6 +882,7 @@ export async function silentOptionalRules(
882
882
  eslint: Pick<ESLint, "calculateConfigForFile">,
883
883
  files: readonly string[],
884
884
  opts: PaperlintConfig,
885
+ bodyFiles: (main: string) => readonly string[] = () => [],
885
886
  ): Promise<string[]> {
886
887
  const turnedOn = new Set(
887
888
  (opts.rules ?? []).flatMap((b) =>
@@ -891,11 +892,11 @@ export async function silentOptionalRules(
891
892
  ),
892
893
  );
893
894
  const reached = new Set<string>();
894
- // A paper's rules reach it through two files: `paper.tex` and the `PIPELINE-STATUS.md` beside it,
895
- // where the rules about the paper folder itself run.
895
+ // A paper's rules reach it through `paper.tex`, the `PIPELINE-STATUS.md` beside it, where the
896
+ // rules about the paper folder itself run, and the body files its last build recorded.
896
897
  const probes = [
897
898
  ...new Set(files.filter((p) => basename(p) === MAIN)),
898
- ].flatMap((f) => [f, join(dirname(f), STATUS_FILE)]);
899
+ ].flatMap((f) => [f, join(dirname(f), STATUS_FILE), ...bodyFiles(f)]);
899
900
  for (const probe of probes) {
900
901
  // Undefined for a file outside ESLint's cwd or scope: it reaches nothing.
901
902
  const cfg = ComputedConfig.parse(
@@ -2367,7 +2368,7 @@ export async function run(
2367
2368
  stats: true,
2368
2369
  });
2369
2370
  if (!engine.ok) return (err(engine.error), 2);
2370
- const { eslint, opts: withPapers } = engine.value;
2371
+ const { eslint, opts: withPapers, bodies } = engine.value;
2371
2372
 
2372
2373
  const unowned = await firstUnownedFile(eslint, paths);
2373
2374
  if (unowned !== null) {
@@ -2424,6 +2425,7 @@ export async function run(
2424
2425
  .flatMap((r) => papersIn(r))
2425
2426
  .map((d) => join(d, MAIN))
2426
2427
  .filter((f) => existsSync(f)),
2428
+ bodies,
2427
2429
  });
2428
2430
  hooksLine(root, err, skillLinks);
2429
2431
  // On stderr, so `--json` leaves stdout a clean array.
@@ -2455,7 +2457,14 @@ async function paperEslint(
2455
2457
  /** ESLint's own per-rule timings on each result (`paperlint lint` reads them; the hook does not). */
2456
2458
  readonly stats: boolean;
2457
2459
  },
2458
- ): Promise<Parsed<{ eslint: ESLint; opts: PaperlintConfig }>> {
2460
+ ): Promise<
2461
+ Parsed<{
2462
+ eslint: ESLint;
2463
+ opts: PaperlintConfig;
2464
+ /** The body files handed to ESLint, read from each paper's record BEFORE the run (`--fix` may change them). */
2465
+ bodies: readonly PaperBody[];
2466
+ }>
2467
+ > {
2459
2468
  // The order, most general first so the most specific wins (ESLint: a later block wins): each
2460
2469
  // paper's venue preset → the root paperlint.json → the paper's own paperlint.json.
2461
2470
  const papers = paperRuleBlocks(paths);
@@ -2491,7 +2500,7 @@ async function paperEslint(
2491
2500
  fix,
2492
2501
  stats,
2493
2502
  });
2494
- return { ok: true, value: { eslint, opts } };
2503
+ return { ok: true, value: { eslint, opts, bodies } };
2495
2504
  }
2496
2505
 
2497
2506
  /**
@@ -2635,6 +2644,7 @@ async function reportLint(
2635
2644
  where,
2636
2645
  opts,
2637
2646
  projectPapers,
2647
+ bodies,
2638
2648
  }: {
2639
2649
  a: Args;
2640
2650
  log: typeof console.log;
@@ -2642,12 +2652,15 @@ async function reportLint(
2642
2652
  where: string;
2643
2653
  opts: PaperlintConfig;
2644
2654
  projectPapers: readonly string[];
2655
+ /** The body files handed to ESLint, as read before the run. */
2656
+ bodies: readonly PaperBody[];
2645
2657
  },
2646
2658
  ): Promise<number> {
2647
2659
  const silent = await silentOptionalRules(
2648
2660
  eslint,
2649
2661
  [...results.map((r) => r.filePath), ...projectPapers],
2650
2662
  opts,
2663
+ bodyFilesOf(bodies),
2651
2664
  );
2652
2665
  if (silent.length > 0) {
2653
2666
  err(
@@ -31,7 +31,7 @@ describe("nameTokens — a name as the words it is made of", () => {
31
31
  /**
32
32
  * The venues are the SHIPPED presets, read through the one source of venue names
33
33
  * (`shippedVenueNames`) — never a list of names written here. A case below depends on what a preset
34
- * says (`aidc`'s alias ACSAC, `aisec`'s ACM CCS); a preset edit that changes it shows here.
34
+ * says (`aidc`'s alias ACSAC, `ccs`'s name ACM CCS); a preset edit that changes it shows here.
35
35
  */
36
36
  const VENUES: readonly NamedVenue[] = shippedVenueNames({
37
37
  files: nodeFiles,
@@ -43,11 +43,11 @@ describe("venuesNamedBy — which venues a folder name names", () => {
43
43
  ["the label", "aisec-2026", [{ venue: "AISec", name: "AISec" }]],
44
44
  ["an alias", "acsac-2026", [{ venue: "AIDC", name: "ACSAC" }]],
45
45
  [
46
- "a two-word alias, as two tokens in a row",
46
+ "a two-word name, as two tokens in a row",
47
47
  "acm-ccs-agents",
48
- [{ venue: "AISec", name: "ACM CCS" }],
48
+ [{ venue: "ACM CCS", name: "ACM CCS" }],
49
49
  ],
50
- ["the two words of an alias apart are not it", "acm-agents-ccs", []],
50
+ ["the two words of a name apart are not it", "acm-agents-ccs", []],
51
51
  ["glued to a year", "realm2026", [{ venue: "REALM", name: "REALM" }]],
52
52
  [
53
53
  "two venues, each once, in the order they are listed",