Skip to content
Myr

PRODUCT.md

This file

Path

PRODUCT.md

125 lines · 18.1 KiB · Markdown

Last changed by

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

History of this file

Take it

The walk stopped after 200 commits: lines older than 10c8b54 point at it.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 1–4why, one step back
1# Product
23<!-- impeccable:product-schema 1 -->4

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 5why, one step back
5What Myr is for, whom it serves, what it promises and what it declines. Any agent working on the web, the CLI's words or the docs starts here; [`DESIGN.md`](DESIGN.md) holds the web's look. Words follow [`GLOSSARY.md`](GLOSSARY.md).

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 6–14why, one step back
6
7## Platform89web1011The web is one of four surfaces over one contract: git, the CLI, MCP and the web all serve the same contracts and render the same refusals.1213## Users14

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 15why, one step back
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 is anyone the config names to take decisions for a path.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 16–18why, one step back
16
171. **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;

Merge rules/limits into mainoscabrielbefore adoption08abcda

line 19why, one step back
19 - set how the project takes changes, as typed code in its config folder on main (maintainers, ask kinds, decision expiry, vouches, ratchets, the run block, visibility), read from the platform's last landing;

Merge project/drop-proposals into mainoscabrielbefore adoptionb4ed08b

lines 20–21why, one step back
20 - take the decisions on Today: waive an escape, accept a posture change, finish a passing answer; doing nothing lets nothing in;
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 claim or post; a vouch is read as its line, never counted;

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 22–24why, one step back
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:

Merge docs/design-learnings into mainoscabrielbefore adoptionbc849fe

line 25why, one step back
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;

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 26why, one step back
26 - claim it, which gives them a fork and an exclusive slot kept alive by pushing;

Merge docs/design-learnings into mainoscabrielbefore adoptionbc849fe

line 27why, one step back
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;

Merge project/drop-proposals into mainoscabrielbefore adoptionb4ed08b

line 28why, one step back
28 - ask for something nobody wrote an ask for yet, in a discussion a maintainer may open an ask from;

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 29–31why, one step back
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

Merge rules/limits into mainoscabrielbefore adoption08abcda

line 32why, one step back
32Contributors meet four nouns, and only four: **ask**, **answer**, **check** and **refusal**. Everything else (decision, layer, ledger, posture, ratchet) is maintainer or platform vocabulary.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 33–35why, one step back
33
34## Product Purpose35

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 36why, one step back
36Myr is a git platform where everything a project ships is public, the contribution process is typed code on main, and a change lands only by passing a typed gate. It turns the front door around: the project says what it wants, anyone (a person, or an agent working for one) may answer, an answer that passes its check lands with credit for every person involved, and work nobody asked for has nowhere to go. It is a prototype.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 37why, one step back
37

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 38why, one step back
38The terminal and git are where work happens. The web is where people look: at what a project wants, where an answer stands, who is credited for a landing, and what a maintainer owes today.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 39why, one step back
39

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 40why, one step back
40Success: a newcomer goes from the front page to a running `claim` in under a minute; a stock harness with nothing installed claims, is refused, fixes and lands from git's own output; a contributor reads a refusal on the web exactly as git printed it; a maintainer clears Today on a phone.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 41–45why, one step back
41
42## Positioning4344The mechanism is the claim, not the feature count. What it promises:45

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 46why, one step back
46- **main moves only by a landing.** A landing is the platform's commit of a checked tree; a direct push to main is refused. Maintainers' own changes go through the same gate.

Merge docs/concurrency-story into mainoscabrielbefore adoption3c2c19c

line 47why, one step back
47- **Many agents at once.** A claim is exclusive unless its ask's kind allows a race, and answers to different asks are merged and checked in parallel, each in its own Workflow; only the final write to main waits, in a landing slot that holds one answer at a time. When main moves first, the platform merges the answer onto the new main and checks it again, up to three times, and otherwise refuses `StaleBase`, naming each conflicting path and who moved it.

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 48why, one step back
48- **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 maintainer when it would raise them.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 49why, one step back
49- **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.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 50why, one step back
50- **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, read as a line and never as a number.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 51why, one step back
51- **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.

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 52why, one step back
52- **Write-only values stay write-only.** A maintainer sets a sensitive env value from a terminal; nobody reads it back, and an unlanded answer's code sees a placeholder.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 53why, one step back
53- **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.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 54–56why, one step back
54
55What it declines:56

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 57why, one step back
57- **No inbound or two-way sync with another code host.** 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.

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 58why, one step back
58- **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 maintainer's finish.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 59–60why, one step back
59- **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.
60- **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.

Merge project/drop-proposals into mainoscabrielbefore adoptionb4ed08b

line 61why, one step back
61- **No second way to land.** The web adds no form for what git or the CLI does. Its only writes are a maintainer's choices 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 maintainer finishing it.

Merge docs/design-learnings into mainoscabrielbefore adoptionbc849fe

