A kickoff writes the Loki widget token to .env.production; it is public by
design (data-fc-project in the HTML) and gitleaks' generic-api-key rule would
otherwise turn every seeded repo's secret scan red. Default rules stay on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
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).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
Every new project starts with a name, and the check was redone by hand each
time. RDAP from a runner, with a nonsense control name so a registry outage
cannot read as 'everything is taken'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EJFFkKhmaVnnH8E3mHnaZ
@bitbaum/deckkit lives in orangecat packages/deckkit (workspace package,
own repo + npm when a second app adopts it). Listed now so it is findable
before anyone builds a third deck engine: evig's decks copied ~450 lines of
engine into every deck and drifted. The registry audit skips listed
packages without their own repo, so the row is safe there.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The row now says how to replace an existing date input (change the TAG; or
delegate inside the app's own Input), names the codemod, the two traps found
adopting it in nine repos (element-selector styling, a newer pnpm rewriting
the lockfile), and what was deliberately not migrated.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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>
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>
New shared package (bitbaum/whenkit, v0.2.1), first adopter OrangeCat
bookings. Listed so the next date field installs it instead of writing a
sixteenth picker.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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>
The row still described v0.1.0 — the account menu, adopted by loki — so the
next agent asked to add OrangeCat sign-in would not find it here and would
write the tenth copy. Now: what ./orangecat holds, the failures each piece
came from, the styles.css trap, and the nine adopters.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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>
Built 2026-10-02 from loki AccountMenu + orangecat UserProfileDropdown.
Listed so the next product installs it instead of writing a third menu.
Adopted by loki (loki#1006); orangecat, solon, heidi, substrata next.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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>
Townsism, Deyville, Mightville, Dayville and Nightville are dropped, not
renamed. Recording them lets org-drift and hardcoded-values find any copy
that comes back. Changelog history is left as it is: .md is outside
hardcoded-values, root CHANGELOG.md is outside org-drift, and the bitbaum
map snapshot is already allowlisted as a cache.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
Every app that takes a reader's AI key now has one standard: ai-kit's closed
vendor list, probeByokKey (checked on paste, strongest model preselected),
sealed or browser-only storage, never a key returned, an empty field keeps the
key, own-model calls charged to nobody else, subscriptions never collected.
Reference: loki #921. Adoption table as of 2026-09-26.
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>
* 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>