Files
dotfiles/scripts
GandClaude Opus 5 67fef1f076 ci: stop reporting "I could not look" as "it is not there" (#23)
The audit told the fleet that openclaw had no typecheck, no lint and no test.
All three were false, and the repo is comfortably ABOVE the floor:

  verify -> node scripts/verify.mjs -> `pnpm check` then `pnpm test`
  check.mjs has an explicit `typecheck` stage (tsgo:prod) and a `lint` stage,
  plus ~20 policy guards.

Two blind spots produced that, and the second is the serious one.

1. `tsgo` — the TypeScript-Go compiler — was not in the typecheck tool list, so
   a repo that typechecks with nothing else read as having no typecheck at all.
   Added.

2. When `verify` hands off to a script file, this audit cannot see the gates —
   and it cannot see their ABSENCE either. It was reporting the second as
   established fact. That is the same failure mode the fleet has been bitten by
   before: absence of evidence rendered as evidence of absence. There is now a
   `? OPAQUE` column: reported so it stays visible, never counted as a
   violation, because no violation was demonstrated.

Same class, different disguise: printcraft's verify is `npm --prefix app run
verify`, which leaves this package.json entirely. The audit could not follow it
and concluded verify skipped ALL THREE gates. It skips none — they live in
app/package.json. One level of sub-package delegation (`--prefix DIR` and
`cd DIR && npm run X`) is now followed by fetching that manifest, which turns a
confident wrong answer into the right one. printcraft moves FIXABLE -> AT FLOOR,
and the FIXABLE column is now empty.

Forks are no longer audited at all. openclaw is a fork of openclaw/openclaw and
was generating two findings, BOTH artefacts of measuring someone else's repo
with this fleet's ruler: "no typecheck" (it uses tsgo) and "CI never runs
verify" (its CI runs the gates on a remote testbox, just not through the
`verify` alias). A fleet-shaped `verify` added there would also conflict on
every upstream sync. Forks are LISTED with the reason rather than dropped —
a silently unaudited repo is precisely what this script exists to prevent.
Exactly one repo is affected today.

Net effect on the numbers: the three columns that accuse a repo of something
now contain only claims the audit can actually support.

  AT FLOOR   21 -> 22   (printcraft was never below it)
  FIXABLE     1 -> 0    (its only entry was a false positive)
  REAL WORK   4 -> 3    (openclaw was never one)

The three that remain — threadkit (no lint), prime-tower (no test), datacat
(test is e2e-only) — were checked by hand and are real.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-16 14:46:24 +00:00
..