Files
alzeo/docs
Hasan BasbunarandClaude Opus 5.5 1e16cacb83 oc-merge-limits: keep the ten newest backups of a config, not every one forever
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>
2026-10-13 01:56:47 +02:00
..