v0.1.11 — Correctness + safety fixes
Critical fixes from full code/security/performance review:
Correctness
- FQN normalization centralized —
db_annotate,db_discover_relationships,db_get_relationships,db_sync_knowledgenow all use the same canonical key asdb_get_schema. Fixes the teammate-reported bug where annotations silently vanish. truncatedflag no longer a false positive on exact-fit resultscolumn_namelookups now case-insensitive (fixes 'OrderDate' vs 'orderdate' merge failures)
Safety
SELECT INTO OUTFILE/DUMPFILE/SELECT * INTO new_tablenow rejected by the static analyzer (closes MySQL filesystem-write bypass)db_searchno longer crashes on*or other unsupported FTS queries — returns[]- Tunnel script
TimeoutExpiredcaught and re-raised asRuntimeErrorwith helpful message - Knowledge SQLite files now
chmod 600on POSIX (was world-readable)
Tests: 176/176 pass (+30 new regression tests covering INTO bypass, FTS edge cases, FQN normalization, tunnel timeout, column case, file permissions).