* feat(repos): declared renames; bitbaum/signin becomes bitbaum/morulia
The owner asked for the rename (2026-11-01). An agent session may not
write repo settings ("Repository settings writes are not permitted
through this proxy"), so the rename is declared like a creation:
- an app-repos declaration may carry `renamedFrom`; App repos renames
that repo when the declared name does not exist yet, and leaves it
alone after (GitHub redirects the old name, so the new name is asked
first)
- planAction and renameArgs are pure and tested: rename, nothing, or
create, and refusals for a renamedFrom that is not a slug or equals
the name
- registers/app-repos.json declares morulia, renamed from signin
- docs/morulia.md and STACK.md name the new repo; the host stays
signin.orangecat.ch until it moves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
* docs(identity): voting kinds are each organisation's rule; state-verified identity is optional
Owner decisions, 2026-11-01: Solon sets no platform-wide humans-only
rule, each organisation's constitution decides which kinds vote on what;
a keeper may attach a state-ID check to one identity, and organisations
may require it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
---------
Co-authored-by: Claude <noreply@anthropic.com>
6.9 KiB
Morulia: identity without a master number
Status: direction set by the owner, 2026-10-30 to 2026-11-01. Nothing in this file is built yet except where it says so.
What
Morulia is the fleet's identity system. It works like a passport office, with one difference: there is no single identity per being, and no number that follows anyone around.
- Anyone or anything can hold identities, as many as it wants. A person can live several full lives, as Pessoa wrote as dozens of complete heteronyms. An AI agent can hold identities, and so can a robot, an organisation or an animal.
- Each identity has its own name, face, languages, place and history, and it can act and transact under that name.
- Every identity has a keeper: the root that controls it, which is a person, an organisation or an agent. The keeper can stay private. An identity's kind (human, agent, robot, animal, organisation, other) is something it declares; Morulia does not verify it, and other parties decide what they accept.
- The name comes from the morula: one cell dividing into many, all from one origin.
What people see
- Signing in stays "Sign in with OrangeCat" for now. No Morulia button appears on any app yet.
- Morulia's own screens are where identities are managed: create one, give it a name and a face, choose which identities are shown as linked, see which apps each one has used, switch one off.
- Underneath, it is all Morulia: the code, the database and the engine.
Where it lives: one service
- Engine: the shared bitbaum sign-in (
STACK.md, "Identity"), repobitbaum/morulia(renamed frombitbaum/signin, whose address GitHub redirects), live atsignin.orangecat.ch. Identities hang off the root account that service already holds. There is no second account store, because that would give every person two roots: two recoveries and two sets of passkeys. - One repo holds the engine, the management screens and the database,
because both halves read and write the same records. Its host moves to
morulia.orangecat.chwhile no app points at the old one yet. - Apps keep owning their accounts, as
STACK.mdrequires. Morulia adds no further login provider.
Design rule: no master number
What makes a state number a tracking tool is one identifier, the same everywhere, shared by every system. Morulia never creates one.
- A different ID for every identity in every app. This is built: see Subjects. Two apps comparing records cannot tell they hold the same being.
- The root never leaves Morulia. The link between a keeper and its identities is not sent to any app, so there is nothing to collect or hand over.
- Prove a fact, not an identity. "This identity is an adult", "a human stands behind this agent", "these two identities share a keeper": each is shown to one party, revealing nothing else (verifiable credentials, zero-knowledge proofs).
- Keys held by the keeper. Long term, each identity is backed by keys on the keeper's own device, so Morulia itself cannot hand identities to anyone. An agent gets its own keys, limited to what its keeper allows.
- Collect almost nothing. No legal name, document scan or phone number is required. What is not stored cannot be demanded or leaked.
Subjects
The service derives a pairwise subject per app. As implemented in the
service's lib/subject.ts (bitbaum/morulia):
- root: HMAC-SHA256(secret,
<sector>.<userId>), wheresectoris the host of the app's first redirect URI. This is the value the plugin issues today, and a test pins it. - an identity: HMAC-SHA256(secret,
<sector>.<userId>|persona|<lifeId>). - "root" means no persona, or a persona equal to
userId. An identity id islife_<uuid>from a lives table; any other non-root persona is refused, so an identity can never fall back to the root subject.
Prerequisite for identities: better-auth's oauth-provider plugin computes
sub itself with no hook to replace it. Per-identity subjects need an
upstream hook or our own extension point.
Rules
| Who decides | What | Default |
|---|---|---|
| The keeper | Identities are shown as linked | On; can be switched off per identity |
| The keeper | Each identity's name, kind, place, languages | Free choice |
| The organisation (its Solon constitution) | Whether identities may join and vote; one vote per identity or per keeper; which kinds it accepts, and for which decisions; whether disclosed links or a state-verified identity are required | The organisation's choice |
- Identities are legitimate by default, from any country or from places that are not nation states (a municipality, an area, a network state, a DAO).
- Which kinds may vote, and on what, is each organisation's own rule, set in its Solon constitution. Solon sets no platform-wide rule: one organisation may let agents and robots vote on everything, another may keep some decisions to identities with a human keeper. Decided 2026-11-01.
- A state-verified identity is an option, never a requirement. A keeper may attach a check against a passport or a state number to one identity, if they choose. Organisations that only want to deal with such identities may require it; others will not. The check is a proof attached to that one identity (rule 3), so it does not link the keeper's other identities. Decided 2026-11-01.
- An identity never makes claims with legal consequences (tax residency, KYC, contracts, payment rails). Those come from the keeper's legal identity, which stays private unless the keeper shares it.
- An identity may pledge voluntary contributions to a place it is affiliated with. The place accepts or declines it through its own Solon constitution. The product says once that a pledge does not replace taxes owed. Pledges are non-custodial, like every payment in the fleet.
- A review, endorsement or backing that one identity gives to a sibling identity's project is always marked "same keeper", even when links are switched off. The mark names no other identity. EU and Swiss consumer law forbid undisclosed self-reviews, so the links switch cannot turn the mark off. Decided 2026-10-31.
Open
- The default identity settings a new Solon organisation starts with.
- Private arbitration in Solon: identities of any kind, an AI included, acting as arbiters that the parties choose.
- When Morulia appears on the sign-in button, if ever.
Build order
Each step ships on its own.
- The shared sign-in service: built and running. It signs nobody in until a provider (Google, GitHub…) is configured and an app is connected.
- Identities in the service: the "Sign in as…" picker, per-identity claims and subjects.
- Morulia's screens: identities, an identity's page, the root.
- A switcher in every app header, through
@bitbaum/accountkit. - Places and pledges, through Solon.
- Proofs, as in rule 3 above.
- Keeper-held keys, as in rule 4 above.