Skip to content

Main survives a closed stdout or stderr, and the W1 on-disk steer case takes delivery_id - #2

Merged
SSFSKIM merged 3 commits into
masterfrom
fix/97-residue
Oct 9, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
fix/97-residue

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Two small fixes from the cua board.

cua board #97: when the terminal or pipe that launched MAWS goes away (a Ctrl-C'd pnpm dev whose Electron lives on, a closed terminal), the next console line in main failed with write EIO. Node's console swallows only an error raised during its own write; the stream emits this one afterwards with no listener, so it became an uncaught exception and Electron's main-process error dialog. src/main/stdio-guard.ts adds guardStdio, a standing error listener on main's stdout and stderr, installed in src/main/index.ts before main's first log line, so a write that cannot reach its reader is dropped. Its unit test drives a stream whose writes fail with EIO and EPIPE and shows nothing reaches the process as an uncaught error. The child processes need no guard: the detached supervisor writes to its own log file, not a pipe from main, and the utility-process hosts write into pipes main reads and forwards through its own (now guarded) console; Electron ends them with main.

cua board #94: the live case "W1 delivered next steer on disk" asserted the on-disk queued_command attachment exactly as the fixtures' engine, 2.1.283, writes it. That binary is no longer installed, so the live suite falls back to the newest installed engine (test/support/engine-pin), and every engine from 2.1.287 on always writes a delivery_id (read in the 2.1.287 bundle and the 2.1.295 binary). The case now expects delivery_id as a string on an engine newer than the fixture pin and absent on the pin itself. The engine pin is not moved. Run live on 2.1.295: 1 passed, 31 skipped.

pnpm typecheck, pnpm lint and pnpm test pass, apart from the known flaky case in src/main/sessions/pause-take-over.pty.test.ts, which passes on rerun.

…r (guardStdio, installed before main's first log line), so a launcher's closed pipe or terminal turns a console call's EIO or EPIPE into a dropped line instead of an uncaught exception and Electron's main-process error dialog
…e queued_command attachment's delivery_id, which every engine from 2.1.287 writes and the fixtures' 2.1.283 does not; the case expects the form of the engine it runs
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

…rom 2.1.286, the release that introduced it (2.1.284 and 2.1.285 omit it), rather than from any engine newer than the fixture pin
@SSFSKIM
SSFSKIM merged commit 19b7ba4 into master Oct 9, 2026
SSFSKIM added a commit that referenced this pull request Oct 9, 2026
…on after its rebase) recorded as A-56; spec status, §9 and §13 E13 landed, §14 one line, §15 completed with the E13 paragraph and a retrospective delta; ledger §5 E13 row and §7 line; charter §13 X9's tool list rewritten to the seven tools, §19 landing line, §20 P1 closed paragraph; the cua_repl session's residue PRs #2 to #4 (bb6f953) noted; tracker: the cua #97 crash row removed as fixed, a row for the load-sensitive c7 dialogs case at the landing gate
SSFSKIM added a commit that referenced this pull request Oct 19, 2026
…nd records its op in the entity row's savepoint, so a failed content write leaves no empty artifact
SSFSKIM added a commit that referenced this pull request Oct 25, 2026
…uns-code warning follow the chosen route's own revision (the clone's host read before the directory record); a seed's ownership, rank, shelf and publisher only for the seed's own repository; array-valued mcpServers counted, a named configuration file unknown; the external-publisher exclusion judged on the normalised place

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 25, 2026
…mulative byte budget (64 MiB, each page's request capped at what is left, the guarded GET taking a lower per-request cap) and one deadline (180 s) under one cancellation signal across every page; the store's stop ends walks in flight

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…#2, #3)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…bie settle (scalpel-3#1, #2)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…, flock(1) with a named refusal, uninstall under the lock, loss checked synchronously (PR #428 panel scalpel-2 #1, #2; sweep #3)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…ller's own open file description, locked by flock 3 (PR #428 panel scalpel-2 #1, #2, final round)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…er's own open file description, locked by flock 3 (PR #428 panel scalpel-2 #1, #2, final round)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 19, 2026
…lose; the selection is always a drawn row and is scrolled into view when the palette chose it

The branch panel's sweep#4: every surface.* row joins the rows that run from the palette's close (modalHandoff), so a
toggle reads where the keyboard is after the dialog has given it back. scalpel-4#1 and #2: the palette lists the rows it
draws, in their order; the effective selection is the person's row while it is drawn, else the first row, so a moved
row that goes falls back in the same render (cmdk 1.1.1's removal callbacks share one key and can drop its own
fallback), and Enter and Cmd+Enter never act on a row that is gone. A row the palette selected by itself is scrolled into
view, its group's heading with it when it is the first, as cmdk does for its own moves.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 20, 2026
…nversation and holds a follow's bounds until its work settles

- scalpel-2 #1: only records that carry the conversation's and the agent's ids count, so a file
  put in the found file's place between the walk and the open names nothing.
- scalpel-2 #3 (the daemon's half): namesInAgent takes the conversation that drew the link and
  answers not named unless it is the transcript the session is bound to; a follow naming none
  links nothing.
- scalpel-3 #1: a Markdown source's admission asks the search with a located callback; the
  follow's place and the proof's turn are kept until the locator's call settles.
- scalpel-3 #2: the search waits with the follow's own end, aborted at its patience.
- scalpel-3 #3: the proof's open and whole-file read stop at the first file system call after
  the follow has ended.
- scalpel-3 #4: admittedFolder answers only once both git discoveries (and every work tree's
  resolution) have settled.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 21, 2026
… on either build before its capture

The build is read once, the first time Settings opens, and every m1 capture requires Settings open. On master's build a
reveal's check requires the words that reveal holds here, drawn at rest and in view (scalpel-5#1); the search scenes
require their results, the no-match line and the landing's focus (#2); the memory budget's switch and its Limit row are
checked after the switch and after the restore, and the Limit scene turns the budget on first (#3); the imported Chrome
profile is checked whole as main recorded it before any Browser scene, imported by what main holds, and its menu names
Sync bookmarks now (#4); the Voice scenes wait for and check the probe's words (#5); the read-only and quiet Org scenes
check what tells them apart (#6). The refused code is let go before its capture; Usage has a launch of its own, its
requests moved before it starts; an overlay twin reads the latched build before any step, so on master it is not
reached at once.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant