Commit Graph
27 Commits
Author SHA1 Message Date
yetone b119f87771 LESSONS: a change to when a value appears re-reads every wait on it (3dd59428e) 2026-10-29 00:20:20 +08:00
yetone c4972b36e1 LESSONS: a new reader of a live object reads each field the way its writer writes it (983fff23d) 2026-10-28 22:40:30 +08:00
yetone 04749d926d LESSONS: a release published after a newer one takes Latest and the tap (seen 10-15, 10-28)
Records the second day of the Latest mark going to an older release,
and that magpie-releases ee73d7a fixes it in the publish step. Docs
only; nothing run.
2026-10-28 20:20:50 +08:00
yetone 96d4715c61 LESSONS: a cancelled run hides a Race-job red; a pool or allocation bound checks raceOn (10-28)
0b99b8fbe's TestMarshalBodyAllocatesTwoBodies went red in macOS CI's
Race job at 25df3187b, the first Test run after it that finished: 49 of
main's last 58 Test runs were cancelled by the next push. Fixed in
d3f3f3381. Docs only.
2026-10-28 18:58:38 +08:00
yetone 51247a55b2 docs: one commit, one goal moves into the code standards (seen a third day)
LESSONS.md's "One commit, one goal" was seen on 10-05 and 10-06. On
10-28 6e080ca04 answered two reports in two layers under one subject:
psikent's /v1/models tools flag (gateway) and windy's routing group
Context hint (GUI, five languages), the subject naming only the first.
A revert of either takes the other with it, and the record can't say
which test guards which.

- docs/code-standards.md, Commits: a paragraph on one goal per commit,
  with 653cb8ee, 1e0829b1 and 6e080ca04.
- LESSONS.md: the lesson replaced by a pointer, and listed under Moved
  to the code standards with the 10-28 evidence.

Docs only. Checked that no test reads either file's content
(loop_guard_test.go and rtk_detect_once_test.go only name them).
2026-10-28 17:51:52 +08:00
yetone a57c95513c LESSONS: a run record is written once the run has ended; a red assertion hides every one after it (10-28)
ca9b5048e recorded a GUI run still going and missed the 20 reds it caused in routing-model-rest (fixed in a8098a886). #3410's first red press hid c888ef272's zone change from its fixture for three days (7b007e986). Docs only; nothing run.
2026-10-28 16:15:00 +08:00
yetone 4655e16599 LESSONS: an exemption by shape is tested with the secret most like what it lets through 2026-10-28 11:24:17 +08:00
yetone cc04ce68c1 LESSONS: the #3568 patch lesson points to the code standards
Follow-up to 77898391d, whose LESSONS.md half didn't apply. Docs only; nothing run.
2026-10-28 10:50:02 +08:00
yetone d8c70504d6 LESSONS: a patch posted on a red's issue sat three days (#3568)
JoeyWu-tech's 56c67ad2 waited on #3568 from 10-25 until 11c427eaa ported it on 10-28, after it went red on ubuntu CI again at 0a7633136. Recorded under the #1794/#2444 pattern. Docs only; nothing run.
2026-10-28 10:17:54 +08:00
yetone 60bcea073f LESSONS: a red Test step hid a -race-only red until 10-28 (#3956)
CI runs the Race step only when Test passes. 9a888323a's allocation
bound was red under -race from 10-26 and first showed once the Test
step went green; a bytes bound runs once under -race before it lands.

Docs only; nothing run.
2026-10-28 08:23:54 +08:00
yetone ec6c2de529 LESSONS: a red that kills its package hid 6eb510f78's three reds (#3854)
Evidence on 10-27/10-28: #3632's fatal ended internal/provider before
the TestFetch* tests ran, so 6eb510f78 shipped with -run Codex. With
#3632, #3854, #3906, #3919 and #3924 merged from JoeyWu-tech's patches,
internal/provider passes whole on mote. TestLoopGuard* ok on mote.
2026-10-28 07:11:05 +08:00
yetone a1222c539f LESSONS: a mover's min moves to the code standards (third day), and red issues' patches sat unowned on 10-27
- A plugin version published with no mover min raised was seen on 10-16,
  10-18 (zed 0.1.9) and 10-24 (factory 0.1.38, raised four days later
  in 490c0a4ad). It moves to the code standards' release rules: the min
  is raised the same day the plugin version is published.
- 10-27 is the third day of the #1794 pattern: #3632 (internal/provider
  dies on main since 10-25, two complete patches, no owner), #3919 and
  #3924 (JoeyWu-tech's patches since 10-27) and #3854.

