Skip to content
Myr

Run the swarm's pell on opencode-go/qwen3.8-flash, since pi here has no OpenCode Zen key

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

- The recorded fallback (spec §8.9, 803's finding): `pi auth check --provider opencode` still says not_ready on this machine, while `opencode-go` is ready and qwen3.8-flash ran the pi adapter live in 803. Without the swap, pell's run in the swarm would end failed before it started. - scripts/lib/swarm/roster.ts: pell's model is opencode-go/qwen3.8-flash; the header and pell's comment say why, and that putting Gemini back is this one line once the key is in pi. - Tests, red first by assertion (5 failing before the roster changed): swarm.test.ts's roster regex (pi's third model is a qwen flash) and its dry-run row, swarm-herdr.test.ts's pane launch, swarm-loop.test.ts's start and resume argv, and demo-docs.test.ts, which holds docs/demo/swarm-scenario.md's table to the roster. - docs/demo/swarm-scenario.md and rehearsal.md: pell's row and the pre-flight line name the qwen flash and pi's opencode-go sign-in; infra/stages.md's OpenCode Zen row is no longer blocking.

authored by oscabriel · committed by oscabriel · parent 2c90794 · Browse files · 7 files+17 added−17 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+17 added−17 removed

  • tests:+5 added−5 removed
  • other:+12 added−12 removed

7 files+17 added−17 removed

