Commit Graph
136 Commits
Author SHA1 Message Date
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
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
Cato 24d3fbad70 fix(packages): bootstrap canaries from workspace consumers (#215) 2026-10-26 04:34:00 +01:00
Cato abe0b45581 fix(packages): audit workspace aliases and importer rollouts (#214) 2026-10-26 04:25:39 +01:00
Cato 40bb3fe1c6 fix(packages): allow retired nested workspace importers (#213) 2026-10-26 04:10:19 +01:00
Cato 6dc96b1f5d fix(packages): require package-specific canary evidence (#212) 2026-10-26 03:55:48 +01:00
Cato 53334582e0 fix(rollouts): enforce deployed receipts in root and starter promotion (#210) 2026-10-26 00:53:03 +01:00
Cato 506198f9bd fix(packages): select the actual nested project toolchain (#206) 2026-10-25 19:15:25 +01:00
Cato 7c3c677cc7 fix(packages): reconcile preferred releases from complete locked project snapshots (#205) 2026-10-25 18:55:55 +01:00
Cato 8868691dd5 feat(rollout): verify live package release receipts (#203) 2026-10-25 14:36:51 +01:00
Cato 7f95c390d3 fix(registry): derive complete, verified package release targets (#202) 2026-10-25 14:06:07 +01:00
Cato 619e4a8042 test(auth): verify real consumer account journeys (#201) 2026-10-25 10:08:40 +01:00
Cato cdc3a95762 fix(packages): reconcile verified Git releases and validate canary bindings (#200) 2026-10-25 09:29:50 +01:00
Cato 9ba311e087 Gate app starter package rollouts on canary evidence (#199) 2026-10-25 08:37:20 +01:00
Cato 08f66c962e Hold shared workspace updates without importer-specific canary evidence (#194)
* Hold shared workspace updates that lack importer-specific rollout evidence

* Fail closed for standalone nested dependency updates too
2026-10-24 15:58:29 +02:00
Cato f78b02658f Stage shared package updates through tested consumer and canary deployments (#193)
* Gate shared dependency promotion on consumer checks and a deployed canary

* Import workflow evidence helper in regression tests

* Keep artifact publication separate from consumer deployment evidence
2026-10-24 15:47:12 +02:00
Cato 6d637c7f48 Make shared packages the default product foundation (#192)
* Make shared packages the default product foundation

* Support the fleet CI runner Node version
2026-10-24 14:59:48 +02:00
Catoandcatomean 2fbac8cce0 fix(registers): RevampIT is not a client; Kivvi is a product; business-facts check (#188)
Co-authored-by: catomean <catomean@users.noreply.github.com>
2026-10-21 20:31:05 +02:00
CatoandClaude bb795fac0e chore(org-drift): bitbaum/CLAUDE.md no longer needs an exemption (#185)
bitbaum#141 rewrote it against the register; the audit finds nothing in it.
The baseline falls by one.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 19:03:24 +02:00
CatoandClaude 78e10b3bd6 fix(auto-merge): a run's own write-back does not need a second verdict (#184)
A deploy that commits refreshed snapshots back to the base moves the tip with
a commit nothing judges (a GITHUB_TOKEN push triggers no workflow). The sweep
then saw an unjudged tip, dispatched CI, that run committed another snapshot,
and the next sweep saw a newer unjudged tip: on bitbaum/bitbaum 2026-10-19 a
snapshot commit and a redeploy every ~6 minutes, each differing only in
map.json's generatedAt, and a green repair PR that could never merge.

When every commit between a completed run's sha and the tip was authored by
github-actions[bot], that run's verdict is the tip's, and the reconciler
treats the tip as deployed. Any other author still needs its own verdict.
Three new cases; 71 pass.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 18:46:16 +02:00
CatoandClaude 0b36171859 chore(live-claims): baseline is empty — every live site says only what is true (#183)
All 18 live sites in Loki's map check clean: no retired host or name, no
forbidden claim, no stale copyright, no dead same-site link. The last finding
(orangecat.ch/ecosystem naming sink.orangecat.ch) was database content, fixed
by orangecat#1350/#1352 and Loki 0118; orangecat#1353 stops that page freezing
until the next deploy.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 15:55:20 +02:00
CatoandClaude 3d976c05f3 chore(docs-truth): baseline is empty — every repo's docs agree with its tree (#182)
After the cleanup PRs across the fleet, the sweep over all 60 repos finds
zero findings. With an empty baseline any new finding in any repo fails the
daily sweep, and the sweep's PR gate already blocks new ones.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:38:55 +02:00
CatoandClaude 498e0dd13e feat(repo-metadata): write a faulted description from the venture's own words (#181)
The reconciler fixed homepages but only reported descriptions, so
bitbaum/bitbaum kept calling itself an "AI-first product studio" behind
FleetCrown — a forbidden claim and a retired name — with nobody able to edit
it. A description that is missing, names a retired form or makes a forbidden
claim is now replaced by whole sentences of that venture's "what" in Loki's
fleet map, the text the studio site already shows, provided the replacement is
itself clean. A description nobody faulted is never touched.

Also: AGENTS.md said the audit runs on every fleet PR; it has been daily since
#179.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:17:56 +02:00
CatoandClaude 63c94f10f6 fix(docs-truth): templates and 'Next 30 days' are not claims (#180)
Found by the orangecat and evig cleanups: NNN_name.sql and providers/[name].ts
are templates in instructions, and a heading 'Immediate (Next 30 Days)' was read
as Next.js 30. A [slug] segment under app/ or pages/ is still a real path.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:04:42 +02:00
CatoandClaude Opus 5.5 9d2af89bdc feat(audits): hold every doc, page and repo page to what is true — and gate new drift in the sweep (#179)
* docs(agents): Loki is the execution plane, not engineering

The plane was renamed 2026-09-20 (orangecat src/config/ecosystem.ts
ECOSYSTEM_PILLARS); this sentence still carried the old label.

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

* feat(audits): hold every doc and every live page to what is true

Agents read README / CLAUDE.md / AGENTS.md / .claude/ before code and act on
them; visitors read pages rendered from components nobody greps. Both drifted
silently: one pass over nine repos on 2026-10-19 found a merge policy said to
live in a repo that no longer holds it, dozens of paths to deleted files,
scripts not in package.json, "Next 15 / TS 5.8 / Tailwind 3.3" in a repo on
16 / 6 / 4, and a retired host presented as production in forty files.

- docs-truth-audit.mjs: holds each repo's docs to its OWN tree — backticked
  paths, relative links, `pnpm run X`, stack majors vs package.json, retired
  names. Never judges prose; a line saying the thing is gone is history.
  Modes: --dir (working tree), --repo, --repo --pr (only what a PR adds),
  --sweep --check (every repo, ratcheted by docs-truth.baseline).
- auto-merge sweep: the docs gate. A PR that ADDS docs drift — including by
  deleting a file a doc still names — is held with one comment per head
  commit naming each line and the fix. Exit 2 (could not look) never holds a
  merge. The sweep is the one workflow every repo calls, so this needs no
  per-repo copy. DOCS_TRUTH=0 opts a repo out.
- live-claims-audit.mjs: fetches every live site in Loki's map (home + the
  pages it links first) and flags retired names/hosts, forbidden claims, a
  past copyright year and dead same-site links. Daily, ratcheted.
- repo-metadata-audit: a GitHub description may not carry a retired name or
  a forbidden claim.
- registers/org.json gains forbiddenClaims; org-drift-audit.sh reads it, so
  the document and served-page gates share one list.
- Workflows docs-truth.yml and live-claims.yml (daily); both test suites run
  per-PR in ci.yml. AGENTS.md states the four gates once; README lists them.

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

* feat(audits): fewer false positives, and homepages follow the register

docs-truth: a removal stated across a line break is history; `cd sub &&
pnpm run x` reads the sub-package; an example path (e.g. …) is not a claim;
a file that describes other repos by design (dotfiles' global CLAUDE.md)
opts its paths out with <!-- docs-truth: paths-elsewhere -->. All four came
from the first cleanup pass over the fleet.

repo-metadata: --fix writes a homepage the register already holds, and
repo-metadata.yml runs it daily with FLEET_PAT before the report — five
homepages were missing or wrong on 2026-10-19 and every fleet PR inherited
the red. Descriptions are prose and stay reported, never written.

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

* feat(docs-truth): a name kept on purpose is marked on its line

<!-- docs-truth: keep — why --> records a deliberate exception (a JWT issuer
that still carries a retired name because changing it signs everyone out)
instead of leaving it as drift the gate cannot tell apart from a mistake.

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

* fix(docs-truth): links in code spans are markup; /file links resolve under public/

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

* docs(templates): AGENTS.md pointer names the local docs check

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

* ci: judge live repo metadata on its own schedule, not per PR

The per-PR --check reads live GitHub state no PR can change; on 2026-10-19 it
was red on every fleet PR over five untouched repos, including the PR adding
the reconciler that repairs them. repo-metadata.yml (daily) fixes homepages
from the register, then reports; the unit test stays per-PR.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 14:01:23 +02:00
Cato 3942c8341c Record the retired evig staff-domain and Vercel claims. (#177)
A rename that is only remembered comes back in the next agent brief. These rows are what org-drift checks, and the sweep now also reads the auth doc the brief points at.
2026-10-14 07:29:05 -07:00
CatoandClaude 910212065c feat(auto-merge): routine Dependabot updates wait 30 minutes before merging (#175)
Loki lets each project's owner choose how package updates arrive and holds
'ask me' updates with a hold label from a 15-minute timer. The sweep wakes on
CI completion, so a lockfile bump whose CI finished first could merge before
Loki held it. A 30-minute grace (two Loki passes) closes that race;
DEPENDABOT_GRACE_MINUTES=0 turns it off.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 03:01:26 -07:00
CatoandClaude 126cf6d07d fix(inventory): fleet packages and root dist/ are not duplication (#174)
The ratchet counted chatkit's own Composer (src + committed dist) as four
chat composers and bip-kit's slug.ts as a slug helper, so extracting a
package read as more duplication. Fleet packages are now skipped the way the
app starter is, read from the derived register so a new package is excluded
the day it is registered; dist/ is excluded at the repo root too.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 02:25:39 -07:00
CatoandClaude Opus 5.5 92fc62db83 Duplication ratchet: date-utils stops counting *-updates.ts; a rise names its files (#173)
* fix(inventory): date-utils stops counting *-updates.ts; a rise names its files

The ratchet went red on 2026-10-14 with six concerns up and no way to tell
where. Two fixes:

- date-utils was unanchored, so with grep -i '(dates)\.ts' matched
  ballot-updates.ts, auto-updates.ts and useActivityUpdates.ts. Anchor it to
  a path segment.
- The baseline holds counts only, so a failure now prints every file the
  rising concern counts (repo: path).

Tests cover both.

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

* test(inventory): match patterns with a here-string, not a pipe into grep -q

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 02:15:25 -07:00
CatoandClaude 131bac3475 templates/app: the one starter every new product is created from (#165)
A complete, tested Next.js 16 app — next-intl (en/de/fr, localePrefix
"always", parity test, Swiss spelling), better-auth accounts on Drizzle + pg
(email+password with verification, magic link via mail-kit, passkeys, TOTP
2FA, the shared bitbaum sign-in and OrangeCat as env-gated OIDC with
client_secret_post + PKCE, roles in the app's own users table), nonce CSP with
strict-dynamic and connect-src 'self', limitkit on every auth path keyed on the
proxy's hop, secrets sealed with ai-kit seal, ai-kit complete() example route,
own-model settings, bip-kit roadmap/changelog, /api/health asserting the app
can read its own tables, and CI/deploy/live-check/CodeQL/gitleaks/audit
workflows.

scripts/templates/render-app.sh fills the placeholders;
scripts/templates/test-app-template.sh holds the render to the fleet's own
judges (version-currency gapsFor, verify-floor predicates, cicd-hygiene audit)
on every PR, and the new app-template CI job installs it, runs verify and
drives sign-up/sign-in against a real Postgres.

STACK.md records the owner's 2026-10-11 sign-in decision: every app owns its
accounts and offers every method; it supersedes the 2026-09-11 federate-only
rule. SHARED.md and README point new products at templates/app. The
duplication ratchet skips the starter itself (the one canonical copy).


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-11 12:49:22 -07:00
CatoandClaude Opus 5.5 5530931989 fix(sweep): re-run a base run marked failure in which no job failed (#162)
On orangecat (2026-10-07, 2 of 45 merges) GitHub never created CI's post-main
job: every real job was green, the run still concluded failure. The guard
refused every merge ('no failing job could be identified') and nothing re-ran
CI, so main sat un-deployed ~25 min until something unrelated did.

A failure with jobs listed and none failed is a non-verdict, like a failure
confined to 'Set up job': re-run it, bounded by MAX_RUN_ATTEMPTS. An empty
job list still is NOT treated as one (case 4: absence of evidence). The jq was
checked against the real stalled run (NO_FAILED_JOB), a real failure (its
steps) and an empty list (nothing). New case 2b, 61/61; mutation-proved.


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

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 07:32:08 -07:00
CatoandClaude Opus 5.5 02c1bd2c5c feat(sweep): Dependabot's routine updates merge on green, majors still wait (#161)
Every Dependabot PR was an "outside PR" needing a maintainer's approving
review, so none ever merged on its own: orangecat sat on 26 alerts (2
critical) whose fixes were waiting for a review nobody gives. The owner asked
for that toil to go away.

The review rule is about a stranger's CODE reaching production unread.
Dependabot writes no code, only version numbers, so it is trusted — narrowly
— when all hold:
  - the author is the bot itself (login dependabot[bot] AND type Bot);
  - only dependency manifests/lockfiles change (a workflow file runs with
    the repo's secrets, so Actions bumps still wait);
  - no update crosses a major (for 0.x, a minor), read from the
    "Bumps/Updates X from A to B" lines, grouped PRs included.
Majors, unreadable PRs and lookalike authors still need a person.
DEPENDABOT_AUTOMERGE=0 opts a repo out. pnpm's minimum release age remains
the guard against a too-new upstream release.

Harness: 8 new cases (60/60). Mutation-proved: dropping the major check fails
the 3 hold cases; trusting any author fails the lookalike case.


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

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 05:36:07 -07:00
CatoandClaude Opus 5.5 3e5b952b6c fix(sweep): look for the push-triggered CI run before re-arming (#159)
The re-arm guard checked once, seconds after the merge, before GitHub had
listed the run the PAT merge's push had already started. Finding nothing, it
dispatched a second run for the same commit, and the CI concurrency group
cancelled the first. On orangecat that was 28 of 45 merges (2026-10-02..07):
a cancelled run per merge, and the bare deploy reconcilers then found "no
green CI for the tip" and left a red CD run behind.

It now looks for up to REARM_WAIT_SECONDS (45) every REARM_POLL_SECONDS (5).
A GITHUB_TOKEN merge, which triggers nothing, is still re-armed — 45s later.
New harness case 19b: the run appears on the second look → no dispatch;
mutation-proved (looking once fails it). 52/52.


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

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 03:40:03 -07:00
CatoandClaude Opus 5.5 672b0e32c5 revert(auth): remove the OrangeCat-only sign-in gate — it enforced the wrong rule (#156)
fleet#139 shipped a daily check that treated every sign-in method other
than OrangeCat on our own products as a deviation, built from STACK.md's
2026-09-01 row. George's actual requirement (2026-10-02): every app offers
working sign-up and sign-in with email + password, Google, GitHub, X,
Facebook/Meta AND OrangeCat. The gate would have raised a Telegram alert
the moment an app ADDED Google or GitHub — fighting exactly what he wants.

Removed: the audit, its baseline, its self-test, both workflow steps, the
SHARED.md row. The origin audit in the same workflow is untouched and
its alert text is back to describing only itself.

STACK.md's auth row no longer claims enforcement and records the new
requirement as under revision; the mechanism (methods hosted once at
OrangeCat, or per app) is George's call and is being decided.

check-workflows: 26 workflows parse; origin self-test passes.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 09:04:05 -07:00
CatoandClaude Opus 5.5 792c2d2731 ci(auth): own products may only sign in via OrangeCat — enforced, not just written (#139)
STACK.md decided on 2026-09-01 that our own products federate to
OrangeCat and keep no users, passwords or reset flows. The rule lived in
prose, and prose does not stop drift. Measured 2026-09-24 from each
product's live /api/auth/providers:

  loki            OrangeCat + email-password, github, google, local,
                  user-password, x-1a  (seven ways in)
  datacat         + credentials
  evig            + credentials
  petvity         + credentials, google
  surf-your-life  + credentials, google
  solon, heidi, substrata   OrangeCat only

Each extra path is a second identity for the same person, a second reset
flow to secure, and a second place for a sign-out to miss.

own-product-signin-audit.mjs reads the same public endpoint the origin
audit already probes, so it judges what is DEPLOYED — no source parsing,
no secret, no quota. Who counts as ours comes from loki's /api/fleet/map
(owner = org, live, not a demo, not OrangeCat itself). The first draft
read apps.conf and could not see Loki at all: apps.conf omits the
handcrafted services, which is the same reason product-identity-audit
moved to the map. Client apps are never judged — their users belong to
the client, and STACK.md gives them their own auth.

Today's deviations are a RATCHET (own-product-signin.baseline):
- HELD rows print on every run, never read as a pass;
- a NEW provider fails even beside a baselined one;
- a baselined provider that is gone fails until its row is deleted;
- a row for something no longer an own product fails too.

Non-next-auth products SKIP and say this check cannot see them (today:
revamp-info, wild-spirit) — a stated blind spot, not a pass. A 5xx SKIPs
here because nextauth-origin-audit already fails it; paging twice for one
fault teaches people to ignore one of the two.

Runs daily as two steps in nextauth-origin.yml (if: !cancelled(), so a
red origin audit cannot hide it); its self-test also runs in ci.yml.
The Telegram alert text now names both findings.

Self-test: 17 checks, no network. Proved by mutation — tolerating every
extra provider turns three of them red. check-workflows.sh: 25 workflows
parse, 105 run blocks are shell.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 04:58:46 -07:00
CatoandClaude Opus 5.5 b34e61915b feat(ci): every npm-installed package must release from a tag (#153)
shared-registry-audit --check now fails when a registered package that
consumers install from npm has no .github/workflows/publish.yml. Five
packages were released from a laptop npm login; when it went (2026-09-26)
none could ship. Adds templates/ci/publish.yml (tag-driven OIDC Trusted
Publishing) and the README steps. 62/62 self-tests; live run found paykit,
since fixed (paykit#1).

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 13:22:28 -07:00
CatoandClaude Opus 5.5 272011b004 fix(auto-merge): an author with write access is not an outside PR (#151)
* fix(auto-merge): an author with write access is not an outside PR

A private repo on the Free plan gets no org secrets, so the sweep runs on the
default token, which cannot see PRIVATE org membership: the owner's own agent
read as CONTRIBUTOR and every agent PR was held for a maintainer review of
itself (bitbaum/farmhouse#2). Ask what the association stands in for: the
author's permission on the repo. admin/maintain/write = inside; bots,
strangers and an unreadable answer stay outside.

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

* fix(auto-merge): an author with write access is not an outside PR

A private repo on the Free plan gets no org secrets, so the sweep runs on the
default token, which cannot see PRIVATE org membership: the owner's own agent
read as CONTRIBUTOR and every agent PR was held for a maintainer review of
itself (bitbaum/farmhouse#2). Ask what the association stands in for: the
author's permission on the repo. admin/maintain/write = inside; bots,
strangers and an unreadable answer stay outside.

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 11:45:54 -07:00
CatoandClaude Opus 5.5 2c7ec422de fix(ci): render sweep survives a lost browser; baseline lowered to client sites only (#150)
* fix(ci): render sweep survives a lost browser instead of losing the whole run

Twice on 2026-09-26 one crashed renderer ("Target page, context or browser
has been closed") threw out of main() from ctx.newPage and discarded every
site already measured - no report at all. renderWithRecovery rebuilds the
context (and relaunches the browser if it disconnected) and retries the
page once; a second loss is recorded as unmeasured, never clean. Pinned
with a fake context in test-render-sweep.mjs and mutation-checked.

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

* chore(ci): lower render-sweep baseline - every own site at 0

Live sweep 2026-09-26 of all 13 own sites at 390/834/1440 after the fixes
deployed: rule3-small-target 0 on botsmann (was 18, botsmann#207),
datacat-web (21, datacat#274), evig (87, evig#510), heidi (12, heidi#139),
loki (24, loki#934), petvity (9, petvity#100), revamp-info (9, hirnli#124),
sbb-fundbuero (18, sbb-fundbuero#89), skif (1, skif#33), solon (16,
solon#193), surf-your-life (18, surf-your-life#82); evig fixed-overlap 3 -> 0
(cookie banner over the Hirn button, evig#510). Only client sites remain.

Co-Authored-By: Claude Opus 5.5 (1M context) <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 (1M context) <noreply@anthropic.com>
2026-09-26 00:50:50 -07:00
CatoandClaude Opus 5.5 b11dfab519 fix(ci): rule 7 spares a link clipped by an on-screen nav scroller; lower bitbaum + camille (#149)
* fix(ci): rule 7 spares a link clipped by an on-screen nav scroller; lower bitbaum + camille

MEASURE reported camille-boulangerie's sitekit masthead nav "95px off the
right edge" at 390: the link ran past the screen but was clipped by its own
overflow-x:auto nav, which ends at 378px. A swipe reaches it and nothing
paints past the edge - the exemption render-sweep's offscreen-control
already gives a carousel. It holds only while the scroller itself is on
screen, and never for overflow:hidden. Both sides pinned in
test-ui-defect-audit.mjs and mutation-checked (removing the exemption fails
the silent fixture; exempting every scroller fails the off-edge one).
What was real on camille - its third section painting as a lone "Ü" - is
fixed upstream in sitekit#25.

Baseline (live sweep 2026-09-26): bitbaum rule3 44 -> 0 (bitbaum#86),
camille-boulangerie rule7 3 -> 0.

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

* fix(ci): repo-metadata accepts any host a repo serves, not only its last row

aoz-begleitung serves two apps.conf rows since loki#922 (aoz-wohnen in
production, aoz-demo). parseRegister let the last row overwrite the first,
so the audit demanded the demo host as the product repo's homepage and
turned every fleet PR red. The first row is kept for the message; the
homepage may be any row's host. Pinned in test-repo-metadata-audit.mjs.

Co-Authored-By: Claude Opus 5.5 (1M context) <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 (1M context) <noreply@anthropic.com>
2026-09-25 23:48:55 -07:00