storage-old-schema-compat

IN premise

`load()` tolerates missing `network_meta` and `repos` tables via silent `try/except`, supporting databases created before those tables were added; `next_nogood_id` is derived from existing IDs as a fallback.

Summary

The storage layer gracefully handles older database files that were created before features like network metadata and repository tracking were added. Instead of crashing on missing tables, it silently skips them and reconstructs counters from whatever data already exists, so users never have to manually migrate their database to keep working.

Details

Sourceentries/2026/04/24/reasons_lib-storage.md