Skip to content
Myr

Fix the final review's findings on the redesign

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

Set a decision's choices bar at the foot of the screen on a phone, now the bottom bar is gone; read a page's measure from --measure-page and prose's from --measure, held by design-rules.test.tsx; name the fork-reading, kept-refusal, recent-landings and description fences in AGENTS.md.

authored by oscabriel · committed by oscabriel · parent 13ab53f · Browse files · 24 files+85 added−62 removed
This commit

State

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

Diff stats

24 files+85 added−62 removed

  • tests:+19 added−2 removed
  • other:+66 added−60 removed

24 files+85 added−62 removed

modified:apps/web/src/features/answer/answer-page.tsx+2 added-2 removed
434 unmodified lines
435 "AwaitingDecision",436 "AwaitingFinish",437 "WaitingOnParent",438 ])(verdict.outcome) ? (439 <p className="text-body max-w-[70ch]" data-waiting="">439 <p className="text-body max-w-(--measure)" data-waiting="">440 {waitingSentence(round)}441 </p>442 ) : null}443 <p className="text-ui text-muted-foreground">
18 unmodified lines
462 </Region>463464 {verdict.heldBack.length === 0 ? null : (465 <Region id="answer-held-back" title="Held back">466 <p className="text-ui text-muted-foreground max-w-[70ch]">466 <p className="text-ui text-muted-foreground max-w-(--measure)">467 Checks the answer could not see: how many passed in each area, and the468 root of the suite the project committed to before the claim.469 </p>470 <HeldBackBits results={verdict.heldBack} />
285 unmodified lines
modified:apps/web/src/features/ask/ask-page.tsx+5 added-2 removed
204 unmodified lines
205 ].filter((part) => part !== null);206207 return parts.length === 0 ? null : (208 <Region id="ask-brief" title="Brief">209 <div className="text-body flex max-w-[70ch] flex-col gap-5" data-said="">209 <div210 className="text-body flex max-w-(--measure) flex-col gap-5"211 data-said=""212 >213 {parts}214 </div>215 </Region>216 );
383 unmodified lines
600 >601 <Brief ask={ask} />602603 <Region id="ask-check" title="The check">601 <p className="text-ui max-w-[70ch]">604 <p className="text-ui max-w-(--measure)">605 <CheckSummary ask={ask} />606 </p>607 {check === undefined ? null : <CheckFile source={check} />}608 </Region>
11 unmodified lines
modified:apps/web/src/features/code/commit-view.tsx+1 added-1 removed
406 unmodified lines
407 <div className="flex flex-col gap-4">408 <LandingStatus commit={commit} project={project} />409 {body === "" ? null : (410 <p411 className="text-body max-w-[70ch] [overflow-wrap:anywhere] whitespace-pre-wrap"411 className="text-body max-w-(--measure) [overflow-wrap:anywhere] whitespace-pre-wrap"412 data-body=""413 data-said=""414 >415 {body}
44 unmodified lines
modified:apps/web/src/features/decision/choices.tsx+5 added-4 removed
modified:apps/web/src/features/decision/decision-page.tsx+3 added-3 removed
22 unmodified lines
23import { RefusalView } from "../shared/refusal.tsx";24import { Workspace } from "../shared/shell/workspace.tsx";25import { StatusLine } from "../shared/status-line.tsx";26import { When } from "../shared/time.tsx";27import { stuckAboveBar } from "./choices.tsx";27import { stuckAtFoot } from "./choices.tsx";28import { DecisionCard } from "./decision-card.tsx";29import type { DecideInput } from "./decision-card.tsx";30import { DecisionRead } from "./read.ts";31import type { DecisionPageData, FoundDecision } from "./read.ts";
135 unmodified lines
167 readonly children?: ReactNode;168 readonly id: DecisionId;169 readonly project: ProjectName;170}) => (171 <div className="flex max-w-[70ch] flex-col items-start gap-3">171 <div className="flex max-w-(--measure) flex-col items-start gap-3">172 <p className="text-body">173 Decision <code className="text-mono font-mono">{id}</code> is a choice put174 to {project}&apos;s maintainers: the people its policy names for what it175 is about. A maintainer takes it on their Today, with its evidence and a
77 unmodified lines
253 title={describeSubject(decision.subject)}254 >255 <DecisionCard256 busy={busy}257 choices={stuckAboveBar}257 choices={stuckAtFoot}258 decision={decision}259 expiry={false}260 now={now}261 onDecide={onDecide}
88 unmodified lines
modified:apps/web/src/features/env/env-page.tsx+2 added-2 removed
195 unmodified lines
196 data-sensitive={item.sensitive}197 >198 <ItemLine item={item} now={now} />199 {item.description === undefined || item.description === "" ? null : (200 <p className="max-w-[70ch] text-pretty">{item.description}</p>200 <p className="max-w-(--measure) text-pretty">{item.description}</p>201 )}202 <Definitions label={`Env item ${item.key}`}>203 {item.type === undefined ? null : (204 <Definition term="Type">
23 unmodified lines
228 </li>229);230231const Caption = () => (232 <p className="text-ui text-muted-foreground max-w-[70ch]">232 <p className="text-ui text-muted-foreground max-w-(--measure)">233 Declared in{" "}234 <a className={LINK} href={VARLOCK} rel="noreferrer">235 varlock&apos;s <Code>.env.schema</Code> format236 </a>
114 unmodified lines
modified:apps/web/src/features/explore/explore-page.tsx+1 added-1 removed
169 unmodified lines
170 tabIndex={-1}171 >172 <div className="flex flex-col gap-3">173 <h1 className="text-headline">{EXPLORE_TITLE}</h1>174 <p className="text-body text-muted-foreground max-w-[72ch]">174 <p className="text-body text-muted-foreground max-w-(--measure)">175 <Lede projects={projects} /> Looking for something to work on?{" "}176 <AppLink to={ASKS_PATH}>See every open ask</AppLink>.177 </p>178 </div>
3 unmodified lines
modified:apps/web/src/features/finish/finish-view.tsx+3 added-7 removed
15 unmodified lines
16import { statsOf } from "../code/diff-model.ts";17import { DiffPane, PANE_SCROLLER } from "../code/diff-pane.tsx";18import type { DiffAnnotation, DiffFileSlot } from "../code/diff-view.tsx";19import { shortSha } from "../code/paths.ts";20import {21 Choices,22 DecisionRecord,23 stuckAboveBar,24} from "../decision/choices.tsx";20import { Choices, DecisionRecord, stuckAtFoot } from "../decision/choices.tsx";21import { DecisionCard, ExpiryLines } from "../decision/decision-card.tsx";22import type { DecideInput } from "../decision/decision-card.tsx";23import { describeSubject } from "../decision/subject.ts";24import { CommandLine } from "../shared/command.tsx";
453 unmodified lines
478 "ask" | "failure" | "newerHead" | "onMark" | "verdict"479 >) => (480 <div className={`tablet:hidden flex flex-col gap-6 ${GUTTER}`}>481 {ask === undefined ? null : (486 <p className="text-want max-w-[70ch]" data-said="">482 <p className="text-want max-w-(--measure)" data-said="">483 {ask.brief.want}484 </p>485 )}486 {verdict === undefined ? null : (
12 unmodified lines
499 {newerHead === undefined ? null : <NewerHead head={newerHead} />}500 <Failure>{failure}</Failure>501 <DecisionCard502 busy={busy}507 choices={stuckAboveBar}503 choices={stuckAtFoot}504 decision={decision}505 finishLink={false}506 now={now}507 onDecide={onDecide}
156 unmodified lines
modified:apps/web/src/features/front/front-page.tsx+1 added-1 removed
390 unmodified lines
391 <Workspace392 count={frontCount(shown)}393 crumbs={[{ label: "Asks" }]}394 status={395 <p className="text-want text-muted-foreground max-w-[70ch]">395 <p className="text-want text-muted-foreground max-w-(--measure)">396 {EXPLAINER}397 </p>398 }399 title="Open asks"
48 unmodified lines
modified:apps/web/src/features/import/import-form.tsx+2 added-2 removed
108 unmodified lines
109110 return (111 <section112 aria-label="Sign in to import"113 className="flex max-w-[70ch] flex-col items-start gap-4"113 className="flex max-w-(--measure) flex-col items-start gap-4"114 >115 {prefill === undefined || prefill.url === "" ? null : (116 <dl className="border-rule flex w-full flex-col border-y">117 <div className="flex flex-col gap-0.5 py-2.5">
115 unmodified lines
233234 return (235 <form236 aria-label="Import a repo"237 className="flex max-w-[70ch] flex-col gap-6"237 className="flex max-w-(--measure) flex-col gap-6"238 data-import=""239 onSubmit={(event) => {240 event.preventDefault();241
157 unmodified lines
modified:apps/web/src/features/inbox/decision-sections.tsx+2 added-2 removed
7 unmodified lines
8import { useState } from "react";9import type { ReactNode } from "react";1011import { commitHref, shortSha } from "../code/paths.ts";12import { stuckAboveBar } from "../decision/choices.tsx";12import { stuckAtFoot } from "../decision/choices.tsx";13import { DecisionCard } from "../decision/decision-card.tsx";14import type { DecideInput } from "../decision/decision-card.tsx";15import {16 consequenceOf,
133 unmodified lines
150 id={`here-${key.replace("/", "-")}`}151 >152 <DecisionCard153 busy={props.busy}154 choices={stuckAboveBar}154 choices={stuckAtFoot}155 decision={decision}156 now={props.now}157 onDecide={props.onDecide}158 soon={listed.soon}
289 unmodified lines
modified:apps/web/src/features/inbox/inbox-page.tsx+3 added-3 removed
263 unmodified lines
264 </>265);266267const SignedOutNotice = () => (268 <div className="flex max-w-[70ch] flex-col items-start gap-3">268 <div className="flex max-w-(--measure) flex-col items-start gap-3">269 <p className="text-body">{WHAT_THE_INBOX_IS}</p>270 <p className="text-ui">271 <a className={LINK} href={signInHref(INBOX_PATH)}>272 Sign in
77 unmodified lines
350 meta={<Record handle={read.handle} />}351 status={352 budget === undefined ? undefined : (353 <p354 className="text-want max-w-[70ch]"354 className="text-want max-w-(--measure)"355 data-budget={`${budget.used}/${budget.total}`}356 >357 {budgetSentence(budget)}358 </p>
40 unmodified lines
399 />400 ),401 Refused: ({ refusal }) => (402 <Unlisted>403 <p className="text-body max-w-[70ch]">{WHAT_THE_INBOX_IS}</p>403 <p className="text-body max-w-(--measure)">{WHAT_THE_INBOX_IS}</p>404 <RefusalView refusals={[refusal]} />405 <CommandLine command={`${Brand.cli} status`} />406 </Unlisted>407 ),
11 unmodified lines
modified:apps/web/src/features/ledger/ledger-page.tsx+4 added-4 removed
62 unmodified lines
63export const HeadSentence = ({ ledger }: { readonly ledger: Ledger }) => {64 const { lead, rest } = ledgerHead(ledger);6566 return (67 <p className="text-want max-w-[70ch] text-pretty" data-ledger-head="">67 <p className="text-want max-w-(--measure) text-pretty" data-ledger-head="">68 <Mark69 className="mr-2 inline-block -translate-y-px align-middle"70 look={POSTURE_MARKS[ledger.posture]}71 />
296 unmodified lines
368 title={`Nothing is held back: ${ledger.project} declares no layers, so every file it ships and every check that judges an answer is in its public repo.`}369 />370 ) : (371 <>372 <p className="text-ui text-muted-foreground max-w-[70ch]">372 <p className="text-ui text-muted-foreground max-w-(--measure)">373 Everything on main is public. A layer&apos;s readers clone it with374 git, and none of its files is shown here.375 </p>376 <ul className="flex flex-col gap-6">
17 unmodified lines
394 {areas.length === 0 ? (395 <EmptyState title="No held-back checks: every check that judges an answer is in the public repo." />396 ) : (397 <>398 <p className="text-ui text-muted-foreground max-w-[70ch]">398 <p className="text-ui text-muted-foreground max-w-(--measure)">399 Held-back checks judge every answer in their area, unseen. A landing400 they judged names each area&apos;s root in its <Code>Held-back:</Code>{" "}401 trailer.402 </p>
14 unmodified lines
417 readonly ledger: Ledger;418 readonly now: DateTime.Utc;419}) => (420 <Region id="ledger" title="Ledger">421 <p className="text-ui text-muted-foreground max-w-[70ch]">421 <p className="text-ui text-muted-foreground max-w-(--measure)">422 {`Public and append-only · ${plural(ledger.entries.length, "entry", "entries")}`}423 </p>424 <History ledger={ledger} now={now} />425 </Region>
1 unmodified line
modified:apps/web/src/features/markdown/markdown.tsx+2 added-2 removed
84 unmodified lines
8586const components: Components = { a: Anchor, img: Image };8788const PROSE_BASE = [89 "prose prose-tokens text-body max-w-[70ch] min-w-0",89 "prose prose-tokens text-body max-w-(--measure) min-w-0",90 "prose-headings:font-semibold prose-headings:tracking-[-0.01em]",91 "prose-code:before:content-none prose-code:after:content-none prose-code:font-normal",92 "[&_:not(pre)>code]:bg-surface [&_:not(pre)>code]:text-mono [&_:not(pre)>code]:px-1 [&_:not(pre)>code]:py-px",93 "prose-pre:bg-surface prose-pre:text-foreground prose-pre:border prose-pre:border-rule prose-pre:rounded-none",
60 unmodified lines
154 source,155}: {156 readonly source: string;157}): ReactNode => (158 <pre className="text-mono leading-terminal max-w-[70ch] overflow-x-auto font-mono whitespace-pre-wrap">158 <pre className="text-mono leading-terminal max-w-(--measure) overflow-x-auto font-mono whitespace-pre-wrap">159 {source}160 </pre>161);162
3 unmodified lines
modified:apps/web/src/features/project-people/people-view.tsx+7 added-7 removed
168 unmodified lines
169 const vouched = vouches.filter((line) => !line.denounced);170171 return (172 <Region id="vouching" title="Vouching">173 <p className="max-w-[70ch]">{vouchModes[vouch.mode]}</p>173 <p className="max-w-(--measure)">{vouchModes[vouch.mode]}</p>174 {vouches.length === 0 ? (175 <p className="text-ui">176 <Code>{vouch.file}</Code> vouches for nobody and denounces nobody.177 </p>
54 unmodified lines
232};233234const Agents = ({ policy }: { readonly policy: PublicPolicy }) => (235 <Region id="agents" title="Agents">236 <p className="max-w-[70ch]">236 <p className="max-w-(--measure)">237 {policy.agents === "trailer" ? (238 <>239 Each landing names the agents its people worked through, in an{" "}240 <Code>Assisted-by:</Code> trailer.
74 unmodified lines
315 readonly project: ProjectName;316}) => (317 <>318 {policy.source === "defaults" ? (319 <p className="max-w-[70ch]" data-source="defaults">319 <p className="max-w-(--measure)" data-source="defaults">320 {`This project has no ${PROJECT_FILE}: the person who set it up decides everything, under the platform's defaults.`}321 </p>322 ) : null}323 <Deciders deciders={policy.deciders} />
30 unmodified lines
354 data-unevaluated={pending.reason}355 >356 {pending.reason === "noConfig" ? (357 <>358 <p className="max-w-[70ch] font-medium">358 <p className="max-w-(--measure) font-medium">359 <NotEvaluated at={pending.at} project={project} />360 {": the project has no "}361 <Code>{CONFIG_DIR}</Code>362 {363 " folder, and the defaults need a test command that the platform could not find in its CI or package files."364 }365 </p>366 <p className="text-ui max-w-[70ch]">366 <p className="text-ui max-w-(--measure)">367 {"To make it evaluate, a maintainer lands a "}368 <Code>{PROJECT_FILE}</Code>369 {370 " that names the test command. In a clone, this prints the file the CLI proposes from the repo's own files; add the test command to it, commit it, and land it as the facts say."
4 unmodified lines
375 />376 </>377 ) : (378 <>379 <p className="max-w-[70ch] font-medium">379 <p className="max-w-(--measure) font-medium">380 <NotEvaluated at={pending.at} project={project} />381 {": "}382 <CodeLink to={treeHref(project, pending.at, Brand.configDir)}>383 {CONFIG_DIR}384 </CodeLink>385 {` at ${shortSha(pending.at)} did not evaluate.`}386 </p>387 <p className="text-ui max-w-[70ch]">387 <p className="text-ui max-w-(--measure)">388 {`Fix it by landing a change to ${CONFIG_DIR}.`}389 </p>390 </>391 )}
84 unmodified lines
modified:apps/web/src/features/proposal/proposal-view.tsx+2 added-2 removed
353 unmodified lines
354 ) : (355 <StatusLine subject={{ kind: "proposal", proposal }} />356 )}357 {drafting ? (358 <p className="text-ui text-muted-foreground max-w-[70ch]">358 <p className="text-ui text-muted-foreground max-w-(--measure)">359 The platform&apos;s agent is writing the ask and a check, then running360 the check on main, where it must fail twice the same way. This takes a361 few minutes; the page follows it.362 </p>
22 unmodified lines
385 const kept = proposal.draft !== undefined && failedNow(proposal.draft);386387 if (files.length === 0) {388 return proposal.draft === undefined ? (389 <p className="text-body max-w-[70ch]">389 <p className="text-body max-w-(--measure)">390 A want alone: no ask file or check yet. A maintainer who accepts it391 writes the change it asks for.392 </p>393 ) : null;
90 unmodified lines
modified:apps/web/src/features/propose/propose-view.tsx+2 added-2 removed
82 unmodified lines
83 readonly project: ProjectName;84}) => (85 <section86 aria-label="Sign in to propose"87 className="flex max-w-[70ch] flex-col items-start gap-3"87 className="flex max-w-(--measure) flex-col items-start gap-3"88 >89 <p className="text-body">90 A proposal asks {project} to open an ask nobody wrote yet: a want in your91 words, which the platform&apos;s agent can draft into an ask file and a
64 unmodified lines
156157 return (158 <form159 aria-label="Propose an ask"160 className="flex max-w-[70ch] flex-col gap-6"160 className="flex max-w-(--measure) flex-col gap-6"161 data-propose=""162 onSubmit={(event) => {163 event.preventDefault();164
170 unmodified lines
modified:apps/web/src/features/shared/shell/workspace.tsx+2 added-1 removed
36 unmodified lines
37 readonly quietHead?: boolean;38 readonly children: ReactNode;39}4041/** A page's head, facts, toolbar and document body stop at `--measure-page`. */41export const MEASURE = "max-w-[56rem]";42export const MEASURE = "max-w-(--measure-page)";4344const LONG_TITLE = 80;4546const PageHead = ({
179 unmodified lines
modified:apps/web/src/features/shared/empty.tsx+1 added-1 removed
10 unmodified lines
11 readonly onward?: ReactNode;12 readonly title: string;13}) => (14 <div className="border-rule flex flex-col items-start gap-3 border border-dashed px-4 py-5">15 <p className="text-ui text-foreground max-w-[70ch]">{title}</p>15 <p className="text-ui text-foreground max-w-(--measure)">{title}</p>16 {command === undefined ? null : <CommandLine command={command} />}17 {onward === undefined ? null : (18 <div className="text-ui flex flex-wrap gap-x-4 gap-y-1">{onward}</div>19 )}
2 unmodified lines
modified:apps/web/src/styles.css+10 added-6 removed
366 unmodified lines
367 The four shells' widths (DESIGN.md "Shells"), so a page names a width by368 its job and never as a literal. Static, so each is a variable on :root369 whether or not a utility reads it: `max-w-site`, `max-w-project` and370 `max-w-focus` read the containers, and a column or the measure is read371 as `w-(--column-about)` or `max-w-(--measure)`.371 as `w-(--column-about)`, `max-w-(--measure)` or `max-w-(--measure-page)`.372373 site a centred 1360 px container with 32 px gutters374 project fluid to 1600 px with 28 px gutters; the about column (340 px)375 on Overview and the file tree (280 px) on Code are its only
3 unmodified lines
379 focus one 400 px card380 filters the asks board's filters (240 px), the one side column in the381 site, left of the list382 measure prose stops at 72ch (DESIGN.md allows 72 to 80ch; 72 is the383 docs article's cap, so one measure serves every page)383 docs article's cap, so one measure serves every page's prose)384 measure-page385 a project page's head, facts, toolbar and document body stop386 at 56rem (Workspace), wide enough for a table beside its prose387388 From `columns` (1100 px) a side column stands beside its main column,389 and below it stacks under it; from `nav` (900 px) the top bar's links390 are shown, and below it they fold into a menu.
18 unmodified lines
409 --column-filters: 15rem;410 --gutter-site: 2rem;411 --gutter-project: 1.75rem;412 --measure: 72ch;413 --measure-page: 56rem;414 --top-bar: 3.5rem;415 --toolbar: 2.5rem;416 --tabs: 2.75rem;417 --stick-bar: calc(var(--top-bar) - 1px);
137 unmodified lines
555 @apply bg-background text-foreground font-sans antialiased;556 caret-color: var(--checking);557 }558555 /* On a phone a decision's choices are a bar fixed above the bottom bar556 (decision/choices.tsx): main keeps room for it at its foot, so the557 page's last lines scroll clear of it. */559 /* On a phone a decision's choices are a bar fixed at the foot of the560 screen (decision/choices.tsx): main keeps room for the bar's own height561 at its foot, so the page's last lines scroll clear of it. */562 @media (width < 40rem) {563 main:has([data-choices-bar]) {560 padding-bottom: 10rem;564 padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));565 }566 }567568 ::selection {
162 unmodified lines
modified:apps/web/test/design-rules.test.tsx+16 added
9 unmodified lines
10 STATE_MARKS,11} from "../src/features/shared/marks.tsx";12import { wordTone } from "../src/features/shared/row.tsx";13import { AppShell } from "../src/features/shared/shell/app-shell.tsx";14import { MEASURE } from "../src/features/shared/shell/workspace.tsx";15import { renderAt } from "./render.tsx";1617import styles from "../src/styles.css?raw";18
116 unmodified lines
135 "column-filters",136 "gutter-site",137 "gutter-project",138 "measure",139 "measure-page",140 "top-bar",141 "toolbar",142 "tabs",143] as const;
191 unmodified lines
335 expect(shells).toContain("**A command at most once per screen.**");336 expect(shells).toContain("**Prose stops at 72 to 80ch.**");337 });338339 it("holds a page's document and its prose to the measure tokens, never a literal", () => {340 const literal = /max-w-\[(?:[6-8]\dch|56rem)\]/gu;341342 const found = Object.entries(sources).flatMap(([path, source]) =>343 [...source.matchAll(literal)].map(([width]) => `${path}: ${width}`)344 );345346 expect(found).toStrictEqual([]);347 expect(MEASURE).toBe("max-w-(--measure-page)");348 expect(sources["../src/features/markdown/markdown.tsx"]).toContain(349 "max-w-(--measure)"350 );351 });352353 it("drops the old shell's rail, inspector and bottom bar sections", () => {354 expect(design).not.toMatch(355 /^### (?:Rail|Inspector|Top bar and bottom bar)\b/mu356 );
13 unmodified lines
modified:apps/web/test/markdown.test.tsx+3 added-2 removed
334 unmodified lines
335 expect(classes.has("prose-pre:border-rule")).toBeTruthy();336 expect(classes.has("prose-pre:text-mono")).toBeTruthy();337 });338339 // `--measure` is 72ch, which design-rules.test.tsx holds against DESIGN.md.339 it("keeps lines to 70 characters", () => {340 expect(proseClasses().has("max-w-[70ch]")).toBeTruthy();340 it("keeps lines to the measure", () => {341 expect(proseClasses().has("max-w-(--measure)")).toBeTruthy();342 });343344 // Its `#` is an h2 by then (`rehypeShiftHeadings`), under the page's own h1.345 it("sets its top heading at the title size, under the page's own headline", () => {
35 unmodified lines
modified:AGENTS.md+3 added-3 removed
15 unmodified lines
16| 2 | **Parse at the boundary, trust inside.** Decode every external input (HTTP, git, DO RPC, WebSocket, rule facts, env) with Effect Schema; inside, use branded types (`AskId`, `LandedSha`, `PatchId`). Decode the Worker `env` once, in one Layer. | The Effect diagnostics at error in `tsconfig.base.json`; `anti-slop/no-unknown-parameters`, `anti-slop/no-widen-then-assert` and `anti-slop/require-safety-comment-for-type-assertion`; `apps/platform/test/platform.test.ts` (a bad env fails at start, decoded once in `apps/platform/src/platform.ts`); `apps/platform/test/bindings.test.ts` (the decoded bindings, vars and secrets equal each wrangler.jsonc block's, the `AI` binding, `DRAFT_LIMIT`, `DRAFT_MODEL`, `PUBLIC_WEB_URL` and the code store's `CODE_CACHE` among them, and each port's factory takes its binding as the generated Env types it, without a cast); `packages/project/test/code-history.test.ts` (a kept code-history value is decoded with Schema when read, and one that no longer decodes is computed again); `packages/project/test/code.test.ts` (a kept commit that no longer decodes is computed again); `apps/web/test/dev-fixtures.test.ts` (the dev world's fixture record is decoded through the protocol's schemas when the world is built, so every case reads only a record that decodes); `apps/web/test/server-params.test.ts` (a project route's server handler is handed the project's full name once, as Start's params parse it, never parsed again); `apps/web/test/theme.test.ts` (the theme preference is decoded with Schema when read from `localStorage`, and a value it never wrote, or storage the browser refuses, reads as the system's own) |17| 3 | **Refusals are a closed `Schema.TaggedError` union and a public contract.** Handle them with `Match.exhaustive` or `catchTags`. Each carries a `retryable` and a `next` command fixed per tag, an optional `at`, and no `message` field. A `_tag` is renamed only with an alias. `protocol/render` is the one renderer for git `remote:`, CLI and MCP text. Stage-1 refusals accumulate. | `packages/protocol/test/refusal.test.ts` and `packages/protocol/test/render.test.ts` (every tag, the code reads' and drafting's `UnknownPath`, `UnknownRevision`, `UnknownProposal`, `ProposalClosed` and `DraftInProgress` included; a limit's refusal names its kind and its wait, and a ref outside `refs/heads/` reads as one the platform writes); `packages/agent-kit/test/full-llms.test.ts` (every tag in the union has a row in `/llms-full.txt`); `packages/protocol/test/mcp.test.ts` (a refusal from tools/call keeps its tag); `anti-slop-effect/prefer-effect-match` and `anti-slop-effect/no-manual-tag-comparison`; `packages/gate/test/shape.test.ts` (one push hears every stage-1 refusal at once); `apps/platform/test/mcp.test.ts` (each refusing MCP contract comes back as its exact refusal, `draftAsk`, `showProposal` and a code read's `UnknownPath` included); `apps/platform/test/workflows/draft.test.ts` (past the draft limit, `CapReached`); `apps/cli/test/policy.test.ts`; `apps/cli/test/local/check.test.ts` (the local check gives the gateway's stage-1 refusals for the same commit); `packages/protocol/test/exit-code.test.ts` (each tag's CLI exit code is pinned, 75 exactly when it is retryable); `packages/config/test/legacy-projects.test.ts` (the same alias rule for a project's address: the forty projects made before owners keep their keys as aliases of their full names, the two examples and the import plan's, each key and each name once) |18| 4 | **One schema, many surfaces.** Change `packages/protocol`; every surface derives from it. Projections live only in `apps/*/src/surfaces.ts`. The CLI's command list is `commandDocs` in `@repo/agent-kit`, which the platform's skill, the CLI's MCP prompt and the web's `llms.txt` all read. | `apps/cli/test/commands-doc.test.ts` (the command list against the real CLI's commands, flags and positionals, `policy`, `ask draft` and `proposal` included); `packages/protocol/test/mcp.test.ts` (every MCP tool's schemas, with no JSON Schema leak, the policy and drafting contracts included; the five capped code reads are tools, `showCommit` and `listPaths` are not); `packages/agent-kit/test/install-channels.test.ts` and `apps/web/test/agents.test.tsx` (every snippet, command and link on the Install page is `@repo/agent-kit`'s, and the old `/agents` answers a 301 to `/install`); `packages/agent-kit/test/docs.test.ts` and `apps/web/test/docs.test.tsx` (the `/docs` pages name only the CLI's commands with flags each takes and link only to pages that exist, the reference lists every command, refusal, event, MCP tool, limit, endpoint and imported project from its source, and the web draws each page and its Markdown from that one text); `apps/web/test/llms.test.ts` (`/` and `/<project>` asked for Markdown answer with the `llms.txt` texts, and their HTML names that Markdown as an alternate); `packages/agent-kit/test/full-llms.test.ts` (one `ProjectEvent` line per tag); `apps/platform/test/home.test.ts` (the platform's `/` in Markdown is the web's `llms.txt`, one text from `@repo/agent-kit`); `packages/protocol/test/project-name.test.ts` (`ProjectName` is the one parser of a project's name for every surface: lowercase, a legacy key read as its full name, encoded only in the full form, and a key that reads back to its name); per-package `allowedUnstableApis` with `unstableApiUsage` at error |19| 5 | **The name lives only in `packages/brand`.** Internal packages use `@repo/*`. DO classes, Workflows, queues and databases carry job names. | `brand:check` (`scripts/brand.ts`, tested by `packages/brand/test/leaks.test.ts`); `apps/web/test/shell.test.tsx` (the footer's wordmark is `Brand.domain`, read from `@repo/brand`, never typed) |20| 6 | **Pure core, thin hosts.** Only `@repo/artifacts` calls Artifacts. Each beta dependency sits behind one job-named port with a `/memory` adapter in the owning package. Apps import packages only. Worker code stays free of `node:child_process`, `@effect/platform-bun` and OpenTUI. `rules` and `gate` run in both Workers and Bun. `alchemy/*` stays in `infra/`. No module-level mutable state in a package's `src/`. | Scoped `allowedUnstableApis`; `packages/artifacts/test/repo-host-contract.ts` (one RepoHost contract every adapter passes); `apps/platform/test/bindings.test.ts` and `apps/platform/test/worker-init.test.ts` (the Worker starts on its real adapters, composed in `apps/platform/src/ports.ts`); `apps/platform/test/router-build.test.ts` (both handlers are built when the Worker module loads, with no binding touched, and a layer that awaits a promise while it is built is refused there); `apps/web/test/production-bundle.test.ts` (no dev-world module in the web's production build, and no chunk every page preloads holds the Markdown renderer, under a gzip ceiling); `packages/config/test/cartridge.test.ts` (the visibility cartridge is plugged in by one marked line and reached by nothing else, so removing it is a deletion); `packages/drafting/test/memory.test.ts` (the `Drafter` port's `/memory` adapter, `packages/drafting/src/drafter/memory.ts`) and `packages/drafting/test/binding.test.ts` (its Workers AI adapter over the `AI` binding); `apps/platform/test/mailer.test.ts` (sign-in's `Mailer` port, its `/memory` adapter and its Email Service adapter over the `EMAIL` binding); `packages/project/test/code-store.test.ts` (the `CodeStore` port's `/memory` adapter, `packages/project/src/code-store/memory.ts`, and its R2 adapter over `CODE_CACHE`, whose failures are misses, never the read's); `apps/platform/test/code-reads.test.ts` and `apps/web/test/dev-backend.test.ts` (the platform and the web's dev world answer the code reads and raw files alike, both through `@repo/project/code`); `packages/project/test/standing-posture.test.ts` (one helper, `withStandingPosture`, gives a listing each project's own posture, for the platform and the web's dev world alike, through the `StandingPostures` port whose default keeps nothing; its D1 adapter is the platform's); `apps/web/test/seeded.test.tsx` (a loader's read seeds a registry of its own page and leaves the registry every request shares as it was); `apps/web/test/shell.test.tsx` (no plain anchor between the web's pages: every link is the router's). No fence: import direction and module-level state |21| 7 | **Deny by default for visibility.** Land the answer's tree, never the composed tree. Nothing from a layer enters a public tree. Snapshot before held-back files are written. Public-serving Workers have no private-namespace binding. Public commits, trailers, notes and errors name public paths only. | `PrivatePathInPublicTree`, one rule for the gate's stage 1 and the landing guard (`packages/gate/test/shape.test.ts`, `packages/visibility/test/guards.test.ts`); `apps/platform/test/visibility/layer-gateway.test.ts` (only a layer's readers clone it, every read is logged, a fork push cannot carry its paths); `apps/sandbox/test/held-back.test.ts` (egress off and the snapshot taken before any sealed file is written; one bit per area, no output); `apps/platform/test/visibility/held-back.test.ts` (the `Held-back:` trailer, the landing guards, no stored value in a note or a kept log); `apps/platform/test/bindings.test.ts`; `apps/sandbox/test/checker.test.ts` (no snapshot once the held-back slot is reached); `apps/web/test/env.test-d.ts` (the web's Env has no private-namespace, Artifacts or `CODE_CACHE` binding) and `apps/platform/test/env.test-d.ts` (only the platform's has both); `packages/project/test/code-raw.test.ts` and `apps/platform/test/raw.test.ts` (raw bytes under `nosniff` and the sandboxing CSP, refusals included); `apps/platform/test/code-reads.test.ts` (no code read's payload names a repo); `packages/project/test/code-history.test.ts` (the code store is keyed under the project's canonical repo alone and holds no landing); `apps/platform/test/w9-contracts.test.ts` (`projectPolicy` answers without the policy's layers or asks, and `packages/config/test/cartridge.test.ts` keeps the cartridge removable); `packages/drafting/test/prompt.test.ts` (a draft's prompt never carries a layer's name, repo, reason or paths); `apps/web/test/markdown.test.tsx` (a README's script, handlers, unsafe URLs, iframes, styles and forms never reach the page); `apps/platform/test/gateway.test.ts` and `packages/gate/test/parse.test.ts` (a fork takes branches only: its notes, tags and the platform's refs are refused); `apps/platform/test/visibility/posture-listing.test.ts` and `apps/platform/test/home.test.ts` (the project list and the platform's `/` show the posture the project's ledger shows); `apps/web/test/landing.test.tsx` (the landing's latest landings name each by its project, and a refused answer by its tag and its area alone, never a check's name, suite, lane, path or log) and `apps/web/test/explore.test.tsx` (each project's card shows the posture its listing gives); `apps/web/test/ledger.test.tsx` (the Visibility tab's ledger adds no path, check name or file name, and the tab's views import nothing from the visibility cartridge) and `apps/web/test/env.test.tsx` (its Environment shows no value and no control to set or read one, and the old `/env` and `/ledger` answer a 301 to the tab); `apps/web/test/home.test.tsx`, `apps/web/test/today.test.tsx` and `apps/web/test/edge-cache.test.ts` (`/inbox` is read with the reader's own session and kept by no cache, and the old `/home` and `/today` answer a 301 to it); `apps/web/test/theme.test.ts` and `apps/web/test/settings.test.tsx` (the theme preference lives in `localStorage` and never in a cookie, so it makes no page personal); `apps/platform/test/pages.test.ts` (the sign-in page, as an MCP client's consent, escapes every value a client supplies, and every sign-in form shown again escapes what the person typed); `apps/platform/test/oauth.test.ts` (no account is written, and no grant given, until its email is proved by a mailed code, and a password reset reads the same for an address no account has); `apps/platform/test/gateway-owner.test.ts` (the gateway reads a full name, a source path, a legacy key or a fork's address to the repo its project's key names, and an owner alone or a name under a page's word to none) |22| 8 | **Deterministic and idempotent.** Rule evaluation sees frozen time and randomness and only injected facts. Re-running an operation converges. Check results are keyed by (tree SHA, check version), push events deduped by (repo, sha), and land requests carry a `requestId`. | `globalDate`, `globalRandom`, `globalTimers` and `cryptoRandomUUID` at error, with their in-Effect twins; `packages/rules/test/replay.test.ts`; `packages/project/test/project-store.contract.ts`; `packages/project/test/claim.model.test.ts` and `packages/project/test/landing.model.test.ts`; `apps/platform/test/workflows/answer.test.ts`; `apps/platform/test/workflows/on-push.test.ts`; `apps/platform/test/core-loop.test.ts`; `apps/platform/test/workflows/draft.test.ts` (a replayed draft round asks the model nothing more, and each round is its own instance); `packages/project/test/code.test.ts` (code reads cached by object id, only once finished, while `main` resolves every time, and a commit's diff kept by its SHA without its landing); `packages/project/test/drafting.model.test.ts` (a settle of a stale round changes nothing); `packages/project/test/import.test.ts` (a retried import adopts the repo it made, and a retried import keeps its source); `packages/project/test/code-history.test.ts` (a why and a path's history are kept by commit, path hash and algorithm version, and the store, a step from a kept ancestor and a whole walk agree); `packages/config/test/smoke-loop.test.ts` (smoke's throwaway project is in the ledger before init makes it, and a taken name stops before anything is made); `apps/web/test/events.test.ts` (the web's fold of a project's events gives the same map when an event is heard twice or out of order, and a replay that already holds a landing stamps nothing); `packages/project/test/standing-posture.test.ts` (a kept posture is read again only for the project whose event the projection applied, or once its instant has come). No fence: one push deduped by (repo, sha) across the gateway's record and OnPush's |20| 6 | **Pure core, thin hosts.** Only `@repo/artifacts` calls Artifacts. Each beta dependency sits behind one job-named port with a `/memory` adapter in the owning package. Apps import packages only. Worker code stays free of `node:child_process`, `@effect/platform-bun` and OpenTUI. `rules` and `gate` run in both Workers and Bun. `alchemy/*` stays in `infra/`. No module-level mutable state in a package's `src/`. | Scoped `allowedUnstableApis`; `packages/artifacts/test/repo-host-contract.ts` (one RepoHost contract every adapter passes); `apps/platform/test/bindings.test.ts` and `apps/platform/test/worker-init.test.ts` (the Worker starts on its real adapters, composed in `apps/platform/src/ports.ts`); `apps/platform/test/router-build.test.ts` (both handlers are built when the Worker module loads, with no binding touched, and a layer that awaits a promise while it is built is refused there); `apps/web/test/production-bundle.test.ts` (no dev-world module in the web's production build, and no chunk every page preloads holds the Markdown renderer, under a gzip ceiling); `packages/config/test/cartridge.test.ts` (the visibility cartridge is plugged in by one marked line and reached by nothing else, so removing it is a deletion); `packages/drafting/test/memory.test.ts` (the `Drafter` port's `/memory` adapter, `packages/drafting/src/drafter/memory.ts`) and `packages/drafting/test/binding.test.ts` (its Workers AI adapter over the `AI` binding); `apps/platform/test/mailer.test.ts` (sign-in's `Mailer` port, its `/memory` adapter and its Email Service adapter over the `EMAIL` binding); `packages/project/test/code-store.test.ts` (the `CodeStore` port's `/memory` adapter, `packages/project/src/code-store/memory.ts`, and its R2 adapter over `CODE_CACHE`, whose failures are misses, never the read's); `apps/platform/test/code-reads.test.ts` and `apps/web/test/dev-backend.test.ts` (the platform and the web's dev world answer the code reads and raw files alike, both through `@repo/project/code`); `packages/project/test/standing-posture.test.ts` (one helper, `withStandingPosture`, gives a listing each project's own posture, for the platform and the web's dev world alike, through the `StandingPostures` port whose default keeps nothing; its D1 adapter is the platform's); `packages/project/test/description.test.ts` and `packages/project/test/description-d1.test.ts` (the `ProjectDescriptions` port's `/memory` adapter, `packages/project/src/description/memory.ts`, and its D1 adapter, whose unreadable rows and missing table are misses); `apps/web/test/seeded.test.tsx` (a loader's read seeds a registry of its own page and leaves the registry every request shares as it was); `apps/web/test/shell.test.tsx` (no plain anchor between the web's pages: every link is the router's). No fence: import direction and module-level state |21| 7 | **Deny by default for visibility.** Land the answer's tree, never the composed tree. Nothing from a layer enters a public tree. Snapshot before held-back files are written. Public-serving Workers have no private-namespace binding. Public commits, trailers, notes and errors name public paths only. | `PrivatePathInPublicTree`, one rule for the gate's stage 1 and the landing guard (`packages/gate/test/shape.test.ts`, `packages/visibility/test/guards.test.ts`); `apps/platform/test/visibility/layer-gateway.test.ts` (only a layer's readers clone it, every read is logged, a fork push cannot carry its paths); `apps/sandbox/test/held-back.test.ts` (egress off and the snapshot taken before any sealed file is written; one bit per area, no output); `apps/platform/test/visibility/held-back.test.ts` (the `Held-back:` trailer, the landing guards, no stored value in a note or a kept log); `apps/platform/test/bindings.test.ts`; `apps/sandbox/test/checker.test.ts` (no snapshot once the held-back slot is reached); `apps/web/test/env.test-d.ts` (the web's Env has no private-namespace, Artifacts or `CODE_CACHE` binding) and `apps/platform/test/env.test-d.ts` (only the platform's has both); `packages/project/test/code-raw.test.ts` and `apps/platform/test/raw.test.ts` (raw bytes under `nosniff` and the sandboxing CSP, refusals included); `apps/platform/test/code-reads.test.ts` (no code read's payload names a repo); `packages/project/test/code-history.test.ts` (the code store is keyed under the project's canonical repo alone and holds no landing); `apps/platform/test/w9-contracts.test.ts` (`projectPolicy` answers without the policy's layers or asks, and `packages/config/test/cartridge.test.ts` keeps the cartridge removable); `packages/drafting/test/prompt.test.ts` (a draft's prompt never carries a layer's name, repo, reason or paths); `apps/web/test/markdown.test.tsx` (a README's script, handlers, unsafe URLs, iframes, styles and forms never reach the page); `apps/platform/test/gateway.test.ts` and `packages/gate/test/parse.test.ts` (a fork takes branches only: its notes, tags and the platform's refs are refused); `packages/protocol/test/fork-address.test.ts` (a fork's address is a closed parse that never joins text into a ref path), with `packages/project/test/code.test.ts` and `apps/platform/test/code-reads.test.ts` (a fork is read only at the address of a claim fork the project lists, and a layer's repo, an unlisted fork or a repo's name is `UnknownRevision`); `packages/protocol/test/recent-landing.test.ts` and `packages/project/test/recent-landings-d1.test.ts` (a kept refusal is its tag and area alone); `apps/platform/test/visibility/posture-listing.test.ts` and `apps/platform/test/home.test.ts` (the project list and the platform's `/` show the posture the project's ledger shows); `apps/web/test/landing.test.tsx` (the landing's latest landings name each by its project, and a refused answer by its tag and its area alone, never a check's name, suite, lane, path or log) and `apps/web/test/explore.test.tsx` (each project's card shows the posture its listing gives); `apps/web/test/ledger.test.tsx` (the Visibility tab's ledger adds no path, check name or file name, and the tab's views import nothing from the visibility cartridge) and `apps/web/test/env.test.tsx` (its Environment shows no value and no control to set or read one, and the old `/env` and `/ledger` answer a 301 to the tab); `apps/web/test/home.test.tsx`, `apps/web/test/today.test.tsx` and `apps/web/test/edge-cache.test.ts` (`/inbox` is read with the reader's own session and kept by no cache, and the old `/home` and `/today` answer a 301 to it); `apps/web/test/theme.test.ts` and `apps/web/test/settings.test.tsx` (the theme preference lives in `localStorage` and never in a cookie, so it makes no page personal); `apps/platform/test/pages.test.ts` (the sign-in page, as an MCP client's consent, escapes every value a client supplies, and every sign-in form shown again escapes what the person typed); `apps/platform/test/oauth.test.ts` (no account is written, and no grant given, until its email is proved by a mailed code, and a password reset reads the same for an address no account has); `apps/platform/test/gateway-owner.test.ts` (the gateway reads a full name, a source path, a legacy key or a fork's address to the repo its project's key names, and an owner alone or a name under a page's word to none) |22| 8 | **Deterministic and idempotent.** Rule evaluation sees frozen time and randomness and only injected facts. Re-running an operation converges. Check results are keyed by (tree SHA, check version), push events deduped by (repo, sha), and land requests carry a `requestId`. | `globalDate`, `globalRandom`, `globalTimers` and `cryptoRandomUUID` at error, with their in-Effect twins; `packages/rules/test/replay.test.ts`; `packages/project/test/project-store.contract.ts`; `packages/project/test/claim.model.test.ts` and `packages/project/test/landing.model.test.ts`; `apps/platform/test/workflows/answer.test.ts`; `apps/platform/test/workflows/on-push.test.ts`; `apps/platform/test/core-loop.test.ts`; `apps/platform/test/workflows/draft.test.ts` (a replayed draft round asks the model nothing more, and each round is its own instance); `packages/project/test/code.test.ts` (code reads cached by object id, only once finished, while `main` resolves every time, and a commit's diff kept by its SHA without its landing); `packages/project/test/drafting.model.test.ts` (a settle of a stale round changes nothing); `packages/project/test/import.test.ts` (a retried import adopts the repo it made, and a retried import keeps its source); `packages/project/test/code-history.test.ts` (a why and a path's history are kept by commit, path hash and algorithm version, and the store, a step from a kept ancestor and a whole walk agree); `packages/config/test/smoke-loop.test.ts` (smoke's throwaway project is in the ledger before init makes it, and a taken name stops before anything is made); `apps/web/test/events.test.ts` (the web's fold of a project's events gives the same map when an event is heard twice or out of order, and a replay that already holds a landing stamps nothing); `packages/project/test/standing-posture.test.ts` (a kept posture is read again only for the project whose event the projection applied, or once its instant has come); `packages/project/test/recent-landings-d1.test.ts` (the same rows heard again change nothing, and at most `RECENT_LANDINGS_CAP` rows are kept); `packages/project/test/description.test.ts` (a landed project is read once while its last landing stands). No fence: one push deduped by (repo, sha) across the gateway's record and OnPush's |23| 9 | **Effect v4 only.** Read `node_modules/effect/src` as API truth. Off limits: `effect/unstable/*`, v3 `@effect/platform` and `@effect/cli`, and `effect/workflow` or `effect/cluster` on Workers. | `outdatedApi`; `no-restricted-imports` |24| 10 | **Escapes need a reason.** Every `oxlint-disable`, `@effect-diagnostics` or `@ts-expect-error` carries its reason after `--`, and is added only where no idiomatic code does the job. | `check` fails on an unused directive. No fence: the reason |25| 11 | **`bun run verify` is the authority.** Deploy only to an explicit stage, after `verify`, with smoke after. A red gate is fixed, never deployed around. | `packages/config/test/verify.test.ts` (verify's steps); `infra/deploy.ts` refuses without a known stage, runs `verify` first and `scripts/smoke.ts` after (`packages/config/test/deploy.test.ts`, `packages/config/test/smoke.test.ts`), and refuses every deploy while `infra/.recording` is there (`packages/config/test/recording.test.ts`) |26| 12 | **Lifecycles are pure transitions.** `transition(state, command, now)`. Per DO call: hydrate, transition, persist, settle. Deadlines run on DO alarms. Call them lifecycles. | `globalTimers` and `globalTimersInEffect`; `packages/project/test/claim.model.test.ts` and `packages/project/test/landing.model.test.ts` (model tests over effect/Arbitrary histories, each seen catching its planted bug); `packages/project/test/drafting.model.test.ts` (a proposal's `DraftCommand.DraftStarted` and `DraftSettled` over generated histories; a Ready round's files survive a later failed round); `apps/platform/test/project-do.test.ts`. No fence: `Effect.sleep` and `Effect.delay` in `packages/project/src` |
113 unmodified lines
modified:DESIGN.md+3 added-2 removed
123 unmodified lines
124 column-docs-nav: "15rem"125 column-docs-toc: "13.75rem"126 column-filters: "15rem"127 measure: "72ch"128 measure-page: "56rem"129 top-bar: "3.5rem"130 toolbar: "2.5rem"131 tabs: "2.75rem"132 row-phone: "88px"
259 unmodified lines
392393- **No global left rail.** The project list moves to Explore and the account menu; a project's navigation is its tabs.394- **No generic right rail.** A side column exists only where it holds facts about what is on screen (a project's about column, a doc's headings), 220 to 340 px wide, and stacks under 1100 px. The asks board's filters are the one column that is not facts: they narrow the list beside them, and stand above it under 1100 px.395- **A command at most once per screen.** As content, a command sits in a popover, a single strip or a card. Never a column of code blocks.395- **Prose stops at 72 to 80ch.** Lists and tables run to the container; prose, a README and a doc's article stop at `--measure` (72ch).396- **Prose stops at 72 to 80ch.** Lists and tables run to the container; prose, a README and a doc's article stop at `--measure` (72ch). A project page's head, facts, toolbar and document body stop at `--measure-page` (56rem), so its prose and the table beside it share one edge.397398### Inside a page3994001. **Top bar**, sticky (below).
188 unmodified lines
589## Do's and Don'ts590591### Do:592592- **Do** name exactly one shell per route, and read every width from its token (`max-w-site`, `w-(--column-about)`, `max-w-(--measure)`).593- **Do** name exactly one shell per route, and read every width from its token (`max-w-site`, `w-(--column-about)`, `max-w-(--measure)`, `max-w-(--measure-page)`).594- **Do** draw rows, status lines, the fan, refusals, credit, held-back lines, posture, outcomes and stages with the shared components; change the component, not a page's copy of it.595- **Do** show the command for every action once, its text in the DOM, through `CommandLine` or `CopyAction`.596- **Do** carry every state as a mark, then a word, then a colour, and key tests and styles on the `data-*` attribute that names it.597- **Do** link between pages with `AppLink`, and read a list's rows in its loader so they arrive in the HTML.
23 unmodified lines