paperlint 16.8.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +10 -2
- package/CONTRIBUTING.md +1 -1
- package/README.md +17 -14
- package/dist/adapters/latex/abstract.d.ts +7 -1
- package/dist/adapters/latex/abstract.d.ts.map +1 -1
- package/dist/adapters/latex/abstract.js +19 -4
- package/dist/adapters/latex/abstract.js.map +1 -1
- package/dist/adapters/latex/captions.d.ts +6 -5
- package/dist/adapters/latex/captions.d.ts.map +1 -1
- package/dist/adapters/latex/captions.js +14 -30
- package/dist/adapters/latex/captions.js.map +1 -1
- package/dist/adapters/latex/index.d.ts +1 -1
- package/dist/adapters/latex/index.d.ts.map +1 -1
- package/dist/adapters/latex/index.js +5 -2
- package/dist/adapters/latex/index.js.map +1 -1
- package/dist/adapters/latex/prose.d.ts +6 -0
- package/dist/adapters/latex/prose.d.ts.map +1 -1
- package/dist/adapters/latex/prose.js +18 -12
- package/dist/adapters/latex/prose.js.map +1 -1
- package/dist/cli.d.ts +6 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +16 -8
- package/dist/cli.js.map +1 -1
- package/dist/domain/register.d.ts +23 -1
- package/dist/domain/register.d.ts.map +1 -1
- package/dist/domain/register.js +37 -14
- package/dist/domain/register.js.map +1 -1
- package/dist/domain/term-definitions.d.ts +48 -0
- package/dist/domain/term-definitions.d.ts.map +1 -0
- package/dist/domain/term-definitions.js +228 -0
- package/dist/domain/term-definitions.js.map +1 -0
- package/dist/domain/tex-document.d.ts +11 -0
- package/dist/domain/tex-document.d.ts.map +1 -1
- package/dist/domain/tex-document.js.map +1 -1
- package/dist/eslint-rules/review-frontmatter.js +5 -5
- package/dist/eslint-rules/review-frontmatter.schema.json +15 -8
- package/dist/eslint-rules/sibling-frontmatter.d.ts.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 +4 -2
- package/dist/folder-venue-rule.js.map +1 -1
- package/dist/hooks-notice.d.ts +3 -3
- package/dist/hooks-notice.d.ts.map +1 -1
- package/dist/hooks-notice.js +41 -8
- package/dist/hooks-notice.js.map +1 -1
- package/dist/link-skills.d.ts +5 -0
- package/dist/link-skills.d.ts.map +1 -1
- package/dist/link-skills.js +7 -0
- package/dist/link-skills.js.map +1 -1
- package/dist/ports/latex.d.ts +11 -1
- package/dist/ports/latex.d.ts.map +1 -1
- package/dist/presets.d.ts +21 -2
- package/dist/presets.d.ts.map +1 -1
- package/dist/presets.js +66 -17
- package/dist/presets.js.map +1 -1
- package/dist/readability.d.ts +12 -2
- package/dist/readability.d.ts.map +1 -1
- package/dist/readability.js +76 -3
- package/dist/readability.js.map +1 -1
- package/dist/register-bands.d.ts +16 -5
- package/dist/register-bands.d.ts.map +1 -1
- package/dist/register-bands.js +56 -17
- package/dist/register-bands.js.map +1 -1
- package/dist/skills/argument-arc/scripts/headings-core.d.ts +12 -0
- package/dist/skills/argument-arc/scripts/headings.d.ts +2 -0
- package/dist/skills/cold-read-diff/scripts/cold-read-core.d.ts +12 -0
- package/dist/skills/cold-read-diff/scripts/readers.d.ts +2 -1
- package/dist/term-definition-rules.d.ts +26 -0
- package/dist/term-definition-rules.d.ts.map +1 -0
- package/dist/term-definition-rules.js +137 -0
- package/dist/term-definition-rules.js.map +1 -0
- package/dist/tex-paper.d.ts +6 -0
- package/dist/tex-paper.d.ts.map +1 -1
- package/dist/tex-paper.js +10 -0
- package/dist/tex-paper.js.map +1 -1
- package/dist/tex-requirements.d.ts +2 -0
- package/dist/tex-requirements.d.ts.map +1 -1
- package/dist/tex-requirements.js +9 -0
- package/dist/tex-requirements.js.map +1 -1
- package/dist/tex-venue-rules.d.ts +3 -2
- package/dist/tex-venue-rules.d.ts.map +1 -1
- package/dist/tex-venue-rules.js +3 -2
- package/dist/tex-venue-rules.js.map +1 -1
- package/docs/configuration.md +2 -2
- package/{skills/paper-pipeline/references → docs/design}/acceptance-gate.md +50 -53
- package/docs/design/paper-pipeline-history.md +217 -0
- package/docs/design/skill-provenance.md +132 -0
- package/docs/design/study-modes.md +1 -1
- package/docs/design/verify-citations-history.md +135 -0
- package/docs/design/writing-exemplars.md +19 -0
- package/docs/install.md +7 -4
- package/docs/layout.md +5 -4
- package/docs/optional-rules.md +4 -0
- package/docs/osf-artifact.md +54 -0
- package/docs/pipeline.md +171 -0
- package/docs/render.md +82 -0
- package/docs/rules/paper/folder-venue-leftover.md +10 -7
- package/docs/rules/tex/contrast-frames.md +1 -2
- package/docs/rules/tex/max-caption-words.md +82 -0
- package/docs/rules/tex/max-paragraph-words.md +2 -2
- package/docs/rules/tex/negated-sentences.md +96 -0
- package/docs/rules/tex/term-before-definition.md +103 -0
- package/docs/rules/tex/term-defined-twice.md +62 -0
- package/docs/rules/tex/venue-leftover.md +13 -1
- package/docs/rules.md +23 -18
- package/docs/skills.md +16 -21
- package/docs/submission.md +14 -0
- package/docs/texlive-install-decision.md +1 -1
- package/docs/toolchain.md +11 -11
- package/eslint-rules/review-frontmatter.schema.json +15 -8
- package/eslint-rules/review-frontmatter.test.mjs +8 -5
- package/eslint-rules/review-frontmatter.ts +5 -5
- package/eslint.config.mjs +1 -5
- package/hooks/paper-status-gates.sh +21 -4
- package/hooks/paper-status-gates.test.ts +51 -0
- package/lib/skill-checks.test.mjs +2 -6
- package/lib/skill-trigger-cases.mjs +12 -97
- package/lib/skill-trigger-cases.test.ts +0 -6
- package/package.json +3 -1
- package/presets/acm-sigconf.md +1 -1
- package/presets/agenticdev.jsonc +5 -2
- package/presets/agenticdev.md +4 -2
- package/presets/aidc.jsonc +14 -1
- package/presets/aidc.md +3 -2
- package/presets/aisec.jsonc +9 -3
- package/presets/aisec.md +4 -1
- package/presets/ase.jsonc +145 -0
- package/presets/ase.md +178 -0
- package/presets/ccs.jsonc +87 -0
- package/presets/ccs.md +184 -0
- package/presets/icse.jsonc +100 -0
- package/presets/icse.md +126 -0
- package/presets/ieee-conference.md +1 -1
- package/presets/sp.jsonc +152 -0
- package/presets/sp.md +160 -0
- package/presets/venue-profile.schema.json +22 -3
- package/scripts/harness-api.frozen.json +0 -4
- package/scripts/pipeline.ts +481 -0
- package/skills/CLAUDE.md +2 -2
- package/skills/CLAUDE.md.spec.ts +26 -1
- package/skills/analyze-sibling-paper/SKILL.md +2 -20
- package/skills/analyze-sibling-paper/SKILL.md.spec.ts +9 -19
- package/skills/argument-arc/SKILL.md +32 -18
- package/skills/argument-arc/SKILL.md.spec.ts +43 -17
- package/skills/argument-arc/scripts/headings-core.js +46 -0
- package/skills/argument-arc/scripts/headings-core.ts +65 -0
- package/skills/argument-arc/scripts/headings.js +15 -0
- package/skills/argument-arc/scripts/headings.test.ts +105 -0
- package/skills/argument-arc/scripts/headings.ts +20 -0
- package/skills/build-benchmark/SKILL.md +1 -12
- package/skills/build-benchmark/SKILL.md.spec.ts +15 -11
- package/skills/build-label-page/SKILL.md.spec.ts +11 -0
- package/skills/camera-ready/SKILL.md +1 -8
- package/skills/camera-ready/SKILL.md.spec.ts +8 -7
- package/skills/cold-read-diff/SKILL.md +36 -25
- package/skills/cold-read-diff/SKILL.md.spec.ts +44 -24
- package/skills/cold-read-diff/scripts/cold-read-core.js +63 -6
- package/skills/cold-read-diff/scripts/cold-read-core.ts +81 -6
- package/skills/cold-read-diff/scripts/cold-read.js +1 -1
- package/skills/cold-read-diff/scripts/cold-read.test.ts +66 -0
- package/skills/cold-read-diff/scripts/cold-read.ts +1 -1
- package/skills/cold-read-diff/scripts/readers.js +2 -1
- package/skills/cold-read-diff/scripts/readers.ts +2 -1
- package/skills/draft-paper/SKILL.md +16 -29
- package/skills/draft-paper/SKILL.md.spec.ts +27 -28
- package/skills/extend-paper/SKILL.md +7 -16
- package/skills/extend-paper/SKILL.md.spec.ts +18 -15
- package/skills/find-venue/SKILL.md +11 -24
- package/skills/find-venue/SKILL.md.spec.ts +19 -23
- package/skills/harden-paper/SKILL.md +62 -290
- package/skills/harden-paper/SKILL.md.spec.ts +82 -304
- package/skills/harden-paper/harden-paper.harness.mjs +1 -2
- package/skills/jobs.ts +25 -0
- package/skills/label-agent-runs/SKILL.md.spec.ts +10 -0
- package/skills/map-prior-work/SKILL.md +5 -4
- package/skills/map-prior-work/SKILL.md.spec.ts +13 -3
- package/skills/paper-pipeline/SKILL.md +80 -278
- package/skills/paper-pipeline/SKILL.md.spec.ts +130 -276
- package/skills/paper-pipeline/description-language.eval.mjs +0 -22
- package/skills/paper-pipeline/framing-vs-vocabulary.eval.mjs +0 -29
- package/skills/paper-pipeline/paper-pipeline.harness.mjs +0 -16
- package/skills/paper-pipeline/pipeline-firing.eval.mjs +7 -29
- package/skills/paper-pipeline/pipeline-language.eval.mjs +0 -52
- package/skills/paper-pipeline/references/artifact-checklist.md +6 -1
- package/skills/paper-pipeline/references/body-vs-appendix.md +3 -4
- package/skills/paper-pipeline/references/pipeline-status-template.md +8 -10
- package/skills/paper-pipeline/references/review-ratchet.md +4 -7
- package/skills/paper-pipeline/references/venue-bar.md +1 -2
- package/skills/paper-pipeline/references/writing-craft.md +21 -281
- package/skills/paper-status/SKILL.md +17 -20
- package/skills/paper-status/SKILL.md.spec.ts +23 -19
- package/skills/pc-panel-review/SKILL.md +66 -93
- package/skills/pc-panel-review/SKILL.md.spec.ts +75 -92
- package/skills/plan-paper-timeline/SKILL.md +7 -29
- package/skills/plan-paper-timeline/SKILL.md.spec.ts +16 -28
- package/skills/plan-paper-timeline/plan-paper-timeline.effects.harness.mjs +2 -2
- package/skills/render-paper/check-render.sh +2 -2
- package/skills/render-paper/render-paper.harness.mjs +4 -20
- package/skills/research-ideate/SKILL.md +15 -32
- package/skills/research-ideate/SKILL.md.spec.ts +25 -31
- package/skills/rewrite-unclear/SKILL.md +15 -14
- package/skills/rewrite-unclear/SKILL.md.spec.ts +24 -15
- package/skills/rewrite-unclear/rewrite-unclear.eval.ts +2 -3
- package/skills/run-agent-grid/SKILL.md +3 -3
- package/skills/run-agent-grid/SKILL.md.spec.ts +10 -2
- package/skills/study-accepted-papers/SKILL.md +5 -5
- package/skills/study-accepted-papers/SKILL.md.spec.ts +27 -4
- package/skills/submit-paper/SKILL.md +37 -31
- package/skills/submit-paper/SKILL.md.spec.ts +46 -30
- package/skills/submit-paper/check-deanon.sh +1 -1
- package/skills/tighten-paper/SKILL.md +43 -68
- package/skills/tighten-paper/SKILL.md.spec.ts +51 -67
- package/skills/verify-citations/SKILL.md +18 -112
- package/skills/verify-citations/SKILL.md.spec.ts +27 -114
- package/src/adapters/latex/abstract.test.ts +42 -0
- package/src/adapters/latex/abstract.ts +23 -6
- package/src/adapters/latex/captions.test.ts +36 -38
- package/src/adapters/latex/captions.ts +16 -33
- package/src/adapters/latex/index.test.ts +11 -0
- package/src/adapters/latex/index.ts +5 -2
- package/src/adapters/latex/prose.ts +23 -11
- package/src/cli.ts +26 -5
- package/src/domain/register.test.ts +65 -0
- package/src/domain/register.ts +72 -16
- package/src/domain/term-definitions.test.ts +240 -0
- package/src/domain/term-definitions.ts +329 -0
- package/src/domain/tex-document.ts +12 -0
- package/src/domain/venue-name.test.ts +4 -4
- package/src/folder-venue-rule.test.ts +23 -2
- package/src/folder-venue-rule.ts +8 -8
- package/src/hooks-notice.test.ts +127 -0
- package/src/hooks-notice.ts +50 -10
- package/src/link-skills.ts +9 -0
- package/src/new-paper.test.ts +2 -2
- package/src/paper-settings-commands.test.ts +1 -1
- package/src/ports/latex.ts +11 -0
- package/src/preset-card-rule.test.ts +4 -0
- package/src/presets.test.ts +141 -4
- package/src/presets.ts +113 -22
- package/src/readability.test.ts +92 -0
- package/src/readability.ts +113 -5
- package/src/register-bands.test.ts +81 -1
- package/src/register-bands.ts +88 -23
- package/src/rule-cases.test.ts +122 -2
- package/src/term-definition-rules.test.ts +150 -0
- package/src/term-definition-rules.ts +189 -0
- package/src/tex-paper.test.ts +18 -1
- package/src/tex-paper.ts +11 -0
- package/src/tex-requirements.ts +15 -0
- package/src/tex-venue-rules.test.ts +45 -1
- package/src/tex-venue-rules.ts +8 -3
- package/src/venue-rules.test.ts +2 -2
- package/templates/paper/PIPELINE-STATUS.md +19 -19
- package/dist/paper-prose.d.ts +0 -17
- package/dist/paper-prose.d.ts.map +0 -1
- package/dist/paper-prose.js +0 -46
- package/dist/paper-prose.js.map +0 -1
- package/skills/grade-paper-writing/SKILL.md +0 -494
- package/skills/grade-paper-writing/SKILL.md.spec.ts +0 -501
- package/skills/grade-paper-writing/__snapshots__/prose-lint.test.ts.snap +0 -84
- package/skills/grade-paper-writing/fixtures/control_gopen.txt +0 -1
- package/skills/grade-paper-writing/fixtures/control_human_paper.txt +0 -1
- package/skills/grade-paper-writing/fixtures/rewrite.txt +0 -1
- package/skills/grade-paper-writing/fixtures/specimen.txt +0 -1
- package/skills/grade-paper-writing/fixtures/structure-checks.md +0 -22
- package/skills/grade-paper-writing/grade-paper-writing.eval.mjs +0 -19
- package/skills/grade-paper-writing/grade-paper-writing.harness.mjs +0 -23
- package/skills/grade-paper-writing/prose-lint.mjs +0 -602
- package/skills/grade-paper-writing/prose-lint.test.ts +0 -413
- package/skills/osf-artifact-upload/SKILL.md +0 -58
- package/skills/osf-artifact-upload/SKILL.md.spec.ts +0 -65
- package/skills/osf-artifact-upload/osf-artifact-upload.eval.mjs +0 -22
- package/skills/osf-artifact-upload/osf-artifact-upload.harness.ts +0 -102
- package/skills/paper-adversarial-review/SKILL.md +0 -100
- package/skills/paper-adversarial-review/SKILL.md.spec.ts +0 -107
- package/skills/paper-adversarial-review/paper-adversarial-review.eval.mjs +0 -19
- package/skills/paper-adversarial-review/paper-adversarial-review.harness.mjs +0 -24
- package/skills/paper-pipeline/grade-paper-writing-ablation.eval.mjs +0 -1274
- package/skills/paper-pipeline/references/credit-criteria.md +0 -69
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/README.md +0 -35
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/run_retext.mjs +0 -24
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/sentences.txt +0 -11
- package/skills/paper-pipeline/references/occupancy-2026-08-06-probe/test_sentences.py +0 -25
- package/skills/paper-pipeline/references/occupancy-2026-08-06-prose-checkers.md +0 -538
- package/skills/paper-pipeline/references/occupancy-2026-08-06-reproducible-tooling.md +0 -431
- package/skills/paper-pipeline/references/occupancy-2026-08-06-staleness-and-orchestration.md +0 -592
- package/skills/paper-pipeline/repro/2026-08-08-parent-replication.mjs +0 -92
- package/skills/render-paper/SKILL.md +0 -123
- package/skills/render-paper/SKILL.md.spec.ts +0 -130
- package/skills/render-paper/render-paper.eval.mjs +0 -19
- package/skills/submission-portal/SKILL.md +0 -129
- package/skills/submission-portal/SKILL.md.spec.ts +0 -134
- package/skills/submission-portal/submission-portal.eval.mjs +0 -15
- package/skills/submission-portal/submission-portal.test.ts +0 -12
- package/skills/sweep-design-space/SKILL.md +0 -232
- package/skills/sweep-design-space/SKILL.md.spec.ts +0 -248
- package/skills/sweep-design-space/sweep-design-space.eval.mjs +0 -19
- package/skills/sweep-design-space/sweep-design-space.harness.mjs +0 -23
- package/src/paper-prose.test.ts +0 -78
- package/src/paper-prose.ts +0 -67
package/src/hooks-notice.test.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { test } from "vitest";
|
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import { useTempDir, writeTree } from "../test/support.ts";
|
|
15
15
|
import { run, runHook, spawnHook } from "./cli.ts";
|
|
16
|
+
import type { LinkReport } from "./link-skills.ts";
|
|
16
17
|
import {
|
|
17
18
|
NOTICE_STATE,
|
|
18
19
|
lintLine,
|
|
@@ -72,6 +73,7 @@ async function hook(
|
|
|
72
73
|
file: string,
|
|
73
74
|
newString: string,
|
|
74
75
|
version = "9.9.9",
|
|
76
|
+
skillLinks?: () => LinkReport,
|
|
75
77
|
) {
|
|
76
78
|
const out: string[] = [];
|
|
77
79
|
const err: string[] = [];
|
|
@@ -89,6 +91,7 @@ async function hook(
|
|
|
89
91
|
},
|
|
90
92
|
projectDir: dir,
|
|
91
93
|
version,
|
|
94
|
+
...(skillLinks === undefined ? {} : { skillLinks }),
|
|
92
95
|
});
|
|
93
96
|
return { code, out: out.join(""), err };
|
|
94
97
|
}
|
|
@@ -420,3 +423,127 @@ test("paperlint lint: a settings file it cannot read is no second finding — th
|
|
|
420
423
|
[],
|
|
421
424
|
);
|
|
422
425
|
});
|
|
426
|
+
|
|
427
|
+
/** What `linkSkills(root, { write: false })` reports: one skill per status given. */
|
|
428
|
+
const linked =
|
|
429
|
+
(...links: [string, "present" | "missing" | "foreign"][]) =>
|
|
430
|
+
(): LinkReport => ({
|
|
431
|
+
ok: true,
|
|
432
|
+
home: ".claude/skills",
|
|
433
|
+
example: null,
|
|
434
|
+
links: links.map(([name, status]) =>
|
|
435
|
+
status === "foreign"
|
|
436
|
+
? { name, status, reason: "a directory" }
|
|
437
|
+
: { name, status },
|
|
438
|
+
),
|
|
439
|
+
});
|
|
440
|
+
|
|
441
|
+
test("an upgrade that ships a skill the project never linked: the notice names it once per version, and not the skill whose name the project's own directory holds", async () => {
|
|
442
|
+
const dir = project("skill-missing", wiringWithout([]));
|
|
443
|
+
const file = join(dir, "papers/p/paper.tex");
|
|
444
|
+
const links = linked(
|
|
445
|
+
["paper-pipeline", "present"],
|
|
446
|
+
["rewrite-unclear", "missing"],
|
|
447
|
+
["mine-already", "foreign"],
|
|
448
|
+
);
|
|
449
|
+
const first = await hook("lint-edited", dir, file, "Fine.", "9.9.9", links);
|
|
450
|
+
assert.deepEqual(first.err, []);
|
|
451
|
+
const { additionalContext } = Notice.parse(
|
|
452
|
+
JSON.parse(first.out),
|
|
453
|
+
).hookSpecificOutput;
|
|
454
|
+
assert.match(additionalContext, /paperlint 9\.9\.9/);
|
|
455
|
+
assert.match(additionalContext, /rewrite-unclear/);
|
|
456
|
+
assert.doesNotMatch(additionalContext, /paper-pipeline|mine-already/);
|
|
457
|
+
assert.doesNotMatch(additionalContext, /hooks/);
|
|
458
|
+
assert.match(additionalContext, /Run `npx paperlint init` now/);
|
|
459
|
+
assert.deepEqual(
|
|
460
|
+
await hook("lint-edited", dir, file, "Fine.", "9.9.9", links),
|
|
461
|
+
{ code: 0, out: "", err: [] },
|
|
462
|
+
);
|
|
463
|
+
const next = await hook("lint-edited", dir, file, "Fine.", "9.9.10", links);
|
|
464
|
+
assert.match(
|
|
465
|
+
Notice.parse(JSON.parse(next.out)).hookSpecificOutput.additionalContext,
|
|
466
|
+
/rewrite-unclear/,
|
|
467
|
+
);
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
test("a project missing a hook and a skill hears both in one notice; every skill linked, or no package to read, says nothing about skills", async () => {
|
|
471
|
+
const both = project("both", wiringWithout(["lint-edited"]));
|
|
472
|
+
const said = await hook(
|
|
473
|
+
"paper-skills-nudge",
|
|
474
|
+
both,
|
|
475
|
+
join(both, "papers/p/paper.tex"),
|
|
476
|
+
"Fine.",
|
|
477
|
+
"9.9.9",
|
|
478
|
+
linked(["rewrite-unclear", "missing"]),
|
|
479
|
+
);
|
|
480
|
+
const text = Notice.parse(JSON.parse(said.out)).hookSpecificOutput
|
|
481
|
+
.additionalContext;
|
|
482
|
+
assert.match(text, /lint-edited/);
|
|
483
|
+
assert.match(text, /rewrite-unclear/);
|
|
484
|
+
const whole = project("skills-whole", wiringWithout([]));
|
|
485
|
+
const file = join(whole, "papers/p/paper.tex");
|
|
486
|
+
const quiet = { code: 0, out: "", err: [] };
|
|
487
|
+
assert.deepEqual(
|
|
488
|
+
await hook(
|
|
489
|
+
"lint-edited",
|
|
490
|
+
whole,
|
|
491
|
+
file,
|
|
492
|
+
"Fine.",
|
|
493
|
+
"9.9.9",
|
|
494
|
+
linked(["a", "present"], ["b", "foreign"]),
|
|
495
|
+
),
|
|
496
|
+
quiet,
|
|
497
|
+
);
|
|
498
|
+
assert.deepEqual(
|
|
499
|
+
await hook("lint-edited", whole, file, "Fine.", "9.9.9", () => ({
|
|
500
|
+
ok: false,
|
|
501
|
+
error: "does not resolve",
|
|
502
|
+
})),
|
|
503
|
+
quiet,
|
|
504
|
+
);
|
|
505
|
+
});
|
|
506
|
+
|
|
507
|
+
test("paperlint lint: one stderr line names the unlinked skills, and none when they are all linked", async () => {
|
|
508
|
+
const lint = async (dir: string, skillLinks: () => LinkReport) => {
|
|
509
|
+
const err: string[] = [];
|
|
510
|
+
const code = await run(["lint"], {
|
|
511
|
+
log: () => undefined,
|
|
512
|
+
err: (...a: unknown[]) => err.push(a.join(" ")),
|
|
513
|
+
cwd: dir,
|
|
514
|
+
skillLinks,
|
|
515
|
+
});
|
|
516
|
+
return { code, err: err.filter((l) => /not linked|not wired/.test(l)) };
|
|
517
|
+
};
|
|
518
|
+
const missing = await lint(
|
|
519
|
+
project("lint-skill-missing", wiringWithout([])),
|
|
520
|
+
linked(["rewrite-unclear", "missing"], ["x", "foreign"]),
|
|
521
|
+
);
|
|
522
|
+
assert.equal(missing.err.length, 1);
|
|
523
|
+
assert.match(
|
|
524
|
+
missing.err[0] ?? "",
|
|
525
|
+
/skill rewrite-unclear is not linked — run `npx paperlint init`/,
|
|
526
|
+
);
|
|
527
|
+
assert.doesNotMatch(missing.err[0] ?? "", /\bx\b/);
|
|
528
|
+
const whole = await lint(
|
|
529
|
+
project("lint-skill-whole", wiringWithout([])),
|
|
530
|
+
linked(["rewrite-unclear", "present"]),
|
|
531
|
+
);
|
|
532
|
+
assert.deepEqual(whole.err, []);
|
|
533
|
+
assert.equal(missing.code, whole.code);
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
test("lintLine and noticeText word skills beside hooks", () => {
|
|
537
|
+
assert.match(
|
|
538
|
+
lintLine("9.9.9", ["lint-edited"], ["a", "b"]),
|
|
539
|
+
/hook lint-edited is not wired; skills a, b are not linked/,
|
|
540
|
+
);
|
|
541
|
+
assert.match(
|
|
542
|
+
noticeText("9.9.9", ["lint-edited"], true, ["a"]),
|
|
543
|
+
/by hand.*\(init does link the skills\)/,
|
|
544
|
+
);
|
|
545
|
+
assert.match(
|
|
546
|
+
noticeText("9.9.9", [], false, ["a"]),
|
|
547
|
+
/skills that are not linked into \.claude\/skills\/: a\./,
|
|
548
|
+
);
|
|
549
|
+
});
|
package/src/hooks-notice.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The notice an upgrade owes a project whose hooks are only partly wired
|
|
2
|
+
* The notice an upgrade owes a project whose hooks are only partly wired or whose shipped skills
|
|
3
|
+
* are not all linked into `.claude/skills/` (16.8.0 shipped `rewrite-unclear`; a project that ran
|
|
4
|
+
* `init` before it never got the link, and only a hand-run `doctor` said so). `paperlint init` wires the
|
|
3
5
|
* hooks once, so a release that ships one more (16.2.0 added `lint-edited`) leaves every project that
|
|
4
6
|
* ran `init` before it without that hook, and nothing says so: `paperlint doctor` is run by hand,
|
|
5
7
|
* and nobody does. The hooks that ARE wired run the NEW version's code after an upgrade, so one of
|
|
@@ -13,11 +15,15 @@
|
|
|
13
15
|
*
|
|
14
16
|
* ── WHO DECIDES WHAT IS MISSING ──────────────────────────────────────────────────
|
|
15
17
|
* `unwiredHooks` (`src/hooks-settings.ts`), the function `paperlint doctor` reports with; this module
|
|
16
|
-
* only words the answer and remembers that it was given.
|
|
18
|
+
* only words the answer and remembers that it was given. The skills come from `unlinkedSkills`
|
|
19
|
+
* (`src/link-skills.ts`), the report `paperlint doctor` and `init` read: a skill is named only when
|
|
20
|
+
* its status is `missing`; a name taken by the project's own entry (`foreign`) is its choice, and
|
|
21
|
+
* `doctor` reports it.
|
|
17
22
|
*/
|
|
18
23
|
import { join } from "node:path";
|
|
19
24
|
import { callerPath } from "./caller-path.ts";
|
|
20
25
|
import { isRecord } from "./domain/record.ts";
|
|
26
|
+
import { SKILLS_HOME } from "./link-skills.ts";
|
|
21
27
|
import type { Files } from "./ports/files.ts";
|
|
22
28
|
|
|
23
29
|
/** The hooks that may carry the notice: PostToolUse ones. A PreToolUse hook never does. */
|
|
@@ -35,20 +41,54 @@ export const NOTICE_STATE = join(
|
|
|
35
41
|
"unwired-hooks.json",
|
|
36
42
|
);
|
|
37
43
|
|
|
38
|
-
|
|
44
|
+
const SKILLS_HOME_SHOWN = `${SKILLS_HOME}/`;
|
|
45
|
+
|
|
46
|
+
/** The instruction the agent reads. `byHand`: `init` writes no hooks then, so the remedy differs. */
|
|
39
47
|
export const noticeText = (
|
|
40
48
|
version: string,
|
|
41
49
|
missing: readonly string[],
|
|
42
50
|
byHand: boolean,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
skills: readonly string[] = [],
|
|
52
|
+
): string => {
|
|
53
|
+
const what = [
|
|
54
|
+
...(missing.length === 0
|
|
55
|
+
? []
|
|
56
|
+
: [
|
|
57
|
+
`expects hooks that this project has not wired: ${missing.join(", ")}`,
|
|
58
|
+
]),
|
|
59
|
+
...(skills.length === 0
|
|
60
|
+
? []
|
|
61
|
+
: [
|
|
62
|
+
`ships skills that are not linked into ${SKILLS_HOME_SHOWN}: ${skills.join(", ")}`,
|
|
63
|
+
]),
|
|
64
|
+
].join(", and ");
|
|
65
|
+
const handHooks = byHand && missing.length > 0;
|
|
66
|
+
return (
|
|
67
|
+
`⚠ paperlint ${version} ${what}. ` +
|
|
68
|
+
(handHooks
|
|
69
|
+
? `Some paperlint hooks are wired by hand, so \`npx paperlint init\` writes no hooks: add the missing ones in the same form${skills.length === 0 ? "" : " (init does link the skills)"}, then run \`npx paperlint doctor\` to confirm.`
|
|
70
|
+
: `Run \`npx paperlint init\` now, then \`npx paperlint doctor\` to confirm.`)
|
|
71
|
+
);
|
|
72
|
+
};
|
|
48
73
|
|
|
49
74
|
/** The one stderr line `paperlint lint` prints. */
|
|
50
|
-
export const lintLine = (
|
|
51
|
-
|
|
75
|
+
export const lintLine = (
|
|
76
|
+
version: string,
|
|
77
|
+
missing: readonly string[],
|
|
78
|
+
skills: readonly string[] = [],
|
|
79
|
+
): string =>
|
|
80
|
+
`paperlint ${version}: ${[
|
|
81
|
+
...(missing.length === 0
|
|
82
|
+
? []
|
|
83
|
+
: [
|
|
84
|
+
`${missing.length === 1 ? "hook" : "hooks"} ${missing.join(", ")} ${missing.length === 1 ? "is" : "are"} not wired`,
|
|
85
|
+
]),
|
|
86
|
+
...(skills.length === 0
|
|
87
|
+
? []
|
|
88
|
+
: [
|
|
89
|
+
`${skills.length === 1 ? "skill" : "skills"} ${skills.join(", ")} ${skills.length === 1 ? "is" : "are"} not linked`,
|
|
90
|
+
]),
|
|
91
|
+
].join("; ")} — run \`npx paperlint init\`, then \`npx paperlint doctor\``;
|
|
52
92
|
|
|
53
93
|
const statePath = (root: string) => callerPath(join(root, NOTICE_STATE));
|
|
54
94
|
|
package/src/link-skills.ts
CHANGED
|
@@ -132,6 +132,15 @@ export type LinkReport =
|
|
|
132
132
|
}
|
|
133
133
|
| { readonly ok: false; readonly error: string };
|
|
134
134
|
|
|
135
|
+
/**
|
|
136
|
+
* The shipped skills a read-only report found `missing`: not linked, and the name free. A `foreign`
|
|
137
|
+
* entry is the project's own and is not named; a report that could not be made names nothing.
|
|
138
|
+
*/
|
|
139
|
+
export const unlinkedSkills = (report: LinkReport): readonly string[] =>
|
|
140
|
+
report.ok
|
|
141
|
+
? report.links.filter((l) => l.status === "missing").map((l) => l.name)
|
|
142
|
+
: [];
|
|
143
|
+
|
|
135
144
|
/** The filesystem calls linking makes — the disk by default; a test stages a race or a refusal. */
|
|
136
145
|
export interface LinkFs {
|
|
137
146
|
readonly lstatSync: (p: string) => {
|
package/src/new-paper.test.ts
CHANGED
|
@@ -295,11 +295,11 @@ describe("paperlint new --venue msr", () => {
|
|
|
295
295
|
|
|
296
296
|
describe("paperlint new --venue — a venue it cannot use", () => {
|
|
297
297
|
it("an unknown venue exits 2, lists the shipped presets, and creates nothing", async () => {
|
|
298
|
-
const r = await newIn(["--venue", "
|
|
298
|
+
const r = await newIn(["--venue", "neurips"]);
|
|
299
299
|
expect(r.code).toBe(2);
|
|
300
300
|
// Guards: the list is read from the shipped presets, the same list lint prints.
|
|
301
301
|
expect(r.err).toContain(shippedPresets(presetsDir()).join(", "));
|
|
302
|
-
expect(r.err).toMatch(/--venue
|
|
302
|
+
expect(r.err).toMatch(/--venue neurips: no such venue preset/);
|
|
303
303
|
expect(existsSync(r.dir)).toBe(false);
|
|
304
304
|
});
|
|
305
305
|
});
|
|
@@ -302,7 +302,7 @@ describe("paperlint lint — the paper over its preset, and the project's own pr
|
|
|
302
302
|
const r = await lint(root);
|
|
303
303
|
expect(r.code).toBe(1);
|
|
304
304
|
expect(r.out).toMatch(
|
|
305
|
-
/acm-sigconf, agent, agenticdev, agentverify, aidc, aisec, ieee-conference, msr, nlbse, realm/,
|
|
305
|
+
/acm-sigconf, agent, agenticdev, agentverify, aidc, aisec, ase, ccs, icse, ieee-conference, msr, nlbse, realm, sp/,
|
|
306
306
|
);
|
|
307
307
|
});
|
|
308
308
|
});
|
package/src/ports/latex.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import type { Include } from "../domain/paper-source.ts";
|
|
6
6
|
import type { Result } from "../domain/result.ts";
|
|
7
7
|
import type {
|
|
8
|
+
Caption,
|
|
8
9
|
ClassLine,
|
|
9
10
|
DocumentClass,
|
|
10
11
|
Emphasis,
|
|
@@ -68,6 +69,11 @@ export interface LatexReader {
|
|
|
68
69
|
* a heading, a run-in heading (`\textbf{Threats.} …`), a caption, a float or a table.
|
|
69
70
|
*/
|
|
70
71
|
readonly bodyEmphasis: (src: string) => readonly Emphasis[];
|
|
72
|
+
/**
|
|
73
|
+
* Every `\caption` a reader sees, in document order, as prose read the way the body is, with the
|
|
74
|
+
* span of the command: never one commented out, in code, or in a macro's definition.
|
|
75
|
+
*/
|
|
76
|
+
readonly captions: (src: string) => readonly Caption[];
|
|
71
77
|
/** Every `\input`, `\include` and `\subfile`, in source order: the path as written, where it stands. */
|
|
72
78
|
readonly includes: (src: string) => readonly Include[];
|
|
73
79
|
/** The span of the `document` environment's body, or null when the source has none. */
|
|
@@ -99,6 +105,11 @@ export interface LatexReader {
|
|
|
99
105
|
* what stops it, with its offset in `src`.
|
|
100
106
|
*/
|
|
101
107
|
readonly abstractText: (src: string) => Result<string, AbstractProblem>;
|
|
108
|
+
/**
|
|
109
|
+
* Where the abstract environment stands, `\begin` to `\end`, or null when the source has none:
|
|
110
|
+
* a rule over the body's prose leaves out what stands in it (`bodyProse` reads it as body).
|
|
111
|
+
*/
|
|
112
|
+
readonly abstractSpan: (src: string) => Span | null;
|
|
102
113
|
/** The keys of every citation command of `src`, captions and floats included, in order. */
|
|
103
114
|
readonly citeKeys: (src: string) => readonly string[];
|
|
104
115
|
/** The numbers `src` registers with `\num{…}` and `\SI{…}{…}`: each one's first argument. */
|
|
@@ -92,10 +92,14 @@ describe("the shipped cards", () => {
|
|
|
92
92
|
"agentverify.md",
|
|
93
93
|
"aidc.md",
|
|
94
94
|
"aisec.md",
|
|
95
|
+
"ase.md",
|
|
96
|
+
"ccs.md",
|
|
97
|
+
"icse.md",
|
|
95
98
|
"ieee-conference.md",
|
|
96
99
|
"msr.md",
|
|
97
100
|
"nlbse.md",
|
|
98
101
|
"realm.md",
|
|
102
|
+
"sp.md",
|
|
99
103
|
"tex-base.md",
|
|
100
104
|
]);
|
|
101
105
|
expect(results.flatMap((r) => r.messages)).toEqual([]);
|
package/src/presets.test.ts
CHANGED
|
@@ -202,6 +202,21 @@ const DECLARED = {
|
|
|
202
202
|
name: "AISec",
|
|
203
203
|
url: "https://aisec.cc/",
|
|
204
204
|
},
|
|
205
|
+
"ase.jsonc": {
|
|
206
|
+
type: "venue",
|
|
207
|
+
name: "ASE",
|
|
208
|
+
url: "https://conf.researchr.org/track/ase-2026/ase-2026-research-track",
|
|
209
|
+
},
|
|
210
|
+
"ccs.jsonc": {
|
|
211
|
+
type: "venue",
|
|
212
|
+
name: "ACM CCS",
|
|
213
|
+
url: "https://www.sigsac.org/ccs/CCS2026/call-for/call-for-papers.html",
|
|
214
|
+
},
|
|
215
|
+
"icse.jsonc": {
|
|
216
|
+
type: "venue",
|
|
217
|
+
name: "ICSE 2028",
|
|
218
|
+
url: "https://conf.researchr.org/track/icse-2028/icse-2028-papers",
|
|
219
|
+
},
|
|
205
220
|
"ieee-conference.jsonc": { type: "family" },
|
|
206
221
|
"msr.jsonc": {
|
|
207
222
|
type: "venue",
|
|
@@ -218,6 +233,11 @@ const DECLARED = {
|
|
|
218
233
|
name: "REALM",
|
|
219
234
|
url: "https://realm-workshop.github.io/call_for_papers",
|
|
220
235
|
},
|
|
236
|
+
"sp.jsonc": {
|
|
237
|
+
type: "venue",
|
|
238
|
+
name: "IEEE S&P",
|
|
239
|
+
url: "https://sp2027.ieee-security.org/cfpapers.html",
|
|
240
|
+
},
|
|
221
241
|
"tex-base.jsonc": { type: "base" },
|
|
222
242
|
};
|
|
223
243
|
|
|
@@ -476,7 +496,7 @@ describe("what does not resolve, and says why", () => {
|
|
|
476
496
|
"a shipped name with a typo",
|
|
477
497
|
"paperlint:agenticdve",
|
|
478
498
|
"not-found",
|
|
479
|
-
/acm-sigconf, agent, agenticdev, agentverify, aidc, aisec, ieee-conference, msr, nlbse, realm/,
|
|
499
|
+
/acm-sigconf, agent, agenticdev, agentverify, aidc, aisec, ase, ccs, icse, ieee-conference, msr, nlbse, realm, sp/,
|
|
480
500
|
],
|
|
481
501
|
["the base TeX set", "paperlint:tex-base", "not-found", /agenticdev/],
|
|
482
502
|
[
|
|
@@ -587,6 +607,116 @@ describe("chains that do not resolve: the files themselves", () => {
|
|
|
587
607
|
});
|
|
588
608
|
});
|
|
589
609
|
|
|
610
|
+
describe("a workshop's parent conference (`parent`)", () => {
|
|
611
|
+
it("agenticdev is held at ase and aisec at ccs: the parent's names, not the workshop's aliases", () => {
|
|
612
|
+
const names = (spec: string) => {
|
|
613
|
+
const r = resolve(spec);
|
|
614
|
+
return r.ok ? [r.value.aliases, r.value.parentNames] : r.error;
|
|
615
|
+
};
|
|
616
|
+
expect(names("paperlint:agenticdev")).toEqual([["AgenticDev"], ["ASE"]]);
|
|
617
|
+
expect(names("paperlint:aisec")).toEqual([["AISec"], ["ACM CCS"]]);
|
|
618
|
+
expect(names("paperlint:ccs")).toEqual([["ACM CCS"], []]);
|
|
619
|
+
});
|
|
620
|
+
|
|
621
|
+
it("a parent's own parent counts too, and a child of the workshop inherits its parent", () => {
|
|
622
|
+
const r = resolve("./w.jsonc", {
|
|
623
|
+
"/work/papers/p/w.jsonc": venue({
|
|
624
|
+
extends: "paperlint:acm-sigconf",
|
|
625
|
+
parent: "./c.jsonc",
|
|
626
|
+
}),
|
|
627
|
+
"/work/papers/p/c.jsonc": venue(
|
|
628
|
+
{ extends: "paperlint:acm-sigconf", parent: "paperlint:ccs" },
|
|
629
|
+
"Our Conference",
|
|
630
|
+
),
|
|
631
|
+
});
|
|
632
|
+
expect(r.ok && r.value.parentNames).toEqual(["Our Conference", "ACM CCS"]);
|
|
633
|
+
const mine = resolve("./mine.jsonc", {
|
|
634
|
+
"/work/papers/p/mine.jsonc": venue({ extends: "paperlint:agenticdev" }),
|
|
635
|
+
});
|
|
636
|
+
expect(mine.ok && mine.value.parentNames).toEqual(["ASE"]);
|
|
637
|
+
});
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
/** A parent that cannot be used, the files around it, and the line that refuses it. */
|
|
641
|
+
const BAD_PARENTS: readonly [string, Record<string, string>, string][] = [
|
|
642
|
+
[
|
|
643
|
+
"a parent that names no preset",
|
|
644
|
+
{
|
|
645
|
+
"/work/papers/p/w.jsonc": venue({
|
|
646
|
+
extends: "paperlint:acm-sigconf",
|
|
647
|
+
parent: "paperlint:nope",
|
|
648
|
+
}),
|
|
649
|
+
},
|
|
650
|
+
`the preset /work/papers/p/w.jsonc names a parent conference that does not resolve to a venue: "parent": "paperlint:nope" names no preset (${join(VENUES, "nope.jsonc")}); shipped presets (paperlint:<name>): ${shippedPresets(VENUES).join(", ")}`,
|
|
651
|
+
],
|
|
652
|
+
[
|
|
653
|
+
"a parent that is a template family",
|
|
654
|
+
{
|
|
655
|
+
"/work/papers/p/w.jsonc": venue({
|
|
656
|
+
extends: "paperlint:acm-sigconf",
|
|
657
|
+
parent: "paperlint:acm-sigconf",
|
|
658
|
+
}),
|
|
659
|
+
},
|
|
660
|
+
`the preset /work/papers/p/w.jsonc names a parent conference that does not resolve to a venue: "parent": "paperlint:acm-sigconf" is a family, and a workshop's parent is the venue it is held at`,
|
|
661
|
+
],
|
|
662
|
+
[
|
|
663
|
+
"a parent whose own parent does not resolve: the file that names it",
|
|
664
|
+
{
|
|
665
|
+
"/work/papers/p/w.jsonc": venue({
|
|
666
|
+
extends: "paperlint:acm-sigconf",
|
|
667
|
+
parent: "./c.jsonc",
|
|
668
|
+
}),
|
|
669
|
+
"/work/papers/p/c.jsonc": venue({
|
|
670
|
+
extends: "paperlint:acm-sigconf",
|
|
671
|
+
parent: "./gone.jsonc",
|
|
672
|
+
}),
|
|
673
|
+
},
|
|
674
|
+
`the preset /work/papers/p/c.jsonc names a parent conference that does not resolve to a venue: "parent": "./gone.jsonc" names no preset (/work/papers/p/gone.jsonc); shipped presets (paperlint:<name>): ${shippedPresets(VENUES).join(", ")}`,
|
|
675
|
+
],
|
|
676
|
+
[
|
|
677
|
+
"a parent whose own chain does not resolve",
|
|
678
|
+
{
|
|
679
|
+
"/work/papers/p/w.jsonc": venue({
|
|
680
|
+
extends: "paperlint:acm-sigconf",
|
|
681
|
+
parent: "./c.jsonc",
|
|
682
|
+
}),
|
|
683
|
+
"/work/papers/p/c.jsonc": venue({ extends: "./gone.jsonc" }),
|
|
684
|
+
},
|
|
685
|
+
`the preset /work/papers/p/w.jsonc names a parent conference that does not resolve to a venue: "parent": "./c.jsonc" does not resolve: "extends": "./gone.jsonc" names no preset (/work/papers/p/gone.jsonc); shipped presets (paperlint:<name>): ${shippedPresets(VENUES).join(", ")}`,
|
|
686
|
+
],
|
|
687
|
+
[
|
|
688
|
+
"parents that name each other",
|
|
689
|
+
{
|
|
690
|
+
"/work/papers/p/w.jsonc": venue({
|
|
691
|
+
extends: "paperlint:acm-sigconf",
|
|
692
|
+
parent: "./c.jsonc",
|
|
693
|
+
}),
|
|
694
|
+
"/work/papers/p/c.jsonc": venue({
|
|
695
|
+
extends: "paperlint:acm-sigconf",
|
|
696
|
+
parent: "./w.jsonc",
|
|
697
|
+
}),
|
|
698
|
+
},
|
|
699
|
+
`the presets name each other as "parent" in a cycle: /work/papers/p/w.jsonc → /work/papers/p/c.jsonc → /work/papers/p/w.jsonc`,
|
|
700
|
+
],
|
|
701
|
+
];
|
|
702
|
+
|
|
703
|
+
describe("a workshop's parent conference (`parent`): what is refused", () => {
|
|
704
|
+
it.each(BAD_PARENTS)("🔴 refused: %s", (_, files, text) => {
|
|
705
|
+
const r = resolve("./w.jsonc", files);
|
|
706
|
+
expect(r.ok ? "resolved" : presetProblemText(r.error)).toBe(text);
|
|
707
|
+
});
|
|
708
|
+
|
|
709
|
+
it("the schema refuses a parent on a template family", () => {
|
|
710
|
+
const r = resolve("./fam.jsonc", {
|
|
711
|
+
"/work/papers/p/fam.jsonc": family({
|
|
712
|
+
extends: "paperlint:acm-sigconf",
|
|
713
|
+
parent: "paperlint:ccs",
|
|
714
|
+
}),
|
|
715
|
+
});
|
|
716
|
+
expect(r.ok ? "resolved" : r.error.kind).toBe("broken");
|
|
717
|
+
});
|
|
718
|
+
});
|
|
719
|
+
|
|
590
720
|
describe("a preset's template: kept as its file spells it, with that file", () => {
|
|
591
721
|
it("a child's template replaces its parent's, and names its own file", () => {
|
|
592
722
|
const r = resolve("./own.jsonc", {
|
|
@@ -649,14 +779,17 @@ describe("shippedVenueNames — what each shipped venue is called", () => {
|
|
|
649
779
|
"AGENTVERIFY",
|
|
650
780
|
"AIDC",
|
|
651
781
|
"AISec",
|
|
782
|
+
"ASE",
|
|
783
|
+
"ACM CCS",
|
|
784
|
+
"ICSE 2028",
|
|
652
785
|
"ieee-conference",
|
|
653
786
|
"MSR",
|
|
654
787
|
"NLBSE",
|
|
655
788
|
"REALM",
|
|
789
|
+
"IEEE S&P",
|
|
656
790
|
]);
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
);
|
|
791
|
+
// AISec's parent conference is its `parent`, not an alias: ACM CCS is named by ccs alone.
|
|
792
|
+
expect(names.find((n) => n.label === "AISec")?.aliases).toEqual(["AISec"]);
|
|
660
793
|
});
|
|
661
794
|
|
|
662
795
|
it("a preset that does not resolve is left out", () => {
|
|
@@ -674,9 +807,13 @@ describe("shippedVenueNames — what each shipped venue is called", () => {
|
|
|
674
807
|
"AGENTVERIFY",
|
|
675
808
|
"AIDC",
|
|
676
809
|
"AISec",
|
|
810
|
+
"ASE",
|
|
811
|
+
"ACM CCS",
|
|
812
|
+
"ICSE 2028",
|
|
677
813
|
"ieee-conference",
|
|
678
814
|
"MSR",
|
|
679
815
|
"NLBSE",
|
|
816
|
+
"IEEE S&P",
|
|
680
817
|
]);
|
|
681
818
|
});
|
|
682
819
|
});
|