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
|
@@ -5,11 +5,33 @@
|
|
|
5
5
|
// `SkillSpec` in vigiles branch `claude/skill-disallowed-tools` and is not in a release
|
|
6
6
|
// this repo installs, so writing one here would not compile.
|
|
7
7
|
import { experimental_skill } from "vigiles/spec";
|
|
8
|
+
import type { Flow } from "../../scripts/pipeline.ts";
|
|
9
|
+
import analyzeSiblingPaper from "../analyze-sibling-paper/SKILL.md.spec.ts";
|
|
10
|
+
import argumentArc from "../argument-arc/SKILL.md.spec.ts";
|
|
11
|
+
import buildBenchmark from "../build-benchmark/SKILL.md.spec.ts";
|
|
12
|
+
import buildLabelPage from "../build-label-page/SKILL.md.spec.ts";
|
|
13
|
+
import coldReadDiff from "../cold-read-diff/SKILL.md.spec.ts";
|
|
14
|
+
import cameraReady from "../camera-ready/SKILL.md.spec.ts";
|
|
15
|
+
import draftPaper from "../draft-paper/SKILL.md.spec.ts";
|
|
16
|
+
import extendPaper from "../extend-paper/SKILL.md.spec.ts";
|
|
17
|
+
import findVenue from "../find-venue/SKILL.md.spec.ts";
|
|
18
|
+
import hardenPaper from "../harden-paper/SKILL.md.spec.ts";
|
|
19
|
+
import labelAgentRuns from "../label-agent-runs/SKILL.md.spec.ts";
|
|
20
|
+
import mapPriorWork from "../map-prior-work/SKILL.md.spec.ts";
|
|
21
|
+
import pcPanelReview from "../pc-panel-review/SKILL.md.spec.ts";
|
|
22
|
+
import planPaperTimeline from "../plan-paper-timeline/SKILL.md.spec.ts";
|
|
23
|
+
import researchIdeate from "../research-ideate/SKILL.md.spec.ts";
|
|
24
|
+
import rewriteUnclear from "../rewrite-unclear/SKILL.md.spec.ts";
|
|
25
|
+
import runAgentGrid from "../run-agent-grid/SKILL.md.spec.ts";
|
|
26
|
+
import studyAcceptedPapers from "../study-accepted-papers/SKILL.md.spec.ts";
|
|
27
|
+
import submitPaper from "../submit-paper/SKILL.md.spec.ts";
|
|
28
|
+
import tightenPaper from "../tighten-paper/SKILL.md.spec.ts";
|
|
29
|
+
import verifyCitations from "../verify-citations/SKILL.md.spec.ts";
|
|
8
30
|
|
|
9
31
|
export default experimental_skill({
|
|
10
32
|
name: "paper-pipeline",
|
|
11
33
|
description:
|
|
12
|
-
"The orchestrator for writing a research paper end-to-end, from idea to accepted-and-extended
|
|
34
|
+
"The orchestrator for writing a research paper end-to-end, from idea to accepted-and-extended. START HERE when writing/hardening a paper (AgenticDev, AISec, and future ones) and want the whole lifecycle driven, not one step. Routes to the stage skills — research-ideate, find-venue, plan-paper-timeline, build-benchmark, draft-paper, verify-citations, the review skills, submit-paper (+ venue cards), camera-ready, extend-paper — and owns the shared references.",
|
|
13
35
|
tools: [
|
|
14
36
|
"Read",
|
|
15
37
|
"Write",
|
|
@@ -28,20 +50,15 @@ export default experimental_skill({
|
|
|
28
50
|
Editing the paper's text after an approved copy exists (\`paperlint versions approve\`): declare each change in \`versions/<cycle>/changes.yaml\`, \`paperlint versions diff\` shows what was lost (EXPERIMENTAL; \`docs/rules/cycle/changes-since-approved.md\`). With an approved copy, \`submission … --save\` refuses while the source differs from it; approve it first (the author does, never the agent).
|
|
29
51
|
|
|
30
52
|
This is the entry point. Each lifecycle stage is its own skill; this routes through them in order and
|
|
31
|
-
owns the shared reference docs the others cite.
|
|
32
|
-
every stage is graded against \`references/credit-criteria.md\`, not abstract "impact." The personal half
|
|
33
|
-
of that — who is filing what, and when — stays in the author's own private notes, never in a public repo.
|
|
53
|
+
owns the shared reference docs the others cite.
|
|
34
54
|
|
|
35
55
|
## Shared references (single source of truth — all skills cite these)
|
|
36
|
-
- \`references/credit-criteria.md\` — which criteria a paper feeds; where venue quality bites; the
|
|
37
|
-
decisions credit value forces on the pipeline.
|
|
38
56
|
- \`references/artifact-checklist.md\` — the self-checking reproduction artifact.
|
|
39
57
|
- \`references/anonymization.md\` — the double-blind deny-list + hygiene (and its reverse at camera-ready).
|
|
40
|
-
- \`references/writing-craft.md\` — how well-written papers read (craft rules
|
|
41
|
-
|
|
42
|
-
- \`references/review-ratchet.md\` — how to fix a caught overclaim (tighten → cut → Threats → hedge)
|
|
43
|
-
|
|
44
|
-
\`paper-adversarial-review\`, \`pc-panel-review\`, \`harden-paper\`.
|
|
58
|
+
- \`references/writing-craft.md\` — how well-written papers read (craft rules);
|
|
59
|
+
cited by \`draft-paper\`, \`rewrite-unclear\` and \`tighten-paper\`.
|
|
60
|
+
- \`references/review-ratchet.md\` — how to fix a caught overclaim (tighten → cut → Threats → hedge);
|
|
61
|
+
cited by \`pc-panel-review\` and \`harden-paper\`.
|
|
45
62
|
- \`references/pipeline-status-template.md\` — the per-paper **readiness scorecard** (which stages ran,
|
|
46
63
|
grades, open findings, submit-ready verdict). Copied into \`<paper-dir>/PIPELINE-STATUS.md\`.
|
|
47
64
|
- \`references/acl-venue-rules.md\` — what holds at **every** ACL-family venue and workshop: the
|
|
@@ -63,92 +80,9 @@ their grade/result, what's open,* and a one-line **submit-ready verdict**. Rules
|
|
|
63
80
|
reconstruct from chat.
|
|
64
81
|
- Distinct from \`SUBMIT-CHECKLIST.md\` (venue-format compliance); both must be green before upload.
|
|
65
82
|
|
|
66
|
-
##
|
|
83
|
+
## Four kinds of work, four shapes
|
|
67
84
|
|
|
68
|
-
|
|
69
|
-
YOU EDIT YOU COMMIT YOU BUILD YOU PUSH
|
|
70
|
-
│ │ │ │
|
|
71
|
-
▼ ▼ ▼ ▼
|
|
72
|
-
┌──────────────┐ ┌────────────────┐ ┌────────────────┐ ┌────────────────┐
|
|
73
|
-
│ PostToolUse │ │ .githooks/ │ │ build- │ │ GitHub Actions │
|
|
74
|
-
│ paper-lint │ BLOCKS │ pre-commit │REFUSES│ submission.sh │ │ paper-gates │
|
|
75
|
-
│ pre >55 wds │ │ │ │ │ │ │
|
|
76
|
-
│ paper-lint │ nudges │ numbers gate │ │ numbers gate │REFUSES numbers+self│
|
|
77
|
-
│ post │ │ │ │ │ │ │
|
|
78
|
-
│ prose-lint │ │ prose-lint │ nudge │ page count │ │ prose-lint │
|
|
79
|
-
│ SHAVE │ │ self-test if │ │ overfull │ │ check-anon │
|
|
80
|
-
│ numbers │ │ you touched │ │ unresolved │ │ verify-cites │
|
|
81
|
-
│ paper-edit- │ BLOCKS │ a gate │ │ refs │ │ provenance │
|
|
82
|
-
│ guard │ bash │ harness if │ │ dropped glyphs│ │ scorecard │
|
|
83
|
-
└──────────────┘ │ you touched │ │ anon grep │ │ harness │
|
|
84
|
-
│ │ a hook │ └────────────────┘ │ LaTeX build │
|
|
85
|
-
│ │ RAW DNA │REFUSES │ └────────────────┘
|
|
86
|
-
│ └────────────────┘ │ │
|
|
87
|
-
│ │ │ │
|
|
88
|
-
watches EVENTS watches STATE watches OUTPUT watches EVERYTHING
|
|
89
|
-
(Edit/Write fired) (what is staged) (the actual PDF) (after the fact)
|
|
90
|
-
│ │
|
|
91
|
-
│ │
|
|
92
|
-
🕳 BYPASSABLE: 🛡 NOT bypassable by that route: it does not care
|
|
93
|
-
write from Bash and HOW the bytes got there. However you wrote the
|
|
94
|
-
no event fires, so file, you still have to commit it.
|
|
95
|
-
every PostToolUse
|
|
96
|
-
check silently
|
|
97
|
-
does not run.
|
|
98
|
-
\`\`\`
|
|
99
|
-
|
|
100
|
-
**Read the bottom row, it is the whole point.** Each column watches a different KIND of thing, and
|
|
101
|
-
that is why they are not three copies of one check:
|
|
102
|
-
|
|
103
|
-
- **Editor hooks watch events.** Fast, and the only layer that can stop a bad edit *before* it lands.
|
|
104
|
-
Bypassable by construction — an event that never fires cannot be checked, and writing the file from
|
|
105
|
-
Bash produces no event. Documented in \`papers/CLAUDE.md\`, open since 2026-08-04.
|
|
106
|
-
- **The git hook watches state.** Immune to that whole class, because it reads what is staged and has
|
|
107
|
-
no opinion about how it got staged. This is the layer that was missing, and the one to reach for
|
|
108
|
-
when an editor check turns out to be walkable-around.
|
|
109
|
-
- **The build watches output.** Only it can see page count, overfull boxes, and glyphs pdflatex
|
|
110
|
-
silently dropped — none of which exist until the PDF does.
|
|
111
|
-
- **CI watches everything, but after the fact.** Its real job is the slow checks nobody will wait for
|
|
112
|
-
locally (the anonymity self-test copies a 24 MB bundle per leak category) and the self-tests, which
|
|
113
|
-
are what catch a gate that has quietly stopped catching things.
|
|
114
|
-
|
|
115
|
-
🔴 **A fifth kind, and none of the four columns can see it: does the MODEL call these skills at all?**
|
|
116
|
-
Every column above watches something the repository produced — an event, staged bytes, a PDF, a commit.
|
|
117
|
-
None watches *selection*: whether a real model, reading 37 competing descriptions, picks \`tighten-paper\`
|
|
118
|
-
over \`grade-paper-writing\` when the draft is bloated. A harness test proves a skill works once invoked;
|
|
119
|
-
it cannot prove it gets invoked. That needs the real CLI and it costs money, so it is a measurement, not
|
|
120
|
-
a gate — \`.claude/skills/paper-pipeline/pipeline-firing.eval.mjs\`, run manually or by the weekly
|
|
121
|
-
\`skill-firing\` job (\`workflow_dispatch\` + \`schedule\`, deliberately NOT on push). It installs every skill
|
|
122
|
-
in this repo natively so selection is *competitive*, feeds each skill 4 prompts it should fire on plus 4
|
|
123
|
-
its colliding sibling owns, and reports recall / false-positive / precision per skill against a committed
|
|
124
|
-
baseline. **What it measures drifts without a commit here** — a model update can change routing while
|
|
125
|
-
every file stays byte-identical, which is exactly the regression no check in the diagram can see.
|
|
126
|
-
Prior art is named in the file header (\`adewale/skill-eval-harness\` does this too); the idea is not ours.
|
|
127
|
-
|
|
128
|
-
🔴 **Still manual, and no mechanism has been found for it:** the **cold read** — a reader with no
|
|
129
|
-
context restating each sentence — is the only check that catches a sentence that is short, true,
|
|
130
|
-
threshold-passing and meaningless. It needs a fresh subagent, so no hook can run it.
|
|
131
|
-
|
|
132
|
-
Install the git hook once per clone: \`git config core.hooksPath .githooks\`.
|
|
133
|
-
|
|
134
|
-
## 🔴 There is no stage 7. Four kinds of work, four shapes.
|
|
135
|
-
|
|
136
|
-
**This section replaced a single numbered list running 0 → 12, on 2026-08-03.** That list had a
|
|
137
|
-
paragraph on top explaining that the numbers were dependencies rather than turns — and underneath it,
|
|
138
|
-
a table numbered straight through, which every reader (including this pipeline's own author) read as a
|
|
139
|
-
waterfall. The paragraph was the tell: a document that needs a disclaimer explaining how not to read
|
|
140
|
-
it is mis-shaped, and the fix is to change the shape, not to add a second disclaimer. That is the
|
|
141
|
-
argument \`compile-rules-2026\` makes about instruction files, applied here.
|
|
142
|
-
|
|
143
|
-
Three concrete errors the numbering produced, all real:
|
|
144
|
-
|
|
145
|
-
- **\`verify-citations\` sat at 7**, looking like a one-shot step, while the project rule is that it runs
|
|
146
|
-
every cycle — an edit on the last day adds a \`\\cite\` that "we checked last cycle" does not cover.
|
|
147
|
-
- **\`render-paper\` sat at 6**, as a stage. It is a command you run twenty times a day.
|
|
148
|
-
- **\`map-prior-work\` sat at 1.5** and its own description told you to re-run it as a cheap delta before
|
|
149
|
-
submit — so it was simultaneously a stage and a continuous check, and the table could only show one.
|
|
150
|
-
|
|
151
|
-
Work is now grouped by **how it runs**, and only the groups that are genuinely ordered carry an order.
|
|
85
|
+
Work is grouped by **how it runs**, and only the groups that are genuinely ordered carry an order.
|
|
152
86
|
|
|
153
87
|
| kind | shape | how to read it |
|
|
154
88
|
|---|---|---|
|
|
@@ -166,9 +100,9 @@ Ordered, because each really does gate the next. Two pairs run in parallel; that
|
|
|
166
100
|
| Step | Skill | What it settles |
|
|
167
101
|
|---|---|---|
|
|
168
102
|
| **Orient** | — | Read \`<papers-root>/HANDOFF.md\` + \`<papers-root>/research/README.md\`. Never restart from scratch. |
|
|
169
|
-
| **Validate the idea** | **\`research-ideate\`** | Is it a reusable method (survives review) in your lane
|
|
103
|
+
| **Validate the idea** | **\`research-ideate\`** | Is it a reusable method (survives review) in your lane? Go/no-go + the MVP finding. |
|
|
170
104
|
| **Map the competition** ‖ | **\`map-prior-work\`** | 🔴 **Who already did this?** Multi-angle sweep; date each hit against your submission (5 months = prior, not concurrent); triage by which layer of your claim it threatens; deep-read the dangerous ones. Output: **what you can still claim** + a related-work skeleton. *Added 2026-07-27 after a five-month-older paper surfaced at T−10 days on a finished draft.* |
|
|
171
|
-
| **Pick the venue** ‖ | **\`find-venue\`** | Rank by
|
|
105
|
+
| **Pick the venue** ‖ | **\`find-venue\`** | Rank by archival weight (peer-reviewed + indexed) × fit × accept-odds × deadline × remote. |
|
|
172
106
|
| **Learn what the venue rewards** | **\`study-accepted-papers\`** (mode A idea, B design) | 🔴 **What does this venue REWARD, before the study is designed?** The venue's award winners against its ordinary accepted papers over 5–7 years (plus award papers on the topic at other venues, labelled apart), coded for substance as well as form, written as **requirements for the study**: what the oracle under the headline is, which belief stated on record the claim targets, which factor is a column. The corpus goes to \`<papers-root>/venues/<venue>/\`, shared by every paper for that venue; the stage is row \`venuebar\`. **The same skill comes back once text exists** (mode C draft: the strong-accept scorecard, M1–M10, in \`PIPELINE-STATUS.md\`; mode D final: the abstract and introduction). The skill always asks which mode. Venue format facts go in its preset (\`presets/<venue>.jsonc\` in the package, or the project's own) and the venue card beside it (\`presets/<venue>.md\`); confirm family rules (\`references/acl-venue-rules.md\`). *Promoted to its own step 2026-08-03: every judgement of a paper's quality had come from instruments this pipeline itself generated, with no external grounding. Moved to modes on 2026-10-12 (#207): run only on a draft, its main findings arrived after they could change the design.* |
|
|
173
107
|
| 🔴 **Can you physically submit?** | **\`plan-paper-timeline\`** | **The step that owns the question no stage used to own.** Create the portal account NOW; drive the profile to **ACTIVE**, not "pending moderation"; confirm the form's fields and the artifact-hosting requirement. OpenReview moderation runs **up to two weeks**, and an author with no institutional email has no expedite route. Scorecard row \`access\`. *Added 2026-08-03, when this was the sole critical-path item on a finished paper at T−4 days: the science was done and there was nowhere to put it.* |
|
|
174
108
|
| **Schedule it** | **\`plan-paper-timeline\`** | Deadlines → calendar with buffers, in the author's own zone (AoE − 12h ≠ your clock). Space papers apart. |
|
|
@@ -219,7 +153,7 @@ These have no position, because a position is what made them look finished. Each
|
|
|
219
153
|
| any \`\\cite\` added or moved | **\`verify-citations\`** | An edit on the last day adds a citation the last run never saw. "We checked last cycle" does not count — the project rule, and it was numbered as a one-shot anyway. |
|
|
220
154
|
| a genuine sibling surfaces | **\`analyze-sibling-paper\`** | Deep-read, scoop/delta, saved in \`<paper-dir>/siblings/\`. |
|
|
221
155
|
| the contribution's framing moves | **\`map-prior-work\`** (delta mode) | A cheap re-sweep. ⚠️ If a rival first surfaces during citation checking, the SETUP sweep was skipped and you are reshaping the contribution under deadline. |
|
|
222
|
-
| any \`.tex\` edit |
|
|
156
|
+
| any \`.tex\` edit | \`npx paperlint build\` + the render gate (\`docs/render.md\` in the package), page count | **Not a stage — a command.** Build, then look at every page with a figure for what the log cannot flag (label collisions inside a figure, legibility, misaligned sub-figures) before believing anything about the paper; send the page images to the author with what changed since the last build. 🔴 **Rendering is continuous; ACTING on the page count is not** — see the rule below. |
|
|
223
157
|
| the deadline approaches | the \`access\` row | Re-check that the profile is still ACTIVE and the portal still opens. External state rots without telling you. |
|
|
224
158
|
|
|
225
159
|
## GATES — late, expensive, each blocked on a named input
|
|
@@ -228,11 +162,9 @@ Ordered, and the order is real: every one refuses to run without the output of t
|
|
|
228
162
|
|
|
229
163
|
| Gate | Skill | Requires (hard) |
|
|
230
164
|
|---|---|---|
|
|
231
|
-
| **
|
|
232
|
-
| **
|
|
233
|
-
| **
|
|
234
|
-
| **Claim preservation** | Fable diff (\`claims\`) | The pre-pass baseline. Run after **every** aggressive rewrite, before committing. |
|
|
235
|
-
| **Harden** | **\`harden-paper\`** | The panel's verdict. Closes the desk-reject axes a reviewer-sim misses: threat-model, ethics/dual-use, page-fit, citability, double-blind hygiene, artifact-runs-clean. Its structure and writing axes are the **re-run/confirm** pass, not the first invocation. |
|
|
165
|
+
| **Final review** | **\`tighten-paper\`** → **\`cold-read-diff\`** \`--whole\` → **\`pc-panel-review\`** | A rendered PDF and a page count. Once, in that order, then closed: the next section. Sentences the readers flag are rewritten by **\`rewrite-unclear\`**. |
|
|
166
|
+
| **Claim preservation** | \`rewrite-unclear\` step 4 (\`claims\`) | The pre-pass baseline. Run on each rewrite, before committing; it writes the \`claims\` row. |
|
|
167
|
+
| **Harden** | **\`harden-paper\`** | The closed final review. The submit checklist: \`npx paperlint lint\`, then the items no rule decides (threat model and ethics, the artifact and its numbers, the headline table). It takes the final review's reports and does not run them again. |
|
|
236
168
|
| **Submit** | **\`submit-paper\`** (+ the venue card) | 🔴 **The \`access\` row green.** Portal mechanics, PDF-only, artifact hosted anonymously, "ready for review" marked. |
|
|
237
169
|
|
|
238
170
|
## AFTER — only reachable by acceptance
|
|
@@ -240,55 +172,72 @@ Ordered, and the order is real: every one refuses to run without the output of t
|
|
|
240
172
|
**\`camera-ready\`** — de-anonymize; public repo + archival DOI; complete disclosure. Then
|
|
241
173
|
**\`extend-paper\`** — extend (≥30% new) to a higher-prestige venue, the "second, stronger publication."
|
|
242
174
|
|
|
243
|
-
**Which review skill?** \`
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
175
|
+
**Which review skill?** \`pc-panel-review\`: the full panel + meta-review predicts the accept/reject
|
|
176
|
+
**decision**; before the final review, a red-team request runs its **hostile seat** alone, without
|
|
177
|
+
the readability inputs, and in the final review that seat sits on the panel; the **venue-fit seat**
|
|
178
|
+
alone is a spot-check for a CFP-fit score.
|
|
247
179
|
|
|
248
180
|
**Four grading axes — don't confuse them.** A draft is judged on four independent axes, each its own
|
|
249
181
|
skill: 🔴 **argument architecture** — does the whole thing carry the reader to one conclusion
|
|
250
182
|
(\`argument-arc\`, in the LOOP; the axis that failed on \`compile-rules-2026\` precisely because it was
|
|
251
183
|
nobody's) · **content strength** — does the contribution clear *this venue's* bar (\`study-accepted-papers\`,
|
|
252
184
|
from the venue's own award winners: in SETUP as requirements for the study, and again on the draft as the strong-accept scorecard, M1–M10) ·
|
|
253
|
-
**scientific defects** — what a hostile reviewer attacks (\`
|
|
254
|
-
· **
|
|
255
|
-
|
|
185
|
+
**scientific defects** — what a hostile reviewer attacks (\`pc-panel-review\`)
|
|
186
|
+
· **clarity** — can a reader with no context say what each sentence claims (\`cold-read-diff\`, in the
|
|
187
|
+
final review). A paper can ace one and fail another — check all four.
|
|
256
188
|
**The arc axis comes first**, because tightening length and polishing sentences inside a broken arc is
|
|
257
189
|
how a day disappears and the same paper ships.
|
|
258
190
|
|
|
259
|
-
**Panel vs harden — not rival gates, they're sequential.** \`pc-panel-review\`
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
191
|
+
**Panel vs harden — not rival gates, they're sequential.** \`pc-panel-review\` predicts what the PC does.
|
|
192
|
+
\`harden-paper\` is the submit checklist: the lint run, the final review's reports, and the few items no rule
|
|
193
|
+
decides. Order is
|
|
194
|
+
**final review → harden → submit**.
|
|
195
|
+
|
|
196
|
+
## The final review — once, in this order, then closed
|
|
197
|
+
|
|
198
|
+
The one place this order is written; every other skill points here.
|
|
199
|
+
|
|
200
|
+
1. **\`tighten-paper\`** — the structural verdict and the proposed cuts. It applies nothing.
|
|
201
|
+
2. **\`cold-read-diff\`** \`--whole\` — the whole paper in chunks of at most 15 paragraphs, two blind readers
|
|
202
|
+
per chunk; no reader sees more than its chunk.
|
|
203
|
+
3. **\`pc-panel-review\`** — one panel, with the reports of steps 1–2 as its inputs.
|
|
204
|
+
|
|
205
|
+
- **Each pass runs once.** "No findings" from any of them is a valid result and ends that pass.
|
|
206
|
+
- **The author decides each finding once**, and the pass's report frontmatter records it
|
|
207
|
+
(\`review/frontmatter\`): \`fixed\`, or \`wontfix\` with a \`note\` giving his reason; until then it is
|
|
208
|
+
\`open\`. He decides the findings of steps 1–2 before step 3, and the panel
|
|
209
|
+
receives only those still open; he decides the panel's after step 3. The write happens once, after
|
|
210
|
+
step 3: every accepted fix in one pass, a sentence through \`rewrite-unclear\`, a cut on his yes. A
|
|
211
|
+
decided finding is not raised again in this review.
|
|
212
|
+
- **Blockers** are a closed list, frozen when the review closes: the panel's consensus must-fixes and
|
|
213
|
+
the cold read's \`CANNOT PARSE\` rows. Each stops submission until \`fixed\` or \`wontfix\` with
|
|
214
|
+
\`note: "waived by the author: <reason>"\`.
|
|
215
|
+
- **At most one confirmation, and only when the author asks for it:** he names the pass, and it runs once
|
|
216
|
+
on what changed. No pass schedules another, and none reruns because a score is low.
|
|
217
|
+
- **Then the review is closed,** whatever the scores; a blocker still \`open\` stays open into the checklist.
|
|
218
|
+
Mark the \`panel\` row of
|
|
219
|
+
\`PIPELINE-STATUS.md\` \`☑ closed <date>\`. Ordinary edits, a re-approval (\`versions approve\`) and a
|
|
220
|
+
gate older than the text do not reopen it; only the author does, by asking for a new final review.
|
|
221
|
+
What is left goes to \`harden-paper\`, then \`submit-paper\`.
|
|
222
|
+
- **After close, a cold read of an edit runs only when the author asks.** No skill schedules one.
|
|
270
223
|
|
|
271
224
|
## 📝 Text pass vs evidence pass — two independent axes, ask which one you want
|
|
272
225
|
|
|
273
|
-
|
|
274
|
-
checked the numbers, and now I want to grade the text — assume the numbers are fine."* He is right that these are separable, and
|
|
275
|
-
running both when only one is wanted burns an hour for nothing.
|
|
276
|
-
|
|
277
|
-
Every gate belongs to exactly one axis. **Sort by what invalidates it**, not by what it reads:
|
|
226
|
+
Every gate but one belongs to one axis. **Sort by what invalidates it**, not by what it reads:
|
|
278
227
|
|
|
279
228
|
| axis | invalidated by | gates |
|
|
280
229
|
|---|---|---|
|
|
281
|
-
| **TEXT** — does the argument land? | a change to the **prose**: any edit, cut, reorder | \`structure\` tighten-paper · \`
|
|
282
|
-
| **EVIDENCE** — is it true? | a change to the **data, code, or artifact** | \`
|
|
230
|
+
| **TEXT** — does the argument land? | a change to the **prose**: any edit, cut, reorder (until the final review is closed) | \`structure\` tighten-paper · \`coldread\` cold-read-diff · \`arc\` argument-arc · the prose lenses of \`panel\` pc-panel-review |
|
|
231
|
+
| **EVIDENCE** — is it true? | a change to the **data, code, or artifact** | \`cites\` verify-citations · \`artifact\` the artifact-runner lens · the numeric half of \`harden\` harden-paper |
|
|
232
|
+
| **BOTH** — did a rewrite change a claim? | a **prose rewrite after its recorded result**, or a data change | \`claims\` claim-preservation |
|
|
283
233
|
|
|
284
234
|
**Why this matters more than it looks.** The two axes expire on completely different clocks. Rewriting
|
|
285
|
-
a paragraph invalidates every TEXT gate and no EVIDENCE gate. Re-running an experiment
|
|
286
|
-
|
|
235
|
+
a paragraph invalidates every TEXT gate and \`claims\`, and no EVIDENCE gate. Re-running an experiment
|
|
236
|
+
invalidates the EVIDENCE gates and \`claims\`. Conflating them produces both classic wastes: re-verifying numbers nobody touched, and — worse
|
|
287
237
|
— trusting a readability verdict on prose that has since been rewritten.
|
|
288
238
|
|
|
289
|
-
**Text-only
|
|
290
|
-
|
|
291
|
-
disabled**, and hand each agent the sentence *"assume every number is correct and already verified — do
|
|
239
|
+
**Text-only final review** (the numbers did not move since they were checked): run it with the panel's
|
|
240
|
+
artifact lens **explicitly disabled**, and hand each agent the sentence *"assume every number is correct and already verified — do
|
|
292
241
|
not re-derive anything; judge the writing, the structure and the argument."* Roughly halves the wall
|
|
293
242
|
clock and removes the single most expensive stage.
|
|
294
243
|
|
|
@@ -299,98 +248,16 @@ and the artifact-runner; skip readability entirely.
|
|
|
299
248
|
which axis it covered will be read as covering both — which is how a paper ends up believed to be
|
|
300
249
|
checked on a dimension nobody looked at.
|
|
301
250
|
|
|
302
|
-
### 🔢 The one defect neither axis can see
|
|
303
|
-
|
|
304
|
-
**Observed 2026-08-05, on page 1, 29 hours before a deadline.** The abstract read *"147 real rules
|
|
305
|
-
files exactly as their projects committed them, 22 fail admission"*. The data has two arms over the
|
|
306
|
-
same 147 files: **strict** (files byte-for-byte as committed — nothing fails) and **annotated** (the
|
|
307
|
-
same files with the tool's proposed pointers written in — 22 fail). The 22 was from the annotated arm
|
|
308
|
-
and was described in the strict arm's words. Five more numbers had the same defect; a sixth was found
|
|
309
|
-
later in an appendix by machine, after two people had searched by hand.
|
|
251
|
+
### 🔢 The one defect neither axis can see
|
|
310
252
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
defect; it is a defect of the edge between them, so no pass on either axis can be made to see it.
|
|
317
|
-
|
|
318
|
-
**The construction, not another pass.** A registered quantity is not written as digits at all:
|
|
319
|
-
|
|
320
|
-
\`\`\`
|
|
321
|
-
Over {{corpus.n}} real rules files, with the extractor's proposed mapping
|
|
322
|
-
taken as if an author had written it, {{annotated.failedContradicted}} fail admission.
|
|
323
|
-
\`\`\`
|
|
324
|
-
|
|
325
|
-
\`<paper>/repro/data/numbers.tsv\` gives each name its value, the JSON path or **formula** that recomputes
|
|
326
|
-
it, and two guards. The build refuses a PDF unless: the name resolves · the value still matches the
|
|
327
|
-
data · the **paragraph** names the arm (\`requires\`) · the **sentence** does not claim a different one
|
|
328
|
-
(\`forbids\`). Requires and forbids are separate on purpose — the pairing is auditing's, where a control
|
|
329
|
-
is tested once for *design* and once for *operating effectiveness*.
|
|
330
|
-
|
|
331
|
-
**Why paragraph for one and sentence for the other.** *"Every figure in this paragraph is the
|
|
332
|
-
counterfactual arm"* is good writing, and a sentence-scoped \`requires\` would forbid it. But *"exactly
|
|
333
|
-
as committed"* nine words from the number is the defect itself, so \`forbids\` has to be tight.
|
|
334
|
-
|
|
335
|
-
**Coverage without a migration.** \`numbers-grandfathered.txt\` lists every quantity that predates the
|
|
336
|
-
gate; adding a new raw one fails the build. This is \`ADD CONSTRAINT ... NOT VALID\` — the constraint
|
|
337
|
-
binds every row from now on, and the existing rows are *enumerated rather than exempted*, so the file
|
|
338
|
-
says out loud how many figures still have no machine-checked path to data. On the paper that has it:
|
|
339
|
-
7 guarded, 248 grandfathered. That ratio is a finding, not a score.
|
|
340
|
-
|
|
341
|
-
**Adopting it in another paper:** copy \`repro/tools/paper_numbers.py\`, \`repro/tools/paper_numbers.selftest.py\`
|
|
342
|
-
and the build step that calls \`expand()\` on \`paper.tex\` before \`pdflatex\`; generate the
|
|
343
|
-
grandfather list from the current draft; register the numbers a reviewer will actually check first.
|
|
344
|
-
|
|
345
|
-
🔴 **Do not write the substitution half — it is \`jinja2\`, and \`{{name}}\` is already its syntax.**
|
|
346
|
-
Eleven candidates were installed and run on a real ACL paper on 2026-08-05. The result is not a
|
|
347
|
-
matter of taste:
|
|
348
|
-
|
|
349
|
-
| candidate | verdict, from an actual run |
|
|
350
|
-
|---|---|
|
|
351
|
-
| **jinja2** | **adopt.** Our \`{{annotated.failRate}}\` was already valid Jinja2; dotted names are attribute access. Zero characters changed in the paper, byte-identical \`.tex\`. This is Manubot's mechanism, taken without Manubot. Use \`StrictUndefined\`, and move the block/comment delimiters off \`{%\`/\`{#\` if the paper might ever quote a config file |
|
|
352
|
-
| **knitr** | equally proven, also byte-identical. Rejected only for putting an R runtime into an artifact that otherwise needs \`python3\` + \`pdflatex\` |
|
|
353
|
-
| \`\\newcommand\` + \`numbers.tex\` | works; the folk convention, ~12 GitHub hits, all hand-rolled. No package exists |
|
|
354
|
-
| **cog.py** | ❌ line-oriented; cannot substitute mid-sentence |
|
|
355
|
-
| **pythontex** | ❌ not in Ubuntu TeX Live at any level, not on PyPI; CTAN zip + \`.ins\` build |
|
|
356
|
-
| **showyourwork** | ❌ it manages *figures*, not in-text numbers |
|
|
357
|
-
| DVC · datalad · papermill | orthogonal and **worth adding**: they pin the data file to the pipeline that made it, a layer below anything here |
|
|
358
|
-
|
|
359
|
-
**🔴 Computing the value DISSOLVES the freshness problem — do not build a checker for it.** With no
|
|
360
|
-
recorded value there is nothing that can go stale, so there is nothing to verify. Adopting jinja2
|
|
361
|
-
deleted 137 lines of ours outright: a hand-rolled expression language with an \`eval()\` sandbox, a
|
|
362
|
-
renderer guessing which of six formattings the paper meant, a JSON-path walker and the comparison.
|
|
363
|
-
Recording-plus-verifying is the trap; computing is the wheel.
|
|
364
|
-
|
|
365
|
-
**Binding a number to its CONDITION is genuinely unoccupied**, and the reason is structural rather
|
|
366
|
-
than an accident of packaging: **every literate-programming tool models the paper as a program that
|
|
367
|
-
prints text**, so the prose is opaque *output*, not an input to a check. None of them has a hook
|
|
368
|
-
where you could say "and the sentence around this must say *counterfactual* and must not say *as
|
|
369
|
-
committed*". The near-misses read the manuscript but never the data — \`statcheck\` recomputes
|
|
370
|
-
p-values from statistics printed in the same sentence; \`RegCheck\` compares a paper to a study
|
|
371
|
-
registration with an LLM and reports to a human instead of failing a build. Searched and empty:
|
|
372
|
-
GitHub repo search (0 results), the Actions marketplace, the pre-commit hook ecosystem, PyPI, and
|
|
373
|
-
the Claude skill marketplaces.
|
|
374
|
-
|
|
375
|
-
🔴 **And it is not a number-keyed table**: the first version keyed rules on the digits, and a paper
|
|
376
|
-
printing two unrelated 22s broke it the same hour. Key on the occurrence.
|
|
377
|
-
|
|
378
|
-
🔴 **Hand the gate to a red team the same day you build it.** This one was, and seven holes came
|
|
379
|
-
back, the worst being that the original defect could simply be **retyped as digits** — its value was
|
|
380
|
-
grandfathered, so the guard applied to the macro and not to the claim. Every hole is now a case in
|
|
381
|
-
\`repro/tools/paper_numbers.selftest.py\` (18/18, including three that must stay **quiet** — a gate that
|
|
382
|
-
fires on ordinary writing gets muted, and then its silence reads as coverage).
|
|
253
|
+
A number can be correct on both axes and still be described in the wrong arm's words (the 22 of the
|
|
254
|
+
annotated arm reported as "exactly as committed"). No pass on either axis sees it. Write a registered
|
|
255
|
+
quantity as a name (\`{{corpus.n}}\`, rendered with jinja2), not as digits, with a guard that the
|
|
256
|
+
paragraph names its arm and the sentence does not claim another. The construction, the tools tried
|
|
257
|
+
and the red-team holes: \`docs/design/paper-pipeline-history.md\` in the package.
|
|
383
258
|
|
|
384
259
|
## 🔴 The page limit is a SUBMISSION gate, not an EDIT gate
|
|
385
260
|
|
|
386
|
-
**Observed failure, \`compile-rules-2026\`, 2026-08-02/03.** The body oscillated 8 ↔ 9 pages for roughly
|
|
387
|
-
fifty iterations. Each time content went in, the page count read 9, and prose came out to get back to
|
|
388
|
-
8 — sixty characters at a time. Every individual cut looked harmless. Their sum is the unanimous 2/5
|
|
389
|
-
for clarity: the first compression took real repetition, the second had none left and took
|
|
390
|
-
transitions, antecedents and the conclusion's honest half. The structural pass named the arithmetic —
|
|
391
|
-
780 words of genuine repetition removed, then 880 words in and 480 out, leaving the paper 51 words
|
|
392
|
-
*heavier* than before the pass that cut 780.
|
|
393
|
-
|
|
394
261
|
**The rule.** Content work runs OVER the limit on purpose. Compression is **one pass, at the end**,
|
|
395
262
|
when the content has settled — with a whole-draft view, so it can move a section instead of shaving a
|
|
396
263
|
clause. Going over during drafting is not a problem to fix; it is the normal state of a paper that is
|
|
@@ -398,66 +265,31 @@ still growing.
|
|
|
398
265
|
|
|
399
266
|
**The trigger to catch yourself:** you just added something, ran the page count, saw it over, and
|
|
400
267
|
started looking for words to remove **in the section you were just editing**. That is the failure, in
|
|
401
|
-
progress. The page count is information for the end of the work, not an alarm during it.
|
|
402
|
-
own words on catching it, translated from Russian: *"you're cutting the text right away — dunno if that really needs doing immediately."*)
|
|
268
|
+
progress. The page count is information for the end of the work, not an alarm during it.
|
|
403
269
|
|
|
404
270
|
**What is still continuous:** rendering, and looking at pages 1–2. Seeing the number is fine. Acting
|
|
405
271
|
on it is what waits.
|
|
406
272
|
|
|
407
|
-
🔴 **
|
|
408
|
-
|
|
409
|
-
body oscillated 8 ↔ 9 pages for ~50 iterations, and the squeezing is what produced the unanimous 2/5 on
|
|
410
|
-
clarity: the first compression took real repetition, the second had none left and took transitions,
|
|
411
|
-
antecedents and the conclusion's honest half. After each round's fixes, run \`tighten-paper\` — and if the
|
|
412
|
-
page limit is binding, **move** rather than delete (Limitations and Ethics do not count toward ACL page
|
|
273
|
+
🔴 **Length is paid in ONE pass: the final review's \`tighten-paper\` step.** If the page limit is
|
|
274
|
+
binding, **move** rather than delete (Limitations and Ethics do not count toward ACL page
|
|
413
275
|
limits). The trap in that move is real and named in \`references/acl-venue-rules.md\`: relocating a caveat
|
|
414
276
|
while its flattering number stays in the body is exactly the asymmetry reviewers punish.
|
|
415
277
|
|
|
416
|
-
**
|
|
417
|
-
|
|
418
|
-
\`PIPELINE-STATUS.md\` for **study-accepted-papers, pc-panel-review, or full harden-paper** is an unrun
|
|
419
|
-
quality gate, not churn: **if capacity exists, run it before calling the paper done.** (This session
|
|
420
|
-
skipped those three under an "anti-churn" rationalization on a submitted paper; when the user forced them,
|
|
421
|
-
the pc-panel caught real must-fixes — a release overclaim and an unsupported number — that the skip would
|
|
422
|
-
have shipped.) Churn is re-touching FINE prose; a never-run gate is a hole. If a real
|
|
278
|
+
**A gate that never ran is a hole, not churn.** A \`☐\` \`panel\` or \`harden\` row means the final review
|
|
279
|
+
or the checklist has not run on this paper; it runs once. If a real
|
|
423
280
|
objection is out of scope, name it in Threats to Validity (adversarial reviewers read Threats first; an
|
|
424
281
|
honest limitation reads as strength).
|
|
425
282
|
|
|
426
283
|
**A \`☐\` in GATES is a hole. A \`☐\` in CONTINUOUS is worse** — it means the check exists, ran once, and
|
|
427
284
|
has been silently stale ever since. That is the shape of every failure this pipeline has actually had.
|
|
428
285
|
|
|
429
|
-
## ⏱️ What each stage
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
writing the timing problem into the pipeline skill?"*. Yes — because the project already forbids guessing here. The rule in the papers tree's own \`CLAUDE.md\`
|
|
433
|
-
says an estimate must be decomposed into labour / calendar / result-risk / access and **spiked
|
|
434
|
-
rather than guessed**, and the same session it was written I still launched an experiment with no
|
|
435
|
-
upper bound and had to cut it four hours later.
|
|
436
|
-
|
|
437
|
-
Every number below is subagent **wall clock, measured on 2026-08-04/05** while finishing
|
|
438
|
-
\`compile-rules-2026\`. They are one machine, one paper, one day — treat them as an order of
|
|
439
|
-
magnitude, not a promise. Re-measure rather than inherit.
|
|
440
|
-
|
|
441
|
-
| stage | measured | note |
|
|
442
|
-
|---|--:|---|
|
|
443
|
-
| \`verify-citations\`, one reference | **3 min** | sonnet; a fetch and a comparison |
|
|
444
|
-
| \`verify-citations\`, eight references | **3 min** | the fetches parallelise; count barely matters |
|
|
445
|
-
| a single reconciliation ("do these two numbers agree?") | **4 min** | sonnet, over committed data |
|
|
446
|
-
| a second-rater pass over ~20 rows | **8 min** | opens every cited file |
|
|
447
|
-
| a process/mechanism research pass (docs + source + issue tracker) | **10 min** | |
|
|
448
|
-
| \`pc-panel-review\`, full panel + chair | **17 min** | unchanged for the confirming round |
|
|
449
|
-
| \`grade-paper-writing\` incl. the persona cold read | **20 min** | |
|
|
450
|
-
| bundling an experiment into the artifact + gate + re-zip | **24–39 min** | scales with directories, not bytes |
|
|
451
|
-
| a design/measurement **spike** (feasibility, a handful of cells) | **27 min** | |
|
|
452
|
-
| \`tighten-paper\` applied, with a loss letter | **34 min** | includes several build round-trips |
|
|
453
|
-
| \`harden-paper\` | **36 min** | the widest gate; it runs the artifact |
|
|
454
|
-
| **an experiment with real checkouts and installed dependencies** | **≈4 h for 143 cells** | median cell **76 s**; the outlier by an order of magnitude |
|
|
286
|
+
## ⏱️ What each stage costs
|
|
287
|
+
|
|
288
|
+
Measured wall clock per stage (one machine, one paper; re-measure rather than inherit): \`docs/design/paper-pipeline-history.md\` in the package.
|
|
455
289
|
|
|
456
290
|
**What the shape tells you, which matters more than the rows.**
|
|
457
291
|
|
|
458
|
-
- **
|
|
459
|
-
to run after any substantial edit, and there is no excuse for a stale gate on a paper you are
|
|
460
|
-
still touching.
|
|
292
|
+
- **The final review is measured in tens of minutes** (\`tighten-paper\` 34 min, \`pc-panel-review\` 17 min). It runs once, not after each edit.
|
|
461
293
|
- **Reading, checking and reviewing are all minutes.** Anything whose cost is dominated by fetching,
|
|
462
294
|
parsing or judging text lands in the 3–40 minute band regardless of how important it feels.
|
|
463
295
|
- 🔴 **Anything that installs dependencies and runs an agent inside a real checkout is hours, and
|
|
@@ -471,15 +303,14 @@ magnitude, not a promise. Re-measure rather than inherit.
|
|
|
471
303
|
## Model policy (which model runs which stage)
|
|
472
304
|
Single home for the whole suite — stage skills point here instead of each re-deciding. Default:
|
|
473
305
|
- **Adversarial / red-team / verify a claim** → **Fable** (a separate model; never the author grading
|
|
474
|
-
itself): \`
|
|
475
|
-
citability red-team, disputed \`verify-citations\` verdicts.
|
|
306
|
+
itself): \`pc-panel-review\` reviewers, disputed \`verify-citations\` verdicts.
|
|
476
307
|
- **Heavy generation / synthesis** → the session's main model (**Opus**): \`draft-paper\`,
|
|
477
308
|
\`build-benchmark\` design, \`extend-paper\`, \`research-ideate\`.
|
|
478
309
|
- **Cheap bulk fetch / extraction** → **Haiku** (or Sonnet): \`study-accepted-papers\` corpus pull,
|
|
479
310
|
\`plan-paper-timeline\`.
|
|
480
311
|
- **No model at all (mechanical)** → \`verify-citations\`'s \`../verify-citations/scripts/verify-cites.mjs\` reducer,
|
|
481
|
-
\`harden-paper\`'s \`check-*.sh\` linters, \`
|
|
482
|
-
- **Judge panels use DIVERSE models, not N copies of one** → \`
|
|
312
|
+
\`harden-paper\`'s \`check-*.sh\` linters, \`paperlint build\`.
|
|
313
|
+
- **Judge panels use DIVERSE models, not N copies of one** → \`pc-panel-review\`:
|
|
483
314
|
mix Opus + Fable + Sonnet so independent lenses catch what redundancy can't.
|
|
484
315
|
|
|
485
316
|
Override per call when a stage clearly needs otherwise; this is the default, not a straitjacket.
|
|
@@ -489,11 +320,34 @@ Override per call when a stage clearly needs otherwise; this is the default, not
|
|
|
489
320
|
- **Never fabricate** a citation, number, or result. Mark \`% VERIFY\` and check (\`verify-citations\`).
|
|
490
321
|
- **Commit + push after each stage**, keep the tree clean (resume-safe across \`/compact\`); update
|
|
491
322
|
\`<papers-root>/research/README.md\` in the same commit as any new research file (its CLAUDE.md enforces this).
|
|
492
|
-
- **Two roles, never double-counted:** authoring = the *authorship* criterion; reviewing others at the
|
|
493
|
-
venue (the organizer review-offer email) = the *judging* criterion — a separate credential.
|
|
494
323
|
|
|
495
|
-
|
|
496
|
-
Two real papers this session ran this pipeline end-to-end: **AgenticDev 2026 @ ASE** ("Measuring the
|
|
497
|
-
Wrong Number," ~90%, submitted #20) and **AISec 2026 @ ACM CCS** ("Safety Theater," Weak-Accept→~87–88%
|
|
498
|
-
after a panel round + confirm). The stage skills and shared refs are distilled from exactly those runs.`,
|
|
324
|
+
`,
|
|
499
325
|
});
|
|
326
|
+
|
|
327
|
+
export const flow = {
|
|
328
|
+
stage: "across",
|
|
329
|
+
handsTo: () => [],
|
|
330
|
+
calls: () => [
|
|
331
|
+
researchIdeate,
|
|
332
|
+
mapPriorWork,
|
|
333
|
+
findVenue,
|
|
334
|
+
studyAcceptedPapers,
|
|
335
|
+
planPaperTimeline,
|
|
336
|
+
argumentArc,
|
|
337
|
+
buildBenchmark,
|
|
338
|
+
runAgentGrid,
|
|
339
|
+
labelAgentRuns,
|
|
340
|
+
buildLabelPage,
|
|
341
|
+
draftPaper,
|
|
342
|
+
verifyCitations,
|
|
343
|
+
analyzeSiblingPaper,
|
|
344
|
+
tightenPaper,
|
|
345
|
+
coldReadDiff,
|
|
346
|
+
rewriteUnclear,
|
|
347
|
+
pcPanelReview,
|
|
348
|
+
hardenPaper,
|
|
349
|
+
submitPaper,
|
|
350
|
+
cameraReady,
|
|
351
|
+
extendPaper,
|
|
352
|
+
],
|
|
353
|
+
} satisfies Flow;
|
|
@@ -176,28 +176,6 @@ const FIXTURE = {
|
|
|
176
176
|
// there. English counterparts are carried so the same run reports whether the intervention costs
|
|
177
177
|
// the English arm anything.
|
|
178
178
|
const CASES = [
|
|
179
|
-
{
|
|
180
|
-
skill: "grade-paper-writing",
|
|
181
|
-
gapPp: -42,
|
|
182
|
-
prompts: [
|
|
183
|
-
{
|
|
184
|
-
ru: "у меня ощущение, что вступление написано тяжело, но я не понимаю чем именно",
|
|
185
|
-
en: "the introduction feels heavy to me and I cannot tell what exactly makes it so",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
ru: "рецензент назвал текст многословным — согласен ли ты и где конкретно",
|
|
189
|
-
en: "a reviewer called the text wordy — do you agree, and where exactly",
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
ru: "нужен разбор по пунктам: заголовок, первый абзац, подача выводов",
|
|
193
|
-
en: "I want a point-by-point breakdown: the title, the opening paragraph, how findings are delivered",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
ru: "сравни как это написано с тем, как пишут сильные статьи в этой области",
|
|
197
|
-
en: "compare how this is written against how strong papers in this field are written",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
},
|
|
201
179
|
{
|
|
202
180
|
skill: "argument-arc",
|
|
203
181
|
gapPp: -33,
|
|
@@ -369,35 +369,6 @@ const CASES = [
|
|
|
369
369
|
],
|
|
370
370
|
},
|
|
371
371
|
},
|
|
372
|
-
{
|
|
373
|
-
skill: "grade-paper-writing",
|
|
374
|
-
cells: {
|
|
375
|
-
AH: [
|
|
376
|
-
"grade the writing craft in this draft and name the offending sentence in each dimension",
|
|
377
|
-
"run the blind multi-grader panel over the prose clarity and jargon discipline",
|
|
378
|
-
"score the title, the abstract and the intro architecture one to five",
|
|
379
|
-
"grade how well this reads, hedge stacking included, and give me the fix for each",
|
|
380
|
-
],
|
|
381
|
-
AL: [
|
|
382
|
-
"mark this manuscript out of five on how it is put together at the sentence level",
|
|
383
|
-
"give me a scored report card on the language, with the worst example under each heading",
|
|
384
|
-
"rate how professional the phrasing sounds against papers people actually finish",
|
|
385
|
-
"assign a number to the quality of the English here and point at the ugliest example",
|
|
386
|
-
],
|
|
387
|
-
SH: [
|
|
388
|
-
"the abstract reads like a wall of jargon",
|
|
389
|
-
"the intro architecture is fine but the prose clarity is not",
|
|
390
|
-
"there is hedge stacking everywhere and the point never lands",
|
|
391
|
-
"the writing does not read well even though the draft is finished",
|
|
392
|
-
],
|
|
393
|
-
SL: [
|
|
394
|
-
"something about the way this is worded makes me wince and I cannot name it",
|
|
395
|
-
"my supervisor said the English gets in the way of the science",
|
|
396
|
-
"the sentences are correct but they feel like wet cardboard",
|
|
397
|
-
"I went through my own opening twice and still had to start over",
|
|
398
|
-
],
|
|
399
|
-
},
|
|
400
|
-
},
|
|
401
372
|
{
|
|
402
373
|
skill: "argument-arc",
|
|
403
374
|
cells: {
|