覆盖 kb/storage/projectworkflow/docgov/freedoc 与两个 document CLI。 Co-authored-by: Cursor <cursoragent@cursor.com>
Default still refuses shared DSN/paths. Apply to dev requires --live, --environment dev, a single --doc-id, and confirm REPAIR_SINGLE_DEV_DOC. Co-authored-by: Cursor <cursoragent@cursor.com>
Semantic-preserving canonicalization, same-byte write paths, structured content errors, and a dry-run-default migration_repair stop 404s caused by trimming project-143 hard-breaks and no-op lease hydrations. Co-authored-by: Cursor <cursoragent@cursor.com>