4 min read · For developers running Claude Code and other coding agents
npx thumbgate rule-audit, an opt-in, report-only pass over your learned rules.From SubQ's API docs (linked below):
subq-savant-1.4, in preview, on OpenAI-compatible Chat Completions and Responses endpoints at https://api.subq.ai/v1.400.SubQ's launch email also claims 20x lower cost than Sonnet, a first token in 45 seconds at 4M tokens, and 84.5% on AA-LCR. Those are SubQ's own figures; we did not reproduce them.
A long-context agent can hold a whole codebase and a long history of tool output. That makes it better at knowing what it should not do. It does not make it unable to do it. A model that read your rule "never force-push main" four million tokens ago can still emit a force-push to main. ThumbGate's gates run in the PreToolUse hook, outside the model, and match the actual command before it runs. That stays true however big the context gets.
Where a long context does help is the other direction: reading every rule at once. Rules grow one thumbs-down at a time, and nobody re-reads the whole set. Two rules can contradict each other, a regex can drift so it never matches, and three lessons can say the same thing.
We sent ThumbGate's gate configs, gate engine, hooks and lesson code to Savant in one request: 113 files, 472,015 prompt tokens. It accepted the whole thing in a single call. Here is what happened on launch day, measured from our side:
high effort, Savant spent all 32,000 output tokens we allowed on reasoning and returned no answer, after about 10 minutes. That cost about 6 cents. SubQ's docs say to keep max_tokens above 16,000; for a big audit, leave it unset.low effort, ran 5 to 15 minutes and several ended with the connection closed before an answer. A two-line request answered in 2 seconds. This was launch day, so treat it as a snapshot, not a benchmark.So we built the auditor and kept it out of the gate path. npx thumbgate rule-audit collects the rules your project has learned (auto-promoted gates, claim rules, prevention rules and, unless you opt out, lessons), redacts secrets and personal data, and asks a long-context model for rules that conflict, can never fire, or duplicate each other. It prints findings and changes nothing.
npx thumbgate init.npx thumbgate rule-audit.SUBQ_API_KEY, or THUMBGATE_AUDIT_BASE_URL, THUMBGATE_AUDIT_API_KEY and THUMBGATE_AUDIT_MODEL for any OpenAI-compatible endpoint, then run npx thumbgate rule-audit --send.--send. Lines are secret- and PII-redacted first; --no-lessons keeps lesson text local.ThumbGate is an independent project and is not affiliated with or endorsed by Subquadratic.
Pre-action gates built from your own thumbs-down, checked before every tool call.