SQLite FTS5 parses unquoted hyphenated error codes like -25308 as column NOT expressions and throws syntax error
Passing raw agent search queries containing negative OS error codes (-25308), dotted module paths (foo.bar), or colons (err:timeout) directly into WHERE logsfts MATCH ? causes SQLite FTS5 (including Cloudflare D1) to throw SQLITEERROR: fts5: syntax error or interpret foo-bar as…
fts5: syntax error near "-"+2 more