Repository navigation
Commit 5755ddd
* fix(signals): a pass that asks reads ahead on the screen as a sync pass does (S-51, #4778)
S-51 re-ruled 2026-11-12: an async derivation that reads a held value
beside latest()/isPending()/a guess answers the screen's question for the
display and the landed world's for the frame. The 2026-11-07 producer
clause (the asker guard) is withdrawn.
- verdict.ts: asker arms, askerJoins and readBy removed. R5 moved here
from lanes.ts behind the verdict engine's hooks (r5, adoptParked), so a
bundle without isPending/latest carries none of it.
- Park-block: the frame flight the seam parks is the hold's question; the
hold waits on it while a reader on screen does (F-2).
- Re-ask: a later frame write supersedes a parked question; the reader's
pass is the frame's again and asks at once (F-2, F-9).
- Adoption for memos over a re-derived sync verdict memo; a sync verdict
memo's value staged this flush reads plainly for a memo reader (D-22).
- store.ts: a pending verdict-only derive's flights are read as the memo's
reader would (D-30, S-46).
- Rules: F-2, F-6, D-25 amended; S-51 and S-52 rulings rewritten; the
generator's truth-asks oracle (it encoded the clause) removed.
- Tests: async-reads-ahead-matrix (192 rows), async-reads-ahead-second-write
(36 rows); five S-51 era pins restored to their pre-clause expectations.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_0117BoWPriDziUDpTcqtewbK
* fix(signals): the marked derive pass leaves only a verdict lane; restore the #4375 hydration asks
The derive pass that reads plainly (#4491) left its pass lane whatever it
was: a guess's lane too, so a projection chain under two guesses showed the
old rows at the fetch's landing (web projection-chain-two-guesses-4762). A
derivation of a guess is that lane's (F-6).
The hydrated #4375 spec's asks return to their pre-clause expectation
(the screen's question beside the frame's, each once).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_0117BoWPriDziUDpTcqtewbK
* chore(size): raise the four isPending/latest caps for #4826
Growth accepted by the maintainer 2026-11-12. From size job 131576088944
(head cd27cbc over next 4de85c2): measured + 10 B rounded up to
0.01 KB, recorded minified = measured.
- signals: + isPending/latest: 12.54 -> 12.78 KB, minified 34,737 -> 35,388
- page: live server components (frozen floor, Size-Exception in the PR
body): 40.61 -> 40.85 KB, minified 122,153 -> 122,820
- page: compiled live server components: 44.67 -> 44.85 KB, minified
130,192 -> 130,859
- page: live + router: 50.41 -> 50.60 KB, minified 147,964 -> 148,630
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_0117BoWPriDziUDpTcqtewbK
* fix(signals): isPending in a re-asked pass swallows its thunk's error; edge pins (#4826 review)
isPending's short-circuit for a pass a second write re-runs as the frame's
(`reask`) ran the thunk outside the probe's try/catch: a thunk that throws
escaped the verdict and halted the reactive system. The plain pass now goes
through the same catch (a verdict never throws what its thunk throws; a
NotReady still propagates inside an owner), with probing off.
tests/async-reads-ahead-edges.test.ts pins it, and two confirmations from
the review: the landing's re-derivation of a verdict memo nothing on screen
reads (sync, or async with a flight that never answers) holds no frame
(F-2), and a sync memo over a sync verdict memo reads as the window inline
would with and without a hold (D-22).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_0117BoWPriDziUDpTcqtewbK
---------
Co-authored-by: Claude <[email protected]>
1 parent 4de85c2 commit 5755ddd
30 files changed
Lines changed: 1231 additions & 454 deletions
File tree
- .changeset
- packages
- signals
- docs
- src
- core
- store
- tests
- web/test
- async-gen
- rulings
- hydration
- scripts/size
| 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 | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
328 | 384 | | |
329 | 385 | | |
330 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments