Skip to content

fix(memory,llm): correct BFS ESCAPE clause and persist bandit state (#2393, #2394)#2395

Merged
bug-ops merged 1 commit intomainfrom
2393-escape-bandit-state
Mar 29, 2026
Merged

fix(memory,llm): correct BFS ESCAPE clause and persist bandit state (#2393, #2394)#2395
bug-ops merged 1 commit intomainfrom
2393-escape-bandit-state

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Mar 29, 2026

Summary

Changes

  • crates/zeph-memory/src/graph/store/mod.rs:1081 — fix ESCAPE clause
  • crates/zeph-llm/src/any.rs — add save_bandit_state() to shutdown path
  • CHANGELOG.md — document both fixes under [Unreleased]

Test plan

  • cargo +nightly fmt --check — clean
  • cargo clippy --workspace --features full -- -D warnings — 0 warnings
  • cargo nextest run --workspace --features full --lib --bins — 7233 passed, 0 failed

…2393, #2394)

- fix(memory): change ESCAPE '\\\\' to ESCAPE '\\' in spreading activation
  BFS alias query — SQLite requires exactly 1 character (closes #2393)
- fix(llm): add save_bandit_state() call in save_router_state() so PILOT
  LinUCB bandit state persists across restarts (closes #2394)
@github-actions github-actions bot added documentation Improvements or additions to documentation llm zeph-llm crate (Ollama, Claude) memory zeph-memory crate (SQLite) rust Rust code changes bug Something isn't working size/XS Extra small PR (1-10 lines) labels Mar 29, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 29, 2026 22:58
@bug-ops bug-ops merged commit 130f5d9 into main Mar 29, 2026
27 checks passed
@bug-ops bug-ops deleted the 2393-escape-bandit-state branch March 29, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation llm zeph-llm crate (Ollama, Claude) memory zeph-memory crate (SQLite) rust Rust code changes size/XS Extra small PR (1-10 lines)

Projects

None yet

1 participant