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