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
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* skill-checks.mjs's two refusing halves, which the per-skill harnesses (all green on the real
|
|
3
|
-
* corpus) never reach: `checkSkill` on an unknown name and on a skill with a planted defect, and `checkProseSkill` — the check for skills WITHOUT the pipeline, which the package
|
|
4
|
-
* exports for a consumer's own skills and no harness here calls.
|
|
5
|
-
*
|
|
6
|
-
* The consumer is a temp root holding a COPY of the shipped skills, so a planted defect edits the
|
|
7
|
-
* copy, never the tracked files. It is set before import: the corpus resolves it at load time.
|
|
8
|
-
*/
|
|
9
|
-
import assert from "node:assert/strict";
|
|
10
|
-
import { cpSync, readFileSync, writeFileSync } from "node:fs";
|
|
11
|
-
import { dirname, join } from "node:path";
|
|
12
|
-
import { fileURLToPath } from "node:url";
|
|
13
|
-
import { test } from "vitest";
|
|
14
|
-
import { useTempDir, writeTree } from "../test/support.ts";
|
|
15
|
-
|
|
16
|
-
const SHIPPED = join(dirname(fileURLToPath(import.meta.url)), "..", "skills");
|
|
17
|
-
const consumer = useTempDir("skill-checks-");
|
|
18
|
-
const SKILLS = join(consumer, ".claude", "skills");
|
|
19
|
-
cpSync(SHIPPED, SKILLS, { recursive: true, verbatimSymlinks: true });
|
|
20
|
-
process.env.CLAUDE_PROJECT_DIR = consumer;
|
|
21
|
-
const { checkProseSkill, checkSkill, checkVenueBar } =
|
|
22
|
-
await import("./skill-checks.mjs");
|
|
23
|
-
|
|
24
|
-
/** The message of what `fn` throws — an AggregateError's messages joined, one per line. */
|
|
25
|
-
async function thrown(fn) {
|
|
26
|
-
try {
|
|
27
|
-
await fn();
|
|
28
|
-
} catch (e) {
|
|
29
|
-
return e instanceof AggregateError
|
|
30
|
-
? [e.message, ...e.errors.map((x) => x.message.split("\n")[0])]
|
|
31
|
-
: e.message.split("\n")[0];
|
|
32
|
-
}
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
test("checkSkill passes a real shipped skill and refuses a name with no SKILL.md", async () => {
|
|
37
|
-
assert.deepEqual(
|
|
38
|
-
[
|
|
39
|
-
await checkSkill("cold-read-diff"),
|
|
40
|
-
await thrown(() => checkSkill("no-such-skill")),
|
|
41
|
-
],
|
|
42
|
-
[1, `"no-such-skill" has no SKILL.md under ${SKILLS}`],
|
|
43
|
-
);
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
const PROSE = (extra = "") =>
|
|
47
|
-
[
|
|
48
|
-
"---",
|
|
49
|
-
"name: prose",
|
|
50
|
-
"description: a skill with no pipeline",
|
|
51
|
-
"allowed-tools: [Read, Write]",
|
|
52
|
-
"---",
|
|
53
|
-
"",
|
|
54
|
-
"<!-- vigiles:sha256:0000000000000000 compiled from SKILL.md.spec.ts -->",
|
|
55
|
-
"",
|
|
56
|
-
"Measured rule: always say which file. See [the notes](./notes.md) and [the web](https://x.org).",
|
|
57
|
-
extra,
|
|
58
|
-
"",
|
|
59
|
-
].join("\n");
|
|
60
|
-
writeTree(SKILLS, { "prose/SKILL.md": PROSE(), "prose/notes.md": "notes\n" });
|
|
61
|
-
|
|
62
|
-
test("checkProseSkill passes a clean prose skill", async () => {
|
|
63
|
-
assert.equal(await checkProseSkill("prose"), 1);
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
test("checkProseSkill refuses an option it does not read, instead of silently skipping it", async () => {
|
|
67
|
-
assert.deepEqual(
|
|
68
|
-
await thrown(() =>
|
|
69
|
-
checkProseSkill("prose", { mustSay: [[/x/, "x"]], toolsNeeded: {} }),
|
|
70
|
-
),
|
|
71
|
-
"prose: unknown option(s) mustSay — checkProseSkill takes only toolsNeeded",
|
|
72
|
-
);
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
test("checkProseSkill collects every finding: a banned tool, a dangling link, no compile mark", async () => {
|
|
76
|
-
writeTree(SKILLS, {
|
|
77
|
-
"broken/SKILL.md": [
|
|
78
|
-
"---",
|
|
79
|
-
"name: broken",
|
|
80
|
-
"description: d",
|
|
81
|
-
"allowed-tools: [Read, Bash]",
|
|
82
|
-
"---",
|
|
83
|
-
"See [gone](./gone.md). never mind the file.",
|
|
84
|
-
"",
|
|
85
|
-
].join("\n"),
|
|
86
|
-
});
|
|
87
|
-
assert.deepEqual(await thrown(() => checkProseSkill("broken")), [
|
|
88
|
-
"broken: 3 findings",
|
|
89
|
-
"broken: Bash appeared in the contract. It was dropped deliberately; bringing it back restores a leg of the lethal trifecta (data + network + execution) on a skill that only writes text. If the tool IS needed IN SUBSTANCE — declare it in toolsNeeded WITH A REASON, not silently.",
|
|
90
|
-
"broken: dangling links → ./gone.md. A skill naming a path that does not exist is a dead instruction: the model reads it, does something adjacent and reports success.",
|
|
91
|
-
"broken: no compilation mark. That means SKILL.md was edited by hand rather than through .spec.ts — the next `vigiles compile` will overwrite the edit without warning.",
|
|
92
|
-
]);
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
test("checkProseSkill: a tool exemption needs a reason, and an exemption for a tool not in the contract is stale", async () => {
|
|
96
|
-
writeTree(SKILLS, {
|
|
97
|
-
"needs-bash/notes.md": "notes\n",
|
|
98
|
-
"needs-bash/SKILL.md": PROSE()
|
|
99
|
-
.replace("name: prose", "name: needs-bash")
|
|
100
|
-
.replace("[Read, Write]", "[Read, Bash]"),
|
|
101
|
-
});
|
|
102
|
-
assert.deepEqual(
|
|
103
|
-
[
|
|
104
|
-
await thrown(() =>
|
|
105
|
-
checkProseSkill("needs-bash", { toolsNeeded: { Bash: "short" } }),
|
|
106
|
-
),
|
|
107
|
-
await checkProseSkill("needs-bash", {
|
|
108
|
-
toolsNeeded: { Bash: "runs the measurement script it documents" },
|
|
109
|
-
}),
|
|
110
|
-
await thrown(() =>
|
|
111
|
-
checkProseSkill("prose", {
|
|
112
|
-
toolsNeeded: { Agent: "delegates the heavy read to a subagent" },
|
|
113
|
-
}),
|
|
114
|
-
),
|
|
115
|
-
],
|
|
116
|
-
[
|
|
117
|
-
"needs-bash: toolsNeeded.Bash is declared without an intelligible reason. An exemption must say WHY the tool is needed in substance — otherwise it is a silent disabling of the check.",
|
|
118
|
-
1,
|
|
119
|
-
[
|
|
120
|
-
"prose: 1 findings",
|
|
121
|
-
"prose: toolsNeeded.Agent is declared, but Agent itself is NOT in the contract. The exemption is stale — remove it, otherwise it describes a different skill.",
|
|
122
|
-
],
|
|
123
|
-
],
|
|
124
|
-
);
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
test("checkProseSkill refuses a skill with no SKILL.md, an empty contract, and one that does not parse", async () => {
|
|
128
|
-
writeTree(SKILLS, {
|
|
129
|
-
"empty-tools/notes.md": "notes\n",
|
|
130
|
-
"bad-yaml/notes.md": "notes\n",
|
|
131
|
-
"empty-tools/SKILL.md": PROSE()
|
|
132
|
-
.replace("name: prose", "name: empty-tools")
|
|
133
|
-
.replace("allowed-tools: [Read, Write]", "allowed-tools: []"),
|
|
134
|
-
"bad-yaml/SKILL.md": PROSE()
|
|
135
|
-
.replace("name: prose", "name: bad-yaml")
|
|
136
|
-
.replace("allowed-tools: [Read, Write]", "allowed-tools: [Read, Write"),
|
|
137
|
-
});
|
|
138
|
-
assert.deepEqual(
|
|
139
|
-
[
|
|
140
|
-
await thrown(() => checkProseSkill("absent")),
|
|
141
|
-
await thrown(() => checkProseSkill("empty-tools")),
|
|
142
|
-
(await thrown(() => checkProseSkill("bad-yaml")))[0],
|
|
143
|
-
],
|
|
144
|
-
[
|
|
145
|
-
`absent: no ${join(SKILLS, "absent", "SKILL.md")} — nothing to check`,
|
|
146
|
-
[
|
|
147
|
-
"empty-tools: 1 findings",
|
|
148
|
-
"empty-tools: empty allowed-tools — inherits everything",
|
|
149
|
-
],
|
|
150
|
-
"bad-yaml: 2 findings",
|
|
151
|
-
],
|
|
152
|
-
);
|
|
153
|
-
});
|
|
154
|
-
|
|
155
|
-
/** Rewrite a copied skill's SKILL.md with `edit`, run checkSkill, restore; the failure's first line. */
|
|
156
|
-
async function brokenBy(name, edit) {
|
|
157
|
-
const md = join(SKILLS, name, "SKILL.md");
|
|
158
|
-
const clean = readFileSync(md, "utf8");
|
|
159
|
-
writeFileSync(md, edit(clean));
|
|
160
|
-
try {
|
|
161
|
-
await checkSkill(name);
|
|
162
|
-
return null;
|
|
163
|
-
} catch (e) {
|
|
164
|
-
// The header, then each numbered finding.
|
|
165
|
-
const lines = e.message.split("\n");
|
|
166
|
-
return [
|
|
167
|
-
lines[0],
|
|
168
|
-
...lines.filter((l) => /^ \[\d+\] /.test(l)).map((l) => l.trim()),
|
|
169
|
-
];
|
|
170
|
-
} finally {
|
|
171
|
-
writeFileSync(md, clean);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
test("checkSkill reports EVERY finding at once: a renamed skill with no description", async () => {
|
|
175
|
-
const lines = await brokenBy("cold-read-diff", (s) =>
|
|
176
|
-
s
|
|
177
|
-
.replace("name: cold-read-diff", "name: renamed")
|
|
178
|
-
.replace(/^description: .*\n/m, ""),
|
|
179
|
-
);
|
|
180
|
-
assert.deepEqual(lines?.slice(0, 1), [
|
|
181
|
-
'2 assertion(s) failed for skill "cold-read-diff":',
|
|
182
|
-
]);
|
|
183
|
-
assert.match(lines?.[1] ?? "", /frontmatter name is "renamed"/);
|
|
184
|
-
assert.match(lines?.[2] ?? "", /description is missing/);
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
test("checkSkill refuses an instructed script that does not exist", async () => {
|
|
188
|
-
const lines = await brokenBy("verify-citations", (s) =>
|
|
189
|
-
s.replaceAll("scripts/extract-ref-facts.js", "scripts/missing.js"),
|
|
190
|
-
);
|
|
191
|
-
assert.equal(
|
|
192
|
-
lines?.[0],
|
|
193
|
-
'2 assertion(s) failed for skill "verify-citations":',
|
|
194
|
-
);
|
|
195
|
-
assert.match(
|
|
196
|
-
lines?.[1] ?? "",
|
|
197
|
-
/instructs `node .*missing\.js.*` but .*missing\.js does not exist/,
|
|
198
|
-
);
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
test("checkSkill resolves a bare scripts/ path from the skill's own directory", async () => {
|
|
202
|
-
const spelled = (path) => (s) =>
|
|
203
|
-
s.replaceAll("${CLAUDE_SKILL_DIR}/scripts/bib-authors.js", path);
|
|
204
|
-
// Guards: a bare path to a script the skill has is accepted.
|
|
205
|
-
assert.equal(
|
|
206
|
-
await brokenBy("verify-citations", spelled("scripts/bib-authors.mjs")),
|
|
207
|
-
null,
|
|
208
|
-
);
|
|
209
|
-
// Guards: a bare path to a script it lacks is refused, once per line that names it.
|
|
210
|
-
assert.deepEqual(
|
|
211
|
-
(await brokenBy("verify-citations", spelled("scripts/missing.js")))?.[0],
|
|
212
|
-
'2 assertion(s) failed for skill "verify-citations":',
|
|
213
|
-
);
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
test("checkSkill refuses a pipeline script the skill's allowed-tools do not permit", async () => {
|
|
217
|
-
const lines = await brokenBy("verify-citations", (s) =>
|
|
218
|
-
s.replace(
|
|
219
|
-
/^allowed-tools: \[(.*)\]$/m,
|
|
220
|
-
(_, list) =>
|
|
221
|
-
`allowed-tools: [${list
|
|
222
|
-
.split(", ")
|
|
223
|
-
.filter((t) => t !== "Bash")
|
|
224
|
-
.join(", ")}]`,
|
|
225
|
-
),
|
|
226
|
-
);
|
|
227
|
-
// Guards: each of the seven `node ${CLAUDE_SKILL_DIR}/…` lines is named, the first one first.
|
|
228
|
-
assert.equal(
|
|
229
|
-
lines?.[0],
|
|
230
|
-
'7 assertion(s) failed for skill "verify-citations":',
|
|
231
|
-
);
|
|
232
|
-
assert.match(
|
|
233
|
-
lines?.[1] ?? "",
|
|
234
|
-
/verify-cites\.js.* permit no such Bash command/,
|
|
235
|
-
);
|
|
236
|
-
});
|
|
237
|
-
|
|
238
|
-
test("a Bash entry that covers the instructed scripts permits them, and one narrowed to another does not", async () => {
|
|
239
|
-
const narrowTo = (pattern) => (s) =>
|
|
240
|
-
s.replace(
|
|
241
|
-
/^allowed-tools: \[(.*)\]$/m,
|
|
242
|
-
(_, list) =>
|
|
243
|
-
`allowed-tools: [${list
|
|
244
|
-
.split(", ")
|
|
245
|
-
.map((t) =>
|
|
246
|
-
t === "Bash" ? `"Bash(node \${CLAUDE_SKILL_DIR}/${pattern}:*)"` : t,
|
|
247
|
-
)
|
|
248
|
-
.join(", ")}]`,
|
|
249
|
-
);
|
|
250
|
-
// Guards: an entry that covers the skill's own scripts permits all seven commands.
|
|
251
|
-
assert.equal(await brokenBy("verify-citations", narrowTo("*")), null);
|
|
252
|
-
const lines = await brokenBy(
|
|
253
|
-
"verify-citations",
|
|
254
|
-
narrowTo("../paper-pipeline/scripts/extract-ref-facts.js"),
|
|
255
|
-
);
|
|
256
|
-
// Guards: narrowed to one script, the other five commands (verify-cites.js, bib-authors.js) are named.
|
|
257
|
-
assert.equal(
|
|
258
|
-
lines?.[0],
|
|
259
|
-
'5 assertion(s) failed for skill "verify-citations":',
|
|
260
|
-
);
|
|
261
|
-
assert.match(lines?.[1] ?? "", /permit no such Bash command/);
|
|
262
|
-
});
|
|
263
|
-
|
|
264
|
-
test("checkVenueBar passes the shipped scoring skills and names each missing half of a skill without the venue bar", () => {
|
|
265
|
-
const wired = ["pc-panel-review"].map(checkVenueBar);
|
|
266
|
-
writeTree(SKILLS, {
|
|
267
|
-
"unwired/SKILL.md": PROSE("A review that never reads the venue's bar."),
|
|
268
|
-
});
|
|
269
|
-
const msg = (() => {
|
|
270
|
-
try {
|
|
271
|
-
checkVenueBar("unwired");
|
|
272
|
-
} catch (e) {
|
|
273
|
-
return e.actual;
|
|
274
|
-
}
|
|
275
|
-
return null;
|
|
276
|
-
})();
|
|
277
|
-
assert.deepEqual(
|
|
278
|
-
[wired, msg],
|
|
279
|
-
[
|
|
280
|
-
[1],
|
|
281
|
-
[
|
|
282
|
-
"unwired: does not point to `paper-pipeline/references/venue-bar.md`",
|
|
283
|
-
"unwired: does not name `<papers-root>/venues/<venue>/summary.md`",
|
|
284
|
-
'unwired: does not carry the fallback "main-conference bar assumed"',
|
|
285
|
-
],
|
|
286
|
-
],
|
|
287
|
-
);
|
|
288
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* analyze-sibling-paper — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `analyze-sibling-paper.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("analyze-sibling-paper");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* argument-arc — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `argument-arc.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("argument-arc");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* build-benchmark — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `build-benchmark.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("build-benchmark");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* camera-ready — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `camera-ready.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("camera-ready");
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* cold-read-diff — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `lib/skill-checks.mjs` and are CALLED here with this
|
|
10
|
-
* skill's name: its frontmatter parses as strict YAML, its declared tool contract
|
|
11
|
-
* is sane, the script paths it instructs exist.
|
|
12
|
-
*
|
|
13
|
-
* What it does NOT prove, and does not pretend to by grepping the skill's wording:
|
|
14
|
-
* what the skill DOES. The extractor's logic is tested in `scripts/cold-read.test.ts`;
|
|
15
|
-
* what a model does with the skill (the paper left alone, two background readers given
|
|
16
|
-
* only the diff, a report written, within the time) is measured, with a real model, in
|
|
17
|
-
* `cold-read-behaviour.eval.ts`. Whether it fires is `cold-read-diff.eval.mjs`.
|
|
18
|
-
*/
|
|
19
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
20
|
-
|
|
21
|
-
await checkSkill("cold-read-diff");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* draft-paper — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `draft-paper.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("draft-paper");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* extend-paper — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `extend-paper.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("extend-paper");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* find-venue — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `find-venue.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("find-venue");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* harden-paper — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `harden-paper.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("harden-paper");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* map-prior-work — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `map-prior-work.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("map-prior-work");
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* paper-status — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* 🔴 THIS SKILL WAS NOT MERELY UNTESTED — IT WAS UNREACHABLE BY THE HARNESS.
|
|
5
|
-
* `skill-corpus.mjs` carried `paper-status` in an EXCLUDED map whose recorded
|
|
6
|
-
* reason is "it has no gate row", a statement about ONE assertion. The code
|
|
7
|
-
* filtered it out of the checked set ENTIRELY, so it also skipped the strict-YAML
|
|
8
|
-
* frontmatter parse, the tool contract, the script-paths check and the identity
|
|
9
|
-
* check. Adding a file here would have thrown ("not a wired pipeline skill")
|
|
10
|
-
* rather than testing anything. Fixed 2026-08-11: the exclusion now applies at
|
|
11
|
-
* assertion 12b alone, and the sweep went 21 skills to 22.
|
|
12
|
-
*
|
|
13
|
-
* That is the general shape worth remembering: a surface can read as untested
|
|
14
|
-
* when the missing piece is not a test file but a filter upstream of it.
|
|
15
|
-
*
|
|
16
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED with this
|
|
17
|
-
* skill's name — not copied. 22 copies of the same checks is the drift that module
|
|
18
|
-
* exists to prevent.
|
|
19
|
-
*
|
|
20
|
-
* What it does NOT prove: that the skill fires, or that its report is right.
|
|
21
|
-
* See `paper-status.eval.mjs`.
|
|
22
|
-
*/
|
|
23
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
24
|
-
|
|
25
|
-
await checkSkill("paper-status");
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* pc-panel-review — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `pc-panel-review.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill, checkVenueBar } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("pc-panel-review");
|
|
24
|
-
checkVenueBar("pc-panel-review");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* plan-paper-timeline — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `plan-paper-timeline.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("plan-paper-timeline");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* research-ideate — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `research-ideate.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("research-ideate");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* study-accepted-papers — the free, deterministic tier. No model, no network.
|
|
3
|
-
*
|
|
4
|
-
* COLOCATED ON PURPOSE. vigiles decides coverage by PLACEMENT as of 2026-08-11:
|
|
5
|
-
* a test that merely names a surface no longer counts, because that tier was
|
|
6
|
-
* crediting surfaces nothing touched. So each skill needs a file inside its own
|
|
7
|
-
* directory — this one.
|
|
8
|
-
*
|
|
9
|
-
* The assertions live in `.claude/lib/skill-checks.mjs` and are CALLED here with
|
|
10
|
-
* this skill's name. They are not copied: 22 copies of the same checks is the drift that
|
|
11
|
-
* module exists to avoid. (Until 2026-08-11 this was an env-var side channel into a
|
|
12
|
-
* 614-line file named after no surface; it is a function call now.)
|
|
13
|
-
*
|
|
14
|
-
* What this proves: this skill's frontmatter parses as strict YAML, its declared
|
|
15
|
-
* tool contract is sane, its pipeline wiring points at scripts that exist, and it
|
|
16
|
-
* announces/records under ITS OWN identity rather than a sibling's.
|
|
17
|
-
*
|
|
18
|
-
* What it does NOT prove: that the skill fires, or that its guidance produces a
|
|
19
|
-
* good result. Those need a real model — see `study-accepted-papers.eval.mjs`.
|
|
20
|
-
*/
|
|
21
|
-
import { checkSkill } from "../../lib/skill-checks.mjs";
|
|
22
|
-
|
|
23
|
-
await checkSkill("study-accepted-papers");
|