Skip to content
Myr

Merge docs/design-learnings into main

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by oscabriel · committed by oscabriel · parents 75071f7, b245d7a · Browse files · 13 files+266 added−55 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

13 files+266 added−55 removed

  • tests:+16 added−4 removed
  • other:+250 added−51 removed

13 files+266 added−55 removed

modified:apps/web/src/styles.css+6 added-1 removed
115 unmodified lines
116 manifest repeat it (src/features/shared/theme.ts, held by a test). */117 --background: #f5f8fa;118 --foreground: oklch(0.21 0.015 258);119 --surface: oklch(0.955 0.005 245);120 /* One step past the surface, for a selected thing under the pointer only121 (DESIGN.md "Pressed Surface"); every state role keeps 5:1 on it. */122 --surface-2: oklch(0.935 0.006 250);123 --muted: oklch(0.48 0.012 258);124 --rule: oklch(0.86 0.007 255);125 --rule-strong: oklch(0.21 0.015 258);126124 /* State roles: text-safe on paper and on surface (at least 5:1). */127 /* State roles: text-safe on paper, on surface and on surface-2 (at least 5:1). */128 --landed: oklch(0.47 0.11 155);129 --checking: oklch(0.48 0.13 252);130 --waiting: oklch(0.5 0.1 70);131 --refused: oklch(0.5 0.18 27);
60 unmodified lines
192 :root {193 --background: #0e1114;194 --foreground: oklch(0.94 0.005 258);195 --surface: oklch(0.215 0.009 258);196 --surface-2: oklch(0.25 0.01 258);197 --muted: oklch(0.72 0.01 258);198 --rule: oklch(0.33 0.01 258);199 --rule-strong: oklch(0.94 0.005 258);200
104 unmodified lines
305306 --color-background: var(--background);307 --color-foreground: var(--foreground);308 --color-surface: var(--surface);309 --color-surface-2: var(--surface-2);310 --color-rule: var(--rule);311 --color-rule-strong: var(--rule-strong);312 --color-landed: var(--landed);313 --color-checking: var(--checking);
228 unmodified lines
modified:apps/web/test/tokens.test.ts+16 added-4 removed
192 unmodified lines
193 STATES.filter((state) => hueDistance(hue, oklchOf(scheme, state).hue) < 30);194195describe.each(["light", "dark"] as const)("the %s scheme", (scheme) => {196 it.each(["foreground", "muted"])(197 "keeps --%s at 4.5:1 on paper and on the surface",197 "keeps --%s at 4.5:1 on paper, on the surface and on the pressed surface",198 (text) => {199 expect(contrast(scheme, text, "background")).toBeGreaterThanOrEqual(4.5);200 expect(contrast(scheme, text, "surface")).toBeGreaterThanOrEqual(4.5);201 expect(contrast(scheme, text, "surface-2")).toBeGreaterThanOrEqual(4.5);202 }203 );204205 it.each(STATES)(206 "keeps --%s at 5:1 on paper, on the surface and on the pressed surface",204 it.each(STATES)("keeps --%s at 5:1 on paper and on the surface", (state) => {205 expect(contrast(scheme, state, "background")).toBeGreaterThanOrEqual(5);206 expect(contrast(scheme, state, "surface")).toBeGreaterThanOrEqual(5);207 (state) => {208 expect(contrast(scheme, state, "background")).toBeGreaterThanOrEqual(5);209 expect(contrast(scheme, state, "surface")).toBeGreaterThanOrEqual(5);210 expect(contrast(scheme, state, "surface-2")).toBeGreaterThanOrEqual(5);211 }212 );213214 // A selected row under the pointer is one step past the surface: a step215 // that can be seen, and never a zone of its own.216 it("steps the pressed surface just past the surface", () => {217 expect(contrast(scheme, "surface-2", "surface")).toBeGreaterThan(1);218 expect(contrast(scheme, "surface-2", "background")).toBeLessThan(1.25);219 });220221 it("draws a control's border at 3:1 on paper and on the surface", () => {222 expect(contrast(scheme, "input", "background")).toBeGreaterThanOrEqual(3);
180 unmodified lines
modified:docs/adr/0016-a-person-is-a-platform-account.md+1 added
added:docs/adr/0034-a-decision-for-a-path-takes-effect-at-its-deciders-threshold.md+22 added
added:docs/adr/0035-a-repos-host-is-a-port-behind-the-gateways-custody.md+20 added
added:docs/adr/0036-a-vouch-carries-its-reason-and-the-landing-it-followed.md+22 added
added:docs/adr/0037-the-platform-signs-every-landing.md+22 added
added:docs/adr/0038-the-ledger-is-a-note-on-main.md+22 added
added:docs/adr/0039-the-webs-rows-carry-the-state-on-the-mark-and-the-inspector-widens.md+25 added
1---2status: accepted3---45# The web's rows carry the state on the mark and the word in ink, and the inspector widens for its commands67Two rules of DESIGN.md changed in October 2026, after a heuristic critique of the front page, a project home and an answer page (31 of 40) and a source-first reading of a peer platform's web UI, taken as values and patterns only. This records the two changes and why, so that nobody restores the old rules as a tidy-up.89**The row's state word is ink.** DESIGN.md's row anatomy said "the state word in its role": Waiting in ochre, Refused in red, Landed in green, on every row. Measured on a project home, that painted ochre thirty-one times on one screen, and the one word that asks the reader for a move, "Open to take", was ink and had no weight against it. The peer's lists make the opposite mistake, a tinted square and no word, and are loud for it. The rule is now the Mark Carries Rule: in a row the colour belongs to the mark, the word is ink at 500, except Refused (red) and Landed (green), which are final and rare. The status line, the state badge and the inspector keep the coloured word, where it is said once beside its sentence. The Word First Rule is untouched: every mark still has its word.1011**The inspector is 20 rem from `shell` and 22 rem from `codefacts`.** At 19 rem with 16 px of padding, a 6ch hang and a 32 px Copy, the inspector's command line held about 27 characters, so `myr claim <ask> --project <project>` and `git clone` of a project wrapped to three or four lines. The inspector exists to hand a command over; it was the hardest thing on the page to read. The peer opens its side column at 20 rem and only from 1350 px, and truncates its commands; Myr shows a command whole, so it makes room instead: 20 rem, 22 rem from 1440 px, and the command line in a bleed form inside the inspector (pane-wide, hairlines top and bottom, a 28 px icon-only Copy, a 2ch hang), which gives about 32 and 36 characters a line. Main keeps a 556 px row at 1164 px and an 800 px one at 1440 px.1213Beside them DESIGN.md took, within its rules, a pressed-surface token for a selected row under the pointer, the time slot filled on every row, a two-line want below `tablet`, `files · +n −m` on a subject's meta line, Provenance in the one block shape, the path split in the code header and tree, the `kbd` look in the keys dialog, the Landed page told as a sentence before its hashes, and posture said once per page. None adds a colour to a non-state thing, a score, a fill, a shadow, a radius above 2 px or text under 13 px.1415## Considered Options1617- **Keep the coloured word and thin the lists.** Fewer rows per screen would not change what a page of waiting asks looks like; the stripe is the rule, not the count.18- **Collapse the inspector on laptops** and let main have the width. The facts and the command are what the page is for; hiding them to fit them is backwards.19- **Truncate commands in the inspector**, as the peer does. A command copied whole but read in part is the one thing the control room must not do.2021## Consequences2223- The rules are decided in DESIGN.md and not yet in the code; its "Decided, not yet drawn" list names each file, and the build issues are cut from it. The tokens (`--surface-2`, and its contrast pairs in `apps/web/test/tokens.test.ts`) are in `styles.css` now.24- Tests that key on a row's state word by colour class must key on `data-mark` and the word instead, as DESIGN.md's "Do" already asks.25- The critique's remaining findings (heading order in the inspector, the intro paragraphs past 70ch, the toolbar's inset) are polish, not rules, and are not recorded here.
modified:AGENTS.md+1 added
119 unmodified lines
120- XState in the window; the `no-comments` rule; Alchemy PR preview packages; `herdr-ts-sdk`.121- shadcn's `command` (it brings `cmdk`, built on Radix), `sidebar` (its source calls `Math.random()`, which typecheck refuses, and its `use-mobile` hook fails lint) and `resizable` (it adds `react-resizable-panels`, and a fixed grid does the job) in `apps/web`.122- DOMPurify for a README's HTML: it needs a DOM, which the Worker has not got. `rehype-sanitize` runs the same on the server and in the browser.123- Any inbound or two-way GitHub sync. It would be a second way onto `main` that skips the gate.124- A decentralised-identity client (an atproto OAuth client, a DID resolver) behind the handle: a sign-in redesign and a third party's account as identity (ADR 0016). A second identity, if ever, is a key the person holds.125126## Agent skills127128### Issue tracker
21 unmodified lines
modified:DESIGN.md+72 added-25 removed
6 unmodified lines
7 ink: "oklch(0.21 0.015 258)"8 ink-dark: "oklch(0.94 0.005 258)"9 surface: "oklch(0.955 0.005 245)"10 surface-dark: "oklch(0.215 0.009 258)"11 surface-2: "oklch(0.935 0.006 250)"12 surface-2-dark: "oklch(0.25 0.01 258)"13 popover: "oklch(0.995 0.002 240)"14 popover-dark: "oklch(0.235 0.009 258)"15 muted: "oklch(0.48 0.012 258)"16 muted-dark: "oklch(0.72 0.01 258)"
86 unmodified lines
103 gutter-shell: "24px"104 region: "32px"105 measure: "56rem"106 rail: "15rem"105 inspector: "19rem"107 inspector: "20rem"108 inspector-codefacts: "22rem"109 row-phone: "88px"110components:111 context-bar:112 backgroundColor: "{colors.paper}"113 textColor: "{colors.ink}"
13 unmodified lines
127 backgroundColor: "{colors.surface}"128 textColor: "{colors.ink}"129 typography: "{typography.want}"130 height: "64px"131 row-selected-hover:132 backgroundColor: "{colors.surface-2}"133 textColor: "{colors.ink}"134 typography: "{typography.want}"135 height: "64px"136 row-group-header:137 backgroundColor: "{colors.paper}"138 textColor: "{colors.ink}"139 typography: "{typography.ui}"
13 unmodified lines
153 textColor: "{colors.ink}"154 typography: "{typography.terminal}"155 rounded: "{rounded.none}"156 padding: "4px 4px 4px 12px"157 command-line-inspector:158 backgroundColor: "{colors.surface}"159 textColor: "{colors.ink}"160 typography: "{typography.terminal}"161 rounded: "{rounded.none}"162 padding: "4px 4px 4px 12px"163 copy-action:164 textColor: "{colors.ink}"165 rounded: "{rounded.none}"166 size: "32px"167 copy-action-inspector:168 textColor: "{colors.ink}"169 rounded: "{rounded.none}"170 size: "28px"171 kbd:172 backgroundColor: "{colors.paper}"173 textColor: "{colors.ink}"174 typography: "{typography.label}"175 rounded: "{rounded.md}"176 padding: "0 4px"177 refusal-headline:178 textColor: "{colors.refused}"179 typography: "{typography.terminal}"180 padding: "8px 0"
50 unmodified lines
231**Creative North Star: "The gate's control room"**232233The web is the console an operator keeps open beside a terminal: on the left, where you are; in the middle, what is waiting; on the right, the typed facts of the thing in your hand. Every screen answers three questions in this order: what state is it in, whose move is it, and what runs next. The answer to the last one is always a command you can copy. A reader selects one thing (a row, with a click or `j`), reads its state and its next command in the inspector, copies the command (`1`), and goes back to the terminal.234210The pages are for operating, not persuading. One page is the exception: the landing at `/`, drawn outside the shell, says what the platform is and leads to the open asks (see "The landing"). Density is set by a decider clearing Today on a phone and a contributor reading a refusal beside a terminal: two-line rows, 14 px metadata, a 13 px floor. Colour means state and nothing else, and always sits beside a word and a mark, so a page read in grayscale, by a screen reader or in a terminal says the same thing. One paper ground runs under all three panes; panes are parted by hairlines, never floated, rounded or shadowed. The landing's stamp is the one authored moment.235The pages are for operating, not persuading. One page is the exception: the landing at `/`, drawn outside the shell, says what the platform is and leads to the open asks (see "The landing"). Density is set by a decider clearing Today on a phone and a contributor reading a refusal beside a terminal: two-line rows (64 px, 66 px measured with their hairlines), 14 px metadata, a 13 px floor. Colour means state and nothing else, and always sits beside a word and a mark, so a page read in grayscale, by a screen reader or in a terminal says the same thing. In a list the colour sits on the mark and the word stays ink, so the one word that asks for a move is never the quietest thing on the page. One paper ground runs under all three panes; panes are parted by hairlines, never floated, rounded or shadowed. The landing's stamp is the one authored moment.236212Rejected on purpose: the developer-forge dashboard (floating rounded panels on a grey ground, cards in a grid, stat tiles, a blue link colour, pill badges, avatar stacks, coloured file icons), its glossy cousin (dark glass, blur, glows, gradients), and the terminal costume (green on black, monospace for everything). Monospace appears only where the text is what a terminal prints or takes: commands, refusal transcripts, trailers, SHAs, paths, ids, env keys and code.237Rejected on purpose: the developer-forge dashboard (floating rounded panels on a grey ground, cards in a grid, stat tiles, a blue link colour, pill badges, avatar stacks, coloured file icons), its glossy cousin (dark glass, blur, glows, gradients), and the terminal costume (green on black, monospace for everything). Rejected too, from the peer platforms read in October 2026 and stated by mechanism: a filled pill or a tinted square that carries a state without its word (the lists of one peer are loud for that reason alone); a ladder of three or four surface steps used as zones (a lighter box for a row, a header, a card) on a darker page, which the One Ground Rule forbids; shadows and glows, a 48 px dark halo among them; `outline: none` on everything, which takes keyboard focus from every reader; text at 12 px and a fourth grey under 4.5:1 for line numbers and metadata; avatars (by email, generated, or stacked under a heading) and activity sparklines, since handles are links in ink and nothing counts a person; a revision ladder, each round a box under the last, where the fan and the round rows do the job on one line; a command box that ellipsises, since a command is shown whole; and a loading bar, spinners and shimmer in content. Monospace appears only where the text is what a terminal prints or takes: commands, refusal transcripts, trailers, SHAs, paths, ids, env keys and code.238239**Key Characteristics:**240216- Three panes on one ground: the rail (15 rem), main, and the inspector (19 rem), parted by one-pixel rules, each scrolling on its own from 1120 px.217- State is a mark, then a word, then a colour; red belongs to refusals, violet to sealed things, and nothing else is coloured.241- Three panes on one ground: the rail (15 rem), main, and the inspector (20 rem, 22 rem from 1440 px, wide enough that the command it hands over reads on one line), parted by one-pixel rules, each scrolling on its own from 1120 px.242- State is a mark, then a word, then a colour; red belongs to refusals, violet to sealed things, and nothing else is coloured. In a row the colour is the mark's; the word is ink, except Refused and Landed.243- Every action is a command to copy, its text always in the page. The only web controls that change anything are a decider's choices, proposing an ask (and asking the platform's agent to draft it), and signing in or out.244- Light and dark follow the system setting; there is no toggle, no script and no flash.245- Motion carries state, never decoration: transitions of 120–200 ms, and the landing's stamp.246247## Colors248224Cool bond paper and blue-black ink, with five state roles that never appear as decoration. Every state role measures at least 5:1 against paper and against the field surface, in both schemes; body ink measures about 16:1.249Cool bond paper and blue-black ink, with five state roles that never appear as decoration. Every state role measures at least 5:1 against paper, against the field surface and against the pressed surface, in both schemes; body ink measures about 16:1.250251### Primary252253- **Blue-black Ink** (`--foreground`; `ink`, `ink-dark`): text, page titles, primary buttons, a decider's non-default choices, the current tab's underline, the focus outline. It is the only accent: the web has no brand colour, and links are ink.
14 unmodified lines
268### Neutral269270- **Bond Paper** (`--background`; `paper`, `paper-dark`): the ground of every pane and of shadcn's `card`. Hex, because the two `theme-color` metas and the web app manifest repeat it from `features/shared/theme.ts`, and a test holds them equal.271- **Field Surface** (`--surface`): command lines, the current rail item, a selected row, hover fills (at half strength), the current stage cell; shadcn's `muted`, `secondary` and `accent` resolve here.272- **Pressed Surface** (`--surface-2`): one step past the field surface, for a selected thing under the pointer only (a selected row hovered, a segmented control's current segment under hover), since a half-strength hover over a row already on the surface is invisible. It measures 1.13:1 against paper in light and 1.18:1 in dark, and every state role keeps at least 5:1 on it: the floor is waiting at 5.07:1 in light and refused at 6.27:1 in dark, with ink at about 14.6:1; `apps/web/test/tokens.test.ts` holds the pairs. Never a third step, never a zone.273- **Popover White** (`--popover`): the one raised layer's ground (dialogs, sheets, menus, tooltips), a step lighter than paper; dark, a step lighter than the surface.274- **Muted Grey** (`--muted`, as `text-muted-foreground`): labels, metadata lines, stages not reached or not needed, the `$` of a command line, `Assisted-by` lines, the bottom bar's other items.275- **Hairline** (`--rule`): every pane edge, border and rule, and the underline of links in running text.276- **Control Border** (`--input`): a form control's border at 3:1 on paper (3.4:1 light, 3.9:1 dark).
5 unmodified lines
282**The Rubric Rule.** Red belongs to refusals. A destructive button, a transport failure or a deletion in a diff is never red.283284**The Word First Rule.** No state is carried by colour alone: every coloured mark has a word beside it or in its row ("passed", "now", "refused", "not yet", "not needed"; "Waiting", "Landed", "Checking").285286**The Mark Carries Rule.** In a row the colour belongs to the mark; the state word is ink at 500, except Refused (red) and Landed (green), so a list of waiting asks is not an ochre stripe and the one actionable word, "Open to take", has the same weight as its neighbours. The status line, the state badge and the inspector keep the coloured word: there it is said once, beside its sentence.287288**The No Score Rule.** No colour, size or ordering ever ranks a person. Handles are links in ink; a record is never shown as a number.289290## Typography291
31 unmodified lines
323| phone | below 40 rem | 44 px top bar, fixed 56 px bottom bar, 16 px gutters, facts inline after the head, unified diffs only, Files opens a full-height sheet |324| `tablet` | 40 rem | 48 px top bar with Menu (the rail as a sheet from the left), the section row under the head, 20 px gutters |325| `diffsplit` | 48 rem | a diff may go side by side |326| `shell` | 70 rem (1120 px) | the rail and the inspector are columns, rows select, 24 px gutters, each pane scrolls on its own |299| `codefacts` | 90 rem (1440 px) | code pages keep the inspector open as a column; below this, a Facts button opens it as a sheet from the right |327| `codefacts` | 90 rem (1440 px) | the inspector widens to 22 rem; code pages keep it open as a column; below this, a Facts button opens it as a sheet from the right |328301**From 1120 px** three panes share one paper ground, parted by hairlines: the **rail** (15 rem) on the left, **main** in the middle, the **inspector** (19 rem) on the right. Nothing grows past 1440 px but main. Inside main the head and rows stop at 56 rem, left-aligned (no centred column); prose stops at 70ch; code and diffs take the whole pane. Main, top to bottom:329**From 1120 px** three panes share one paper ground, parted by hairlines: the **rail** (15 rem) on the left, **main** in the middle, the **inspector** (20 rem, and 22 rem from 1440 px) on the right. The widths are set by the inspector's commands: at 13 px mono in its bleed form (below) 20 rem holds about 32 characters a line and 22 rem about 36, so `git clone` of a project wraps once at most and every `next` under 36 characters sits on one line, while main at 1164 px keeps a 556 px row and at 1440 px an 800 px one. Nothing grows past 1440 px but main. Inside main the head and rows stop at 56 rem, left-aligned (no centred column); prose stops at 70ch; code and diffs take the whole pane. Main, top to bottom:3303311. **Context bar**, 44 px, sticky, on the same line as the rail's wordmark: the trail on the left, the page's state or count and its one copyable command on the right.3322. **Page head**, not sticky: the title, the status line, a muted meta line, 24 px under it.3333. **Toolbar**, 40 px, sticky under the context bar on list and code pages, its controls ending where the rows end.
25 unmodified lines
359360### Rail (`Rail`)361362- **Character:** where you are, always in the same place.335- **Shape:** the wordmark row (44 px, linking `/`, the landing); the site's sections, each a 32 px row of a 16 px mark and its word (Home, Asks at `/asks`, Today with the count of decisions waiting for a signed-in decider, Docs, For agents); "Projects" over one 32 px row per project, its posture's mark and short word at the row's end; the current project's sections indented under it (Asks with its open count, Code, Landings, Refs, Policy, Ledger, Env shape); "All projects" opening the switcher after the first eight; the session (handle or Sign in) and a Keys button pinned at the foot.363- **Shape:** the wordmark row (44 px, linking `/`, the landing); the site's sections, each a 32 px row of a 16 px mark and its word (Home, Asks at `/asks`, Today with the count of decisions waiting for a signed-in decider, Docs, For agents); "Projects" over one 32 px row per project, its posture's mark and one short word at the row's end (the same short form the project's head uses, from `posture-label.ts`; "Sealed" in the rail where the head says "Open with sealed evidence" is the thing to fix, not a second form); the current project's sections indented under it (Asks with its open count, Code, Landings, Refs, Policy, Ledger, Env shape); "All projects" opening the switcher after the first eight; the session (handle or Sign in) and a Keys button pinned at the foot.364- **Current item:** the surface fill, ink at 600, `aria-current`. Never a coloured bar or an accent.365- **Code form:** a route that fills the rail's slot (`staticData.rail`: the tree on tree, blob and why; the changed files on a commit and a finish) folds the site's sections and projects into a Menu button on the wordmark row and the project's sections into a one-line disclosure, and the slot fills the rest.366367### Top bar and bottom bar
3 unmodified lines
371372### Context bar, page head and toolbar373374- **Context bar:** the breadcrumb (project / section / subject, ids in mono, each a link but the last; on a phone only the page's own crumb), and at the right the subject's compact state (mark and lead word) or a list's count ("17 open asks, 3 open to take"), and the page's primary command as a copy button.347- **Page head:** the title; the status line; the meta line (kind · asker · age). A project home's head is its name, its posture from its own ledger and its open count, and the README's first sentence as a lede.375- **Page head:** the title; the status line; the meta line (kind · asker · claimant · pushed `2 h ago`, and on an answer or a commit `3 files · +42 −7` at its end, the stat in the diff family at 13 px tabular, linking the diff). A project home's head is its name, its posture from its own ledger and its open count, the README's first sentence as a lede, and under it **the one rule sentence**: a 14 px muted line built only from typed facts ("Gate: 7 stages · deciders set for 3 paths · 7 sealed checks in 2 areas · last landed 2 d ago"), the ledger linked from it. It is the one place the project's own pages state how a change lands; the fact blocks beside them carry the gate, the deciders and what is held back as facts, never the posture again.376- **Toolbar:** filters as text tabs with their counts in label type, the current one ink at 600 with a 2 px ink underline (the one current-tab style of the whole web); view toggles (Unified | Split, Code | Why) as segmented text; on a phone the strip scrolls sideways and fades its last 2 rem.377378### Inspector (`Workspace`'s facts) and fact blocks (`facts.tsx`)379380- **Character:** the typed facts of the thing in hand, never a repeat of the page's prose.381- **Shape:** a 44 px heading row naming what it describes ("Start here", "Selected ask", "This ask", "This answer", "How a change lands here", "This landing", "This file", "This decision"), announced politely when it changes; then fact blocks, each a label over its content, 16 px padding, hairlines between, no box inside. A new subject settles in over 120 ms with no slide.354- **Blocks:** State (the status line again, then the next command, numbered 1), Take it (who may take it, then clone, claim and check, numbered), Claim (the claimant from the event fold, the last push; never a deadline), Gate (the seven stages; on an answer, a vertical strip with the current stage), Posture (the platform's label, a gloss, a link to the ledger), Held back (one sealed line per area), Family (the vertical fan), Territory and check, Rounds (one 40 px row per round), Credit, Provenance (shortened ids, each copyable; a time is not), Decision, Diff stats (files, `+n −m`, then territory, tests and other), This file, Where it was read, Start here.382- **Blocks:** State (the status line again, then the next command, numbered 1), Take it (who may take it, then clone, claim and check, numbered), Claim (the claimant from the event fold, the last push; never a deadline), Gate (the seven stages; on an answer, a vertical strip with the current stage), Posture (the platform's label, a gloss, a link to the ledger; on a list page only, as the disclosure's one fact below the shell), Held back (one sealed line per area), Family (the vertical fan), Territory and check, Credit, Provenance (one label over one shortened mono value per entry, the copy action at the line's end; a time is not copyable; the same label-over-content shape as every other block, never a key and value grid), Decision, Diff stats (files, `+n −m`, then territory, tests and other), This file, Where it was read, Start here. An answer's rounds are a region in main (see Outcome), not a block. Once the platform signs its landings (ADR 0037), Provenance gains one entry, "Signature", naming the platform's key.383- **Values:** code values are mono and wrap anywhere; a long SHA or root is shortened (`7fbe4b2`, `sha256:7fbe4b…`) with its whole value in its title and on copy.384- **Commands:** a command line in the inspector takes the bleed form: to the pane's edges, a hairline above and below, no side border, an icon-only 28 px Copy at the right, and each wrapped line hanging 2ch (6ch stays in main, where there is room). At 22 rem that is about 36 characters a line.385386### Row (`Row`, `AskRow`) and row group (`RowGroup`)387388- **Character:** one anatomy for every list (asks, decisions, landings, commits, refs, forks, credits, rounds, history).360- **Shape:** 64 px, two lines (one-line rows 40 px): a 20 px mark column; line 1 the want or subject at 16 px 500, one line, ellipsised, the link (never the id); line 2 metadata at 14 px muted, parted by ` · ` (kind, territory and id in mono, claimant), a value that means nothing left out; at the right the state word in its role over its time; then the row's action. On a phone the state word leads line 2 and the right column hides.361- **States:** hover is the surface at half strength; selected (from 1120 px) is the surface fill and the want at 600, never a coloured edge; focus is the 2 px ink outline inside the row. A click on the want navigates; elsewhere on the row it selects and fills the inspector.389- **Shape:** 64 px (66 px measured, with its hairlines; one-line rows 40 px), two lines: a 20 px mark column, the mark in its state's colour; line 1 the want or subject at 16 px 500, one line, ellipsised, the link (never the id); line 2 metadata at 14 px muted, parted by ` · ` (kind, territory and id in mono, claimant, "round 2" once a round exists, "mentored by okonkwo" on an ask held for newcomers), a value that means nothing left out; at the right the state word in ink at 500 (red for Refused, green for Landed, as the Mark Carries Rule says) over its time; then the row's action. The time slot is filled on every row, 13 px tabular muted: the last push, else the last round, else the ask's opening, so a list scans by recency with no sort control. On a phone the state word leads line 2 and the right column hides. Below `tablet` the want may take two lines, since it is the one line that says what done means, and the row grows to about 88 px; from `tablet` it is one line.390- **States:** hover is the surface at half strength; selected (from 1120 px) is the surface fill and the want at 600, never a coloured edge; a selected row under the pointer is the pressed surface; focus is the 2 px ink outline inside the row. A click on the want navigates; elsewhere on the row it selects and fills the inspector. An ask's standing is read in this order: held for newcomers first ("Held for newcomers", wherever the ask is listed and whoever reads it), then open to take, then "Not open to you" only for a viewer the policy refuses with no reserve on the ask. One ask has one state word on every page.391- **Group header:** 32 px, sticky under the toolbar, paper fill, a hairline below: the group's name at 600 as a link, its facts (a project's posture, once per group, never per row; it may arrive after the rows without moving them), its counts at the end in label type ("7 open · 6 to take").392- **Data:** every `data-*` a list carries sits on the row's `<li>` (`data-ask`, `data-takeable`, `data-project`, `data-decision`, `data-soon`, `data-entry`, `data-fork`), and `data-list-key` on its link for `j` and `k`.393394### Copy action (`CopyAction`, `CommandChip`) and command line (`CommandLine`)395396- **Copy action:** a 32 px ghost button at a row's end, named for what it copies ("Copy claim command"), its command always in the DOM as text (`<code class="sr-only">`), never only a clipboard payload or a `data-` value. After a copy it shows a check and says "Copied" for 2 s in a polite live region.397- **Command chip:** the command shown whole, small, at the end of a status line; pressing it copies it.369- **Command line:** a field-surface box with a hairline border that hugs its command; a muted `$` that selection skips; the command in mono at terminal leading, broken only between words, each of its own lines hanging 6ch so a wrapped line reads as one line going on (a line too short to wrap hangs less, so its box hugging it never breaks a word; `e2e/command-line.e2e.ts` holds it); a ghost Copy button (its word hidden in a narrow column). A numbered command shows its digit before the `$` while the single keys are on, and "Copy (1)" in its title.398- **Command line:** a field-surface box with a hairline border that hugs its command; a muted `$` that selection skips; the command in mono at terminal leading, broken only between words, each of its own lines hanging 6ch so a wrapped line reads as one line going on (a line too short to wrap hangs less, so its box hugging it never breaks a word; `e2e/command-line.e2e.ts` holds it); a ghost Copy button (its word hidden in a narrow column). A numbered command shows its digit before the `$` while the single keys are on, and "Copy (1)" in its title. In the inspector the box takes the bleed form (above): pane-wide, hairlines top and bottom, a 28 px icon-only Copy, a 2ch hang. A command is always shown whole; it never ellipsises.399400### Status line (`StatusLine`) and state badge (`StateBadge`)401373- **Status line:** one sentence, the same under a title, in the State block and (compact) in the context bar: the mark, the lead word in its role at 600, the rest in ink, then whose move in muted, then the next command as a chip. "Open to take", "Claimed by tamsin, no answer pushed yet · tamsin's move", "Checking at the checks stage · the platform's move", "Refused at Shape: OutOfScope", "Waiting on decision dec-000001 · a decider's move", "Waiting for 4 of 6 children to land · the family's move", "Landed as 9b1c3e5" (the SHA links the commit). A refusal's lead and tag come from `headline`, never a paraphrase. `data-tone` and `data-mark` carry it.402- **Status line:** one sentence, the same under a title, in the State block and (compact) in the context bar: the mark, the lead word in its role at 600, the rest in ink, then whose move in muted, then the next command as a chip. "Open to take", "Claimed by tamsin, no answer pushed yet · tamsin's move", "Checking at the checks stage · the platform's move", "Refused at Shape: OutOfScope", "Waiting on decision dec-000001 · a decider's move", "Waiting for 4 of 6 children to land · the family's move", "Landed as 9b1c3e5" (the SHA links the commit). A decision whose path needs more than one decider (ADR 0034, after the window) reads its count in the same sentence: "Waiting on decision dec-000001 · 1 of 2 deciders have accepted · a decider's move"; a count of deciders is a rule, never a score. A refusal's lead and tag come from `headline`, never a paraphrase. `data-tone` and `data-mark` carry it. The status line keeps the coloured lead word on every page; the row's word is ink (the Mark Carries Rule).403- **State badge:** the one way a state shows as a word: its mark, then its word in the role, at the size of its line. No pill, no fill, no box. Posture, stages, an ask's standing and a decision's default all draw through it; `data-mark` (and `data-posture` on a posture's label) carry it.404405### Marks (`marks.tsx`)406
8 unmodified lines
415416### Outcome (`OutcomeView`), stage strip (`StageStrip`) and refusal (`RefusalView`)417418- **Outcome:** an answer's status line at Title size, the stamp on Landed; a refusal adds `RefusalView` below. `data-outcome` and `data-state` carry it.419- **Rounds:** every push the gate checked is a round, numbered from 1, and a verdict is read only against its round. On an answer with more than one round the first region in main is **Rounds**: one 40 px `Row` per round ("Round 2 of 3" · the head in mono · the state word and its age at the right), the page's round selected, newest first; the round read is in the address (`?head=`). No diff between rounds of an unlanded answer: that is the decider's view.420- **Waiting:** a waiting answer's main pane is not left to the inspector. Under the strip it says the one sentence a contributor needs, from the typed state: "Nothing for you to run. Pushing again starts round 3; this verdict stays as round 2." or "Nothing for you to run. A decider has until Thu 14:00." Never a spinner, never a paraphrase of the status line.421- **Landed:** the landing is told as a sentence before it is shown as a hash. The Landing region leads with one `StatusLine` at Title size ("Landed as 9b1c3e5 · asked by ines-v · answered by bram · 2 d ago", the SHA a link), then the credit trailers under "Credit" at Title weight, then the held-back lines with each root shortened (`sha256:7fbe4b…`, the whole value in `title` and on copy; the `Held-back:` trailer itself stays verbatim), and "The landing commit" as the region's onward link, not underlined text at the foot. The page's job is to credit the people; the hashes are its evidence, under them.422- **Stage strip:** the gate's results row, seven ruled cells in cost order (Parse, Shape, Merge, Cheap, Checks, Held-back, Decider), each a mark, its label and a 13 px state word: passed, now, refused, not yet, not needed (a stage the answer never needed, such as no decision). The current cell is on the surface with `aria-current="step"`. Four cells a row on a phone. `data-stage` and `data-state` on each cell.423- **Refusal:** a 2 px refused top rule, then `headline(refusals)` in mono red with an octagon mark, then one row per refusal parted by hairlines: its `explain` lines verbatim (indentation kept, the tag in red), then its `next` as a command line. A retryable refusal's mark is the ochre turn-back arrow. `data-refusal` and `data-retryable` carry it. The web never rewords a refusal. On a finish or a Waiver diff a refusal sits under the line its `at` names, as an annotation.424425### Credit trailers (`CreditTrailers`, `CompactCredit`) and held-back lines426395- **Credit:** a "Credit" label over one mono line per trailer, `Role: handle`, in `CreditRole`'s order (`Asked-by` first), handles linked; below a dashed rule, "Agents used, disclosed and not credit" and the muted `Assisted-by:` lines. The compact form reads "Asked by ines-v · answered by bram" on landing rows and in the project's recent landings, and never names an agent.396- **Held back:** one sealed-violet mono line with a lock, `Held-back: export 7/7 @ sha256:…; parser 4/4 @ sha256:…`; on an answer's page one line per area. The area and its count, never a check's name.427- **Credit:** a "Credit" label over one mono line per trailer, `Role: handle`, in `CreditRole`'s order (`Asked-by` first), handles linked; below a dashed rule, "Agents used, disclosed and not credit" and the muted `Assisted-by:` lines. On the Landed page the label is at Title weight, as "Gate" and "Lanes" are; in the inspector it is a fact label. The compact form reads "Asked by ines-v · answered by bram" on landing rows and in the project's recent landings, and never names an agent.428- **Held back:** one sealed-violet mono line with a lock, `Held-back: export 7/7 @ sha256:…; parser 4/4 @ sha256:…`; on an answer's page one line per area, each root shortened with the whole in `title` and on copy. The area and its count, never a check's name.429430### Posture badge (`PostureBadge`)431400The platform's own label, never rewritten, through the state badge: a lock mark and the word in sealed violet for postures that keep something sealed, an open lock in ink for Open, muted for Source available. Said once per project group heading, in the rail, the project's head and its Posture block; never per row. `data-posture` carries the literal.432The platform's own label, never rewritten, through the state badge: a lock mark and the word in sealed violet for postures that keep something sealed, an open lock in ink for Open, muted for Source available. Said once per page: in a list's group heading, in the rail (one short word) and in the project's head; never per row, and never in a fact block on the project's own pages, where the head has said it. The front page's Projects block and the project's How a change lands block carry counts and the gate, not the posture. `data-posture` carries the literal.433434### Decisions, Today and the finish435404- **Today:** the budget as one sentence ("Decisions: 2 taken, 3 left today. Finishes are counted apart: none taken."), then sections under sticky headers: Due today, Within your budget, Waits for tomorrow (a count, as a sentence), Newcomers to welcome, Landed without a decision. A decision's row reads its subject as a sentence, then project · kind · id, then its expiry over its default. On a phone a row opens in place.436- **Today:** the budget as one sentence ("Decisions: 2 taken, 3 left today. Finishes are counted apart: none taken."), then sections under sticky headers: Due today, Within your budget, Waits for tomorrow (a count, as a sentence), Newcomers to welcome, Landed without a decision. A decision's row reads its subject as a sentence, then project · kind · id, then its expiry over its default; a decision that needs more than one decider (ADR 0034, after the window) shows "1 of 2" under its default. On a phone a row opens in place. Newcomers to welcome will carry a one-tap "Vouch" choice (ADR 0036, after the window) whose consequence reads "adds a line to the vouch file and lands it with you as Decided-by"; it is a decider's choice, so it is one of the web's permitted writes.437- **Choices:** one tap each, no confirm. Ink buttons, the default the outline button with "default" beside its name; 36 px in a row from 640 px, 44 px in a two-column grid on a phone. Under each, a 13 px muted consequence line written from what the platform does ("Accept: opens the ask and lands it with you as Decided-by"; where it does nothing more, it says so). After a choice the record (by, choice, when, note) replaces the buttons, landed green only for a choice that took effect.438- **Finish:** the code browser's layout: the changed files in the rail with status letters, `+n −m` and a local read mark; the diff in main with sticky file headers and a "Mark read" button (the word is "read", kept in this browser only); the want, verdict, choices and the three numbered finish commands in the inspector from 1440 px, or in a sticky bar at main's foot below it.439- **Evidence:** typed by subject, labels in sentence case; never a value the platform did not send.440441### Code browser (tree, blob, why, landings, commit)442443- **Character:** a full-viewport app inside the shell.412- **Rail:** the ref line (main, a tag or a SHA, as a switcher), a "Filter files" field, and the tree (`@pierre/trees`): Public Sans 14 px, compact, monochrome icons, single-child folders flattened, sticky folders, the current path expanded and in view; on a commit, every changed file open with its status letter and `+n −m`. A tree click moves with the router and the tree stays mounted across tree, blob and why.413- **Main:** a sticky file header (the path as a trail with copy; "N lines · size · language" from 48 rem, which yields to the inspector's own line from 1440 px; the Code | Why toggle; Raw, Permalink, Copy), then the code at Pierre's metrics, scrolling in its own box. The server sends the file or diff as plain numbered text at the same metrics, so the highlighting lands in place.444- **Rail:** the ref line (main, a tag or a SHA, as a switcher), a "Filter files" field, and the tree (`@pierre/trees`): Public Sans 14 px, compact, monochrome icons, single-child folders flattened, sticky folders, the current path expanded and in view, a flattened path's directories in muted and its file name in ink; on a commit, every changed file open with its status letter and `+n −m`. A tree click moves with the router and the tree stays mounted across tree, blob and why.445- **Main:** a sticky file header (the path as a trail with copy, its directories in muted and the file name in ink, so the name reads first; "N lines · size · language" from 48 rem, which yields to the inspector's own line from 1440 px; the Code | Why toggle; Raw, Permalink, Copy), then the code at Pierre's metrics, scrolling in its own box. The server sends the file or diff as plain numbered text at the same metrics, so the highlighting lands in place.446- **Why:** consecutive lines from one landing form one group under a band that reads ask and answer first, SHA second ("format-ordinal · answered by bram · 9b1c3e5 · 2 d ago"), with "why, one step back". No credit count and no age colour.447- **Landings:** rows under sticky day headers: the subject, the ask answered or opened, the compact credit and a sealed "held back" word when the landing carries `Held-back:`, the short SHA over the age; filters All · Answers · Ask openings; the pager stays.448- **Commit:** the subject as Title, the landing's status line, the body as prose, git's line ("authored by … · committed by the platform · parent …"), then the diff in a pane that sticks under the toolbar and only then scrolls. Unified | Split (split from 48 rem), Collapse all / Unfold all. Unified diffs mark changes with `+` and `-`; split diffs with bars.449- **Missing path:** a soft landing on the nearest folder, with the refusal's own text above it.450451### Ledger, env shape, policy and refs452421- **Ledger:** the head sentence carries the facts ("Open with sealed evidence. export: 7 sealed checks by 3 people; parser: 4 sealed checks by 3 people."); layers as rows (name in sealed-violet mono, readers, writers, disclosure, reason), sealed areas as sealed-violet titles with root and admission, history as typed one-line rows, newest first. No path, check name or file name.453- **Ledger:** the head sentence carries the facts ("Open with sealed evidence. export: 7 sealed checks by 3 people; parser: 4 sealed checks by 3 people."); layers as rows (name in sealed-violet mono, readers, writers, disclosure, reason), sealed areas as sealed-violet titles with root and admission, history as typed one-line rows, newest first. No path, check name or file name. Once the ledger rides with the clone as a note on main (ADR 0038, after the window), the head names the ref it is fetched from, as the verdict notes are.454- **Env shape:** the caption "env shape: varlock's `.env.schema` format", linked to varlock; items as definition rows, sensitive first: the key in mono, the sealed lock and "sensitive", "set by ines-v" or "not set", type, required, proxy hosts with paths, a hairline-bordered "Deprecated". Never a value or the placeholder an answer sees.423- **Policy:** deciders by path, vouching, limits in tabular figures, agents, and one line per layer linking the ledger; the commands that change it, numbered, each flag on its own line.455- **Policy:** deciders by path ("2 of 3 deciders for `src/**`" once a path carries a threshold, ADR 0034), vouching as one line per vouch with its reason and the landing it followed when the line carries them ("vouched by ines-v, for 9b1c3e5 (format-ordinal)"; ADR 0036; never a count of vouches), limits in tabular figures, agents, and one line per layer linking the ledger; the commands that change it, numbered, each flag on its own line. A denouncement is the line it is, never a red label beside a name.456- **Refs:** main ("moves only by a landing"), tags, and claim forks as one-line rows with their claim's state word.457458### Empty, pending and error states459
13 unmodified lines
473474### Navigation and keys475476- **Links:** every link between pages is the router's (`AppLink`), preloading on hover or focus, so moving never reloads the document; the page being read is `aria-current="page"`. Links in running text are ink, underlined in the hairline colour, ink on hover; links in rows and the rail are not underlined. A skip link to `#main` is the first tab stop.445- **Keys:** `?` opens the keys dialog with the switch "Single-key shortcuts: On / Off" (kept in this browser, on by default); `j`/`k` move through a list's rows (and from 1120 px select them), Enter opens; `J`/`K` move between files on code, commit and finish pages; `1`–`9` copy the page's numbered commands, the inspector's first; Escape closes a sheet or clears the selection. No key acts in a field, a combobox or the tree's filter. Every key has a pointer twin.477- **Keys:** `?` opens the keys dialog with the switch "Single-key shortcuts: On / Off" (kept in this browser, on by default); each key in the dialog is a `kbd`: label type, a hairline border, the 2 px radius, 4 px of side padding, on the paper; `j`/`k` move through a list's rows (and from 1120 px select them), Enter opens; `J`/`K` move between files on code, commit and finish pages; `1`–`9` copy the page's numbered commands, the inspector's first; Escape closes a sheet or clears the selection. No key acts in a field, a combobox or the tree's filter. Every key has a pointer twin.478- **Selection:** in the address (`?ask=`, `?decision=`), replaced in history, so a selected row and its facts render on the server and can be shared.479480### The landing481
8 unmodified lines
490### shadcn491492shadcn 4.21.2, style `base-lyra` on Base UI, in `src/components/ui/` (generated, restyled to the tokens). The pages use its button, badge, table, textarea, tooltip, dialog and sheet, select, combobox, popover and skeleton. Overlays load after hydration in their own chunk.493494### Decided, not yet drawn495496Each rule below is decided in this document (ADR 0039) and not yet in the code; the build issues are cut from this list, and an item leaves it when its file changes.497498- The inspector at 20 rem from `shell` and 22 rem from `codefacts`: `apps/web/src/features/shared/shell/workspace.tsx` (its `w-[19rem]`). Decided, not yet drawn.499- The command line's bleed form in the inspector (pane-wide, hairlines top and bottom, a 28 px icon-only Copy) and the 2ch hang there, 6ch in main: `apps/web/src/features/shared/command.tsx`. Decided, not yet drawn.500- The row's state word in ink at 500 except Refused and Landed (`wordTone`), the time slot filled on every ask row, "round n" and "mentored by" in line 2, the two-line want below `tablet`, the pressed surface on a selected row under the pointer, and held-for-newcomers read before takeable (`askState`): `apps/web/src/features/shared/row.tsx`. Decided, not yet drawn.501- The head meta line's `files · +n −m` on answer and commit subjects: `apps/web/src/features/shared/status-line.tsx` and the answer and commit heads. Decided, not yet drawn.502- Provenance in the one block shape, the Rounds block removed from the inspector, the front page's Projects block as counts only, and the held-back roots shortened: `apps/web/src/features/shared/facts.tsx`. Decided, not yet drawn.503- The Rounds region, the waiting sentence and the Landing region's sentence-first order with "The landing commit" as its onward link: `apps/web/src/features/answer/answer-page.tsx`; "Credit" at Title weight there: `apps/web/src/features/shared/credits.tsx`. Decided, not yet drawn.504- The project head's one rule sentence, the How a change lands block without its Posture, and one short posture form for the rail and the head: `apps/web/src/features/project/project-page.tsx`, `apps/web/src/features/project/posture-label.ts`, `apps/web/src/features/shared/posture.tsx`. Decided, not yet drawn.505- The path split (directories muted, name ink) in the code file header and the tree's flattened rows: `apps/web/src/features/code/file-header.tsx`, `apps/web/src/features/code/repo-tree.tsx`. Decided, not yet drawn.506- The `kbd` look in the keys dialog: `apps/web/src/features/shared/keys.tsx`. Decided, not yet drawn.507508## Do's and Don'ts509510### Do:511
8 unmodified lines
520521### Don't:522523- **Don't** float a pane, round it, shadow it, or give it another ground; part panes with hairlines.478- **Don't** put cards in a grid, stat tiles, a big number over a small label, pill badges, avatar stacks or coloured file icons on any page.524- **Don't** put cards in a grid, stat tiles, a big number over a small label, pill badges, tinted state squares, avatar stacks, sparklines or coloured file icons on any page.525- **Don't** colour a row's state word (Refused and Landed apart), say a posture twice on one page, or ellipsise a command.526- **Don't** reword a refusal or compute your own explanation of one; render `explain` and `headline`.527- **Don't** show a score, a rank, a count of a person's landings or credits, or a leaderboard.528- **Don't** use red for anything but a refusal, violet for anything but sealed things, green for anything but on main, or colour without a word; a diff uses its own teal and rose.529- **Don't** use monospace for prose, labels, buttons, headings or commit bodies.
4 unmodified lines
modified:GLOSSARY.md+18 added-14 removed
14 unmodified lines
15**Answer**:16A commit in a claimant's fork offered to satisfy one ask.17_Avoid_: pull request, PR, patch, attempt, submission1819**Round**:20One push of an answer that the gate checked: its head commit, the gate's verdict on it, and when. The next push starts the next round, numbered from 1, and a verdict is never read against a later round.21_Avoid_: revision, iteration, attempt, submission2223**Claim**:24One person's exclusive, expiring right to answer an ask, made of a fork and a scoped token; kept alive only by pushes.25_Avoid_: lease, lock, assignment26
17 unmodified lines
44The shape of an ask's check: redThenGreen, lintToZero, ratchet, migrate, or symbolAbsent (a family's delete child).4546**Family**:47A migrate ask whose old name is used in two or more modules, opened as one child ask per module that uses it, each with that module as its territory, plus a delete child that waits on every child and checks the name is gone; the parent closes when its last child lands.44_Avoid_: epic, subtasks, batch48_Avoid_: epic, subtasks, batch, stack4950**Territory**:51The module (by default a workspace package) an answer may change.52_Avoid_: scope (when meaning paths), lane, footprint
23 unmodified lines
76The cost-ordered chain of stages that narrows a push to a checked tree or a refusal.77_Avoid_: CI, pipeline, merge queue7879**Landing**:76The platform's commit of a checked tree to main, written by the platform with credit trailers. An ask's opening is a landing too: it opens an ask and answers none. So is a project's adoption, its first `main` from the initializer's first push or an import: it answers no ask, has no parent and credits no one.80The platform's commit of a checked tree to main, written by the platform alone, with credit trailers; when it carries the platform's signature, a clone can prove that without the platform. An ask's opening is a landing too: it opens an ask and answers none. So is a project's adoption, its first `main` from the initializer's first push or an import: it answers no ask, has no parent and credits no one.81_Avoid_: merge, ship8283**Landed SHA**:84The commit the platform itself last landed on main; the only commit a project's rules are read from.
39 unmodified lines
124The accountable human who signs an answer; any agent works through their token.125_Avoid_: contributor (when meaning this role), agent identity126127**Decider**:124A person whose decisions open asks, accept proposals and finish answers for an area.125_Avoid_: reviewer, approver, owner128A person whose decisions open asks, accept proposals and finish answers for an area; a path may name several, and may ask that more than one of them agree.129_Avoid_: reviewer, approver, owner, delegate130131**Decision**:128One choice put to a project's deciders, with its evidence and a safe default that is taken if nobody decides before it expires.129_Avoid_: approval, vote, review request132One choice put to a project's deciders, with its evidence and a safe default that is taken if nobody decides before it expires. Where a path asks for more than one decider, the choice takes effect once that many have chosen alike, and waits until then.133_Avoid_: approval, vote, review request, quorum134135**Today**:136A decider's daily page of open decisions, ordered by expiry and held to their budget; the overflow waits for a later day.137_Avoid_: inbox, queue, dashboard
1 unmodified line
139**Budget**:140The number of decisions a decider takes per day; a decision past it waits, and one that expires undecided takes its default.141142**Vouch**:139A line in the project's vouch file by which a member admits a person to claim and to submit sealed answers.140_Avoid_: approval, whitelist143A line in the project's vouch file by which a member admits a person to claim and to submit sealed answers; it may carry the member's reason and the landing it followed, and it is read as a line, never counted.144_Avoid_: approval, whitelist, endorsement, trust score145146**Denouncement**:143A line in the project's vouch file that bars a person from making proposals.144_Avoid_: ban, block147A line in the project's vouch file that bars a person from making proposals; it is shown as the line it is, never as a warning beside the person's name.148_Avoid_: ban, block, flag149150**Record**:151A person's landings by area and kind that stayed unreverted for 30 days, used only for trust rules, never shown as a score.152_Avoid_: reputation, karma, points
29 unmodified lines
182**Commitment**:183The salted SHA-256 root of a held-back suite, printed on every landing it judged.184185**Posture**:182The label the platform computes from a project's visibility config as it stands now: Open, Open with sealed evidence, Open on schedule, Open core, or Source available. A narrowing stands only once a decider accepts it and its notice runs out. Every page and list shows the posture the ledger shows.186The label the platform computes from a project's visibility config as it stands now: Open, Open with sealed evidence, Open on schedule, Open core, or Source available. A narrowing stands only once a decider accepts it and its notice runs out. Every page and list shows the posture the ledger shows, said once per page.187_Avoid_: licence (they are different things)188189**Ledger**:186The public, append-only record of a project's layers, counts, commitments, releases and posture changes.190The public, append-only record of a project's layers, counts, commitments, releases and posture changes; the one record a clone does not yet carry, until the platform writes it as a note on main.191192**Env shape**:193The public schema of a project's environment variables: its committed .env.schema file, in the @env-spec format that varlock reads, which the platform parses from the landed SHA and never resolves.194_Avoid_: env.ts, .env.example, secrets file
35 unmodified lines
230**Run block**:231The config folder's declaration of the project's own commands: setup, doctor, test, checks.232233**Gateway**:230The platform's git endpoint, which holds every storage credential, enforces custody and visibility, and returns refusals in git's own output.231_Avoid_: remote (alone), proxy234The platform's git endpoint, which holds every storage credential, enforces custody and visibility, and returns refusals in git's own output; whichever host keeps the repos sits behind it.235_Avoid_: remote (alone), proxy, knot, seed236237**Project skill**:238The agent skill and AGENTS.md block generated from the run block, whose local check matches the gate.239_Avoid_: CONTRIBUTING.md
modified:PRODUCT.md+19 added-11 removed
14 unmodified lines
15Three kinds of people, and the agents that work for them. The words below are product words; inside the domain a contributor answering an ask is an **answerer** and a maintainer taking decisions is a **decider**.16171. **Maintainers** keep a project. Their jobs:18 - say what the project wants, as asks: a file on main with a want, a territory and a check that fails on main, which opens only when the check is red first;19 - set how the project takes changes, as typed code in its config folder on main (deciders, ask kinds, budgets, vouches, ratchets, the run block, visibility), read from the platform's last landing;19 - set how the project takes changes, as typed code in its config folder on main (deciders, ask kinds, budgets, vouches, ratchets, the run block, visibility), read from the platform's last landing; after the window, a path's deciders may carry a count, so a decision there takes effect only when that many of them choose alike (ADR 0034);20 - spend a daily budget of decisions on Today: open or decline a proposal, waive an escape, accept a posture change, finish a passing answer; doing nothing lets nothing in;21 - vouch for the people who may claim, and denounce those who may not propose;21 - vouch for the people who may claim, each vouch a line that may say why and name the landing it followed, and denounce those who may not propose; a vouch is read as its line, never counted;22 - keep checks of their own in a layer only they read, and set write-only env values from a terminal;23 - land their own changes through the same gate as anyone else.242. **Contributors** answer asks, often a newcomer looking for a first one. Their jobs:25 - find an ask they may take, on the front page, with `asks` or with `front`, each saying what done means before they start; some asks are held for newcomers, with a mentor named;25 - find an ask they may take, on the front page, with `asks` or with `front`, each saying what done means before they start; some asks are held for newcomers, with a mentor named, and such an ask reads as held for them on every page and to every reader, never as closed to them;26 - claim it, which gives them a fork and an exclusive slot kept alive by pushing;27 - answer with plain git in that fork, run the gate's checks locally with `check`, push, and read the verdict where they already look (git's own output, `status`, the verdict note, the answer's page);27 - answer with plain git in that fork, run the gate's checks locally with `check`, push, and read the verdict where they already look (git's own output, `status`, the verdict note, the answer's page); each push the gate checks is a numbered round, and a verdict stays with its round when the next push comes;28 - propose an ask nobody wrote yet, as a proposal that expires unless a decider accepts it;29 - own what lands: their name is on the commit, and their record is built from those commits.303. **Their harnesses**, the coding agents a person works through (Claude Code, OpenCode, Amp, pi, others). Their jobs: read the project's AGENTS.md block or skill, an ask as Markdown, `llms.txt` and the MCP tools; act only through their person's token; read refusals as typed JSON and run each one's `next`. An agent holds no account and no credit: the person's claim carries identity, and a landing discloses the agent apart (`Assisted-by`).31
13 unmodified lines
4546- **main moves only by a landing.** A landing is the platform's commit of a checked tree; a direct push to main is refused. Deciders' own changes go through the same gate.47- **An answer cannot change what judges it.** The judge is read from the last landing, and its closure (check files, test and lint config, CI and hook configs, scripts, the config folder, `.env.schema`) is out of every answer's reach. An answer that edits them, or adds a disable comment with no reason, is refused; a reasoned one counts against the territory's escapes, and waits for a decider when it would raise them.48- **Every refusal is a typed value**, from a closed union: a tag, a reason, where it points, the command to run next, and whether retrying can help. It reads the same in `git push` output, the CLI, MCP and the web, and accumulates at the cheap stages, so one push hears every independent problem.49- **Credit is git trailers on the landing commit** (`Asked-by`, `Signed-off-by`, `Decided-by`, `Mentored-by`, `Finished-by`, `Advised-by`). Agents are disclosed, never credited.49- **Credit is git trailers on the landing commit** (`Asked-by`, `Signed-off-by`, `Decided-by`, `Mentored-by`, `Finished-by`, `Advised-by`). Agents are disclosed, never credited. Trust is a vouch: a public line on main that may carry the member's reason and the landing it followed (ADR 0036), read as a line and never as a number.50- **Held-back checks disclose one bit per area.** A layer's files never enter a public tree; a contributor learns which area failed, never a check's name or output, with a few attempts a week. A landing judged by them says "checked against N sealed checks" in its `Held-back:` trailer.51- **Write-only values stay write-only.** A decider sets a sensitive env value from a terminal; nobody reads it back, and an unlanded answer's code sees a placeholder.52- **Export is `git clone`.** Code, asks and credit trailers leave with a clone; verdict notes take one more fetch of `refs/notes/*`.52- **Export is `git clone`.** Code, asks and credit trailers leave with a clone; verdict notes take one more fetch of `refs/notes/*`. Said plainly: the ledger and the decisions are the one record not yet in the clone. Decided for after the window: the platform writes the ledger as a note on main, so the same fetch carries it (ADR 0038), and signs every landing with one platform key, so a clone proves that main moved only by a landing with no platform in reach (ADR 0037).5354What it declines:5556- **No inbound or two-way GitHub sync.** It would be a second way onto main that skips the gate. Sign-in uses the platform's own accounts, with Google as an option.57- **No model's opinion in the gate.** Checks are commands with exit statuses and counts; an answer is judged by them, and taste is a decider's finish.58- **No scores.** A person appears by handle and role; their record serves trust rules only and is never shown as a number, rank or leaderboard.59- **No overclaiming.** Held-back checks are hidden from people and agents, not from the code under test, so they are no security boundary. Myr is a prototype, not a whole forge; it makes no claim about speed or scale beyond measured, dated numbers.60- **No second way to land.** The web adds no form for what git or the CLI does. Its only writes are a decider's choices, proposing an ask (and asking the platform's agent to draft it), and signing in or out. Landed code and each landing's diff are public, as a clone already makes them; an answer that has not landed shows its diff only to the decider finishing it.61- **No stacks of submissions.** A contributor's commits are not ordered into a stack that lands in parts; work is ordered by asks, and a family is the typed dependency, with a delete child that waits. A stack is a second ordering outside the gate.62- **No free labels.** Kinds and territories are typed; a label with no check behind it is work nobody asked for.63- **No discussion threads or reactions on a round.** Discussion is outside the gate and outside the window: not now, not never.64- **No mirroring by a second push URL.** It is a second way onto main (ADR 0010).65- **No identity held by a third party.** A person is a platform account (ADR 0016); a second identity, if ever, is a key the person holds.66- **No vouch counts.** A vouch is read as the line it is, with its reason and the landing it followed; "vouched for by 3 people" is a score by another name.6768## Operating Context6970- Work happens in git and the CLI (`Brand.cli` in code; the name lives only in `packages/brand`). The CLI is a single binary served by the platform itself (`/install.sh`, `/releases/…`), with a versioned `--json` envelope on every command, `--dry-run` and `--yes` where a command writes, and `mcp` to serve the platform's tools over stdio. Every web page that suggests an action shows its command, copyable.71- Harnesses plug in without installing anything: the project's AGENTS.md block and skill, `/llms.txt`, an ask as Markdown, and `/.well-known/mcp.json`. The CLI also answers harness hooks (`hook`), and pi users can load a user-level adapter.72- Every page sits in one shell: a rail of where you are (the site's sections, the projects with their posture, the current project's sections, the file tree on code pages), the page, and an inspector of the typed facts of the thing in hand, each with its command numbered to copy. Below 1120 px the rail opens from a Menu and the facts follow the page's head; phones get a bottom bar (Asks, Today, Projects, More).73- Pages per job on the web:68 - **Front page** (`/`): open asks across projects a viewer may take, grouped by project with each project's posture said once, filtered by kind, by open to take and by asks held for newcomers; a split family is one row with its children as a fan. Selecting an ask fills the inspector with its state and its claim command. The same list as Markdown by `Accept: text/markdown`.69 - **Project** (`/$project`): its asks (families expanded as fans), then its README; beside them, how a change lands here: its posture, the gate, who decides, what is held back, how to take part (clone, `asks`, `claim`, `check`) and its last three landings with their credit. The same as the project's `llms.txt` by `Accept: text/markdown`.74 - **Front page** (`/asks`; `/` is the landing, ADR 0030): open asks across projects a viewer may take, grouped by project with each project's posture said once, in the group heading, filtered by kind, by open to take and by asks held for newcomers; every row carries its last event's time; a split family is one row with its children as a fan. Selecting an ask fills the inspector with its state and its claim command. The same list as Markdown by `Accept: text/markdown`.75 - **Project** (`/$project`): its head says the project's posture once and, in one sentence of typed facts, how a change lands here (the gate's stages, deciders by path, what is held back, the last landing's age); then its asks (families expanded as fans), then its README; beside them, the gate, who decides, what is held back, how to take part (clone, `asks`, `claim`, `check`) and its last three landings with their credit. The same as the project's `llms.txt` by `Accept: text/markdown`.76 - **Code** (`/$project/tree/…`, `blob/…`, `why/…`, `commits/…`, `commit/…`, `refs`): the files at any commit with a persistent tree, highlighted code with `#L` links, why each line is there, the landings by day, each commit's diff, and the refs; raw bytes under a sandboxing CSP.77 - **Ask** (`/$project/asks/$ask`): the want, the territory, the check, who may claim, and the commands; the same as Markdown by `Accept: text/markdown` or at `/$project/asks/$ask.md`.72 - **Answer** (`/$project/answers/$ask`): the outcome, the gate's stages, the lanes, held-back results as one line per area, the refusal, and the landing's trailers.78 - **Answer** (`/$project/answers/$ask`): the outcome, the gate's stages, the rounds (one row per push the gate checked, the round read selected, its verdict never read against a later round), the lanes, held-back results as one line per area, the refusal, and the landing. A waiting answer says the one thing the contributor needs ("Nothing for you to run. Pushing again starts round 3; this verdict stays as round 2."). A landed one is told as a sentence first (landed as which commit, asked by whom, answered by whom, when), then credits its people, and only then shows its sealed roots, shortened.79 - **Person** (`/people/$handle`): their credits by role and area, in words, never a number or a score.74 - **Policy** (`/$project/people`): who decides which paths, who is vouched for or denounced, the limits and the agent rules, read from the config folder at the landed commit, with the commands that change them.80 - **Policy** (`/$project/people`): who decides which paths, who is vouched for or denounced, the limits and the agent rules, read from the config folder at the landed commit, with the commands that change them. Decided for after the window: each vouch line shows its reason and the landing it followed when it carries them (ADR 0036), and a path whose deciders carry a count reads "2 of 3 deciders for `src/**`" (ADR 0034).81 - **Proposals** (`/$project/proposals/new`, `/$project/proposals/$proposal`): a want proposed from the web or the CLI, the platform's agent's draft if one was asked for (the ask file, the check, its red-first runs), and the decision it waits on.76 - **Today** (`/today`): a decider's decisions in sections (due today, within the budget, waiting for tomorrow), each with its evidence, safe default, expiry and one-tap choices whose consequence is written under each, against the budget said as a sentence, with newcomers to welcome and a sample of landings that needed nobody; each decision has its own page (`/$project/decisions/$decision`), where a finish shows the answer's diff with refusals marked at their lines and the decider's own read marks, kept only in their browser. ASSUMPTION until the platform opens finish decisions (it does not yet): the finish view is built and tested, but no live decision reaches it.82 - **Today** (`/today`): a decider's decisions in sections (due today, within the budget, waiting for tomorrow), each with its evidence, safe default, expiry and one-tap choices whose consequence is written under each, against the budget said as a sentence, with newcomers to welcome and a sample of landings that needed nobody; each decision has its own page (`/$project/decisions/$decision`), where a finish shows the answer's diff with refusals marked at their lines and the decider's own read marks, kept only in their browser. ASSUMPTION until the platform opens finish decisions (it does not yet): the finish view is built and tested, but no live decision reaches it. Decided for after the window: a decision on a path that needs more than one decider shows how many have chosen ("1 of 2") and stays waiting, never refused, until the count is met or it expires to its default (ADR 0034); and Newcomers to welcome gains a one-tap Vouch whose consequence reads "adds a line to the vouch file and lands it with you as Decided-by" (ADR 0036), a decider's choice and so one of the web's permitted writes.83 - **Ledger** (`/$project/ledger`): the posture label, each declared layer with its reason, each sealed area's count, authors, committed root and admission, and every entry, newest first.84 - **Env shape** (`/$project/env`): every item the project's committed `.env.schema` declares, parsed at the landed commit and never resolved; for a sensitive item, who set its value and when. Never a value.85 - **Sign-in** (`/auth/signin`): through the platform's own accounts; the session lives in an HttpOnly cookie the browser cannot read.86 - **For agents** (`/agents`, and `/agents.md`): a reference in the voice of a man page (Synopsis, Connect, Endpoints, Limits, Refusals) over `/llms.txt`, `/llms-full.txt`, each project's `/$project/llms.txt`, `/.well-known/mcp.json` and the skills under `/.well-known/agent-skills/`.
5 unmodified lines
92## Capabilities and Constraints9394- The web Worker holds no storage binding and no secrets; every read goes through `/rpc` to the platform, and no public-serving Worker can reach the private namespace (AGENTS.md principle 7). It cannot show what the platform does not return.95- Refusal text comes only from `@repo/protocol/render` (`explain`, `headline`), the one renderer for git, the CLI, MCP and the web (principle 3).96- The host that keeps a project's repos is a port behind the gateway's custody (ADR 0035): the gateway holds every credential and every rule, and a host is whatever passes the one `RepoHost` contract. A second host is an adapter, not a rewrite, and the web reads through the same contracts whichever host answers.97- The web never: shows an unlanded answer's diff to anyone but the decider finishing it; shows a score, rank or count of a person as a measure of quality; reads a write-only value back, or shows the placeholder an answer sees (it reads like a value); names a held-back path, check or case to someone outside its layer.98- Undecided: a theme beyond following the system's light or dark setting (no toggle); a custom domain.99100## Brand Commitments
7 unmodified lines
108109- The examples `examples/datekit` (a date library with a maintainers layer of sealed checks and an `.env.schema`) and `examples/burrow` (six services with a lint ratchet and a migrate ask split six ways) are fictional projects with fictional people (`ines-v`, `okonkwo`, `bram`, `okafor`, `lin-h`, and burrow's vouched contributors). Pages and the video show them as examples, never as real users.110- The demo is planned in `docs/demo/`: a narration script, a shot list, the swarm scenario and a rehearsal checklist. What it stages is labelled there.111- Measured numbers come only from recorded live runs on a stage, each with its date (the README's Numbers table). No testimonials, customers or adoption figures exist; none may be invented.112- A heuristic critique of the web's front page, project home and answer pages, dated 2026-10-11 and kept in the design tool's working files (not committed), scored them 31 of 40. Its findings (the inspector's commands wrapping at 19 rem, one ask reading two state words, lists stacking their state words into a colour stripe, the Landed page ending on hashes, rows with no time) are the source of DESIGN.md's row, inspector, posture and Landed page rules of October 2026, and of ADR 0039. Two peer platforms were read from their own sources the same week, by mechanism; what was taken and declined from them is in ADRs 0034 to 0038 and DESIGN.md's "Rejected on purpose".113114## Product Principles1151161. **The terminal is the workplace; the web is the window.** Every action shows its command; nothing adds a second way to land.
8 unmodified lines