675 Commits
Author SHA1 Message Date
CatoandClaude 839cf107ce feat(template, registry): languages through @bitbaum/langkit (#576)
SHARED.md gains the langkit row, STACK.md's i18n row names it beside
next-intl. The app template takes its language list (i18n/routing.ts, same
exports), English fallback (i18n/request.ts, lib/mail.ts), switcher
(components/LocaleSwitcher.tsx, inside sitekit's masthead) and message check
from langkit: i18n/parity.test.ts, a regex copy found in six apps, is
replaced by `pnpm run check:messages` (langkit check) in verify, which also
catches dropped <tags> and plurals without a needed form.

Template verify green here (lint, types, 55 tests, langkit check, build);
fleet verify green with VERIFY_SKIP_TEMPLATE=1.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 20:10:21 +01:00
CatoandClaude c263015d33 docs(agents): the back office — who gets in, how, and what is in it (#575)
Claude-Session: https://claude.ai/code/session_019MDtmtfseicWGK2CMC2U5r

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 07:13:24 +01:00
CatoandClaude b91715cc7b docs(agents): documents go stale — check live, date every fact (#574)
Owner's standing instruction (2026-11-23): stale documents keep misleading
agents. Every agent reads this file, so the rule lives here.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-26 14:14:22 +01:00
CatoandClaude Opus 5.5 51d3566cb1 feat(fleet): drift.sh — is the same commit on the laptop, GitHub, Gitea and the box? (#572)
Reads the state at every layer instead of a pipeline's record of it:
`git ls-remote` for GitHub, the forge branch API for Gitea, HEAD of each
primary checkout, and the commit the box SERVES (release symlink, .release,
newest releases/ entry, else /api/health `commit`).

Why now: on 2026-11-20 a manual pass found the dotfiles checkout 8 PRs behind,
9 checkouts up to 724 commits behind on long-landed branches, and evig serving
a release one PR old — while deploy-freshness-audit.mjs, which reads GitHub
Deploy RUNS, had been blind since Actions stopped on 2026-11-15.

Silent when clean. A layer it cannot read is UNMEASURED and printed, never
folded into fine or gone: its first real run called six healthy repos "gone"
because GitHub throttled a parallel burst, so only "not found" means gone,
and each read is retried once. 19 tests on real repos; five mutations each
turn the suite red.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:59:55 +01:00
CatoandClaude Opus 5.5 f2ada23b82 feat(ci): fleet gets a verify, so the forge merge check can merge it (#573)
GitHub Actions has been off for the org since 2026-11-15, and fleet's main
required two Actions jobs (`verify`, `app-template`) that never came — so no
fleet PR could merge. The forge merge bridge merges any repo that has a
`verify` script; fleet had none.

- package.json + an empty pnpm lockfile: `pnpm run verify` = scripts/ci/verify.sh,
  which runs every `run:` of ci.yml's `verify` and `app-template` jobs, read
  from the YAML — ci.yml stays the one definition. Runs all, exits on the verdict.
- main was RED behind the outage: #570 removed the sweep from the templates but
  three checks still required it. The merge path is now "has a `verify`" (what
  forge/verify runs), with a test that it bites; fleet's own-caller assertions
  became "fleet ships no sweep caller".
- templates/app: next 16.4.1 -> 16.4.6. Next's build refuses the vulnerable
  version, so every product created from the starter failed its first build.
- SWC 1.16 refuses a cache under a group-writable parent (~/.cache on the
  laptop runner): verify points it at the 0700 runtime dir.

verify: 57 passed, 0 failed (incl. the full template render/install/build).

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:55:06 +01:00
0c50dfdedd chore(deps): raise shared package floors to published versions (#560)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
Co-authored-by: Cato <cato@orangecat.ch>
2026-11-20 12:27:03 +01:00
Catoandcato b1cf5399a7 One password rule: starter on accountkit 0.9.0, org rule in AGENTS.md and SHARED.md (#316)
Co-authored-by: Cato <cato@orangecat.ch>
2026-11-20 12:19:04 +01:00
cbb39af5d1 docs(email): one address per app, hello@<host>, received by the box's mailgate (#189)
STACK.md's Email row and SHARED.md's mail-kit row now state the standard:
every app's public address is hello@<app host> (never a fleetcrown address
in front of a customer); loki-mailgate receives for every host in apps.conf
and posts the mail, signed with the fleet key MAIL_INBOUND_SECRET, to the
app's /api/mail/inbound; mail-kit 0.2 gives the app inboundHandler,
triageMail and Reply-To hello@ on everything it sends. The how-to lives once,
in bitbaum/loki mailgate/README.md; skif is the reference adopter.


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

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cato <cato@orangecat.ch>
2026-11-20 12:18:33 +01:00
CatoandClaude Opus 5.5 ccd55a4778 docs(concepts): from one sentence to a registered activity (#571)
* docs(concepts): from one sentence to a registered activity

The journey across OrangeCat (profile), Loki (presence) and Solon
(registration in any jurisdiction willing to register), the seams between
them, the gaps in build order, and the open calls: who controls a
jurisdiction's entity, and what residence still claims.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(concepts): record the claims, reputation and residence decisions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:56:08 +01:00
CatoandClaude 43fa1a4d6c rules: designed, not generated — point every repo at bitbaum-design (#568)
One org rule and one paragraph in the design section: before building or
restyling a screen, follow the bitbaum-design skill from
@bitbaum/design-tokens 1.8.0 and attach screenshots to visual PRs. Template
blocks regenerated; sync-agent-rules carries it to every repo.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 11:55:41 +01:00
Cato c30ba057de fix(ci): report reconciler pipeline failures (#567) 2026-11-20 11:55:14 +01:00
Cato 4410c050aa Document the workspace correction and GitHub delivery incident (#565)
* docs: record the connected workspace correction and acceptance

* docs: save verified workspace head and publishing blocker

* docs: investigate GitHub delivery stall and define Fleet recovery plan

* docs: prioritize account-status diagnosis after browser investigation
2026-11-20 11:54:46 +01:00
CatoandClaude ec3445c794 fix(canary-audit): a legacy unscoped entry counts its @bitbaum twin (#562)
ai-forms, bip-kit, limitkit and threadkit each have two policy entries while
consumers move to the @bitbaum scope. The canaries (kivvi, substrata) already
moved, so the audit reported 'does not declare this package' for the four
legacy names on every run since 2026-11-10 and Package canary contracts has been
red, and unread, since. For a legacy name whose scoped twin is configured, the
twin's declaration, plan block and import now count; a legacy name with no
configured twin is judged exactly as before.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 11:54:17 +01:00
CatoandClaude eccbc035f1 test(rollout-gate): read the git-spec package name from the register (#561)
dependencyIdentity resolves a github: spec to whatever registers/packages.json
says that repo publishes. The test restated it as the literal 'ai-forms'; after
the scope move the regenerated register says '@bitbaum/ai-forms', so verify
failed on every register refresh and fleet#513 has been held since 2026-11-10,
leaving agents reading chatkit 0.23.0 while npm serves 0.45.0.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 11:53:48 +01:00
Catoandfleet-bot 7eb5998493 chore(registers): refresh derived package registry (#513)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-20 11:53:20 +01:00
CatoandClaude Opus 5.5 e66f28565c chore(ci): one check per change — remove the sweep from templates and new repos (#570)
* chore(ci): one check per change — no sweep in templates or new repos, checks on PRs only

- templates: no auto-merge.yml (ci, app, package, app-repo); CI templates run
  on pull_request only; new app repos are seeded with a README instead of the
  sweep caller (test updated); package template no longer requires the caller.
- fleet's own auto-merge caller and Wake sweeps removed; its CI runs on PRs.
- AGENTS.md: the forge merge check (forge/verify) is the merge authority, with
  the rule it enforces and why; the gates still to move out of the sweep named.

Context: Aug–Nov 2026 GitHub runs went ~100 → ~2,100/day, mostly sweeps on
timers that found nothing; 96 workflows were disabled on 2026-11-19. This
removes the source so the pattern cannot come back with new repos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* chore(agent-rules): the forge merge check is the only merge path

The synced rule block every repo carries said the auto-merge sweep was the
only merge path; it now names forge/verify, matching AGENTS.md. Test updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:39:13 +01:00
CatoandClaude Opus 5.5 9ae541f622 docs(agents): Gitea on the Nuremberg box is the primary remote (#569)
* docs(agents): record Gitea on the Nuremberg box as the primary remote

Two sessions lost this decision because it lived only in chat, and a third
put Gitea on the overloaded Falkenstein app box. Name the box, the address,
the stale prototype to ignore, and that Forgejo is not an option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(agents): GitHub Actions is dead for the org; deploys run on Gitea

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(agents): merges run through the Gitea merge bridge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:39:05 +01:00
Catoandfleet-reconciler fdcb44f043 chore(deps): raise shared package floors to published versions (#559)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 19:14:37 +01:00
Catoandfleet-reconciler f29a637ea4 chore(deps): raise shared package floors to published versions (#558)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 18:22:23 +01:00
Cato 8995083298 docs: record the map deployment prerequisite and exact resume point (#557) 2026-11-15 17:31:11 +01:00
Catoandfleet-reconciler 3f84eafda0 chore(deps): raise shared package floors to published versions (#556)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 17:16:07 +01:00
Cato fc89aa931a docs: track Loki map PR and completed local gates (#555) 2026-11-15 16:47:57 +01:00
Cato 0d62881ffd docs: record the approved Loki map implementation and continuation (#554) 2026-11-15 16:42:03 +01:00
Catoandfleet-reconciler ffe160f29f chore(deps): raise shared package floors to published versions (#553)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 16:31:01 +01:00
Catoandfleet-reconciler 8597170f40 chore(deps): raise shared package floors to published versions (#552)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 14:58:12 +01:00
CatoandClaude f751ea3588 fix(currency): a declaration already at its target is skipped, not a failure (#551)
A release is now announced twice (CI, then the tag workflow), so two updater
runs can race: the first raises ^1.29 to ^1.30, the second finds ^1.30 where
it planned ^1.29 and threw "Stale declaration". ai-kit 1.30 on 2026-11-15:
six bump jobs red, every app already on ^1.30. A declaration already equal to
the target is now logged and skipped; any other change is still refused.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 14:09:55 +01:00
Catoandfleet-reconciler e36eaa1c72 chore(deps): raise shared package floors to published versions (#550)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 13:57:12 +01:00
Catoandfleet-bot b81b713033 chore(registers): refresh readings (#549)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-15 13:14:00 +01:00
Catoandfleet-reconciler a7ed7f39f5 chore(deps): raise shared package floors to published versions (#548)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 12:42:01 +01:00
Catoandfleet-reconciler c5dac33c69 chore(deps): raise shared package floors to published versions (#547)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 12:08:20 +01:00
Catoandfleet-bot 9963173b47 chore(registers): refresh origin proofs (#546)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-15 11:50:38 +01:00
Catoandfleet-reconciler 600e0d50a6 chore(deps): raise shared package floors to published versions (#545)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 04:02:42 +01:00
Catoandfleet-reconciler d66d8d350d chore(deps): raise shared package floors to published versions (#544)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-15 02:03:34 +01:00
Cato 471ca1822d Recommend Loki for the private working knowledge map (#543)
* docs: propose Loki as the working knowledge map host

* docs: keep the current handoff state unambiguous
2026-11-15 01:36:02 +01:00
Cato 7fffc15953 Document ecosystem relationships and cross-agent development continuity (#542)
* docs: map ecosystem knowledge and preserve cross-agent continuation

* docs: record published continuation entry

* docs: make the next continuation action explicit
2026-11-15 01:11:32 +01:00
Catoandfleet-reconciler b212a5181e chore(deps): raise shared package floors to published versions (#541)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-14 19:33:04 +01:00
Catoandfleet-reconciler 4bede3a2a8 chore(deps): raise shared package floors to published versions (#539)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-14 13:20:07 +01:00
Catoandfleet-bot 2c7f14fff0 chore(registers): refresh readings (#540)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-14 12:44:50 +01:00
Catoandfleet-reconciler f1a390a0db chore(deps): raise shared package floors to published versions (#538)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-14 11:34:25 +01:00
Catoandfleet-bot 2f5123cabf chore(registers): refresh origin proofs (#537)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-14 11:24:27 +01:00
Catoandfleet-reconciler 8540696536 chore(deps): raise shared package floors to published versions (#399)
Opened by bitbaum/fleet .github/workflows/internal-currency.yml.

The fleet's own packages ship features in MINORS, so
version-currency.mjs — which judges by major — reports nothing while
consumers drift. This is the instrument that sees it, and it opens
the fix rather than reporting it.

If this PR is red, that is the useful outcome: it names a repo that
cannot take the new version, which nothing else in the fleet would
have told us.

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-11-14 10:31:14 +01:00
CatoandClaude Opus 5.5 51196468ef fix(packages): releases reach the fleet once tagged; a merge of main no longer freezes a bump PR (#536)
* fix(packages): tell the fleet about a release once its tag exists

release-notify.yml asks on CI completion, but a version bump merged by pull
request is tagged by git-release.yml seconds later, so the notice found no tag
and stood down. Publish cannot repeat it (GITHUB_TOKEN runs chain no further).
ai-kit 1.26-1.28 reached consumers only on the six-hourly schedule. A new
template workflow, release-notify-tagged.yml, asks again when the tag workflow
completes; the template sync adds it to every package repo. Its step is
release-notify.yml's, held equal by the test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

* fix(currency): a merge of main into the bump branch is not a repair

Any non-bot commit on fleet/internal-currency counted as a person's repair,
so the updater preserved it and stopped refreshing the pull request. A plain
"Merge branch 'main'" commit carries nothing a fresh branch from main lacks;
once main moved on, evig#682 and solon#398 sat in conflict since 6-10 Nov and
both apps stayed behind. Such a merge (two parents, the default branch, the
merge subjects git and GitHub write) is now replaceable; any other merge or
commit is still preserved, and a branch with no bump commit is not the bot's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 10:15:38 +01:00
CatoandClaude 5086123de6 fix(currency): a branch that moved since the plan no longer stops its bump; the declaration is the lease (#535)
The updater plans once for every repository and bumps three at a time. The
bump step refused a repository whose main had moved at all since the plan.
A busy repository lost that race on every run: nine of thirty bumps failed
with 'Source changed since planning' on 2026-11-13, orangecat among them,
so it never received ai-kit 1.27 (the fleet usage log).

What must not have changed is the declaration being raised, and the step
already checks that line by line ('Stale declaration'). A moved branch is
now noted, not fatal; pnpm resolves against the tree as it is.

preferred-package-update.test.mjs: a stale declaration is still refused; a
moved branch with the planned declaration is bumped.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 22:04:13 +01:00
Catoandfleet-bot 4688022643 chore(registers): refresh readings (#534)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-13 13:36:15 +01:00
CatoandClaude ea87c3cff1 fix(currency): a consumer that installs a package from npm stays on npm (#533)
When a package's verified Git release was newer than its npm release, the
updater rewrote an npm range to github:<repo>#<sha>. For bip-kit that
window was open on 2026-11-13 (Git 0.7.1, npm 0.6.1): pnpm refused to build
the Git artifact (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED) and the whole bump
failed for eight repositories, so none of their other packages moved either
(among them ai-kit 1.27, the fleet usage log).

releasedPackage now carries npmVersion beside a Git target. A consumer on an
npm range takes the newest npm version, or waits for the publish; a package
with no npm release is still adopted from Git, and a consumer already on Git
still advances along Git.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 13:06:10 +01:00
Catoandfleet-bot 33cd1985b8 chore(registers): refresh origin proofs (#532)
Co-authored-by: fleet-bot <noreply@bitbaum.invalid>
2026-11-13 12:02:54 +01:00
CatoandClaude fdd7b6ad19 ci: report a package released on GitHub but not on npm, with the fix (#531)
bip-kit 0.7.0 and 0.7.1 were tagged while npm served 0.6.1 for three days:
npm Trusted Publishing did not trust the workflow (ENEEDAUTH) and the only
trace was a red run in bip-kit's own Actions tab. It stalled Solon's and
OrangeCat's cross-posting behind the rollout gate.

npm-publish-lag-audit.mjs compares every registered npm package's version on
main with npm's latest; after a two-hour grace it opens (or updates) one
fleet issue naming the npm Trusted Publisher link and every value to enter,
and closes it when npm catches up. Runs every three hours; the pure
judgement has a self-test, also run in CI.

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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 11:57:45 +01:00
CatoandClaude 253f8bfd2b fix(currency): over the cap, a run bumps the head of the queue instead of nothing (#530)
The internal-package updater refused the whole plan when it was over 30
repositories. On 2026-11-09 the queue reached 32; every run since has
failed with 'Refusing 32 repository updates', nothing was bumped for four
days, and the queue could only grow. Eight apps were still on an ai-kit
with Google in the free chain on 2026-11-13, a day after the fix was
published, and were bumped by hand.

capPlan takes the first MAX_PRS of the canary-first plan and names what
waits for the next run. One run still never opens more than the cap.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 11:02:21 +01:00
CatoandClaude b4d818bd48 fix(rollout-gate): measure a canary at the commit it has live, not its branch tip (#529)
The gate asks whether a canary runs a package version and passed its checks.
It measured the canary's branch tip and required that exact commit to be
deployed. OrangeCat's live receipt names its workspace packages by commit
tarball, so it matched only while the tip itself was live; its main moves
every few minutes against a fifteen-minute deploy, so the window rarely
opened, and anything canaried there (paykit, writingkit) was held: paykit
0.3.0 held bitbaum/loki#1652 through every sweep of 2026-11-12/13 while
OrangeCat ran it.

deployedCanaryCommit picks the commit of the newest successful deploy run;
the receipt must still match it (commit, lockfile hash, artifacts) and its
checks must be green. With no successful deploy on record the tip is
measured, as before. The four copies of the canary read are one function.

Run against bitbaum/loki#1652 on live data: before, exit 1 (receipt does
not match); after, exit 0.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 06:57:37 +01:00
CatoandClaude 46aaba39d2 ci: a commit's runs are read to the last page, so a long-lived tip keeps its CI (#528)
actions/runs?head_sha= answers 100 runs a page, and three scripts read
only the first. A tip that stays the tip collects a sweep dispatch every
quarter hour on the same commit, so after about a day its own CI falls to
page two. On 2026-11-12 kivvi's e64eaec carried 129 runs, its green ci.yml
and browser-smoke.yml at positions 124 and 125, and the package rollout
gate held every @bitbaum/limitkit consumer (solon #569) behind 'wait for
bitbaum/kivvi to deploy this artifact and pass CI/browser checks' on a
canary that had deployed, matched its receipt and passed both.

- runs-for-sha.mjs: everyRunForSha reads every page, newest first, and
  throws past ten pages instead of answering from a cut list.
- The rollout gate, the Git package currency check and the deploy
  freshness audit read through it.
- runs-for-sha.test.mjs: the kivvi shape (127 newer dispatches) counts the
  buried green runs; a run created mid-read neither hides nor invents one.

Checked against live data: the gate on solon #569 exits 1 with the message
above before this change and 0 after it.

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

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:32:36 +01:00