Repository navigation
Commit 2ba10bd
* fix(signals): a memo waiting on a held flight is the hold's work at its landing (#4408, #4399)
#4408 (F-6 amended 2026-10-28, D-26): `latest(m2)` showed `c1101` while
`m1:1122` of the same lane was in flight. `m1` (an async memo over a
verdict memo, no window of its own) was waiting on `m0`'s flight as the
hold's work (verdict.ts `holdWork`), but kept CONFIG_VERDICT, so `m0`'s
verdict-lane re-derive at the park re-derived it into the s lane early;
the lane was unshown when `m1:22` landed and nothing held the frame
`m0b:1100` landed into. `holdWork` now drops the verdict posture at the
wait: the memo is the hold's work until a pass of it reads a verdict
again (D-25: re-run by the write its hold holds, it reads plainly). The
recompute head could not tell: the landing settles the node before the
pass, and a lane's node is not held.
#4399 (F-9, D-25): two actions, each holding a verdict memo's write,
asked `m1:15` twice. `m1`'s pass over `m0b`'s landing re-entered its hold
at its head, then read `m0` (A's verdict lane) first and was moved into
that lane, where its read of its own hold's landing was the screen
(D-26), so it asked `m1:15` again. In `enterLane`, a pass that re-entered
the hold holding its node at its head stays that hold's work when the
verdict lane is another hold's, as it already did when it read its
hold's staging first (D-25: either read order). Its own hold's verdict
lane is its display-ahead read and it still enters that one (#4050).
Both decisions sit at the event (the wait's start in `propagateStatus`,
a verdict-lane read in `enterLane`), behind `holdWorkHook` and the lane
engine: nothing in recompute's hot path, 0 B in bundles without them.
The pins in latest-two-readers-one-ask-4393 (beside) and
latest-first-one-pass-4402 (#4399 split/value) flip from it.fails to it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
* refactor(signals): enterLane's guard resolves the hold once (#4408, #4399)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
* fix(signals): a committed memo keeps its posture over a pending verdict read (#4408 after #4504; D-25)
After #4504, `m2 = m0b() + 1` (m0b a verdict memo) re-ran at the t landing
while m0b was pending, threw, and got no posture (#4504: a pending read
hands on none). Its next run, at m0b:1100's landing into the frame that
m1:22's landing opened, was plain: it staged 1101 there, and `latest(m2)`
showed it through that frame's verdict lane while m1:1122 was in flight
(c1101 before v1122).
#4504's rule rests on D-25's "the hold's own work ... reads plainly". It now
applies only to such a pass: one born in the hold's world (uninitialized,
D-27) or one over a staged pass of its own. A memo with a committed value
and nothing staged is no hold's work. Its posture is what it reads, and it
lasts "until one completes having asked nothing" (D-25, ruled 2026-10-28);
a pass that threw on a pending read did not complete. The line stays behind
observeFlightHook.
holdWork returns from the wait branch instead of keeping a local
(-10 B minified).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015hPxMkC3jg3Uivh65gvaf2
---------
Co-authored-by: Claude <[email protected]>
1 parent 730c9ef commit 2ba10bd
6 files changed
Lines changed: 89 additions & 35 deletions
File tree
- .changeset
- packages/signals
- src/core
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2103 | 2103 | | |
2104 | 2104 | | |
2105 | 2105 | | |
2106 | | - | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2114 | 2123 | | |
2115 | 2124 | | |
2116 | | - | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
2117 | 2131 | | |
2118 | 2132 | | |
2119 | 2133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
290 | 292 | | |
291 | 293 | | |
292 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
293 | 307 | | |
294 | 308 | | |
295 | 309 | | |
296 | 310 | | |
297 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
298 | 316 | | |
299 | 317 | | |
300 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
634 | 646 | | |
635 | 647 | | |
636 | 648 | | |
637 | 649 | | |
638 | 650 | | |
639 | | - | |
640 | | - | |
641 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
642 | 654 | | |
643 | 655 | | |
644 | 656 | | |
645 | | - | |
| 657 | + | |
| 658 | + | |
646 | 659 | | |
647 | 660 | | |
648 | 661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments