oficina / home Public

Clone
git clone https://amadan.net/oficina/home

Plain git — no account needed to clone.

Download

Download this file

1-- team-members.md §5 (Paul, 2026-10-27): an owner-chosen display name per
2-- member, sealed at rest under directory.member-name/v1/<team id>/<person
3-- ref>, 1-64 bytes, never containing "@". Deleted with the membership row.
4-- Names never ride an assertion, call 8, a log line or an error string, so a
5-- name change does not touch memberships and does not bump the roster epoch.
6CREATE TABLE membership_names (
7 team_id INTEGER NOT NULL,
8 person_ref TEXT NOT NULL CHECK(length(person_ref) = 29 AND substr(person_ref,1,3) = 'pr_' AND substr(person_ref,4) NOT GLOB '*[^a-z2-7]*'),
9 sealed_name BLOB NOT NULL CHECK(typeof(sealed_name) = 'blob' AND length(sealed_name) BETWEEN 29 AND 92),
10 updated_at INTEGER NOT NULL CHECK(typeof(updated_at) = 'integer' AND updated_at > 0),
11 PRIMARY KEY(team_id, person_ref),
12 FOREIGN KEY(team_id, person_ref) REFERENCES memberships(team_id, person_ref) ON DELETE CASCADE
13);
14