2 Commits
Author SHA1 Message Date
Cato cca70801aa fix(release): ship compiled Git artifacts without consumer prepare builds (#8) 2026-10-25 19:12:14 +01:00
CatoandClaude Opus 5 84728cc7a6 feat(ci): listkit had a complete verify and nothing to run it (#2)
* feat(ci): listkit had a complete verify and nothing to run it

The repo shipped its entire first commit with `format:check && lint &&
typecheck && build && test`, 43 passing tests — and no .github directory
at all. fleet's floor audit reported it as "CI never runs verify", which
understated the case: there was nothing to run anything. Every push and
every PR landed ungated.

A shared package is the worst place in the fleet for that hole. A break
here does not stay here; it reaches every adopter at their next install,
and the first signal is their build, not ours.

ci.yml is the golden floor from fleet templates/ci/ci-pnpm.yml with two
deliberate departures, both noted in the file:

  - no .next/cache step — this is a library, not a Next app;
  - no separate Build step. The template carries one because `verify` is
    usually lint+typecheck+test and the shipped artifact is otherwise
    never compiled. Here `verify` already ends in `build`, so a second
    step would compile the package twice per run for no extra coverage —
    the same defect as a deploy re-running CI's bundle, which the hygiene
    audit keeps at zero.

auto-merge.yml calls the reusable sweep rather than copying it (22 copies
once drifted into 8 versions). No deploy_workflow: listkit is a package
with no box to reconcile against, and naming a workflow the repo does not
have is precisely the `automerge-miswired` finding.

Proven the gate can go red rather than asserted. `verify` first caught
this commit's own unformatted YAML. Then, by mutation: dropping the
Math.max(1, …) clamp on the requested page turned test 34 — "a nonsense
page or size can never produce a negative slice" — red, and restoring it
returned 43/43. Baseline green, mutant red, restored green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(ci): pnpm version is pinned in package.json, not twice

pnpm/action-setup@v4 hard-errors when a `version:` input sits alongside
package.json `packageManager` — "Multiple versions of pnpm specified" —
and kills the run in 5 seconds before a step executes.

The fleet template carried that input while all seven pnpm repos checked
had quietly dropped it, so the golden floor could not be copied into any
repo that pins packageManager, which is all of them. Copying it verbatim
here is what surfaced it; fleet's template is corrected in the same pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 06:25:39 -07:00