109 KiB
Lessons from merged work
magpie's code is written, reviewed, merged and released by agents. Each night the day's commits are reviewed for what had to be fixed again, what shouldn't have merged and what was verified too thinly. What we learned is kept here. Read this before changing code. Each lesson is a rule, then why, then the evidence. "Seen" counts the days a review found it. A lesson seen on 3 or more separate days moves into docs/code-standards.md.
The day of 2026-10-05 had 220 commits and ~170 releases. About 40 of them fixed something released earlier the same day or the day before. Most fixes didn't need a second try. The ones that did fall into the patterns below.
On 2026-10-07 four lessons were seen a third day and moved into the code standards: a fix reaches every sibling, a change re-derives what is built on it, a red test on main is a bug now, and a merge records what was run at the reviewed head. They are listed under Moved to the code standards.
2026-10-08 had 192 commits and 18 releases (v0.1.1105 to v0.1.1122), each
tagged after a green run. Two more lessons were seen a third day and moved:
real use before building on it, and GUI tests in both engines and every
language. The acceptance checks now include gofmt -l and a Linux and
Windows go vet, since a cross-OS build skips _test.go.
2026-10-09 had 109 commits and 10-10 had 74 up to 13:51 (v0.1.1127 to
v0.1.1154). Every tag waited for a green run, every release has its 16
assets, and every commit over 400 lines has a body that says what was run.
What went wrong was earlier in the work. A privacy exemption was keyed on a
field's name, which let tool arguments go out unmasked. Two sessions
committing from one checkout shipped each other's files under the wrong
subjects. A known DNS-rebinding hole sat documented in a subsystem page
until the review reproduced it (fixed in c431225a). Three lessons were seen
a second day.
From 10-10 13:51 to 10-11 05:20 there were 191 commits and 18 releases (v0.1.1155 to v0.1.1172), each tagged on a green run. Most bodies say what was run, what was broken by hand, and what wasn't tried. What went wrong was in the tests and in what "the same on main" meant. A test-isolation fix was made twice and missed a package each time (#1524). Four commits shipped past a red they called load or "the same on main" without filing it, and one of those reds was a real rate-limit gap. Two lessons were seen a third day and moved into the code standards: whatever a test starts ends when it does, and a timing test leaves room on both sides.
From 10-11 05:20 to 10-14 04:00 there were 602 commits and 56 tags (v0.1.1173 to v0.1.1228). Every tag the review checked was on a green run, but v0.1.1213 and v0.1.1218 were never published (#1846), and two sessions tagged one commit twice. What went wrong was mostly running less than the suite: four commits on 10-13 ran chosen packages and turned main red through guard tests in packages they didn't touch, and two left GUI files red. Seven lessons were seen a third day and moved into the code standards: a failed read means unknown, nothing blocks under a lock its reader needs, another app's values come from that app, a test named for a guarantee fails without it, a test never reaches the network, a tag waits for a green run and is not a release, and a large commit has a body with what was run.
From 10-14 04:16 to 10-15 07:30 there were 275 commits and 16 tags
(v0.1.1229 to v0.1.1244), each on a green run with its 16 assets. Two
security holes were reported and fixed where every route passes: a page
sending Origin: null (#2242) and a *.localhost page that WebKit
resolves through DNS (#2256) both spent a subscription without a key. Main
went red six times from tests that measured time instead of the state
they were about: five waited a fixed duration, and one pinned a date that
was tomorrow in UTC. A community layout change was merged and reverted the
same day (#1354). Three plugin versions were bumped but never reached npm
(plugins#56).
From 10-16 04:00 to 10-17 04:00 there were 73 commits and 16 tags (v0.1.1261 to v0.1.1276), each on a green first attempt with its 16 assets. Most bodies say what was run, what was broken by hand and what wasn't tried, and the reds they name have issues. What went wrong was at the edges of a run. v0.1.1276 moved every deprecated built-in onto its plugin for good, with no real move on record and #2596 asking for one. A run of chosen GUI files left i18n-keys red under a tag. A suite run at an older base passed while the pushed head failed. Parallel full suites on one machine made every run time out until the sessions took turns.
From 10-17 04:00 to 10-18 04:00 there were 77 commits and 7 tags
(v0.1.1277 to v0.1.1283), each on a green run with its 16 assets. The
retire stack (0f1666b38 to de671719a, about 30k lines out) took all 11
deprecated built-ins out of magpie, with a dead-code diff and real
accounts for 8 of them. What went wrong was again at the edges of a run.
Four bodies recorded a run at a tree other than the one pushed. Reds
"under load" were filed (27 such issues since 10-16) and then commented
on with no owner until CI went red on them. A check added to the fallback
path read every passing reply's whole body, and a 24MB reply waited past
its client's timeout on CI (7ac20247a). Two lessons were seen a third day
and moved into the code standards: magpie's default never overrides a
value the user set, and a checkout belongs to the session that made it.
Reading the report
Reproduce the reporter's exact case, on the surface they use, before you call it fixed. Use their provider, plan, agent and layout, and their GUI, TUI or CLI. Check their goal (it drags, the title shows, the reason is readable), not a step on the way to it.
- #834 came back 4 times (v0.1.920 → .925 → .931 → .938). Each round fixed only the agent in the screenshot. #792, #743, #791 and #933 were closed and reopened within hours.
4788cf2bput gnayiab's Cursor list error in the GUI. The reporter uses the TUI in WSL. Fixed inf3c05b5e.60b910b7made a warm /api/state faster. The report was the cold start (~8.5s of SyncCatalog). Fixed in2a4042a9.- 10-13:
def3a41e3built on a request its reporter (Fallmonkey) had put on hold ("先别做"), and was reverted in2c30e5cee. Read the whole thread, to its last comment, before starting. - Seen 2× (2026-10-05, 2026-10-13).
Build fixtures from the reporter's literal bytes, not a similar sample you made up.
- #823:
878a8489"proved" the Trae case with an invented<tool_call>{json}. The screenshot had no JSON. The reporter came back (c353f7bd), and the parser has grown 2 more formats since. - 3f76105b's test used a short check-in reason. The real one was ellipsized
(#821,
eb5edced). 26706c33used a different skills layout from #791's.- For model-output parsers, collect several real failing turns first. Truncated and empty bodies go in the tests.
- Seen 1× (2026-10-05).
When the vendor refuses magpie but serves its own client on the same account, diff every header of the failing request against the official client's. Do that before adding retries or fallbacks.
- #256 Copilot Auto took four releases (
719a6820,026158b0,251ef218, then4660fd69). Each added another fallback. The cause was a missing X-GitHub-Api-Version beside Copilot-Session-Token. - Seen 1× (2026-10-05).
Decide whether a refusal is about the account, the model or the request content before you rest an account.
5353ed54counted WorkBuddy's "unapproved channel" (an agent's system prompt) as an account fault. It rested every WorkBuddy AI account for 5 days (2033df0f).- Test that the same request fails the same way on a second account.
- Done right on 10-07:
bed306ae(#1062) told Google's 400 for an unsupported thinking level apart from thinking_config being turned away. It now remembers that the model refused reasoning off, not that the provider refused thoughts. - Seen 1× (2026-10-05).
Fix what the error is about, not only how it is worded.
e63fbb0e(kkgg on Discord, "GLM 直接429了"): Zhipu answered a GLM Coding Plan key sent to its pay-as-you-go endpoint with 429 1113 "余额不足". The commit relabelled the 429 as out of credit, and nothing in magpie tells the user the key belongs on the Coding Plan endpoint, which is what would make their requests work.- When a report shows a wrong label, also ask why the request failed. Fix that, or point the user to the fix in the message itself.
- 10-10:
1134c7a8reworded the "restart codex" advice. luci hit the same stale app-server daemon on the next release, ande611fc65then restarted it from magpie. - Seen 2× (2026-10-06, 2026-10-10).
Fix the class, not the sample
Scope a vendor rule to that vendor.
e950eb08capped every model at 272K over one DeepSeek report. Claude [1m] models were capped too (531dc0aa).71d2da1fpriced Anthropic's 1-hour cache write onto OpenAI models (3a30ac87).- Check the claim about the vendor's behaviour against its source or docs. Add a test that another vendor's model is unchanged.
- Seen 1× (2026-10-05).
A restriction covers every route that reaches the thing it guards.
46f03154(#882) held keys to some models. count_tokens and System One's decision model weren't covered untild7a8ddc8.- Done right on 10-07:
6b6113aalet a gateway key take the user's own value. It found that a local request with such a value would skip key limits, and moved managedKey onto access.Named, with a test that fails on the old check.c83c0d5f(#1112) kept a pinned MAGPIE_ADDR host while sharing, and checked that requests behind Tailscale Serve still count as remote. - 11-13:
db9a5ec7cserved Claude Code's advisor tool in magpie and asked the advisor model as magpieChose, which drops the key's models list. The caller names that model in the request, so a key held to some models could reach any other model through it. v0.1.4023 and v0.1.4024 shipped it;0b38eb21cfixed it 23 minutes later, and found that the native advisor had passed any same-provider Claude model upstream for a held key since before. When a request can name a second model (advisor, a sub-agent, a decision model), that model goes through keyAllows like the first.0b38eb21cran-rungateway tests only, not the full suite. - Seen 2× (2026-10-05, 2026-11-13).
Scope a privacy or security exemption by where the value sits in the protocol, never by a key's name.
7137feb4kept any object holding a "signature" or "encrypted_content" key, and any*_idkey, unmasked. A tool call's input is written by the model, so{"signature": …, "body": "DB_PASSWORD=… 13800138000"}or auser_idin tool_use input went to the vendor unmasked.1965e1f0limited the exemption to thinking/reasoning blocks and Gemini's thoughtSignature, and never keeps anything under a tool call's arguments.- Test the exemption with the protected key placed where the user's data goes: tool arguments, message text, a nested object.
- 10-28:
3e96197dalet an sk- value with no capital and no run of 16 between hyphens go unmasked, so SK hynix article addresses are no key. Its tests held four key shapes, none of them the closest to a slug: sk- and a UUID in lower case passed as words and went to the vendor (bad05e1b7). An exemption by shape is tested with the real secret that looks most like what it lets through. - Seen 2× (2026-10-09, 2026-10-28).
When one access list must sit inside another, prove the containment for each pair of entry kinds; never try one entry on the other's text.
bf4d8f3e5(11-11) let a gateway key's model be are:pattern and judged an issued key's glob by matching the issuer's pattern against the glob's text.[^-]and.take the*, so an issuer held tore:^openai/[^-]*$issuedopenai/*and the issued key used openai/gpt-4o;re:^grcoveredgr*and with it group/… ids. Its body said only that each test was red with the match switched off, and no test put an issued glob under an issuer's pattern. Fixed in08cca7311.- List the kinds (exact id, glob, pattern, group, account-derived) and test each child kind under each issuer kind with an id the issuer may not use. When containment can't be shown, refuse it.
- Seen 1× (2026-11-11).
A security gap a doc names is an open bug, not a description.
- docs/subsystems/gateway-routing.md said "There is no
Hostcheck, so a page whose own name resolves to 127.0.0.1 (DNS rebinding) counts as same-origin". On 10-10 the review reproduced it on main. A rebound page got 200 on /v1/models, /v1/chat/completions and /v1/magpie/quotas without a key. Fixed inc431225a. - A same-origin exemption needs the Host checked too. A rebound page's GET carries no Origin at all.
- When writing such a sentence, file an issue in the same commit.
- Seen 1× (2026-10-10).
An origin exemption judges every Origin a browser can send, not only the http(s) names it expects.
c20bb76c4(#2242, JasonBuildAI):foreignPagejudged only http and https origins, soOrigin: null, which a sandboxed frame sends, passed corsGuard without a key and spent the user's subscription. Null now needs a gateway key.d182294be(#2256, ggbdpq): every*.localhostcounted as this computer because "browsers resolve it to loopback". Chrome and Firefox do; WebKit before macOS 26 asks the system resolver, so a hostile network's DNS serves such a page from anywhere. Now it needs a key too, except tauri.localhost and wails.localhost on Windows, where those webviews live.- List what can arrive: null, each scheme, each engine's resolution of the name, and a missing Origin (the 10-10 rebinding case). Test each one without a key.
- Seen 2× (2026-10-10, 2026-10-14).
A file another process rewrites is read as possibly half-written.
- #1928's host.js
mdev()read models.json while catalog.Sync rewrote it in place, and could drop the catalog on a half-written read (194b2fd3c). - Done right:
d5847f198writes Codex's auth.json to a flushed temp file and renames it over the old one. - Write through temp-and-rename, and keep the last good read when a parse fails.
- Seen 1× (2026-10-14).
A pinned hash or a new download source is checked against the vendor, and trusted only as far as who can write it.
4e9335c96pinned Bun's windows-aarch64 SHA-256. The review checked it against Bun's own SHASUMS256.txt, not the commit's word.118f4f28binstalls a plugin npm doesn't have from the plugins repo'sdistbranch. Its sha512 comes from the same branch, so it only guards against a bad mirror. The trust is in who can pushdist: publish.yml on a push to main (pull_request runs get no write token).- Seen 1× (2026-10-14).
Text magpie adds to a prompt that goes to a vendor names neither magpie nor the vendor's limits.
5d33f060b(10-12) headed the models it added to Codex's spawn_agent description "(Codex names only five above; magpie serves these too)". That text goes upstream, to OpenAI too.3c4f8f9aemade it neutral, and its test fails when the text names magpie, Codex or "five". The cost is ban risk, so a prompt change gets the same care as a header change.- Seen 1× (2026-10-12).
A new reader of a live object reads each field the way its writer writes it.
7f827b3b0(10-27) added /v1/magpie/claude-runs, which lists every run and calls pid() on each. pid() read cmd.Process without a lock while a run's launch was still in cmd.Start writing it. It was red under -race on ubuntu CI at6104e88aaonly (run 40698575099), since most runs were cancelled by the next push.983fff23dreads the run's tree under mu first; it was red with a 50ms sleep injected at launch, and not in 30 runs without it.- Before adding a list or status route, find who writes each field it reads and under which lock. Run its test under -race with a delay injected into the writer.
- The fix moved when the pid shows, and the test waiting on it wasn't
re-read: TestClaudeRunsNamesEachProcess took a listing, then read the
fake's hang.pid, and could end on a list made before the tree was set
(PID 0), red on CI at
5bfd76cd8.3dd59428ewaits for a run listed with that pid; red 3 of 3 with a sleep injected in the listing before. A change to when a value appears re-reads every wait on it. - Seen 1× (2026-10-28).
A bit or enum value has one owner.
d4c2512d2(#1874) gave a usage row's Flags bit 256 to rowOwnCost while a rebase of #1463 gave it to rowReasoningHidden, so every reported cost read back as hidden reasoning. 8179ce768's TestRowFlagsApart fails when a bit is used twice. After a rebase, grep the values both sides claim.- Seen 1× (2026-10-13).
A cache entry is reused only when every field read back from it matches what the key rounded away.
059d995d5(11-11) kept AllOf's counted windows under window{key, start's Unix second, scope}, and reused the kept prefix, start and all. A 10-day limit reset and made a 5-hour one 1.7ms later shared the key, so the 5-hour window reported the 10-day start and counted its rows. TestGatewayKeyLimitCLI was red on ubuntu and macOS CI;8b2fb6b08reuses an entry only when its start equals the limit's. The same commit's package regexps skipped lazyre and turned TestNoEagerPackageRegexps red (d62220d43): it ran chosen tests, not the packages it touched.- Test two values that round to one key, in the same second.
- Seen 1× (2026-11-11).
A command never takes a flag, or a value it doesn't know, as data to write.
magpie snow --helptook "--help" as a model: it deleted profiles/magpie.json and wrote "--help" into the user's profile.76db4c6c2(#1457) made --help print usage on every command, and Snow and Gemini CLI refuse an unknown value. Try each command with --help and a bad value in a sandbox HOME.- Seen 1× (2026-10-11).
A sibling the body names and leaves alone gets an issue in the same commit.
d4a1b9baa(#2634) ended a think block at the first</think>no longer, and said "Not changed: the plugins repo's think-tags middleware" with the same rule. Nothing was filed until the review's plugins#176, fixed half an hour later.- Seen 1× (2026-10-17).
A fix that holds only for new data says what happens to the old, for every user.
dccfefdf7(#2635) made an imported skill follow the app's versioned folder. Skills imported before keep the stale link, and only the reporter was told to import again.- Done right on 11-13:
873a5caa2(Edward4226, #2961) wrote new launch agents as Standard, and58ea9cademended the Background ones already installed the same day. - Seen 1× (2026-10-17).
The user's own files and settings
Never let magpie's default override a value the user set themselves is in the code standards since 10-18. See Moved to the code standards.
Before deleting or overwriting a live credential, find every record that could match the same key.
43a65950matched Codex accounts by display name. Two Team seats of one email share it, so removing one deleted auth.json for both (c13f3bfb). The sign-out rule was then rewritten again (4c35c1b8).- Seen 1× (2026-10-05).
When you hand users a writable copy, test "user edits it, then sync".
- 3c7ceb68's "Give skills as Copies" undid the user's own edits on the next
start (
20bdf1e9). - Seen 1× (2026-10-05).
Verification
A fixed date in a test is checked against every clock the code reads.
3c4b4dc97(#1591) held usage's clock at 2026-10-15 12:00 and wrote its rollouts then, but /api/sessions/overview counts seven days up to the real today. In UTC+8 it passed; on CI, in UTC on 10-14, the fixture was tomorrow and main went red (21aa40285). From 10-23 it would have been red everywhere.- Hold every clock the path reads, or write the fixture at time.Now(). Run it once with TZ=UTC and once in a far zone.
- Seen 1× (2026-10-15).
A test never swaps time.Local: the code it tests takes its zone from a variable of its own.
4028687b8(11-12) set time.Local to +08:00 in TestMemorySearchDatesInLocalTime. Every time.Now reads time.Local, so the swap raced an http conn goroutine an earlier test had left finishing, and main's Test run at727e23637went red on macOS -race.af212c945gave memoryStamp a memoryZone variable and moved the saved-zone check into memory, where the clock is already a variable.- #2949 (TestHeldClock) and #4360 (testenv.Zone's cleanup) are the same race and still open. testenv.Zone waits for its own stand-ins only, not for whatever another test left running.
- Seen 1× (2026-11-12).
Work added to a path every request or poll takes is costed at that rate and at its largest input.
- 644f4316f's Codex model/effort consumption was read again on every 15s
Sessions poll.
019199e0freads it again only when a call, price or identity changed, before a release. b14784c03(10-18) putfailure(hw.code(), hw.errBody())in an if's init in serve, so it ran on every try, a passing one too. A JSON reply is held whole, andfailureover a 24MB one took 1m45s, so TestPluginStreamLargeReplies' JSON cases waited past their client's timeout on ubuntu and macOS CI.7ac20247areads the body only once the try is known to have failed, as every otherfailurecall in serve does.- Put a body scan after the cheap checks that rule it out, and time it on the largest reply a test has.
- Seen 2× (2026-10-14, 2026-10-18).
A new route, setting or agent runs the packages whose guards list them. TestEveryRouteHasACommandOrIsNamed (internal/cli) lists every route, TestSettingsSaveKeepsWhatItDoesNotSend (internal/gui) every setting, and TestEveryAgentInLibrary (internal/library) every agent.
- 11-11:
747632890(context-cap) andeb56de0b5(the catalog's model list) ran chosen tests and turned both guards red on CI at8aae124b0. An hour later58fb07095(named proxies, 1,714 lines) did it again with three routes and two settings, a minute afterc1a072636mended the first. Both bodies say what they ran; neither rango test ./internal/cli(40s). The same day three commits that each fit the core's script budget at their own base left it 4 bytes over together (61a93b531). - 11-15:
261f48226(Disconnect and quit) added POST /api/quit/disconnect and ran internal/gui and five GUI files, not internal/cli. The CLI guard was red on ubuntu and macOS CI at0ffb21f83(#6786). After this rule had been written and missed again, the check moved to the package GUI changes do run: internal/gui's TestEveryRouteIsNamedForTheCLI fails on a route that the CLI's list doesn't name. When a rule keeps being missed, put its check where the work already runs. - 11-17:
00b2c11a6(Open Code Review) added an agent and ran chosen internal/agent tests, a real ocr review and both cross-OS vets, but pushed before its full suite. The suite then found TestEveryAgentInLibrary red, andeffdd1bebadded the noLibrary line half an hour later. That guard was red on main for a new agent on 11-10 twice (399010bef,68cb92e8e), 11-12 (7e8214d60) and now. The check now also runs where agents are added: internal/agent's TestEveryAgentNamedForTheLibrary fails on an agent that targetOf's cases and noLibrary both leave unnamed. - Seen 3× (2026-11-11, 2026-11-15, 2026-11-17).
A byte-for-byte check of a stream allows what the protocol allows, and its failure message counts against what it compared.
- TestPassthroughResponsesBigLastEvent compared a 2MB stream byte for
byte. On macOS CI at
2d106b5c1it took 5.83s, past keepHeldEvery, and the agent was kept alive with one: keepalivecomment, which every SSE client skips. The message said "17 bytes added", counted against the raw reply, not the renamed one it compared, so the 12-byte keepalive looked like a 17-byte"model":"fake/m1". Fixed infff0755b5, reproduced by setting keepHeldEvery to 1ms (red 3 of 3 on the old test). - A stream test leaves out SSE comments at a line's start. A failure names the byte where the bodies part and what each side has there.
- Seen 1× (2026-11-15).
A test that bounds a count of work is run at -cpu 1 too.
9dcec6751(11-16) bounded the request archive's LISTs at about 45 for 200 calls and measured 39 on a many-core box. On one CPU every upload landed during a prune pass and ran another that listed the bucket again for nothing: 44 to 68 LISTs, red on macOS CI at50f7a8e01. The test was right; the code did the extra work (fixed in39e4b9934).- Run such a test with
-count=10 -cpu 1,4before calling its bound measured. - Seen 1× (2026-11-16).
A full run gives the slow packages room. go test ./... at the default
10m timeout times out in internal/gateway (#2108), and under load in
internal/provider and internal/agent. Use -timeout 45m, so "every package
ok except gateway" stops being a normal run record.
194b2fd3c,2fbbd1694,3e812ebdeand3ec45e715each recorded a timed-out package.- Seen 1× (2026-10-14).
A quiet go test ./... log is not a hang until a package's own time
says so. go test prints packages in order, so one slow package holds
back every line after it, and the log moves in bursts.
705d67efc(11-15) called 0dbdc7481's macOS Test step hung: nothing past internal/libc for 44 minutes. The next run was cancelled at 53 minutes for the same reason, and its log showed the step had just finished. internal/library reported 264s but printed at 02:33, so it had started 47 minutes into the step. The step was slow, not stuck (#5267).- Before you cancel, compare the last burst's time with the reported seconds of the packages that came before it. go 1.26 waits only 5s for a test binary's pipes once the binary exits, so a lingering child can't explain a silence.
- Seen 1× (2026-11-15).
A new GUI test file runs the guard tests that read every GUI file.
265217bf4,a10ac7bb0ande5c0c23de(11-18) each added a test file withpage.setDefaultTimeout(5000)and no 60s navigation timeout, and ran only their own file. nav-timeout.test.cjs (#4787's guard) failed CI's cli job fromcf20df721for ~2h until2acc2660e.- Run
node --test internal/gui/tests/nav-timeout.test.cjsand the other whole-folder guards with any new file there. - Seen 1× (2026-11-18).
A suite's log is kept whole until its reds are named.
5b12407e8(10-17) piped a full run through tail, lost which internal/gateway test failed at 2559s, and shipped with an unnamed red.teethe log to a file of your own and grep it.- 10-28:
ca9b5048e(#3764) recorded "531 ok and 5 red when this was written (the run goes on)". Its 200px steps box, which scrolls on its own, took reader.cjs's wheel, and routing-model-rest went 20 of 20 red, which isn't among the five it names (a8098a886). Write the record once the run has ended. A change that adds a box that scrolls on its own runs every GUI file that wheels the page (reach,wheelTo). - 11-18:
97e0ecdaa(saved-proxy Test) recorded the whole GUI suite as "still running at push: 3736 tests in, 127 red, none in a proxy or provider file", named issues for some files and left "the rest" to another session's rerun. A red counted before the run ends can't be told from one the change made later in the same run. - Seen 3× (2026-10-17, 2026-10-28, 2026-11-18); moved to the code standards.
A red only CI's OS shows is probed on CI's runners, with the suspect switched on and off, not rerun. Start from what changed in that system's code the day before the red first came.
- EBADF on plain file reads, writes and closes in internal/sessions was
red on macOS CI from 11-13 to 11-16 and filed twice (#6368, #6785).
mote and mica run macOS 27 and never showed it. The day before the
first red,
6f3e76626had made the FSEvents stream with kFSEventStreamCreateFlagWatchRoot. One probe run on macos-14, -15 and -latest (#6795), with the flag on, off, on, off, gave 916 EBADF on and 0 off.0522bf84fdropped the flag. - A system flag that watches more than it needs is a cost: WatchRoot's one job (word of a root renamed) is an os.SameFile on the next Watch.
- Seen 1× (2026-11-16).
Windows CI only compiles the tests, so a Windows-only red shows nowhere. Run the package on the Windows box before calling a Windows failure "the same on main".
- TestCursor was red on Windows for 3 days, from
585f7f7duntil #1248. - 5d0c1dca's 16 and 76 Windows failures were called the same as main. Neither was filed. #923 is the open work to run more of the suite there.
- 11-16: filed is not owned.
023a56373andc6a67dd41each ran internal/gui on the Windows box and shipped past 10 or 11 reds, "red the same at origin/main" and open. #5928 had sat six days with no comment; it was a one-line test fix (5bd13b802). Before naming a Windows red as filed, read its issue: if nobody has it and the fix is small, it is yours. - Seen 2× (2026-10-08, 2026-11-16).
What telemetry sends is an allow-list, and a change to what is sent re-derives every place that discloses it.
169c23c1sentomp#profile ids and the user's own model ids, which aren't in the public catalog (fixed in2cdae80a: only known ids are sent).7d663a27sent each partner's daily counts, while the READMEs' Privacy and the site's "What does magpie send about me?" still listed what was sent before (b4aa62af).- Grep the READMEs (en, zh) and site/public/docs (en, zh, ja) for the privacy text in the same commit.
- Seen 1× (2026-10-08).
A test waits for the state it checks, not for an earlier step of the same start.
- TestServingGatesTools waited for the gateway's listener and then read
the tool gate at once. ListenAndServe sets the listener first and takes
the gate later, after loading rests, acks and groups. On a loaded mote,
a full -race run of internal/gateway checked in that gap and went red
(#6016). With a 300ms pause injected there, it was red 3 of 3.
6fa02550awaits for the gate itself. - Before waiting on a "ready" sign, read the code that sets it and check that what you assert is done before that sign, not after it.
- Seen 1× (2026-11-11).
A body written "to be rewritten at ship" is rewritten before the push.
b9f8548d2(11-10, account export, 1,037 lines; it writes live sign-ins to files) went to main with only "WIP commit before the full checks; body rewritten at ship." The rewrite never happened, so no record of what was run reaches git. This is the 10-15 SUITE_LINE placeholder again, in another wording.- Before pushing, read each commit's body (
git log origin/main..) for "WIP", "TODO", "rewritten" or a template's placeholder. - Seen 1× (2026-11-11).
A new file's name is checked against the tree before it is written.
8fa91a852(11-11) wrote its idle test to internal/agent/dsh_idle_test.go, which already held 544b91ca8's streamIdleTimeoutMs tests, and they went with it.1c3056a2eput them back minutes later.ac2340dlost three tests the same way.- Before pushing,
git diff --stata "new" test file: it shows insertions only. Deletions in a file you meant to create are someone else's tests. - Seen 1× (2026-11-11).
A test that reads a dependency's source needs the dependency on disk.
- 884dbdb2's TestTrayMenuOpenFrameIsWails read Wails' source through
go list -mDir. CI's fresh module cache hasn't unpacked it, so main was red on macOS and ubuntu for ~25 minutes (9b6b9966). - Run
go mod downloadfor it in the test, or keep the bytes it checks in testdata. - Seen 1× (2026-10-10).
A check that a value is gone looks past text magpie generates is in the code standards since 11-16. See Moved to the code standards.
A script Settings loads runs in every mode the GUI has: the window, the panel and gateway mode.
22f2759d7(11-11) added navpages.js, which read$("#nav")before checking the mode. The panel has no #nav, so each Settings draw there threw, and openAgentPrefs, which waits on that draw, opened no sheet from the panel's menu. agent-prefs was red in both engines and all five languages for two days. #6139 got two "seen again" comments and a duplicate (#6311) before41e330bdffixed it.- Run the GUI files that open Settings in the panel too (
?mode=panel), and read thepageerrorstack before calling a timeout load. - Seen 1× (2026-11-13).
A form's name and its control are lined up by the row, never by a
padding guessed for one kind of control. Every editor grid (.editor,
a dialog's body, Advanced's rows, Connect) sets its rows on their first
baseline; a control with no text of its own (a switch, the icon box)
carries a text line at its middle. A row that starts with a text field
is set at its top instead, its name on the field's line (--field-h):
WebKit lays a baseline row out again on every layout, and a focused field
laid out again scrolls the page back to itself. form-align.test.cjs
measures every label beside its control, in every editor it opens.
- The owner, 11-12, a second time: Free for me and Redaction sat 4-5px
under their ticks. Labels had
padding-top: 5px, right for a 29px input only; the icon row was 5px off, Extra body and every tick too. - A baseline row never takes its baseline from a scroller: at 520px Connect's options wrap instead, since WebKit grew the row 6px each time their scrollbar came and went.
- A new kind of control in a form row runs form-align.test.cjs, and a new editor is added to it.
- Seen 1× (2026-11-12).
A guard test reads what it guards from the code, not from a list kept by hand.
- old-webkit's check that every script is loaded by index.html exempted
lazy files through a hand list. headerpresets.js (
0d0462d4a), navpages.js and pasteread.js were each added without joining it, so the test was red on main for a week (#6030) and every GUI run's record cited it.4b8c5948ereads the exemptions from the scripts' import("./x.js") calls, and an unimported file still turns it red. - Done right on 11-17: tui_zh_named_test.go and library_named_test.go in internal/agent read the other package's files, so the change that adds a label or an agent goes red in its own run.
- Seen 1× (2026-11-17).
A guard that needs no browser runs on CI, or it guards nothing.
- nav-timeout.test.cjs reads the test sources only, yet CI ran no GUI
file, so it was red on main from 11-06 (#5425, 4 files) to 11-18 (24
files): every new test copied a 5s default, and each push's record
cited the red. skygunner's patch for the first nine sat on the issue
for ten days.
549813abbfixed all 24 and runs nav-timeout, i18n-keys and i18n-en-no-cjk in test.yml's Linux job. - A guard test written for a class of mistake goes where every push runs it. A patch posted on an issue is taken, with credit, before another "seen again".
- Seen 1× (2026-11-18).
Playwright's WebKit is not WebKitGTK. A GUI change with motion or a new browser API is tried in the real Linux app too.
18e82adc6(10-11) traded the layouts in a view transition. The GUI suite passed in WebKit, but under Wayland magpie turns WebKitGTK's compositing off, and WebKitGTK 2.52 crashed in the transition and froze the window (f5dd4d604, a reporter on X).- Seen 1× (2026-10-12).
A path that differs by OS is tested with each OS's value.
ee7a9b24a(10-11) read Grok App's folder from $XDG_DATA_HOME on Linux. The test sandbox set HOME, XDG_CONFIG_HOME and XDG_CACHE_HOME but not XDG_DATA_HOME, so the drift test was red on ubuntu CI (f38f65030). Force the OS switch in a test, and give the sandbox every variable the code reads.- Seen 1× (2026-10-11).
Two paths are compared with links followed on both sides.
3bb9575dcfollowed the rtk path's links and compared it with a winget record read as written. macOS's /var is a link to /private/var, so TestRTKWingetFolderWithoutRecord was red on mote (#6127), and the same mismatch sat in askWingetOwns: an rtk under a junctioned folder read as not winget's (a1961f5ca). The test's own expected path was the link too.- When one side goes through EvalSymlinks, so does the other, in the code and in the test's want. Run it where the temp folder is a link (macOS).
- Seen 1× (2026-11-11).
A path check in a test expects what the code writes, in the file's own encoding.
- TestPluginImportCarryOnOffRemove wanted filepath.Join's all-backslash
path in raw JSON. The import replaces ${CLAUDE_PLUGIN_ROOT} as written
(
C:\...\acme-kit/scripts/lint.sh), and JSON doubles each backslash, so it was red on Windows only, where CI runs no tests (#6065, fixed inff11275ae). - Seen 1× (2026-11-11).
A fix that keeps something past a collection keeps its siblings too.
- #2278 took dirent's listings out of a sync.Pool, because "each
collection emptied the pool before the next folder was read", and
left the 64 KiB read buffer beside them in one. A collection, a Get
on another P or -race's dropped Put made a new buffer inside
TestListingsOfDifferentSizesMadeOnce's 64 KiB window, so it went red
on macOS CI (#5990). The issue sat 19 hours with no owner before
6b31147b6kept the buffers the way listings are, with two collections in the test's window: red 5 of 5 on the old code. - Seen 1× (2026-11-11).
A release step that waits on a vendor has its own timeout-minutes.
- notarytool's
--timeout 30mbounds only its wait for Apple's answer. v0.1.3737's mac job hung in "Notarise and staple" for over 90 minutes, under GitHub's six-hour job limit, holding a macOS runner; magpie's mirror job timed out waiting and the version never published. magpie-releases c856019a gives the step 45 minutes. - Seen 1× (2026-11-11).
Reproduce on CI's Go version.
- #1184 couldn't be reproduced on go1.27.1 locally. CI ran 1.26.x, and the
cause was a Go 1.26.8 segfault. Docker
golang:1.26.8withGOTOOLCHAIN=localmatches CI. - Seen 1× (2026-10-08).
Concurrency and tests
A check and what it counts are one step, and a reading counts what it had when it was taken, not when it is looked at.
- #6958: TestCapHoldsUnderParallelSessions went red on ubuntu CI at 93% of a 90% cap. A turn found not near its cap was counted on the account only once it took its lane, so turns checking in that gap passed together. The account's usage came from replies that began while a round was out, so the reading lacked that round. turnSpends still took every turn come back as read, and halved what a turn spends.
- Widen the gap in a test hook to find such a red, not by rerunning. A hook placed inside the lock it is testing hides the gap: the first cut's test was green with the fix taken out.
- Seen 1× (2026-11-17).
A fake or child process a test starts ends when the test does, and a timing test leaves room on both sides, are in the code standards since 10-11. See Moved to the code standards. Two habits from them:
- After a test times out, check
psfor its binary. An orphaned gateway.test spun at 96% CPU for 30 minutes. Size -count to -timeout; a timeout panic is not a hang until its stacks show one. - Reproduce a timing flake by injecting the delay, not by rerunning until
it fails (
0f8e4ebc,229ce19a,9e35eef3). - Wait for the state, or count what the test is about, never a duration.
On 10-14 five tests went red on CI for a fixed wait:
TestClaudeRunEndsAfterStructuredOutput (
c4c3cafa2), TestAgentGoneInTheRetryPause's 100ms (b8070cc6c), TestCanceledRequestRestsNobody's 50ms (685521888), TestProviderListReadsSettingsOnce's 2s bar, now a count of parses (a36319d60), and TestCursorEditorCopiedOncePerChange's 100ms linger (2efb71ea0).
What a started process's reader goes by is set before the process starts, not after the call that started it returns.
- #6887 (11-16): claudetui's shim began holding a reply only once send
woke up after the transcript reader counted the row, and the reader
wrote the row out first. TestShimCutMessageIsUnpastable, added by
efb62fe90(community), went red on CI three runs in a row before anyone took it. A 50ms sleep before the check turned it red 3 of 3 with CI's output;4c6c3a453begins the hold on the reader's side. - 11-17: the Claude bridge set a run's tools after
startreturned, while Claude Code was already running and its output was being read. On a loaded ubuntu runner the first tool_use was read with no tools set, and a deferred MCP tool was handed over cut (TestClaudeBridgeHandsOverAnUnloadedMagpieTool, run 43919594403). A 50ms sleep before the assignment reproduced it 3 of 3;43d9aae09sets them before launch. - For each field a goroutine reads, ask which goroutine writes it and whether the reader can run first. "Green 30 of 30 locally" is no answer; inject the delay.
- Seen 1× (2026-11-17).
A helper that gives a test a new HOME also stops what an earlier test started under the old one.
- #6761 (11-15): TestRemoveListedAccountLeavesHiddenNamesake was red in
full runs and green alone. TestPluginEmptyKeyKeyAsked, 1779 tests
earlier, started a real plugin host and left it up; plugin.SignOut
asks a running host, whose files were the earlier test's HOME, so the
remove landed there. A bisect on mote found it.
248edad80has claudeHome stop a running host before and after each test. - The same class as the second half of #2449 (10-15) and #2702 (10-17): "plugin hosts outliving their test's HOME". It was fixed per test then, not in the helper every test goes through.
- When a test is red only in a full run, bisect the tests that run
before it (
-run '^(first half|Target)$') instead of rerunning. - Seen 2× (2026-10-17, 2026-11-15).
A request the page sends on its own is looked for in every GUI test that counts the page's requests, before it lands.
4623f5419(11-10) had every Settings draw sendGET /api/settings/https. GUI tests count anything under/api/settings/as a write, so checkin-now-account and panel-shortcut went red in both engines and every language (2 of 42). Its record ran chosen GUI files and called the reds "the same at base". Fixed in47ce008da, which also stops the request on draws that show no HTTPS rows.80a315a70(11-14) sentPOST /api/page-awaywhen the page is hidden. WebKit fires that mid-test, and agent-bulk-visibility's count read 6 for 5 in WebKit until38e60d744.e430e2750had made the same fix for/api/update/usingon 11-11, file by file.- Both helped leave #6709 at 111 red files on main. With half the GUI suite red, a commit's "the same reds on main" says nothing about its own change.
- Grep
internal/gui/testsfor files that count posts or writes (posts.push,'write',startsWith("/api/settings/")) and run them all. A route the page calls on every draw also costs a request per draw; ask it only while what it fills can show (#6781). - When a cause is suspected for many reds, measure its share (the same files with and without it) before saying so on the issue. The page-away beacon was first named on #6709 as the likely cause; with and without it, 30 of the files gave 640 and 641 reds.
- Seen 1× (2026-11-15).
A test that breaks a shared file puts its bytes back, and its cleanup checks the write.
ea3dee96a(10-16) had TestFetchPrivateEntries write "{not json" to the gateway package's shared settings.json and restore it witht.Cleanup(func() { settings.Save(was) }). Save refuses to write over a file it can't parse, and the cleanup dropped the error, so the broken file waited for the next test that saved settings without fresh(t). TestRemoteMagpieAskedToFollow went red on ubuntu CI at836d074f1(11-12), and the two tests run alone were red every time.aa744b9edwrites back the bytes it read, and reports a failed write.- A cleanup that goes through the code under test inherits its guards. Restore with the bytes read before, or give the test its own HOME.
- Seen 1× (2026-11-13).
A change to which tests share a process runs a pairing check on the package-global state they leave.
0dbdc7481(11-15) ran internal/gateway's plain Test step in chunks as Race does, green on mote's 12 workers. On CI the chunks held other tests, and TestEffortChangeKeepsTheCache started held by a Codex usage-limit rest that six tests left in restingUntil (#6717): its helper set a home without fresh(t), and fresh only cleared rests at a test's start.6e0b8113dclears them at the end too, and in every helper that sets a home itself; the six pairs were red before it.- A green split proves only that split. Run each test that records
package state with the one that reads it, in one process
(
-run '^(A|B)$'), and clear the state in a t.Cleanup where it is made. - Seen 1× (2026-11-15).
A value put in a request's context lives as long as anything that holds the context, a stopped timer included.
- #5250: TestSocketTurnBodiesFreed kept 1 of 12 turn bodies in full
runs. A
context.WithTimeoutunder the request's context, cancelled, stays in an idle P's timer heap with its closure, and reached the request through the unrouted watch held as a context value and as the inflight's f.unrouted.032340056puts the watch behind a pointer unwatch clears and drops f.unrouted when it ends; the test is red with either half alone. - Found by reading a heap path after a goroutine dump showed no holder, not by adding delays: a 300ms injected delay in the first suspect still passed.
- Seen 1× (2026-11-11).
An allocation bar is relative to the same call at the small size.
- TestAutoVisionDoesNotBuildListsAgain held searcherModel to a fixed
50 allocations: 51 on Linux and 130 on Windows with the lists kept as
meant (#5123).
c1b8010a2compares 400 models against 4, as the AutoVision half did, and is still red with the cache broken by hand. - The same day TestDshRoundWithNothingChangedBuildsNothing's fixed 300 read 421 on Windows CI. It now compares a settled round over 402 models with one over 2; with the skip broken by hand that is 78375 against 1780.
- Seen 1× (2026-11-11).
A new route or setting field is run against the guard tests that list every route and field, not only its own tests.
f5e1b1091(11-11) added POST /api/settings/context-cap-mode and Settings.ContextCapAll and rancli -run ContextCap. The CLI parity test (#6102) and the GUI keep test (#6103) list every route and field, and both went red on main; its usage line also broke the help column a test checks (#6104).e0cadc312added three /api/memory routes the same day with no parity entry.- 11-12:
60fde6fb1added POST /api/library/mcp-account the same way, and the parity test stayed red on main until5a36e46d6. - Run the whole internal/cli and internal/gui packages for a new route
or field;
grep -nthe parity map for the route before pushing. - Seen 2× (2026-11-11, 2026-11-12).
Red tests and releases
Flaky tests: find the cause. "A test that fails on main is a bug to fix now" is in the code standards. What the reviews found about finding the cause:
- TestPluginSOCKSProxy timed out at 60s on ubuntu CI and was rerun as "load
jitter". The cause (
9a852ae9d, 10-15): the test freed a port for a dead SOCKS proxy, the netproxy bridge's :0 listen was handed that same port, and the bridge dialled itself under a one-minute read deadline. Found by injecting the reuse (60.03s red, 2.4s green after), not by rerunning. A port a test frees can be handed to anything next:d0ccbbebcfixed the gateway's proxy-down tests for the same reason. - TestUnreadLoginsNotWrittenOver needed two writes inside one wall-clock
second (a
.bad-<second>name) and failed on Linux CI (237d216b). Test a name made from time.Now() across a second boundary. - Before fixing a red CI run,
git log origin/mainfor a commit that names that run or test.85fd35aband e34e53a1 fixed the same lost tail in two sessions at once. - 10-07:
07e246e5named 24 GUI failures as "the same on origin/main". Run alone on main, all 8 of their files pass, and so do the two the full run failed (api-key-theme, fold-show-grip). They fail only under the full run, and CI never runs the GUI suite, so nothing shows it.e95852e3(#948) named TestCursor (Windows) and TestOTelRetryAfterBound the same way. Both pass on macOS main and on CI. Neither is filed. - 10-08:
6ab4c16ffixed the run0f8e4ebchad already fixed.bc7c62dc, #1216,a2a7fb11,5d0c1dcaand #950 each shipped past "fails the same on main". - Done right on 10-08: #1184 found the Go 1.26.8 segfault behind its flake,
and
30a8ce29fixed its flake at the cause. - 10-11: four commits named a red and shipped past it unfiled.
b1396d23reran TestMaxRPM as load; it was a real gap (the vendor counted a late first request in the next request's minute,ce1ecaa4). 2305ab1f's dsh test and 20582866a's queued-stream test "pass alone"; both had causes (9c377231,3f4287e6).db965824said panel-usage "fails the same on origin/main 0a11b183", but0a11b183was hours old andf823a53dhad fixed that test; on the real main it passed 3 of 3.- "The same on main" means on origin/main just fetched:
git fetch, then name the sha you ran. - A red under load is a timing assumption a user will meet on a busy machine. File it, with its output, in the same commit.
- "The same on main" means on origin/main just fetched:
- 10-11: two sessions again fixed one flake in the same minute (
4caae1c8and3f4287e6), and on 10-103a1ade97landed while another fix of the same test was being written. Checkinggit logisn't enough while both are working; say on an issue, or file one, that you are on it before you start.- 11-14: again. TestInfoSaysMCPHub went red on ubuntu's -race CI at
3dbbb173ewith no issue filed. The review's loop wrote a fix (ListenAndServe waits for keepHubPruned) and spent a 30-minute gateway -race run on it, while another session wrote the same fix and pushed it as49f49c41c. Neither said it was on it. The review's copy was dropped. File the red (or comment on its issue) before the first edit, andgit fetchbefore a long run as well as after.
- 11-14: again. TestInfoSaysMCPHub went red on ubuntu's -race CI at
- 10-12/10-13: #1794 got four "seen again" comments before anyone took
it (fixed in
6ae6b3402), and #1543 was seen three times with no owner (097479dab). A comment that a red came back is not work on it: take it or say who has it.31c1e3ab1named 8 GUI files that "fail the same way on an origin/main552e974f2copy" and filed none of them; they were fixed one by one over the next day (searcher-pick, profile-in-use, library-mcp-tools among them). - 10-14: reds named in a body and left unfiled again.
56fcd1dc2shipped past a usage-ledger red that "passes alone". hhh2210's TestPluginSOCKSProxy red on Bun 1.4.3 was filed only by the review (#2207). b476dc5a9's Routing GUI reds on untouched main have #2252 and nothing else. A red gets its own issue, with its output, in the same commit. - 10-17: the #1794 pattern on a second day. #2444 had ump45nose's patch
for 22 hours while two sessions commented "seen again"; it went red on
CI at
f191d6423and was fixed with that patch (50a703190). #2737 got three "Not taking it; recording the numbers" comments beforea3b48e0f7fixed it. - 11-11: the same on a third occasion. #5433 had skygunner's patch, with
a test red on the old code, for three days with no owner. It went red
on ubuntu CI at
296a9292cand was landed unchanged in855b97a40. A patch on an open red issue is reviewed in the tick it is posted.- One test's subtests were filed three times: #2169, #2711 and #2737 are all TestTranslatedStreamKeepsClientAlive. Search the test's name before filing, and file per test.
- A red filed "under load" is a CI red soon after:
bf931f82cfiled #2711 and shipped past it, and its own CI run went red on another subtest of the same test. 27 issues titled "under load" were opened on 10-16 and 10-17. Fix the class (wait on state, room on both sides) instead of filing one a test. - 10-28: the same on a third day. JoeyWu-tech posted a patch for
#3568 (TestHandedOverGatewayFinishesItsStream, a real handover drop)
on 10-25, with a reproduction and red-on-old tests. Nobody ported it
for three days, and it went red on ubuntu CI again at
0a7633136. It was ported unchanged as11c427eaa. Now in the code standards (a red's issue is read to its last comment,77898391d). - 11-17: a filed red cited instead of taken. #6877 (i18n-keys, a
one-line fix the issue itself named) was red on main for a day, and
efcf8d9c0and50c5a52dbeach named it as "red on origin/main, filed" and shipped. Nobody commented or took it;db02200cefixed it at the check. A red a commit cites twice is one to take, not to cite again. - 11-15: a claim with no work behind it holds a red as long as no
comment at all. #2903 ("the plugin answered no response", ubuntu
race) was claimed on 10-19 ("I'm on it: finding the cause by
injecting the ordering"), with nothing after it for four weeks. It
came back at
139a6be2bin a second test, TestPluginServesSystemOne. #6368 (macOS EBADF in internal/sessions) went from "Still mine" to "I am not taking it" with no cause found. A claim that has had no commit or finding for a day is no claim. Whoever next sees the red takes it, or says on the issue that it is unowned.
- 10-27: the #1794 pattern on a third day. internal/provider has died
on main since 10-25 in TestUnreadLoginsWriteErrorsKeepCredentials
(#3632, a synctest fatal, 2 of 2 on mote at
4b0a32e0f). The issue has two complete patches (JoeyWu-tech's and skygunner's) and nine comments, no owner. #3919 and #3924 have had JoeyWu-tech's patches since 10-27 15:37 and 16:24, and #3854 has three TestFetch* reds. Every tag since, to v0.1.1780, went out over them, and a provider change can only pass its package with those tests skipped.- A patch on a red issue is reviewed and merged, or answered with why not, the day it is posted.
- A red that kills its package hides every new red behind it.
6eb510f78(10-26) made a Codex ask of the models list that three TestFetch* tests counted as a second ask; its provider run died at #3632 first, it then ran-run Codex, and the three were filed only later as #3854. With #3632 fixed (4842f69be), #3854 and #3906 merged too (759b3b8c4,ed49d1b38), internal/provider passed whole on 10-28 for the first time since 10-25. - A red step hides every step after it. CI's Race step runs only
when Test passes, so 9a888323a's allocation bound (#3472), red
every time under -race, first showed on 10-28 once Test was green
(#3956,
fafce6545). A test that bounds bytes runs once under -race before it lands: sync.Pool drops a quarter of what is put in it there, and regexp and zstd take their state from one. - A red assertion hides every assertion after it. #3410 (routing-pause)
was filed on 10-23 and failed at its first press, from 91b0be836's
motion. On 10-25
c888ef272saved a rule's hours with a zone, and the fixture's later expectation, without a zone, stayed wrong unseen until7b007e986fixed the press on 10-28. #3408 to #3411 sat five days with no owner, and #3104 (usage-ledger) has had none since 10-20. A filed red is still a test that checks nothing after its first failure.
- A cancelled run tests nothing. On 10-14 nine pushes in ten minutes
cancelled each other's runs, and
3c4b4dc97never had a run of its own; its red showed first at84f14e555.- 11-15: main's colour is the Test workflow's. The review loop read
the Docker workflow's green runs and called main green while Test
was red at
923cc8747(macOS step cap at 75m, nothing printed after internal/routes, #5451) ande99307fb8(#6761). Usegh run list -w Test. Of the 12 Test runs before9bcdcfb7d, 7 were cancelled by the next push, and #6764 was filed for the same test as #6761 the same hour: search the test's name before filing. - 11-13:
459d668b3(#6428) edited docs/sync.html and did not runnode llms-full.mjs. site's "llms-full.txt is current" test went red at 21:05. Every Test run after it was cancelled by the next push until d5585933f's run finished at ~01:45 with the red. A docs page change runs site/worker.test.mjs, because llms-full.txt is built from those pages (fixed in3d8860010). Again 11-15:256910f17changed the Antigravity entry in the subscriptions docs, ran Go and GUI tests but not site/, and its own run was cancelled; cli (linux/amd64) went red at2d106b5c1(fixed in25ad34f42). Twice in three days: a change under site/public/docs ends withnode llms-full.mjsandnode --test site/*.test.mjsfrom the repo root, as test.yml runs it. A third time 11-16:9dcec6751added the S3 archive cap to the docs and ran neither generator. cli (linux/amd64) went red at023a56373on llms-full.txt and on public/search/*.json, the indexb70c45048added on 11-15 (fixed inf5f27070a). Docs pages now feed two generated files: runnode search-index.mjstoo. 11-16dbbb2f26b(fixed in9d5d8baf2) and 11-1700b2c11a6(a new agent's docs row, cli (linux/amd64) red at2f25728dd, fixed inf7e0c2763) did the same: five times in five days, each by a Go change that also touched a docs page and ran only Go tests. Now in the code standards' criterion 3. Then testenv got the check: every package's run fails while a docs page differs from site/docs-index.sums, which either generator now writes with both files. - 10-28: of main's last 58 Test runs, 49 were cancelled by the next
push. 0b99b8fbe's new allocation bound went red in macOS's Race job
(sync.Pool lets go under -race) at
25df3187b, the first run after it that finished, and sat red untild3f3f3381. A test that bounds allocations or a pool's savings checksraceOn(race_on_test.go) and is run once with -race before it is pushed.
- 11-15: main's colour is the Test workflow's. The review loop read
the Docker workflow's green runs and called main green while Test
was red at
- Done right: 2bd49cc5's race was fixed at its cause in 25 minutes
(
28049bd2, -race -count=40 -cpu 1,2).60f87223,b1cba654,443f1cbcand395c4bc5fixed flakes at their cause instead of retrying.06420a71fixed the macOS first-run check at its cause. - Seen 3× (2026-10-05, 2026-10-06, 2026-10-07); the rule itself is in the code standards.
Merging and closing
A change no user can undo gets a real run per vendor before its tag.
9fcf6a6e7,f9ceac162and7d7dba31a(10-16) moved every deprecated built-in's accounts onto its plugin, dropped the check that held a move back while a model was in use, and took away the way back. The owner asked for it. The bodies have unit and GUI tests, broken by hand, and a full suite, but no move of a real account and no "Not tried" line. #2596 asked for a sandbox move per subscription, the models a plugin lacks, Factory's min (0.1.31 while npm had 0.1.32) and a rollback story. v0.1.1276 shipped it to every user with none of them answered.- "No way back" raises the bar. Move each vendor's real account in a sandbox HOME, list what the user loses, and answer the open issue before the tag.
- Seen 1× (2026-10-16).
Never merge a PR whose own new test fails, or with known problems a review listed. (Merging only the reviewed head, and writing what was run before the merge, are in the code standards.)
- #885 and #826 merged with their own new test failing. #846 merged with four known-wrong translations. Fix or file the problems first.
- plugins#1183 (11-15): the harm scan asked for a test of the tool-loop case, where a dropped signed thought could be refused. The PR merged 38 minutes later. The merge comment argued the case away and added no such test. A case a review asks to test gets a test, or an issue that says it is untested.
- Seen 2× (2026-10-05, 2026-11-15).
An issue that names two problems is closed when both are fixed.
- #2449's title named a lost tail and plugin hosts outliving their
test's HOME.
6641e1b0afixed the first and it was closed on 10-15. The second came back on macOS CI at84cd686afon 10-17 with no owner (#2702). - Seen 1× (2026-10-17).
A size budget raised whenever a change reaches it bounds nothing.
- app.js's budget was raised four times in 2.5 days, the last to
1,269,000 by
85eef5d87, while app.js grew 53KB and nothing moved out (#2710).17557132cmet the same budget without a raise. - A raise moves something out first, or follows a growth rate the owner set.
- 11-10: the cap held, so it was met another way. The budget counts
comments, and five features that reached it (
ecc16fe97,b72256b59,b3a57b3d8,d374168d0and the check-in time) each went red on CI and were brought back under by deleting comments that say why the code is as it is: 12 lines inb596da773, 44 in0eac4e6aa(11-09). Nothing moved out to a plugin (#5918). A budget that counts comments makes them the cheapest thing to cut. Measure what the budget is about, and run the sub-second guard before pushing a change near it. - 11-12: coreScriptBudget was raised four times in one afternoon, by
367 (
d96403141), 151 (05cadcafd), 458 (4519eea71) and 113 (09e2eef0d), 1,089 bytes in all, each saying there was no page left to move it to. 09e2eef0d's 113 came from a rebase:6055f626efit at its base and the two commits that landed under it filled the room. - Seen 3× (2026-10-17, 2026-11-10, 2026-11-12); moved to the code standards.
A byte budget is never paid for with behaviour the change isn't about.
286e3b6d5(11-10, the panel's Usage tab account menu) fit under the core budget with "no comments cut and no raise". Its diff also tookaria-expanded="false"off seven menu buttons on other pages (account switch, sign-in proxy, window cap, both Thinking chips, reply model, the local model's two pickers), so a screen reader no longer heard them as shut, and openProtoMenu, which changes the attribute only where it is set, stopped saying they opened. The body doesn't name them. side-effort was red in all 10 cases from then on (#6353, found a week later).- Diff a budget-tight change for removed lines in functions it is not about, and name every one in the body.
- Seen 1× (2026-11-18).
A release published after a newer one takes Latest, and with it the update feed and the tap, unless the publish step checks.
- 10-15: v0.1.1255 was published 25 minutes after v0.1.1256, and GitHub marked the older one Latest (moved back by hand then).
- 10-28: v0.1.1891 finished 16s after v0.1.1892. 1891 became Latest,
which usemagpie.ai's /api/latest serves, and the Homebrew tap went from
1892 back to 1891 (tap 1d47b64). v0.1.1890, still notarising, would
have done it again. magpie-releases ee73d7a now passes
make_latestonly to the highest version and runs the tap update only then. - A fix made by hand once is a fix for that release only. When it comes back, fix the step that does it.
- Seen 2× (2026-10-15, 2026-10-28).
A publish run that stays red for one known package hides every new failure behind it.
- think-tags 0.1.1 can't publish (E404, publish.yml isn't its trusted publisher, plugins#180), so every plugins publish run since b3a860c is red, and a new package's failure would look the same.
- Check each package with
npm view --prefer-online, not the run's colour, until the known red is fixed. - Seen 1× (2026-10-17).
A GUI suite with hundreds of known reds is not a baseline. "The same files fail at base" passes any change while main carries that many.
8608ce024(11-16) recorded 1041 GUI fails at its head and 971 at origin/main, and shipped on "same files". Run alone on mica at8608ce024(load 9), four of those files were 8 of 60 red (key-replace, plugin-card-update, usage-fold), each already filed: #4126, #3079, #4790, #6003. On 11-16, 465 issues titled "gui tests" were open, none assigned, and 2 had been closed since 11-13.- Filing a red is not owning it. A change that names GUI reds takes one of the open ones, or fixes the file it touched. Measure a change by the reds it adds, test by test. A matching file count at base is not that measure.
- Seen 1× (2026-11-16).
Keep the issue open until the reporter's case works. Reopen when they say it doesn't.
- On #876 the reporter couldn't reopen it themselves and had to file #888.
- 11-13: #6482 (notarisation 403, "a required agreement is missing") was closed at 08:22 UTC on one green release. The 403 kept coming back between greens, and a notarytool timeout followed, so v0.1.4034, 4035, 4036, 4038 and 4042 were tagged and never published, with each mirror-release left waiting. An intermittent fault is closed after a run of releases, not one.
- Don't close as not-planned what the owner hasn't ruled on. #769 and #871 were reversed.
- Done right on 10-07: #1050, #1053, #1063 and #958 shipped a fix and stayed open for the reporter.
- Seen 1× (2026-10-05).
One commit, one goal is in the code standards since 10-28. See Moved to the code standards.
A commit's file list is checked against its goal before pushing.
698ed4adb(11-12, "a busy port names its holder") was committed from a tree made before two commits pushed eight minutes earlier, and took both out with no word in its body: 919780414's Usage table view (quotatable.js and its test deleted, its app.js, app.css and i18n hunks reverted) and 88d2962e0's 16-byte sessions hashes (digest.go deleted). Both were gone from main untilc14fa0ce9put them back.- The same day, three hours later:
d31988c95("the Mac's plain title bar is done as the main window is first shown") also reversed1648fcfe2and95eab9a66, Mistral's prompt_cache_key: gateway.go's withMistralCacheKey, mistral_cache_key_test.go and two TestOwnCacheKey rows, none of them in its body.2858566a1put them back. A GUI change has no reason to touch internal/gateway. - Before pushing, read
git show --stat HEADafter the rebase. A deleted file or a hunk in a package the goal never names means the tree is stale: rebuild the change on origin/main, don't push the old tree. - Seen 1× (2026-11-12).
State added for one provider or one feature is keyed by it, not held process-wide.
b70563ec6kept one "accounts reordered at" stamp for the whole gateway. Reordering Claude's accounts dropped every other provider's conversation stick, so a Codex conversation lost its account and its prompt cache on the next turn. In tests, any earlier reorder made three cache tests red in package runs (#6249 and #6262, filed twice for one cause).04e38e604keys the stamp by provider and has tests forget it.- A test of such a value resets it in
t.Cleanup, and a case where another provider changes it shows the scope is right. - A process-local value set by the CLI never reaches the running gateway (#6265).
- Seen 1× (2026-11-12).
A commit saved early stays local until it is finished; "wip" never reaches main.
f1e6705c5(11-12 12:10), subject "wip" and no body, pushed the turn-effort and thinking-summary code to main. Its test change came 35 minutes later in9d47b441e, a one-line commit that carries the whole record, and in between TestClaudeSubscriptionPromptKeepsForeignHarnessOutOfSystem was red on main (the CLI's --settings gained showThinkingSummaries). Its CI run was cancelled, so nothing showed it.- Committing at once (the machine reboots) is right; pushing it isn't.
Before a push,
git log origin/main..HEAD --format=%snames no "wip", and the change and its tests go out as one commit. - Seen 1× (2026-11-12).
A squash merge's message is written, not GitHub's default. Give
gh pr merge --squash a --subject and a --body-file holding the PR's
own change and what was run at the reviewed head.
708ae4144(#852) and81b7016e6(#1028) each carry a ~520KB body. Their branches had main merged in (100 commits on #1028), and the default squash message lists every commit's message. #1028's own run record isn't in git at all: the body after its subject is other commits.- Before pushing, check that
git log -1 --format=%B | wc -cis a few KB at most. - 10-14:
b6e82c6c5put a paragraph in the subject line. The subject is one short line; the rest goes in the body. - Seen 2× (2026-10-13, 2026-10-14).
A commit message file is made fresh for this commit, and its subject is read back before the push.
- plugins bc9f611e (11-12) went out as "qoder 0.2.60: the business record names the model", another session's stale message file. Its content was qoder 0.2.67, a different change; 7b42e404 had to note it after the push, since main isn't rewritten.
- 10-15:
ce1251cc9, the Windows dsh fix, shipped under a lessons subject for the same reason: zsh's noclobber madecat >onto the existing file fail, and the commit took the old text. - Name the file for this change in your own scratch folder, write it with
>|, and checkgit log -1 --format=%sagainst the diff before pushing. - Seen 2× (2026-10-15, 2026-11-12).
A commit's --stat names only the files its change touched is in
the code standards since 11-13. See
Moved to the code standards.
A community PR that changes how a page looks is not merged on review alone.
- #1354 (Nxir) rearranged the Routing page with no issue asking for it. It
passed review and shipped, users rejected it the same day ("v0.1.1231
没有这个问题"), and
bfef5d51breverted it whole. The fault was the merge, not the author. - A layout change needs an issue or the owner asking for it. The default is no.
- Seen 1× (2026-10-14).
Two sessions never commit from the same checkout is in the code standards since 10-18, widened to a worktree and its logs. See Moved to the code standards.
Moved to the code standards
-
A record is written once its run has ended (10-17, 10-28, 11-18). On 11-18
97e0ecdaawas pushed with the GUI suite at 3736 tests and 127 red, "the rest" of them left to another session.f4b202030(11-18) said "running on mica at push time; result goes on #6034", and v0.1.4408 was tagged on it. The result came 40 minutes later with internal/dirent (#7031) and an internal/gui test (#7032) red, both "pass alone": the tag shipped past two reds no one had looked at. -
One full suite runs on a machine at a time (10-16, 10-17, 11-16). On 11-16
64c426158ran the GUI suite on mica beside another session's full suite, was pushed with it still running, and named its 90 reds by page, not by issue. -
A check that a value is gone looks past text magpie or the test made up (10-10, 11-10, 11-15). On 11-15 TestMoreKinds checked that the user name "ops" was gone, and the made-up name for it, eight letters from a key new each run, was zpxopsat: ubuntu CI red at
500f39886. #4345 had the same red on mote on 11-12, filed as "passes on rerun" with its output lost. A probe that searched for a key whose made-up name spells "ops" (key 2207: dopsubnz) made it red every run. -
A commit's
--statnames only the files its change touched; any other file is a stale tree (11-11, 11-12, 11-13). On 11-138c7328f3a(remote quotas) wrote 21 files back to 35aaaa4b9^ and took out three commits;926b1e7dfput them back. Again later on 11-13:1f05c311d(memory tab) was agit reset --softof an older worktree onto fresh origin/main, and undid 45 files from 610ae1f54..c1312ac15 (49 in its --stat for a 4-file fix).c2fd48782restored them a minute later, byte for byte (git diff --stat c1312ac15 c2fd48782is the fix's 4 files), before any tag. Neverreset --softonto a newer base; rebase the commit instead. -
A red's issue is read to its last comment, and a patch on it is taken first (10-12, 10-17, 10-27, 10-28). On 10-28 JoeyWu-tech's #3568 patch sat three days until CI went red on it again (
11c427eaa). -
A mover's min is npm's version when the change lands (10-16, 10-18, 10-24). On 10-16
19e9fc47fraised Cursor's min a version behind npm, and53009f81aleft Factory one behind (#2557). On 10-18 zed 0.1.9 was published with no min raised until the review'sccb2eea15. On 10-24 factory 0.1.38 (plugins #349, an option a user asked for) was published and the min stayed 0.1.37 for four days, until490c0a4ad. The rule now also says a plugin version raises the min the same day. These were seen on three or more days. The rules and their evidence are in docs/code-standards.md; a review still checks each one. -
One commit, one goal (10-05, 10-06, 10-28). On 10-28
6e080ca04answered psikent (/v1/models says every model takes tools) and windy (a group's Context hint names the member a longer conversation skips) under one subject that names only the first. -
A size budget is met, not raised (10-17, 11-10, 11-12). On 11-12 coreScriptBudget rose four times in one afternoon (
d96403141,05cadcafd,4519eea71,09e2eef0d), 1,089 bytes, with nothing moved out. -
Never let magpie's default override a value the user set themselves (10-05, 10-10, 10-17). On 10-17
5a2414acdbrought every plugins.yml withoutsettledup once, Essentials to All. A user who had runmagpie plugin preset essentialsthemselves wrote the same file, and the body doesn't name them (#2749). -
A checkout, worktree or log belongs to the session that made it (10-09, 10-12, 10-17). On 10-17 another session checked out origin/main in 7660399a1's worktree mid-run, and another deleted the first part of 17557132c's GUI log.
-
A fix reaches every sibling of the bug (10-05, 10-06, 10-07). Seen six times on 10-05. On 10-07 cd8d64a9's sub2api balance URL was left out of the hint shown after a failed read.
-
A change re-derives everything built on what it changes (10-05, 10-06, 10-07). On 10-07: click-scroll red since
5d871723, four GUI tests left red by page-only test runs, and ee2588c2's test race (3e38bd76). -
A test that fails on main is a bug to fix now (10-05, 10-06, 10-07). On 10-07
dcbae2ef,76d82528,b2345078,07e246e5ande95852e3each shipped past "fails the same on origin/main". -
Merge only the reviewed head, and write what was run before the merge (10-05, 10-06, 10-07). On 10-07 #1037 merged with no record.
-
Real use before building on it, or telling users it works (10-05, 10-07, 10-08). Acceptance criterion 5. On 10-08
bbf99143"not tried on Linux" broke Linux vet with the WSL2 distro there, and #1185 was reviewed on macOS only. -
GUI tests in both engines, at narrow widths, in every language (10-05, 10-06, 10-08). Acceptance criterion 4. On 10-08 aff4f9f2's zh-TW missed later strings, and usage-ledger was red ~7h after
586f2bce. -
A fix reaches every sibling was missed again on 10-08: #1239 fixed Air 9h after
a8290d27, and173ab71efixed Gemini bodies after #950. Done right on 10-08:a8290d27itself,9fcd332b(cmd.exe quoting at one choke point, tried on the Windows box),74a809dcwith84f37ac9(re-derived account keys), #1271/#1275 (built-in and plugin together),3aeb7d1b(a refusal scoped to the model) and #1288. -
10-09/10-10, criteria still missed.
- Sibling:
12c0550asaid "Only aBlock had this" while #1445 (open for an hour) listed the class.64179e73,13356b9dandd7186e51followed. - The suite:
2da8fbe4ran six packages, notgo test ./.... Its testenv exec broke internal/proc's TestNoCommandBypassesProc, red ~50 min untilb934d64a. - Real use:
a3a8e257shipped GitHub plugin icons without loading the real list, and the owner found none showing (52f6b3a3). aa82288f's Volcengine plan windows went out "not tried against the real API". It was said honestly, and #1427 stays open.
- Sibling:
-
Whatever a test starts ends when the test does (10-06, 10-08, 10-11). On 10-11 a CLI-identity ask outliving its test wrote into the next test's folder (#1524).
4ee3a76bfixed it in the gateway's TestMain only;9c377231fixed it for every binary through testenv's marker, but the gateway isolates itself without testenv and never set the marker, so #1524 came back on CI (a349de82). A guard test now fails if the gateway's TestMain doesn't set it. -
A timing test leaves room on both sides (10-08, 10-09, 10-11). On 10-10
8424a004assumed two concurrent handlers let go in order (3a1ade97). On 10-11 TestMaxRPM and the queued-stream tests (above). -
A failed read, parse or hash means "unknown" (10-05, 10-11, 10-12, 10-13). On 10-12 7a9490638's IP allow list let every address in when settings.json couldn't be read (
7d9382db2). On 10-13 #2017's patch read an unreadable codex-autoreset.json as "no reset spent" (e297a8ab2). When a shared reader is wrong, fix it, not a strict copy beside it. -
Nothing that can block runs under a lock its reader needs (10-06, 10-08, 10-11, 10-13). 7cba316b9's timer went red under -race (
a2afc1828); a fake Codex appended from two goroutines (a75de4c21). -
Another app's values come from that app (10-05, 10-06, 10-13).
accc8c090sent 127.0.0.1 where Claude Code sends localhost (e0ecf0161). -
A test named for a guarantee fails when it breaks (10-08, 10-12, 10-13).
bbe8825c0(9dd5917a4) and ggbdpq's44b5b2b96ande21b1dbc1(cc93b566e) passed on the old code. Break it by hand, watch it go red. -
A test never reaches the network (10-08, 10-11, 10-13). TestPiPackage tested npm's latest pi (
f230fa23b); tests waited 30s on models.dev (bde11c778). -
A tag waits for a green run, and a tag is not a release (10-05, 10-08, 10-12, 10-13). v0.1.1192/1193 tagged one commit; v0.1.1213 and v0.1.1218 never published (#1846).
npm view --prefer-onlinea plugin version before naming it. -
A large commit has a body with what was run (10-08, 10-12, 10-13).
ea3d480edand1cd814004(community, no record); 3ccbe6bc1's "push notes" hid two red GUI tests (2dcc51417,ba0712888). -
10-11 to 10-13, criteria still missed.
- The suite:
6fa3109ea,43d8a5633,5617281f5andcdb7b5ff7ran chosen packages and broke guard tests elsewhere (494609866,24146c031,c6de0d2a5). - GUI:
18e82adc6left 8 GUI files red after a run cut short (054bdb8bb);e3a497d7aleft gui-ja red ~3h (28aac86bc). - Sibling:
4ed379f11left three deciders on the raw body (0c6752dbd);90ac1f038mended StepCode only (cb003877f). - Timing: #1874's TestUsageIngestTouchesNoLimit stamped its calls a
minute ago and went red a minute after midnight UTC (
1acdf3a8f). - Whatever a test starts: Devin's held installer (
2ff4ecb42) and a Claude sign-in'sclaude auth loginrun (ebbe76420, #1802) outlived their tests.
- The suite:
-
10-14, criteria still missed.
- A large commit has a body with what was run:
509328ccbandc1e354245pointed to "the push" for it. A pointer is not a record. - A tag is not a release: zed 0.1.7 and zen-free 0.1.2 to 0.1.4 were
bumped and never reached npm (plugins#56). Done right: every mover min
raised on 10-14 (
0337ce4bc,50929661f,bd4cb7a26,2c18c697c,aae49d086) named a version npm had.
- A large commit has a body with what was run:
-
10-15, criteria still missed.
- A large commit has a body with what was run: 113 of the 120 commits
pushed at 23:08 (
728cb2d29toa7a012202) end "Full suite: SUITE_LINE", a placeholder no one filled in. The batch's real record is in386d341e7alone. Before pushing, grep the bodies for a template's placeholder. - A tag is not a release, and a release is not Latest: v0.1.1255
(
a1f7b8c13) was published 25 minutes after v0.1.1256 (37fec1240), so GitHub marked the older one Latest and the site's downloads served it until the review moved the mark. Publish in tag order, or pass--latestto the newest. - A rerun's green hides the first try: a1f7b8c13's run is green on
attempt 2, its attempt 1 red (#2390, fixed at its cause in
4a6bf80f4). Readattemptbefore calling a run green. - GUI tests in every file a change can reach: three changes ran the
GUI files they chose and left others red on main, which CI never
runs.
64b0f3a20(10-15) had the sidebar ask /api/plugin-pages, and menu-scroll's strict fixture threw on it, 24 of 24 red untila61a6f954the next day.8f55c27ad(#2396) held Settings' tabs at the top, and text-size's click landed under them, red ~5h untild3ca90afc.94942f9f3ran only the i18n files, and agent-connect-no-models went 8 of 16 red untilcf21b71ff(#2435). A new API call or a layout change runs the whole GUI suite. - A Windows rule needs each test of that agent judged for the right
system:
6e2aa8e32(#2300) made ~.dsh never gone on Windows, and two Mac-app dsh tests that didn't force goneOS went red on Windows CI, which now runs the Dsh tests, untilce1251cc9.
- A large commit has a body with what was run: 113 of the 120 commits
pushed at 23:08 (
-
10-16, criteria still missed.
- GUI tests in every file a change can reach:
9b04c4e20(#2118 hooks, v0.1.1273) ran the plugin GUI files and four more. plugins.js used a core word as its own, so i18n-keys was red under the tag untila4fa7bbd8(#2586) 35 minutes later. - What was run at the pushed head: 1978eabe5's suite ran at
a751f5282.1d6f461a9and the 22:58 batch had added ~2.5KB of core script since, so TestCoreScriptBudget passed at the base and failed at the pushed head (1,426,102 > 1,426,000), red on CI for two runs until81313b912(#2612). Run the size budgets again after a rebase. - Each commit's record is its own:
61ca3924cand83f3316cfcarry the same body word for word, so neither says which test guards which change. - A cancelled run tests nothing:
6b3ee5a03ande243937canever had a run of their own; the next push's run covered them.
- GUI tests in every file a change can reach:
-
10-17, criteria still missed.
- What was run at the pushed head:
d4a1b9baaran "this change plus the next commit's library edit".252bc61cesaid it was rebased oncb05dc2d1, but its parent84cd686afchanged internal/agent three minutes before, and the pair first ran together on CI.bad4508c4andbf931f82cran at older bases too. - Each citation is checked:
04e8aa8f1cites #2710 for a GUI red that is #2552.
- What was run at the pushed head:
-
11-10, criteria still missed.
- The suite before the push: two sub-second guards were red on main
eight times in one day. TestCoreScriptBudget went red after
ecc16fe97,b72256b59,b3a57b3d8,d374168d0and the check-in time (#5918). TestEveryRouteHasACommandOrIsNamed went red after a Codex service-tier route (8417ae6da),350856f51(71fbb33a7) and6a253f8af(488d0f9fc). Each was fixed by a follow-up after CI said so. Tagging without waiting for CI is not pushing without runninggo test ./internal/gui ./internal/cli: a new route or core bytes trip them every time. - The same class in two more packages that afternoon.
d3f862340put a package-levelregexp.MustCompilein internal/library, and the root package's TestNoEagerPackageRegexps was red until7869a454c.d109ec8daadded the miniq agent with no Library target and no noLibrary line, and TestEveryAgentInLibrary was red until68cb92e8e. A guard test lives where the rule is kept, not where the change is. A new agent, route or package-level value runsgo test . ./internal/library ./internal/cli ./internal/guibefore the push. - And in the evening: e8fbee60e's /api/gateway/pause made the route
guard red a fourth time (
db9f0652a), and 07af9f86a's "billing pay as you go" row turned TestProvidersShowVertexCredentials red, whose lineWith(out, " as ") found the billing row before the "as" row (ea310a8c9). A test that finds a row by a word in it breaks when another row says the word; find a labelled row by its label. - Three more the same night, after that line was written.
9c39edb92(Avibe) and4a9142ccd(Obsidian) each added an agent with no Library line, and e6f151507's /api/speeds made the route guard red a fifth time. All three were pushed and tagged before CI ran. Writing the rule here didn't reach those sessions. Until a pre-push check runs these guards, run them yourself before every push that adds an agent or a route. 86825005e(#5890) wrote two hook-budget tests whose margin was the one second between a hook's own timer and the RPC's 11s. That 11s counts the plugin host's start, which on a busy CI machine is more than a second. Both went red on CI and were fixed one at a time (e39ecfec8, then0659dc66f). When a test's margin is under a deadline that also covers starting something, start it first, and fix every test in the file that shares the margin.- The route guard went red a sixth and seventh time before midnight:
e053c337a's /api/settings/join and 4623f5419's five
/api/settings/https routes. 4623f5419's record says it ran
go test ./internal/cli -run Help|HTTPS|TLS|…, and a -run filter skips the guard, which was named for none of those words. A change that adds a route runs internal/cli whole, with no -run. - The same commit's
GET /magpie-ca.crtwas in neither clientPrefixes nor readOnlyRoutes, so internal/gateway's TestClientPathCoversHandler and TestReadOnlyKeyEveryRoute were red on ubuntu and macOS CI for about ten hours (db0f2f20d,5b28e8599) under two tags, until6b11914df. The CLI fix (20aff50d4) answered one guard and stopped there. A route has three guards: the CLI's, the one-port page's and the read-only key's. A change that adds one runs internal/cli and internal/gateway whole, and a fix for one guard reads the other two. - plugins#601 (muzimu217) brought back the Doubao plugin declined on 10-06, now reading Doubao.app's HttpOnly cookies over CDP, clicking through its reward campaigns, installing a .dmg into /Applications and sending requests through a third-party relay. It was closed unrun. A vendor the maintainer declined is checked for before the diff is read: search the repo's closed issues and PRs and docs/contributors.md for the vendor's name.
- The suite before the push: two sub-second guards were red on main
eight times in one day. TestCoreScriptBudget went red after
-
11-10, criteria still missed.
- The suite:
6af54dc9a(internal/library) andb9f8548d2(internal/provider) each added a package-level regexp.MustCompile. Each ran its own packages, not the root package, whose TestNoEagerPackageRegexps went red on ubuntu and macOS CI. It was found by yinwu01 (#6020) and fixed ina68f114d9. A new package-level var runs the guards in.too.
- The suite:
-
11-11, criteria still missed.
- The suite, a second day for the same two guards:
55dff77b4(plugin pages behind a cookie proxy) rango test -run PluginPage ./internal/gui. Seven new package-level regexps tripped TestNoEagerPackageRegexps (fixed inde10c6676, #6145), and its 11 lines in assets/pluginpages.js put TestCoreScriptBudget over untilf54920280cut a comment (#5918). A-runof a package's own tests is not a run of the package; its guards take a second, so run it whole. - A red on main had three "seen again" comments and no owner: #5918
(TestCoreScriptBudget, red from
16ed1a952) was commented on at 11:51, 12:22 and 13:14, and8016205e3shipped past it "commented". The cause was the measure. It counted comments, so each red was paid for by cutting the comments that said why, about 40 times in the budget's history.6cc182339counts code only. When a guard keeps going red the same way, fix the guard's class; don't feed it another cut. - A commit's message belongs to that commit:
16ed1a952carries d1a2e92e8's subject and body word for word (a hint card at the pointer), while its diff is the plugin-page drag order: a new route, a setting and two tests. Its run record names none of them, and the new route wasn't named in the CLI route map, so TestEveryRouteHasACommandOrIsNamed was red on main for hours (#6162, fixed in1c95c87c2). Before pushing, check thatgit show --statmatches what the subject says. The same day85e6ec540(the Paseo agent, 36 files, 887 lines out) was committed on a stale index and took out the six commits before it (WebView2, library skills, OpenCode Go endpoints, remote quotas); its body records runs that passed on that tree.b52c71114restored them. A stat with files the change never touched is a stale index: stop, don't push. - A value added to a shared list re-runs every loop over it:
ab5824aeeadded "total" to access.Periods and ran internal/access, budget, cli and provider. internal/gateway's TestKeyLimitReservationsStayInTheirWindow loops over every period and crosses each window's end, which a total window doesn't have, and went red on CI (#6165,535f0dd95). Grep the list's name across the tree and run each package that reads it. - A test that counts work counts that work, not the process's bytes:
efdca11be's TestPiGroupEntryKeepsItsMembers compared
runtime.MemStats.TotalAlloc, which every goroutine earlier tests left
running adds to. Alone it passed; after ~1,000 earlier tests in a full
run it was red (#6178, a bisect on mote showed no single test causes
it).
7b9ae7cf9counts how often the group's members are found. - The suite, a third commit the same day:
5a475f90c(OpenCode Go's endpoints) and0706d7a35(#6160, an image row on ChatGPT cards) each ran a-runof their own tests. TestAddSameKeyOtherFormat still pinned Go's old URL, and TestQuotaSpanCarriesEveryWindowField and TestKeptQuotaReportAsksNobody saw the new Lane and the new row, all red on main until7e8214d60. Two of them had issues (#4457, #6187) with "still red" comments and no owner. A change to a package runs that package whole. - The guard tests in the root package:
fc615339f(Alibaba Token Plan quota) ande174b5515(library Variables tab) each added a package-levelregexp.MustCompileand ran only their own packages. TestNoEagerPackageRegexps, in the root package, was red under v0.1.3796 and v0.1.3797 until4847a087fmoved both onto lazyre. Their CI runs were cancelled by the next push, and ubuntu fails at apt (#6198), so no run showed it. A new package-level value runsgo test .at the root too.
- The suite, a second day for the same two guards:
-
11-12, criteria still missed.
- The same root guard a fourth day running:
36eebea13(the Update pill) putregexp.MustCompileat package level in internal/update/behind.go, and TestNoEagerPackageRegexps was red on ubuntu and macOS CI at67f61bd78until10e783080. Its body names no run of.. The rule has been written here on 11-10 and 11-11 and is still missed, so writing it again won't hold it: the guard should run where every chosen-package run already goes (a vet check, or the same test in each package that has package-level vars), not only in the root package. - A test swapped time.Local (
4028687b8), and main went red under -race; see "A test never swaps time.Local" above. - The same guard again three hours later:
4519eea71(Settings › About's Report a problem) put a package-level regexp in internal/gui/feedback.go, and gave GET /api/feedback no command and no notYet line, so TestNoEagerPackageRegexps and TestEveryRouteHasACommandOrIsNamed were red atd0a4e0be6untilf97415bc0. Its body lists the gui tests and vet it ran, and neither guard's package. A new package-level var runsgo test .; a new route runs internal/cli's parity test. 11-15:8f3f7a46a(Qianfan Token Plan) put two package-level regexps in internal/provider and ran provider, gui and cli, so the root guard was red on ubuntu CI until022ffd09e. Done since, as 11-12 asked: testenv's TestMain checks the package's own files after its tests (testenv.eagerHere), so the 65 packages that run through testenv, every one this guard caught before among them, fail their own run, a-runof one test included. Broken by hand: a probe file in internal/update failedgo test -run NoSuchTest ./internal/update.
- The same root guard a fourth day running:
-
11-13, criteria still missed.
- A budget's pass recorded at a tree it wasn't run at: 5a0e0378c's
body says TestCoreScriptBudget passed "rebased on 7583ed65c", but
the core had 40 bytes of room there and the commit added 344 to
plugins.js. Main was red on it from 06:00 (CI first at
e9e63c6d7) until5a44051ebmoved the hook into plugingrid.js. The budget is pure arithmetic over the files: a copy of codeBytes overgit showgives the number for any sha in a second, so "passes" can be checked at the pushed head without a build. ee1553913wrote its "+1,112" budget reason twice in one comment for one raise. A reason that is in the line twice reads as two raises.- A patch on a red's issue taken first: yinwu01 posted 86e12bbd on
#5948 (TestGroupFailoverTimesEachTry, a fixed 80ms gap) on 11-10,
with every injected red written out. Nobody ported it for three
days, and it went red on macos CI at
dbb2e5dd2in a shape the issue hadn't named (Millis == FirstText at :264). It was ported unchanged asff865b47a, the CI shape reproduced on mica with a 240ms hold. - A size budget raised to fit:
2f34649a6(Sign in on another computer) was pushed 328 bytes over coreScriptBudget, so it and4b3402035are red at their own trees.dd9b2bcefthen raised the budget by exactly what was over, saying no page was left to move it to, the reason 11-12's four raises gave. That is three raises today (5a44051eb's +168 moved a hook out first; this one moved nothing). The guard is sub-second overgit showand is run before the push. Two more raises followed before 13:00:c2a1d80fc+333 (its figure moved into rotfig.js first) andb942a872b+236 ("no page left"). Five raises on 11-13, +2,145 bytes (ee1553913+1,112 at 00:11); none moved code out of the core beyond its own hook. #2710's growth rate is still unset. Done right the same afternoon:d06d2383amoved the connect-address save and the typed certificate into tlscerts.js and met the budget with no raise, so "no page left" had a page. The afternoon added three more:6bc0d1e20+180 and5a2d0ff47+81 (each moved its feature into a lazy file and kept the import), and287a1ffa2+225, putting back the Hermes profiles section that1d60b165chad moved out of the core while the Agents rows still drew it.a95a7a1cd+397 (per-key price rates) made nine raises on 11-13, +3,028 bytes. A move out of the core first checks every caller of what it moves, or the budget comes back with the code. Again at5b25d7e9e: +106 bytes into context.js with the core at exactly its budget, tagged v0.1.4040 red; its record ran the Routing GUI files and not the sub-second guard.e4ea31321(v0.1.4043) met the budget with no raise, partly by joining statements onto one line. Joining lines moves nothing out and costs readability; it is a last resort, not the way to meet the budget. The same evening5211fd3ba(+1,016 lines) "packed" costInYuan to land 3 bytes under it, after9a8219237had left 14. Each change now shaves until it fits, and the next one has nothing to shave: move a page out of the core first (#2710). An hour later23457a51fraised it 316 ("no page to move it to") and left the media chip's Copy model ID out to fit: the budget now shapes what users get. Done right:817d35ffathen moved ~2.8KB of usage helpers into page.js. The raises live in one ~3KB comment line on coreScriptBudget; that is a log, not a growth rate. - A record that points elsewhere: 2f34649a6's body is "Run: see push notes", and 8f82e08b4's "(see below)" has nothing below it; neither says whether what it ran passed. A pointer is not a record (10-14).
- The eager-regexp guard, red twice more:
1ca2c62c4(catalog, fixed in19fd0dfb8) andd52e2feaf(agent, whose record is one -run in ./internal/agent; fixed in6a506e283). TestNoEagerPackageRegexps lives in the root package, so a run of the changed package never reaches it. A new package-level regexp is lazyre.New, andgo test .runs beside the package's own. A third on 11-13:d21cb563e(davsync's setupBody) ran ./internal/gui and ./internal/davsync, and48e394146(#6534) fixed it. Six times in this file now, so a line here is not reaching the sessions that add a regexp. A guard that only the root package runs belongs in a check every push runs, or beside each package's tests.
- A budget's pass recorded at a tree it wasn't run at: 5a0e0378c's
body says TestCoreScriptBudget passed "rebased on 7583ed65c", but
the core had 40 bytes of room there and the commit added 344 to
plugins.js. Main was red on it from 06:00 (CI first at
-
11-14, criteria still missed.
- The sub-second guard left out again:
92e760f3d(per-key model tag) ran its chosen GUI files, queued the full suite and pushed before it finished. keysTag took the core 421 bytes over coreScriptBudget, and main was red about an hour (#6518). The full suite found it afterwards. TestCoreScriptBudget runs in a second overgit show; it is run before every push that touches the GUI's scripts, not left to a suite that finishes after the push. - Two sessions fixed #6518 at once. One had said on the issue that
it was taking it;
f1f34d624landed the same move without reading the issue first, and the other's work was dropped. Read the issue's last comment before starting on a red, as well as git log. - A test that checks a duration to the millisecond:
TestLiveVisibleReasoningFixture set start to now minus at_ms, then
see read the clock again, so any pause between the two showed up in
the result. macOS CI read 6790 for 6789 (
e730a14dc).d6cb40475bounds it by the time that really passed, red with a 3ms stall on the old code. A test that sets a time from the clock and then reads the clock again allows the time in between. - A size budget raised to fit, again:
c5b40bf89raised coreScriptBudget by 67 bytes for one connectLine line, "no page to move it to", hours afterf1f34d624found room by moving keysTag out. The owner hasn't set a growth rate (#2710), so a raise still moves something out first.dc85a7ca5then added +12 for AIGoCode's logo in pngIcons, and27c998aba+491 for costs in each provider's currency, nothing moved out either: three raises by 13:00, +570 bytes.11ddf076b(15:46) made it four, +326 for the Qwen platform sign-in, though it put the field and its wait in qianwenplan.js first.07a62b373(16:34) a fifth, +72 for Copy all keys, the row itself in keyrates.js.80a315a70(17:00) a sixth, +83 for the hidden page's cache release: +1,051 bytes in a day, each raise "no page to move it to". - Chosen packages again:
11ddf076b(Qwen platform sign-in) ran provider, gui and cli, not ./..., and its package-level regexp left TestNoEagerPackageRegexps (root package) red on main from 15:46 to 16:55 (05d25d8dc). The same guard went red the same morning from the yaml.v3 copy. A new file that adds a package-level value runs the guards that walk the tree, which only ./... reaches.80a315a70(17:00, the hidden page's cache release) did it a third time: it ran gui and usage, and its new POST /api/page-away left internal/cli's TestEveryRouteHasACommandOrIsNamed red until69946f43c(17:48). A new route runs internal/cli too. - The updater shipped on chosen packages:
14807bcf2and943404477(18:20, Restart to update and Windows downloads) say the full suite wasn't run because mote was at load 126 to 142 and mica's disk was full (114 MB free, 172 GB of stale ~/runs copies; the review cleared them). Saying so is right, but an updater bug is one users can only leave by downloading by hand. When both boxes are busy, a change to the update path waits for a full run, or takes it on the Windows or Linux box; a full disk on a run box is cleared, not worked around. - Pushed before its own suite finished, "at the coordinator's ask":
32c830fc1(TUI language, +1,293 lines) and106a24b95(skills update by themselves). Both suites later came back with only the known #6648 red, and 32c830fc1's result went on #6649, a CLI feature issue nobody reading the commit would find. A coordinator's hurry doesn't stand in for the run: wait for it, or push and then put the result where the commit points (its own issue, named in the body).106a24b95did what the updater lesson above asks: with mote at load 167 it ran the full suite in WSL instead of skipping it. - No Test run finished green from
63c91cae5(11-13 21:51 UTC) to07a62b373(11-14 08:34 UTC): 57 runs were cancelled by the next push and two went red (TestEffortUpdateRefused, fixed in a4937f8ff; TestStaleLatestIsNotUpToDate, #6575). 81 commits and 51 releases in that time had no CI run of their own, only the mote runs their bodies name. A cancelled run tests nothing; when pushes come faster than a run takes, someone lets one run finish, or the workflow keeps the run of the newest tag instead of cancelling it. It happened again the same day: after1ab2c3984(11:38 UTC) went green, the only two runs to finish were red (TestInfoSaysMCPHub, fixed in49f49c41c). Every other run was cancelled up to221c91fae(16:16 UTC), and the 14 tags v0.1.4171 to v0.1.4184 had no green run behind them.6bdeedc6f(1,836 lines, a new keyless gateway route) ran only its own tests and has no "Not run" line. - A library vendored for an allocation cut:
0caa09b3dcopied yaml.v3 v3.0.1 into third_party (11,400 lines, go.mod replace) for a 7-line emitter change. The review diffed it against the gofmt'd upstream: only those 7 lines differ. Footprint moved 59 -> 58 MB, within run-to-run spread; the gain is ~24 MB of short-lived allocations on a catalog change. The cost stays: an upstream fix reaches magpie only when someone copies it over by hand (MAGPIE.md says how), and the full suite wasn't run. A vendored fork names its measured gain against that cost, and runs the suite. The suite would have caught it: TestNoEagerPackageRegexps walks the whole tree, and was red on main from0caa09b3duntilfc75d90afpatched yaml.v3 a second time.ea6470cb7had left third_party out of i18n-keys instead. Decide once which guards a vendored tree answers to, and put that in its MAGPIE.md. - Done right:
f1f34d624met the budget with no raise, moving keysTag into keyrates.js, which is loaded exactly when a model can have a key tag.
- The sub-second guard left out again:
-
11-14, criteria still missed.
- The suite: a new route meets every guard that lists routes.
TestEveryRouteHasACommandOrIsNamed went red for a new GUI route
five times in five days (
e8fbee60e,65f1fdd1d,5d54a990d, the MCP account route,90efddaba). 6bdeedc6f's /deepseek-chat routes, run with their own tests only, left TestKeySlotEveryRoute and TestLazyCatManifestListsTheClientRoutes red. The first was a real gap: a key capped at one slot could run a chat page turn beside an agent's request (#6688,cd030691a). 0b8c4bfc3's new field left TestEveryWordHasZh red (e9fcc6229). A change that adds a route or a label runs internal/cli, internal/gateway and internal/tui whole. 11-17:618bfc1a9gave Kimi Code a "subagent pool" field and ran internal/agent and internal/gui only (both machines were loaded), so TestEveryWordHasZh was red again (fixed in the commit after it). internal/agent's TestEveryFieldLabelHasTUIZh now fails on such a label in the package the change runs. - A red with an issue still needs an owner. #6677 was red on main for
about three hours. A session that met it commented "Not taking it"
and shipped past it, and the review fixed it in
4c86b0ab4. The four earlier issues for the same test (#5946, #6359, #6516, #6202) stayed open after their fixes. Close an issue in the commit that fixes it (Fixes #N). - A
-runof the new tests is not a run of the package.d50ae6fcbchanged three files in internal/usage and ran only its two new tests.93762f968, the next commit, changed the same package, and its record is from a run at442964d70, befored50ae6fcb. Their pushed pair first ran together in the review (go test ./internal/usage ./internal/usageapi at93762f968: ok). Run the changed package whole, at the head being pushed. - A new value in a list that tests loop over meets every one of
them.
6256d9956added "account" to access.Periods and ran internal/access, budget, provider, cli and gui, but not internal/gateway, where TestKeyLimitReservationsStayInTheirWindow runs every period and went red (#6706,2f5e75515). Before pushing, grep the tests for the list's name (access.Periods) and run each package that has one. The review's own first run of it was piped through tail and lost which package failed; the rerun went to a log file.
- The suite: a new route meets every guard that lists routes.
TestEveryRouteHasACommandOrIsNamed went red for a new GUI route
five times in five days (
-
11-15, criteria still missed.
- A red filed as "red on main" is bisected before anyone ships past
it.
2bb201162(11-12) dropped&& key.isConnectedfrom the editor's paste reader, so a curl pasted into a keyed provider's Base URL saved its key unseen over the provider's own. It ran 92 provider-* GUI files; key-box-once, which says exactly that, isn't named provider-*, and went red. #6424 then filed it as "red on origin/main", and #6709 lists it among 111 red files, both with no cause. The review bisected it in two runs (10/10 at the parent, 0/10 at2bb201162) and fixed it ina2a49c204. Choose GUI files by what the change touches (grep the tests for its selectors and words), not by name; and a red on main has a first bad commit, whichgit bisectfinds faster than a list grows. - A new API route runs internal/cli.
5bd41301b(warm-all) added POST /api/warm-all and ran-run 'WarmAll|WarmNow|...'in internal/provider only, so TestEveryRouteHasACommandOrIsNamed, which names every route, was red on main from the push.9cd5f3652saw it an hour later and filed #6724 but shipped past it;72418591fnamed the route. A route, a setting or a command reaches internal/cli's parity tests: run that package (43s). - A size budget raised to fit, every day: coreScriptBudget rose 29
times from its reset at
8016205e3(11-11) tob466aa280(11-15), +7,559 bytes, 12 raises on 11-13 alone, each "no page to move it to". Recording each raise here hasn't slowed them; the bound needs a rate the owner sets, or a raise that moves out as much (#2710). - A "seen again" is still not work on it, a third time (#1794 on
10-12, #2444 on 10-17): #5052 (account-eye) had six comments, the
last naming the likely cause and "I'm not taking this", and
2e1c0a377shipped past it and four usage-fold reds on #6003 the same way. Instrumented, every red was a detached button;17d230d65fixed it in one helper, 240 of 240 green in 8 parallel runs. When a comment can name the cause, the fix is usually shorter than the comment. - GUI tests in every file a change can reach, a guard red 14 days:
57246b381(11-01) put an "All N accounts" strip over each Usage card of several accounts and ran four GUI files, not usage-fold, whose "most on one screen" guard fell from 15 to 11 that day. It was filed on #6003 (11-10) and called "the same on main" for five days; bisected on 11-15, nine steps on mica. A layout change runs every file of its page.
- A red filed as "red on main" is bisected before anyone ships past
it.
-
Done right on 10-17. The retire stack (
0f1666b38tode671719a) diffed staticcheck's U1000 against its base for dead code,b98f906b1was red on the old code for an own-account gap, and 8 subscriptions were moved with real accounts. Kiro, Factory and Zed were not, and Qoder answers 401 (plugins#181); both said.df3734b95(#2627) fixed the shared reader with the reporter's fish_variables and ran real fish 3.7.1.f550d3699tried Bun's Claude Code with a real SOCKS proxy.48aae83b8found an unmasked route to Jev by reading callers.9f9bfc160scoped Codex's 272K window to Codex and checked an OpenAI model unchanged.c4aeaec74checked npm before the Cursor min.2042123f4(timonwong) and992f288e2(JJ-Lin) were ported with credit. -
Done right on 10-16.
a751f5282(#2567) found its 408 by injecting a 250ms stall and was red with renewal turned off.9b04c4e20ran a real Codex Pro sign-in on every protocol. #1717 (deephbz) took four review rounds, each with a probe that lost a 1h cache write, and diffed the outgoing request against main through a recording proxy.6641e1b0afixed #2449 at its cause, red 3 of 3 with an injected pause.0cad76cd9ran the whole GUI suite and filed each red.a15e57656read OpenPencil's keys from its own source and ran its real binary.ee2a7c7e8(ggbdpq) has a test red on the old code. -
Done right on 10-14.
86cc7ac56(hhh2210) ran -race -count=20 and says its ordering was injected, not captured.f074996d9named its load red's issue (#2066).bfef5d51bchecked the reverted page's screenshots against v0.1.1231's assets.21aa40285ran the fixed test in four time zones. -
Done right on 10-11 to 10-13.
2dcc51417found 3ccbe6bc1's reds the same evening.5241de909guards a caller's image URL at the one place all three draw paths download it.86b2f4d05fixed revoked sign-ins for every built-in at once.8179ce768says what it broke by hand.097479dabfixed #1543 at its cause, andebbe76420forced each failure by hand instead of rerunning. -
Done right on 10-10/10-11.
9e35eef3fixed #1469 half an hour after it was filed, reproducing CI's numbers with an injected pause.ede1e32a(#1508) audited all six pickers of the same kind and added a guard test that every one can be narrowed.64262a19(Prime Agent),9c11abbd(jcode) andb72e7d4a(#1539) were tried with the real binary in a sandbox, and each says what was broken by hand.- #1197 scoped Kimi's sampling rule to Kimi Code's endpoints and models.
-
Done right on 10-09/10-10.
229ce19a,570b8fdbandab72c8ebreproduced CI flakes by injecting a delay and fixed their cause.7f62dbf3named the siblings the reporter's patch missed (Cursor, Muse, GUI, CLI) and covered them.9b51428efound the same hold-out in Factory's list.- #1454 stayed open until the reporter confirmed.
- #1213 and #1282 merged at the reviewed head with the record seconds before.