modified:docs/demo/rehearsal.md+1 added-1 removed
modified:docs/demo/swarm-scenario.md+2 added-2 removed
13 unmodified lines
14| 2 | tamsin | OpenCode | `openai/gpt-5.5` | none | `drop-legacy-fetch-burrow-billing` |15| 3 | ivo | Amp | `medium` (one of its modes) | none | `drop-legacy-fetch-burrow-catalog` |16| 4 | marisol | pi | `opencode-go/kimi-k3` | none | `drop-legacy-fetch-burrow-kit` |17| 5 | dagny | pi | `opencode-go/glm-5.3` | none | `drop-legacy-fetch-burrow-notify` |18| 6 | pell | pi | `opencode/gemini-3.8-flash` | the pi adapter (`-e`): the brief, the scope guard and a verdict gate | `drop-legacy-fetch-burrow-search` |18| 6 | pell | pi | `opencode-go/qwen3.8-flash` | the pi adapter (`-e`): the brief, the scope guard and a verdict gate | `drop-legacy-fetch-burrow-search` |1920Each handle and model id is the one `scripts/lib/swarm/roster.ts` holds, word for word; the plan prints them (S09), and that printout is what the video shows. pell's Gemini flash is OpenCode Zen's, which pi reaches only once the OpenCode Zen key is in pi on the machine that runs the take; without it, pell's run is recorded as failed with that reason, and `opencode-go/qwen3.8-flash` (which runs headless with the adapter) is the one-line swap in the roster.20Each handle and model id is the one `scripts/lib/swarm/roster.ts` holds, word for word; the plan prints them (S09), and that printout is what the video shows. pell ran OpenCode Zen's Gemini flash (`opencode/gemini-3.8-flash`) until 2026-10-08, when the swarm's live rehearsal swapped it for `opencode-go/qwen3.8-flash`: pi on this machine has no OpenCode Zen key, and the qwen flash runs headless with the adapter. Putting Gemini back is the one-line swap in the roster, once the key is in pi on the machine that runs the take.2122Every agent gets the same zero-install brief: the ask as its page says it, the fork's remote, and the loop the project's AGENTS.md gives (claim, work inside the territory, `myr check`, push, read the verdict). Nothing about the gate's internals.2324## The plan for the burrow family
69 unmodified lines
modified:infra/stages.md+1 added-1 removed
122 unmodified lines
123| H6: Workers Paid | Confirmed. | The account's subscriptions, read again on 2026-10-08, list `workers_paid` as Paid. The sandbox (containers) and both Workflows have run on `dev-oscabriel` since 2026-10-07. | Nothing. |124| H7: the recording | Open (Oct 13). | `docs/demo/` holds the script, the shot list and the rehearsal checklist. The demo stage is deployed and seeded (2026-10-08, 15:44 UTC), with nothing claimed; the rehearsal comes next. The recording lock exists: while `infra/.recording` is there, `infra/deploy.ts` refuses every deploy. | Run `bun infra/recording.ts on` before the first take and `bun infra/recording.ts off` after the last (the rehearsal checklist says when). |125| H8: submitting | Open, due Oct 14 by noon PDT. | The demo URL is `https://web-demo.oscargabriel.workers.dev` (section 6). | Submit the repo URL, the video and the demo URL. |126| H9: `docker login` | Not needed so far. No image pull has been rate-limited. | Nothing. | Only if a deploy's image pull is rate-limited: run `docker login` in your own terminal. |127| OpenCode Zen key for the swarm's pell | Open. | pell is planned on `opencode/gemini-3.8-flash`. The fallback, a one-line swap to `opencode-go/qwen3.8-flash`, is recorded. | Add OpenCode Zen's key to pi, or accept the fallback. |127| OpenCode Zen key for the swarm's pell | Not blocking: the fallback was taken on 2026-10-08. | pi here still has no OpenCode Zen key, so the roster now runs pell on `opencode-go/qwen3.8-flash`, as it ran in the swarm's live rehearsal on `dev-oscabriel`. | Nothing. To show Gemini flash in the take instead, add OpenCode Zen's key to pi and swap the roster's one line back. |128| Deleting the throwaways | Open, after the rehearsal. | The teardown plan (section 4). | Read the teardown script and run it in your own terminal. |129130## 6. URLs131
122 unmodified lines
modified:packages/config/test/swarm-herdr.test.ts+1 added-1 removed
224 unmodified lines
225 "/work/.swarm/r1/pell/sessions",226 "--session-id",227 "pell",228 "--model",229 "opencode/gemini-3.8-flash",229 "opencode-go/qwen3.8-flash",230 "-e",231 piAdapter,232 ],233 env: {},
1055 unmodified lines
modified:packages/config/test/swarm-loop.test.ts+2 added-2 removed
1005 unmodified lines
1006 "/work/.swarm/r1/pell/sessions",1007 "--session-id",1008 "S-1",1009 "--model",1010 "opencode/gemini-3.8-flash",1010 "opencode-go/qwen3.8-flash",1011 "-e",1012 adapter,1013 "Fix it.",1014 ],
7 unmodified lines
1022 "/work/.swarm/r1/pell/sessions",1023 "--session-id",1024 "pell",1025 "--model",1026 "opencode/gemini-3.8-flash",1026 "opencode-go/qwen3.8-flash",1027 "-e",1028 adapter,1029 "Answer it.",1030 ],
100 unmodified lines
modified:packages/config/test/swarm.test.ts+2 added-2 removed
363 unmodified lines
364 /^openai\/gpt-/u,365 /^(?:low|medium|high|ultra)$/u,366 /\/kimi-k3$/u,367 /\/glm-5\.3$/u,368 /\/gemini-[\d.]+-flash$/u,368 /\/qwen[\d.]+-flash$/u,369 ];370371 expect(372 roster.map(({ model }, at) => models[at]?.test(model))
607 unmodified lines
980 ["dagny", "pi", "opencode-go/glm-5.3", children[4], "@burrow/notify"],981 [982 "pell",983 "pi",984 "opencode/gemini-3.8-flash",984 "opencode-go/qwen3.8-flash",985 children[5],986 "@burrow/search",987 ],988 ]);
397 unmodified lines
modified:scripts/lib/swarm/roster.ts+8 added-8 removed
3 unmodified lines
4 * accounts) with one harness and one model, vouched in burrow's5 * `vouched.td`, so their claims are not `NotVouched`.6 *7 * The model ids are what this machine's harnesses list and run (2026-10-08):8 * `opencode models` for OpenCode's GPT model and OpenCode Zen's Gemini flash,9 * `pi --offline --list-models` for pi's (its ready provider is `opencode-go`),10 * `amp --help` for Amp's modes. OpenCode signed in with a ChatGPT account11 * refuses `openai/gpt-6.1-sol` ("not supported when using Codex with a12 * ChatGPT account"), so tamsin runs `openai/gpt-5.5`, which ran headless.8 * `opencode models` for OpenCode's GPT model, `pi --offline --list-models`9 * for pi's (its ready provider is `opencode-go`), `amp --help` for Amp's10 * modes. OpenCode signed in with a ChatGPT account refuses11 * `openai/gpt-6.1-sol` ("not supported when using Codex with a ChatGPT12 * account"), so tamsin runs `openai/gpt-5.5`, which ran headless.13 */14import { Handle } from "@repo/protocol/ids";15import { Schema } from "effect";16
58 unmodified lines
75 harness: "pi",76 model: "opencode-go/glm-5.3",77 },78 // The tier-2 beat: the pi adapter's brief, scope guard and verdict gate.79 // OpenCode Zen's provider (`opencode/…`) needs its key in pi on the80 // machine that runs it (pi reports it not configured here).79 // It ran OpenCode Zen's `opencode/gemini-3.8-flash` until pi here proved80 // to have no OpenCode Zen key; the qwen flash ran the adapter live.81 {82 adapter: true,83 handle: Handle.make("pell"),84 harness: "pi",85 model: "opencode/gemini-3.8-flash",85 model: "opencode-go/qwen3.8-flash",86 },87];