Merge adr-discussions 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 3fcdb5c, 860cd33 · Browse files · 3 files·+44 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+44 added−4 removed
- other:+44 added−4 removed
Provenance
- Commit
f4f4cc7- Tree
5c364a9- Author
oscabriel <oscarhernandeziv@gmail.com>- Committer
oscabriel <oscarhernandeziv@gmail.com>- Parent 1
3fcdb5c- Parent 2
860cd33
3 files changed+44 added−4 removed
added:docs/adr/0040-a-discussion-is-freeform-and-a-decider-turns-it-into-an-ask.md+36 added
123456789101112131415161718192021222324252627282930313233343536---status: accepted---
# A discussion is freeform, and a decider turns it into an ask
A proposal works for someone who already knows the change they want. Most wants start vaguer than that: a bug half-understood, an idea that needs a maintainer's context, two people who disagree about the right shape. Today that talk has to happen somewhere else, or as proposals that get declined and proposed again. PRODUCT declined discussion threads for the competition window, "not now, not never".
The decision: a project has discussions. A discussion is a public, freeform thread: a title, then posts in Markdown, each by a handle, in order. Anyone signed in and not denounced may open one or post in one. A discussion carries no type, kind, label, vote or reaction, and it lands nothing. The typed part starts when a decider turns a discussion into an ask. One call makes a proposal from the discussion and starts its first draft round (ADR 0018), with the discussion's posts as the want the agent drafts from. From there nothing changes: the decider can draft again with a note, the draft runs red first, and the decider accepts or declines it in Today. Accepting it runs the unchanged `accept`, so the ask opens through the gate like any other.
The details:
- **Credit.** The proposal's proposer is the person who opened the discussion, credited as `Asked-by` when the ask opens. When turning a discussion into an ask, the decider may name participants whose posts shaped it, and they are credited as `Advised-by` on the same landing. The trailer exists already.- **Vouches.** A credited landing counts as the landing a newcomer is welcomed after (ADR 0036). Someone who is not vouched for and is credited on an opening, as `Asked-by` or `Advised-by`, appears in Today's "Newcomers to welcome" with that landing as the vouch line's `for`, as an answerer does. The vouch is still the decider's choice, and its default is no vouch. A project's trust rules may ask for more of the Record before Today offers it.- **The drafter reads the thread as quoted text.** Anyone can post, so anyone can try to steer the agent. The context step puts the discussion's posts in the prompt as quoted content, marked as the words of the named handles and not as instructions, and leaves hidden posts out. Within its byte budget it keeps the opening post and the latest posts. The decider's note, when there is one, is the only instruction beside the platform's own. A draft still lands nothing without a decider, and its check still runs red first on the Checker.- **Moderation.** A denouncement bars posting as well as proposing. A decider of the project may hide a post with a reason: its text leaves every page and the drafter's context, and the thread shows the line in its place ("hidden by kai: off-topic"). A decider may close a discussion with a note, and a discussion turned into an ask closes with a link to its proposal. A discussion with no post for 60 days closes itself. A decider may reopen any closed discussion.- **Rounds stay silent.** A discussion is about a want, before or around an ask. It never attaches to a round or an answer, where the gate's verdict is the only voice.- **The record.** The Project Durable Object keeps each discussion, as it keeps proposals. When a discussion closes, the platform writes it to `refs/discussions/<id>` as one commit that holds its posts, so a clone that fetches the ref carries the talk with the code. Only the platform writes these refs, since a fork takes branches only (Principle 7). Hiding a post in a closed discussion rewrites its ref without the post's text. A clone that fetched the ref before keeps the text, and the Discussion page says so.- **Visibility.** Every discussion is public. A project's layers never reach one: a discussion reads no layer, and the drafter's context step reads none either (ADR 0018).
## Considered Options
- **Typed shaping.** Versioned amendments to a draft, each run red first, with named stances (satisfied, blocking with a reason) put to the decider as evidence, and a decision default that flips to accept once no stance blocks. It would show progress toward consensus as data. It also asks everyone in the talk to work in the gate's terms before anyone knows what the ask is, and stances drift toward a vote count. The decider's draft rounds already climb toward the right check; the talk before them does not need to.- **No discussion at all**, as PRODUCT said for the window. Talk then happens on another site, where none of it reaches the drafter, the credit or a vouch.- **Threads on asks and answers**, as forges do on issues and pull requests. A thread on a round invites review by comment, which a finish replaces, and a thread on an ask duplicates `ask flag`. A discussion may link an ask; it does not hang off one.- **Each post as a commit under the discussion's ref, pushed as it is written.** A clone would carry the live talk, but every post would be a push to Artifacts and an event `OnPush` must recognize and ignore (ADR 0014). Writing the ref once, at close, keeps pushes per discussion to one.- **Votes or reactions on posts or discussions.** A count beside a want is a score by another name, which PRODUCT declines.
## Consequences
- `packages/protocol` gains contracts to open, read, list, post in, hide a post in, close and reopen a discussion, and one for a decider to turn a discussion into a proposal with its first draft round and the handles to credit. The web, the CLI and MCP serve them, so posting becomes one of the web's permitted writes.- The `Proposal` schema gains the discussion it came from and the handles to credit as `Advised-by`. The Lander writes both trailers on the opening.- The drafter's context step gains the discussion's posts as quoted, attributed text, with a test that a hidden post never reaches the prompt and that a post's text is never placed as an instruction.- The vouch file's denouncement reads as barring posts too, with no change to its line.- PRODUCT's "no discussion threads" becomes "no discussion on rounds".- Not built in the competition window; no dependency is added.modified:GLOSSARY.md+6 added-2 removed
53 unmodified lines54 **Refusal**:55 One or more members of the closed, typed union the platform returns instead of landing, all from the cheapest failing stage, each with a reason, a reproducing command, a next step, and whether retrying can help.56 _Avoid_: rejection, error, failure, CI failure57 58+**Discussion**:59+A public, freeform thread in a project, open to anyone not denounced, that lands nothing itself; a decider may turn it into a proposal.60+_Avoid_: issue, forum topic, comments61+62 **Proposal**:59-A request to open an ask, or to flag an existing one, from anyone not denounced; it expires unless a decider accepts it.63+A request to open an ask, or to flag an existing one, from anyone not denounced, or made by a decider from a discussion; it expires unless a decider accepts it.64 _Avoid_: feature request, suggestion65 66 **Draft**:67 An ask file and its check that the platform's agent wrote for a proposal, run red first before it is put to a decider. It lands only when a decider accepts it.79 unmodified lines147 A 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.148 _Avoid_: approval, whitelist, endorsement, trust score149 150 **Denouncement**:147-A 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.151+A line in the project's vouch file that bars a person from making proposals and posting in discussions; it is shown as the line it is, never as a warning beside the person's name.152 _Avoid_: ban, block, flag153 154 **Record**:155 A person's landings by area and kind that stayed unreverted for 30 days, used only for trust rules, never shown as a score.88 unmodified linesmodified:PRODUCT.md+2 added-2 removed
55 unmodified lines56 - **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.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; after the window, posting in a discussion joins them (ADR 0040). 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.63+- **No discussion on rounds, and no reactions anywhere.** The gate's verdict is the only voice on a round. Decided for after the window: a project has freeform discussions, outside the gate, that a decider turns into an ask with the platform's agent (ADR 0040).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.67 57 unmodified lines