Fixes F6, F12-F16 from the 2.0.0 script review:
- share: plain file/mailbox names and mailbox-bound share_id/version, or
the message is ignored (no ckb.yaml injection, no writes outside
raw/inbox/); ledger rejects whitespace/control characters; every
commit on a message must be by an owner; duplicate members.yaml
entries unown a mailbox; only verified retractions hide mail; branch,
url and name validated before git; received copy always untrusted;
<private> stripped from title/tldr and unclosed tags; no send without
the secret scan
- capture: frontmatter values quoted unless plainly safe; one-line title
- lint check 13: chat-attributed Crux needs no Sources
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>