Phase 1 (PR #691) moved enforcement from Go to Rust's single rusqlite connection, eliminating the dual-connection SQLITE_CORRUPT root cause. Phase 2 removes the remaining Go *sql.DB touchpoints on the attestations table and cleans up dead code.
as commandRemove cmd/qntx/commands/as.go and its registration in cmd/qntx/main.go. The CLI attestation creation path is deprecated.
Delete bounded_store_warnings.go, bounded_store_warnings_test.go, StorageWarning type, and all CheckStorageStatus calls (batch.go). Warnings predicted when evictions would happen — we now accept evictions and observe them after the fact.
Delete logStorageWarning and nullIfEmpty from bounded_store_telemetry.go. Rust writes storage_events directly since Phase 1. If the file becomes empty, delete it.
GetStorageStats through Rust FFIBoundedStore.GetStorageStats() still queries via Go's *sql.DB. Replace with the existing RustStore.GetStorageStats() FFI call (storage_get_stats). This removes the last Go SQL query against the attestations table.
database-stats-window.ts (has a TODO saying exactly this)default-glyphs.ts) shows the same datastorage-eviction.ts and storage-warning.ts handlers currently just console.log; surface eviction counts/details in the database glyphUpdate docs/architecture/bounded-storage.md:
bounded_store_enforcement.go (deleted in Phase 1)qntx as commands (deleted in 2.1)