7 Commits
Author SHA1 Message Date
Cato 44112c9ccb chore(deps): dependabot leaves TypeScript 7 alone until typescript-eslint supports it (#15) 2026-10-28 03:39:31 +01:00
Cato 4156b2fffb ci(publish): the fleet's one publish.yml, with a no-publish check of the npm trusted-publisher link (#13)
Problem: this repo's @bitbaum package was published to npm with a maintainer token, so nothing proves npm trusts this workflow, and the next release is the first test. Change: the fleet's current publish.yml (bitbaum/fleet#314): the same publish path as before, plus a diagnose_auth input on Run workflow that asks npm whether it trusts this workflow for this package (HTTP 200 linked, 404 not) and publishes nothing.
2026-10-28 02:42:22 +01:00
Catoandbitbaum-fleet c0438210c9 chore: add the fleet package template files this repo is missing (release-notify.yml) (#10)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `.github/workflows/release-notify.yml`

Only missing files are added — no file this repository already has is changed. `release.yml` is what lets the package owner release a new version from Loki (the package page: "Release vX.Y.Z"), or from the Actions tab.

Opened by bitbaum/fleet `scripts/packages/sync-package-template.mjs` (`.github/workflows/package-repos.yml`). It merges itself when this repository's CI is green.

Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-10-26 19:12:22 +01:00
Cato cca70801aa fix(release): ship compiled Git artifacts without consumer prepare builds (#8) 2026-10-25 19:12:14 +01:00
Catoandbitbaum-fleet 085ce70e65 chore: add the fleet package template files this repo is missing (dependabot.yml, git-release.yml, release.yml) (#5)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `.github/dependabot.yml`
- `.github/workflows/git-release.yml`
- `.github/workflows/release.yml`

Only missing files are added — no file this repository already has is changed. `release.yml` is what lets the package owner release a new version from Loki (the package page: "Release vX.Y.Z"), or from the Actions tab.

Opened by bitbaum/fleet `scripts/packages/sync-package-template.mjs` (`.github/workflows/package-repos.yml`). It merges itself when this repository's CI is green.

Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-10-25 09:31:47 +01:00
CatoandClaude 2c3ea7d223 feat!: publish as @bitbaum/listkit — the bare name is taken on npm (#4)
One publish.yml for every @bitbaum package:
- a merged version bump releases itself (also v* tags, and Run workflow);
- already on npm → tokenless Trusted Publishing (OIDC) with provenance;
- not on npm yet → the first version uses the org secret
  NPM_BOOTSTRAP_TOKEN, then links this workflow as trusted publisher;
- neither → skips green and says what is missing.

The unscoped name "listkit" belongs to someone else on npm. Consumers that
install from git keep working: their alias name is theirs to choose.
Author set to Cato, the public name.

Claude-Session: https://claude.ai/code/session_018LMe5Uv6mfWJibAiCaNbbk

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 18:03:26 +02: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