Commit Graph
88 Commits
Author SHA1 Message Date
yetone 8df4239a8b lessons: 11-14 core budget raised again for one line (c5b40bf89)
Docs only; no code run.
2026-11-14 12:03:04 +08:00
yetone 27e43ed26c LESSONS: 11-14, a budget guard left out before a push, a red fixed twice, a clock read twice
From the loop review of 92e760f3d (#6518), f1f34d624 and d6cb40475.
Docs only; nothing run.
2026-11-14 10:18:42 +08:00
yetone ea9f2639b9 LESSONS: a docs edit left llms-full.txt stale, unseen behind cancelled runs
459d668b3 changed docs/sync.html without regenerating llms-full.txt. The
site test was red from 21:05, and CI showed it only once a run was not
cancelled by the next push. Added under "A cancelled run tests nothing".
Docs only; nothing run.
2026-11-14 02:00:33 +08:00
yetone 55327848bb LESSONS: a budget raise that cut a menu item, and a move out (23457a51f, 817d35ffa) 2026-11-13 23:21:37 +08:00
yetone aff11e042d LESSONS: the core budget met by packing again, 3 bytes left (5211fd3ba) 2026-11-13 22:49:51 +08:00
yetone 7af7a3abad LESSONS: a launch-agent fix that also mended installed ones (#2961) 2026-11-13 21:46:37 +08:00
yetone 9e3b269c51 lessons: the eager-regexp guard red a third time on 11-13 (d21cb563e)
d21cb563e ran its packages and not the root guard; 48e394146 fixed it.
The rule is in LESSONS six times, so it needs a check, not a line.

Docs only; nothing run.
2026-11-13 20:12:44 +08:00
yetone 24cdfb5460 lessons: #6482 closed on one green release while the 403 came back
Five tags after the close never published (notarisation 403 and a
notarytool timeout). Recorded under keeping an issue open until the
case works.

Docs only; nothing run.
2026-11-13 19:10:42 +08:00
yetone 49d7adef74 lessons: 5b25d7e9e tagged with the core budget red; packing lines is not a move
5b25d7e9e added 106 bytes to context.js at a core already at its
budget and was tagged v0.1.4040 with TestCoreScriptBudget red.
e4ea31321 met it again without a raise, partly by joining lines.

Docs only; nothing run.
2026-11-13 18:37:50 +08:00
yetone 37e3d4d45f LESSONS: a95a7a1cd is the ninth core budget raise on 11-13
+397 for per-key price rates; the day is now +3,028 bytes.

Docs only; nothing run.
2026-11-13 17:03:31 +08:00
yetone 9572a2b4cc LESSONS: three more core budget raises on 11-13, eight in all
6bc0d1e20 +180, 5a2d0ff47 +81 and 287a1ffa2 +225, which put back the
Hermes profiles section 1d60b165c had moved out while the Agents rows
still drew it. +2,631 bytes on the day; #2710 still has no growth rate.

Docs only; nothing run.
2026-11-13 16:31:39 +08:00
yetone 11be6acd4d LESSONS: the advisor route skipped a key's models (db9a5ec7c, 0b38eb21c)
A second day for "a restriction covers every route": the served advisor
asked a caller-named model as magpieChose, so a key held to some models
reached others; two tags shipped it before 0b38eb21c fixed it and the
native advisor's older gap.

Docs only; nothing run.
2026-11-13 16:00:20 +08:00
yetone 59f1bcf98b LESSONS: d06d2383a met the core script budget by moving code out
On the same day as five raises, d06d2383a moved the connect-address save
and the typed certificate into tlscerts.js instead of raising
coreScriptBudget. Recorded under the 11-13 budget entry as the way the
"no page left" raises could have gone.

Docs only; nothing run.
2026-11-13 14:58:08 +08:00
yetone af17d66b73 lessons: 11-13 budget raises total +2,145, not +1,355
Counted from each raise's diff since 00:00 +0800: ee1553913, 5a44051eb,
dd9b2bcef, c2a1d80fc, b942a872b.

Run: none (text only).
2026-11-13 13:18:00 +08:00
yetone 701785e27b lessons: 11-13, two more coreScriptBudget raises
c2a1d80fc (+333) and b942a872b (+236) make five raises today.

Run: none (text only).
2026-11-13 13:17:36 +08:00
yetone 21ed46106c lessons: 11-13, a reset --soft onto fresh main undid 45 files
1f05c311d carried an older worktree tree; c2fd48782 restored it before
any tag (v0.1.3985 has both). Checked: git diff --stat c1312ac15
c2fd48782 is the memory fix's 4 files.

Run: none (text only).
2026-11-13 12:45:48 +08:00
yetone c2fd48782b Put back what 1f05c311d took out of main by mistake
1f05c311d was committed with its worktree's older tree on top of a
fresh origin/main (git reset --soft), so beside the memory fix it
undid every file 610ae1f54..c1312ac15 changed (45 files: key balance,
import links, project subagents, uninstall, site, LESSONS.md and
more). This commit restores each of them to c1312ac15 byte for byte;
the tree is now c1312ac15 plus the memory fix alone
(git diff --stat c1312ac15 HEAD: the 4 files of the fix).
2026-11-13 12:18:23 +08:00
yetone 1f05c311d9 library: an open memory holds still while the Memory tab polls (Nietzsche_Li on X)
"资源库-记忆中,被展开的记忆的表单会定时抖动". While search by meaning
still has memories to read (read < of, which can last up to a minute
between memembed.Keep's reads) or a learn-from-conversations run goes,
the Memory tab reads its row again every 2s, and each read drew the
whole page anew. The open editor was a new .lib-detail each time and
played its content-in entrance (opacity .5, 2px slide) every 2s.

- semWatch/distWatch draw nothing when the read changed nothing, and
  redraw only their own row (redrawRow) when it did; the whole tab only
  when the memories changed.
- render() marks a .lib-detail open before it (same data-detail) as kept,
  so it doesn't replay its entrance. This covers every render of an
  open editor in the Library: memories, instruction sets and agents'
  files (the siblings; no other Library tab polls into render()).
- A new memory's text no longer takes the focus back on every render.

Run (mote): library-memory-steady.test.cjs, all 5 languages, 980/420,
chromium + webkit: green 4 of 4 whole-file runs after the last change
(webkit alone 2 of 2 before it). Broken by hand: the same test against
origin/main's client.js and library.css: 22 of 22 red ("the editor
played its entrance again"). One webkit de 420 red was the test's own
first row click intercepted by the header at 420px while the page
settled; the test now opens rows with a DOM click.
Also run, both engines, every language, 980/420: library-memory, library-memory-select, library-memory-suggest, memory-icon, library-instr-busy, library-instr-sets, library-linked-set, library-follow-server: all green. No Go code changed, so no go test or vet.
Not tried: the real app on a real memory store mid-read.
2026-11-13 12:17:43 +08:00
yetone c1312ac151 lessons: 11-13, the eager-regexp guard red twice more
1ca2c62c4 and d52e2feaf each added a package-level regexp and ran only
their own package; the root guard caught both (19fd0dfb8, 6a506e283).

Run: none (text only).
2026-11-13 12:13:30 +08:00
yetone d9a2277ea7 LESSONS: 11-13, a budget raised by what was over and records that point elsewhere
2f34649a6 measured 1,266,040 against 1,265,712 (budget.py over git show),
and dd9b2bcef raised the budget to what was left after packing. Docs only.
2026-11-13 11:20:05 +08:00
yetone 364e4946ae LESSONS: 11-13, a patch on #5948 waited three days until CI went red on it
Records the case under the moved rule "a red's issue is read to its
last comment, and a patch on it is taken first". Docs only.
2026-11-13 10:47:45 +08:00
yetone 235ed22eb1 LESSONS: 11-13, a budget's pass recorded at a tree it wasn't run at 2026-11-13 08:18:51 +08:00
yetone 9eda623406 docs: lessons: a script Settings loads runs in the panel too (#6139)
22f2759d7 left agent-prefs red for two days; 41e330bdf fixed it.
Docs only; nothing run.
2026-11-13 02:11:22 +08:00
yetone 5f1a642b42 docs: a commit's tree is origin/main plus its own change, in the code standards
Seen a third day: 8c7328f3a (11-13, remote quotas) was committed from a
stale tree and wrote 21 files back to their state before 35aaaa4b9,
taking out three commits (put back in 926b1e7df), after 85e6ec540
(11-11) and 76ceff87c (11-12). The rule moves from LESSONS.md into
docs/code-standards.md's Commits section, and LESSONS.md lists it under
Moved to the code standards. Docs only; nothing run.
2026-11-13 02:01:18 +08:00
yetone b4821050a8 lessons: a commit's stat names only the files its change touched (76ceff87c)
76ceff87c, built on an older base, took out 7c37424fc and d6b5f24db with
their tests (restored in 8097860ab); 85e6ec540 did the same on 11-11.
Seen 2x, kept as its own lesson. Docs only; nothing run.
2026-11-13 01:08:07 +08:00
yetone 118765663a lessons: a test that breaks a shared file puts its bytes back (aa744b9ed)
TestFetchPrivateEntries left "{not json" in the gateway package's shared
settings.json, since its cleanup restored through settings.Save, which
refuses to write over an unparseable file, and dropped the error.
TestRemoteMagpieAskedToFollow went red on ubuntu CI at 836d074f1.
Docs only; nothing run.
2026-11-13 00:07:35 +08:00
yetone ea3a00adc5 lessons: a commit message file is made fresh, and its subject read back
plugins bc9f611e (11-12) and ce1251cc9 (10-15) each shipped under
another change's stale message. Docs only.
2026-11-12 21:26:07 +08:00
yetone 93e8e225ce lessons: 11-12, the eager-regexp guard red again, with the route guard
4519eea71 left two guards outside its packages red (fixed in
f97415bc0). Docs only.
2026-11-12 20:54:16 +08:00
yetone d0a4e0be6f lessons: a size budget is met, not raised, moves into the code standards
coreScriptBudget rose four times on 11-12 (d96403141, 05cadcafd,
4519eea71, 09e2eef0d), 1,089 bytes with nothing moved out, the third day
the budget lesson was seen (10-17, 11-10). Per LESSONS' rule it moves into
docs/code-standards.md as a row of "What a change contains". Docs only.
2026-11-12 20:11:44 +08:00
yetone 7199afbb66 lessons: 11-12, the eager-regexp guard red a fourth day
36eebea13 (fixed in 10e783080) and 4028687b8 (af212c945).
2026-11-12 19:38:04 +08:00
yetone e2114780ab lessons: a test never swaps time.Local
From the race 4028687b8 brought to main (af212c945); #2949 and #4360
are the same class.
2026-11-12 18:59:09 +08:00
yetone 1272015d22 LESSONS: a wip commit reached main and left a test red for 35 minutes 2026-11-12 13:06:11 +08:00
yetone 810cc21a5e LESSONS: d31988c95 undid Mistral's cache key too; state for one provider is keyed by it 2026-11-12 12:32:10 +08:00
yetone 59b411b56d LESSONS: a commit's file list is checked against its goal (698ed4adb undid two commits) 2026-11-12 09:59:30 +08:00
yetone 2e9ddf05dd lessons: a new route left the parity guard red a second day (60fde6fb1) 2026-11-12 03:06:55 +08:00
yetone dba8e99f40 LESSONS: 11-12, a package-level regexp added beside a run of chosen packages (4847a087f) 2026-11-12 02:17:10 +08:00
yetone 1751eeaf19 LESSONS: 11-11's reds from a shared list, a process-wide byte count and -run of a package's own tests (#6165, #6178, #6187) 2026-11-12 00:18:07 +08:00
yetone 60559ee73a lessons: 85e6ec540 pushed a stale index over six commits 2026-11-11 23:17:44 +08:00
yetone bbfa8501fb lessons: 16ed1a952 shipped a feature under another commit's message (#6162) 2026-11-11 22:43:50 +08:00
yetone 0983bccc90 LESSONS: 11-11, a red on main fed with comment cuts instead of owned (#5918) 2026-11-11 21:34:59 +08:00
yetone 949d705048 lessons: 11-11, a -run of a package's own tests left its guards red
55dff77b4 ran `-run PluginPage ./internal/gui`; TestNoEagerPackageRegexps
and TestCoreScriptBudget went red on CI (817ccb56f, 24123d47a), fixed
in de10c6676 and f54920280. Docs only; nothing run.
2026-11-11 20:51:21 +08:00
yetone 307b16b406 lessons: a pool fix keeps its siblings past a collection (#5990); a release step waiting on Apple has its own limit 2026-11-11 19:00:21 +08:00
yetone bee9a7200f lessons: compare paths with links followed on both sides; a test's path in its file's encoding
From #6127 (a1961f5ca) and #6065 (ff11275ae). Docs only.
2026-11-11 17:27:33 +08:00
yetone ea7afbe989 lessons: a new route or field runs the guard tests that list them; a second fixed allocation bar
From the 11-11 reds: f5e1b1091 ran `cli -run ContextCap` and left the CLI
parity, GUI keep and usage-column tests red (#6102 to #6104); e0cadc312's
memory routes had no parity entry; and the dsh round's fixed 300 read 421
on Windows (#6118).
2026-11-11 16:31:22 +08:00
yetone bc59aefd09 LESSONS: 11-11 — a cache key that rounds a field, a context a stopped timer keeps, a fixed allocation bar 2026-11-11 15:04:26 +08:00
yetone b42383e6ca lessons: a new route or setting runs the packages whose guards list them
Three commits on 11-11 turned the route and settings guards red (fixed in
c1a072636 and the next commit), and three more left the core's scripts
over budget together (61a93b531).
2026-11-11 12:28:15 +08:00
yetone 0378c10187 lessons: a patch on an open red issue is reviewed when posted (#5433)
skygunner's fix for #5433 sat three days unowned until the red came
back on CI (296a9292c); landed in 855b97a40. Docs only, nothing run.
2026-11-11 10:51:09 +08:00
yetone b50910fee5 LESSONS: a new file's name is checked against the tree first (8fa91a852, 1c3056a2e) 2026-11-11 07:12:37 +08:00
yetone c8bb0f2f26 LESSONS: prove an access list's containment per pair of entry kinds (08cca7311) 2026-11-11 06:40:43 +08:00
yetone 87dfc0d0b8 lessons: 11-10's package-level regexps ran past the root package's guard (#6020) 2026-11-11 05:30:42 +08:00