X_QUERY_AUDIT_SINK_MISSING
Means
a query declares audit: true and no audit sink is installed
Typical cause
apps/<app>/runtime.ts names no auditSink; the read is refused before its input is parsed
Fix
auditSink: postgresAuditSink({ executor }) — in export const runtime = { … }, apps/<app>/runtime.ts