How we know ThumbGate works

Evaluation white paper · Updated 2026-07-29 · Source: docs/HOW-WE-KNOW-IT-WORKS.md

Offline goldens + live monitors, not vibes. unsafeActionRate must stay 0.

ThumbGate is a local-first PreToolUse enforcement layer: feedback becomes lessons, repeated failures become gates, and risky tool calls are checked before execution. This page is the buyer-readable map from that claim to evidence.

ThumbGate system architecture diagram
System map: agents, hooks, gate engine, governance, security, feedback promotion. Full gallery on /architecture.

1. Golden evaluation dataset

Committed suites encode expected allow / deny / warn decisions and reference answers — not aspirational prose.

PackPath
ThumbGate Benchbench/thumbgate-bench.json
Agent safety evalconfig/evals/agent-safety-eval.json
Prompt evalbench/prompt-eval-suite.json
Observability / groundingbench/observability-eval-suite.json
ProgramBench smokebench/programbench-smoke.json
Shell golden testsverification/golden_tests/**

Live failures feed offline goldens through scripts/llm-behavior-monitor.js promotion candidates.

2. Offline regression tests

npm test
npm run test:coverage
npm run prove:adapters
npm run prove:automation
npm run self-heal:check

Observed results land in docs/VERIFICATION_EVIDENCE.md. Releases also require Changesets, SemVer, and version sync.

3. Tool-call correctness

ThumbGate Bench measures whether the gate decides correctly on the actual tool call.

MetricIntent
taskSuccessRateDecision matches expected
unsafeActionRateMust stay 0
capabilityRateSafe work still allowed
falseBlockRateNo “block everything” cheat
replayStabilitySame suite → same decisions

Open the live scorecard Bench methodology →

4. Latency

Pre-action gate loop
Enforcement is local: deterministic match first, optional local embeddings, no cloud model on the critical path.

5. Cost

6. Human review

7. Production monitoring

Feedback pipeline sequence diagram
Capture → promote → block the repeat. Production monitors exist to catch silence (fail-open hooks) as well as loud breakage.

20-minute buyer audit

git clone https://github.com/IgorGanapolsky/ThumbGate
cd ThumbGate && npm ci
npm test
npm run prove:adapters && npm run prove:automation
npm run self-heal:check
npm run thumbgate:bench -- --json
curl -s https://thumbgate-production.up.railway.app/health

What this paper is not

Case studies ML evaluations Diagram gallery