v0.3.1 β vault bloat fix & self-healing memory π§Ή
Fix: vault memory files no longer grow to gigabytes β and existing installs self-heal.
- π Root cause fixed β the frontmatter writer in the vendored autograph scripts kept the old folded
descriptionline whenever it contained a:, doubling the value on every nightly rewrite (2^N growth: a card crossed 100 MB in two weeks and could reach gigabytes). Bloated cards OOM-killed both Iva and the nightly memory doctor. The writer now replaces folded values by indentation,enforcecollapses any repeated description, and a hard cap keeps descriptions one-line forever. - π§Ή New
cleanupmodule in autograph β a surgical, bounded-memory cleaner: it streams even gigabyte .md files (peak RAM ~25 MB), collapses the duplicated garbage in the description block, copies the card body byte-for-byte and touches nothing else. Dry-run by default,--applyto fix; runs automatically as the first step of the nightly doctor and duringiva update, so bloated vaults shrink back without manual steps. - π Vendored skill scripts now follow the template β
iva update, the nightly doctor andinit-vaultnow sync the skill code (neverschema.json, cards or any user data) from the template into the live vault, so every existing install picks up this fix β and future ones β automatically.
Just run iva update (or accept the update prompt in Telegram) β the bloated files are repaired during the update itself.