# Project config memories (scope: project)
### [project-config] Stack and release identity (scope: project)
Rust 2024 edition, single binary `mcpspy`, published on crates.io at **0.2.2** (`MIT OR Apache-2.0`). Core deps: `tokio` (io/util/process/sync/time/macros/rt-multi-thread), `rusqlite` bundled, `clap` derive, `serde`/`serde_json`, `chrono`, `regex`, `anyhow`, `tracing-subscriber`, `dirs`, `schemars`. Optional interface deps: `ratatui` 0.30.2 + `crossterm` 0.29 (`tui`), `rmcp` 3.9 (`mcp`, resolves to 3.12.x). Repo: `bigwalkdoe/mcpspy`; MCP Registry name `io.github.bigwalkdoe/mcpspy`.
### [project-config] Verification commands (scope: project)
Run before proposing a change: `cargo fmt --all -- --check`, `cargo clippy --all-targets --all-features -- -D warnings`, `cargo test --locked` (69 tests: 28 lib + 32 bin, including 6 compare tests, + 9 integration: 5 proxy, 2 version, 2 compare), `cargo check --locked --no-default-features`, `cargo check --locked --no-default-features --features mcp`, `cargo publish --dry-run`. CI runs all of these on Linux/macOS, compile-checks Windows (integration tests need `python3`), and builds release artifacts on `v*` tags.
### [project-config] Default database path and tilde expansion (scope: project)
`--db` defaults to `~/.mcpspy/telemetry.db` as a literal CLI default string; `main.rs` expands the leading `~` via `cli_util::expand_tilde` before any command runs. `TelemetryDb::open` creates parent directories. Earlier code that skipped expansion created a literal `~/` directory in the repo — it was removed.
### [project-config] Toolchain environment (scope: project)
Host has Fedora Rust/Cargo 1.100.0 with **no rustup**, so `cargo fmt` and `cargo clippy` are absent by default. Workaround that works: `dnf download rustfmt clippy`, extract RPMs with `rpm2cpio` into a temp dir, prepend its `usr/bin` to `PATH`. Do not attempt `dnf install` — it needs passwordless sudo which is unavailable.