Commit Graph
14 Commits
Author SHA1 Message Date
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