Skip to content
Myr

Merge build/imports-onto-demo into main

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

authored by oscabriel · committed by oscabriel · parents 99a517b, 3748457 · Browse files · 7 files+98 added−39 removed
This commit

State

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

Diff stats

7 files+98 added−39 removed

  • tests:+22 added−24 removed
  • other:+76 added−15 removed

7 files+98 added−39 removed

modified:docs/demo/README.md+1 added-1 removed
modified:infra/created.jsonl+63 added
194 unmodified lines
195{"at":"2026-10-10T21:28:39.332Z","by":"import","kind":"repo","name":"sinatra","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel","note":"tags backfilled"}196{"at":"2026-10-10T21:29:41.679Z","by":"import","kind":"project","name":"nvm","stage":"dev-oscabriel"}197{"at":"2026-10-10T21:29:41.679Z","by":"import","kind":"repo","name":"nvm","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}198{"at":"2026-10-10T21:29:49.661Z","by":"import","kind":"repo","name":"nvm","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel","note":"tags backfilled"}199{"deletedAt":"2026-10-11T02:31:36.331Z","kind":"repo","name":"smoke-20261010-182620--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}200{"deletedAt":"2026-10-11T02:31:37.932Z","kind":"repo","name":"smoke-20261010-182620","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}201{"deletedAt":"2026-10-11T02:31:40.017Z","kind":"repo","name":"smoke-20261010-113046--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}202{"deletedAt":"2026-10-11T02:31:41.870Z","kind":"repo","name":"smoke-20261010-113046","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}203{"deletedAt":"2026-10-11T02:31:43.869Z","kind":"repo","name":"smoke-20261009-193937--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}204{"deletedAt":"2026-10-11T02:31:45.852Z","kind":"repo","name":"smoke-20261009-193937","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}205{"deletedAt":"2026-10-11T02:31:47.359Z","kind":"repo","name":"smoke-20261009-071213","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}206{"deletedAt":"2026-10-11T02:31:49.438Z","kind":"repo","name":"smoke-20261009-071255--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}207{"deletedAt":"2026-10-11T02:31:51.378Z","kind":"repo","name":"smoke-20261009-071255","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}208{"deletedAt":"2026-10-11T02:31:52.918Z","kind":"repo","name":"smoke-20261009-065926--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}209{"deletedAt":"2026-10-11T02:31:54.375Z","kind":"repo","name":"smoke-20261009-065926","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}210{"deletedAt":"2026-10-11T02:31:55.882Z","kind":"repo","name":"burrow-805--drop-legacy-fetch-burrow-kit--dagny","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}211{"deletedAt":"2026-10-11T02:31:57.369Z","kind":"repo","name":"burrow-805--drop-legacy-fetch-burrow-catalog--marisol","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}212{"deletedAt":"2026-10-11T02:31:59.427Z","kind":"repo","name":"datekit-805--add-months-clamp--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}213{"deletedAt":"2026-10-11T02:32:01.962Z","kind":"repo","name":"datekit-805--parse-iso-week--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}214{"deletedAt":"2026-10-11T02:32:03.439Z","kind":"repo","name":"datekit-805--format-ordinal--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}215{"deletedAt":"2026-10-11T02:32:04.923Z","kind":"repo","name":"burrow-805--drop-legacy-fetch-burrow-auth--tamsin","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}216{"deletedAt":"2026-10-11T02:32:06.636Z","kind":"repo","name":"burrow-805--drop-legacy-fetch-burrow-billing--ivo","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}217{"deletedAt":"2026-10-11T02:32:08.399Z","kind":"repo","name":"burrow-805","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}218{"deletedAt":"2026-10-11T02:32:09.954Z","kind":"repo","name":"datekit-805--maintainers","namespace":"layers-dev-oscabriel","stage":"dev-oscabriel"}219{"deletedAt":"2026-10-11T02:32:11.442Z","kind":"repo","name":"datekit-805","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}220{"deletedAt":"2026-10-11T02:32:12.994Z","kind":"repo","name":"smoke-20261008-165645--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}221{"deletedAt":"2026-10-11T02:32:14.961Z","kind":"repo","name":"smoke-20261008-165645","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}222{"deletedAt":"2026-10-11T02:32:16.469Z","kind":"repo","name":"smoke-20261008-165400--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}223{"deletedAt":"2026-10-11T02:32:18.462Z","kind":"repo","name":"smoke-20261008-165400","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}224{"deletedAt":"2026-10-11T02:32:19.982Z","kind":"repo","name":"smoke-20261008-165218--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}225{"deletedAt":"2026-10-11T02:32:21.569Z","kind":"repo","name":"smoke-20261008-165218","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}226{"deletedAt":"2026-10-11T02:32:23.595Z","kind":"repo","name":"smoke-20261008-165040--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}227{"deletedAt":"2026-10-11T02:32:25.099Z","kind":"repo","name":"smoke-20261008-165040","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}228{"deletedAt":"2026-10-11T02:32:27.166Z","kind":"repo","name":"smoke-20261008-164858--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}229{"deletedAt":"2026-10-11T02:32:29.051Z","kind":"repo","name":"smoke-20261008-164858","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}230{"deletedAt":"2026-10-11T02:32:31.035Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-notify--dagny","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}231{"deletedAt":"2026-10-11T02:32:32.645Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-billing--tamsin","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}232{"deletedAt":"2026-10-11T02:32:34.078Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-auth--wren","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}233{"deletedAt":"2026-10-11T02:32:35.519Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-catalog--ivo","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}234{"deletedAt":"2026-10-11T02:32:37.056Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-kit--marisol","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}235{"deletedAt":"2026-10-11T02:32:39.088Z","kind":"repo","name":"burrow-swarm-2--drop-legacy-fetch-burrow-search--pell","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}236{"deletedAt":"2026-10-11T02:32:40.622Z","kind":"repo","name":"burrow-swarm-2","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}237{"deletedAt":"2026-10-11T02:32:42.077Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-billing--tamsin","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}238{"deletedAt":"2026-10-11T02:32:43.623Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-kit--marisol","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}239{"deletedAt":"2026-10-11T02:32:45.118Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-search--pell","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}240{"deletedAt":"2026-10-11T02:32:46.620Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-auth--wren","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}241{"deletedAt":"2026-10-11T02:32:48.629Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-catalog--ivo","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}242{"deletedAt":"2026-10-11T02:32:50.106Z","kind":"repo","name":"burrow-swarm-1--drop-legacy-fetch-burrow-notify--dagny","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}243{"deletedAt":"2026-10-11T02:32:51.635Z","kind":"repo","name":"burrow-swarm-1","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}244{"deletedAt":"2026-10-11T02:32:53.172Z","kind":"repo","name":"datekit-803--add-months-clamp--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}245{"deletedAt":"2026-10-11T02:32:54.630Z","kind":"repo","name":"burrow-803--drop-legacy-fetch-burrow-auth--tamsin","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}246{"deletedAt":"2026-10-11T02:32:56.833Z","kind":"repo","name":"burrow-803--drop-legacy-fetch-burrow-billing--ivo","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}247{"deletedAt":"2026-10-11T02:32:58.935Z","kind":"repo","name":"datekit-803--format-ordinal--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}248{"deletedAt":"2026-10-11T02:33:00.874Z","kind":"repo","name":"datekit-803--parse-iso-week--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}249{"deletedAt":"2026-10-11T02:33:02.333Z","kind":"repo","name":"burrow-803","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}250{"deletedAt":"2026-10-11T02:33:04.101Z","kind":"repo","name":"datekit-803--maintainers","namespace":"layers-dev-oscabriel","stage":"dev-oscabriel"}251{"deletedAt":"2026-10-11T02:33:06.342Z","kind":"repo","name":"datekit-803","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}252{"deletedAt":"2026-10-11T02:33:07.891Z","kind":"repo","name":"smoke-20261008-145715--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}253{"deletedAt":"2026-10-11T02:33:09.385Z","kind":"repo","name":"smoke-20261008-145715","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}254{"deletedAt":"2026-10-11T02:33:10.931Z","kind":"repo","name":"smoke-20261008-145551--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}255{"deletedAt":"2026-10-11T02:33:12.920Z","kind":"repo","name":"smoke-20261008-145551","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}256{"deletedAt":"2026-10-11T02:33:14.868Z","kind":"repo","name":"burrow-lint-807--drop-legacy-fetch-burrow-auth--wren","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}257{"deletedAt":"2026-10-11T02:33:16.408Z","kind":"repo","name":"burrow-lint-807","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}258{"deletedAt":"2026-10-11T02:33:17.888Z","kind":"repo","name":"smoke-20261008-144139--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}259{"deletedAt":"2026-10-11T02:33:19.381Z","kind":"repo","name":"smoke-20261008-144139","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}260{"deletedAt":"2026-10-11T02:33:20.968Z","kind":"repo","name":"smoke-20261008-143944--parse-year--bram","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}261{"deletedAt":"2026-10-11T02:33:22.370Z","kind":"repo","name":"smoke-20261008-143944","namespace":"projects-dev-oscabriel","stage":"dev-oscabriel"}
modified:infra/stages.md+4 added-2 removed
108 unmodified lines
109- The secret `S8B_PROBE` on `platform-dev-oscabriel`.110- The test accounts `w3tester-muyk9zdx` and `w5web-muz3airr` in `front-page-dev-oscabriel` (no identity or credit rows), and their OAuth grants in `oauth-dev-oscabriel`: one for `w5web-muz3airr` and two for `w3tester-muyk9zdx`.111- The Project Durable Objects and front-page rows of those test projects. They are harmless and are not deleted.112113Imported projects (kept). `bun scripts/import-examples.ts --stage dev-oscabriel` imports the open-source repos the code browser is previewed on (anyhow, ky, gum, click, awesome, changesets, stb and fuzzel), one at a time, and records each in the ledger with `by: "import"`: one `project` line and one `repo` line in `projects-dev-oscabriel`, plus a `tags backfilled` note when `--tags` pushed their tags. They are not throwaways: teardown lists them as "kept imports" and never selects them, nor any fork of them, as it keeps the seeded examples. Deleting one is a person's Cloudflare delete. The script refuses `demo`.113Imported projects (kept). `bun scripts/import-examples.ts --stage dev-oscabriel` imports the open-source repos the code browser is previewed on (anyhow, ky, gum, click, awesome, changesets, stb and fuzzel), one at a time, and records each in the ledger with `by: "import"`: one `project` line and one `repo` line in `projects-dev-oscabriel`, plus a `tags backfilled` note when `--tags` pushed their tags. They are not throwaways: teardown lists them as "kept imports" and never selects them, nor any fork of them, as it keeps the seeded examples. Deleting one is a person's Cloudflare delete. The script refused `demo` until 2026-10-11, when the user approved the same 38 imports onto demo (issue 1332, [Deploys of demo](#deploys-of-demo)); they are kept there as on dev, and the video shows them beside the fictional two.114115#### Imported projects (kept)116117Imported on 2026-10-09 between 07:35 and 07:42 UTC (issue 915), one at a time, by `bun --env-file=<dev secrets file> scripts/import-examples.ts --stage dev-oscabriel --only <p>`, with `--tags` under `bunx varlock run --path infra/ --` for every source that has tags. **Artifacts' import brings no tags**: anyhow's repo served 0 of its 105 after the import (`git ls-remote <platform>/anyhow.git 'refs/tags/*'`), and every other import with tags also came with none, so each was backfilled. An import of a `master` default leaves `refs/heads/master` frozen beside `main`. "Policy" is whether the config at the adopted commit evaluated: with no config folder the defaults apply and the run block comes from the repo's CI, and where the finder finds no test command there, the policy never evaluates (the people page says it has not been evaluated) and the platform lands no contribute-skill commit on top. Commits are the source branch's commits at import (`git rev-list --count`), plus the platform's one commit where the policy evaluated. The import time is the script's run, the backfill included. `bun infra/teardown.ts --stage dev-oscabriel` (read-only) lists all sixteen lines as kept imports and selects none.
81 unmodified lines
199| --- | --- |200| 2026-10-08 18:00 | `bun infra/teardown.ts` printed the plan for `dev-oscabriel`: **52 repos to delete**. These are all of the ledger's repos except `burrow--drop-legacy-fetch-burrow-auth--wren`, a fork of the stage's `burrow` that is never selectable. 50 are in `projects-dev-oscabriel`: nine smoke runs' repos and forks, `burrow-lint-807`, `burrow-803`, `datekit-803`, `burrow-swarm-1`, `burrow-swarm-2`, `burrow-805` and `datekit-805`, each with its claim forks. 2 are in `layers-dev-oscabriel`: `datekit-803--maintainers` and `datekit-805--maintainers`. The 16 projects' Durable Objects and front-page rows stay. Nothing was deleted. |201| 2026-10-08 18:00 | The build's agent wrote the user's teardown script. It runs the plan with `--apply`. It also deletes the 19 pre-ledger test repos in section 3, wren's fork of `burrow` (only while dev's web still shows that ask open and unclaimed), `S8B_PROBE`, the two test accounts and their three OAuth grants. Each one is checked again just before its delete. The script refuses to run while `infra/.recording` exists. |202| when the user runs it | The ledger's `deleted` lines record each repo the tool deleted, and when. Commit `infra/created.jsonl` afterwards. |203| 2026-10-11 02:31 to 02:33 | Run, on the user's approval ("do the next steps you marked as for me yourself, they're approved"). The plan printed first listed **63 repos to delete** in `projects-dev-oscabriel` (the ledger's throwaways, grown since 2026-10-08 by the smoke runs of 914, 1009, W12 and the exit-codes deploy) and kept every import (38 projects, 38 repos) and `burrow--drop-legacy-fetch-burrow-auth--wren`; `--apply` deleted 63 of 63, each marked `deleted` in the ledger, and a plan printed after it lists nothing to delete. The 22 throwaway projects' Durable Objects and front-page rows stay, as the policy says. The pre-ledger leftovers in section 3, the test accounts and the grants were not touched: they are outside the ledger, and the user's own script holds them. |204205Kept, and why:206207- **The demo stage, whole.** It holds the recording and the submission.
101 unmodified lines
309| 2026-10-10 about 01:17 (W11) | `ca95612`, the W11 build with the banner fix | At the user's request ("yes", asked whether to deploy W11 to demo after dev passed). What demo shows changed: datekit's posture badge reads "Open with sealed evidence" everywhere (D1), the Agents page and its nav entry, `/llms-full.txt` and the index banner under each Markdown title, the answer page's links to its base and landing commits, clearer refusal words (a limit's refusal names its kind and its wait), code reads on MCP, and a fork that takes branches only. `infra/.recording` was absent, and `dev-oscabriel` had passed smoke and the deployed-web checks on the same build. This row was written just after the deploy, not before it. |310| 2026-10-10 about 11:40 (W12) | `7b8b393`, the W12 build with the review fixes | At the user's request ("you deploy everything", their answer to who deploys W12). What demo shows changes throughout: every page sits in the Control room shell (rail, main pane, facts inspector; a bottom bar on phones), the front page and a project's home arrive server-rendered with families drawn as fans and posture once per project, the ask and answer pages lead with state and whose move, Today has sections and every choice its consequence, the code browser is a full-viewport app, the person page sets credit in words, For agents is one reference, and the platform's own sign-in and `/` pages share the web's tokens. `/` and `/<project>` answer Markdown to agents. Bootstrap first applies migration `0005_standing_postures.sql` (the kept postures behind project lists). `infra/.recording` was absent, and `dev-oscabriel` had passed smoke, `smoke --loop` and the deployed-web checks (13 of 13 on datekit and on burrow) on the same build. Nothing is seeded, drafted, claimed, imported or landed on demo. |311| 2026-10-10 (W12 perf) | `5881ff2`, the W12 performance sign-offs | At the user's request ("Yes, do it, and all recommended steps", their sign-off on 1297's items). What demo shows changes in speed, not in words: the web's server build is minified (JavaScript 4.07 MB to 2.77 MB with highlighting, entry 696 KB to 309 KB) with its source maps uploaded; Workers Cache keeps the web's anonymous pages at the edge (a request with any cookie or an `Authorization` is never served or stored from it, ADR 0026); a blob page's file and a commit page's first files arrive highlighted from the server in a fixed set of languages (ADR 0027). `infra/.recording` was absent, and `dev-oscabriel` passed smoke 11 of 11, the deployed-web checks (13 of 13 on datekit and on burrow), a cache MISS then HIT at 60 to 120 ms with `vary: Cookie`, BYPASS with a cookie and on `/today`, and server-highlighted HTML on a blob page, on the same build. No bootstrap step; nothing is seeded, drafted, claimed, imported or landed on demo. |312| 2026-10-10 (W13, 1332) | `643ab22`, the W13 build: group A, 1331's import check, 1316 and 1317 | At the user's request ("do all recommended next steps",, which named this deploy; the build plan approves a W13 deploy of demo ahead of time) once `dev-oscabriel` passed smoke and the imports and landing checks on the same code. What demo shows changes at its addresses: `/` is now the landing (what the platform is, the open asks first, the gate's refusal as git prints it, the projects), the front page moves to `/asks`, `/home` is a signed-in person's own page, a short command's words stay whole, and a project's adoption is heard as a landing. The shot list's `/` shots move to `/asks` before the take (1399). Nothing is imported, seeded, drafted, claimed or landed on demo; its `datekit` and `burrow` are only read. |313| 2026-10-11 (W13 close-out, 1332) | `99a517b` (the Worker code of `f224a14`): the landing's projects read on the server with each posture's badge, and an import's source kept on its record and shown on its page (ADR 0031) | At the user's request ("do the next steps you marked as for me yourself, they're approved": the demo deploy, the 38 imports onto demo and dev's teardown were the three held). What demo shows changes: `/` names its projects in the HTML as sent, each with its posture badge, and a project page shows "Imported from" for an import. The deploy comes first because the imports that follow it keep their source only on a platform that holds this code. `infra/.recording` is absent, and `dev-oscabriel` passed `verify`, smoke 11 of 11 and the source backfill of all 38 imports on the same code. No bootstrap step. After it, `scripts/import-examples.ts --stage demo --sources` imports the 38 open-source repos onto demo, kept as on dev, the first imports demo has had; nothing is seeded, drafted, claimed or landed. This row is written before the deploy. |314315### Smoke-test a stage316317```sh
41 unmodified lines
359| H6: Workers Paid | Confirmed. | The account's subscriptions, read again on 2026-10-08, list `workers_paid` and `r2_paid` as Paid. Containers and both Workflows run on both stages. | Nothing. |360| H7: the recording | Open. `demo` is deployed, seeded and smoke-clean, with nothing claimed, and every shot was walked once on 2026-10-08. | `docs/demo/` holds the script, the shot list and the rehearsal checklist, with each failed shot's fallback. While `infra/.recording` exists, `infra/deploy.ts` refuses every deploy and teardown's `--apply` refuses to run. | Walk the pre-flight in `docs/demo/rehearsal.md` on the morning of the take. Run `bun infra/recording.ts on` before the first take and `bun infra/recording.ts off` after the last. Any fix you want shown first (for example datekit's "Open" badge on the front page, or a seeded person signing in on the web) is a code change and a `demo` deploy, which must happen before you turn the lock on. |361| H8: submitting | Open, due Oct 14 by noon PDT (the form closes at 11:59 PM PDT). | The demo URL is `https://web-demo.oscargabriel.workers.dev` ([section 5](#5-urls)). | Submit the form with the repo URL (after H3), the video (H7) and the demo URL. Optionally, reply once to @zeke's call for entries. |362| H9: `docker login` | Not needed so far. No image pull has been rate-limited on either stage. | Nothing. | Only if a deploy's image pull is rate-limited, run `docker login` in your own terminal and deploy again. |361| Deleting the throwaways | Open. The script is ready, and nothing is deleted yet ([The teardown record](#the-teardown-record)). | `bun infra/teardown.ts` printed its plan (52 repos on `dev-oscabriel`, the same at 18:15 UTC). The user's teardown script runs it with `--apply`, then removes the leftovers from before the ledger that still exist, and skips any that are gone. | After the last take and before Oct 14, read the teardown script the build left for you and run it in your own terminal. Then commit `infra/created.jsonl`, which by then holds a `deleted` line for each repo removed. |363| Deleting the throwaways | Half done. The ledger's 63 throwaway repos on `dev-oscabriel` were deleted on 2026-10-11 ([The teardown record](#the-teardown-record)); the pre-ledger leftovers, the test accounts and the grants are still the user's script's. | `bun infra/teardown.ts` printed its plan (52 repos on `dev-oscabriel`, the same at 18:15 UTC). The user's teardown script runs it with `--apply`, then removes the leftovers from before the ledger that still exist, and skips any that are gone. | After the last take and before Oct 14, read the teardown script the build left for you and run it in your own terminal. Then commit `infra/created.jsonl`, which by then holds a `deleted` line for each repo removed. |364| ChatGPT usage for the swarm's tamsin | Not blocking. The fallback was taken on 2026-10-08. | OpenCode's ChatGPT sign-in hit its usage limit during the swarm's rehearsal, and it resets on Oct 16, after the deadline. The roster runs tamsin on `opencode-go/gpt-6-luna` (OpenCode Go). | Nothing. To show `openai/gpt-5.5` in the take instead, raise the ChatGPT plan's limit (a purchase, yours) and change tamsin's line in `scripts/lib/swarm/roster.ts` back. Before the take, check OpenCode Go's and Amp's usage headroom: a six-agent run used about 3.2M input tokens on OpenCode Go. |365| OpenCode Zen key for the swarm's pell | Not blocking. The fallback was taken on 2026-10-08. | pi here has no OpenCode Zen key, so the roster runs pell on `opencode-go/qwen3.8-flash`, as in the swarm's rehearsal. | Nothing. To show Gemini flash in the take instead, add OpenCode Zen's key to pi and change pell's line in `scripts/lib/swarm/roster.ts` back. |
modified:packages/config/test/import-examples.test.ts+22 added-24 removed
1/**2 * `bun scripts/import-examples.ts`: the open-source repos the code browser3 * is previewed on, imported one at a time as the operator, skipped once a4 * platform lists them, recorded in the ledger as kept imports, never on5 * `demo`; and `--tags`' backfill, which pushes tags only and never shows6 * its token.4 * platform lists them, recorded in the ledger as kept imports, on `demo`5 * as on a dev stage; and `--tags`' backfill, which pushes tags only and6 * never shows its token.7 */8import { NodeServices } from "@effect/platform-node";9import { describe, expect, it } from "@effect/vitest";10import { ProjectExists } from "@repo/protocol/refusal";
24 unmodified lines
35 warmPaths,36} from "../../../scripts/lib/import/plan.ts";37import type { ImportExample } from "../../../scripts/lib/import/plan.ts";38import {39 ImportExamplesFailed,39 importExamples,40 ImportTarget,41 initUntilAnswered,42 TagBackfill,
295 unmodified lines
338];339340describe("bun scripts/import-examples.ts", () => {341 it.live(343 "refuses --stage demo before it builds a target or calls anything",342 "takes --stage demo as any declared stage: its dry run plans the import onto demo",343 () =>344 Effect.gen(function* () {346 let built = 0;345 const platform = yield* fakePlatform(["ky"]);346348 const result = yield* importExamples(["--stage", "demo"], () => {349 built += 1;347 const { ledger, printed, result } = yield* ran(348 ["--stage", "demo", "--dry-run", "--only", "anyhow"],349 platform.layer350 );351351 return Layer.mergeAll(352 Layer.effect(ImportTarget, Effect.die("a target was built")),353 Layer.effect(TagBackfill, Effect.die("a backfill was built")),354 Layer.effect(Warmer, Effect.die("a warmer was built"))355 );356 }).pipe(Effect.result);357358 expect({ built, result }).toStrictEqual({359 built: 0,360 result: Result.fail(361 new ImportExamplesFailed({362 reason:363 "--stage demo is the recording stage: the imports go on a dev stage only",364 })365 ),352 expect({353 ledger,354 printed,355 result: Result.isSuccess(result),356 }).toStrictEqual({357 ledger: [],358 printed: [359 "import-examples on dev-oscabriel (https://platform.test): 1 to import, 0 listed already",360 " would import anyhow from https://github.com/dtolnay/anyhow (master)",361 "dry run: nothing imported, nothing recorded",362 ],363 result: true,364 });367 }).pipe(Effect.provide(NodeServices.layer))365 }).pipe(Effect.scoped, Effect.provide(NodeServices.layer))366 );367368 it.live(369 "imports each project the platform doesn't list, one at a time, with its counts, warms it, and records each in the ledger as a kept import",
362 unmodified lines
modified:scripts/lib/import/run.ts+3 added-9 removed
167 unmodified lines
168 );169 });170171const USAGE =172 "bun scripts/import-examples.ts --world node | --stage <dev-…> [--url <origin>] [--web <origin>] [--only <project>] [--tags] [--sources] [--warm] [--dry-run]";172 "bun scripts/import-examples.ts --world node | --stage <stage> [--url <origin>] [--web <origin>] [--only <project>] [--tags] [--sources] [--warm] [--dry-run]";173174/** The flags the command takes; any other is a typo, refused. */175const FLAGS = new Set([176 "--dry-run",
8 unmodified lines
185]);186187const decodeProject = Schema.decodeUnknownOption(ProjectName);188189/** The command's flags, read; `--stage demo` is refused before anything runs. */189/** The command's flags, read; a typo or a stage the table does not declare is refused before anything runs. */190export const optionsOf = (191 argv: readonly string[]192): Effect.Effect<ImportOptions, ImportExamplesFailed> =>193 Effect.gen(function* () {
17 unmodified lines
211 `--world ${world.value}: the imports know only --world node`212 );213 }214215 if (Option.contains(raw, "demo")) {216 return yield* failed(217 "--stage demo is the recording stage: the imports go on a dev stage only"218 );219 }220215 const tags = argv.includes("--tags");216217 if (tags && Option.isSome(world)) {218 return yield* failed(
301 unmodified lines
520 );521 });522523/**530 * `bun scripts/import-examples.ts …`: reads the flags (refusing `demo`524 * `bun scripts/import-examples.ts …`: reads the flags (a bad one refused525 * before anything is built or called), then runs over the target, backfill526 * and web `layersOf` gives for them.527 */528export const importExamples = <E, R>(
10 unmodified lines
modified:scripts/import-examples.ts+4 added-2 removed
modified:AGENTS.md+1 added-1 removed
64 unmodified lines
65- `bootstrap -- --stage <stage>`: makes a stage's Cloudflare resources; a second run creates nothing, and `--dry-run` only prints the plan.66- `deploy -- --stage <stage>`: the one way to deploy. It runs `verify`, deploys the three Workers with Wrangler, reads the push trigger back, then runs `smoke`.67- `smoke -- --stage <stage>`: read-only probes against a live stage. `--loop` then runs the whole core loop on a throwaway project, `smoke-<run>`, through the CLI and git, and refuses `demo`.68- `seed`: puts the two example projects on a platform (`--world node` on this machine, or `--stage <stage>`); a second run changes nothing. `--only <example> --as <name>` seeds a fresh copy under another name, and refuses a taken one.69- `import-examples -- --stage <stage>`: imports the open-source repos the code browser is previewed on, one at a time, onto a stage other than `demo`, each recorded in the ledger as kept; `--tags` backfills the tags Artifacts' import leaves out, `--only <name>` imports one, and `--world node` imports onto this machine.69- `import-examples -- --stage <stage>`: imports the open-source repos the code browser is previewed on, one at a time, onto a stage (`demo` included, with its reason in `infra/stages.md`), each recorded in the ledger as kept; `--tags` backfills the tags Artifacts' import leaves out, `--only <name>` imports one, and `--world node` imports onto this machine.70- `swarm -- --stage <stage> --project <name>`: plans six fictional contributors, on four harnesses, against one split family on a stage, claims each one's ask, prepares a workspace with a clone of its fork outside the checkout, starts each harness headless on the brief and sends every refusal back into the same session, at most three times, then writes the run's summary; `--view herdr` runs them in herdr panes beside a counter, and `--dry-run` only prints the plan.71- `release -- --build | --upload --stage <stage> | --publish`: builds the CLI's npm package and two binaries, uploads a release to the stage's own bucket, which the platform serves, and leaves `npm publish` to a person: under an agent it prints the command instead.7273## Nouns
75 unmodified lines