mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 12:54:19 +01:00
Every install and lane switch edits opencode.json and the cockpit's copy and leaves a dated backup; none was ever removed (98 and 91 on the reference box after three weeks, each holding the API key). backup() now prunes the backups of the file beyond the ten newest, counting only the names it gives: a copy made by hand is never touched. tests/test_oc_backups_kept_few.py fails on v1.28.0 and passes now; a mutant that skips the pruning fails it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>