Checked: every mover's min against `npm view --prefer-online` (factory
was the only one behind; grok 0.1.16 was raised two hours after its
publish, cc8e8e3bd, so it is not evidence). #3632 red 2 of 2 on mote at
4b0a32e0f. TestLoopGuard* (reads both docs) ok on mote at this tree.
2026-10-28 06:28:17 +08:00
yetone 5380114da1 LESSONS: 10-17: runs recorded at another tree, "under load" reds left unowned, a body scan on every passing reply
Folds the review of 10-17 04:00 to 10-18 04:00 (77 commits, v0.1.1277
to v0.1.1283) into LESSONS.md, and moves two lessons seen a third day
into docs/code-standards.md:
- magpie's default never overrides a value the user set (10-05, 10-10,
  10-17: 5a2414acd's Essentials to All, #2749), a row under "What a
  change contains";
- a checkout, worktree or log belongs to the session that made it
  (10-09, 10-12, 10-17: 7660399a1's worktree checked out by another
  session, 17557132c's log deleted), under Commits.

New lessons, each seen once:
- a named sibling left alone gets an issue (d4a1b9baa, plugins#176)
- a fix that only covers new data says what happens to the old
  (dccfefdf7)
- keep a suite's log whole (5b12407e8)
- close a two-part issue when both parts are fixed (#2449, #2702)
- a size budget raised on every hit bounds nothing (#2710)
- a publish run red for one package hides new failures (plugins#180)

Seen a second day:
- hot-path cost, widened from a polled field to b14784c03's body scan,
  fixed in 7ac20247a
- one suite per machine (load 313 on 10-17)
- the #1794 pattern of "seen again" comments with no owner (#2444,
  #2737), with one test filed three times (#2169, #2711, #2737)

Also adds the criteria still missed on 10-17 (a run record at a tree
other than the pushed one, a wrong issue cited) and what was done right
(the retire stack, df3734b95, f550d3699, 48aae83b8 and others).

Docs only. Every sha and issue number was checked against git log, gh
and the commit bodies.
2026-10-18 04:43:41 +08:00
yetone 065fc7500d LESSONS: 10-16: a move no user can undo shipped past #2596, one suite per machine, mover mins at landing
Folds the review of 10-16 04:00 to 10-17 04:00 (73 commits, v0.1.1261 to
v0.1.1276) into LESSONS.md: three new lessons (a change no user can
undo gets a real run per vendor, one full suite per machine, a mover's
min is npm's version at landing), and the criteria still missed on
10-16 (chosen GUI files under a tag, a suite at an older base than the
pushed head, a copied body, cancelled runs) with what was done right.

Docs only; every sha and number was checked with git log and gh.
2026-10-17 03:45:41 +08:00
yetone fbabe861e2 lessons: three GUI changes left other GUI files red on main, and a Windows rule left two Mac tests red on Windows CI
Added under 10-15's criteria still missed: 64b0f3a20 (menu-scroll, fixed
a61a6f954), 8f55c27ad (text-size, fixed d3ca90afc) and 94942f9f3
(agent-connect-no-models, cf21b71ff, #2435) each ran the GUI files they
chose; 6e2aa8e32's Windows rule and the dsh tests fixed in ce1251cc9.

Docs only; no code or test changed, nothing run.
2026-10-16 03:59:56 +08:00
yetone 422d057ded LESSONS: 10-15's unfilled SUITE_LINE run records, an older release marked Latest, and a rerun's green over a red first try
Found in the nightly review of e679f1106..386d341e7. git log --grep=SUITE_LINE counts 113 of the 120 commits pushed at 23:08. v0.1.1255 and v0.1.1256 publish times are from gh release view; the Latest mark was moved to v0.1.1256 with gh release edit --latest. Docs only; nothing run.
2026-10-15 23:15:41 +08:00
yetone 95e7c6bcc0 lessons: TestPluginSOCKSProxy's 60s timeouts were a bridge given its dead proxy's freed port (9a852ae9d) 2026-10-15 11:43:08 +08:00
yetone 94bceea4d2 lessons: fold 10-14 04:16 to 10-15 07:30 (275 commits, v0.1.1229 to v0.1.1244)
New lessons: an origin exemption judges every Origin a browser can send
(#2242, #2256; seen 2x with the 10-10 rebinding case); a file another
process rewrites may be half-written; a pinned hash or new download
source is checked against the vendor and trusted as far as who can write
it; a fixed date in a test is checked against every clock the code reads
(3c4b4dc97 -> 21aa40285); a new field on a polled endpoint is costed at
the poll rate; a full run gives slow packages -timeout 45m; a community
layout PR is not merged on review alone (#1354).

Evidence added: five fixed-wait CI reds under the timing habit, unfiled
reds and a cancelled run that tested nothing, a second oversized squash
subject (seen 2x), "see the push" as a run record and plugins#56 under
the moved standards. ggbdpq's Watched row notes 94e3b3f52 and the
red-before/green-after fixes since.

Every cited sha was checked with git log; claims were checked against
their commit bodies. Ran: go test -tags nogui -count=1 -run
TestLoopGuardLeavesOrdinaryRepliesAlone ./internal/gateway (reads
LESSONS.md): ok. Docs only, no code.
2026-10-15 07:35:13 +08:00
yetone c48c49488d lessons: the review of 10-11 to 10-13; failed reads, locks, another app's values, guarantee tests, network-free tests, tags and commit bodies move to the code standards
The nightly fold of the review of 10-11 05:20 to 10-14 04:00 (602
commits, tags v0.1.1173 to v0.1.1228, 54 of 56 published).

Moved to docs/code-standards.md, each seen a third day or more:
- a failed read means unknown (7d9382db2, e297a8ab2);
- nothing that can block runs under a lock its reader needs (a2afc1828,
  a75de4c21);
- another app's values come from that app (accc8c090 -> e0ecf0161);
- a test named for a guarantee fails without it (9dd5917a4, cc93b566e);
- a test never reaches the network (f230fa23b, bde11c778);
- a tag waits for a green run and is not a release (v0.1.1192/1193 on one
  commit, v0.1.1213 and v0.1.1218 unpublished, #1846);
- a large commit's body holds what was run (ea3d480ed, 1cd814004,
  3ccbe6bc1's "push notes").
Criterion 3 now names the guard tests that chosen-package runs broke on
10-13 (494609866, 24146c031, c6de0d2a5). LESSONS.md keeps pointers.

LESSONS.md: reading the report and two-sessions-one-checkout seen a
second day (def3a41e3 reverted in 2c30e5cee; 3e88fc09d). New 1x lessons:
WebKitGTK vs Playwright WebKit (f5dd4d604), per-OS paths in tests
(f38f65030), neutral text in vendor-bound prompts (3c4f8f9ae), one owner
per flag bit (8179ce768), a flag is never data to write (76db4c6c2).
contributors.md: ggbdpq's Watched row gains #1919 and #2017.

Run: every shown sha read with git log; anchors #moved-to-the-code-standards
and the code-standards.md links resolve. Docs only, no code.
2026-10-14 04:16:31 +08:00
yetone f7393aacfa lessons: a squash merge's message is written, not GitHub's default
708ae4144 (#852) and 81b7016e6 (#1028) each shipped a ~520KB body: their
branches had main merged in, and the default squash message lists every
commit, so #1028's own run record never reached git. The lesson says to
pass --subject and --body-file to gh pr merge --squash.

Docs only; nothing run.
2026-10-13 12:30:57 +08:00
yetone 7c632ad0b4 lessons: 10-10/10-11 review; tests ending with their test and timing room move to the code standards
The nightly review of 10-10 13:51 to 10-11 05:20 (191 commits,
v0.1.1155 to v0.1.1172, every tag on a green run).

- Two lessons hit a third day and move into docs/code-standards.md:
  whatever a test starts ends when it does (#1524's three-step fix), and a
  timing test leaves room on both sides (TestMaxRPM was a real gap).
- "A failed read means unknown" seen again: stash.json had readLogins'
  bug (fixed in 270b5257), and StepCode copied a strict reader instead.
- "A test never loads a real page" gains f04792f9: a test's broken state
  must not reach the network either.
- New: a test reading a dependency's source (884dbdb2), a "gone"
  substring check matching generated text (6c099edd).
- Flaky tests: four reds shipped past unfiled; "same on main" against a
  stale main (db965824); two sessions on one flake again.

Ran: every cited sha checked with git cat-file; docs only, no code.
2026-10-11 05:26:14 +08:00
yetone f9113626c7 docs: LESSONS.md gets the review of 10-09 and 10-10 — exemptions scoped by protocol position, a documented security gap is a bug, two sessions never share a checkout; user-set values, error cause and timing tests seen a second day
Reviewed 68aab298..c98160c0 (92 commits) plus the 10-09 ticks: security/privacy probe of every auth, network, telemetry and credential change, fix-again chains, tags vs green runs (all v0.1.1137-1154 on green, 16 assets), commit bodies and community merges. No lesson reached a third day, so nothing moves to the code standards. Filed #1469 for TestKimiHeldBurstTellsNoSpeed.
2026-10-10 14:24:31 +08:00
yetone 461708907a docs: the 10-08 review moves real use and GUI-in-both-engines into the code standards, adds gofmt and a Linux/Windows go vet to the checks, and adds lessons on Windows CI, telemetry disclosure, timing tests, guarantee tests, real vendor pages, CI's Go version and large commits without a body
192 commits and 18 releases on 10-08 (through 3c629133). The two lessons
seen a third day keep their concrete steps in acceptance criteria 4 and 5
(git grep a reworded string, a gateway guard through the real server
stack). bbf99143's syscall.Getsid shows a cross-OS build doesn't compile
_test.go, so vet joins the checks. #1318's test that passes with the waiter
held is filed as #1358.

Ran: read both files after the edit; docs only, no code changed.
2026-10-09 03:48:15 +08:00
yetone 8731dd9f38 docs: LESSONS.md gets the review of 10-07's commits — fix-the-class, re-derive, red-on-main and merge-record lessons seen a third day move into the code standards; not tried with the real thing seen a second day (b2345078→7837f90d, #1050, cda11d84); positives from 6b6113aa, d40fee80, bed306ae and #948 2026-10-07 23:46:48 +08:00
yetone 18d973ba7b docs: LESSONS.md gets the rest of 10-06's review — merging before writing what was run (9 of 10 merges), the reviewed head (#974), re-deriving what a change builds on (e0bf3e61, 2a990175) and another app's semantics from its code (#966/#996) are seen a second day; two new: no blocking send under a lock the reader needs (4fb8e887, c8690ca0), and a test's fake processes end with it (38a0f470) 2026-10-07 00:23:19 +08:00
yetone 4b03eda97c docs: LESSONS.md gets the review of 10-06's commits — five lessons seen a second day (siblings, both engines and ja/de, red tests that weren't load, one goal per commit) and a new one: fix what an error is about, not only its label 2026-10-06 03:49:31 +08:00
yetoneandClaude Opus 5.5 303819c583 docs: LESSONS.md keeps what the nightly review of merged work finds, and agents read it before changing code
The first review covers 2026-10-05's 220 commits (~170 releases): about 40 fixed something released that day or the day before. The lessons are grouped by kind (misread report, fix one sample of a class, user files, thin verification, red tests and releases, merging and closing), each with its evidence. Three that recurred dozens of times move into docs/code-standards.md: a fix reaches every sibling of the bug, a test red on main is fixed rather than used as a baseline, and a release needs a finished green CI run, not a cancelled one. AGENTS.md points at LESSONS.md and CLAUDE.md loads it. Docs only; no code or test changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 03:10:24 +08:00