mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 20:18:09 +00:00
Default active-history expiry to on in bundled settings, backend fallbacks and the settings UI. New installations and legacy configurations without the key now keep up to 500 recent snapshots within 30 days, plus current state and boundary checkpoints. Preserve explicit opt-outs and the existing cleanup schedule. Update the settings copy and ownership contract to distinguish snapshot expiry from optional whole-history deletion for inactive workspaces. Validation: 59 focused backend tests and 5 frontend tests pass. Verify that default cleanup expires old preserved timelines, explicit opt-outs leave refs unchanged, and the settings initializer preserves false values. The Docker framework runtime reports expiry enabled with the 500/30 limits.