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.
- package/.github/workflows/deadlines.yml +1 -1
- package/CONTRIBUTING.md +8 -5
- package/README.md +19 -18
- package/dist/adapters/latex/index.d.ts +1 -0
- package/dist/adapters/latex/index.d.ts.map +1 -1
- package/dist/adapters/latex/index.js +3 -0
- package/dist/adapters/latex/index.js.map +1 -1
- package/dist/adapters/latex/parse.d.ts +9 -0
- package/dist/adapters/latex/parse.d.ts.map +1 -1
- package/dist/adapters/latex/parse.js +12 -0
- package/dist/adapters/latex/parse.js.map +1 -1
- package/dist/adapters/latex/venue-lines.d.ts +10 -0
- package/dist/adapters/latex/venue-lines.d.ts.map +1 -0
- package/dist/adapters/latex/venue-lines.js +11 -0
- package/dist/adapters/latex/venue-lines.js.map +1 -0
- package/dist/build.d.ts +1 -1
- package/dist/build.d.ts.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +17 -6
- package/dist/cli.js.map +1 -1
- package/dist/domain/body-pages.d.ts +1 -1
- package/dist/domain/body-pages.js +1 -1
- package/dist/domain/edition.d.ts +35 -0
- package/dist/domain/edition.d.ts.map +1 -0
- package/dist/domain/edition.js +64 -0
- package/dist/domain/edition.js.map +1 -0
- package/dist/edition-rule.d.ts +17 -0
- package/dist/edition-rule.d.ts.map +1 -0
- package/dist/edition-rule.js +90 -0
- package/dist/edition-rule.js.map +1 -0
- package/dist/facts-file.d.ts +1 -1
- package/dist/facts-file.d.ts.map +1 -1
- package/dist/folder-layout-rule.js +1 -1
- package/dist/folder-layout-rule.js.map +1 -1
- package/dist/folder-venue-rule.d.ts +1 -1
- package/dist/folder-venue-rule.d.ts.map +1 -1
- package/dist/folder-venue-rule.js +15 -6
- package/dist/folder-venue-rule.js.map +1 -1
- package/dist/heading-case.js +1 -1
- package/dist/ports/latex.d.ts +6 -1
- package/dist/ports/latex.d.ts.map +1 -1
- package/dist/preset-card-rule.d.ts.map +1 -1
- package/dist/preset-card-rule.js +2 -1
- package/dist/preset-card-rule.js.map +1 -1
- package/dist/presets.d.ts +26 -8
- package/dist/presets.d.ts.map +1 -1
- package/dist/presets.js +86 -19
- package/dist/presets.js.map +1 -1
- package/dist/tex-requirements.d.ts +0 -2
- package/dist/tex-requirements.d.ts.map +1 -1
- package/dist/tex-requirements.js +0 -1
- package/dist/tex-requirements.js.map +1 -1
- package/dist/tex-venue-rules.d.ts +19 -8
- package/dist/tex-venue-rules.d.ts.map +1 -1
- package/dist/tex-venue-rules.js +81 -21
- package/dist/tex-venue-rules.js.map +1 -1
- package/dist/venue-rules.js +1 -1
- package/dist/venue-rules.js.map +1 -1
- package/docs/configuration.md +7 -6
- package/docs/optional-rules.md +2 -2
- package/docs/prior-art/hotcrp-option-types.md +1 -1
- package/docs/rules/anonymity/identity.md +2 -2
- package/docs/rules/cycle/record.md +4 -4
- package/docs/rules/paper/edition-over.md +66 -0
- package/docs/rules/paper/folder-venue-leftover.md +22 -18
- package/docs/rules/pdf/body-size.md +6 -6
- package/docs/rules/talk/profile.md +3 -3
- package/docs/rules/tex/claim-emphasis.md +1 -1
- package/docs/rules/tex/contrast-frames.md +1 -1
- package/docs/rules/tex/heading-case.md +20 -20
- package/docs/rules/tex/negated-sentences.md +1 -1
- package/docs/rules/tex/relation-markers.md +1 -1
- package/docs/rules/tex/venue-leftover.md +82 -44
- package/docs/rules.md +37 -24
- package/docs/submission.md +6 -6
- package/docs/talk.md +2 -2
- package/docs/venues.md +85 -5
- package/fixtures/build-e2e/acmart/expect.json +1 -1
- package/fixtures/build-e2e/acmart/paperlint.json +1 -1
- package/fixtures/build-e2e/aidc/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-ack/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-author/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-bib/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-href/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-macro/paperlint.json +1 -1
- package/fixtures/build-e2e/anon-pdfauthor/paperlint.json +1 -1
- package/fixtures/build-e2e/fallback/expect.json +1 -1
- package/fixtures/build-e2e/fse/expect.json +1 -1
- package/fixtures/build-e2e/fse/paperlint.json +1 -1
- package/fixtures/build-e2e/fse-over/expect.json +1 -1
- package/fixtures/build-e2e/fse-over/paperlint.json +1 -1
- package/fixtures/build-e2e/msr/paperlint.json +1 -1
- package/fixtures/build-e2e/msr-appendix-after/paperlint.json +1 -1
- package/lib/skill-checks.mjs +1 -1
- package/package.json +1 -1
- package/presets/acl-latex.jsonc +35 -0
- package/presets/acl-latex.md +40 -0
- package/presets/acm-acmsmall.md +1 -1
- package/presets/acm-sigconf.jsonc +1 -1
- package/presets/acm-sigconf.md +1 -1
- package/presets/acsac-2026.jsonc +19 -0
- package/presets/acsac-2026.md +46 -0
- package/presets/{agent.jsonc → agent-2027.jsonc} +14 -7
- package/presets/{agent.md → agent-2027.md} +10 -6
- package/presets/{agenticdev.jsonc → agenticdev-2026.jsonc} +6 -3
- package/presets/{agenticdev.md → agenticdev-2026.md} +5 -5
- package/presets/{agentverify.jsonc → agentverify-2027.jsonc} +10 -2
- package/presets/{agentverify.md → agentverify-2027.md} +9 -3
- package/presets/{aidc.jsonc → aidc-2026.jsonc} +12 -4
- package/presets/{aidc.md → aidc-2026.md} +8 -4
- package/presets/{aisec.jsonc → aisec-2026.jsonc} +7 -4
- package/presets/{aisec.md → aisec-2026.md} +7 -6
- package/presets/{ase.jsonc → ase-2026.jsonc} +9 -9
- package/presets/{ase.md → ase-2026.md} +8 -8
- package/presets/{ccs.jsonc → ccs-2026.jsonc} +4 -4
- package/presets/{ccs.md → ccs-2026.md} +4 -4
- package/presets/emnlp-2026.jsonc +21 -0
- package/presets/emnlp-2026.md +46 -0
- package/presets/{fse.jsonc → fse-2027.jsonc} +6 -7
- package/presets/{fse.md → fse-2027.md} +9 -9
- package/presets/icse-2027.jsonc +24 -0
- package/presets/icse-2027.md +53 -0
- package/presets/{icse.jsonc → icse-2028.jsonc} +8 -7
- package/presets/{icse.md → icse-2028.md} +9 -8
- package/presets/ieee-conference.jsonc +1 -1
- package/presets/ieee-conference.md +2 -2
- package/presets/{msr.jsonc → msr-2027.jsonc} +4 -5
- package/presets/{msr.md → msr-2027.md} +7 -7
- package/presets/{nlbse.jsonc → nlbse-2027.jsonc} +9 -1
- package/presets/{nlbse.md → nlbse-2027.md} +9 -3
- package/presets/{realm.jsonc → realm-2026.jsonc} +17 -27
- package/presets/{realm.md → realm-2026.md} +11 -4
- package/presets/{sp.jsonc → sp-2027.jsonc} +8 -8
- package/presets/{sp.md → sp-2027.md} +5 -5
- package/presets/tex/agenticdev.tex +1 -1
- package/presets/venue-profile.schema.json +28 -13
- package/scripts/refresh-deadlines/main.test.ts +4 -4
- package/scripts/refresh-deadlines/refresh.test.ts +9 -9
- package/skills/find-venue/SKILL.md +2 -2
- package/skills/find-venue/SKILL.md.spec.ts +1 -1
- package/skills/render-paper/extract-pdf-facts.harness.ts +2 -2
- package/skills/submit-paper/SKILL.md +7 -7
- package/skills/submit-paper/SKILL.md.spec.ts +6 -6
- package/src/adapters/latex/index.ts +3 -0
- package/src/adapters/latex/parse.ts +15 -0
- package/src/adapters/latex/venue-lines.ts +21 -0
- package/src/build.harness.mjs +5 -2
- package/src/build.ts +1 -1
- package/src/cli.test.ts +8 -6
- package/src/cli.ts +23 -6
- package/src/cycle-rules.test.ts +8 -6
- package/src/domain/body-pages.ts +1 -1
- package/src/domain/edition.ts +104 -0
- package/src/domain/submission-fields.test.ts +13 -10
- package/src/domain/venue-name.test.ts +41 -16
- package/src/domain/versions.test.ts +2 -2
- package/src/edition-rule.test.ts +164 -0
- package/src/edition-rule.ts +121 -0
- package/src/facts-file.test.ts +4 -4
- package/src/facts-file.ts +1 -1
- package/src/folder-layout-rule.test.ts +1 -1
- package/src/folder-layout-rule.ts +1 -1
- package/src/folder-venue-rule.test.ts +33 -11
- package/src/folder-venue-rule.ts +16 -7
- package/src/heading-case.test.ts +4 -4
- package/src/heading-case.ts +1 -1
- package/src/linted-set.test.ts +1 -1
- package/src/new-paper.test.ts +38 -25
- package/src/paper-files.test.ts +1 -1
- package/src/paper-settings-commands.test.ts +4 -4
- package/src/paper-settings.test.ts +16 -13
- package/src/ports/latex.ts +6 -0
- package/src/preset-card-rule.test.ts +30 -24
- package/src/preset-card-rule.ts +2 -1
- package/src/presets.test.ts +347 -70
- package/src/presets.ts +124 -31
- package/src/register-bands.test.ts +2 -2
- package/src/rule-cases.test.ts +26 -4
- package/src/submission-show.test.ts +3 -3
- package/src/submission-update.test.ts +1 -1
- package/src/submission.test.ts +1 -1
- package/src/talk-rules.test.ts +1 -1
- package/src/tex-requirements.harness.ts +2 -2
- package/src/tex-requirements.ts +2 -4
- package/src/tex-venue-rules.test.ts +187 -62
- package/src/tex-venue-rules.ts +129 -29
- package/src/venue-rules.test.ts +26 -23
- package/src/venue-rules.ts +1 -1
- package/src/versions-command.test.ts +2 -2
- package/templates/paper/paperlint.json +1 -1
|
@@ -12,14 +12,17 @@
|
|
|
12
12
|
"minLength": 1
|
|
13
13
|
},
|
|
14
14
|
"type": {
|
|
15
|
-
"description": "What this file is. `venue`: one venue's call for papers,
|
|
15
|
+
"description": "What this file is, exactly one of three. `venue`: one EDITION of a venue's call for papers, in a file named `<series>-<year>.jsonc` (`icse-2028`); it must say which venue (`name`) and where its call is (`url`). `family`: a publisher's template (acm-sigconf, ieee-conference, acl-latex) that venue presets extend, in a file whose name ends in no year; it names no venue, so it has neither `name` nor `url`. `base`: the TeX packages every paper gets (tex-base.jsonc); it holds only `tex` and nothing extends it.",
|
|
16
16
|
"type": "string",
|
|
17
17
|
"enum": ["venue", "family", "base"]
|
|
18
18
|
},
|
|
19
19
|
"name": {
|
|
20
|
-
"description": "A venue's name as its call for papers spells it (`AgenticDev`). Required on a venue, refused on a family. The label of messages, and one of the names `tex/venue-leftover` looks for.",
|
|
20
|
+
"description": "A venue's name as its call for papers spells it, WITHOUT a year (`AgenticDev`, `ICSE`): the year of a shipped edition is its id's (`icse-2028`), the one source of it, and a display that needs a year is the name and the id's year. Required on a venue, refused on a family. The label of messages, and one of the names `tex/venue-leftover` looks for.",
|
|
21
21
|
"type": "string",
|
|
22
|
-
"minLength": 1
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"not": {
|
|
24
|
+
"pattern": "(^|[^0-9])(19|20)[0-9]{2}([^0-9]|$)|['’][0-9]{2}([^0-9]|$)"
|
|
25
|
+
}
|
|
23
26
|
},
|
|
24
27
|
"url": {
|
|
25
28
|
"description": "A venue's call for papers or author instructions: the page its numbers are quoted from. Required on a venue, refused on a family.",
|
|
@@ -49,24 +52,26 @@
|
|
|
49
52
|
"type": "boolean"
|
|
50
53
|
},
|
|
51
54
|
"aliases": {
|
|
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
|
|
55
|
+
"description": "Other names the venue goes by in a paper's text — its acronym (`[\"AISec\"]`), without a year; the conference a workshop is held at is its `parent`. Read by `tex/venue-leftover`: in prose a name counts only beside a year no older than the paper's own edition's year minus one (`2027`, `'27`, `~2027`); inside a venue-identity command (`\\acmConference`, `\\acmBooktitle`, `\\conferenceinfo`, `\\IEEEpubid`), with or without one. 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
56
|
"type": "array",
|
|
54
57
|
"uniqueItems": true,
|
|
55
58
|
"items": {
|
|
56
59
|
"type": "string",
|
|
57
|
-
"minLength": 1
|
|
60
|
+
"minLength": 1,
|
|
61
|
+
"not": {
|
|
62
|
+
"pattern": "(^|[^0-9])(19|20)[0-9]{2}([^0-9]|$)|['’][0-9]{2}([^0-9]|$)"
|
|
63
|
+
}
|
|
58
64
|
}
|
|
59
65
|
},
|
|
66
|
+
"workshop": {
|
|
67
|
+
"description": "This venue is a workshop held at a conference: then `parent` is required, and it names that conference's edition. Only `true`; a conference leaves it out. Refused on a family.",
|
|
68
|
+
"const": true
|
|
69
|
+
},
|
|
60
70
|
"parent": {
|
|
61
|
-
"description": "The conference a workshop is held at: `paperlint:<
|
|
71
|
+
"description": "The conference a workshop is held at, required on a workshop and refused elsewhere: `paperlint:<series>-<year>` (a shipped edition, of the workshop's own year) or a path starting with ./ or ../, relative to this file, naming a venue preset (`\"parent\": \"paperlint:ccs-2026\"` in aisec-2026.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, a parent of another year, or parents that name each other, are refused. A child's value replaces its parent's.",
|
|
62
72
|
"type": "string",
|
|
63
73
|
"minLength": 1
|
|
64
74
|
},
|
|
65
|
-
"mentions": {
|
|
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.",
|
|
67
|
-
"type": "string",
|
|
68
|
-
"enum": ["with-year"]
|
|
69
|
-
},
|
|
70
75
|
"portal": {
|
|
71
76
|
"description": "Where the venue takes submissions, read by `paperlint submission`: the portal's kind (an adapter exists for `hotcrp`) and the site's base URL, the one its pages and `/api/` hang off. A paper says which submission is its own with `submission: { id }` in its paperlint.json. A child's value replaces its parent's.",
|
|
72
77
|
"type": "object",
|
|
@@ -512,7 +517,8 @@
|
|
|
512
517
|
},
|
|
513
518
|
"required": ["type"],
|
|
514
519
|
"dependencies": {
|
|
515
|
-
"template_forbids": ["template"]
|
|
520
|
+
"template_forbids": ["template"],
|
|
521
|
+
"parent": ["workshop"]
|
|
516
522
|
},
|
|
517
523
|
"allOf": [
|
|
518
524
|
{
|
|
@@ -540,7 +546,12 @@
|
|
|
540
546
|
"properties": { "type": { "const": "family" } }
|
|
541
547
|
},
|
|
542
548
|
"then": {
|
|
543
|
-
"properties": {
|
|
549
|
+
"properties": {
|
|
550
|
+
"name": false,
|
|
551
|
+
"url": false,
|
|
552
|
+
"parent": false,
|
|
553
|
+
"workshop": false
|
|
554
|
+
}
|
|
544
555
|
}
|
|
545
556
|
},
|
|
546
557
|
{
|
|
@@ -552,6 +563,10 @@
|
|
|
552
563
|
"required": ["type", "tex"],
|
|
553
564
|
"maxProperties": 2
|
|
554
565
|
}
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"if": { "required": ["workshop"] },
|
|
569
|
+
"then": { "required": ["parent"] }
|
|
555
570
|
}
|
|
556
571
|
],
|
|
557
572
|
"definitions": {
|
|
@@ -28,8 +28,8 @@ const PRESETS = join(ROOT, "presets");
|
|
|
28
28
|
const CASSETTE = join(ROOT, "src", "adapters", "hotcrp", "cassette");
|
|
29
29
|
// Frozen at the portal's reading of 2026-10-19 (test/frozen-presets.ts): the shipped file's dates
|
|
30
30
|
// are the refresh's own output.
|
|
31
|
-
const MSR = join(FROZEN_DIR, "msr.jsonc");
|
|
32
|
-
const msrText = frozenText("msr.jsonc");
|
|
31
|
+
const MSR = join(FROZEN_DIR, "msr-2027.jsonc");
|
|
32
|
+
const msrText = frozenText("msr-2027.jsonc");
|
|
33
33
|
const readings = (text: string) => parsePreset(text, MSR).deadlines ?? [];
|
|
34
34
|
/** MSR with its submission deadline two days before the portal's. */
|
|
35
35
|
const earlier = msrText.replace(
|
|
@@ -71,7 +71,7 @@ describe("`npm run refresh-deadlines`, the command the workflow runs — with no
|
|
|
71
71
|
const dir = tempDir("deadlines-");
|
|
72
72
|
const atServer = (text: string, path: string) =>
|
|
73
73
|
text.split("https://msr2027.hotcrp.com").join(`${base.url}/${path}`);
|
|
74
|
-
writeFileSync(join(dir, "msr.jsonc"), atServer(earlier, "msr"));
|
|
74
|
+
writeFileSync(join(dir, "msr-2027.jsonc"), atServer(earlier, "msr"));
|
|
75
75
|
writeFileSync(join(dir, "gone.jsonc"), atServer(msrText, "gone"));
|
|
76
76
|
writeFileSync(join(dir, "notes.md"), "not a preset\n");
|
|
77
77
|
const summary = join(dir, "summary.md");
|
|
@@ -99,7 +99,7 @@ describe("`npm run refresh-deadlines`, the command the workflow runs — with no
|
|
|
99
99
|
},
|
|
100
100
|
); // rejects on a non-zero exit, with the output
|
|
101
101
|
expect(
|
|
102
|
-
readings(readFileSync(join(dir, "msr.jsonc"), "utf8"))[0]?.at,
|
|
102
|
+
readings(readFileSync(join(dir, "msr-2027.jsonc"), "utf8"))[0]?.at,
|
|
103
103
|
).toBe("2026-10-21T11:59:59Z");
|
|
104
104
|
expect(r.stdout).toMatch(
|
|
105
105
|
/^::warning title=deadlines::gone\.jsonc: could not read http:\/\/127\.0\.0\.1:\d+\/gone\/deadlines — the portal refused \(HTTP 404\): No such conference$/m,
|
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
// The logic is tested over presets FROZEN at the portal's reading of 2026-10-19 (test/frozen-presets.ts):
|
|
24
24
|
// the shipped files' dates are the refresh's own output, and a test of the refresh that read them
|
|
25
25
|
// would turn red on the refresh's own pull request.
|
|
26
|
-
const MSR = join(FROZEN_DIR, "msr.jsonc");
|
|
27
|
-
const msrText = frozenText("msr.jsonc");
|
|
26
|
+
const MSR = join(FROZEN_DIR, "msr-2027.jsonc");
|
|
27
|
+
const msrText = frozenText("msr-2027.jsonc");
|
|
28
28
|
const readings = (text: string) => parsePreset(text, MSR).deadlines ?? [];
|
|
29
29
|
/** MSR with its submission deadline two days before the portal's. */
|
|
30
30
|
const earlier = msrText.replace(
|
|
@@ -45,7 +45,7 @@ function inMemory(files: Readonly<Record<string, string>>) {
|
|
|
45
45
|
return { presets, written };
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
/** What MSR 2027's portal lists — the readings the frozen msr.jsonc holds. */
|
|
48
|
+
/** What MSR 2027's portal lists — the readings the frozen msr-2027.jsonc holds. */
|
|
49
49
|
const MSR_PAGE: PortalDeadlines = {
|
|
50
50
|
now: 1792434476,
|
|
51
51
|
open: true,
|
|
@@ -63,7 +63,7 @@ const MSR_PAGE: PortalDeadlines = {
|
|
|
63
63
|
},
|
|
64
64
|
],
|
|
65
65
|
};
|
|
66
|
-
/** What AIDC 2026's portal lists — the readings presets/aidc.jsonc holds. */
|
|
66
|
+
/** What AIDC 2026's portal lists — the readings presets/aidc-2026.jsonc holds. */
|
|
67
67
|
const AIDC_PAGE: PortalDeadlines = {
|
|
68
68
|
now: 1791194489,
|
|
69
69
|
open: true,
|
|
@@ -165,12 +165,12 @@ describe("refreshPreset on MSR 2027's page", () => {
|
|
|
165
165
|
|
|
166
166
|
describe("refreshPreset — what it skips, and a portal it cannot read", () => {
|
|
167
167
|
test("a preset without a portal, or with one paperlint has no adapter for, is skipped", async () => {
|
|
168
|
-
const aisec = join(FROZEN_DIR, "aisec.jsonc");
|
|
168
|
+
const aisec = join(FROZEN_DIR, "aisec-2026.jsonc");
|
|
169
169
|
const skipped = { kind: "skipped" };
|
|
170
170
|
expect(
|
|
171
171
|
await refreshPreset({
|
|
172
172
|
file: aisec,
|
|
173
|
-
text: frozenText("aisec.jsonc"),
|
|
173
|
+
text: frozenText("aisec-2026.jsonc"),
|
|
174
174
|
portal: answering(ok(MSR_PAGE)),
|
|
175
175
|
today: "2026-10-05",
|
|
176
176
|
}),
|
|
@@ -266,7 +266,7 @@ describe("runRefresh — what it prints, writes and returns", () => {
|
|
|
266
266
|
|
|
267
267
|
describe("runRefresh — a changed preset", () => {
|
|
268
268
|
test("a changed preset is written back, and the summary names it", async () => {
|
|
269
|
-
const { presets, written } = inMemory({ "msr.jsonc": earlier });
|
|
269
|
+
const { presets, written } = inMemory({ "msr-2027.jsonc": earlier });
|
|
270
270
|
const lines: string[] = [];
|
|
271
271
|
const summaries: string[] = [];
|
|
272
272
|
const code = await runRefresh({
|
|
@@ -277,12 +277,12 @@ describe("runRefresh — a changed preset", () => {
|
|
|
277
277
|
summary: (text) => summaries.push(text),
|
|
278
278
|
});
|
|
279
279
|
expect(code).toBe(0);
|
|
280
|
-
expect(readings(written["msr.jsonc"] ?? "")[0]?.at).toBe(
|
|
280
|
+
expect(readings(written["msr-2027.jsonc"] ?? "")[0]?.at).toBe(
|
|
281
281
|
"2026-10-21T11:59:59Z",
|
|
282
282
|
);
|
|
283
283
|
expect(lines.at(-1)).toBe("1 preset(s) changed");
|
|
284
284
|
expect(summaries[0]).toMatch(
|
|
285
|
-
/^- `msr\.jsonc` \(https:\/\/msr2027\.hotcrp\.com\/deadlines\)\n {2}- submission: 2026-10-19T04:00:00Z → 2026-10-21T11:59:59Z$/m,
|
|
285
|
+
/^- `msr-2027\.jsonc` \(https:\/\/msr2027\.hotcrp\.com\/deadlines\)\n {2}- submission: 2026-10-19T04:00:00Z → 2026-10-21T11:59:59Z$/m,
|
|
286
286
|
);
|
|
287
287
|
});
|
|
288
288
|
});
|
|
@@ -4,7 +4,7 @@ description: "Discover and rank real venues for a given paper, scored by whether
|
|
|
4
4
|
allowed-tools: [Read, Write, Grep, Glob, WebSearch, WebFetch, Agent]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<!-- vigiles:sha256:
|
|
7
|
+
<!-- vigiles:sha256:784a0e1bfaa6e736 compiled from skills/find-venue/SKILL.md.spec.ts -->
|
|
8
8
|
|
|
9
9
|
# find-venue — rank real venues by what makes a publication, then keep or switch
|
|
10
10
|
|
|
@@ -78,7 +78,7 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
78
78
|
(`paperlint:acm-sigconf`) or the project's own `./venues/<name>.jsonc`; the `pdf/*` rules then
|
|
79
79
|
check the built PDF against its page limit and format.
|
|
80
80
|
- the venue cards, `presets/<venue>.md` in the paperlint package beside each venue preset (e.g.
|
|
81
|
-
`agenticdev.md`, `aisec.md`) — the winner gets a card with its HotCRP quirks beside its preset;
|
|
81
|
+
`agenticdev-2026.md`, `aisec-2026.md`) — the winner gets a card with its HotCRP quirks beside its preset;
|
|
82
82
|
for a venue with no shipped preset, the project's own `./venues/<name>.md` beside its
|
|
83
83
|
`./venues/<name>.jsonc`. Plain data, not a new skill. That `./venues/` is not the venue's corpus
|
|
84
84
|
of accepted papers, `<papers-root>/venues/<venue>/` (`study-accepted-papers`): the three places are
|
|
@@ -87,7 +87,7 @@ rank = archival-weight × topic-fit × accept-probability × deadline-feasibilit
|
|
|
87
87
|
(\`paperlint:acm-sigconf\`) or the project's own \`./venues/<name>.jsonc\`; the \`pdf/*\` rules then
|
|
88
88
|
check the built PDF against its page limit and format.
|
|
89
89
|
- the venue cards, \`presets/<venue>.md\` in the paperlint package beside each venue preset (e.g.
|
|
90
|
-
\`agenticdev.md\`, \`aisec.md\`) — the winner gets a card with its HotCRP quirks beside its preset;
|
|
90
|
+
\`agenticdev-2026.md\`, \`aisec-2026.md\`) — the winner gets a card with its HotCRP quirks beside its preset;
|
|
91
91
|
for a venue with no shipped preset, the project's own \`./venues/<name>.md\` beside its
|
|
92
92
|
\`./venues/<name>.jsonc\`. Plain data, not a new skill. That \`./venues/\` is not the venue's corpus
|
|
93
93
|
of accepted papers, \`<papers-root>/venues/<venue>/\` (\`study-accepted-papers\`): the three places are
|
|
@@ -89,7 +89,7 @@ try {
|
|
|
89
89
|
cpSync(join(FIX, "t3-mixed.pdf"), join(paper, "paper.pdf"));
|
|
90
90
|
writeFileSync(
|
|
91
91
|
join(paper, "paperlint.json"),
|
|
92
|
-
JSON.stringify({ extends: "paperlint:agenticdev", kind: "short" }),
|
|
92
|
+
JSON.stringify({ extends: "paperlint:agenticdev-2026", kind: "short" }),
|
|
93
93
|
);
|
|
94
94
|
const factsFile = join(paper, "_build", "paper.facts.json");
|
|
95
95
|
|
|
@@ -122,7 +122,7 @@ try {
|
|
|
122
122
|
"the facts are schema 3, about paper.pdf, for the venue paperlint.json declares",
|
|
123
123
|
facts.schema === 3 &&
|
|
124
124
|
facts.pdf === "paper.pdf" &&
|
|
125
|
-
facts.venue === "agenticdev" &&
|
|
125
|
+
facts.venue === "agenticdev-2026" &&
|
|
126
126
|
facts.kind === "short",
|
|
127
127
|
JSON.stringify(facts).slice(0, 200),
|
|
128
128
|
);
|
|
@@ -4,7 +4,7 @@ description: "End-to-end playbook for submitting a peer-reviewed paper to a doub
|
|
|
4
4
|
allowed-tools: [Read, Write, Edit, Grep, Glob, Bash, WebSearch, WebFetch, Skill]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<!-- vigiles:sha256:
|
|
7
|
+
<!-- vigiles:sha256:567ef8c125d44ebd compiled from skills/submit-paper/SKILL.md.spec.ts -->
|
|
8
8
|
|
|
9
9
|
# submit-paper — get a reviewed paper from "done" to "ready for review"
|
|
10
10
|
|
|
@@ -16,11 +16,11 @@ The venue-specific facts (deadline, page limits, tracks, PC-member conflict list
|
|
|
16
16
|
quirks, whether a supplementary-upload field exists) live in the venue's **card**, `presets/<venue>.md`
|
|
17
17
|
in the paperlint package, beside the preset `presets/<venue>.jsonc` that the lint rules check a
|
|
18
18
|
paper against:
|
|
19
|
-
- `presets/agenticdev.md` — AgenticDev @ ASE (workshop; ASE workshop proceedings).
|
|
20
|
-
- `presets/aisec.md` — AISec @ ACM CCS (security workshop; ACM DL; harder bar).
|
|
21
|
-
- `presets/aidc.md` — AIDC @ IEEE ACSAC (workshop; IEEE template, LLM Usage Statement).
|
|
22
|
-
- `presets/msr.md` — MSR Technical Papers (conference; IEEE template from 2027, appendices count in the page limit).
|
|
23
|
-
- `presets/realm.md` — REALM @ EMNLP (ACL family, OpenReview).
|
|
19
|
+
- `presets/agenticdev-2026.md` — AgenticDev @ ASE (workshop; ASE workshop proceedings).
|
|
20
|
+
- `presets/aisec-2026.md` — AISec @ ACM CCS (security workshop; ACM DL; harder bar).
|
|
21
|
+
- `presets/aidc-2026.md` — AIDC @ IEEE ACSAC (workshop; IEEE template, LLM Usage Statement).
|
|
22
|
+
- `presets/msr-2027.md` — MSR Technical Papers (conference; IEEE template from 2027, appendices count in the page limit).
|
|
23
|
+
- `presets/realm-2026.md` — REALM @ EMNLP (ACL family, OpenReview).
|
|
24
24
|
|
|
25
25
|
**The card is prose; the machine-checked format is the PRESET beside it.** A paper declares its venue
|
|
26
26
|
in `<paper>/paperlint.json`: `{ "extends": "paperlint:<venue>", "kind": "<kind>" }`, and the
|
|
@@ -183,5 +183,5 @@ convention with no reader.
|
|
|
183
183
|
- Harden first: `harden-paper` (the submit checklist).
|
|
184
184
|
- Publisher mechanics (camera-ready): `references/publishers/<publisher>.md`.
|
|
185
185
|
- Venue specifics: the venue's card `presets/<venue>.md` in the paperlint package (e.g.
|
|
186
|
-
`presets/agenticdev.md`) for deadlines, page limits, PC-member conflict lists, and whether a
|
|
186
|
+
`presets/agenticdev-2026.md`) for deadlines, page limits, PC-member conflict lists, and whether a
|
|
187
187
|
supplementary upload exists.
|
|
@@ -35,11 +35,11 @@ The venue-specific facts (deadline, page limits, tracks, PC-member conflict list
|
|
|
35
35
|
quirks, whether a supplementary-upload field exists) live in the venue's **card**, \`presets/<venue>.md\`
|
|
36
36
|
in the paperlint package, beside the preset \`presets/<venue>.jsonc\` that the lint rules check a
|
|
37
37
|
paper against:
|
|
38
|
-
- \`presets/agenticdev.md\` — AgenticDev @ ASE (workshop; ASE workshop proceedings).
|
|
39
|
-
- \`presets/aisec.md\` — AISec @ ACM CCS (security workshop; ACM DL; harder bar).
|
|
40
|
-
- \`presets/aidc.md\` — AIDC @ IEEE ACSAC (workshop; IEEE template, LLM Usage Statement).
|
|
41
|
-
- \`presets/msr.md\` — MSR Technical Papers (conference; IEEE template from 2027, appendices count in the page limit).
|
|
42
|
-
- \`presets/realm.md\` — REALM @ EMNLP (ACL family, OpenReview).
|
|
38
|
+
- \`presets/agenticdev-2026.md\` — AgenticDev @ ASE (workshop; ASE workshop proceedings).
|
|
39
|
+
- \`presets/aisec-2026.md\` — AISec @ ACM CCS (security workshop; ACM DL; harder bar).
|
|
40
|
+
- \`presets/aidc-2026.md\` — AIDC @ IEEE ACSAC (workshop; IEEE template, LLM Usage Statement).
|
|
41
|
+
- \`presets/msr-2027.md\` — MSR Technical Papers (conference; IEEE template from 2027, appendices count in the page limit).
|
|
42
|
+
- \`presets/realm-2026.md\` — REALM @ EMNLP (ACL family, OpenReview).
|
|
43
43
|
|
|
44
44
|
**The card is prose; the machine-checked format is the PRESET beside it.** A paper declares its venue
|
|
45
45
|
in \`<paper>/paperlint.json\`: \`{ "extends": "paperlint:<venue>", "kind": "<kind>" }\`, and the
|
|
@@ -202,7 +202,7 @@ convention with no reader.
|
|
|
202
202
|
- Harden first: \`harden-paper\` (the submit checklist).
|
|
203
203
|
- Publisher mechanics (camera-ready): \`references/publishers/<publisher>.md\`.
|
|
204
204
|
- Venue specifics: the venue's card \`presets/<venue>.md\` in the paperlint package (e.g.
|
|
205
|
-
\`presets/agenticdev.md\`) for deadlines, page limits, PC-member conflict lists, and whether a
|
|
205
|
+
\`presets/agenticdev-2026.md\`) for deadlines, page limits, PC-member conflict lists, and whether a
|
|
206
206
|
supplementary upload exists.
|
|
207
207
|
`,
|
|
208
208
|
});
|
|
@@ -35,6 +35,7 @@ import { outlineOf } from "./outline.ts";
|
|
|
35
35
|
import { parseLatex } from "./parse.ts";
|
|
36
36
|
import { bodyEmphasis, bodyProse } from "./prose.ts";
|
|
37
37
|
import { renderedRuns } from "./rendered.ts";
|
|
38
|
+
import { venueLinesOf } from "./venue-lines.ts";
|
|
38
39
|
import { layoutOverridesOf } from "./layout.ts";
|
|
39
40
|
import { filecontentsOf } from "./filecontents.ts";
|
|
40
41
|
|
|
@@ -59,6 +60,7 @@ export { outlineOf } from "./outline.ts";
|
|
|
59
60
|
export { parseLatex, type ParsedTex } from "./parse.ts";
|
|
60
61
|
export { bodyEmphasis, bodyProse } from "./prose.ts";
|
|
61
62
|
export { renderedRuns } from "./rendered.ts";
|
|
63
|
+
export { venueLinesOf } from "./venue-lines.ts";
|
|
62
64
|
export { layoutOverridesOf } from "./layout.ts";
|
|
63
65
|
|
|
64
66
|
/** The `LatexReader` port over unified-latex: each call parses its source once. */
|
|
@@ -67,6 +69,7 @@ export const latexReader: LatexReader = {
|
|
|
67
69
|
outline: (src) => outlineOf(parseLatex(src)),
|
|
68
70
|
headings: (src) => headingsOf(parseLatex(src)),
|
|
69
71
|
renderedRuns: (src) => renderedRuns(parseLatex(src)),
|
|
72
|
+
venueLines: (src) => venueLinesOf(parseLatex(src)),
|
|
70
73
|
bodyProse: (src) => bodyProse(parseLatex(src)),
|
|
71
74
|
bodyEmphasis: (src) => bodyEmphasis(parseLatex(src)),
|
|
72
75
|
captions: (src) => captionProse(parseLatex(src)),
|
|
@@ -121,6 +121,20 @@ export const KEY_ARGUMENT: ReadonlyMap<string, number> = new Map([
|
|
|
121
121
|
|
|
122
122
|
const LINK_SIGNATURES = Object.fromEntries(signed(["href"], "m m"));
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* The commands that state the paper's venue, by template: acmart's `\\acmConference[short]{name}{date}{place}`
|
|
126
|
+
* and `\\acmBooktitle{…}`, the older ACM classes' `\\conferenceinfo{name}{place}`, and IEEEtran's
|
|
127
|
+
* `\\IEEEpubid{…}` (the conference's copyright line). ACL's template has none. Signed so their
|
|
128
|
+
* arguments attach to them, and `tex/venue-leftover` can tell a name inside one from prose.
|
|
129
|
+
*/
|
|
130
|
+
export const VENUE_LINE_SIGNATURES: Readonly<
|
|
131
|
+
Record<string, { readonly signature: string }>
|
|
132
|
+
> = Object.fromEntries([
|
|
133
|
+
...signed(["acmConference"], "o m m m"),
|
|
134
|
+
...signed(["acmBooktitle", "IEEEpubid"], "m"),
|
|
135
|
+
...signed(["conferenceinfo"], "m m"),
|
|
136
|
+
]);
|
|
137
|
+
|
|
124
138
|
/**
|
|
125
139
|
* Declarations unified-latex has no signature for: signed so their arguments (sizes, not text)
|
|
126
140
|
* attach to them instead of standing beside them as groups a reader would seem to see.
|
|
@@ -182,6 +196,7 @@ const parser = once(() =>
|
|
|
182
196
|
macros: {
|
|
183
197
|
...KEY_SIGNATURES,
|
|
184
198
|
...LINK_SIGNATURES,
|
|
199
|
+
...VENUE_LINE_SIGNATURES,
|
|
185
200
|
...DECLARATION_SIGNATURES,
|
|
186
201
|
...DEF_SIGNATURES,
|
|
187
202
|
...CAPTION_SIGNATURES,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a source states its venue — the input `tex/venue-leftover` judges a name by: inside one of
|
|
3
|
+
* these commands any other venue's name is a leftover, with or without a year; in prose, only beside
|
|
4
|
+
* a recent year. Read from the parse tree, never the text: a command in a comment is not a command.
|
|
5
|
+
*/
|
|
6
|
+
import type { Place } from "../../domain/tex-document.ts";
|
|
7
|
+
import { isList, macroPlace, visited } from "./nodes.ts";
|
|
8
|
+
import { VENUE_LINE_SIGNATURES, type ParsedTex } from "./parse.ts";
|
|
9
|
+
|
|
10
|
+
/** Each venue-stating command of the source, with its arguments, in source order. */
|
|
11
|
+
export function venueLinesOf(t: ParsedTex): readonly Place[] {
|
|
12
|
+
return visited(t.root, () => false)
|
|
13
|
+
.filter(isList)
|
|
14
|
+
.flatMap((list) =>
|
|
15
|
+
list.flatMap((n) =>
|
|
16
|
+
n.type === "macro" && n.content in VENUE_LINE_SIGNATURES
|
|
17
|
+
? [macroPlace(n)]
|
|
18
|
+
: [],
|
|
19
|
+
),
|
|
20
|
+
);
|
|
21
|
+
}
|
package/src/build.harness.mjs
CHANGED
|
@@ -174,13 +174,16 @@ try {
|
|
|
174
174
|
const venued = paper("venued", {
|
|
175
175
|
"paper.tex": CLEAN_TEX,
|
|
176
176
|
"paperlint.json": JSON.stringify({
|
|
177
|
-
extends: "paperlint:agenticdev",
|
|
177
|
+
extends: "paperlint:agenticdev-2026",
|
|
178
178
|
kind: "short",
|
|
179
179
|
}),
|
|
180
180
|
"build.sh": "exit 0\n",
|
|
181
181
|
});
|
|
182
182
|
const facts = readFacts(venued);
|
|
183
|
-
check(
|
|
183
|
+
check(
|
|
184
|
+
"the venue comes from paperlint.json",
|
|
185
|
+
facts.venue === "agenticdev-2026",
|
|
186
|
+
);
|
|
184
187
|
check(
|
|
185
188
|
"a leftover build.sh is a FACT (reported), not a step",
|
|
186
189
|
JSON.stringify(facts.ignoredScripts) === JSON.stringify(["build.sh"]) &&
|
package/src/build.ts
CHANGED
|
@@ -135,7 +135,7 @@ export interface PaperFacts {
|
|
|
135
135
|
readonly name: string;
|
|
136
136
|
readonly options: readonly string[];
|
|
137
137
|
} | null;
|
|
138
|
-
/** The id of the venue preset `paperlint.json` extends (`agenticdev`), or null. */
|
|
138
|
+
/** The id of the venue preset `paperlint.json` extends (`agenticdev-2026`), or null. */
|
|
139
139
|
readonly venue: string | null;
|
|
140
140
|
/** Paper-supplied build scripts found on disk — reported as ignored. */
|
|
141
141
|
readonly ignoredScripts: readonly string[];
|
package/src/cli.test.ts
CHANGED
|
@@ -437,10 +437,10 @@ test("chooseVenue: a preset by path (inside and outside the paper), by prefixed
|
|
|
437
437
|
const dir = join(root, "venues");
|
|
438
438
|
writeTree(dir, {
|
|
439
439
|
"papers/p/mine.jsonc": JSON.stringify(
|
|
440
|
-
venuePreset("mine", { extends: "paperlint:agenticdev" }),
|
|
440
|
+
venuePreset("mine", { extends: "paperlint:agenticdev-2026" }),
|
|
441
441
|
),
|
|
442
442
|
"shared/ours.jsonc": JSON.stringify(
|
|
443
|
-
venuePreset("ours", { extends: "paperlint:agenticdev" }),
|
|
443
|
+
venuePreset("ours", { extends: "paperlint:agenticdev-2026" }),
|
|
444
444
|
),
|
|
445
445
|
"shared/broken.jsonc": "{ nope",
|
|
446
446
|
});
|
|
@@ -458,7 +458,7 @@ test("chooseVenue: a preset by path (inside and outside the paper), by prefixed
|
|
|
458
458
|
const results = await Promise.all([
|
|
459
459
|
choose("./papers/p/mine.jsonc"),
|
|
460
460
|
choose("./shared/ours.jsonc"),
|
|
461
|
-
choose("paperlint:agenticdev"),
|
|
461
|
+
choose("paperlint:agenticdev-2026"),
|
|
462
462
|
choose("./shared/broken.jsonc"),
|
|
463
463
|
]);
|
|
464
464
|
assert.deepEqual(
|
|
@@ -466,7 +466,7 @@ test("chooseVenue: a preset by path (inside and outside the paper), by prefixed
|
|
|
466
466
|
[
|
|
467
467
|
"./mine.jsonc",
|
|
468
468
|
"../../shared/ours.jsonc",
|
|
469
|
-
"paperlint:agenticdev",
|
|
469
|
+
"paperlint:agenticdev-2026",
|
|
470
470
|
"--venue ./shared/broken.jsonc",
|
|
471
471
|
],
|
|
472
472
|
);
|
|
@@ -645,7 +645,9 @@ test("build --dry-run on a paper with a venue plans for the preset's packages",
|
|
|
645
645
|
"package.json": "{}",
|
|
646
646
|
"papers/v/paper.tex":
|
|
647
647
|
"\\documentclass{acmart}\\begin{document}x\\end{document}\n",
|
|
648
|
-
"papers/v/paperlint.json": JSON.stringify({
|
|
648
|
+
"papers/v/paperlint.json": JSON.stringify({
|
|
649
|
+
extends: "paperlint:aisec-2026",
|
|
650
|
+
}),
|
|
649
651
|
});
|
|
650
652
|
const r = await withoutTex(dir, () =>
|
|
651
653
|
cli(["build", "papers/v", "--dry-run"], dir),
|
|
@@ -967,7 +969,7 @@ const submissionPaper = (dir: string, site: string): void => {
|
|
|
967
969
|
"package.json": "{}",
|
|
968
970
|
"venue.jsonc": JSON.stringify(
|
|
969
971
|
venuePreset("venue", {
|
|
970
|
-
extends: "paperlint:aidc",
|
|
972
|
+
extends: "paperlint:aidc-2026",
|
|
971
973
|
portal: { kind: "hotcrp", url: site },
|
|
972
974
|
}),
|
|
973
975
|
),
|
package/src/cli.ts
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
paperBodies,
|
|
50
50
|
type PaperBody,
|
|
51
51
|
} from "./paper-includes.ts";
|
|
52
|
-
import { omit } from "remeda";
|
|
52
|
+
import { hasAtLeast, omit } from "remeda";
|
|
53
53
|
import { refusalOf } from "./unowned-file.ts";
|
|
54
54
|
import { ruleTimes, timingLines } from "./lint-timing.ts";
|
|
55
55
|
import { prepareEngine } from "./build-engine.ts";
|
|
@@ -129,9 +129,10 @@ import {
|
|
|
129
129
|
presetProblemText,
|
|
130
130
|
resolvePreset,
|
|
131
131
|
resolveShipped,
|
|
132
|
+
bareSeriesText,
|
|
132
133
|
shippedPresets,
|
|
133
134
|
shippedSpec,
|
|
134
|
-
|
|
135
|
+
shippedFolderNames,
|
|
135
136
|
SHIPPED_PREFIX,
|
|
136
137
|
type PaperPreset,
|
|
137
138
|
type Preset,
|
|
@@ -185,6 +186,7 @@ export { nextSteps } from "./init.ts";
|
|
|
185
186
|
import paperStages from "#eslint-rules/paper-stages";
|
|
186
187
|
import preregCoverage from "#eslint-rules/prereg-coverage";
|
|
187
188
|
import { CYCLE_RULE_LEVELS, cycleRules } from "./cycle-rules.ts";
|
|
189
|
+
import { EDITION_RULE_LEVELS, editionRules } from "./edition-rule.ts";
|
|
188
190
|
import { changesRules } from "./changes-rule.ts";
|
|
189
191
|
import { latexDiff, withTexBin } from "./adapters/latexdiff/index.ts";
|
|
190
192
|
import { runVersions } from "./versions-command.ts";
|
|
@@ -254,6 +256,7 @@ import reviewFrontmatter from "#eslint-rules/review-frontmatter";
|
|
|
254
256
|
import siblingFrontmatter from "#eslint-rules/sibling-frontmatter";
|
|
255
257
|
import pdfRules from "#eslint-rules/pdf-last-page-balance";
|
|
256
258
|
import { messageOf } from "./domain/text.ts";
|
|
259
|
+
import { editionsOf } from "./domain/edition.ts";
|
|
257
260
|
import { isRecord } from "./domain/record.ts";
|
|
258
261
|
import { ESCAPE_HATCH } from "./domain/paper-layout.ts";
|
|
259
262
|
|
|
@@ -403,7 +406,7 @@ settings — paperlint.json, at two levels, one schema. Both are optional.
|
|
|
403
406
|
|
|
404
407
|
<papersDir>/<paper>/paperlint.json — one paper, merged over the root file:
|
|
405
408
|
|
|
406
|
-
{ "extends": "paperlint:aisec", "kind": "research", "rules": { "pdf/last-page-balance": "error" } }
|
|
409
|
+
{ "extends": "paperlint:aisec-2026", "kind": "research", "rules": { "pdf/last-page-balance": "error" } }
|
|
407
410
|
|
|
408
411
|
"extends" names a venue preset: paperlint:<name> (shipped: ${SHIPPED_VENUES().join(", ")})
|
|
409
412
|
or ./path.jsonc, relative to the paperlint.json. npm presets are not supported yet.
|
|
@@ -411,7 +414,7 @@ settings — paperlint.json, at two levels, one schema. Both are optional.
|
|
|
411
414
|
cycles and deadlines — a paper's attempts at venues, oldest first, instead of "extends",
|
|
412
415
|
"kind" and "submission" (those are then the current attempt's, and refused beside "cycles"):
|
|
413
416
|
|
|
414
|
-
{ "cycles": [ { "id": "msr-2027", "venue": { "kind": "preset", "extends": "paperlint:msr" },
|
|
417
|
+
{ "cycles": [ { "id": "msr-2027", "venue": { "kind": "preset", "extends": "paperlint:msr-2027" },
|
|
415
418
|
"kind": "technical", "opened": "2026-10-05",
|
|
416
419
|
"deadlines": [ { "what": "submission",
|
|
417
420
|
"observed": [ { "at": "2026-10-23 AoE", "source": "call",
|
|
@@ -617,6 +620,11 @@ export function buildConfig(
|
|
|
617
620
|
rules: {
|
|
618
621
|
...paperStages.rules,
|
|
619
622
|
...folderVenueRules({ files: nodeFiles, venuesDir: presetsDir() }),
|
|
623
|
+
...editionRules({
|
|
624
|
+
files: nodeFiles,
|
|
625
|
+
venuesDir: presetsDir(),
|
|
626
|
+
now: isoNow,
|
|
627
|
+
}),
|
|
620
628
|
...folderLayoutRules(LAYOUT_RULE_DEPS),
|
|
621
629
|
},
|
|
622
630
|
},
|
|
@@ -631,6 +639,7 @@ export function buildConfig(
|
|
|
631
639
|
"paper/stages": "error",
|
|
632
640
|
"paper/source": "error",
|
|
633
641
|
...FOLDER_VENUE_RULE_LEVELS,
|
|
642
|
+
...EDITION_RULE_LEVELS,
|
|
634
643
|
...FOLDER_LAYOUT_RULE_LEVELS,
|
|
635
644
|
...REPRO_RULE_LEVELS,
|
|
636
645
|
...STATUS_CYCLE_RULE_LEVELS,
|
|
@@ -1701,7 +1710,7 @@ export async function createPaperAt(
|
|
|
1701
1710
|
): Promise<number> {
|
|
1702
1711
|
const result = newPaper(papersRoot, name, {
|
|
1703
1712
|
venue,
|
|
1704
|
-
venues: allowVenueName ? [] :
|
|
1713
|
+
venues: allowVenueName ? [] : shippedFolderNames(PRESET_DEPS),
|
|
1705
1714
|
});
|
|
1706
1715
|
const here = (p: string): string => shown(cwd, p);
|
|
1707
1716
|
for (const line of reportNewPaper(result, here)) log(line);
|
|
@@ -1836,6 +1845,14 @@ function venueSpec(
|
|
|
1836
1845
|
const name = venue.startsWith(SHIPPED_PREFIX)
|
|
1837
1846
|
? venue.slice(SHIPPED_PREFIX.length)
|
|
1838
1847
|
: venue;
|
|
1848
|
+
const editions = editionsOf(name, shipped);
|
|
1849
|
+
if (!shipped.includes(name) && hasAtLeast(editions, 1))
|
|
1850
|
+
return bad(
|
|
1851
|
+
bareSeriesText(
|
|
1852
|
+
{ kind: "bare-series", spec: shippedSpec(name), editions },
|
|
1853
|
+
"--venue",
|
|
1854
|
+
),
|
|
1855
|
+
);
|
|
1839
1856
|
if (!shipped.includes(name))
|
|
1840
1857
|
return bad(
|
|
1841
1858
|
`--venue ${venue}: no such venue preset. Shipped: ${shipped.join(", ")} — or a path to your own preset, starting with ./ or ../`,
|
|
@@ -2233,7 +2250,7 @@ async function runInit(
|
|
|
2233
2250
|
paper: a.paper,
|
|
2234
2251
|
createPaper: (papersRoot, name) =>
|
|
2235
2252
|
createPaperAt(papersRoot, name, { log, err, cwd }),
|
|
2236
|
-
venues:
|
|
2253
|
+
venues: shippedFolderNames(PRESET_DEPS),
|
|
2237
2254
|
tex: initTexLive(a, { log, err, cwd }),
|
|
2238
2255
|
resolveCliPapers: (root: string): string | null =>
|
|
2239
2256
|
cliPapers({ ...a, config: null }, root),
|
package/src/cycle-rules.test.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { frozenText } from "../test/frozen-presets.ts";
|
|
|
13
13
|
const VENUES = presetsDir();
|
|
14
14
|
const DIR = "/work/papers/p";
|
|
15
15
|
/**
|
|
16
|
-
* The shipped presets, so a cycle naming `paperlint:msr` resolves through the memory files — msr
|
|
16
|
+
* The shipped presets, so a cycle naming `paperlint:msr-2027` resolves through the memory files — msr
|
|
17
17
|
* FROZEN (test/frozen-presets.ts): its deadlines are rewritten by the scheduled refresh, and the
|
|
18
18
|
* tests below assert the readings they sit beside.
|
|
19
19
|
*/
|
|
@@ -23,7 +23,7 @@ const SHIPPED = {
|
|
|
23
23
|
.filter((f) => f.endsWith(".jsonc"))
|
|
24
24
|
.map((f) => [join(VENUES, f), readFileSync(join(VENUES, f), "utf8")]),
|
|
25
25
|
),
|
|
26
|
-
[join(VENUES, "msr.jsonc")]: frozenText("msr.jsonc"),
|
|
26
|
+
[join(VENUES, "msr-2027.jsonc")]: frozenText("msr-2027.jsonc"),
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
interface Reported {
|
|
@@ -68,10 +68,10 @@ const CALL = {
|
|
|
68
68
|
url: "https://2027.msrconf.org/track/msr-2027-technical-papers",
|
|
69
69
|
read: "2026-10-05",
|
|
70
70
|
};
|
|
71
|
-
/** A cycle at the shipped `paperlint:msr`, whose preset carries the portal's readings. */
|
|
71
|
+
/** A cycle at the shipped `paperlint:msr-2027`, whose preset carries the portal's readings. */
|
|
72
72
|
const msr = (deadlines: readonly object[]) => ({
|
|
73
73
|
id: "msr-2027",
|
|
74
|
-
venue: { kind: "preset", extends: "paperlint:msr" },
|
|
74
|
+
venue: { kind: "preset", extends: "paperlint:msr-2027" },
|
|
75
75
|
kind: "technical",
|
|
76
76
|
opened: "2026-10-05",
|
|
77
77
|
deadlines,
|
|
@@ -135,7 +135,9 @@ describe("cycle/record", () => {
|
|
|
135
135
|
});
|
|
136
136
|
|
|
137
137
|
it("the flat form, no settings file, or a file that is not JSON: silent — not this rule's to say", () => {
|
|
138
|
-
expect(lint({ extends: "paperlint:aidc", kind: "regular" })).toEqual(
|
|
138
|
+
expect(lint({ extends: "paperlint:aidc-2026", kind: "regular" })).toEqual(
|
|
139
|
+
[],
|
|
140
|
+
);
|
|
139
141
|
expect(lint(undefined)).toEqual([]);
|
|
140
142
|
expect(lint("{ not json")).toEqual([]);
|
|
141
143
|
});
|
|
@@ -218,7 +220,7 @@ describe("cycle/record — a portal reading beside the preset's", () => {
|
|
|
218
220
|
],
|
|
219
221
|
});
|
|
220
222
|
expect(fs.map((f) => f.message)).toEqual([
|
|
221
|
-
"paperlint.json, cycle «msr-2027»: the \"submission\" deadline records a portal reading, and the preset paperlint:msr carries it (2026-10-21T11:59:59Z, the portal's reading on 2026-10-19 from https://msr2027.hotcrp.com/deadlines — venues move dates: re-check there before relying on it) — a second copy drifts when paperlint updates the preset: delete this one (the call's reading and an override stay)",
|
|
223
|
+
"paperlint.json, cycle «msr-2027»: the \"submission\" deadline records a portal reading, and the preset paperlint:msr-2027 carries it (2026-10-21T11:59:59Z, the portal's reading on 2026-10-19 from https://msr2027.hotcrp.com/deadlines — venues move dates: re-check there before relying on it) — a second copy drifts when paperlint updates the preset: delete this one (the call's reading and an override stay)",
|
|
222
224
|
]);
|
|
223
225
|
});
|
|
224
226
|
|
package/src/domain/body-pages.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* classifies its pages. A venue that limits the body «excluding references and appendices» (AIDC)
|
|
4
4
|
* cannot be judged on banal's body count: banal calls any page holding non-bibliography text body,
|
|
5
5
|
* so an LLM Usage Statement or an appendix placed after the bibliography is counted as body, and a
|
|
6
|
-
* correct paper fails (measured, `presets/aidc.jsonc`).
|
|
6
|
+
* correct paper fails (measured, `presets/aidc-2026.jsonc`).
|
|
7
7
|
*
|
|
8
8
|
* ── WHERE THE BODY ENDS: AT THE REFERENCES, OR AT THE APPENDIX, WHICHEVER COMES FIRST ──────
|
|
9
9
|
* «Excluding references and appendices» excludes an appendix wherever it sits, so the body ends at
|