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).
"资源库-记忆中,被展开的记忆的表单会定时抖动". 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.
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).
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.
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.
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.
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.
55dff77b4 ran `-run PluginPage ./internal/gui`; TestNoEagerPackageRegexps
and TestCoreScriptBudget went red on CI (817ccb56f, 24123d47a), fixed
in de10c6676 and f54920280. Docs only; nothing run.
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).
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).
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.
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.
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).