feat(config): enable 8 validated settings by default (#2101)#2109
Merged
feat(config): enable 8 validated settings by default (#2101)#2109
Conversation
Based on 37-61 live CI sessions without issues, the following settings are now enabled by default: - memory.semantic: temporal_decay (half_life=30d), mmr (lambda=0.7), importance scoring (weight=0.15) - tools: anomaly detection, audit logging (stdout) - cost tracking (max_daily_cents=0, unlimited) - autosave_assistant (min_length=20) - vector_backend changed from qdrant to sqlite (zero-dependency default) Also fix cost budget guard: max_daily_cents=0 now correctly means unlimited instead of immediately exhausting the budget.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2101. Enables 8 runtime settings by default, each validated through 37-61 live CI sessions without issues.
Changes
memory.semantic.temporal_decay_enabledfalsetrue(half_life=30d)memory.semantic.mmr_enabledfalsetrue(lambda=0.7)memory.semantic.importance_enabledfalsetrue(weight=0.15)tools.anomaly.enabledfalsetruetools.audit.enabledfalsetrue(stdout)cost.enabledfalsetrue(max_daily=0/unlimited)autosave_assistantfalsetrue(min_length=20)vector_backend"qdrant""sqlite"Additionally fixes a bug where
max_daily_cents = 0immediately exhausted the budget instead of meaning "unlimited".Files Changed
config/default.toml+crates/zeph-config/config/default.toml— updated valuescrates/zeph-config/src/memory.rs—VectorBackenddefault → Sqlite, semantic fields default → truecrates/zeph-config/src/root.rs—autosave_assistantdefault → truecrates/zeph-config/src/features.rs—CostConfigenabled → true, max_daily_cents → 0crates/zeph-tools/src/config.rs—AnomalyConfig/AuditConfigenabled → true, tests updatedcrates/zeph-core/src/cost.rs— budget guard:> 0check makes 0 mean unlimitedcrates/zeph-core/src/agent/builder.rs— test now explicitly sets anomaly.enabled=falseTest plan
cargo +nightly fmt --check— passcargo clippy --workspace --features full -- -D warnings— pass (0 warnings)cargo nextest run --workspace --features full --lib --bins— 6365 passed, 15 skippedvector_backend = "qdrant"explicitly in config (behavioral change documented in CHANGELOG)