Skip to content
Myr

Say a legacy project keeps its one-word skill key, spell <owner>/<name> in the CLI's and front page's hints and in the comments, and keep the naming rule in the Run a project guide alone

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

authored by oscabriel · committed by oscabriel · parent 73eb6d5 · Browse files · 29 files+36 added−35 removed
This commit

State

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

Diff stats

29 files+36 added−35 removed

  • tests:+11 added−11 removed
  • other:+25 added−24 removed

29 files+36 added−35 removed

modified:apps/cli/src/hook/facts.ts+1 added-1 removed
modified:apps/cli/src/local/stale.ts+1 added-1 removed
1/**2 * Stale generated files in a working copy: the project's3 * contribute skill (`.agents/skills/<project>-contribute/SKILL.md` and its3 * contribute skill (`.agents/skills/<key>-contribute/SKILL.md` and its4 * `.claude/skills/` copy) and the block in its AGENTS.md, regenerated here5 * with `@repo/agent-kit` from the policy at `main` and compared with what is6 * on disk. The platform lands them again whenever the config changes what7 * they say, so a copy that differs was generated for an older config, or
79 unmodified lines
modified:apps/cli/src/render.ts+3 added-3 removed
325 unmodified lines
326 ...(page.decisions.length === 0327 ? []328 : [329 prose(330 `Take one with \`${Brand.cli} decide --project <project> --decision <decision> --choice <choice> --yes\`.`330 `Take one with \`${Brand.cli} decide --project <owner>/<name> --decision <decision> --choice <choice> --yes\`.`331 ),332 ])333 )334);
91 unmodified lines
426427/**428 * Why the config at the landed commit has not evaluated, and the step that429 * makes it, as a terminal's lines. The view sees only the success, which430 * names no project, so the command names it as `<project>`.430 * names no project, so the command names it as `<owner>/<name>`.431 */432const pendingText = ({ at, reason }: PolicyPending) => {433 const notEvaluated = `The config at the landed commit ${short(at)} has not been evaluated`;434435 return reason === "noConfig"436 ? [437 `${notEvaluated}: there is no ${Brand.configDir}/ folder, and no test command in the project's CI or package files.`,438 `Run \`${Brand.cli} init --project <project> --dry-run\` in the project's repo to see the ${PROJECT_FILE} it proposes, then have a decider land it.`,438 `Run \`${Brand.cli} init --project <owner>/<name> --dry-run\` in the project's repo to see the ${PROJECT_FILE} it proposes, then have a decider land it.`,439 ]440 : [441 `${notEvaluated}: ${Brand.configDir}/ at ${short(at)} did not evaluate.`,442 `Fix it by landing a change to ${Brand.configDir}/; it is evaluated again at every landing.`,
140 unmodified lines
modified:apps/cli/test/policy-view.test.ts+2 added-2 removed
141 unmodified lines
142 const lines = linesOf(textOf(noConfig));143144 expect(lines).toStrictEqual([145 `The config at the landed commit ${sha.slice(0, 7)} has not been evaluated: there is no ${Brand.configDir}/ folder, and no test command in the project's CI or package files.`,146 `Run \`${Brand.cli} init --project <project> --dry-run\` in the project's repo to see the ${Brand.configDir}/project.ts it proposes, then have a decider land it.`,146 `Run \`${Brand.cli} init --project <owner>/<name> --dry-run\` in the project's repo to see the ${Brand.configDir}/project.ts it proposes, then have a decider land it.`,147 ]);148 });149150 it("names init with --project in the Markdown form too, without the page's clone sentence", () => {151 const view = Option.getOrThrow(views.projectPolicy(noConfig));152153 for (const form of [view.markdown, view.text ?? ""]) {154 expect(form).toContain(155 `\`${Brand.cli} init --project <project> --dry-run\``155 `\`${Brand.cli} init --project <owner>/<name> --dry-run\``156 );157 expect(form.toLowerCase()).not.toContain("in a clone");158 }159 });
86 unmodified lines
modified:apps/platform/src/workflows/generated.ts+1 added-1 removed
1/**2 * The platform's generator for a project's own agent files:3 * the contribute skill (`.agents/skills/<project>-contribute/SKILL.md`3 * the contribute skill (`.agents/skills/<key>-contribute/SKILL.md`4 * and its `.claude/skills/` copy) and the block in the project's AGENTS.md,5 * from `@repo/agent-kit`, which `@repo/project` may not import.6 *7 * The Project DO runs it after any landing that moved its landed SHA
34 unmodified lines
modified:apps/platform/src/well-known.ts+3 added-2 removed
1/**2 * The projects' contribute skills where agents look for skills:3 * `/.well-known/agent-skills/index.json`, in the Agent Skills discovery shape4 * (`wellKnownSkills`), lists every project whose landed tree holds5 * `.agents/skills/<project>-contribute/SKILL.md`, with the SHA-256 of the6 * file's bytes, and `/.well-known/agent-skills/<project>-contribute/SKILL.md`5 * `.agents/skills/<key>-contribute/SKILL.md` (the project's key), with the6 * SHA-256 of the file's bytes, and7 * `/.well-known/agent-skills/<key>-contribute/SKILL.md`8 * serves that file as it landed. Nothing is generated here: the platform serves9 * what landed (a follow-up landing lands the regenerated skill). The web host10 * forwards these paths unchanged, and the index's URLs are path-absolute, so11 * they work on either host.
315 unmodified lines
modified:apps/web/src/features/agents/llms.ts+1 added-1 removed
modified:apps/web/src/features/finish/finish-view.tsx+1 added-1 removed
14 unmodified lines
15 * diff stays as it was until the reader reloads it.16 *17 * What the page reads from the decision's evidence: `patch`, the answer's18 * unified diff, and `fork`, the name of the answer's fork19 * (`<project>--<ask>--<handle>`), where a finish fetches the head and pushes19 * (`<key>--<ask>--<handle>`), where a finish fetches the head and pushes20 * its commits. Without a patch the page shows the lines and no diff;21 * without a fork it names the fork by the claim fork's pattern and leaves22 * the answerer's handle for the decider to fill in. The web never calls23 * `finish` itself.
692 unmodified lines
modified:apps/web/src/features/front/facts.tsx+1 added-1 removed
78 unmodified lines
79 <FactBlock label="Take an ask">80 <Step command={installCommand(webUrl)} label="Install the command line" />81 <Step command={`${Brand.cli} front`} label="List every open ask" />82 <Step83 command={`${Brand.cli} claim <ask> --project <project>`}83 command={`${Brand.cli} claim <ask> --project <owner>/<name>`}84 label="Claim one you may take"85 />86 <ForAgents href="/llms.txt" />87 </FactBlock>
169 unmodified lines
modified:apps/web/src/server/llms.ts+2 added-2 removed
1/**2 * The agents' indexes as handlers of a request, each a function of its3 * client and the platform's URL: `/llms.txt` for the platform and4 * `/<project>/llms.txt` for one project. Their routes serve them, and the4 * `/<owner>/<name>/llms.txt` for one project. Their routes serve them, and the5 * front page and a project's page answer a request for Markdown with them,6 * so the text is written once.7 */8import { Client } from "@repo/protocol/contracts";
41 unmodified lines
5051const decodeProject = Schema.decodeUnknownOption(ProjectName);5253/**54 * `/<project>/llms.txt`: one project for an agent, as the platform lists54 * `/<owner>/<name>/llms.txt`: one project for an agent, as the platform lists55 * it, with its open asks. A name the platform does not list is not found.56 */57export const projectLlmsHandler =58 (clientFor: ClientFor, platformUrl: string) =>
55 unmodified lines
modified:apps/web/test/front.test.tsx+1 added-1 removed
524 unmodified lines
525 expect(526 [527 "Start here",528 `curl -fsSL ${webUrl}/install.sh | sh`,529 `${Brand.cli} claim <ask> --project <project>`,529 `${Brand.cli} claim <ask> --project <owner>/<name>`,530 ].filter((words) => !text.includes(words))531 ).toStrictEqual([]);532 expect(facts).toContain('href="/llms.txt"');533 expect(facts).toMatch(
192 unmodified lines
modified:infra/stages.md+1 added-1 removed
16 unmodified lines
17## 1. Stages1819| Stage | What it is for | State on 2026-10-08 |20| --- | --- | --- |21| `dev-oscabriel` | One person's iteration. Deploy it as often as you like. | Bootstrapped 2026-10-07 and deployed (platform, sandbox, web). Re-checked 2026-10-08: bootstrap created nothing, and the platform holds every required secret. The feature-frozen build was deployed at 14:51 UTC on 2026-10-08, and the whole core loop (`bun scripts/smoke.ts --stage dev-oscabriel --loop`) passed on it twice in a row. **W9** (2026-10-09): deployed at 06:41 UTC (`a4543f6`), 06:57 (`177ee96`, the code cache fix) and 07:12 UTC (`ecc2107`, the drafter fix), smoke 8 of 8 each time (`platform-root` included). The deployed-web checks pass on datekit (12 of 12) and on burrow (11 of 12: burrow has no answer landing on dev, so `why.e2e.ts` has no ask to name). `smoke --loop --draft` passed once at 07:15 UTC on `smoke-20261009-071255`: `@cf/moonshotai/kimi-k2.7-code`, red first on attempt 1 of 3, 59 s from proposal to draft, 160 s for the whole loop; estimated Workers AI cost about $0.01 per attempt (about 1.6k tokens in and 1 to 2k out, 480 to 750 neurons on the same call replayed). Eight open-source repos imported and kept from 07:35 UTC (issue 915; [Imported projects (kept)](#imported-projects-kept)); redeployed at 08:01 (`73adbab`) and 08:06 UTC (`a29af4e`) for the history-read fixes, smoke 8 of 8 each time; and at 08:45 UTC (`009640c`, the wave's close-out: the sign-in link without its `#fragment`, a README's `<style>` dropped whole, admission ids under long names, the people page's disclosure words), smoke 8 of 8. Demo was not redeployed for it: none of those changes what demo's pages or the take need. **W10** (2026-10-09): bootstrap made `code-cache-dev-oscabriel` at 18:54 UTC (a second run made nothing); deployed at 18:55 (`bd3598e`, the W10 build), 19:12 (`c0fe1c5`, trees kept in the code store, reverted by `2421226` after it slowed a repo's first walk), 19:24 (`8310fed`, a small file's history read whole at each commit), 19:31 (`69fe19f`), 19:36 and 19:38 UTC (`e90a730`, the second only to start every isolate afresh), smoke 8 of 8 each time; verify's bytes on `e90a730`: platform entry 1,679,621 of 1,900,000, sandbox 570,582 of 656,000, web entry 710,962 of 818,000 (JavaScript 3,565,596 of 4,075,000). Cold first views of why and of a file's log on changesets and click went from 18.6 to 39.6 s on the W9 build to 5.3 to 7.7 s, and the same address asked again answers in 0.1 to 1.7 s, under a second once an isolate has served it, after a redeploy too (issue 1009's comments hold the table). `smoke --loop` passed at 19:41 UTC on `smoke-20261009-193937`, its project and repo in the ledger before init finished. The deployed-web checks pass 13 of 13 on datekit and on burrow (why included: an opening's landing links the ask it opened), and `imports.e2e.ts` with `tags.e2e.ts` 74 of 74 once the tests `net::ERR_NETWORK_CHANGED` broke on this machine were asked again. **W11** (2026-10-10): deployed at about 01:00 UTC (`57bb629`, the W11 build), smoke 8 of 8; the deployed-web checks then failed 1 of 13, `datekit/format-ordinal.md`, because the new index banner came before the brief's `#` title (and before `/<project>/llms.txt`'s heading). Fixed test-first in `53896c9` (the banner goes under the title) and redeployed at about 01:14 UTC (`ca95612`), smoke 8 of 8, the deployed-web checks 13 of 13 on datekit and on burrow. The platform's `/` lists every project's own posture (datekit and its copies read "Open with sealed evidence"); with about 40 projects each list reads about 40 ledgers, and the platform's `/` answered in 0.2 to 1.1 s. **W12** (2026-10-10): bootstrap applied `0005_standing_postures.sql` (it created nothing); deployed at about 11:25 UTC (`7b8b393`, the Control room build with the review fixes), smoke 11 of 11, `web-agent-skills` over its 500 ms budget (3.3 s cold, 1.0 to 1.7 s after: a warning, not a failure). `smoke --loop` passed at 11:30 UTC on `smoke-20261010-113046`. The deployed-web checks pass 13 of 13 on datekit and on burrow; `/assets/*` answer `public, max-age=31536000, immutable`, and `/` answers `Accept: text/markdown` with 200. **W12 perf** (2026-10-10): deployed `5881ff2` (the minified web with its source maps uploaded, Workers Cache in front of the web, server highlighting), smoke 11 of 11 (cold-isolate warnings on the web's Markdown and skills reads). The deployed-web checks pass 13 of 13 on datekit and on burrow. `/datekit/tree/main` went MISS then HIT, 60 to 120 ms against 1.5 to 2 s from the Worker, with `vary: Cookie`; with a cookie, and on `/today`, BYPASS with `private, no-store`. `src/add.ts`'s blob page carries its highlighted file in a declarative shadow root. **Exit codes and `movedBy`** (2026-10-10): deployed at about 18:23 UTC (`a23e097`: the CLI's exit codes, ADR 0028, and `StaleBase`'s `movedBy`, ADR 0029), smoke 11 of 11 (`web-agent-skills` 4.7 s on a cold isolate, the Markdown reads 0.8 to 1.4 s: warnings). The deployed-web checks pass 13 of 13 on datekit and on burrow, and `/llms-full.txt` carries the Exit codes section and the `movedBy` guide. The CLI from this build, against the stage: `UnknownProject` and `UnknownAsk` exit 66, `status` signed out 77, an unreachable platform 69. `smoke --loop` passed at 18:28 UTC on `smoke-20261010-182620` (108.8 s, the landing 30.3 s). No conflicting answer was landed live, so `movedBy` has been seen only in the tests (the core loop names alice's landing). **W13** (2026-10-10): deployed at about 20:55 UTC (`18b5418`: the landing at `/`, `/home`, a short command's words kept whole), smoke 11 of 11 (`web-llms-txt`, `web-project-llms-txt`, `web-ask-md` and `web-agent-skills` over their 500 ms budgets on cold isolates, warnings). Thirty more open-source repos imported and kept from 20:57 to 21:29 UTC (issue 1331; [Imported projects (kept)](#imported-projects-kept)). Redeployed at about 22:08 UTC (`643ab22`: an adoption heard as a landing, 1316; a README symlink read where it points, 1317), smoke 11 of 11 (`web-agent-skills` 8.7 s on a new isolate with 76 projects' skills, a warning); `imports.e2e.ts` with `landing.e2e.ts` then passed 226 of 226 once two `net::ERR_NETWORK_CHANGED` tests were asked again, axum's home with its README included. **W13 close-out** (2026-10-11): deployed at about 00:45 UTC (`f224a14`: the landing's projects read on the server with each posture's badge, the root preload ceiling at 268,000 on the user's sign-off; an import's source kept on its record and shown on its page, ADR 0031), `verify` green and smoke 11 of 11 (`web-agent-skills` 7.1 s on a cold isolate, a warning). Then `scripts/import-examples.ts --stage dev-oscabriel --sources` kept the source of all 38 imports through a repeat `initProject` by the operator (the dry run listed the 38 first); a second run on `click` answered the same, and `/click` shows "Imported from https://github.com/pallets/click · branch main". Nothing was imported, seeded, drafted, claimed or landed, and the ledger did not change. **W14** (2026-10-11): not deployed yet. The W14 build names every project `<owner>/<name>` (ADR 0032): the examples become `oscabriel/datekit` and `oscabriel/burrow`, each import its source path (`/github.com/pallets/click`), and every old address redirects to the new one. It also imports a repo from the web's `/import`, and offers the import at a source path nobody has imported (ADR 0033). This stage takes it first, and its new addresses, redirects and a web import are walked here before demo is considered. |21| `dev-oscabriel` | One person's iteration. Deploy it as often as you like. | Bootstrapped 2026-10-07 and deployed (platform, sandbox, web). Re-checked 2026-10-08: bootstrap created nothing, and the platform holds every required secret. The feature-frozen build was deployed at 14:51 UTC on 2026-10-08, and the whole core loop (`bun scripts/smoke.ts --stage dev-oscabriel --loop`) passed on it twice in a row. **W9** (2026-10-09): deployed at 06:41 UTC (`a4543f6`), 06:57 (`177ee96`, the code cache fix) and 07:12 UTC (`ecc2107`, the drafter fix), smoke 8 of 8 each time (`platform-root` included). The deployed-web checks pass on datekit (12 of 12) and on burrow (11 of 12: burrow has no answer landing on dev, so `why.e2e.ts` has no ask to name). `smoke --loop --draft` passed once at 07:15 UTC on `smoke-20261009-071255`: `@cf/moonshotai/kimi-k2.7-code`, red first on attempt 1 of 3, 59 s from proposal to draft, 160 s for the whole loop; estimated Workers AI cost about $0.01 per attempt (about 1.6k tokens in and 1 to 2k out, 480 to 750 neurons on the same call replayed). Eight open-source repos imported and kept from 07:35 UTC (issue 915; [Imported projects (kept)](#imported-projects-kept)); redeployed at 08:01 (`73adbab`) and 08:06 UTC (`a29af4e`) for the history-read fixes, smoke 8 of 8 each time; and at 08:45 UTC (`009640c`, the wave's close-out: the sign-in link without its `#fragment`, a README's `<style>` dropped whole, admission ids under long names, the people page's disclosure words), smoke 8 of 8. Demo was not redeployed for it: none of those changes what demo's pages or the take need. **W10** (2026-10-09): bootstrap made `code-cache-dev-oscabriel` at 18:54 UTC (a second run made nothing); deployed at 18:55 (`bd3598e`, the W10 build), 19:12 (`c0fe1c5`, trees kept in the code store, reverted by `2421226` after it slowed a repo's first walk), 19:24 (`8310fed`, a small file's history read whole at each commit), 19:31 (`69fe19f`), 19:36 and 19:38 UTC (`e90a730`, the second only to start every isolate afresh), smoke 8 of 8 each time; verify's bytes on `e90a730`: platform entry 1,679,621 of 1,900,000, sandbox 570,582 of 656,000, web entry 710,962 of 818,000 (JavaScript 3,565,596 of 4,075,000). Cold first views of why and of a file's log on changesets and click went from 18.6 to 39.6 s on the W9 build to 5.3 to 7.7 s, and the same address asked again answers in 0.1 to 1.7 s, under a second once an isolate has served it, after a redeploy too (issue 1009's comments hold the table). `smoke --loop` passed at 19:41 UTC on `smoke-20261009-193937`, its project and repo in the ledger before init finished. The deployed-web checks pass 13 of 13 on datekit and on burrow (why included: an opening's landing links the ask it opened), and `imports.e2e.ts` with `tags.e2e.ts` 74 of 74 once the tests `net::ERR_NETWORK_CHANGED` broke on this machine were asked again. **W11** (2026-10-10): deployed at about 01:00 UTC (`57bb629`, the W11 build), smoke 8 of 8; the deployed-web checks then failed 1 of 13, `datekit/format-ordinal.md`, because the new index banner came before the brief's `#` title (and before `/<project>/llms.txt`'s heading). Fixed test-first in `53896c9` (the banner goes under the title) and redeployed at about 01:14 UTC (`ca95612`), smoke 8 of 8, the deployed-web checks 13 of 13 on datekit and on burrow. The platform's `/` lists every project's own posture (datekit and its copies read "Open with sealed evidence"); with about 40 projects each list reads about 40 ledgers, and the platform's `/` answered in 0.2 to 1.1 s. **W12** (2026-10-10): bootstrap applied `0005_standing_postures.sql` (it created nothing); deployed at about 11:25 UTC (`7b8b393`, the Control room build with the review fixes), smoke 11 of 11, `web-agent-skills` over its 500 ms budget (3.3 s cold, 1.0 to 1.7 s after: a warning, not a failure). `smoke --loop` passed at 11:30 UTC on `smoke-20261010-113046`. The deployed-web checks pass 13 of 13 on datekit and on burrow; `/assets/*` answer `public, max-age=31536000, immutable`, and `/` answers `Accept: text/markdown` with 200. **W12 perf** (2026-10-10): deployed `5881ff2` (the minified web with its source maps uploaded, Workers Cache in front of the web, server highlighting), smoke 11 of 11 (cold-isolate warnings on the web's Markdown and skills reads). The deployed-web checks pass 13 of 13 on datekit and on burrow. `/datekit/tree/main` went MISS then HIT, 60 to 120 ms against 1.5 to 2 s from the Worker, with `vary: Cookie`; with a cookie, and on `/today`, BYPASS with `private, no-store`. `src/add.ts`'s blob page carries its highlighted file in a declarative shadow root. **Exit codes and `movedBy`** (2026-10-10): deployed at about 18:23 UTC (`a23e097`: the CLI's exit codes, ADR 0028, and `StaleBase`'s `movedBy`, ADR 0029), smoke 11 of 11 (`web-agent-skills` 4.7 s on a cold isolate, the Markdown reads 0.8 to 1.4 s: warnings). The deployed-web checks pass 13 of 13 on datekit and on burrow, and `/llms-full.txt` carries the Exit codes section and the `movedBy` guide. The CLI from this build, against the stage: `UnknownProject` and `UnknownAsk` exit 66, `status` signed out 77, an unreachable platform 69. `smoke --loop` passed at 18:28 UTC on `smoke-20261010-182620` (108.8 s, the landing 30.3 s). No conflicting answer was landed live, so `movedBy` has been seen only in the tests (the core loop names alice's landing). **W13** (2026-10-10): deployed at about 20:55 UTC (`18b5418`: the landing at `/`, `/home`, a short command's words kept whole), smoke 11 of 11 (`web-llms-txt`, `web-project-llms-txt`, `web-ask-md` and `web-agent-skills` over their 500 ms budgets on cold isolates, warnings). Thirty more open-source repos imported and kept from 20:57 to 21:29 UTC (issue 1331; [Imported projects (kept)](#imported-projects-kept)). Redeployed at about 22:08 UTC (`643ab22`: an adoption heard as a landing, 1316; a README symlink read where it points, 1317), smoke 11 of 11 (`web-agent-skills` 8.7 s on a new isolate with 76 projects' skills, a warning); `imports.e2e.ts` with `landing.e2e.ts` then passed 226 of 226 once two `net::ERR_NETWORK_CHANGED` tests were asked again, axum's home with its README included. **W13 close-out** (2026-10-11): deployed at about 00:45 UTC (`f224a14`: the landing's projects read on the server with each posture's badge, the root preload ceiling at 268,000 on the user's sign-off; an import's source kept on its record and shown on its page, ADR 0031), `verify` green and smoke 11 of 11 (`web-agent-skills` 7.1 s on a cold isolate, a warning). Then `scripts/import-examples.ts --stage dev-oscabriel --sources` kept the source of all 38 imports through a repeat `initProject` by the operator (the dry run listed the 38 first); a second run on `click` answered the same, and `/click` shows "Imported from https://github.com/pallets/click · branch main". Nothing was imported, seeded, drafted, claimed or landed, and the ledger did not change. **W14** (2026-10-11): not deployed yet. The W14 build names every project `<owner>/<name>` (ADR 0032): the examples become `oscabriel/datekit` and `oscabriel/burrow`, each import is named after its source namespace (`/github.com/pallets/click`; the Run a project guide has the rule), and every old address redirects to the new one. It also imports a repo from the web's `/import` (ADR 0033). This stage takes it first, and its new addresses, redirects and a web import are walked here before demo is considered. |22| `demo` | The recording and the submission. Deploy it deliberately, and never while a take is being recorded (H7). | Bootstrapped 2026-10-08: six resources created, migrations `0001` to `0004` applied, and a second run created nothing. Its secrets are set. Deployed at 15:39 UTC on 2026-10-08 (the build the dev stage proved), and smoke passed. Seeded at 15:44 UTC with `datekit` (its maintainers layer and both sealed suites admitted) and `burrow` (the `drop-legacy-fetch` family), nothing claimed. The rehearsal (17:08 to 17:39 UTC) only read it, apart from ines-v's `env set SENTRY_AUTH_TOKEN` with a made-up value, which stays set for the take. At 18:13 UTC smoke passed 7 of 7, the deployed web's Playwright check passed 5 of 5, and burrow's six `drop-legacy-fetch-burrow-*` children were open and unclaimed. Each later deploy is listed, with its reason, in [Deploys of demo](#deploys-of-demo). **W9** (2026-10-09): deployed at 07:18 UTC (`ecc2107`; smoke failed only `platform-root`, a 404 from the W8 version as the upload finished, and passed 8 of 8 a minute later) and again at 07:22 UTC (`1a7bb89`, the same Worker code; smoke 8 of 8). The deployed-web checks pass 11 of 12 on datekit: `why.e2e.ts` needs an answer landing and demo has none, by design. Nothing was seeded, drafted, claimed or imported; it still holds `datekit` and `burrow`, and burrow's `drop-legacy-fetch` and its seven children are unclaimed. **W10** (2026-10-09): bootstrap made `code-cache-demo` at 19:49 UTC (a second run made nothing); deployed at 19:50 UTC (`34f8ec8`, the Worker code of `e90a730`), smoke 8 of 8. The deployed-web checks pass 13 of 13 on datekit with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`, why included: the opening's row links its ask. The first run, four seconds after the deploy, failed the three pages that read the front page's projection and the project's home; a run a minute later passed all 13. `listProjects`, `listAsks burrow` and `listAsks datekit` read the same before and after: `datekit` and `burrow` only, every ask unclaimed. Nothing was seeded, drafted, claimed, imported or landed. Redeployed at 20:16 UTC (`4a23695`) with the wave's last fold-ins, smoke 8 of 8, the deployed-web checks 13 of 13 on datekit and on burrow; nothing else changed on demo. **W11** (2026-10-10): deployed at about 01:17 UTC (`ca95612`), smoke 8 of 8, the deployed-web checks 13 of 13 on datekit (with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`) and on burrow. The platform's `/` read `burrow` Open with 7 open asks and `datekit` Open with 3 before; after, the same counts, and datekit reads "Open with sealed evidence", as its ledger does (D1). Nothing was seeded, drafted, claimed, imported or landed. **W12** (2026-10-10): bootstrap applied `0005_standing_postures.sql`; deployed at about 11:40 UTC (`905fec1`, the Worker code of `7b8b393`), smoke 11 of 11 (`web-agent-skills` 1.2 s, over its 500 ms budget, a warning). The deployed-web checks pass 13 of 13 on datekit (with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`) and on burrow. The platform's `/` read `burrow` Open with 7 open asks and `datekit` Open with sealed evidence with 3, before and after. Nothing was seeded, drafted, claimed, imported or landed. **W12 perf** (2026-10-10): deployed `6269bf9` (the Worker code of `5881ff2`: the minified web, Workers Cache, server highlighting), smoke 11 of 11 (`web-llms-txt`, `web-project-llms-txt` and `web-ask-md` over their 500 ms budgets on the new version's cold isolates, warnings). The deployed-web checks pass 13 of 13 on datekit (with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`) and on burrow. `/datekit` is a cache HIT at 50 to 80 ms with `vary: Accept, Cookie`, and BYPASS with `private, no-store` when the request carries a cookie. The platform's `/` read `burrow` with 7 open asks and `datekit` with 3, before and after. Nothing was seeded, drafted, claimed, imported or landed. **W13** (2026-10-10): deployed at about 22:18 UTC (`3a4d9c2`, the Worker code of `643ab22`), smoke 11 of 11 (`web-llms-txt`, `web-project-llms-txt`, `web-ask-md` and `web-agent-skills` over their 500 ms budgets on new isolates, warnings). The deployed-web checks pass 13 of 13 on datekit (with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`) plus `landing.e2e.ts`'s 2, and 12 of 12 on burrow. `/` is the landing and `/asks` the front page. The platform's `/` read `burrow` Open with 7 open asks and `datekit` Open with sealed evidence with 3, before and after. Nothing was seeded, drafted, claimed, imported or landed. **W13 close-out** (2026-10-11): deployed at about 02:36 UTC (`873046e`, the Worker code of `f224a14`; its reason row below was written first), `verify` green and smoke 11 of 11 (`web-llms-txt`, `web-project-llms-txt`, `web-ask-md` and `web-agent-skills` over their 500 ms budgets on new isolates, warnings). Then, on the user's approval (issue 1332), `scripts/import-examples.ts --stage demo --sources` imported the 38 open-source repos from 02:37 to 03:10 UTC, each warmed 5 of 5 pages, and `--tags` backfilled every one's tags from 03:11 to 03:16 UTC: 114 ledger lines on `demo`, the stage's first ([Imported projects (kept)](#imported-projects-kept)). Each import's page shows "Imported from" with its source. The deployed-web checks pass 16 of 16 on datekit (with `WEB_WHY_PATH=.myr/asks/format-ordinal.ask.ts`, the landing's 3 included), 12 of 12 on burrow, and `imports.e2e.ts` with `tags.e2e.ts` 224 of 224, once four tests `net::ERR_NETWORK_CHANGED` broke on this machine were asked again. The read-only shots were walked again (`docs/demo/rehearsal.md`). With 40 projects, the rail and the landing name the first eight by name (anyhow to click, burrow among them, datekit not); the front page at `/asks` still leads with burrow's family and datekit's asks. Nothing was seeded, drafted, claimed or landed; its `datekit` and `burrow` were only read. **W14** (2026-10-11): not deployed, and not before the take: demo keeps `/datekit` and `--project datekit` as the shot list records them. When it is deployed after the take, on the user's explicit yes and with its reason row in [Deploys of demo](#deploys-of-demo) first, the old addresses redirect to the new ones, so every recorded command and address stays true. |2324There is no `prod` stage before the deadline. The top level of each `wrangler.jsonc` is stage `local`, for tests and `wrangler dev`, and it is never deployed. A new person's stage is added to `stages` in `stages.ts` and gets an `env` block in each `wrangler.jsonc`, in the same change.25
343 unmodified lines
modified:packages/agent-kit/src/docs/imported.ts+1 added-1 removed
7 unmodified lines
8import { ProjectKey, ProjectName, sourceNamespaceOf } from "@repo/protocol/ids";9import { Option } from "effect";1011/**12 * One imported project: its name here, at its source path12 * One imported project: its name here, after its source namespace13 * (`github.com/pallets/click`), the key it was imported under (`click`),14 * its source, its licence, and what it is.15 */16export interface ImportedProject {
236 unmodified lines
modified:packages/agent-kit/src/docs/run-a-project.ts+1 added-1 removed
22 unmodified lines
23 `A project's name is its owner, then a short name: ${code("<owner>/<name>")}, as in ${code("oscabriel/datekit")}. The name is the project's address everywhere: ${code("--project")} takes it, the web shows the project at ${code("/<owner>/<name>")}, and git clones it from ${code("<platform>/<owner>/<name>.git")}. You make projects under your own handle; a bare word, as in ${cli("init --project datekit")}, is taken as yours, under the handle ${cli("login")} kept. Owning a namespace is the right to make projects in it and nothing more: who decides stays with the config folder.`,24 "",25 "## Import a repo",26 "",27 `To bring a public repo over HTTPS: ${cli("init --import <url>")}, with ${code("--branch")} when its default branch is not the one you want. A repo from ${sourceHosts.map((host) => code(host)).join(", ")} is named at its source path, so ${code("https://github.com/pallets/click")} becomes ${code("github.com/pallets/click")}; a repo from any other host is named under your handle, after the URL's last segment. ${code("--project")} names it otherwise, a bare word again under your handle. On the web, [Import a repo](/import) does the same, and the address of a source path nobody has imported yet, such as ${code("/github.com/pallets/click")}, offers the import. You are an import's first decider, as of any project.`,27 `To bring a public repo over HTTPS: ${cli("init --import <url>")}, with ${code("--branch")} when its default branch is not the one you want. A repo from ${sourceHosts.map((host) => code(host)).join(", ")} is named after its source namespace, ${code("<host>/<account>/<name>")}, so ${code("https://github.com/pallets/click")} becomes ${code("github.com/pallets/click")}; a repo from any other host is named under your handle, after the URL's last segment. ${code("--project")} names it otherwise, a bare word again under your handle. On the web, [Import a repo](/import) does the same, and the web address of such a name nobody has imported yet, such as ${code("/github.com/pallets/click")}, offers the import. You are an import's first decider, as of any project.`,28 "",29 "## The config folder",30 "",31 `How the project takes changes is TypeScript on \`main\`, in ${code(`${dir}/`)}. The platform reads it only from the commit it last landed, in a sandbox with no network and frozen time, so it changes the way everything else does: by a landing.`,
65 unmodified lines
modified:packages/agent-kit/src/platform.ts+1 added-1 removed
85 unmodified lines
86 `Find an ask with ${code(`${Brand.cli} asks`)}, then, in the project's repo:`,87 "",88 ...loopSteps(),89 "",90 `A project's own \`<key>-contribute\` skill (its key is its name with each \`/\` as \`__\`: \`oscabriel__foo-contribute\`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.`,90 `A project's own \`<key>-contribute\` skill (its key: the name with each \`/\` as \`__\`, as in \`oscabriel__foo-contribute\`, or for a project made before owners its old one-word key, as in \`datekit-contribute\`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.`,91 "",92 "## Output",93 "",94 "A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.",
163 unmodified lines
modified:packages/agent-kit/src/project-skill.ts+1 added-1 removed
64 unmodified lines
65 ...unfencedSection(policy.agents),66 ]);6768/**69 * `.agents/skills/<project>-contribute/SKILL.md` and its `.claude/skills/`69 * `.agents/skills/<key>-contribute/SKILL.md` and its `.claude/skills/`70 * copy, the same bytes, with frontmatter naming the landing it came from.71 */72export const projectSkill = (input: {73 readonly project: ProjectName;
13 unmodified lines
modified:packages/agent-kit/test/golden/agent-plugins-stdio.txt+1 added-1 removed
25 unmodified lines
263. Run `__CLI__ check`. It gives the refusals a push would get, then runs the ask's check and the project's lanes; fix everything it reports.274. Push your answer to your fork: `git push __SLUG__ HEAD:main`. The push itself can be refused; follow the answer with `__CLI__ status`.285. Read the verdict on your head: `git fetch __SLUG__ refs/notes/__SLUG__:refs/notes/__SLUG__`, then `git notes --ref=__SLUG__ show HEAD`. It is JSON: match on its `_tag`, and run a refusal's `next`.2930A project's own `<key>-contribute` skill (its key is its name with each `/` as `__`: `oscabriel__foo-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.30A project's own `<key>-contribute` skill (its key: the name with each `/` as `__`, as in `oscabriel__foo-contribute`, or for a project made before owners its old one-word key, as in `datekit-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.3132## Output3334A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.
63 unmodified lines
modified:packages/agent-kit/test/golden/agent-plugins.txt+1 added-1 removed
26 unmodified lines
273. Run `__CLI__ check`. It gives the refusals a push would get, then runs the ask's check and the project's lanes; fix everything it reports.284. Push your answer to your fork: `git push __SLUG__ HEAD:main`. The push itself can be refused; follow the answer with `__CLI__ status`.295. Read the verdict on your head: `git fetch __SLUG__ refs/notes/__SLUG__:refs/notes/__SLUG__`, then `git notes --ref=__SLUG__ show HEAD`. It is JSON: match on its `_tag`, and run a refusal's `next`.3031A project's own `<key>-contribute` skill (its key is its name with each `/` as `__`: `oscabriel__foo-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.31A project's own `<key>-contribute` skill (its key: the name with each `/` as `__`, as in `oscabriel__foo-contribute`, or for a project made before owners its old one-word key, as in `datekit-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.3233## Output3435A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.
60 unmodified lines
modified:packages/agent-kit/test/golden/claude-plugin-stdio.txt+1 added-1 removed
24 unmodified lines
253. Run `__CLI__ check`. It gives the refusals a push would get, then runs the ask's check and the project's lanes; fix everything it reports.264. Push your answer to your fork: `git push __SLUG__ HEAD:main`. The push itself can be refused; follow the answer with `__CLI__ status`.275. Read the verdict on your head: `git fetch __SLUG__ refs/notes/__SLUG__:refs/notes/__SLUG__`, then `git notes --ref=__SLUG__ show HEAD`. It is JSON: match on its `_tag`, and run a refusal's `next`.2829A project's own `<key>-contribute` skill (its key is its name with each `/` as `__`: `oscabriel__foo-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.29A project's own `<key>-contribute` skill (its key: the name with each `/` as `__`, as in `oscabriel__foo-contribute`, or for a project made before owners its old one-word key, as in `datekit-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.3031## Output3233A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.
98 unmodified lines
modified:packages/agent-kit/test/golden/claude-plugin.txt+1 added-1 removed
25 unmodified lines
263. Run `__CLI__ check`. It gives the refusals a push would get, then runs the ask's check and the project's lanes; fix everything it reports.274. Push your answer to your fork: `git push __SLUG__ HEAD:main`. The push itself can be refused; follow the answer with `__CLI__ status`.285. Read the verdict on your head: `git fetch __SLUG__ refs/notes/__SLUG__:refs/notes/__SLUG__`, then `git notes --ref=__SLUG__ show HEAD`. It is JSON: match on its `_tag`, and run a refusal's `next`.2930A project's own `<key>-contribute` skill (its key is its name with each `/` as `__`: `oscabriel__foo-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.30A project's own `<key>-contribute` skill (its key: the name with each `/` as `__`, as in `oscabriel__foo-contribute`, or for a project made before owners its old one-word key, as in `datekit-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.3132## Output3334A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.
96 unmodified lines
modified:packages/agent-kit/test/golden/platform-skill.txt+1 added-1 removed
18 unmodified lines
193. Run `__CLI__ check`. It gives the refusals a push would get, then runs the ask's check and the project's lanes; fix everything it reports.204. Push your answer to your fork: `git push __SLUG__ HEAD:main`. The push itself can be refused; follow the answer with `__CLI__ status`.215. Read the verdict on your head: `git fetch __SLUG__ refs/notes/__SLUG__:refs/notes/__SLUG__`, then `git notes --ref=__SLUG__ show HEAD`. It is JSON: match on its `_tag`, and run a refusal's `next`.2223A project's own `<key>-contribute` skill (its key is its name with each `/` as `__`: `oscabriel__foo-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.23A project's own `<key>-contribute` skill (its key: the name with each `/` as `__`, as in `oscabriel__foo-contribute`, or for a project made before owners its old one-word key, as in `datekit-contribute`) and the block in its AGENTS.md give its territories, its run block and its ask kinds.2425## Output2627A command whose flags list `--json` prints Markdown, or one versioned JSON envelope with `--json`. A command that needs a person's approval runs only with `--yes`, and `--dry-run` prints what it would send.
49 unmodified lines
modified:packages/agent-kit/test/docs.test.ts+1 added-1 removed
126 unmodified lines
127 }))128 ).toStrictEqual(docEntries);129 });130131 it("spell a project as its full name, <owner>/<name>, never <project>", () => {131 it("spell a project as <owner>/<name>, never <project>", () => {132 expect(133 pages.flatMap(({ markdown, slug }) =>134 markdown.includes("<project>") ? [slug] : []135 )
99 unmodified lines
modified:packages/agent-kit/test/full-llms.test.ts+1 added-1 removed
210 unmodified lines
211 expect.stringContaining("`<owner>/<name>--me--<handle>`")212 );213 });214215 it("spells a project as its full name, never <project>", () => {215 it("spells a project as <owner>/<name>, never <project>", () => {216 expect(text).not.toContain("<project>");217 });218219 it("reads the verdict note with plain git", () => {
35 unmodified lines
modified:packages/agent-kit/test/host-doc.test.ts+1 added-1 removed
125 unmodified lines
126 `- oscabriel/burrow: Open with sealed evidence, 1 open ask. Clone: \`git clone ${platformUrl}/oscabriel/burrow.git\`.`127 );128 });129130 it("spells a project as its full name, never <project>", () => {130 it("spells a project as <owner>/<name>, never <project>", () => {131 expect(text).not.toContain("<project>");132 expect(text).toContain("--project <owner>/<name>");133 });134
93 unmodified lines
modified:packages/project/src/repo-names.ts+1 added-1 removed
86 unmodified lines
8788 return Option.getOrElse(kind, () => RepoKind.Unknown());89};9091/** A person's working fork: `<project>--me--<handle in lowercase>`. */91/** A person's working fork: `<key>--me--<handle in lowercase>`. */92export const workingForkName = (project: ProjectName, handle: Handle) =>93 RepoName.make(`${keyOf(project)}--${WORKING}--${handle.toLowerCase()}`);
modified:packages/protocol/src/mcp-extras.ts+1 added-1 removed
116 unmodified lines
117 "# Projects",118 "",119 projectsTable(projects),120 "",121 `A project's open asks: the prompt \`contribute\` with its name, or \`${Brand.cli} asks --project <project>\`.`,121 `A project's open asks: the prompt \`contribute\` with its name, or \`${Brand.cli} asks --project <owner>/<name>\`.`,122 "",123 ].join("\n")124 );125 }).pipe(refusedAsText),
154 unmodified lines
modified:DESIGN.md+1 added-1 removed
478 unmodified lines
479480### Owners and imports481482- **Names:** a project is named in full wherever a page names it, `<owner>/<name>` (`oscabriel/datekit`, `github.com/pallets/click`), in mono like any id; the owner is never dropped to save room. A field or fact that holds the namespace is labelled "Owner".483- **Words:** "Import a repo" is the page at `/import` and every link to it; "Imported from" heads an import's source fact; "Not imported yet" heads the offer at a source path nobody has imported. A refused import draws its refusal as any refusal does: `NotYourNamespace`'s headline reads "`<owner>` is not yours to make projects in: you are `<handle>`", rendered, never reworded. The banned words below stay banned here, and so do the words the glossary avoids for an import: mirror, fork (of the source) and sync.483- **Words:** "Import a repo" is the page at `/import` and every link to it; "Imported from" heads an import's source fact; "Not imported yet" heads the offer at the address of a source namespace's project nobody has imported. A refused import draws its refusal as any refusal does: `NotYourNamespace`'s headline reads "`<owner>` is not yours to make projects in: you are `<handle>`", rendered, never reworded. The banned words below stay banned here, and so do the words the glossary avoids for an import: mirror, fork (of the source) and sync.484485### The landing486487- **Where:** `/`, the one page outside the shell (its route's `staticData: { shell: "bare" }`); the front page is `/asks`. A reader who carries a session is sent to `/home` before it is drawn.
44 unmodified lines
modified:GLOSSARY.md+2 added-2 removed
83 unmodified lines
84The commit the platform itself last landed on main; the only commit a project's rules are read from.85_Avoid_: HEAD, tip of main8687**Import**:88A project adopted from a public repo: a read-only copy, not run by its maintainers, whose first `main` is the source branch's tip. The source, its address and branch, stays on the project's record and is shown as where it was imported from; by default the project is named at its source namespace (`github.com/pallets/click`), or under the importer's handle when its host is not a source host. It is made from the CLI's `init --import` or the web's `/import`, and the web address of a source path nobody has imported offers it.88A project adopted from a public repo: a read-only copy, not run by its maintainers, whose first `main` is the source branch's tip. The source, its address and branch, stays on the project's record and is shown as where it was imported from; by default the project is named after its source namespace (the Run a project guide has the whole rule). It is made from the CLI's `init --import` or the web's `/import`.89_Avoid_: mirror, fork (of the source), sync9091**Outcome**:92Where an offered answer stands: Checking, Landed, WaitingOnParent, AwaitingFinish, AwaitingDecision or Refused; only Refused carries refusals, and waiting is not a refusal.
118 unmodified lines
211The namespace a project is named in: a person's handle, or a source namespace. Owning a namespace is the right to make projects in it and nothing more; deciding stays with the config folder.212_Avoid_: org, account, maintainer, admin213214**Source namespace**:215An owner that is the host and account a repo was imported from, such as `github.com/pallets`, so an import's address says where it came from.215An owner that is the host and the account on that host a repo was imported from, such as `github.com/pallets`, so an import's address, `<host>/<account>/<name>`, says where it came from. Here, and only here, account means the host's account, never one on this platform.216_Avoid_: upstream, origin, mirror217218**Config folder**:219The .myr/ folder on main holding the project's process as TypeScript: project.ts, kinds, asks, visibility.ts, the vouch file.
20 unmodified lines
modified:README.md+1 added-1 removed
333 unmodified lines
334Bindings are declared per stage in each app's `wrangler.jsonc`, and the platform decodes its whole env once, at start (`apps/platform/src/platform.ts`).335336### The core loop, step by step3373381. **Init or import.** `myr init` finds the project's own commands (its run block), proposes a config folder, and makes the project, empty or imported once from a public HTTPS repo (from the CLI, or from the web's `/import`). A project is named `<owner>/<name>`: under the initializer's handle, or, for an import from a known host, at its source path (`github.com/pallets/click`); a project made before owners keeps its old address as a redirect ([ADR 0032](docs/adr/0032-a-project-is-named-by-its-owner-and-the-forty-keep-their-keys.md), [ADR 0033](docs/adr/0033-a-repo-is-imported-from-the-web-and-its-host-path-offers-the-import.md)). For an empty project, the initializer's first push is the only direct push `main` ever takes; after it, `main` moves only by a landing.3381. **Init or import.** `myr init` finds the project's own commands (its run block), proposes a config folder, and makes the project, empty or imported once from a public HTTPS repo (from the CLI, or from the web's `/import`). A project is named `<owner>/<name>` (the rule is in the Run a project guide, `packages/agent-kit/src/docs/run-a-project.ts`), and a project made before owners keeps its old address as a redirect ([ADR 0032](docs/adr/0032-a-project-is-named-by-its-owner-and-the-forty-keep-their-keys.md), [ADR 0033](docs/adr/0033-a-repo-is-imported-from-the-web-and-its-host-path-offers-the-import.md)). For an empty project, the initializer's first push is the only direct push `main` ever takes; after it, `main` moves only by a landing.3392. **Rules at the landed SHA.** After every landing the Lander bundles the config folder, and the platform evaluates it once, with frozen time and randomness, into a typed policy. Rules come only from the platform's own last landing.3403. **Open an ask.** A decider sends the ask and its check; the check runs on `main` twice and must fail the same way by an assertion; the platform lands the ask with `Asked-by`.3414. **Claim.** `myr claim` makes the claimant's fork (`<owner>/<name>--<ask>--<handle>`). Pushes keep the claim alive; a quiet claim is warned, then lapses.3425. **Push through the gateway.** Custody admits the pusher before git sees the pack; after the fork takes it, the shape stage reads the diff (territory, judge closure, weakening markers, reached internals, layer paths) and every refusal comes back at once in `remote:` lines.
54 unmodified lines