- OKF export: a bare [[X]] becomes a bundle-root link when it resolves
(path, file name or title; `&`, spaces and brackets percent-encoded)
instead of degrading to plain text.
- N2 "degraded, not empty": retrieve reports DEGRADED for unread pages,
graph or exact search ("no candidates among what could be read");
lint reports Crux quotes and secret scans it could not do, and no
longer skips an unreadable file as binary in the secrets scan.
AGENTS.md rule; test_silent_reads guards new swallowed reads
(`# ok-silent: <reason>` for the deliberate ones).
- N17: case- and accent-insensitive fold in retrieve's tldr and scope
matching; lint check 20 flags page names that collide after folding.
- N7: one publish filter in both exporters drops HTML comments outside
code (unclosed to the end of the page), `--drop-section NAME` leaves out
sections, and a page whose frontmatter never closes is refused (exit 1).
- Test that an interrupted routine stays due until --mark.
- Docs: lint, retrieve and exporter skills, both manuals; goldens updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F20-F24 from the 2.0.0 script review: zero-indent routine lists,
escaped --do values, --remove continuation lines; <private> redaction
across content blocks; OKF scalar quoting and code-fence titles; Unicode
tokens in retrieve and consolidate; bad workload dates, frontmatter at
EOF, `wiki/` refs without a slash, Starlight route collisions, labelled
wikilinks, string source_files, real splash sections, <private> dropped
from both exports.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes F1-F5 from the 2.0.0 script review:
- removeprefix/removesuffix (3.9+) replaced; lint, retrieve and
consolidate crashed on Python 3.8 with any graph edges
- routines.py --mark wrote `last_run:DATE` (invalid YAML) and swallowed
trailing comments into the value
- export_okf.py --out must be inside outputs/ (it is rmtree'd);
export_starlight.py image copies confined to wiki/assets/
- script counts in AGENTS.md, READMEs and manuals
New tests/unit/ (stdlib unittest, run from smoke.sh): 3.8 API guard,
routines round-trips, exporter containment, AGENTS.md consistency.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>