count_active_siblings excludes soft-deleted references, so rewriting the last active reference to a shared asset clears that asset's hash in place while a soft-deleted sibling still points at it. Restoring the sibling then matched the unchanged check on its own untouched file and kept enrichment_level at HASHED, so it was never re-hashed. Preserving state only makes sense when there is state to preserve: require a recorded hash before taking the unchanged path. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| asset_management.py | ||
| bulk_ingest.py | ||
| cursor.py | ||
| file_utils.py | ||
| hashing.py | ||
| image_dimensions.py | ||
| ingest.py | ||
| metadata_extract.py | ||
| path_utils.py | ||
| schemas.py | ||
| tagging.py | ||