Repository navigation
Description
Four test cases of the "Approve and retry" landing (UX wave U1c) assert an absence that their input cannot contradict, or cannot contradict for the reason the case names. None is a product fault: in each, another assertion or another case carries the claim. They were found by a read of every absence assertion in batch 3's new tests (153 lines; two that held whatever the readers did were fixed before landing, in transcript/model/journals.test.ts and composer/editor/history.test.ts). Places are as of commit 5278e5793.
-
src/renderer/src/blocked-call/ApproveAndRetry.test.tsx, "a blocked shell call withrun_in_background: true, an MCP tool's blocked call, and a call the classifier could not judge draw no button": the assertion runs inside a loop over the cells whose classification holds a denial. If the derivation gave no such cell, the loop would assert nothing. Remedy: assert first that the loop's cell count is above zero (three cells here). -
src/shared/engine/arrival.test.ts, the forged inputs run overroutes(): for a queued prompt whose content is text blocks,attachmentRowinsrc/shared/engine/arrival.tsreads the consent withreadConsentson the whole joined text, so the input "two text blocks" reads none on that route whatever rule R (the reading of the person's lines) does. The same holds for the file route ofblocked.test.tson the recordingu1c-b-1. Remedy: a forged input for that route that reaches rule R, or a comment saying which other case carries the claim for the route. -
src/renderer/src/transcript/model/journals.test.ts, "the one-writer rule: a!command holding the consent sentence": on the live route the engine host drops thebash_commandwrite and returns on the echo'sshouldQuery: falsebefore it reads arrivals (src/engine-host/normalizer.ts), so "the live route marks no consent" and "no approval drawn" cannot exercise rule R there. The case's last line (grantsReadFromon each frame's content) carries the claim. Remedy: as for item 2. -
src/shared/engine/arrival.test.ts, "the grant on a row of another plugin, submitted as the user or appended, and in a peer's inbox message, is no approval": the appended row of pluginlint-helperreads none, and an appended row of any plugin would, so the line cannot fail on the plugin's name. Remedy: a positive beside it that only the intended plugin's name yields, in the appended form.
Size: one small test-only change. No behaviour changes.
Activity
SSFSKIM commentedon Nov 17, 2026
A fifth item of the same kind, from the Send now landing (U4b), reported by the author of its pull request body and not yet checked: in src/renderer/src/composer/queue/take-back-lifecycle.test.tsx four assertions expect queryByText(TAKE_BACK_WORDS.taking) to be null; that string is the editor's disabled reason in Composer.tsx, and if it is never drawn as text the four assert nothing. Remedy: check where the reason is drawn and assert on that place, with one positive while the take-back is in flight.
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group D
Absence assertions in U1c's and U4b's tests that their input can cont…
take-back-lifecycle: the editor element's type names isEditable (#747)
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804