Skip to content

fix(memory): correct ephemeral message in bare mode and deduplicate audit types#4399

Merged
bug-ops merged 1 commit into
mainfrom
4394-4395-bare-mode-audit-dedup
May 18, 2026
Merged

fix(memory): correct ephemeral message in bare mode and deduplicate audit types#4399
bug-ops merged 1 commit into
mainfrom
4394-4395-bare-mode-audit-dedup

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented May 18, 2026

Summary

Closes #4394
Closes #4395

Test plan

  • cargo nextest run --workspace --lib --bins — 9905 passed, 21 skipped
  • New regression test memory_save_ephemeral_returns_session_only_message covers the ephemeral branch
  • Doc-tests pass: cargo test --doc --workspace --features "desktop,ide,server,chat,pdf,scheduler"
  • cargo clippy --workspace -- -D warnings — clean
  • cargo +nightly fmt --check — clean

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation memory zeph-memory crate (SQLite) rust Rust code changes core zeph-core crate size/L Large PR (201-500 lines) and removed bug Something isn't working labels May 18, 2026
@bug-ops bug-ops enabled auto-merge (squash) May 18, 2026 17:56
@bug-ops bug-ops force-pushed the 4394-4395-bare-mode-audit-dedup branch from 975f1d9 to 066225d Compare May 18, 2026 17:56
@github-actions github-actions Bot added the bug Something isn't working label May 18, 2026
…udit types

In --bare mode, memory_save now returns an ephemeral disclaimer instead
of the persistent-mode message that implied data would survive the session.
Adds `ephemeral: bool` field to MemoryToolExecutor with a builder, wired
from runner.rs when exec_mode.bare is set. Closes #4394.

Moves canonical AuditSignalType, Severity, and AuditSignal from
zeph-sanitizer and zeph-memory into zeph-common::audit. Both crates
re-export the types for backward compatibility, eliminating the manual
conversion match arms that the duplication required. Closes #4395.
@bug-ops bug-ops force-pushed the 4394-4395-bare-mode-audit-dedup branch from 066225d to b7cb4a1 Compare May 18, 2026 18:06
@bug-ops bug-ops merged commit db27efc into main May 18, 2026
32 checks passed
@bug-ops bug-ops deleted the 4394-4395-bare-mode-audit-dedup branch May 18, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core zeph-core crate documentation Improvements or additions to documentation memory zeph-memory crate (SQLite) rust Rust code changes size/L Large PR (201-500 lines)

Projects

None yet

1 participant