paperlint 18.9.0 → 19.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/.claude-plugin/plugin.json +1 -1
- package/CLAUDE.md +7 -1
- package/dist/skill-chunks/{chunk-NPQVDEE4.js → chunk-4MHEJ6FR.js} +50 -1
- package/dist/skill-chunks/{chunk-KWK6RT4T.js → chunk-EOVEVX67.js} +1 -1
- package/dist/skill-chunks/{chunk-65X5HVIJ.js → chunk-UL4INX2P.js} +1 -1
- package/lib/skill-corpus.mjs +2 -113
- package/lib/skill-corpus.test.mjs +10 -11
- package/package.json +4 -3
- package/presets/agentverify-2027.jsonc +12 -6
- package/presets/agentverify-2027.md +11 -7
- package/presets/aidc-2026.jsonc +4 -4
- package/presets/aidc-2026.md +4 -0
- package/presets/nlbse-2027.jsonc +11 -6
- package/presets/nlbse-2027.md +7 -7
- package/scripts/harness-api.frozen.json +0 -18
- package/scripts/sync-skills.test.ts +69 -0
- package/scripts/sync-skills.ts +57 -0
- package/skills/argument-arc/scripts/headings.js +2 -2
- package/skills/build-label-page/build-label-page.test.ts +2 -7
- package/skills/build-label-page/scripts/label-page.js +1 -1
- package/skills/cold-read-diff/scripts/cold-read.js +2 -2
- package/skills/harden-paper/check-numbers.test.ts +104 -0
- package/skills/harden-paper/check-release-claims.test.ts +126 -0
- package/skills/label-agent-runs/label-agent-runs.harness.ts +2 -6
- package/skills/label-agent-runs/scripts/labels.js +1 -1
- package/skills/paper-pipeline/scripts/extract-ref-facts.js +3 -3
- package/skills/pc-panel-review/scripts/prior-reviews.js +1 -1
- package/skills/render-paper/render-paper.harness.mjs +153 -0
- package/skills/rewrite-unclear/rewrite-unclear.harness.ts +0 -5
- package/skills/run-agent-grid/run-agent-grid.harness.ts +2 -6
- package/skills/run-agent-grid/scripts/grid-guard.js +1 -1
- package/skills/submit-paper/check-deanon.test.ts +165 -0
- package/skills/verify-citations/scripts/bib-authors.js +3 -3
- package/skills/verify-citations/scripts/verify-cites.js +3 -3
- package/src/edition-rule.test.ts +16 -12
- package/lib/skill-checks.d.mts +0 -10
- package/lib/skill-checks.mjs +0 -403
- package/lib/skill-checks.test.mjs +0 -288
- package/skills/analyze-sibling-paper/analyze-sibling-paper.harness.mjs +0 -23
- package/skills/argument-arc/argument-arc.harness.mjs +0 -23
- package/skills/build-benchmark/build-benchmark.harness.mjs +0 -23
- package/skills/camera-ready/camera-ready.harness.mjs +0 -23
- package/skills/cold-read-diff/cold-read-diff.harness.mjs +0 -21
- package/skills/draft-paper/draft-paper.harness.mjs +0 -23
- package/skills/extend-paper/extend-paper.harness.mjs +0 -23
- package/skills/find-venue/find-venue.harness.mjs +0 -23
- package/skills/harden-paper/harden-paper.harness.mjs +0 -23
- package/skills/map-prior-work/map-prior-work.harness.mjs +0 -23
- package/skills/paper-status/paper-status.harness.mjs +0 -25
- package/skills/pc-panel-review/pc-panel-review.harness.mjs +0 -24
- package/skills/plan-paper-timeline/plan-paper-timeline.harness.mjs +0 -23
- package/skills/research-ideate/research-ideate.harness.mjs +0 -23
- package/skills/study-accepted-papers/study-accepted-papers.harness.mjs +0 -23
- package/skills/submit-paper/submit-paper.harness.mjs +0 -23
- package/skills/tighten-paper/tighten-paper.harness.mjs +0 -23
- package/skills/verify-citations/verify-citations.harness.mjs +0 -23
package/CLAUDE.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- vigiles:sha256:
|
|
1
|
+
<!-- vigiles:sha256:66d7a4e4745e9fae compiled from CLAUDE.md.spec.ts -->
|
|
2
2
|
|
|
3
3
|
# CLAUDE.md
|
|
4
4
|
|
|
@@ -25,6 +25,12 @@ This file loads on every turn, so it holds only what applies to **any** change h
|
|
|
25
25
|
|
|
26
26
|
`npm install` — not optional: `vigiles` is a real dependency, and every harness, spec and hook resolves through it. Without it, failures look like broken code rather than a missing install.
|
|
27
27
|
|
|
28
|
+
## Claude Code and Codex
|
|
29
|
+
|
|
30
|
+
Keep the repository instructions and maintainer skills available in both tools. This spec builds both `CLAUDE.md` and `AGENTS.md`. Use the table below for folder-specific instructions.
|
|
31
|
+
|
|
32
|
+
Claude Code loads `add-venue` from `.claude/skills/` and Codex loads it from `.agents/skills/`. Edit `.claude/skills/add-venue/SKILL.md.spec.ts` and run `npx vigiles compile .claude/skills/add-venue/SKILL.md.spec.ts` followed by `npm run sync:skills` to regenerate both copies. The sync command uses Rulesync and needs Node 22.22 or later. Commit the generated Markdown with the spec. CI checks the Codex copy during `npm run fmt:check`.
|
|
33
|
+
|
|
28
34
|
## Where the other rules live
|
|
29
35
|
|
|
30
36
|
| when you are… | read | holds |
|
|
@@ -659,6 +659,7 @@ __export(util_exports, {
|
|
|
659
659
|
required: () => required,
|
|
660
660
|
safeExtend: () => safeExtend,
|
|
661
661
|
shallowClone: () => shallowClone,
|
|
662
|
+
sizeCaps: () => sizeCaps,
|
|
662
663
|
slugify: () => slugify,
|
|
663
664
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
664
665
|
toZod: () => toZod,
|
|
@@ -1178,6 +1179,18 @@ function prefixIssues(path, issues) {
|
|
|
1178
1179
|
function unwrapMessage(message) {
|
|
1179
1180
|
return typeof message === "string" ? message : message?.message;
|
|
1180
1181
|
}
|
|
1182
|
+
function sizeCaps(defChecks) {
|
|
1183
|
+
const caps = [];
|
|
1184
|
+
for (const ch of defChecks ?? []) {
|
|
1185
|
+
const d = ch._zod.def;
|
|
1186
|
+
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
1187
|
+
break;
|
|
1188
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
1189
|
+
if (max >= 0)
|
|
1190
|
+
caps.push([max, ch]);
|
|
1191
|
+
}
|
|
1192
|
+
return caps;
|
|
1193
|
+
}
|
|
1181
1194
|
function attachSchema(issues, start, inst) {
|
|
1182
1195
|
var _a3;
|
|
1183
1196
|
for (let i = start; i < issues.length; i++) {
|
|
@@ -2598,7 +2611,7 @@ ${content.join("\n")}
|
|
|
2598
2611
|
var version = {
|
|
2599
2612
|
major: 4,
|
|
2600
2613
|
minor: 6,
|
|
2601
|
-
patch:
|
|
2614
|
+
patch: 7
|
|
2602
2615
|
};
|
|
2603
2616
|
|
|
2604
2617
|
// node_modules/zod/v4/core/schemas.js
|
|
@@ -3354,6 +3367,31 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
3354
3367
|
return payload;
|
|
3355
3368
|
};
|
|
3356
3369
|
});
|
|
3370
|
+
function capSize(inst, size) {
|
|
3371
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
3372
|
+
if (!caps.length)
|
|
3373
|
+
return;
|
|
3374
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
3375
|
+
const parse3 = inst._zod.parse;
|
|
3376
|
+
inst._zod.parse = (payload, ctx) => {
|
|
3377
|
+
const n = size(payload.value);
|
|
3378
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
3379
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
3380
|
+
if (n > max && ch._zod.def.when(payload)) {
|
|
3381
|
+
const start = payload.issues.length;
|
|
3382
|
+
ch._zod.check(payload);
|
|
3383
|
+
payload.issues[start].continue = false;
|
|
3384
|
+
attachSchema(payload.issues, start, inst);
|
|
3385
|
+
return payload;
|
|
3386
|
+
}
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
return parse3(payload, ctx);
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
|
|
3393
|
+
var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
|
|
3394
|
+
var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
|
|
3357
3395
|
function handleArrayResult(result, final, index) {
|
|
3358
3396
|
if (result.issues.length) {
|
|
3359
3397
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -3397,6 +3435,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
3397
3435
|
}
|
|
3398
3436
|
return payload;
|
|
3399
3437
|
};
|
|
3438
|
+
capSize(inst, arraySize);
|
|
3400
3439
|
});
|
|
3401
3440
|
function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
3402
3441
|
const isPresent = key in input2;
|
|
@@ -4353,6 +4392,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
4353
4392
|
return Promise.all(proms).then(() => payload);
|
|
4354
4393
|
return payload;
|
|
4355
4394
|
};
|
|
4395
|
+
capSize(inst, mapSize);
|
|
4356
4396
|
});
|
|
4357
4397
|
function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
|
|
4358
4398
|
if (keyResult.issues.length) {
|
|
@@ -4419,6 +4459,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
4419
4459
|
return Promise.all(proms).then(() => payload);
|
|
4420
4460
|
return payload;
|
|
4421
4461
|
};
|
|
4462
|
+
capSize(inst, setSize);
|
|
4422
4463
|
});
|
|
4423
4464
|
function handleSetResult(result, final) {
|
|
4424
4465
|
if (result.issues.length) {
|
|
@@ -13949,9 +13990,15 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
13949
13990
|
doc.write(`}`);
|
|
13950
13991
|
return outputVar;
|
|
13951
13992
|
}
|
|
13993
|
+
function generateSizeGate(doc, schema, size) {
|
|
13994
|
+
for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
|
|
13995
|
+
doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
|
|
13996
|
+
}
|
|
13997
|
+
}
|
|
13952
13998
|
function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
13953
13999
|
const def = schema._zod.def;
|
|
13954
14000
|
doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
|
|
14001
|
+
generateSizeGate(doc, schema, `${accessor}.length`);
|
|
13955
14002
|
const outputVar = buildsValue ? newVar(ctx) : null;
|
|
13956
14003
|
const iVar = newVar(ctx);
|
|
13957
14004
|
const elemVar = newVar(ctx);
|
|
@@ -14351,6 +14398,7 @@ function literalPropertyKey(ctx, key) {
|
|
|
14351
14398
|
function generateMapCheck(doc, ctx, schema, accessor) {
|
|
14352
14399
|
const def = schema._zod.def;
|
|
14353
14400
|
doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
|
|
14401
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14354
14402
|
const outputVar = newVar(ctx);
|
|
14355
14403
|
const kVar = newVar(ctx);
|
|
14356
14404
|
const valVar = newVar(ctx);
|
|
@@ -14367,6 +14415,7 @@ function generateMapCheck(doc, ctx, schema, accessor) {
|
|
|
14367
14415
|
function generateSetCheck(doc, ctx, schema, accessor) {
|
|
14368
14416
|
const def = schema._zod.def;
|
|
14369
14417
|
doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
|
|
14418
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
14370
14419
|
const outputVar = newVar(ctx);
|
|
14371
14420
|
const valVar = newVar(ctx);
|
|
14372
14421
|
doc.write(`const ${outputVar} = new Set();`);
|
package/lib/skill-corpus.mjs
CHANGED
|
@@ -1,37 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* skill-corpus.mjs —
|
|
3
|
-
* the
|
|
4
|
-
* asserts about one skill by calling these.
|
|
2
|
+
* skill-corpus.mjs — the strict reader of a SKILL.md frontmatter block. It reads nothing on import:
|
|
3
|
+
* the caller passes the text it already has.
|
|
5
4
|
*/
|
|
6
|
-
import assert from "node:assert/strict";
|
|
7
|
-
import { existsSync, readFileSync } from "node:fs";
|
|
8
|
-
import { join, dirname } from "node:path";
|
|
9
|
-
import { fileURLToPath } from "node:url";
|
|
10
5
|
import * as yaml from "js-yaml";
|
|
11
|
-
import { consumerRoot } from "../skills/paper-pipeline/scripts/consumer.mjs";
|
|
12
|
-
import { requireMarkdown, frontmatterBlock } from "#lib/markdown";
|
|
13
|
-
|
|
14
|
-
// Markup is parsed with a real parser. Here we THROW rather than degrade: with no parser every
|
|
15
|
-
// frontmatter would read as absent, which is a finding about the corpus, not about the install.
|
|
16
|
-
requireMarkdown();
|
|
17
|
-
|
|
18
|
-
export const HERE = dirname(fileURLToPath(import.meta.url));
|
|
19
|
-
// 🔴 THE CONSUMER'S ROOT, ASKED FOR — NOT WALKED TO. While this module lived in the consumer's
|
|
20
|
-
// own `.claude/lib/`, `resolve(HERE, "..", "..")` WAS the repository root. From inside
|
|
21
|
-
// `node_modules/<pkg>/lib/` the same walk lands on the consumer's `node_modules/`, and every path
|
|
22
|
-
// below it — the skills directory above all — would be a directory that does not exist. That
|
|
23
|
-
// failure is silent in the worst way: `readdirSync` throws while this module is still LOADING, and
|
|
24
|
-
// a harness whose module fails to load is reported by `vigiles test` as SKIPPED with exit code 0.
|
|
25
|
-
// `consumerRoot()` is the carrier the package already uses for the papers root.
|
|
26
|
-
export const ROOT = consumerRoot();
|
|
27
|
-
export const SKILLS_DIR = join(ROOT, ".claude", "skills");
|
|
28
|
-
|
|
29
|
-
// ── parsing ────────────────────────────────────────────────────────────────────────────────────
|
|
30
|
-
|
|
31
|
-
/** Raw text between the opening `---` and the next `---`. Null if there is no frontmatter at all. */
|
|
32
|
-
export function frontmatter(src) {
|
|
33
|
-
return frontmatterBlock(src);
|
|
34
|
-
}
|
|
35
6
|
|
|
36
7
|
/**
|
|
37
8
|
* THE frontmatter reader. One parser, and it is a real one.
|
|
@@ -79,85 +50,3 @@ export function parseFm(fmText, where = "frontmatter") {
|
|
|
79
50
|
);
|
|
80
51
|
}
|
|
81
52
|
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* `allowed-tools` as a list, accepting BOTH shapes the corpus now contains.
|
|
85
|
-
*
|
|
86
|
-
* Hand-written skills carry a comma scalar (`Bash, Read`); a skill compiled from a
|
|
87
|
-
* `SKILL.md.spec.ts` carries a real YAML flow sequence (`[Bash, Read]`) — which is the
|
|
88
|
-
* MORE correct form, because a scalar parses as one string and loses the contract on a
|
|
89
|
-
* round trip (vigiles #107). This split understood only the scalar, so on 2026-08-17
|
|
90
|
-
* adopting five pipeline skills turned four harnesses red: the checker read the whole
|
|
91
|
-
* bracketed list as a single entry named `[Bash` and reported that the skill's own
|
|
92
|
-
* narrowed `Bash(node …:*)` instruction was denied. The skills were fine; the reader
|
|
93
|
-
* was not.
|
|
94
|
-
*
|
|
95
|
-
* Entries themselves carry no commas (`Bash(node …:*)` has none), so a plain split is
|
|
96
|
-
* still exact once the flow brackets are off.
|
|
97
|
-
*/
|
|
98
|
-
export const toolList = (v) =>
|
|
99
|
-
// 2026-08-19: with a real YAML parser upstream, the flow form `[Bash, Read]` now arrives as an
|
|
100
|
-
// ACTUAL array, not the string "[Bash, Read]". It survived the switch only because
|
|
101
|
-
// `String(["Bash","Read"])` happens to produce "Bash,Read" and the split put it back — a correct
|
|
102
|
-
// answer by coincidence, which stops being correct the day an entry contains a comma. Handle the
|
|
103
|
-
// array as an array; the scalar branch stays for hand-written skills.
|
|
104
|
-
Array.isArray(v)
|
|
105
|
-
? v.map((x) => String(x).trim()).filter(Boolean)
|
|
106
|
-
: String(v ?? "")
|
|
107
|
-
.trim()
|
|
108
|
-
.replace(/^\[(.*)\]$/s, "$1")
|
|
109
|
-
.split(",")
|
|
110
|
-
.map((s) => s.trim())
|
|
111
|
-
.filter(Boolean);
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Does `entry` permit `cmd`? Mirrors Claude Code's rule: bare `Bash` permits everything;
|
|
115
|
-
* `Bash(prefix:*)` permits any command starting with `prefix`; an inner `*` is a wildcard.
|
|
116
|
-
*/
|
|
117
|
-
export function permits(entry, cmd) {
|
|
118
|
-
if (entry === "Bash") return true;
|
|
119
|
-
const m = entry.match(/^Bash\((.*)\)$/);
|
|
120
|
-
if (!m) return false;
|
|
121
|
-
const pat = m[1].replace(/:\*$/, "");
|
|
122
|
-
const rx = new RegExp(
|
|
123
|
-
"^" +
|
|
124
|
-
pat
|
|
125
|
-
.split("*")
|
|
126
|
-
.map((s) => s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))
|
|
127
|
-
.join(".*"),
|
|
128
|
-
);
|
|
129
|
-
return rx.test(cmd);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Every `node|bash|python3 <script>` line the SKILL.md instructs, with its full command text. The
|
|
134
|
-
* script may start with `${CLAUDE_SKILL_DIR}/`, the skill's own directory wherever it is installed.
|
|
135
|
-
*/
|
|
136
|
-
export function commands(src) {
|
|
137
|
-
return [
|
|
138
|
-
...src.matchAll(
|
|
139
|
-
/^\s*(node|bash|python3?) +((?:\$\{CLAUDE_SKILL_DIR\}\/)?[A-Za-z0-9_./@-]+\.(?:mjs|js|sh|py))(.*)$/gm,
|
|
140
|
-
),
|
|
141
|
-
].map((m) => ({
|
|
142
|
-
runner: m[1],
|
|
143
|
-
script: m[2],
|
|
144
|
-
cmd: `${m[1]} ${m[2]}${m[3]}`.trim(),
|
|
145
|
-
args: m[3].trim().split(/\s+/).filter(Boolean),
|
|
146
|
-
}));
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export const load = (name) => {
|
|
150
|
-
const path = join(SKILLS_DIR, name, "SKILL.md");
|
|
151
|
-
assert.ok(
|
|
152
|
-
existsSync(path),
|
|
153
|
-
`${name}: no SKILL.md at ${path} — it is listed as a pipeline skill and does not exist`,
|
|
154
|
-
);
|
|
155
|
-
const src = readFileSync(path, "utf8");
|
|
156
|
-
const fmText = frontmatter(src);
|
|
157
|
-
assert.ok(
|
|
158
|
-
fmText !== null,
|
|
159
|
-
`${name}: SKILL.md has no --- frontmatter block; the skill cannot be loaded at all`,
|
|
160
|
-
);
|
|
161
|
-
const fm = parseFm(fmText, name);
|
|
162
|
-
return { name, path, src, fmText, fm, tools: toolList(fm["allowed-tools"]) };
|
|
163
|
-
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* parseFm on the inputs the shipped corpus never contains: frontmatter that is not a mapping or
|
|
3
|
+
* not YAML.
|
|
4
4
|
*/
|
|
5
5
|
import assert from "node:assert/strict";
|
|
6
6
|
import { test } from "vitest";
|
|
7
|
-
import { parseFm
|
|
7
|
+
import { parseFm } from "./skill-corpus.mjs";
|
|
8
8
|
|
|
9
9
|
const refusal = (fn) => {
|
|
10
10
|
try {
|
|
@@ -30,14 +30,13 @@ test("parseFm refuses a list, a bare string and broken YAML, naming where", () =
|
|
|
30
30
|
);
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
test("
|
|
33
|
+
test("parseFm returns the mapping of a valid frontmatter", () => {
|
|
34
34
|
assert.deepEqual(
|
|
35
|
-
[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
[[], ["Bash", "Read"], ["Read", "Write"], ["Read"]],
|
|
35
|
+
parseFm('name: x\ndescription: "a: b"\nallowed-tools: [Read]'),
|
|
36
|
+
{
|
|
37
|
+
name: "x",
|
|
38
|
+
description: "a: b",
|
|
39
|
+
"allowed-tools": ["Read"],
|
|
40
|
+
},
|
|
42
41
|
);
|
|
43
42
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paperlint",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"description": "A linter for scientific papers written in LaTeX: catches mistakes before you submit to a conference or journal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
"check": "node scripts/check.ts",
|
|
21
21
|
"pipeline": "node scripts/pipeline.ts",
|
|
22
22
|
"refresh-deadlines": "node --conditions=paperlint-source scripts/refresh-deadlines/main.ts",
|
|
23
|
+
"sync:skills": "node scripts/sync-skills.ts",
|
|
23
24
|
"fmt": "prettier --write .",
|
|
24
|
-
"fmt:check": "prettier --check .",
|
|
25
|
+
"fmt:check": "prettier --check . && npm run sync:skills -- --check",
|
|
25
26
|
"site:build": "npm ci --prefix site && npm run lint --prefix site && npm run typecheck --prefix site && npm run test --prefix site && npm run build --prefix site && npm run test:browser --prefix site"
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
"jsonc-parser": "^3.3.1",
|
|
71
72
|
"playwright-core": "^1.64.1",
|
|
72
73
|
"prettier": "^3.8.1",
|
|
74
|
+
"rulesync": "43.11.0",
|
|
73
75
|
"semantic-release": "25.0.9",
|
|
74
76
|
"typescript-eslint": "^8.70.1",
|
|
75
77
|
"vitest": "^4.1.11"
|
|
@@ -100,7 +102,6 @@
|
|
|
100
102
|
"types": "./dist/eslint-rules/*.d.ts",
|
|
101
103
|
"default": "./dist/eslint-rules/*.js"
|
|
102
104
|
},
|
|
103
|
-
"./lib/skill-checks.mjs": "./lib/skill-checks.mjs",
|
|
104
105
|
"./lib/skill-corpus.mjs": "./lib/skill-corpus.mjs",
|
|
105
106
|
"./lib/skill-eval-kit.mjs": "./lib/skill-eval-kit.mjs",
|
|
106
107
|
"./lib/skill-trigger-cases.mjs": "./lib/skill-trigger-cases.mjs",
|
|
@@ -65,17 +65,23 @@
|
|
|
65
65
|
},
|
|
66
66
|
},
|
|
67
67
|
|
|
68
|
-
//
|
|
69
|
-
//
|
|
70
|
-
// (agentverify-2027.md)
|
|
71
|
-
// `registration`. Notification and camera-ready are the site's, at the end of the AoE day.
|
|
68
|
+
// HotCRP's submission and resubmission deadlines are the ends of 14 and 15 Nov AoE.
|
|
69
|
+
// The workshop CFP still lists 13 Nov AoE and the organizers confirmed there is no separate
|
|
70
|
+
// abstract deadline (agentverify-2027.md). Notification and camera-ready come from the workshop site.
|
|
72
71
|
"deadlines": [
|
|
73
72
|
{
|
|
74
73
|
"what": "submission",
|
|
75
|
-
"at": "2026-11-
|
|
74
|
+
"at": "2026-11-15T11:59:59Z",
|
|
76
75
|
"source": "portal",
|
|
77
76
|
"url": "https://icse2027-agentverify.hotcrp.com/deadlines",
|
|
78
|
-
"read": "2026-
|
|
77
|
+
"read": "2026-11-22",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"what": "resubmission",
|
|
81
|
+
"at": "2026-11-16T11:59:59Z",
|
|
82
|
+
"source": "portal",
|
|
83
|
+
"url": "https://icse2027-agentverify.hotcrp.com/deadlines",
|
|
84
|
+
"read": "2026-11-22",
|
|
79
85
|
},
|
|
80
86
|
{
|
|
81
87
|
"what": "notification",
|
|
@@ -30,8 +30,8 @@ researchr page `conf.researchr.org/home/agentverify-2027` only redirects to the
|
|
|
30
30
|
is offered (below).
|
|
31
31
|
- **Presenting**: «At least one author of each accepted paper must register and present.» Remote
|
|
32
32
|
presentation is allowed (below).
|
|
33
|
-
- **Deadlines (AoE)**: submission
|
|
34
|
-
camera-ready 29 Jan 2027.
|
|
33
|
+
- **Deadlines (AoE)**: HotCRP submission 14 Nov 2026 and resubmission 15 Nov 2026.
|
|
34
|
+
Reviews are due 5 Dec, final notification 11 Dec 2026, and camera-ready 29 Jan 2027.
|
|
35
35
|
|
|
36
36
|
## 🔴 The submission deadline moved
|
|
37
37
|
|
|
@@ -43,8 +43,12 @@ The organizers' email of 2026-10-23 (as received by an author; the email itself
|
|
|
43
43
|
Source: **organizers' email, 2026-10-23**. On 2026-10-26 every public source agreed with it: the
|
|
44
44
|
CFP, the home page («Papers are due November 13th, 2026 (AoE)»), the ICSE workshops page («Workshop
|
|
45
45
|
Papers Submission Deadline for all Workshops: 13 November 2026») and the portal (`"sub":1794657599`,
|
|
46
|
-
2026-11-14T11:59:59Z).
|
|
47
|
-
|
|
46
|
+
2026-11-14T11:59:59Z).
|
|
47
|
+
|
|
48
|
+
The [workshop CFP](https://agentverify2027.github.io/cfp.html) still lists 13 Nov AoE. The
|
|
49
|
+
[HotCRP deadlines page](https://icse2027-agentverify.hotcrp.com/deadlines), rechecked on
|
|
50
|
+
2026-11-21 UTC, gives 2026-11-15T11:59:59Z for new submissions and 2026-11-16T11:59:59Z
|
|
51
|
+
for updates to completed submissions. The preset follows the portal for both.
|
|
48
52
|
|
|
49
53
|
## Paper kinds and limits
|
|
50
54
|
|
|
@@ -63,9 +67,9 @@ body are a finding.
|
|
|
63
67
|
- **The IEEE template**, through `extends: paperlint:ieee-conference` ([`ieee-conference.md`](ieee-conference.md)).
|
|
64
68
|
- **Double-blind review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
|
|
65
69
|
declared `identity`.
|
|
66
|
-
- **Portal and deadlines**:
|
|
67
|
-
|
|
68
|
-
abstract deadline.
|
|
70
|
+
- **Portal and deadlines**: paperlint's scheduled workflow refreshes submission and resubmission
|
|
71
|
+
from HotCRP. Notification and camera-ready come from the workshop site. The organizers confirmed
|
|
72
|
+
that there is no separate abstract deadline.
|
|
69
73
|
|
|
70
74
|
## Answered by the organizers (emails to an author, not public)
|
|
71
75
|
|
package/presets/aidc-2026.jsonc
CHANGED
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
// the HotCRP API, there.
|
|
41
41
|
"portal": { "kind": "hotcrp", "url": "https://aidc.submit.acsac.org" },
|
|
42
42
|
|
|
43
|
-
// Read from the portal's public deadlines page
|
|
44
|
-
//
|
|
43
|
+
// Read from the portal's public deadlines page. The camera-ready timestamp is the hard
|
|
44
|
+
// `final.done` value in its status object. The workshop site's earlier date is recorded in the card.
|
|
45
45
|
"deadlines": [
|
|
46
46
|
{
|
|
47
47
|
"what": "submission",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"what": "camera-ready",
|
|
55
|
-
"at": "2026-11-
|
|
55
|
+
"at": "2026-11-18T11:59:59Z",
|
|
56
56
|
"source": "portal",
|
|
57
57
|
"url": "https://aidc.submit.acsac.org/deadlines",
|
|
58
|
-
"read": "2026-
|
|
58
|
+
"read": "2026-11-22",
|
|
59
59
|
},
|
|
60
60
|
],
|
|
61
61
|
|
package/presets/aidc-2026.md
CHANGED
|
@@ -27,6 +27,10 @@ from it. The `submit-paper` skill reads this card for the venue's specifics.
|
|
|
27
27
|
2026-10-03 11:59:59 UTC (`"sub":1791028799`). The portal is what refuses the upload. The preset
|
|
28
28
|
carries its readings as `deadlines`, refreshed by paperlint's scheduled workflow when the portal
|
|
29
29
|
changes them.
|
|
30
|
+
- **Camera-ready**: the [workshop site](https://aidcworkshop.github.io/#important-dates) lists
|
|
31
|
+
2026-11-08T11:59:59Z. The [HotCRP deadlines page](https://aidc.submit.acsac.org/deadlines)
|
|
32
|
+
gives 2026-11-18T11:59:59Z as its hard `final.done` deadline. Both were rechecked on
|
|
33
|
+
2026-11-21 UTC. The preset follows HotCRP.
|
|
30
34
|
|
|
31
35
|
## Paper kinds and limits
|
|
32
36
|
|
package/presets/nlbse-2027.jsonc
CHANGED
|
@@ -38,17 +38,22 @@
|
|
|
38
38
|
// «should be performed electronically through HotCRP» (the call above).
|
|
39
39
|
"portal": { "kind": "hotcrp", "url": "https://icse2027-nlbse.hotcrp.com" },
|
|
40
40
|
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
// of the AoE day; the refresh adds the portal's the day it publishes one (the earlier binds).
|
|
44
|
-
// The competition papers' 27 Nov is in the card only: one reading per kind and source.
|
|
41
|
+
// The CFP's updated 20 Nov AoE paper deadline matches HotCRP's 21 Nov 11:59:59 UTC.
|
|
42
|
+
// The separate 27 Nov AoE deadline for tool competition and research challenge papers is in the card.
|
|
45
43
|
"deadlines": [
|
|
46
44
|
{
|
|
47
45
|
"what": "submission",
|
|
48
|
-
"at": "2026-11-
|
|
46
|
+
"at": "2026-11-21T11:59:59Z",
|
|
47
|
+
"source": "portal",
|
|
48
|
+
"url": "https://icse2027-nlbse.hotcrp.com/deadlines",
|
|
49
|
+
"read": "2026-11-22",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"what": "submission",
|
|
53
|
+
"at": "2026-11-21T11:59:59Z",
|
|
49
54
|
"source": "call",
|
|
50
55
|
"url": "https://conf.researchr.org/home/icse-2027/nlbse-2027",
|
|
51
|
-
"read": "2026-
|
|
56
|
+
"read": "2026-11-22",
|
|
52
57
|
},
|
|
53
58
|
{
|
|
54
59
|
"what": "notification",
|
package/presets/nlbse-2027.md
CHANGED
|
@@ -29,12 +29,11 @@ Sources read 2026-10-26: that page, the portal's
|
|
|
29
29
|
proceedings.» (tool competitions) and «Accepted papers will appear in the NLBSE ’27 proceedings.»
|
|
30
30
|
(research challenge, skill classification). IEEE comes from the ICSE page above. No archival /
|
|
31
31
|
non-archival choice is mentioned.
|
|
32
|
-
- **Deadlines (AoE)**: paper submission
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
carries the call's reading until the portal publishes one.
|
|
32
|
+
- **Deadlines (AoE)**: paper submission **20 Nov 2026**, tool competition and research challenge
|
|
33
|
+
papers **27 Nov 2026**, author notification 11 Dec 2026, and camera-ready 29 Jan 2027.
|
|
34
|
+
The [workshop CFP](https://conf.researchr.org/home/icse-2027/nlbse-2027) and
|
|
35
|
+
[HotCRP](https://icse2027-nlbse.hotcrp.com/deadlines) agree on the paper submission deadline,
|
|
36
|
+
2026-11-21T11:59:59Z. Both were rechecked on 2026-11-22 UTC.
|
|
38
37
|
|
|
39
38
|
## Paper kinds and limits
|
|
40
39
|
|
|
@@ -60,7 +59,8 @@ counts every page of the PDF: references that spill onto a page after a full bod
|
|
|
60
59
|
- **The IEEE template**, through `extends: paperlint:ieee-conference` ([`ieee-conference.md`](ieee-conference.md)).
|
|
61
60
|
- **Anonymous review** (`blind`), so `anonymity/identity` checks the PDF against the paper's
|
|
62
61
|
declared `identity`.
|
|
63
|
-
- **Portal and deadlines**:
|
|
62
|
+
- **Portal and deadlines**: the preset records paper submission from both sources, and notification
|
|
63
|
+
and camera-ready from the call. The separate competition and challenge deadline is listed above.
|
|
64
64
|
|
|
65
65
|
## Not verified
|
|
66
66
|
|
|
@@ -15,30 +15,12 @@
|
|
|
15
15
|
"lib/skill-trigger-cases.harness.mjs",
|
|
16
16
|
"scripts/check.harness.ts",
|
|
17
17
|
"scripts/rules-see-files.harness.mjs",
|
|
18
|
-
"skills/analyze-sibling-paper/analyze-sibling-paper.harness.mjs",
|
|
19
|
-
"skills/argument-arc/argument-arc.harness.mjs",
|
|
20
|
-
"skills/build-benchmark/build-benchmark.harness.mjs",
|
|
21
|
-
"skills/camera-ready/camera-ready.harness.mjs",
|
|
22
|
-
"skills/cold-read-diff/cold-read-diff.harness.mjs",
|
|
23
|
-
"skills/draft-paper/draft-paper.harness.mjs",
|
|
24
|
-
"skills/extend-paper/extend-paper.harness.mjs",
|
|
25
|
-
"skills/find-venue/find-venue.harness.mjs",
|
|
26
|
-
"skills/harden-paper/harden-paper.harness.mjs",
|
|
27
|
-
"skills/map-prior-work/map-prior-work.harness.mjs",
|
|
28
18
|
"skills/paper-pipeline/paper-pipeline.harness.mjs",
|
|
29
19
|
"skills/paper-pipeline/scripts/consumer.harness.mjs",
|
|
30
20
|
"skills/paper-pipeline/scripts/extract-ref-facts.harness.mjs",
|
|
31
21
|
"skills/paper-pipeline/scripts/generated-code.harness.mjs",
|
|
32
|
-
"skills/paper-status/paper-status.harness.mjs",
|
|
33
|
-
"skills/pc-panel-review/pc-panel-review.harness.mjs",
|
|
34
|
-
"skills/plan-paper-timeline/plan-paper-timeline.harness.mjs",
|
|
35
22
|
"skills/render-paper/extract-pdf-facts.harness.ts",
|
|
36
23
|
"skills/render-paper/render-paper.harness.mjs",
|
|
37
|
-
"skills/research-ideate/research-ideate.harness.mjs",
|
|
38
|
-
"skills/study-accepted-papers/study-accepted-papers.harness.mjs",
|
|
39
|
-
"skills/submit-paper/submit-paper.harness.mjs",
|
|
40
|
-
"skills/tighten-paper/tighten-paper.harness.mjs",
|
|
41
|
-
"skills/verify-citations/verify-citations.harness.mjs",
|
|
42
24
|
"src/build-engine.harness.mjs",
|
|
43
25
|
"src/build.harness.mjs",
|
|
44
26
|
"src/cli.harness.mjs",
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { execFileSync } from "node:child_process";
|
|
2
|
+
import { mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
|
|
3
|
+
import { tmpdir } from "node:os";
|
|
4
|
+
import { join } from "node:path";
|
|
5
|
+
import { describe, expect, it } from "vitest";
|
|
6
|
+
import { syncSkills } from "./sync-skills.ts";
|
|
7
|
+
|
|
8
|
+
describe("repository skill sync", () => {
|
|
9
|
+
it("detects a missing or stale Codex skill, and regenerates it from the Claude skill", async () => {
|
|
10
|
+
const root = await mkdtemp(join(tmpdir(), "paperlint-skill-test-"));
|
|
11
|
+
try {
|
|
12
|
+
const claudeDir = join(root, ".claude", "skills", "add-venue");
|
|
13
|
+
const claudeFile = join(claudeDir, "SKILL.md");
|
|
14
|
+
const codexFile = join(
|
|
15
|
+
root,
|
|
16
|
+
".agents",
|
|
17
|
+
"skills",
|
|
18
|
+
"add-venue",
|
|
19
|
+
"SKILL.md",
|
|
20
|
+
);
|
|
21
|
+
const skill = [
|
|
22
|
+
"---",
|
|
23
|
+
"name: add-venue",
|
|
24
|
+
"description: Update a workshop.",
|
|
25
|
+
"---",
|
|
26
|
+
"",
|
|
27
|
+
"<!-- vigiles:sha256:abc compiled from .claude/skills/add-venue/SKILL.md.spec.ts -->",
|
|
28
|
+
"",
|
|
29
|
+
"# Check each deadline.",
|
|
30
|
+
"",
|
|
31
|
+
].join("\n");
|
|
32
|
+
|
|
33
|
+
await mkdir(claudeDir, { recursive: true });
|
|
34
|
+
await writeFile(claudeFile, skill);
|
|
35
|
+
await expect(syncSkills(root, true)).rejects.toThrow(
|
|
36
|
+
"npm run sync:skills",
|
|
37
|
+
);
|
|
38
|
+
await expect(readFile(codexFile, "utf8")).rejects.toThrow();
|
|
39
|
+
|
|
40
|
+
await syncSkills(root, false);
|
|
41
|
+
const generated = await readFile(codexFile, "utf8");
|
|
42
|
+
expect(generated).toContain("name: add-venue");
|
|
43
|
+
expect(generated).toContain("# Check each deadline.");
|
|
44
|
+
expect(generated).not.toContain("vigiles:sha256");
|
|
45
|
+
expect(await readFile(claudeFile, "utf8")).toBe(skill);
|
|
46
|
+
await syncSkills(root, true);
|
|
47
|
+
|
|
48
|
+
await writeFile(claudeFile, skill.replace("each deadline", "the portal"));
|
|
49
|
+
await expect(syncSkills(root, true)).rejects.toThrow(
|
|
50
|
+
"npm run sync:skills",
|
|
51
|
+
);
|
|
52
|
+
expect(await readFile(codexFile, "utf8")).toBe(generated);
|
|
53
|
+
await syncSkills(root, false);
|
|
54
|
+
expect(await readFile(codexFile, "utf8")).toContain(
|
|
55
|
+
"# Check the portal.",
|
|
56
|
+
);
|
|
57
|
+
} finally {
|
|
58
|
+
await rm(root, { recursive: true, force: true });
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it("the published CLI can check the tracked skill from a different directory", () => {
|
|
63
|
+
execFileSync(
|
|
64
|
+
process.execPath,
|
|
65
|
+
[join(import.meta.dirname, "sync-skills.ts"), "--check"],
|
|
66
|
+
{ cwd: tmpdir(), stdio: "pipe" },
|
|
67
|
+
);
|
|
68
|
+
});
|
|
69
|
+
});
|