Commit Graph
185 Commits
Author SHA1 Message Date
Cato 996795ba33 fix(org-drift): a baselined finding that was fixed in another repo no longer fails this one
A baselined violation that disappears from a live repo failed every fleet run until a baseline line was deleted (fleet #221-#224 went red on 2026-10-26 when five files in other repos improved). It is now reported and does not fail; a new violation still fails. test-org-drift-audit.sh: 63 passed, 0 failed.
2026-10-28 02:45:53 +01:00
Cato 736e2d9e13 fix(agents): blank lines around the markers so prettier-checked repos accept the block 2026-10-28 02:40:55 +01:00
Cato 53eee511ce feat(agents): one org-rules block in every repo's AGENTS.md, generated here, with an audit that fails a repo that starts without it
Problem: the org rules were restated by hand in CLAUDE.md essays (aoz-begleitung 1,850 lines), AGENTS.md intros and three differently worded starter templates; the starter said accounts are the app's own above a rule saying accountkit owns them. Nothing checked any of it, and 18 agent files import a personal ~/.claude file.

Change: templates/agent-rules.md is the only place the rules are written. sync-agent-rules.mjs opens one pull request per code repo putting it between fleet:rules markers (and a CLAUDE.md pointer where there is no CLAUDE.md; an existing CLAUDE.md is never rewritten). agent-files-audit.mjs fails on a finding not in agent-files.baseline; a baselined finding that has been fixed, or a block that is merely out of date, never fails it (the org-drift ratchet went red twice on 26 Oct because a file in another repo improved). All three templates carry the block and a test pins that. Own workflow, so a finding in another repo cannot hold this repo's merges.

Validation: 27 + 4 + 3 self-tests pass; the audit read 46 repositories and found 77 findings, all baselined; docs-truth-audit reports the same result on solon, petvity, aoz-begleitung and skif with and without the block.
2026-10-28 02:37:32 +01:00
Cato acd88d46e5 fix(rollout): verify actual browser jobs in combined consumer CI (#308)
* fix(rollout): verify browser jobs inside combined consumer CI

* refactor(rollout): keep existing formatting outside new evidence checks

* style(policy): keep the existing register layout

* test(rollout): model exact GitHub run identities in CLI fixtures
2026-10-28 00:14:44 +01:00
Cato 74f42f1ce5 ci: wake the merge sweeps when a canary deploys, and on the box's 15-minute tick (#306)
The shared-package rollout gate clears when a canary deploys and passes its checks, but nothing woke the held PR's sweep: it waited for the next CI completion in its own repo or for a per-repo hourly cron GitHub does not honour. sweep-wake.mjs dispatches each repo's own auto-merge.yml where a green dependency PR is open; sweep-wake.yml is the reusable entry for canaries and deploy-reconciler.yml runs it on the box timer tick.
2026-10-27 23:51:35 +01:00
Cato 6295eecab6 fix(receipts): attest verified local packages by owning commit (#302) 2026-10-27 23:25:07 +01:00
Cato 875f30d089 fix(ci): preserve mirror ownership and restore Fleet sweep writes (#294)
* fix(ci): update governed starter mirrors through their owner

* fix(ci): supply Fleet sweep write identity
2026-10-27 17:18:27 +00:00
Cato 5da9886a52 fix(ci): attest nested lock roots and verify live release receipts (#293)
* feat(ci): verify live receipts against staged releases

* fix(ci): resolve nested receipt importers against their lock root
2026-10-27 18:05:41 +01:00
Cato 110bf923b3 fix(packages): fail closed on repository lookup errors (#288) 2026-10-27 12:11:17 +00:00
Catoandgithub-actions[bot] 6efb8328d1 fix(packages): reconcile repository auto-merge settings (#286)
* fix(packages): reconcile repository auto-merge settings

* fix(packages): align head-branch cleanup settings

* fix(ci): trigger checks when refreshing PR branches

* fix(packages): report only missing repo settings

* ci: schedule org-wide drift audit

* docs: clarify package merge settings

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-27 12:07:33 +00:00
Cato 382738ac16 fix(ci): format generated package workspace config (#283) 2026-10-27 11:24:01 +00:00
Cato 00215923f3 fix(ci): reduce shared GitHub API pressure (#282)
* fix(ci): isolate auto-merge API quota

* fix(ci): preserve drift audit read diagnostics

* fix(ci): cut package census API fanout

* fix(ci): retain organization audit read errors
2026-10-27 11:16:21 +00:00
Cato 07f28a6e71 fix: admit automatic shared inventory checks (#281) 2026-10-27 10:52:57 +00:00
Cato c41da960e9 fix: re-arm package updates and inventory (#280)
* fix: admit automatic currency reconciliation events

* fix: re-arm package inventory after registry merges
2026-10-27 10:39:18 +00:00
Cato 0724f24429 fix: make shared GitHub reads resilient (#279)
* fix: keep cross-repo package scans resilient

* fix: retry transient read-only GitHub failures

* fix: reduce org drift audit API fanout

* fix: expose bounded drift audit read errors
2026-10-27 10:14:52 +00:00
Cato e84c077bd6 fix: use the studio actual verification workflow for package candidates (#275) 2026-10-27 09:32:58 +00:00
Cato ebd0e2fa4b fix: isolate canary evidence by workspace importer (#274) 2026-10-27 09:20:26 +00:00
Cato f673e33554 Fail closed on unavailable organization drift evidence (#272)
* chore: retire resolved AOZ documentation drift exception

* fix: fail closed on unavailable organization drift evidence

* fix: retain local no-checkout skips and bound transient audit retries
2026-10-27 08:58:47 +00:00
Cato c78d6bdf53 fix: share scoped generated PR writer with studio snapshot publication (#270) 2026-10-27 08:53:57 +00:00
Cato cfea2a2971 fix: plan representative package updates before ordinary consumers (#269) 2026-10-27 08:17:07 +00:00
Cato 487ecf6a1d fix: enforce Fleet checks after verifying generated PR writers (#268) 2026-10-27 08:09:50 +00:00
Cato c130999eb5 Allow successive verified releases into designated canaries (#264)
* fix: admit each verified canary release without a historical PR lock

* fix: retain initial binding audit context across later releases
2026-10-27 07:53:38 +00:00
Cato 02f5071ac4 fix: create generated PRs through permitted GitHub CLI path (#263) 2026-10-27 05:09:23 +00:00
Cato 9b104f0422 fix: route generated Fleet updates through normal pull request gates (#262) 2026-10-27 05:00:52 +00:00
Cato 0ac79869d5 Enforce verified Causius and Heidi checks through maintenance policy (#261)
* fix: enforce verified app checks through maintenance policy

* test: inspect app protection prerequisites with maintenance identity
2026-10-27 04:54:33 +00:00
Cato 3dc21a48b8 fix(registry): recover concurrent refreshes without losing publication (#258)
* fix(registry): recompute after concurrent main changes and recover dispatches

* test(registry): refuse to reset tracked checkout changes
2026-10-27 03:51:53 +00:00
CatoandClaude 48282a108b fix(rollout): no 24-hour wait while canaries have no traffic (#251)
The staged rollout held every product a day behind BiasLens for each
shared-package release. With almost no users on the canary that day
observes nothing: it only delays Heidi and Solon (owner, 2026-10-26:
'I don't know if it makes sense if we have like zero users'). soakHours
is now 0. The order stays: the canary deploys the exact artifact first
and must pass CI and browser checks before anyone else takes it. The
hold message drops 'soak for 0h', and docs/package-rollouts.md says when
to raise it again.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-26 20:41:39 +00:00
Cato 18ad6f39b1 fix(test): authenticate product browser through its actual sign-in route (#250) 2026-10-26 18:34:29 +00:00
Cato fd6693a4aa feat(rollout): verify distinct chat layouts in authenticated app canaries (#249) 2026-10-26 18:23:13 +00:00
Cato 7ac3e6deb5 fix(releases): refresh registry and consumers after verified releases (#247) 2026-10-26 18:07:18 +00:00
Cato 2073805859 fix(sync): update template PRs without organization queries (#245) 2026-10-26 16:44:25 +00:00
Cato a70e7618b9 fix(packages): block obsolete auth release and derive install guidance (#243)
* fix(rollout): block obsolete AccountKit downgrade artifact

* fix(docs): derive all kit install guidance from release registry
2026-10-26 15:54:08 +00:00
Cato 9b131cfe26 fix(scaffolding): include shared ownership guidance in package repos (#242) 2026-10-26 10:52:02 +00:00
Cato ac30b5641f docs(agents): define shared auth ownership (#241)
* docs(agents): define shared auth ownership

* test(docs): detect stale auth package install commands

* docs(agents): prohibit merge policy bypasses
2026-10-26 10:47:24 +00:00
Cato 88be04b2a5 feat(packages): require declared feature surfaces (#240) 2026-10-26 11:17:36 +01:00
Cato 912857993d fix(automation): rearm currency after registry merges (#239) 2026-10-26 10:41:41 +01:00
Cato 59bacbe37a fix: reconcile same-version Git artifacts by commit (#233) 2026-10-26 07:28:17 +00:00
Cato 0b39a2e029 fix: require canary receipt coverage for workspace importers (#232) 2026-10-26 07:19:25 +00:00
Cato 7221d5ae5e fix: attest nested workspace packages in release receipts (#231)
* fix: attest workspace packages in canary receipts

* fix: validate receipt importer paths before reading
2026-10-26 07:11:39 +00:00
Cato ada9f3c4c4 feat: register PayKit rollout canary (#230) 2026-10-26 06:40:09 +00:00
Cato 8d49b35749 chore(ci): retain live historical org exceptions (#229) 2026-10-26 06:04:14 +00:00
Cato d64faa75c0 chore(ci): clear retired org drift baseline entries (#228) 2026-10-26 06:57:23 +01:00
Cato 05275b98e6 fix(ci): keep routine audits off the owner API quota (#227)
* fix(ci): fetch public business facts without API quota

* fix(ci): use repository token for local auto-merge
2026-10-26 06:48:25 +01:00
Catoandfleet-reconciler 1b00b16379 feat(template): include current shared ChatKit adapter (#198)
* Include shared chatkit in new app starters

* Format shared chat starter component

* chore(deps): raise shared package floors to published versions

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.

* test(template): select an available Chromium runtime

* style(template): format ChatKit release policy

---------

Co-authored-by: fleet-reconciler <fleet@bitbaum.invalid>
2026-10-26 06:45:24 +01:00
Cato b8cf8ed7f3 docs(shared): review current duplication baseline (#226) 2026-10-26 06:34:28 +01:00
Cato ab5bd883e0 fix(packages): verify aliased and re-exported bindings (#221)
* fix(packages): verify aliased and re-exported bindings

* fix(packages): ignore workspace metadata for browser proof
2026-10-26 05:27:53 +01:00
Cato d572e36556 fix(packages): bind canary bootstrap to its PR (#220) 2026-10-26 05:20:10 +01:00
Cato bb7526de9f fix(packages): scope browser proof to changed app code (#218)
* chore(packages): rerun rollout evidence checks

* fix(packages): scope browser proof to changed app code
2026-10-26 05:08:03 +01:00
Cato ad87b3db44 fix(packages): validate workspace release receipts (#217)
* fix(packages): validate workspace release receipts

* chore(packages): rerun rollout evidence checks
2026-10-26 05:01:52 +01:00
Cato e58aa700b5 fix(packages): assess standalone nested lockfiles (#216) 2026-10-26 04:57:04 +01:00