Context
SQLite backend. Per docs/audits/sqlite.md F2.
Problem
mas-sqlite crate compiles and registers 8 sqlite_* commands in invoke_handler but no frontend caller invokes them. Dead code that inflates binary size, expands security-review surface, and confuses new contributors.
Files
- src-tauri/crates/mas-sqlite/src/{connection,query,schema,error,lib}.rs (413 LOC)
- src-tauri/src/commands/sqlite.rs
- src/lib/tauri-api.ts:145-163 (unused wrappers)
- src/lib/tests/tauri-api.test.ts (mock-only)
Expected
Either UI ships using these commands (per F1) or the crate + commands + tests are removed.
Proposed fix
M: depends on F1. If F1 ships, no action. Otherwise delete src-tauri/crates/mas-sqlite, remove from workspace Cargo.toml, drop sqlite.rs, drop wrappers, drop tests.
Acceptance
Either (a) UI integration verified, or (b) crate removed and cargo build is clean.
Needs human verify
yes (feature in/out decision)
Context
SQLite backend. Per docs/audits/sqlite.md F2.
Problem
mas-sqlite crate compiles and registers 8 sqlite_* commands in invoke_handler but no frontend caller invokes them. Dead code that inflates binary size, expands security-review surface, and confuses new contributors.
Files
Expected
Either UI ships using these commands (per F1) or the crate + commands + tests are removed.
Proposed fix
M: depends on F1. If F1 ships, no action. Otherwise delete src-tauri/crates/mas-sqlite, remove from workspace Cargo.toml, drop sqlite.rs, drop wrappers, drop tests.
Acceptance
Either (a) UI integration verified, or (b) crate removed and cargo build is clean.
Needs human verify
yes (feature in/out decision)