22 Commits
Author SHA1 Message Date
Catoandbitbaum-fleet 75f049d20b chore: add the fleet package template files this repo is missing (release-notify-tagged.yml) (#22)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `.github/workflows/release-notify-tagged.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-11-14 10:18:49 +01:00
dependabot[bot] fe547517ee chore(deps-dev): bump the dev group with 2 updates (#21)
Bumps the dev group with 2 updates: [eslint](https://github.com/eslint/eslint) and [globals](https://github.com/sindresorhus/globals).


Updates `eslint` from 10.13.0 to 10.14.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.13.0...v10.14.0)

Updates `globals` from 17.13.0 to 17.14.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.13.0...v17.14.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: globals
  dependency-version: 17.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-09 03:58:53 +01:00
Catoandbitbaum-fleet f64939c9ac docs(agents): the org rules block, generated from bitbaum/fleet (#20)
Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-11-06 09:50:50 +01:00
dependabot[bot] 3ed8c239b3 chore(deps-dev): bump the dev group with 2 updates (#19)
Bumps the dev group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@types/node` from 26.6.5 to 26.6.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `typescript-eslint` from 8.72.0 to 8.72.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: typescript-eslint
  dependency-version: 8.72.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 02:02:40 +01:00
CatoandClaude 2bda44c94f chore(deps): clear dev-toolchain audit findings inside existing ranges (#18)
pnpm audit critical/high (all deps):
  .: 0/2 -> 0/0


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 22:26:15 +01:00
Catoandbitbaum-fleet a5d9139e9c docs(agents): the org rules block, generated from bitbaum/fleet (#17)
Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-10-30 10:37:31 +01:00
bitbaum-fleet 08d1d29da1 release v0.2.2 v0.2.2 2026-10-28 06:47:30 +00:00
dependabot[bot] a525c99943 chore(deps-dev): bump the dev group with 5 updates (#16)
Bumps the dev group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.5.1` | `26.6.5` |
| [eslint](https://github.com/eslint/eslint) | `10.10.0` | `10.13.0` |
| [globals](https://github.com/sindresorhus/globals) | `17.12.0` | `17.13.0` |
| [prettier](https://github.com/prettier/prettier) | `3.9.6` | `3.9.10` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.70.0` | `8.72.0` |


Updates `@types/node` from 26.5.1 to 26.6.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.10.0 to 10.13.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.13.0)

Updates `globals` from 17.12.0 to 17.13.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.12.0...v17.13.0)

Updates `prettier` from 3.9.6 to 3.9.10
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.10)

Updates `typescript-eslint` from 8.70.0 to 8.72.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: eslint
  dependency-version: 10.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: globals
  dependency-version: 17.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: prettier
  dependency-version: 3.9.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: typescript-eslint
  dependency-version: 8.72.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-28 04:17:48 +01:00
Cato 44112c9ccb chore(deps): dependabot leaves TypeScript 7 alone until typescript-eslint supports it (#15) 2026-10-28 03:39:31 +01:00
Catoandbitbaum-fleet cc8655e18b docs(agents): the org rules block, generated from bitbaum/fleet (#14)
Co-authored-by: bitbaum-fleet <fleet@bitbaum.invalid>
2026-10-28 03:05:30 +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
Cato 124ff6e40a docs(readme): install from npm, the way the registry says (#12)
Problem: the README told a reader to install a Git tag or a raw commit (2 files changed, 21 insertions(+), 1 deletion(-)). The package is on npm and fleet's SHARED.md and registers/packages.json name npm as the install route; a Git pin hides the version and defeats semver updates. Change: the install line is the npm one. Nothing else in the README changed.
2026-10-28 02:40:35 +01:00
Cato aa6d0c160c docs: record verified release history and its evidence limits (#11) 2026-10-28 00:21:57 +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
Catoandbitbaum-fleet 8560d312d6 chore: add the fleet package template files this repo is missing (AGENTS.md, CLAUDE.md) (#9)
Files from bitbaum/fleet `templates/package` that this repository does not have yet:

- `AGENTS.md`
- `CLAUDE.md`

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 17:47:20 +01:00
Cato cca70801aa fix(release): ship compiled Git artifacts without consumer prepare builds (#8) v0.2.1 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>
v0.2.0
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 c519d389b9 feat(search): every word in any order, accents folded, best match first (v0.2.0) (#3)
v0.1 matched the whole query as one substring and sorted matches like
any other row. Three ways that failed people:
- word order: "bike sell" did not find "Sell my old bike";
- accents: "zurich" did not find "Zürich", "strasse" not "Straße";
- ranking: a title hit and a hit deep in a description sorted alike.

Now (src/search.ts):
- searchMatches: every folded word must appear in some field;
- normalise: NFKD, marks stripped, ß→ss, casefold, collapse spaces;
- searchScore: field position (most important first) × match quality
  (whole field > field start > word start > inside), plus a phrase bonus;
- applyQuery ranks by score while a search is active and the sort is the
  default; ties keep the default order; a chosen sort wins;
  `?sort=relevance` asks explicitly; `search.rank: false` opts out;
- searchTerms(q) so SQL builders AND one likeContains per word.

Filtering only widens (no previous match is lost), so this is a minor
bump. 9 new tests; verify green.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-03 03:40:02 -07: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
CatoandClaude Opus 5 f5f81047fa docs: link back to bitbaum, and to who uses this package (#1)
Claude-Session: https://claude.ai/code/session_01DzY8KuwgUM7u95GVTpRL2m

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 01:04:55 -07:00
CatoandClaude Opus 5 69cb4f4ef1 feat: listkit — a list as a query
Filtering, sorting, searching and paging are the same problem everywhere
and were solved separately everywhere. A survey of twelve repositories in
this fleet on 2026-09-11 found twelve incompatible filter-state shapes and
no two alike, ~34 hand-built URL builders, ~25 copies of "toggle a value
in a set" in two encodings, ~11 debounces at five different delays, ~11
copies of Math.ceil(total / pageSize) with three in one repo, and three of
the seven repos that need to escape a SQL LIKE pattern doing so.

Two of the toggle copies are character-for-character identical in repos
that share no code. One repo writes the same three-line body eight times
for eight facets plus eleven more for its boolean flags — about a hundred
and twenty lines expressing one idea. This is well past the rule of three.

Four live bugs were among the URL builders, and the codec here exists so
they cannot be written again: a preset that rebuilt the params from
scratch and wiped the reader's search; a date range that did not clear
page and stranded the reader past the end; a builder that preserved three
params by name so every later param had to be remembered in six template
strings; and a debounced box using push rather than replace, so the back
button walked through every spelling of the word.

What it ships is the decisions. Five facet kinds — one, many, flag, range,
ordinal — with the empty selection as the only sentinel, because one repo
used its translated label as the all-value and made filter identity depend
on the reader's language. A comparator that puts missing values last in
BOTH directions, since a record with no date is not the oldest record. Page
arithmetic that cannot produce a negative offset and gives an empty list
one page rather than "page 1 of 0". Facet counts computed with that
facet's own selection lifted, so an unselected option never reads as a
dead end.

What it deliberately does not ship is markup, tokens, React, a search
engine or an HTTP client. Nine token vocabularies and six chip treatments
were found among the same repos, several different on purpose. The fleet
has already run the experiment where a shared renderer owns the markup: it
reached two consumers of twenty and shipped the same two defects to both,
unfixable downstream. Centralize the rule; render it locally.

43 tests, importing the package by name so a broken exports map fails here
rather than at the first consumer's install.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Z7YRpgsEtNjRqr1usHMQY
v0.1.0
2026-09-11 17:17:16 +02:00