Distributable agent observability: real-time-tailable sessions, agile-style retros, and repo-level improvement (Cursor, Claude Code, Codex). SQLite, redact before any sync you enable.
// SPDX-License-Identifier: AGPL-3.0-or-later
//! Context passed when appending events so the store can enqueue the sync outbox.
usecrate::core::config::SyncConfig;usestd::path::{Path, PathBuf};/// Everything needed to optionally enqueue a redacted row after a successful insert.
#[derive(Debug, Clone)]pubstructSyncIngestContext{pubsync: SyncConfig,
pubworkspace_root: PathBuf,
}implSyncIngestContext{pubfnnew(sync: SyncConfig, workspace_root: PathBuf)->Self{Self{
sync,
workspace_root,}}pubfnworkspace_root(&self)->&Path{&self.workspace_root
}}