lines 62–63why, one step back
62- **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.
63- **No free labels.** Kinds and territories are typed; a label with no check behind it is work nobody asked for.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

lines 64–66why, one step back
64- **No discussion on rounds, and no reactions anywhere.** The gate's verdict is the only voice on a round.
65- **No mirroring by a second push URL.** It is a second way onto main.66- **No identity held by a third party.** A person is a platform account; a second identity, if ever, is a key the person holds.

Merge docs/design-learnings into mainoscabrielbefore adoptionbc849fe

line 67why, one step back
67- **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.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 68–70why, one step back
68
69## Operating Context70

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

line 71why, one step back
71- 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. The web shows no CLI command: an action a person takes there is a control on the page.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 72why, one step back
72- 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.

Merge redesign into mainoscabrielbefore adoptioncaedd21

line 73why, one step back
73- Every page sits in one of four shells, named by its route: `site` (the landing, Explore, the asks board, Install), `project` (a project's tabs, the inbox, settings, a person), `docs`, and `focus` (sign-in, MCP consent and the forms that make something). The top bar is the same everywhere (Explore, Asks, Docs, Install, search, the keys and the account with its inbox count); there is no global rail, and a side column holds only facts about what is on screen. Below 1100 px each side column stacks under its page; below 900 px the top bar's links fold into a menu.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 74why, one step back
74- Pages per job on the web:

Merge redesign into mainoscabrielbefore adoptioncaedd21

lines 75–77why, one step back
75 - **Landing** (`/`): what the gate does, the issue and pull-request flow beside the ask, answer and gate flow, the seven stages, and the latest landings and refused answers across projects. A signed-in reader goes on to the inbox.
76 - **Explore** (`/explore`): every public project as a card with its posture, the projects taking answers first.77 - **Front page** (`/asks`): 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; a split family is one row with its children as a fan. The same list as Markdown by `Accept: text/markdown`.

Merge project/drop-proposals into mainoscabrielbefore adoptionb4ed08b

line 78why, one step back
78 - **Project** (`/$project`, the Overview tab): a header that stays across the tabs (the name, the posture said once, a description, its facts and Watch, Clone and Contribute), then the tabs Overview, Code, Asks, Landings, Discussions, Policy and Visibility. Overview holds its asks, recent landings and README, beside an about column with how a change lands here and who decides. The same as the project's `llms.txt` by `Accept: text/markdown`.

Merge redesign into mainoscabrielbefore adoptioncaedd21

line 79why, one step back
79 - **Code** (`/$project/tree/…`, `blob/…`, `why/…`, `commits/…`, `commit/…`, `refs`): the files at any commit, tag or answer fork 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.

Merge project/drop-proposals into mainoscabrielbefore adoptionb4ed08b

line 80why, one step back
80 - **Asks** (`/$project/asks`): the project's open asks, each saying whether it is open to take.

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

line 81why, one step back
81 - **Ask** (`/$project/asks/$ask`): the want, the territory, the check, who may claim, and a Claim button; the same as Markdown by `Accept: text/markdown` or at `/$project/asks/$ask.md`.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 82why, one step back
82 - **Answer** (`/$project/answers/$ask`): the outcome, the gate's stages, the rounds, 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; a landed one is told as a sentence first, then credits its people, and only then shows its sealed roots.

Describe the Control room as built: DESIGN.md, PRODUCT.md, four ADRs, the demo docs and a tighter web entry limitoscabrielbefore adoption207eb8c

line 83why, one step back
83 - **Person** (`/people/$handle`): their credits by role and area, in words, never a number or a score.

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

lines 84–85why, one step back
84 - **Policy** (`/$project/policy`; `/$project/people` moves here): 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, and how to change them.
85 - **Discussions** (`/$project/discussions`, `/$project/discussions/$discussion`): a project's public, freeform threads, open to anyone not denounced, that land nothing themselves; each page shows its posts, the ask a maintainer opened from it, and a form to open a thread or reply.

Merge rules/limits into mainoscabrielbefore adoption08abcda

line 86why, one step back
86 - **Inbox** (`/inbox`; `/home` and `/today` move here): the reader's own page. A maintainer's decisions in sections (due today, later), every open one, each with its evidence, safe default, expiry and one-tap choices whose consequence is written under each, with how many wait said as a sentence; the asks the reader holds and where each answer stands in the gate; the asks they may take next. Each decision has its own page (`/$project/decisions/$decision`), where a finish shows the answer's diff with refusals marked at their lines.

Merge redesign into mainoscabrielbefore adoptioncaedd21

lines 87–88why, one step back
87 - **Visibility** (`/$project/visibility`; `/$project/ledger` and `/$project/env` move here): the posture, each declared layer with its reason, each sealed area's count, authors, committed root and admission; the Environment, every item the project's committed `.env.schema` declares, parsed at the landed commit and never resolved, with who set a sensitive item's value and when, never a value; and the ledger, newest first.
88 - **Settings** (`/settings`): the theme, the system's or its opposite, kept in this browser's `localStorage`, never a cookie.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

line 89why, one step back
89 - **Sign-in** (`/auth/signin`): through the platform's own accounts; the session lives in an HttpOnly cookie the browser cannot read.

Merge redesign into mainoscabrielbefore adoptioncaedd21

line 90why, one step back
90 - **Install** (`/install`; `/agents` moves here, and `/agents.md` stays): every way in, the CLI, remote and stdio MCP, the skills and `llms.txt`, each snippet copyable. The reference lives in the docs (`/docs`), over `/llms.txt`, `/llms-full.txt`, each project's `/$project/llms.txt`, `/.well-known/mcp.json` and the skills under `/.well-known/agent-skills/`.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 91why, one step back
91- Pages arrive with their data in the server's HTML, and moving between them never reloads the document. The project, ask and answer pages update live while open (the project's `watch` stream), and fall back to reading again every 5 s when the stream cannot be held.

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

