Skip to content

Docs for TrueQuery 0.1.6View as Markdown

Control the rules

Every rule can be switched on or off, moved between the per-edit and end-of-turn checks, or given a different severity: per project in DATA.md, or for yourself in ~/.config/truequery/config.yaml.

truequery rules                             # what's on, and where each setting came from
truequery rules sql/accidental-cross-join   # one rule: what it means, with a proof
truequery rules set sql/between-date-on-timestamp --enabled off

Agents never change rule settings: the skill forbids it, and if settings change during a session, the agent is told to check with you. An agent may only ignore a single line, and must give a reason (truequery ignore add <rule> <path:line> --reason "..."). Every rule earns its place on precision: one that misfires gets fixed or switched off by default.

Exit codes#

CodeMeaning
0Clean
1Findings at or above --fail-on (default error)
2A usage or config error
3Some files couldn't be checked. --allow-unverified turns this into 0