Files

35 KiB
Raw Permalink Blame History

For every agent

For the ecosystem map, visual second brain and cross-agent development handoff, start with the continuation record and the proposed experience. These point to the existing producers; they do not replace the registers or project profiles.

For multi-repository work, follow the repository completion procedure: keep one application active, close its declared scope with deployment and journey evidence, and report the exact remaining work if execution stops. A completed PR does not establish that the application's wider audit is complete.

Claude, Codex, Antigravity, Cursor, Grok, Loki, and anything else read this file. Do not keep a private copy of these facts. If a fact is not in a register, it is not true yet.

Documents go stale — check live, date every fact

  1. A document is a lead, not a fact. For anything that changes — server sizes and locations, IPs, which machine runs what, what is deployed, runner and merge state, where credentials live, model/provider limits — check the live source first (Hetzner console or API, DNS, /api/health, /api/system/*, the forge API, the running service) before deciding or telling the owner.
  2. Every changeable fact in a document carries when and how it was verified: (verified YYYY-MM-DD via <source>). A fact without that is unverified; say so if you rely on it.
  3. Older than 14 days without re-verification = stale. Re-verify before acting on it.
  4. When live and document disagree, the live source wins and you fix the document in the same change, with the new date. Never leave a known-wrong line in place; mark superseded text SUPERSEDED YYYY-MM-DD with what replaced it, or delete it.
  5. One place per fact. Do not copy facts between documents; link to the one that holds them. Copies are how drift starts.
  6. Every document starts with Last verified: YYYY-MM-DD (whole-document review date). Update it when you review the document, not when you merely touch it.
  7. When you tell the owner something taken from a document, name the document and its date.

How docs stay current

A fact has one producer. A doc may point at the producer. A doc may not restate the fact. To change what something is called, or where it lives, edit the producer. The copies are the bug.

A fact that stopped being true is a row in registers/retired.json. scripts/ci/org-drift-audit.sh fails when a public document still says it. Deleting the sentence without adding the row means the next session writes it back. Adding the row is the whole mechanism — do not special-case the sentence in a repo.

Four gates hold the rest, mechanically, so no doc or page has to be trusted:

What could go stale Gate When it bites
A doc names a path, link, script or stack major its own repo contradicts, or a retired name scripts/ci/docs-truth-audit.mjs in the auto-merge sweep, on the PR about to merge: a PR may not ADD a finding (deleting a file a doc still names counts); daily over every repo, ratcheted
A public document contradicts the org register scripts/ci/org-drift-audit.sh on org/retired register or checker changes, and daily
A served page carries a retired name, a forbidden claim, a past copyright year or a dead same-site link scripts/ci/live-claims-audit.mjs daily over every live site in Loki's map, ratcheted
A GitHub homepage or description disagrees with the registers scripts/ci/repo-metadata-audit.mjs daily (repo-metadata.yml): writes the homepage from Loki's apps.conf and a missing or faulted description from the fleet map's "what", then reports what is left

A finding is fixed by correcting the claim, or by saying on that line that the thing is gone ("removed", "retired", "there is no …") — a reader needs that sentence anyway. A dated file (*-2026-07-13-*.md), CHANGELOG.md, content/ and anything under archive/ describe their date, not today, and are not judged; a doc that has stopped being true and is worth keeping as history moves to an archive/ directory. Forbidden claims are forbiddenClaims in registers/org.json: one list, read by every gate above.

Each repo keeps a short AGENTS.md: the generated org-rules block (templates/agent-rules.md, copied between fleet:rules markers by scripts/packages/sync-agent-rules.mjs, a pull request per repo), then only facts that exist only in that repo (how to run it, where the tests are). CLAUDE.md is a pointer to AGENTS.md; no agent file gets its own essay of the org, and none imports a personal ~/.claude file. scripts/ci/agent-files-audit.mjs fails on a repo that starts without the shape and lists the ones still to fold.

Your context may be stale

Agent instruction files are read from the working tree, not from the remote. A checkout that has not pulled feeds you guidance frozen at whenever it last moved, and gives you no signal that this happened. Measured 2026-09-09: a session rediscovered a deploy-verification rule over a full day that had been committed five days earlier, and on the same day reported this file missing because the checkout sat on an older branch.

Before trusting instructions, and before reporting that a file does not exist:

git fetch -q && git log HEAD..origin/HEAD --oneline -- AGENTS.md CLAUDE.md .claude/

A working tree is evidence of one branch at one moment. origin is the fact.

What a local scan cannot see

grep in this shell is a function wrapping ugrep --ignore-files. It honours .gitignore. Measured 2026-09-12 in orangecat: grep -rl SUPABASE_SERVICE_ROLE_KEY found 1 file, command grep -rl found 18. Env files, build output and .claude/worktrees/ are invisible to the first. A sweep that must not miss anything uses command grep, git grep, or an explicit path.

A worktree is a subdirectory of the repo. A sweep that must not EDIT anything outside your branch uses git grep -l, which reads the index and so cannot reach another branch's checkout. find | xargs sed does not respect .gitignore and will rewrite files on branches nobody is working on: ten worktrees across four repos carried an uncommitted org rename for two weeks that way, on branches whose own work had stopped days earlier.

Audits already avoid this by reading default branches over the API rather than disk. A local sweep has to choose the same scope deliberately.

Memory is read from the session's working directory (~/.claude/projects/<slug>/memory/), so a lesson written in one repo is invisible from every other. A fleet-wide lesson written into a project silo is lost. That is the same bug as a private copy: put it where the readers are.

Where the code lives

Gitea is the primary git remote; GitHub is a mirror (decided 2026-11-17). Gitea, not Forgejo — that choice is settled, do not re-propose it.

  • Address: https://git.orangecat.ch, org bitbaum, every repo mirrored.

  • Box: its own Hetzner server gitea in Nürnberg, 188.245.155.231 (ssh root@). Never put git hosting on the Falkenstein app box bitbaum (167.233.22.31) — it is overloaded. A bitbaum-forge container there (/opt/bitbaum-forge) is a stale 2026-11-17 prototype, not the forge.

  • GitHub flagged the bitbaum org in 2026-11: it is invisible to search and anonymous visitors. Name a repo exactly and an authenticated client still reaches it. Gitea exists so that flag cannot stop work or deploys.

  • GitHub Actions has run nothing in bitbaum since 2026-11-15 ~19:52 UTC (dispatch returns HTTP 500). CI, the auto-merge sweep and every Deploy stopped with it. gh pr list (GraphQL) also returns empty for the org — read PRs over REST (gh api repos/bitbaum/<r>/pulls).

  • Deploys now run on Gitea Actions: bitbaum/forge-ops on Gitea, the ONLY repo there with Actions on (the 73 mirrors have it off, so their GitHub workflows never run on the forge). Its deploy reconciler runs every 10 min: any apps.conf app whose default branch is ahead of the box gets the repo's own verify, then loki's unchanged deploy.sh. Runner: gitea-runner (host mode, capacity 1) on the Nürnberg box. A commit that fails is not retried until a new one lands (~runner/failed/<app>). orangecat and loki deploy through their own pipelines and are not covered.

  • Merges run on Gitea too: forge-ops' merge bridge (:05/:25/:45) applies the auto-merge sweep's policy, runs the repo's verify on GitHub's merge ref, posts the forge/verify status and squash-merges one PR per repo per run. Branch protection on orangecat, loki, heidi and causius requires only forge/verify now; the previous checks are in forge-ops protection-backup.json — restore them if GitHub Actions comes back. A repo without a verify script (fleet, bitbaum) cannot be gated and is not merged.

A decision that lives only in a chat is lost to the next session. This one was lost twice before it was written here.

Producers

  • Serve (port, process, host): loki/scripts/hetzner/apps.conf. A hostname or a path in that file is not a display name.
  • Org facts (public name, unregistered, house address, host): registers/org.json.
  • Tools we develop with (agent names): registers/toolchain.json. The build stack (framework, ORM, package manager) is STACK.md.
  • Display name, kind, who the work is for, and what the product IS: a Loki project profile, published at loki.orangecat.ch/api/fleet/register (the platform join) and /api/fleet/map (the venture list). A page that disagrees with it is a bug. See "The identity contract" below before writing any of it down a second time.
  • Repeating behavior: one package, one job. A package does not store names or hosts. Do not merge kits to make a wiki.
  • Design: @bitbaum/design-tokens. A site is data rendered by sitekit.
  • What an ENTITY is, and which types exist: orangecat/src/config/entity-registry.ts. An entity is anything that can hold a wallet and is better for holding one — a test, not a list, so the list is open in principle and a new type earns its place by answering it. Every type there carries wallet: { holds, why }, and __tests__/unit/config/entity-admission.test.ts enforces it. The same entity sits on three planes: OrangeCat is its economy, Solon its governance (its decisions can be put to a signed vote), Loki its execution (it can be worked on, built and shipped). Do not restate the list anywhere: three copies of it lived in orangecat's own agent-read docs, and all three had drifted — one named organization, which has never been a type.

Names agents must share

  • Public name is Cato. Nothing here is registered.
  • AOZ is AOZ. Do not revive an older label. A deploy path is not the name.
  • hirnli is hirnli. A leftover slug in the serve file is not a second product.
  • The agent name is Antigravity. Do not write Gemini.
  • An orangecat.ch name is an address on the Hetzner box, not a product of OrangeCat.
  • GitHub Pages is not a host.
  • Nothing is Live. Everything is beta — OrangeCat included. live in apps.conf is a PROVISIONING fact: the process is served and Caddy has a vhost. It is not a release state, and rendering it as one is a claim nobody here can back. "Live" is reserved for something we would be comfortable releasing; today that is nothing, so the word appears on no public surface. This is the same column-misread as client-app two fields over, which is why that one is published as Pilot and Concept rather than "client". A product that is served says beta; one that is served and unfinished says so in full: "Beta — running, not released". "N products run today" is fine — that is a claim about processes, not about readiness.

The identity contract

Six things are true of every product we ship, and a reader must be able to find all six: problem, solution, mission, vision, roadmap, changelog.

They already have a producer. Do not invent a second one. A Loki project profile holds all six today: problem / solution / mission / vision are canonical keys in loki: src/config/project-attrs.ts, the roadmap is the goals table, the changelog is user_projects.dev_log. They are edited in the project's Context tab and injected into every dispatch, so the agent building a product and the page describing it read the same words — which is the entire reason to keep one copy.

So: a product site RENDERS these, it does not author them. A ROADMAP in a TypeScript literal is a copy, and it rots on schedule. Measured 2026-09-15: orangecat's public changelog carried 13 entries, newest dated 2026-07-31, while its main branch ran to PR #1039 on 2026-09-14. Loki's own /changelog is a redirect(). bip-kit exists to render exactly these from markdown and has eight adopters; seven of them use it for blogs only. aoz-begleitung is the one repo doing it right, and is the pattern to copy.

A profile is not a page — it is the same fact on three surfaces. A product has a Loki project (how it gets built), an OrangeCat profile (how it is funded and found) and a Solon organisation (how it is governed). All three are joined by repo slug and published at /api/fleet/register; the six themselves ride on /api/fleet/map, which is what the audit reads. Of the 17 projects that have shipped, on 2026-09-17: roadmap and changelog 0 missing (both were the worst fields two days earlier), a Solon organisation missing on 12, an OrangeCat profile on 9.

How the two remaining columns get filled. An OrangeCat profile is the per-project publish button in Loki. A Solon organisation is a HANDOFF, not a publish, and the difference is not a detail: founding one needs a signature from the owner's own Bitcoin wallet, which Loki never holds. From a project page, "Govern" opens solon.orangecat.ch/orgs/new pre-filled, carrying a short-lived grant Loki signs for that owner's OrangeCat identity. Solon records the organisation as governing the project only on that grant — never because the names match, because founding is open to anyone and otherwise whoever founds loki would appear here to govern Loki.

fleet: node scripts/ci/product-identity-audit.mjs          # report
fleet: node scripts/ci/product-identity-audit.mjs --check  # ratchet

The audit judges only mechanical claims — a field is empty, a profile is absent — never whether prose is good, for the reason repo-metadata-audit.mjs gives. It reports two things it deliberately does not count: generated experiments still in the register, and projects that are not live anywhere.

It reads the map, not the register, and that is load-bearing. The register takes status from apps.conf, which deliberately omits the handcrafted 4001-4004 services — so loki and orangecat, two of the three pillars, had no row and every rule skipped them while they served the public internet. The map resolves a project with a live URL and no hosting row as live.

Adding a field is one row in that audit's FIELDS table. Adding a seventh thing is a conversation, not a commit.

No dead ends

A gate records; it never blocks. Anything that stops a person shows the way forward on the same screen. This is a product rule for all three planes and it has one statement, here; a repo's agent file may name its own instances and must point here for the rule.

What it means, concretely:

  • A default carries its consequence, and one tap changes it. Solon's proposal form defaults to the cheapest category and states beside it what that commits the proposer to — electorate, bar, window — read from the table that binds them, never a paraphrase. Nobody is asked to choose before they can see what choosing means.
  • A skip lands where the old path landed. Loki's interview before a kickoff asks five questions; every one is skippable and "Skip the rest" produces exactly the build the one-click button used to. An improvement to the path is never a new condition on it.
  • An error state has a button, never a wall. If the interview's questions fail to load, "Skip to the build" is on the same card as the error.
  • Context that arrives in a link survives the detours. A link carrying ?from=orangecat&entity_type=…&title=… keeps that context through sign-in and through /join, and lands on a form that already names the thing the person came about. Measured 2026-09-20: OrangeCat's "Govern it with Solon" button had sent exactly that query to Solon's dashboard for months, and nothing on the far side read it — a person who pressed the right button arrived somewhere that had forgotten why.
  • A rule that exists is a rule that can be changed in one tap. When CI finds a change to Solon's constitution with no decision behind it, it does not fail the job; it warns in the PR with a pre-filled ratification proposal. A rules change without a decision is a fact the record must show, not a build failure, and nobody should be stuck in CI over a governance question.

The test for a new gate: after it fires, can the person still get to what they came for without leaving the screen, and does the record still say what happened? If either answer is no, it is not a gate — it is a dead end, and it is a bug.

One shape per kind

The owner's words, 2026-10-19 (Loki) and 2026-10-21 (OrangeCat's payment screens): "Frankenstein elements … not aligned, look different, asymmetrical, with labels that don't say anything … I spend too much time going through the pages and telling you the same stuff." This is that stuff, stated once. It is a product rule for every plane; a repo's agent file names its own instances and gates and points here for the rule.

Things of the same kind look the same, sit in the same place and are the same size. Everything on a screen is there because the person came for it.

  • Siblings share one frame. Tabs of one surface have the same title shape, the same one line under it, the same content width. Not an icon beside two titles and none beside the third.
  • Rows of one list have one anatomy. Name, the detail under it, one action on the right, the same size on every row. Adding is the last row, not a button somewhere else.
  • Actions that belong together are equal cells in one row. Two buttons → grid-cols-2. Never a wide one beside a narrow one.
  • A row of choices is one row. Pick one of a few → a segmented control. A few suggestions → an even grid. Many → one line that scrolls sideways. On/off settings → one per row, in a list. Never pills in a wrapping box: they break into "4 + 1 orphan" wherever the words run out.
  • One primary action per screen, and it is monochrome inside the app. The warm accent is for public, top-of-funnel surfaces only. A disabled accent button is a washed-out orange slab; a disabled monochrome one reads as "not yet".
  • Every label says what happens when it is tapped. A button is a verb. Text that looks like a button and is not ("Where this goes") is removed or made a button. "(optional)" is not a label: closed-until-wanted is a button that says "Add a note".
  • An icon promises the screen. A QR icon in the navigation opens on a QR. A camera icon opens a camera. If the screen cannot deliver what the icon says, change one of them.
  • Phone first. 390px wide with no sideways scroll, every target 44px, the committing action reachable without scrolling past what the person came for.

Consistency is these rules; beauty is the bitbaum-design skill that ships in @bitbaum/design-tokens (skills/bitbaum-design): pick one art direction before the code, and screenshot the result with its look.mjs (390px and 1440px, light and dark), score it against its rubric and fix the weakest row before anything below.

Before a screen ships, in this order, every time: look at it at 390px; put it beside its siblings and compare frame, button variant and row anatomy; read every label aloud; count the primary buttons (one); run the repo's design gates. Then ask the question the owner will ask — is any element here a Frankenstein element — and fix it before the PR, not after he says so.

Each repo keeps the gates that catch its own instances (OrangeCat: check:choice-rows, check:accent-ink, check:type-scale; Loki: scripts/test/choice-rows.ts, design:check). A rule with no gate behind it is a rule that gets re-explained.

The experience belongs to the package

The owner's words, 2026-11-06: "when I say develop some app and it creates a field where people are expected to enter something and the field doesn't have a microphone or an AI extension, and it creates a navigation, header or footer totally different from all the great things we have created … if it is using packages and the UI/UX looks different, for the users it is the same as not using packages. They are not getting the experience we determined to be great." He is right, and the measurement agrees: every product installs the shared packages, and the screens people touch are still built per app (scripts/ci/experience-audit.mjs, numbers in SHARED.md → "The experience standard").

A package ships the experience, not only the logic. Behaviour and the layout skeleton — what is on the screen, in what order, at what size, what a tap does, what happens when it fails — live in the package's component. The app owns what it is called, what it says, what its backend does and how it looks (colour, type, radius, through @bitbaum/design-tokens and the package's own --ck-* / --wk-* variables). Brand is a theme; behaviour is not one.

The standard, each line already built:

  1. Anywhere a person types words, there is a microphone (@bitbaum/chatkit: Composer for a conversation, DictationField for any other text box). Long text also offers "improve this" (the same field, onImprove).
  2. Writing an article is @bitbaum/writingkit/react: speak it, improve it, add a photo or a chart, preview, publish, and the page the reader gets.
  3. A conversation under anything is CommentThread (chatkit): oldest first, the same box with the mic, removable by its author.
  4. Header, menu, tab bar, footer and the row of actions on an item are sitekit. An app supplies destinations and labels, never the markup.
  5. A new product starts at zero: the app template's package-plan.json sets "experience": { "ceiling": {} }, and package-composition.yml fails a pull request that adds a bare text box, its own header, a composer, a comment list or an article editor of its own.

Extending the package is the work, not a detour. When a product needs something the component cannot do, add the slot or the prop to the package, with its test, release it, and consume the release — in the same session. Writing the local version "for now" is how the fleet got thirteen chats and, in November 2026, two article composers and two comment systems built in one week. If a file really must be the exception (a code editor where dictation would corrupt the text), its first line says so: // experience-exempt: <reason>; the reason is the review.

The measured state, what is done and the exact next step are in docs/experience-standard-plan.md. A session that picks this work up reads it first and updates it last.

Packages

Before implementation, make a package composition plan. Read SHARED.md and registers/product-building-blocks.json; inspect the relevant package APIs, then record each applicable block, its actual import/runtime binding, and any specific incompatibility in the product's package-plan.json. Do this without waiting for the owner to name packages. Installed-but-unused is not adoption. The starter already carries the plan and the shared composition CI check.

Shared UI is composed from the package's components and theme/slot contracts: sitekit for chrome and public entry blocks, accountkit for accounts, bip-kit for publishing, and design-tokens for the visual system. Keep product content, identity and domain-specific investigation/workflow code in the product. Extend an existing package when a shared block lacks a needed capability; consume the release rather than copying its implementation locally.

A shared improvement reaches consumers through a versioned release, dependency update PR, tests and redeployment. Keep that path configured. Do not promise that changing a package changes a running, locked deployment instantly.

Use a package when the same behavior must exist in more than one product: tokens, mail, threads, a model client, a list query. Do not put a company list in a package.

If a package already does it, use it. It is written and tested; writing it again is more code to keep and a second answer that drifts from the first. Discretion stays — where a package genuinely does not fit, do not force it — but not using it is the exception, so say why in one line where you chose otherwise. "It was quicker to write" is not a reason; "this list is five fixed options" is. Do not add auth, ai-kit, or bip-kit unless the page needs a signed-in user, a model, or a public changelog.

A page that types the portfolio is a copy. Generate it, or do not ship it.

Extract before the second copy. When a second product needs what another product built in-house (Solon's map of places and Substrata's globe are the case that set this rule, on 2026-10-30: two renderers of one geography), the work is to make it a package, or to extend the package closest to it, and adopt it in both. Building the second copy and extracting "later" is how the fleet got thirteen chats.

A gap is a task, not an answer

The owner should never have to read "not supported", "not available" or "missing" as the end of a piece of work. Each one is a task with a way through: another format or publisher, an official tool whose answers can be measured (the federal tax calculator taught Solon rounding no export states), a model extended to a case it could not express, a package extended. Do it in the same piece of work where it fits, and otherwise record the plan where the product's roadmap lives and say which step comes next. This does not lift "Nothing made up": a gap is closed with sourced data or left visibly open, never filled with a guess.

A search box uses @bitbaum/searchkit (SHARED.md) by default, per the rule above. A bare .includes(q) or ILIKE '%q%' loses a name to one wrong letter — the SoundCloud failure. Skip it where typing is not searching (an exact id, a postcode, a filter over a handful of fixed options) and say so. Fix matching and ranking in the package, not in an app, and keep its generated typo suite (typoCases + evaluate) in the app's tests.

Chats

Every chat is @bitbaum/chatkit; fix chat bugs there, never in an app. The checklist it enforces is SHARED.md → "Chat — the standard".

Authentication and accounts

@bitbaum/accountkit owns shared authentication behavior: registration, password login and recovery, verification, magic links, passkeys, TOTP, sessions, social/OIDC adapters, account linking, and shared screens/runtime. Fix a cross-product auth defect in accountkit, add the regression test there, release it through the verified package path, and update consumers. Do not repair shared auth by forking handlers, tables, mail flows or screens in an app. Products keep their own role and tenant policy, legacy identity mapping, provider configuration and domain-specific authorization; preserve those at the app adapter and prove parity before changing them.

One password rule, everywhere: a password is any non-empty string up to 128 characters (MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH, and passwordProblem() from @bitbaum/accountkit/auth/password, which is safe in browser and server code). Sign-up, reset, change and sign-in in every product use that and nothing else: no local minimum, no character classes, no strength meter, no hint text. A product that still has its own account code imports the rule from there; it never writes its own number. To change the rule, change accountkit and release.

The back office

Every product has one place where the people who run it see what needs them and act on it. Written 2026-11-30, after two products had built it apart: evig (/admin, about 230 pages and routes, staff flag plus section permissions) and heidi (/owner, three pages and links to JSON). Loki and OrangeCat have none. The owner's words that day: "it has to be scalable, reproducible, modular, useful, easy to use … we won't have to do double work."

Who gets in, and how. Four rules.

  1. Access is a role on the account, in the app's own users table (@bitbaum/accountkit/auth/roles: admin runs the product, staff works in it). Never an email domain: evig admitted @revamp-it.ch addresses and the organisation then changed its name. Never an address or an id in code or in an env file: evig still names its super admin in permissions.ts, and heidi asked its owner to edit /opt/heidi/shared/.env from a phone.
  2. The first admin is named when the product is deployed, by whoever deploys it, as the OrangeCat identity of the person it is for. A customer who builds with Loki signs in with OrangeCat and is the admin; they are never sent a setup step. Until Loki does this, a product may offer the fallback heidi has: one button that mails a signed, one-hour link to the configured owner address (heidi: lib/domain/owner/link.ts).
  3. Everybody after the first is invited from inside, on the People screen: a single-use link, a role, and the name of who invited them. An admin can remove anybody but themselves, and the last admin cannot be removed.
  4. The way in is in the product. A signed-in admin or staff member sees «Manage» in the account menu. Nobody finds the back office by being sent a URL. Everybody else gets 404 on its routes.

What is in it. One shape, in this order. A product adds screens of its own after these; it does not rename or reorder them.

Screen What it answers
Overview What needs me today, then the few numbers that say how it is going
Inbox What people sent: requests, feedback, reports. Each one can be answered or closed here
People Who can manage this product; invite and remove
Health Is it up, which version is live, does mail work, what the model allowance is, recent errors
Money What came in, which ways to pay are on, what is missing

Every row leads to an action («Every page leads to an action»): a number nobody can act on belongs on a chart page, not here. A screen is never a link to JSON.

Where the code lives. Roles and invitations in @bitbaum/accountkit. The frame, the five screens and their data contracts in one package (planned: @bitbaum/adminkit; not in registers/packages.json until it is released). heidi is the first adopter because it is small; evig adopts access and frame and keeps its own screens. Until the package exists a product builds these screens behind the same names, so the move is a change of import.

Repos you create

The fleet creates repos automatically now — Loki provisions one per project, and agents scaffold sites to test that path. Six appeared in two days in September 2026, none registered in apps.conf, and together they were 15 of the 26 gaps that were about to turn the version-currency ratchet red against a committed baseline of 0. Nothing was wrong with any single one of them. A ratchet does not die disputed, it dies drowned: a gate whose number is mostly noise gets muted, and every true finding inside it is muted with it.

Remove a throwaway experiment in the same session that created it, including its repository. Do not archive it or leave it private as a substitute for removal. Per-site teardown is loki: scripts/hetzner/retire-site.sh, which also owns the Caddy vhost and the apps.conf row. None of that is restated here.

What is here is the backstop, because that rule covers the session that creates a repo and nothing covers the session that dies, is interrupted, or forgets — which is how all six survived. So when you create a throwaway repo:

  • Mark it at birth with the GitHub topic fleet-ephemeral. On the repo, not in a list somebody has to remember to update — then a later sweep can find it without anyone having to recognise the name.
  • Say so in the description too, for the human who meets it first.
  • Do not give it a homepage, an apps.conf row, or a domain. If it becomes real, drop the topic; that is the promotion.

Marking is insurance against your own cleanup not happening. It costs one flag at creation and it is the only reason an abandoned experiment is findable later:

fleet: scripts/local/prune-ephemeral-repos.sh                 # list, read-only
fleet: scripts/local/prune-ephemeral-repos.sh --delete --yes  # the intended action
fleet: scripts/local/prune-ephemeral-repos.sh --mark <repo>   # backfill an existing one

The pruner refuses to touch anything that is not marked — "it is obviously a test repo" is the reasoning that eventually deletes something real.

Shared-package updates must pass the central staged rollout gate before merging, including owner/agent PRs: run node scripts/ci/package-rollout-gate.mjs owner/repo PR. Do not manually merge around a hold. See docs/package-rollouts.md for exact artifact evidence, observation, blocked versions and recovery. Fix the upstream package with a regression test and check the affected consumer journey.

For every pull request, the forge merge check is the merge authority (commit status forge/verify, run from bitbaum/forge-ops on Gitea since GitHub Actions stopped for the org on 2026-11-15). It verifies the PR on its merge result, refuses a PR that adds a timer, a merge sweep or a second check on push (say why with schedule-ok: <reason> in the PR description if a timer does real work), and squash-merges. Open the PR and leave it: do not merge by hand, by the merge API or by gh pr merge --auto. If the check reports a failure, fix the branch; if it cannot run, leave the PR open and record the blocker.

The rule it enforces, and the reason it exists: one check per change, before it merges; one deploy per merge; nothing wakes up on a timer to look around. The hourly auto-merge sweeps, wake chains and checks-run-twice took GitHub runs from ~100 to ~2,100 a day (Aug–Nov 2026) and are removed, not just disabled. Still to move into the merge check (they ran inside the sweep): the docs-truth, CI-freshness and package-rollout gates.