line 92why, one step back
92- A minimal keyboard set works on every page: `?` (the keys, with a switch that turns the rest off), `j`/`k` through a list, `J`/`K` through files, and Escape.

Merge redesign into mainoscabrielbefore adoptioncaedd21

lines 93–94why, one step back
93- A project may not take a name the web uses for its own pages (`reservedProjectNames` in `@repo/protocol`: `explore`, `inbox`, `install`, `settings`, `asks`, `docs`, `people`, `auth`, `rpc` and the rest, the old `agents`, `home` and `today` kept).
94- Phone width is a first-class target (the web installs as a PWA that opens on the inbox).

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 95–99why, one step back
95
96## Capabilities and Constraints9798- 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.99- Refusal text comes only from `@repo/protocol/render` (`explain`, `headline`), the one renderer for git, the CLI, MCP and the web (principle 3).

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 100why, one step back
100- The host that keeps a project's repos is a port behind the gateway's custody: 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.

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 101why, one step back
101- The web never: shows an unlanded answer's diff to anyone but the maintainer 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; names a held-back path, check or case to someone outside its layer.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 102–111why, one step back
102
103## Brand Commitments104105- The name lives only in `packages/brand`: code takes it from `Brand.name` and the command from `Brand.cli`. Prose may name it: Myr, said "meer".106- **Voice: plain, factual, git-native, no hype.** Sentences say what happened and what to run next. No exclamation marks, no celebration copy, no gamification, no superlatives, no "revolutionary", "seamless" or "effortless". Avoid "PR", "issue" (for an ask), "lease", "reputation", "review" and "approver"; GLOSSARY.md lists each term's words to avoid.107- Other projects are described by mechanism, neutrally, never by name in comparison. What the product builds on is credited in the README and in each ported file's own header.108- Credit trailers read as they do on the commit (`Asked-by: ines-v`), in one order; `Assisted-by` is shown apart, because it is a disclosure, never credit.109110## Evidence on Hand111

Merge demo/prod-ready into mainoscabrielbefore adoption080e1fc

line 112why, one step back
112- 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 show them as examples, never as real users: each example's README opens by saying it is fictional, and `seed` puts them on `prod` only when told to with `--allow-fictional`.

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 113why, one step back
113- Measured numbers come only from live runs on a stage, each with its date. No testimonials, customers or adoption figures exist; none may be invented.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 114–116why, one step back
114
115## Product Principles116

Merge web/controls-not-commands into mainoscabrielbefore adoption19405f6

line 117why, one step back
1171. **The terminal is the workplace; the web is the window.** An action on the web is a control, never a command to copy; nothing adds a second way to land.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 118–120why, one step back
1182. **Render the typed value, not a paraphrase.** Refusals, credits, postures and outcomes read the same on every surface, because one renderer and one component draw each.
1193. **Waiting is not refusing.** Checking, waiting on a parent ask, a finish or a decision each read as waiting, never as an error.1204. **Credit people, disclose agents, score no one.**

Merge build/maintainer-wording into mainoscabrielbefore adoption4c1a571

line 121why, one step back
1215. **Decisions fit a phone.** Today's density is set by a maintainer clearing it in a few minutes on a small screen: one tap a choice, its consequence said under it.

Merge branch 'build/906-platform-root-page'oscabrielbefore adoption10c8b54

lines 122–124why, one step back
122
123## Accessibility & Inclusion124

Merge build/root-docs-tidy into mainoscabrielbefore adoption378d320

line 125why, one step back
125WCAG 2.2 AA: text contrast at least 4.5:1 (every state colour measures at least 5:1 in both themes), controls and borders at 3:1, nothing set below 13 px, visible focus on every control and a skip link to the page, every state carried by a word and a mark as well as a colour, single-key shortcuts that one switch turns off, `prefers-reduced-motion` honoured, and usable at 360 px wide with no horizontal scroll. `apps/web/e2e/a11y.e2e.ts` runs axe and a keyboard walk over every page in both schemes at 1440 and 390 px.