scripts/librarian_check_citations.py extracts file:line references from inline-code spans across docs/**/*.md and verifies each path exists (and, if cited with a line number, is within range). Skips docs/archive/ and docs/plans/archive/ which are read-only by policy. Caught one real drift in docs/research/optimization_sequencing.md: the note pointed at docs/plans/amp_trainer.md, which had moved into docs/plans/archive/. scripts/librarian-ignore.txt holds fnmatch globs for citations that are intentionally future-tense (planned files described in the plan docs themselves). Used sparingly so the checker stays useful as a drift signal. Updates docs/plans/librarian.md Progress + Next Step. Next concrete step is a thin scripts/librarian.sh orchestrator over both checkers. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
852 B
Plaintext
24 lines
852 B
Plaintext
# Ignore patterns for scripts/librarian_check_citations.py.
|
|
#
|
|
# One fnmatch glob per line. Citations matching any pattern are
|
|
# silently skipped — use sparingly, only for citations that are
|
|
# genuinely intentional (planned future files, design references)
|
|
# rather than drift you can fix.
|
|
#
|
|
# Format examples:
|
|
# scripts/foo.sh # exact path
|
|
# configs/deep_cfr/model-*.yaml # glob
|
|
# docs/research/*.md # whole directory
|
|
#
|
|
# Comments after `#` are stripped per line. Blank lines ignored.
|
|
|
|
# Future deliverables described in docs/plans/librarian.md
|
|
scripts/librarian.sh
|
|
|
|
# Future config + script described in docs/plans/model_size_experiment.md
|
|
configs/deep_cfr/model-size-*.yaml
|
|
scripts/run_model_size_experiment.sh
|
|
|
|
# Future config described in docs/plans/torch_compile.md
|
|
configs/deep_cfr/default_compile.yaml
|