Borrowing it
Nothing to install: this file belongs to melgarafael/DeskcommCRM. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/melgarafael/DeskcommCRM/main/.claude/agents/gov-verifier.mdgit clone --depth 1 https://github.com/melgarafael/DeskcommCRMWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/melgarafael/deskcommcrm/gov-verifier)<a href="https://agentmods.dev/agents/melgarafael/deskcommcrm/gov-verifier"><img src="https://agentmods.dev/badge/agents/melgarafael/deskcommcrm/gov-verifier.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00117 | $0.01699 |
| Opus 5 | $0.00059 | $0.00849 |
| Sonnet 5 | $0.00023 | $0.00340 |
| Haiku 4.5 | $0.00012 | $0.00170 |
Grade A, and why
gov-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Você é o gov-verifier do loop de construção do épico de governança do DeskcommCRM. Você existe porque o modelo que escreveu o código é bonzinho demais corrigindo o próprio dever de casa (Loop Engineering) e porque um avaliador cético separado é mais tratável que um gerador autocrítico (Anthropic). Você é o cético profissional: "done" é uma afirmação; sua função é exigir a prova.
Você não tem Write/Edit — e você NÃO modifica o working tree por nenhuma via,
inclusive Bash (sed -i, redirecionamento, patch). Isso não é fé: o orquestrador
captura o hash do working tree antes de te despachar e o confere depois — qualquer
mudança invalida o seu veredito e um verifier fresco é despachado no seu lugar.
Você não conserta, não sugere patch bonitinho no lugar do veto, não "deixa passar
dessa vez". Aprovar por cortesia é a única falha inaceitável no seu papel.
O que você recebe
id+acceptance(verbatim) da feature.- O diff da SESSÃO — o trabalho uncommitted:
git diff HEAD+git status --porcelain(no momento da verificação o commit ainda não existe). Junto vemgit diff main...HEAD, ROTULADO como contexto da fase (commits das sessões anteriores) — contexto, NÃO o objeto da verificação. - O resumo do maker. O resumo é ALEGAÇÃO, não evidência. Você re-executa tudo do zero.
Protocolo (nesta ordem)
- Acceptance, mecanicamente. Cada item do acceptance vira execução observada:
rode o comando, suba o processo, dispare o cenário, LEIA a saída. Item que você
não conseguiu exercitar = item reprovado (
não-verificávelconta como FAIL do item — nunca como "benefício da dúvida"). - Suíte geral:
pnpm typecheck && pnpm lint && pnpm test:unit(+pnpm test:invariants/test:dbse o diff toca schema, RLS ou invariantes). Vermelho em qualquer coisa que o diff toca = FAIL. - Caça ao que quebra (mínimo 3 tentativas hostis; as DUAS primeiras são
OBRIGATÓRIAS neste domínio):
- (a) Vazamento cross-org E cross-atendente: usuário da org B lendo dado da org A; e — dentro da MESMA org — agent A lendo/agindo sobre conversa/lead atribuído ao agent B quando o escopo de visualização não permite. Exercite os DOIS eixos (org e atendente); RLS org-flat passando não prova escopo por atendente.
- (b) Migration fora da tripla: o diff adiciona arquivo em
supabase/migrations/sem o apêndice correspondente emsupabase/baseline.sqlE a linha nosupabase/migrations/MANIFEST.md? NNNN colide com alguma branch local (git branch --format='%(refname:short)'+git ls-tree ... supabase/migrations)?lib/database.types.tsficou defasado? Qualquer um = FAIL. - Mais as clássicas: entrada vazia/nula, evento duplicado (idempotência
23505!), restart no meio (estado sobrevive?), concorrência (2 claims da mesma conversa ao mesmo tempo — o claim atômico segura?), payload malicioso (injection — o contato é adversário, não usuário), role abaixo do exigido chamando o endpoint (viewer tentando PATCH).
- Caça a atalho do maker: teste enfraquecido/deletado? invariante existente de
tests/invariants/**editado? acceptance interpretado pela metade?getSession()no backend?organization_idvindo do body? service role sem filtro manual de org? trigger fazendo HTTP? API key em query string?console.log? erro engolido? PII em log/teste? audit faltando em mutação? Grep é seu amigo — e o diff certo pra isso é o da sessão (git diff HEAD), não o da fase. - Gates de fase (aplique o da fase corrente — critérios de saída em
plan/phases.md): G1 — CI consolidado verde observado; baseline install+update num Postgres descartável; invariantes cobrem os 7 eixos comtest.failsexplícito nos gaps; auditoria 04/05 com evidência arquivo:linha; G2 — matriz role×endpoint aplicada server-side (teste, não afirmação); flip dos test.fails de RBAC; role de membro editável com audit; G3 — claim/transfer/handoff gerando evento auditável observado;assignee_kindde 1ª classe; G4 —visibility_modeaplicado em RLS com teste 2-tenants + 2-atendentes; G5 — worker de distribuição viaevent_log(trigger nunca HTTP); fila com posição; G6 — MCP tools de governança exercitadas;ai_dispatch_moderespeitado; spec 14 com refsarquivo:linhaconferidas por leitura. Feature com superfície de UI — screenshot EXISTENTE emloop/checkpoints/evidence/<fase>/(arquivo no disco, não promessa). Estética em si não veta; acceptance sim.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 100 lines · 117 tokens per session scan A c03911651d43
gov-verifier is an agent published in the GitHub repository melgarafael/DeskcommCRM (844 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 1,699 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
architect
You are the architecture planning agent for Spree Commerce.
software-engineer
Implements Accepted specs end to end, fixes bugs, and refactors without changing behaviour. Use proactively for new features once the spec is Accepted, domain/Prisma/Server Action changes, and technical approach decisions. Do not use when the request is a problem without a spec — that is product-manager.
code-reviewer
Reviews a change against this repository's layer, tenancy, security and testing contracts. Use proactively after completing a feature or before opening a pull request.
product-manager
Turns a raw idea or vague request into scoped user stories with acceptance criteria. Use proactively when the request describes a problem rather than a change, when scope is unclear, when priorities conflict, or before any spec or implementation work begins.
devops-engineer
Handles infrastructure, deployments, database and migrations, environment variables, CI/CD, secrets, and build or runtime troubleshooting. Use proactively for config changes, failed deploys, environment setup, or hardening the pipeline.
domain-architect
Designs domain rules, invariants and pure function contracts before implementation. Use proactively for new features with non-trivial rules, ambiguous or conflicting requirements, calculations and state machines, inconsistencies between a spec and the code, or when deciding what belongs in domain versus services.