fix: v0.6.7 bug sweep — 9 fixes from post-v0.6.6 audit#35
Open
alderpath wants to merge 1 commit into
Open
Conversation
- SQL LIMIT 200 in load_dictionary (phrases_fts query was unbounded) - GUARD_CACHE now uses GUARD_CACHE_TTL/GUARD_CACHE_MAX constants (was magic) - CACHE_FEEDBACK outer map bounded at 32 entries (was unbounded) - PER_KEY_STATE outer map bounded at 32 entries (was unbounded) - Guard no longer fires on prose mentions of 'edit' — only tool_calls array - Anti-decision env var compatibility: reads both FEATURE_ANTI and ANTI_DISABLE - Response cache preserves x-reliaty-* headers on cache hits - Anthropic /v1/messages returns 501 instead of silent mangling - Synced embedded gate.js copy from canonical pi/gate.js - Bumped GATE_VERSION to 0.6.7 Tests: 178 passing (7 new regression tests in regression_v067.rs)
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
Audited the v0.6.6 merge and found 9 bugs ranging from a critical SQL bug to documentation mismatches. This PR fixes all 9 with regression tests.
Bugs fixed
load_dictionary()SQL had noLIMIT, returning entire phrases tableTest coverage
7 new regression tests in
crates/reliary-agent/tests/regression_v067.rs. Total test count: 178 (was 171).CI verification
cargo build --release: cleancargo clippy --all-targets -- -D warnings: cleancargo test --release: 178 passed, 0 failed