You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Envelope split: three small consistency items (built-worker guard, recall by content, the search worker's origin gate) #715
Three small consistency items left by ticket 704 (the envelope split), each accepted as minor by its reviews (the task review and a reviewer-high on the fix wave). None is known to be reachable by a message a current producer writes.
A guard that runs the built search-text worker. The worker (src/engine-host/fs/search-text.ts) is built by interpolating functions' sources (the backfill's parseBash among them). A function that reached outside its arguments would fail only inside the worker at call time. 704 checked this once with a script that was not committed. To do: a test beside bundle-guard.test.ts that loads the built worker chunk and runs it over a small invented transcript, asserting the text it returns.
The up-arrow recall classifies by joined text. The recall (src/renderer/src/composer/editor/history.ts) applies the envelope test to a row's joined text, so two text blocks that each fall short of an envelope but form one when joined would be drawn as a bubble yet skipped by the up-arrow. It records nothing and hides nothing. To do: classify the row by its content through answerEnvelopeOf (in src/shared/engine/persons-message.ts), with a case for that shape.
The search worker's origin gate differs from the backfill's for an unknown origin kind. The worker keeps the envelope in a row whose origin names a kind it does not know; the backfill lowers such an origin to null and splits the message, so the search text and the transcript can differ for that row. To do: the worker treats an unknown origin kind as the backfill does, with a row-level regression case run through both.
Acceptance: each item has its test; the guard test src/shared/engine/envelope-readers.test.ts still passes with no new allowance.
Activity
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group D
Envelope split's three consistency items (#715)
Envelope split's three consistency items (#715)
Review of batch 7 group D: pastedBodies agrees with pastedSegments on…
Review of batch 7 group D: pastedBodies agrees with pastedSegments on…
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804