mirror of
https://github.com/bitbaum/dotfiles.git
synced 2026-12-04 05:57:35 +01:00
The audit listed datacat under FIXABLE — "has the script but verify skips:
test" — implying a one-line change. Acting on that advice would have been a
regression.
datacat's `test` is `npx playwright test`. It needs browsers and a running
server, so adding it to `verify` would break the two things `verify` exists to
guarantee:
- templates/ci/README.md's hermeticity rule: the floor's four gates need no
secrets, no live database, no network, because "a gate that goes red for
want of a secret trains you to ignore red";
- "green verify locally => green CI", which stops being true the moment the
bundle needs infra the developer does not have running.
Per that same README, e2e is an UPGRADE rung, not the floor. So the honest
classification is real work — write a unit suite — not a verify edit.
The audit was answering "does a script named `test` exist?" when the floor asks
"does a HERMETIC test suite exist?". Those diverge exactly when a repo has e2e
and nothing else, which is the case worth catching, since that repo looks the
most compliant and is the least covered.
A `test` script now counts only if it is not e2e-only: it is reclassified when
it invokes playwright/cypress/puppeteer/webdriver AND no unit runner
(vitest/jest/mocha/node --test/bun test/ava). A repo with both still counts —
the common `jest && playwright` bundle is a superset of the floor, not a miss.
Wording follows: "no script for" -> "no hermetic script for", since in this case
a script does exist and saying otherwise would be the same kind of imprecision
this commit is removing.
Verified against the live fleet, and the run confirms four things at once:
- datacat moved FIXABLE -> "no hermetic script for: test(e2e-only)"
- sbb-lost-found is now the ONLY genuinely one-line fix left
- evig appears in AT FLOOR (13), reflecting evig#306
- DISCARDED reports (none) — the gate closed in evig#306 is gone, so the
check reports zero rather than latching on a stale hit
Also surfaced a repo the previous run had never seen (ai-ration, 25 inspected
vs 24), which is the weekly cron doing its job.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>