docs(readme): a tabela de checks do README.en alcança o quinto gate

A tabela de checks obrigatórios do README.en.md listava quatro jobs. A
proteção da main tem cinco: o `imagens-ok` estava só no README.md — e a
própria linha acima da tabela, no arquivo em inglês, já o nomeia. A tabela
contradizia o parágrafo de cima dela.

A linha do `invariants` carregava "**618 invariants across 98 files**": número
que nenhum gate lê e que hoje erra por 2,6× (tests/invariants/ tem 254 arquivos).
O README.md não carrega contagem nenhuma nessa linha, de propósito — prosa com
número envelhece sozinha.

Verificação: sonda de paridade das duas tabelas (4 → 5 linhas, mesmos nomes na
mesma ordem) e `vitest run tests/unit/documentacao-aponta-para-o-que-existe.test.ts`
verde antes e depois.

Signed-off-by: hiro-nikaitou <vieteviete@proton.me>
This commit is contained in:
hiro-nikaitou
2026-09-23 05:18:24 -04:00
parent bbb2b8d3a2
commit e157e09f4d
+2 -1
View File
@@ -326,9 +326,10 @@ gh api repos/melgarafael/DeskcommCRM/branches/main/protection \
| Check | What it does |
|---|---|
| `verify` | typecheck + lint + `lint:channels` + `test:unit` + `test:shell` |
| `invariants` | boots a clean Postgres, applies `baseline.sql` in **install** mode (`ON_ERROR_STOP=1`) and then in **update** mode (proving idempotency), and runs **618 invariants across 98 files** — RBAC, assignment, scoping, routing, follow-up, webhooks and automations |
| `invariants` | boots a clean Postgres, applies `baseline.sql` in **install** mode (`ON_ERROR_STOP=1`) and then in **update** mode (proving idempotency), and runs the invariants for RBAC, assignment, scoping, routing, follow-up, webhooks and automations |
| `build-and-size` | `pnpm build` on Node 22 |
| `e2e` | boots a local Supabase, applies `baseline.sql` and runs through the frontend every Playwright spec except the ones `FORA_DO_CI` declares |
| `imagens-ok` | fails when any of the three Docker images (`app`, `worker`, `scheduler`) does not build — it is the artifact the self-hoster installs |
Which specs stay out is a question for a command, not for reading — this line used to claim the only one was `vps-fresh-onboarding`, and since PR #983 it runs in CI: