Skip to content

P5 O17: the agent's browser with no app (the local stage, M1–M8) - #450

Merged
SSFSKIM merged 96 commits into
masterfrom
p5-o17
Nov 3, 2026
Merged

SSFSKIM merged 96 commits into
masterfrom
p5-o17

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

P5 child O17, the local stage (M1 to M8): the agent's browser with no app. A session with no app attached drives a real browser in a render host that mawsd starts as its tab engine. Tabs run offscreen at 1280×800 under Chromium's sandbox. A viewer can watch and take over through the producer's screencast. The engine host's fence keeps a session that holds a headless tab out of every release, and D20's idle exception closes an idle session's tabs. The remote stage (M9, M10) is a later dispatch.

  • Spec: docs/doperpowers/plans/2026-11-01-p5-o17-browser.md. Its Progress, Surprises, Decision Log and Outcomes are current.
  • Execution report: docs/doperpowers/plans/2026-11-01-p5-o17-report.md.
  • Landing head: e2eaae46343eac6c99ba155217061fea04fa0b36, tree 9189d85ed. It merges master bf6766af7 (6ff83200a) and takes master's stdioServers name in O17's test (e2eaae463). The measured series ran on 97779bfe3; only docs follow it before the merge.
  • Merged as 1aab503c3, with P5 Decision Log 209 in the records commit above it.
  • WIRE_MINOR: 23. O7 M5c took 22 first, so the merge regenerated the manifest from master's 3.22.

P5 child O17 is a board ticket, not a GitHub issue, so this PR closes nothing.

Validation Evidence

  • The landing gate passes on the merge head. scripts/ci-gate.sh e2eaae463 --gates all --class1a pool --runner macos --lane hosted gave run 41575089804, green on its first attempt: 55 jobs green, 2 skipped by the plan, and no flaky line in the full log. Its e2e:cross-build paired this tree (3.23) with master bf6766af (3.22): 6 passed.

  • The full gate passes on the series' head. scripts/ci-gate.sh 97779bfe3 --gates all --class1a pool --runner macos gave run 41486479191, ci-gate: run 41486479191 success, with no flaky lines.

    • e2e:browser-cua: 19 passed, 0 skipped. Every case BEFORE_M7 guarded ran unguarded.
    • e2e:render-host: 3 passed. The 2 skipped cases are pass 3's Linux-only cases; they ran on the VM (below).
    • e2e:supervisor-daemon: 21 passed. The 1 skipped case is (c) G3, not O17's.
    • e2e:daemon-unit: 2 passed, plus 1 packaged-only case skipped.
  • The first holder-to-holder crossing: 3.21 to 3.22. In run 41486479191, e2e:cross-build paired this tree (3.22) with the default peer, 2342f11 at 3.21 (ci-gate: peer 2342f11d (the merge base with origin/master), wire 3.21). Both list host.holder, so this is the first proof of a handover between two builds that both hold; O16 left it unproven (P5 Decision Log 200). 6 passed, and 3 peer-keyed cells were skipped.

  • The pre-holder crossing: 3.20. scripts/ci-gate.sh 7553b0b71 --gates e2e:cross-build --peer 3a183be2f --runner macos gave run 41480504967, success, 6 passed. Among them:

    • (pre-O17 app, unit mawsd), cross-build.spec.ts:1292;
    • (update, daemon), with the kept-older-host browser check.

    The architect ruled that this evidence carries over: 7553b0b's compiled code is identical to the head's, which adds two type-only lines and one e2e line. Both deployed apps are pre-holder, so this is the real upgrade path. A guarded case skipped in both crossings would count as red; none was.

  • Linux pass 3, on devcloud VM dc-o17linux-ce0e at f172dc91b (compiled code identical to the head's). The VM was deleted afterwards (devcloud vm down: "departed and deleted"; devcloud vm ls no longer lists it).

    • MAWS_E2E_LINUX_HEADLESS=1 xvfb-run -a -s "-screen 0 1280x800x24 -nolisten tcp" pnpm exec playwright test e2e/render-host.spec.ts -g "pass 3" gave 3 passed (1.6m):
      [pass 3] the page's rAF: 60.3 Hz unsubscribed, 57.0 Hz under the 2 fps viewer
      [pass 3] frames to the viewer: 117 in about 60 s, 1.94 a second after the warm-up
      [pass 3] main's heap: 10s 25991 KiB, 20s 25938 KiB, 30s 26203 KiB, 40s 26278 KiB, 50s 26157 KiB, 60s 26526 KiB
      
    • The same case run alone without the switch gave 1 passed. session.capabilities.browser read cua's host cannot check its peers on Linux yet, so the agent's browser is unavailable on dc-o17linux-ce0e.
  • Reviews. All are recorded in the spec's Decision Log and the report.

    • Every milestone's task review is clean. M7 was Approved after five rounds.
    • The xhigh panel w213ffylw on a0a7f81a2..665d10453 found nine P2s, all fixed; the verification returned correct.
    • Reviewer-high on M7, the merge and the WIRE bump found two P2s. They were fixed, and its last verification (5f9c5f3cd) returned correct with no findings. That round is the last one, under the architect's stop rule.
  • The measured series (CI-opt, on the mini, on 97779bfe3; KiB of physical footprint against 99,145; each case needs two valid within, of three):

    • e2e:daemon-idle: 3 valid in 4 runs (41528077709 void on load; 41530744985, 41533239890, 41535828234), median 94,547.
    • e2e:daemon-idle-render (41507870956, 41514555109, 41521557135): plain 97,619 / 99,123 / 97,555, all valid and within. Browser warm-to-idle 97,427 / 97,875 / 98,306, all valid and within.
    • The four-kept case reads over (101,315 void, then 101,299 and 100,450). Its excess is the pre-O17 cost of three more live sessions, so under the architect's ruling it is judged on the browser median (97,875) plus three times O17's per-session share (the spec's 2026-11-02 Decision Log entry). The Linux A-B (4 × 4 legs, all valid) put the share below its resolution: summed Private −697 KiB per session, with a standard error of about 550. The criterion holds on every metric's median (95,783 / 97,409 / 98,395 ≤ 99,145), so the kept case passes.
    • e2e:local-latency-daemon ×1 (41540467071): p50 25.6 ms and p95 37.1 ms against 26.45 and 42.56, valid.
    • The confirmation set on the merge tree (CI-opt, 2026-11-03, each case valid on its first run): render 41580742976 read plain 98,739, browser 98,370 and four-kept 100,835 KiB; daemon-idle 41584903115 read 93,475. Every case is within its bound or, for four-kept, its criterion (the browser case's median over four readings, 98,090, gives 95,999, 97,625 and 98,611 on Private, Pss and Rss). Plain and kept fall inside the series' range, daemon-idle is below it, and browser is 64 KiB above it, well inside launch variance, so the series carries.
  • The clock probe (spikes/u3-remote-browser/macos/clock/run.sh, CI-opt, 2026-11-03 01:07Z): no variant qualifies, so the limit is recorded and nothing enters the product. The baseline clicks to paint in 19.5 ms (p95 24.3), with rAF at 12.2 Hz and the 100 ms timer at 10 Hz. setFrameRate 30 and 60 and BeginFrame pacing were all within 6% of it.

Unresolved Review Findings

  • Auto-attach leaks another consumer's attaches. With auto-attach on, a lease is still told about another consumer's explicit attach (src/main/browser/cua/event-scope.ts, about :141-147). Its detach is forwarded as well, so nothing is stranded. Isolating it needs provenance on the shared attachment beyond ids. Deferred at the panel-1 verification.
  • The UK-layout key mapping is unverified for the screencast's injected keys (panel-1 scalpel-4#2). The key-down's identity is held through repeats and the release, but no e2e runs a non-US layout.
  • Ledger minors. cua-socket.ts logs busyNoted once per refusal. Also: M8's timer-count comparison; the latency stub exits 70 on an unrecorded control; and pre-existing warning noise (SQLite ExperimentalWarning, the spine root's MaxListenersExceededWarning).

Residue

  • The descendant veto holds real cua sessions. This is O16's code on master. A stdio MCP server is exempt only when its argv matches mcp_status's config. After an adoption, a bare node command is left unmatched (src/engine-host/session.ts:763, launcher.ts:277), and the owner fixture's plugin servers carry no config. So a real session running cua would never be idle-released. Scene 9's idle close and D20's exception passed on the stub's connector until then. The fix landed as O16: the descendant veto registers the owner's MCP servers and the sminos bridge (post-landing fix, Decision Log D69) #448 (P5 Decision Log 205), before this merge.
  • Linux pass 3 is manual. render-host is not in LINUX_E2E, so this VM run is its only Linux coverage. Playwright adds --no-sandbox on Linux unless chromiumSandbox: true is set, which shows what an automated Linux lane would have caught.
  • Electron upstream. An offscreen window.open child never gets SetWebContents, so it is never sized (v44.4.5 and main 9c80dad42f). An issue draft, with a runnable repro, citations and a suggested fix, is in the execution ledger's task-8-report.md, under "Fix 8". Filing it outward is the owner's call.
  • Emulation.setVisibleSize is experimental and deprecated in CDP. It sizes the adopted popups. Every Electron or Chromium bump must re-check it; pass 3's exact-size assertion and the logged CDP error are the tripwire.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

…n Logs 1 to 190); O5 landing 2's fix wave read as landed; M8 split by what needs M7

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
With no app attached and a session's route cold (the route's readings a stub
until M5), its cua socket listens while the engine is live; a peer the O5 M5
check admits is handed to the cold broker, a deferred chunk loaded only then.
The broker greets with MAWS's hello, answers tabs.query, windows.query and
debugger.getTargets with [] while cold or starting, closes on hostRefused, and
treats any other request as demand: the trigger and every byte after it are
kept, a place is taken in PENDING_BUDGET (now counting promotions beside the
peer-root waits), and one start per session and epoch asks ensureBrowser. At
its answer, for the current epoch while the route is starting or headless, the
connection is spliced: the render host's hello checked and suppressed, the
trigger written once, piped both ways. Bounded throughout (§C); the bundle
guard keeps createCuaBroker off mawsd's run path.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ding pinned in M5's tests (the architect)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The cua primitive server's peer policy now follows the platform, as mawsd's
own sockets' does: darwin keeps the process tree through the addon and
refuses every peer without it; elsewhere (Linux) the uid is the boundary,
stated as such: an owner-only socket in a private directory, checked by
lstat at each accept, and the peer's uid where the platform reports it,
never a stand-in addon. On every platform the socket directory is refused,
and nothing listens, when it is a symlink or another user's.

Each cua lease is told only the CDP events its own commands asked for
(event-scope.ts, CuaEventScope): a domain enable admits its ordinary
events per CDP session; screencast frames, Fetch interception, target
attach events, the file chooser, lifecycle events, binding calls and
tracing follow their own commands; enables are scoped before they are sent
and rolled back on failure, disables take effect at once; a child's detach
and the lease's end discard their scopes. The connection's own bookkeeping
still reads every event. cua's screenshot sequence, recorded from cua's
host (plugin 0.20.5), is replayed through the server as a pinned fixture.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…rises)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The task review's Important finding: a checked peer held while the broker's
chunk loaded lived only in a promise callback, so no teardown could end it,
and the broker then admitted it under whatever epoch the route had reached.
Such a socket is now registered on its session, bound to the epoch and the
engine it was checked under, counted in the pending budget and ended by every
teardown (an engine root change, routeChanged to another epoch, an app's
attachment, quiet, remove, close). At the load it is admitted only if its
session instance, epoch and engine are still current, and the broker's admit
takes that epoch, closing a peer the route has already moved past. Once the
chunk is loaded, admission is synchronous.

The two Minors: the broker's no-timer case spies on setTimeout, setInterval
and setImmediate over the admission's span, waiting on socket events alone;
target(null) logs how many sockets keep listening on their cold route.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
src/mawsd/browser-work.ts keeps each session's holds per engine connection and tells the engine host the full held set
as host.browserWork: first on every fresh permanent link (a successor's included, before the interest), then at each
change, one snapshot in flight, changes coalesced. An acquire answers only once a snapshot naming its session was
acknowledged on the current link and no later sent snapshot omits it; it rejects with "the engine host on <machine> is
reconnecting" with no link, and with the old-host reason when the welcome lacks host.browserWork. A refused snapshot
fails the acquires waiting on it and is not retried on its own.

The services front takes browserEngine.work from a machine.sock client alone, bound to its connection: held: true from
the session's selected engine connection (a stand-in that selects none until M5's route), held: false from it or a
connection holding the session; a connection's end removes its holds. host.browserWork is refused from any forwarded
caller and on the app's relay, as host.attachment is; host.browserIdle reaches no client.

The wire gains the browserEngine namespace (uniform internal) with browserEngine.work, host.browserWork (internal,
main-only, 'immediate' in HOST_DEADLINE_SHAPES), the host.browserIdle event in HOST_EVENTS and
HOST_BROWSER_WORK_CAPABILITY in WIRE_CAPABILITIES; no peer lists it until M7. The wire manifest is regenerated at the
current minor 17; the landing takes the minor.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The task review's three findings, each reproduced at 3af6f88:
- each send now settles through what willSend returns, correlated with that
  send rather than its method, and a switch reads the most recently sent
  command that set it and has not failed, so an earlier enable answered
  after a later disable never undoes it (neither the RPC dispatcher nor
  TabDebugger.send orders completions);
- an explicit attach is held per target and ends at that target's child
  detach, keeping other live explicit attaches; detached() takes the
  target id;
- a trace's completion is terminal: newer than every command sent before
  it, so a start still unanswered never brings the trace back.

§J's answered(child, method, ok) is replaced by the settlement willSend
returns, and detached gains the child's target id.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…tach, terminal completion)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ont's acquire test holds its acknowledgement back

host.browserIdle is mawsd's own and crosses no machine link, so link-surface.ts places it among the client events (the
browserEngine namespace too, for M4's events); the gate's partition test found it on neither side. The front's
held: true test now holds each snapshot's acknowledgement until it releases it and shows the answer pending until then.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
The render host serves cua from offscreen tabs. When mawsd sends browserEngine.request {prepare} for a session, the
render host listens on <renderCuaSocketDir>/<session>.sock. Only mawsd's confirmed relay is admitted there: the peer of
the render host's own machine.sock link, confirmed by machine.identity on that link. The prepare is answered after the
socket listens, the relay is confirmed and the session's lineage is read. drop answers after the session's tabs,
connections and socket are gone and its browser work is reported zero. inventory answers the session's bounded tabs.
The session's inventory is pushed as browserEngine.state at each change.

The tab engine (src/render-host/tab-engine.ts) composes the app's TabStore, partitions, navigator, page guards,
window.open adoption, input seams, debugger leases and presence from src/main/browser/ through their deps. Its views
are offscreen in one sizing window that is never shown, 1280x800; adopted popups get the same placement
(offscreen-views.ts). Each session's tabs open in their own in-memory partition, and downloads are refused.

The cua primitive server gains three options. socketDir sets where the sockets live. orphans: 'session' lets a
connection of the tab's own session adopt a tab no live connection reserves, at its first lease or close; any other
connection is refused it. creations is a gate before tabs.create opens a tab: the headless caps (32 per session, 64 in
all, with popups past them denied) and the fence (browserEngine.work held: true at the session's first tab; held:
false is sent only after an acquire that succeeded, when the count returns to zero). Three methods change for the render
host: closeSession resolves once the session's connections have closed, listening resolves once the socket listens,
and relay resolves whether the pass holds. The app keeps its defaults.

On the wire: browserEngine.request (a machine event), browserEngine.answer and browserEngine.state (main-only
commands), the browser.engine capability in the render host's hello, and RenderClient.socketFd(). The wire manifest
is regenerated at minor 17. The landing takes the minor.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…oute change ends it, never served under the next

A socket accepted while its engine's root was unknown now records the route's epoch it was accepted in;
routeChanged ends the waits of an older epoch (timer cleared, socket destroyed unread), as it already ended
the broker's awaiting sockets, and decide ends unread a socket whose epoch moved unannounced. toBroker takes
the admission epoch instead of reading the current one.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n period

FrontBrowser.selected now answers {engine, period} (FrontSelection; M5 supplies the route's epoch). A
browserEngine.work {held: true} whose period the route retired while the engine host had not yet
acknowledged is refused forbidden_sender, so no tab is made; the hold it added is released unless another of
the connection's held: true reports for the session stands (counted per connection in grants), so a refused
grant never removes the hold of a new period's grant on the same connection.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ected

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…rival, a dropped session's partition cleared

- PageDialogs composed in the tab engine over cua's held route: an unleased page's alert and confirm are answered with
  the defaults (never Electron's parentless box, which would stall the engine), a leased page's held for cua; adopted
  popups' too.
- A popup admitted within the caps is checked again when Chromium hands its child over (the caps, its opener still
  the tab's, its session still served): a refused child is closed by window-open.ts, a refused modifier-clicked link
  opens nothing; either counts as a blocked popup.
- drop clears the session's partition (storage and cache) before it answers, its reason answered when it cannot; a
  prepare of the session meanwhile waits for the drop to end (§B: nothing of the session's browsing survives a
  handover).

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…, both clears settle, an uncleared partition cleaned by the next prepare or refusing it

- A drop of a session not served joins the drop in flight; a drop of a session prepared again since runs after it, so
  the barrier a prepare waits for only lengthens.
- The partition's storage and cache clears both settle (allSettled) before the drop answers; a failure marks the
  partition, and the session's next prepare clears it again before serving, or is refused with the reason (no socket
  made).
- The task re-review's three drop-order regressions ported into tab-engine.test.ts, with the clean-on-retry case.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Each prepare and drop of a session starts once the one before it has settled, its failure included, so a drop sent
while a prepare cleans the partition a drop left uncleared waits for that prepare and tears down the socket it made;
a second drop finds nothing served and answers at once. The ad hoc drop barrier (`dropping`, the joined drop, the
`ready` promise) is gone; a prepare still checks it serves the session after each await before making anything (the
engine clears what it serves at dispose), and a failed prepare closes its socket before its step settles. The task
re-review's prepare-cancel regression ported into tab-engine.test.ts.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ing; dispose cancels them all

A prepare's waits on the link (the lineage through the front, the socket's listen, the relay's confirmation) have no
deadline of their own, so a drop queued behind a stuck prepare never answered. The serial chain stays; each session's
queued and running prepares share an AbortController that a drop aborts before it queues (dispose aborts every one).
The link waits race the signal: on abort the prepare fails ("dropped this session while preparing it"), closes its
socket and settles, and the drop runs as before; a late answer goes nowhere. The partition clear a prepare runs for
what its drop left uncleared is local cleanup and is not cut short, so a drop's clear never overlaps it. The task
re-review's live-prepare regression ported, with a queued-prepare case and dispose pinned.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…drop, the serial chain and cancellation)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…me and the capability)

browser-route.ts (eager) keeps each session's route by §B's table, minting its epoch before any teardown; the cua
sockets relay a headless session straight to the render host's socket and end pairs of an old epoch; the render
seam's new render-browser.ts (in its deferred chunk) prepares and drops sessions on the host's connection, a
retiring drop ahead of the next prepare, a demand that ends after its prepare undone with drop, and browser work
holding the host past its quiet period; the front takes browserEngine.answer and .state from the selected
connection only; session.capabilities reads {available, viewed} or §I's reason (this build's with no engine host
connected); daemon.status.render counts browser sessions and tabs.

M4's open question: mawsd names a side thread's parent in prepare (an optional field), read from its own index
within the demand's deadline; the render host reads no lineage.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… regenerated at minor 18

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…nd the master merge recorded

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…on on decision 9)

The routes read the addon's load synchronously, before the socket that loads it decides whether to listen: with no app
a failed load makes the session's route `none` at once, so its socket never listens, even for a turn, and cua's connect
is refused by the system at once. daemon-browser pins it: an asker reads the screencast while the addon is untried,
then exactly one change to the addon's reason; a peer's connect fails at once (ENOENT/ECONNREFUSED, no hello), and no
.sock ever appears in the cua directory.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ew, acceptance 3)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
- A demand is its connection's from the moment it proceeds on it: that connection's end during the retiring drop's or
  the lineage's wait fails it at once and tells its route (`ended`: the epoch minted, the old waiters refused), never
  left waiting with no host to start (render-browser.ts).
- §B's exit includes the same pid running another engine (spec 6082f6e): the cua sockets' `incarnationChanged`, read
  before the peer check's root moves, feeds the route's `statusSeen`; the period ends, the drop's hold settles at its
  answer, and the new engine's first tab is prepared again.
- M5's Proves: an app arriving during an active lease with a browser command in flight on the splice, beside an
  artifact export: the splice ends unanswered, the drop follows with the hold kept to its answer, the export completes.
- Two demands for a session at once send one prepare: nothing suspends between the session's check and its reservation.
- `none`'s reason is kept as published: a reason that changes with the state unchanged tells the inventory's watchers,
  minting no epoch.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…as strings; isIdleRowIgnoringBrowser drops the browser entry without an unused binding

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… clocks, in a map that exists only while some row waits

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n it; a row reserved before a declaring link's first snapshot reads unknown; the link's end is one transition; an empty snapshot keeps the shared empty set; unarmed e2e holds make nothing and the adoptions run as before

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…nd, not its status; the connector's probe outlasts the root wait before a refusal; the idle close, the pre-O17 app's cell and (update, daemon) run on a short scratch root

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ase's own timer (the table's other timers made the count flaky: 2 in 10 runs)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…s §A's cell; onBrowserIdleDue named as built

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ork (it tells browser work); the engine host defaults to unknown, takes snapshots and asks host.browserIdle only on such a link, and a ready client that tells none (a rolled-back mawsd, main's own link) clears every entry: today's release

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…n's is cleared by any ready client that tells no browser work, main's link included, a lost link's only by a declaring one, a telling client's first snapshot settles both; mawsd's hello expectations list host.browserWork

The engine host cannot tell from its own launch whether mawsd or main spawned it, so the handover corner (main reaching a successor mawsd started before mawsd reconnects) stays a residual risk.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… a capable link this process had, is the lost link's unknown (not released past its idle time); under a declaring client that tells none it starts clear, as before

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…NE_HOST_SPAWNER=mawsd), which the engine host takes out of its environment at start; in a host mawsd spawned an adoption's unknown is the lost link's, so main's direct link reaching a successor first clears nothing (the handover corner, under the architect's R4 exception)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…nknown and R4's exception; cross-build twice at landing

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…o p5-o17

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…wserIdle, the browserEngine namespace, the status's work.holds, browser.engine, daemon.status's browser counts)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ucer's death; the idle notice kept until the link's ready

Finding 1: the last declaring client's process (its hello's pid, its start read then) is browser work's producer; once it
is dead, or its pid runs another start, every lost link's unknown clears. Checked at a non-declaring client's ready and in
the table's own evaluations (the idle release's due handling of a row held by its tab alone, the budget's), no timer of
its own; an unreadable start counts as alive. The runtime tells the pid at a declaring serve (onDeclaringHello), the
socket server passing the hello's appPid.

Finding 2: a notice refused while the applying link is served and not yet ready is kept for that link's ready and sent
there if the row still waits; the link's end drops it and the next first snapshot asks again.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…at start is the first producer

The residual: a mawsd that dies before its first hello to the host it spawned left that host's adopted lost rows with no
producer. spawnerProcess reads the parent (pid and start, '' unreadable) once at start, only when MAWS_ENGINE_HOST_SPAWNER
named mawsd and ppid is not 1; a later declaring hello replaces it. A host main spawned records nothing.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ost hold; the idle notice kept until ready; the ppid read)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… host sends no kept idle notice

A host mawsd spawned with ppid already 1 at its start records a producer that reads dead (pid 0), so the existing check
settles its lost rows; a host main spawned still records nothing. The kept notice's check (browserWaiting) answers no
once the idle release is closed (a handover's freeze, the exit order), so a ready after a freeze emits nothing (D20).

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… kept notice from a frozen host)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…nux (Playwright adds --no-sandbox there unless told)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…pe predicate narrowed the row to never on its false branch)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…the probe pending)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…e four-kept case's criterion (the architect's ruling) in the Decision Log, its share PENDING the Linux A-B

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… case passes under the architect's criterion) and the clock probe (no variant qualifies; the limit recorded) in the Decision Log, Outcomes and the report

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…3.23 regenerated from master's 3.22 manifest (master's 3.22 is O7 M5c's), O17's capabilities beside machine.delivery; the engine host's spawn keeps O17's spawner env beside #452's requestBudgetsMs; the endpoint services carry O17's browser beside O7 M5c's clientPort; the latency stub's header keeps both notes

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…rs (O16 D69 renamed readMcpCommands on master)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@SSFSKIM
SSFSKIM merged commit 1aab503 into master Nov 3, 2026
SSFSKIM added a commit that referenced this pull request Nov 3, 2026
…09; the confirmation set carries the series; eight tracker rows; the wave 2 ledger gains O17's landing names

Sminos-Session: GUI AI agent workspace charter#37052769 (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