Skip to content

forensics dedup recompute-fingerprints

Recompute persisted simhashes for rows not stamped at the current NFKC (v2) version.

Idempotent: when every row is already current, exit code 5 (CONFLICT) signals “nothing to do” for agents (JSON mode still emits a success envelope on stdout before exiting). Missing dedup schema columns yield zeros without CONFLICT.

Terminal window
forensics dedup recompute-fingerprints [OPTIONS]
OptionDescription
--limit INTEGERMax rows to recompute (testing).
--db PATHOverride SQLite path (default: project data/articles.db).
--helpShow this message and exit.