Repository navigation
linux-engine 0.4.5: a Chrome drop under load is answered as it landed (#512), and engine lines stay one line (#572) - #585
Merged
Merged
Conversation
…m 3 answered by probe The engine can see Chrome's leave cursor (XFixes, as the harness does; the probe on a private Xvfb shows accept then leave on a drag out of the zone), but it cannot apply item 3's rule: the zone is the page's, a genuine drop ends with no leave too, and Chrome keeps Xdnd in-process (0 ClientMessages in its trace). Items 1 and 2 stand. The note gives the design, the red-first tests, the measurement times and deadlines before the arm VM's lease ends, and forks F1-F7. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
… Log; the pre-flight's LS/PS as escape text The note carried a raw U+2028 and U+2029 where it meant the escape text; it now prints them as escapes. The Decision Log records the soak's end (0.4.5 runs clean on both arches), 0.4.5's scope and venue, and M6b's forks. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…isit answers unconfirmed Item 1 (ruling 1142 (1)): a Chrome drop whose path's last step went out after floor_until (the take plus the floor's steps), by any margin, takes the after-path tail though its gate stays shut. drag_along keeps when the last step went out; release_sync::overran judges it, and Schedule::of takes it beside the gate. The gate keeps its meaning (F3). Item 2 (1142 (2), fail-closed): release_sync::unconfirms answers a drop whose tail dropped a visit unconfirmed with option (c)'s notice (Confirming::Outlasted), whatever the gate and option (c) say. The release_sync record gains overran, last_step_after_take_ms and unconfirmed (visit_dropped, outlasted or null). Tests: the three #512 rows constructed in release_sync, and drag_along through the live seam with a path the floor spaced past floor_until (red with overran stubbed false). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
wire::jsonl serializes a line and writes U+2028 and U+2029 as their escapes, the same JSON value; Node 24+'s readline ends a line at either, so a raw one cut an answer in two (#565, ruling 1192). Every JSONL writer goes through it: the answers (Response::to_line), each request's --stats line, the idle release's and the exit's lines, and the exit's focus_out lines. Tests, red first: wire's round trip, a request's stats line, and live.rs's yad window titled with U+2028 read by a second engine whose answers go to a Node 24+ readline reader (red: 3 lines, none parsed; green: 1 line, the name intact). F6 (ruling 1194; CI-opt's form): the engine-linux gate takes Node 24 from the runner's tool cache, else the managed Node's pinned tarball checked against its SHA-256, fails under 24, and runs the live tests with CUA171_NODE_TESTS=required. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
releaseSyncOf takes a drag's release_sync from its --stats line's top, else a handle end's from its handle record, null where the engine wrote none, and each row carries it, so a counted row shows whether its tail ran, its schedule, whether its path overran floor_until and why it was answered unconfirmed (ruling 1142 (4)). Test red first in drop-signals.test.mjs. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Cargo.toml and its lockfile name 0.4.5. The README says what 0.4.5 changes: the escaped U+2028 and U+2029 on every line (#572), the overrun's after-path tail and the dropped visit's unconfirmed answer with their release_sync fields (#512), why nothing reads Chrome's leave (task 158's probe), and that 0.4.3's long-drag bound carries to 0.4.5. native/ holds no <N>, <X>, <…> or @…@. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
The candidate and the reach are built on the merged head, so what is measured is what merges. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
… own decision; the seam test's timing Review item 1: the decision at the gate and the confirmation after it are two pure functions extracted from Engine::drag, behaviour-preserving (unconfirmed_at_gate, drop_confirming). A new test drives a constructed dropped visit, gate shut and option (c) off, through them: activation-only becomes Confirming::Outlasted, WatchEnd::Outlasted and option (c)'s notice. Reverting either production step (0.4.4's gate decision, or after_outlasted(false)) fails it. Item 4: the live seam test holds the overrun and the after-path schedule with no upper wall-clock bound; the gate shut stays with release_sync's constructed rows. The stamp's comment says what F2 is as ruled: the instant the server acknowledged the last motion. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…che miss Review item 2: under the gate's bash -eo pipefail, `ls -d <cache>/node/24.*` failing on a miss ended the run before the pinned download. The lookup is a nullglob array now, the cache from RUNNER_TOOL_CACHE (the runner's /opt/hostedtoolcache), the miss handled explicitly; then the pinned tarball with its SHA-256 checked, then the major asserted, as CI-opt set it. Both branches run locally under bash -eo pipefail: a fake cache with a 24.x, and one without. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Review item 3: both rows a trial emits name release_sync. The refused-aim row and the main row's after-release records are built by refusedAimRow and releaseRecords (the same fields, in the same order), and the test checks both. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…part Review item 5: the README and release_sync's module and Schedule docs said the 326 ms only schedules and the tail costs nothing on paths within the floor. Since 0.4.5 floor_until decides where the tail runs: a path whose last step comes after it takes the after-path tail, whatever the 350 ms gate says. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
… false oks in 300 Development, #512's acceptance, on the publish=false candidate (run 45321559071, arm64 c04ffe7e...30fa, cua-engine 0.4.5 (e85ebd3)) through task 147's harness from e85ebd3, 12 rounds of 25, private display: - every row carries release_sync with overran, last_step_after_take_ms and unconfirmed (300 of 300); - 0 false ok, 0 stale, 300 honest (all the unconfirmed-drop notice), 0 activations; - 177 overran, all after_path: 142 with the gate open and 35 moved by item 1 (0.1 to 24.0 ms past floor_until); 123 in_floor; visits_dropped 0 on all 300, so unconfirmed null on all 300. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…00's result, and the README's tail cost The Decision Log records F2's reading: the review read "went out" as the send, but the acknowledgement was chosen because it can only add overruns. It also records task 160's x300: 0 false oks in 300 at arm64 twice the load, with 35 rows moved to the after-path tail. The README now tells the tail's 24 ms from the latency it adds (the review's Minor). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
scripts/linux-engine-pin.mjs linux-engine-v0.4.5 verified both assets against release run 45335176072's attestation (built from 77ed101 on refs/heads/engine-045, GitHub-hosted) and wrote the pin; the runtime record's engine.version follows it, as M6a's pin script does. x64 ef714179ac244114431275580f600d9dc340b3d62142a59d7563149a76cc119a arm64 f81121552e77f50ec2d8dcf3135006a9245c411f2b67bc9cfbe408850e6e637c Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
0.4.4's in-floor Chrome drag could finish its path after floor_until and still release on the floor's schedule, and Chrome's activation then confirmed a drop the page did not take (#512). 0.4.5 sends such a drag through the after-path tail and answers a tail that dropped a visit unconfirmed, so the service now refuses 0.4.4 before anything is sent. The shared refusal helper gains the 0.4.4 case beside 0.4.0 to 0.4.3, and its current engine is 0.4.5's real build id. Every pin of the old minimum follows: the client, bootstrap and document tests, doctor's engine row test, the selection test's releases below the minimum, the fake engine's default version, the launch and selection-oracle fixtures' installed engine, and the README's lines (the pinned version, the runtime's release name, the part's minimum, the refusal sentence). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…ence) Task 160's t14-floor left x300 at arm64 twice the load on 0.4.5's candidate: 0 false oks in 300. The branch adds 128 files, all under docs/evidence/2026-10-28-own-linux-engine/engine-045/x300-arm64/, and touches nothing else. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Main brings one change past this branch's base f6a6002: #578 splits the `test` gate into test-1 and test-2 (scripts/test-shard.mjs, Node's --test-shard on package.json's test pattern; test-2 also runs the Linux engine harness's suite through its cleanup check), with its test and a few test-timeout and path touches in the harness's tests. .github/ci-kit.yml merged without a conflict, and both hold: the two test shards, and engine-045's engine-linux gate with Node 24 from the tool cache, else the managed Node's pinned tarball, and CUA171_NODE_TESTS=required. ci-kit's own parser (plan/config.mjs) reads the merged file: eleven gates, parity-browser-stress dispatch-only. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…e 0.4.5 Every step passed once, on private displays, under the lock as h10-x64: - H1, H2, L4a (t17-fix3): pass. 560 of 560 settled Electron rows rested 30 ms in each. - L4d: every part passes. 0 false oks and 0 stale drops on every Chrome cell; the Electron part exercised 30 of 30. - All 460 L4d Chrome rows carry release_sync with overran, last_step_after_take_ms and unconfirmed. Overran floor_until: long-left 100 of 100 (gate open), plain-long 124 of 300, left 6 of 30, inzone-out 1 of 30, each on the after-path tail. One plain-long row dropped a visit and was answered unconfirmed (visit_dropped) on a drop that landed: #512 item 2's first live firing, the judge's T14 share 1 of 300. The scans found 0 tokens, 0 key codes, no window titles and no raw U+2028 or U+2029 in any text or decompressed file. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…L4d all pass On the pinned linux-engine-v0.4.5 (arm64 f8112155...637c, cua-engine 0.4.5 (77ed101)) at H10 2c66966, private displays, holder h10-arm64, each step once as gate.mjs print gave it: - H1, H2, L4a (t17-fix3): pass, 560 of 560 settled drags rested 30 ms in each; - L4d: pass at 993's bar, 0 false oks and 0 stale on every Chrome cell; 460 of 460 Chrome rows carry release_sync with overran, last_step_after_take_ms and unconfirmed; 33 rows moved by #512 item 1 (28 plain-long, 5 left); 0 visits dropped, unconfirmed null throughout. Electron 30 of 30 exercised. Scans: 0 token-shaped strings, 0 key codes, 0 raw U+2028/U+2029. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
…th residue in the tracker Both arches pass H1, H2, L4a, and L4d at 993's bar at H10 (2c66966). The entry records release_sync on all 920 Chrome rows, item 2's measured residual for #575 (x64 plain-long #268, 1 in 300 landed long drops; arm64 0), #580 and #581 (ruling 1201), and the homes (1200, #579). The tracker gains #580's four items, #581, the fallback home's previous pin, and l4d-h8.mjs's derived schedule. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
The coordinator set the release version (ruling 1208; main is 0.29.20, and #582 moves to 0.29.22). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
SSFSKIM
enabled auto-merge (squash)
November 24, 2026 08:44
This was referenced Nov 24, 2026
SSFSKIM
added a commit
that referenced
this pull request
Nov 24, 2026
SSFSKIM
added a commit
that referenced
this pull request
Nov 27, 2026
* #171 M6b: the owner's soak condition is met; M6b starts (Decision Log) 0.4.5 (#585) ran clean: its counted reach passed on both arches and no Linux home regressed. The entry also carries what M6b must do beyond "Retirement (M6b)": rulings 1193 (a)-(c), 1212, and #570. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b: the pre-flight, a draft for the design session The plan a later build follows, from reading the code at 84216c0fe: every place that reads, names, installs, checks or tests the vendor's Linux package, each deleted, moved or kept; the refusals and the doctor rows as they will read (1193 (c), 1212); the removal in install (1193 (b)); the provenance move and its unreachability test (1193 (a)); acceptance 13 on x64 and hosted arm64, with what reruns and what is cited; the tasks; and eleven forks to rule. No code was run. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b: report the vendor tree, don't remove it (1216 supersedes 1193 (b)); source-aware refusals (1215) The pre-flight's adversarial review found three P1s in the planned removal; the design session chose to report the tree instead. The entry also records the refusal sentences' form and the other forks' rulings. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b: the opt-in removal is #586 (Decision Log) Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b pre-flight, revision 1: the vendor tree is reported, not removed (1216); source-aware refusals (1215) Folds the adversarial review of dac55083b and the design session's rulings. - 1216 (b'): install and doctor name a recorded vendor release with its path and size, and delete nothing. The removal protocol, its tests and forks F3 and F4 are gone; an opt-in removal is #586. - 1215, 1216: every engine refusal gives its source's prerequisite, then one install command; 0.30.0 lands on the branch before the freeze; install under a vendor selection runs every step and exits engine_retired. - F5: the provenance records keep a validated lockfile member, proved end to end through the new reader. F7: the gate takes the comparator from a hash-checked fixture, and two steps run on it alone. - The review's other findings: the Node record's read gets launch's boundary, with the linked fixtures replayed through doctor and install; the cloud template's bootstrap (update.sh) and the old scripts' tests; items 2 to 8 cited cell by cell and bridged to H, with FB and the host lanes rerun; R1's own verdict; checkEnginePair's two kinds; the real gate names and engine-linux by name; the size's method and measured figure. - Section 7.2 lists nine choices for the design session to confirm. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b pre-flight, revision 2: the re-review's six fixes and ruling 1217 - A linked staging/ is refused before any acquiring lane writes; full installs with the link present and parts missing, with a negative control (3.4). - The report's sentence keeps the path and size, says only that this version no longer uses the tree for sessions, and hands the person the check for older consumers and added files (3.3). - The second selector's read of engine.json is bounded: a regular file outside the tree, optional on any failure; install's sentence promises no readiness (2.1, 2.2). - The bootstrap resolves one commit, checks that the VM's source can give it before replacing the script or conf, pins the conf to it and checks the checkout afterwards; a bundle recovery (3.6). - Each fixture is compared once with its authenticated deb before its manifest is pinned; the arm64 binary matches the counted digest in scene-ended.mjs (4.4). - E3 allows exactly the override's version probe; the fixture cell binds the events step to two vendor binaries and FB to the fixture's JavaScript and the pinned cua engine (5.2). - 1217: the second fixture copy on the owner's MacBook, the fixtures never in the repository, N1 to N9 as ruled, and the rule for a failure in #558's or #565's first counted runs. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b: ruling 1217 on the pre-flight's open choices (Decision Log) Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1: nothing offers the vendor's engine on Linux, and 0.30.0 has its name The pre-flight's T1 (docs/doperpowers/specs/2026-10-28-own-linux-engine-m6b-preflight.md §2, §3.5's flags, last line and exit status; rulings 1212, 1215, 1216, 1217, 1218): - CUA_NATIVE_ENGINE=vendor, "engine": "vendor" in engine.json, or both are refused on Linux as engine_retired, first, whatever the home holds. The sentence names each source in precedence order, its prerequisite, then the one command; the second look at engine.json is bounded (outside the vendor's tree, a regular file by lstat, at most 64 KiB, O_NOFOLLOW|O_NONBLOCK, fstat), and any failure names the variable alone. - Every engine refusal on Linux ends with `node <checkout>/bin/cua.mjs install --engine` after its source's prerequisite, and carries ENGINE_HINT, which holds no command: no cua engine build, no cargo, no vendor engine. - launch: the vendor branch goes; a Linux computer launch requires cua's `bin`. - install: no vendor lane, no other engine in the last line; --archive and --release are usage errors on Linux; under a vendor selection every step runs, then exit 1 engine_retired, ending "; the install otherwise completed". - doctor: runtime.vendor goes; engine and repl.host fail with the selection's sentence and hint. - the js rules on Linux are cua's engine's alone; the selection oracle refuses vendor in every Linux row. - `cua runtime use <vendor release>` is unknown_release, its hint naming no engine. - 0.30.0: VENDOR_ENGINE_RETIRED_IN, and both plugin manifests. - The Linux test fixtures hold cua's own parts: the installed home, and the native runtime with an engine double behind cua's real service. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1: say why retiredEngine reads a vendor selection as the variable's or engine.json's Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1 fix 1, 4: a relative override takes the form; the second look opens the path the guard resolved - A relative CUA_LINUX_ENGINE_BIN is refused in §2.1's form: the source, the unset, then the one command, with the engine hint; the refusal sweep covers it. - engineFileSetting resolves engine.json's directory through outsideVendorTree and lstat-s and opens the file there, never the spelling again, so a directory link swapped after the check cannot redirect the read; a link at engine.json itself is still no second source. A test records that the open names the resolved path. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1 fix 2: doctor's retired-engine row offers one remedy; an override's capability failure takes §2.1's form - The vendor-selected engine row says what the home holds as facts (linuxHeldFacts), so the selection's sentence is its one remedy: no second installer, no cua engine build, whatever the home holds or the pin. - A capability failure of a CUA_LINUX_ENGINE_BIN engine reads 'unset CUA_LINUX_ENGINE_BIN, then run <installer> --engine'; the service's own sentence (N5) is unchanged. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1 fix 3: install's last line names a vendor selection beside a common blocker When a common lane fails under a vendor selection, the failed lane's error is still the install's, and the last line keeps the shared blocker and names the retired selection besides (§2.2). Tested under each vendor source with a fresh home's module tree down. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1 fix-wave 2, 1: a capability failure's doctor row carries one remedy On a capability read that fails as a session's start would, what the home holds is said as facts alone (linuxHeldFacts), and the row composes one remedy after the applicable prerequisite. Where the client's own sentence already names the installer (N5, unchanged), the row adds only the override's prerequisite, or the environment rows' note. A test counts the commands on the complete row across installed, local, missing, no pin and an unreadable pin, for an override and for the installed engine, with the client's sentence naming the installer and not. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T1 fix-wave 2, 2: install's retirement note comes from the engine setting When a common lane fails under a vendor selection, the last line's note on the retired engine is built from the known engine setting (retiredEngine), not a second selector call, so CUA_REPL_HOST=vendor's guard, which refuses a session first, no longer takes its place. The session's blocker and the failed lane's error are unchanged; the common-lane test covers each vendor source with and without CUA_REPL_HOST=vendor. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2: install and doctor report the vendor's tree, and keep their own reads and writes out of it The report (pre-flight §3.1-3.3, ruling 1216). src/runtime/retired-tree.mjs names a vendor's Linux release only where the install record an older cua's install wrote there says it placed that release's archive (the two archives are the module's own constants, tied to the provenance records by test). It gives the path, the size by an lstat walk that follows nothing, and one sentence that claims only what the record shows and hands the person the two checks before deleting it by hand. A linked runtimes/ or release is neither followed nor named, and runtimes/ is never listed (N3). `cua install` prints the sentence after the engine's line and reports `retired`; doctor's `runtime.retired` row carries it as an informational `skip`, present only for a recorded release (N2), and the report lists it. The boundary (§3.4). Install's and doctor's own reads of the managed Node go through the guard launch's lookup uses (managed-node.mjs managedNodeIntoVendorTree, one helper for the three callers): a link into the tree is refused by install and named by doctor's runtime.node, nothing there read. The helper's installed file is read only once shown to lie outside the tree. Every acquiring lane (the module tree, the helper, Node, the engine, a local build's placing) refuses a staging/ that is a link before its first access (vendor-tree.mjs stagingOutsideVendorTree), and Node creates staging/ only when it acquires. The replay of the linked fixtures through the whole of doctor found one more read: the sandbox row resolved the home's own directories by their real paths, through a link into the tree; it now names such a link, as a launch's preflight does. The deb's code leaves install.mjs (its tools, its unpacking, the activate option), and Linux's leftovers scan looks inside no release (N4): no vendor pin is read on Linux by install or doctor. test/runtime-linux-install.test.mjs goes with its subject. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 1: the comparator fixture, hash-checked outside any cua home, each compared with its deb The differential harness and the gate still compare cua's engine with the vendor's builds, given by path, but no cua home holds the vendor's Linux release for them after M6b (the pre-flight's §4.4, F7). A development-only fixture takes its place: - scripts/linux-engine-diff/vendor-fixture.mjs checks a fixture directory (the release tree's tar, its tree list) against the repository's manifest, extracts the tar beside it on first use, and checks every extracted file against the list before every use. A mismatch refuses; nothing fetches. - scripts/linux-engine-gate/vendor-fixture-pin.mjs, the one-time tool: matches the deb to its pin through modules-pin.mjs's own matcher (now exported, with its ar reader), compares the deb's cua_node payload with the fixture's by names, types, link targets and bytes (cua's install.json alone set aside), checks the list against the tar, and only then writes that architecture's manifest entry. - scripts/linux-engine-gate/vendor-fixture.json: hashes only. Both fixtures equal their pinned debs' payloads: docs/evidence/2026-10-28-own-linux-engine/m6b/ fixture-identity.txt. No fixture byte is in the repository (ruling 1217, N7). - The harness's source checks know `tar` as a tool that reaches no display. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2: two tests hold what they claim: install reads no vendor pin; macOS's doctor never asks for the report The Linux install test now counts calls of the pins seam (at the base it read them, and passed through vendorPinsOf), and the macOS doctor test hands a report that fails if it is called. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 2: R1 by its own verdict, R2 out of the gate, the vendor builds from the fixture alone The pre-flight's §1.3 (finding 11) and §4.4: - R1 is repl-parity's native suite on the cua lane alone. Its verdict is its own (scripts/linux-engine-gate/parity-verdict.mjs): the run's exit status, the native suite's 34 cases complete and covered, both text cases positive, and the engine the home's cua-engine (or the named candidate) under the trusted worker behind cua's service. The cleanup runs whatever the verdict says, and a failed cleanup fails the part too. The vendor lane and the diff are gone from suites.sh. - R2 (compare --engines of a vendor lane and a cua lane) leaves the gate, and the baseline part leaves suites.sh with it; gate.mjs stops reading its lists. - gate.mjs takes the pinned vendor build and the vendor's client from the comparator fixture alone: --vendor-fixture, else this architecture's directory. defaultsFor takes no cua home, --vendor and --vendor-js are gone, and a step that runs either is refused unless the fixture checks; the step's record names what was checked. launch-plan.mjs's dry plan names the paths unchecked. - Tests: R1's verdict red for a failed lane with a clean cleanup (the negative control), 33 cases, a text case not positive, another engine under the worker, an engine no home installed, a clean lane with a failed cleanup; green only with all right. The stored M6a cua lane is the fixture (parity-run-fixture.mjs). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 3: the facade harnesses' Linux vendor lanes go, and their judges of stored runs stay The pre-flight's §1.3 rows for repl-parity, native-baseline and the shared install sites (F6): - On Linux `--engine vendor` is refused by repl-parity (its selection, its native command, serve-native.mjs) and by native-baseline, each sentence naming cua 0.30.0 and where that lane's last runs are stored, which `repl-parity.mjs diff` and `native-baseline.mjs compare --engines` still judge. macOS's lanes are untouched. - checkEnginePair takes two kinds of pair: a stored pair with a vendor lane keeps today's checks, vendor releases included; a cua and cua pair needs one device, commit, controller commit, runtime and case set and each lane's engine evidence, takes no declarations and asks no vendor release. - engine-answered.mjs loses the vendor lane's expectation (and vendorLinuxRuntime); engineKind and serviceKind stay, so a sky_linux under the worker still fails a cua lane. - A Linux run records no vendor release (provenance.mjs, repl-parity.mjs), and the parity cache holds no vendor archive and passes no --archive on Linux. - The four shared install sites (remote-device.mjs, selection-device.mjs, native-baseline/prepare.mjs, capability-home.mjs) select the vendor engine on macOS only; on Linux the install names no engine, an ambient one included. - native-baseline's helper listing lists cua-engine by the run home's engine, and a sky_linux seen as foreign; probe/lib.mjs's socket step names cua-engine. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 4: the fallback judges hold ruling 1212's one remedy, and acceptance 12's vendor cells leave its driver - The fallback part's judges (linux-selection.mjs refusedSelectionProblem and refusedOpenProblem) now also require doctor's engine row and the serve's refusal to give `: run \`<installer> --engine\`` as their one remedy, and fail one that offers the vendor engine, `cua engine build`, cargo, or a second command. - Acceptance 12's driver loses its vendor cells (E4, E5, U4), the rollback fixture (linux-text.mjs --read-only), vendorEngineProblems and every vendorLinuxRuntime lookup: the vendor tree's boundary and the older cua's module base are read by plain lstat of the recorded release (recordedTree). T6 makes the driver acceptance 13's. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 5: #570, linux-probes.mjs and its test go, and their evidence stays (F8) scripts/sandbox-probe/linux-probes.mjs, #115 M0c's probes, had no caller and read the vendor runtime's codexCli and skyLinuxBin. It goes with its test. Its evidence stays where it is; tech-debt-tracker.md's #570 line is removed at close-out (T9). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 6: the harness's README says where the pinned vendor build comes from The comparator fixture's paragraph, and R2's unjudged list gone with R2. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 7: a step's recorded command names the fixture and newest build a flag gave it The first fixture runs showed the step's README command without --vendor-fixture and --newest, so it would not rerun the same step. A named one is now spelled out; the defaults are not. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2 fix wave 1: every home path doctor resolves, the sweep's records, Node's order, the walk's bound, real dates 1. Doctor's sandbox row walks every path of the home it resolves by its real path through the guard first, before the deny list or the protected paths are normalized, in scoped and default alike: the five a launch's preflight refuses, state/, state/codex, remote/, chrome/ and run/ with the session directory. 2. The run/ sweep reads a session record only from a regular file, opened no-follow and non-blocking, to a bound: a linked *.pid is no record, and what it leads to is never opened. 3. On Linux a fresh Node lane refuses a linked staging/ before it creates node/ or staging/. The helper, the engine, the module tree and the local build already checked it before their first creation. 4. The retired tree's walk reads each directory's entries one at a time (opendir), so its bound stops the enumeration. 5. A record's installedAt must round-trip through toISOString, as the old writer produced it: 2026-02-30 is no date. The replay adds the six home paths, and a full install with every part missing leaves nothing of its own in the home. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3, 8: the development runs on x64: R1's cua lane, the fallback part, E1 and FB on the fixture alone R1 passes by its own verdict (34 of 34, both text cases positive, each case's home engine under the worker), the fallback part 5 of 5 under 1212's judges, and E1 and FB pass on the comparator fixture with no home's runtimes/ in reach; their file traces name no path under any runtimes/. docs/evidence/2026-10-28-own-linux-engine/m6b/t3/. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2 fix wave 1: the bound's test counts reads in a release of one directory On hosted macOS the release fixture's directories were listed in another order, and the end of each directory read before many/ pushed the count past 30. The release now holds its record and many/ alone, so the count is 22 on any filesystem. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2 fix wave 1: the project lookup's test asks the host's git, not macOS's xcrun shim On the hosted macOS runner /usr/bin/git is an xcrun shim. Its lookup took 3 s on a green run and 5.2 s and 6.3 s on the next two, past the project lookup's 5 s bound, so the lookup fell back to the working directory. The test now puts the directory of the git that answered for the repository ahead of /usr/bin, after the vendor tree's bin, which is what it tests. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T2 fix wave 2: scoped-only checks stay scoped; the sweep reads a record whole 1. Doctor's sandbox row guards the deny list's paths (state/, remote/, chrome/, run/ with the session directory) before the deny list is normalized, in scoped and default alike, and the scoped check's paths (the five a launch's preflight refuses, and state/codex) just before that check, which default mode never makes. A default-mode doctor no longer says cua serve refuses a linked staging/ that a default-mode launch does not. 2. The sweep reads a session record to its end or past its 64-byte bound, however short each read, and takes only a whole record, the pid and its newline, as one. A prefix of a pid never reaches the liveness check, so a live session's record is never swept on it. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 1, 1: the fixture checked in the :0 launch path, no linked cache root, one tar snapshot, R1 bound to each case's home The task review's findings 1 to 4, each a way a judge or the fixture boundary could give a false green: 1. A :0 step's command reached the harness through the sitting launcher and run71.sh, which read no fixture; `print` checked only when it printed, and `--list` not at all. The command now starts with fixture-check.mjs under the host lock, before the sitting launcher: it checks the fixture as `gate.mjs run` does, requires the harness's --vendor and --vendor-js to be the checked fixture's own paths, and only then runs the rest. Tested without a display. 2. The verifier read the cached `extracted` root and the release root through a link: a release root linked into a home's runtimes/ passed. Both are now required to be real directories by lstat; a link at either level, or a dangling one, refuses. 3. The pin tool hashed the fixture's tar, then reopened its path to compare it. It now hashes and extracts one private snapshot, as it does the deb. 4. R1 accepted any `…/engine/linux/cua-engine`, so one case could name another case's engine. Each native case's observation now records its connection (repl-parity's pool), and the verdict requires its engine to be the installed engine of the home that connection's recorded provenance attests answered it, one connection a case. A named candidate keeps its own rule. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 1, 2: a cua and cua pair is two runs of cua's own Linux runtime Finding 5: checkEnginePair's cua/cua branch accepted both runtimeRelease fields missing, and the same vendor release in both. A cua and cua pair now needs each run's runtimeRelease to be cua's own Linux runtime by its derived name (OWN_LINUX_RELEASE, manifest.mjs linuxRelease's form), borne out by every connection's recorded provenance, at least one. The branch for a pair with a vendor lane is unchanged. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 1, 3: the fallback judges read the refusal sentence whole; linux-text.mjs refuses an argument Finding 6: counting `run \`` missed a second command phrased "or use `…`", and scanning for `cargo` refused an installer path that holds it. The judges now parse the sentence out of doctor's engine row and out of the serve's stderr and require it whole: the default engine's refusal for the home's reason, only the lookup path and versions variable, ending `: run `<installer> --engine``, then the hint and nothing else. Negative controls (the wording before M6b, "or use", a command before or after the remedy, text after the hint) and positive ones (each reason, an installer path holding `cargo`). Minor: linux-text.mjs refuses any argument, --read-only by name, before it starts gedit (exit 2), so an old rollback invocation never runs the typing witness. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 1, 4: the harness README says the gate no longer takes the release from a home Minor: "no cua home holds" the vendor's release contradicted ruling 1216; homes from older installs keep their trees, and the gate never reads them for it. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 1, 5: R1 and the fallback part again at the fix wave's head, and the fixture steps' process-path witness R1 passes with each native case bound to its own connection's attested home; the fallback part passes 5 of 5 under the judges that read the refusal whole. Beside the trace counts, each fixture step's successful engine execs and service.js opens by path (process-paths.txt), for T8's audit of the bindings. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T3 fix wave 2: the launch path's check refuses a repeated comparator flag fixture-check.mjs read the first --vendor and --vendor-js, while the harness takes the last (cli.mjs VALUE_FLAGS; services.mjs's node:util parseArgs, which also reads --flag=value): a second --vendor appended to a valid command passed the check and chose the build. Either flag given more than once, in either form, or in the --flag=value form the gate never writes, is now refused before anything starts. Negative controls append a second flag (both forms, both flags, and a repeat of the checked path itself) to an otherwise valid command. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4: the deb records move to runtime/provenance/, read by modules-pin's own reader; the Linux pin parser ends The two Linux deb pins move with git mv to runtime/provenance/ and are trimmed in the same commit to what names an archive and the one member read from it (pre-flight §4.1, F5): the release, platform and arch, the archive's URL, length and SHA-256, the record of the signature check (notes, byte for byte), and a new `lockfile`, the lockfile's path inside the deb's payload. appVersion, components, runtime and layout go. The directory stays out of the npm package. scripts/modules-pin.mjs reads them through a strict parser of its own (§4.2): exactly the record's keys, a lockfile member of plain components ending in /.pnpm/lock.yaml, handed to tar as ./<lockfile>. It returns the release, the length, the SHA-256 and the member, never the URL. pinModules takes the records' directory, and its `pins` parameter is gone. The comparator fixture's pin tool matches its deb through the same reader. parsePin keeps the darwin schema alone and refuses a Linux pin as invalid_pin, naming runtime/linux-runtime.json. LINUX_LAYOUT_KEYS, vendorLinuxRuntime, vendorPinsOf, RESTORE_PINS and installHint's Linux half go (their last readers left with T2 and T3), with the branches of checks.mjs and doctor.mjs for a pin with no IPC or no signing, and the fixtures' Linux pin and deb helpers. forgeActiveRuntime plants the older install's recorded release on Linux. test/runtime-linux-provenance-unreachable.test.mjs holds §4.3's three layers: static, no pin and no parser, and install, doctor and launch recorded under each engine setting, with the reader itself as the negative control. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4 (#589): a confined Linux launch keeps its deny list's home directories out of the vendor's tree buildLaunch built the deny list with realDenyList(denyListFor(...)), which resolves state/, remote/, chrome/ and run/ by their real paths, so a link from any of them into the vendor's tree was followed at every confined launch. Each is now walked by the guard (outsideVendorTree) before the list is resolved, in scoped and default alike, as doctor's sandbox row walks them since T2's fix waves: one that leads into the tree refuses the launch (sandbox_conflict), naming the link to move aside, and nothing there is resolved. run/'s walk is the session temp's, which covers run/ and the session directory. A disabled launch builds no list and is unchanged. Doctor's row for those four now says what the launch does: cua serve refuses to start like this. The replay in test/runtime-linux-no-vendor-read.test.mjs links each of the four into the tree, for a computer session and a browser-only one, scoped and default, and holds the launch and doctor to touching nothing there. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4: the end-to-end provenance proof, both real debs through the new reader give today's provenance.json m6b/provenance.txt: node scripts/modules-pin.mjs on the two pinned debs, whose lengths and SHA-256 equal the records', read through runtime/provenance/ alone, with no Linux pin in runtime/releases/. The file it writes has the checked-in SHA-256 before and after, and git diff --exit-code on it exits 0. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6: acceptance 13's driver, its cells and judges, the fetch log, and the traced install and doctor - scripts/accept/linux-runtime.mjs runs acceptance 13's cells (the M6b pre-flight §5.2): E0 to E3 in an empty home, U0 to U3 in a home the cua before M6b (854103aa5) installs for real (F11), U4 and U5 over copies of its vendor release. - scripts/accept/fetch-log.mjs (new): a preload that logs every fetch's URL, where it answered (no query kept) and its bytes. The older cua's install under it is the control: its log must hold the deb. - The trace reader runs under strace --seccomp-bpf (task 168 found plain -f perturbs the desktop), keeps every exec with its argument vector, every call under runtimes/ by kind, and the whole trace's completeness; each traced run keeps a process-path witness for T8's audit. - E3's judges: each vendor source's refusal and doctor's rows against literals written from §2.1 and §2.2; no exec of an engine, worker, helper or host, and under a 0.4.4 override exactly its --version. - The driver reads no Linux pin: the vendor release by name, its deb's URL from the older checkout's own pin. - linux-runtime.yml dispatches acceptance 13; the older cua's install keeps binutils and xz-utils, file is added. - Each judge's negative control by test: a missing record never passes. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6: pilot round 1's fixes: a descriptor's stat, the release names from retired-tree, the env wrapper's paths - The pilots (x64 here, both hosted legs) failed U1 and U2 on one call: Node's fstat of the opened install.json, statx(fd, "", AT_EMPTY_PATH), read as a following stat. The reader calls it fstat, and the judge allows it inside a release name: it looks no path up. Every other cell passed on all three legs. - The vendor release names come from retired-tree.mjs's RETIRED_RELEASES (the coordinator's note: T4 ends Linux pin parsing). A test runs the driver's start for real up to its preconditions, so a throwing lookup there is caught. - Doctor's traced runs exec bubblewrap alone (sandbox.userns on `true`), so the judge allows that role and no helper. - linux-runtime-env.sh resolves its own directory physically: reached through a symbolic link, node ran no main block of linux-runtime-env.mjs, which printed no environment, and the command ran in the caller's homes. The driver's CUA_HOME precondition caught it. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6: a Node exec whose arguments the trace did not print whole never passes the exec judge It could be the REPL host; execRoleProblems names it rather than reading it as no role. A negative control by test. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6: the driver names the Linux runtime on any host, so a host that is not Linux stops at its preconditions The driver-start test failed on the hosted macOS test-1 gate: loadLinuxRuntime() refuses a darwin host before the preconditions that refuse it in words. It now loads the record for a Linux host of this arch. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6: the pilots of acceptance 13's driver, on x64 here and hosted arm64 with its x64 control Development runs, not counted. Round 2, at a tip merging T4 into 34290bec5: every cell passes on all three legs. Round 1 found one harness fault (Node's fstat of the record read as a following stat), fixed in 34290bec5. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4 fix wave 1 (#589): run/ is guarded before a session is claimed, and the deny list is resolved by the guard's own walk Two gaps in 69fb968d1, each reproduced in scoped and default mode by the task review: - The open and a profile listing claimed the session (its record in run/) before the launch's construction refused a run/ linked into the vendor's tree, so the record was written there, and their cleanup, which follows no link, left it. Both now refuse first (assertRunOutsideVendorTree, before claimRunSession), and every launch's construction checks again, in every mode, since a later launch repeats no open: layout_invalid, naming the link to move aside. - The guard walked the deny list's state/, remote/, chrome/ and run/ as the kernel does and stopped at a missing component, and realish then resolved a dangling link lexically, collapsing that component and a `..` after it into the tree. The Linux deny list is now resolved by one guarded resolution (vendor-tree.mjs realOutsideVendorTree): the guard's walk, a missing tail appended as spelled, and a missing component followed by `..` refused as unresolvable. Doctor's sandbox row resolves the same paths through the same functions, so it refuses exactly what a launch refuses, in its words. The replay records the open and a listing, and plants each of the four both ways (a direct link, and a link through a missing directory and `..`), for every launch and doctor. The whole-install fixtures move to test/fixtures/linux-install-archives.mjs for the unreachability test to share. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4 fix wave 1 (Minors): a record's URL must be a string; the unreachability test's install places every part - modules-pin.mjs: new URL() coerces its argument, so a one-element list holding an https URL passed the strict reader. The URL must be a string before it is parsed. - The unreachability test's install was served nothing, so it showed only the acquisition-failure path. It now serves valid fixture assets and, under no setting, `cua`, the variable `vendor` and engine.json's `vendor`, holds every part placed, the install ok or else engine_retired ending in 'the install otherwise completed', only the served assets asked for, and nothing of the records read or fetched. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T4 fix wave 2 (#589): the home's guarded roots are resolved before the deny list's discovery reads anything Fix wave 1 resolved the Linux deny list after denyListFor had built it, and building it discovers the secret store's tiers on the filesystem (policy.mjs: lstat and readdir of the store's projects/). A store beneath a state/ linked into the vendor's tree was read there before the refusal. linuxHomeRoots now resolves state/, remote/, chrome/, run/, the session's directory and temp, and the secret store and project tier where they lie in the home, by the guard's own walk, before denyListFor runs, in the launch and in doctor's sandbox row; linuxDenyList reuses those resolutions. Paths outside the home keep realish, as before. The replay adds a store beneath a linked state/ with a projects/ to list: the launch (the store named) and doctor (the store under $HOME) refuse it in scoped and default, touching nothing in the tree; with state/ a real directory, the same discovery lists the store's projects/. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6 fix wave 1: every judge and witness that failed open now fails closed - Critical: the driver writes and removes engine.json only in a user home its preconditions verified is inside the run (settingsHomeProblems); before that, and in any other home, it never touches the file. The startup test runs with a HOME of its own, and a sentinel test shows a refused start leaves an existing engine.json's bytes and mtime as they were (at e3ce20be9 it deleted it). - Important 1: the trace reader accounts for every nonblank line (an unread line or a resumption of no call leaves the trace incomplete, as does a trace with no process), and names its root command. The tool, call and exec judges need the expected `cua <command>` as root, the exec and call records present, and a successful record open; the fixtures' judge fails an unread line too. - Important 2: an exec's executable is resolved as the kernel resolves it (execveat's descriptor, a relative path) and an unnamed one fails; a REPL host script counts by a relative path too; doctor's bubblewrap is allowed only as its sandbox.userns probe, `bwrap --ro-bind / / true`, once. - Important 3: the preload writes a ready record once fetch is wrapped; the reader refuses a log without it and any record that does not follow from what was asked, so an empty or orphan-only log never means "nothing fetched". - Important 4: U2 runs install plain and then --json from the same state, each judged against the snapshots taken before either; U3 snapshots the managed parts too; an unreadable part is no snapshot. - Important 5: U4 and U5 need doctor's exit 0 and the release and the copy named nowhere in either command's output. - Minor: item 9 reads `file -bL`'s exit status and its linkage field. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6 fix wave 1: the changed cells again on x64, all passing at 7dad594a9 Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5: the cloud provisioner binds its script, conf and checkout to one commit, without the deb - deploy/cloud-vm/update.sh (new), the trusted bootstrap from the operator's checkout: it resolves the ref once to a commit ID, checks its own cua-provision.sh is the one at that commit, checks the VM's source can give exactly that commit before touching the VM's script or conf (--bundle replaces a stale uploaded bundle, renamed only once its heads name the commit), installs the script by its SHA-256, sets CUA_REF to the ID, runs it and checks HEAD. - cua-provision.sh without the deb (F9): no fetch, no wait, no --archive install, no binutils or xz-utils; a conf that still sets CUA_DEB gets one log line. A commit ID as CUA_REF is checked out exactly. N6: it exits 1 before npm ci and cua install on a checkout older than 0.30.0, or when it is not byte for byte the checkout's own provisioner. - render.sh and create-hetzner.sh refuse --deb with one sentence and read no Linux pin. - The checkout's two sentences for an old provisioner: selectPin on Linux and install --archive on Linux name deploy/cloud-vm/update.sh. - Tests: the two deployed generations frozen (test/fixtures/cloud-vm/, held to their blobs) and run whole on a fake VM against the new checkout's real manifest.mjs; the new script with old confs, an older checkout, another provisioner and a commit ID; update.sh's order, hash check, refusal, moving ref, missing commit, stale bundle and its recovery, and a checkout that ends elsewhere. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6 fix wave 2: the settings guard on the path itself, cut-short calls, resolved scripts, U2's second trace - Critical: runSettings guards the engine.json path, not HOME alone. The home must be a real directory inside the run; .config and .config/cua absent or real directories by lstat, never links; the file absent by lstat, a dangling link included. The write re-checks, makes the file with O_EXCL and O_NOFOLLOW, and records its device, inode, change time and contents; the clean-up re-checks the ancestors and removes only that file. The driver enforces the wrapper's fresh CUA_HOME inside the run too. Negative controls in temporary homes: a linked .config, a linked .config/cua and a dangling engine.json link are refused with nothing outside the run written or removed; a replaced or rewritten file, or the created file reached through a .config/cua relinked after the write, is left in place. - Important 1: a call with no return column is an unread line; a file record is ok only for a return of zero or more. An install.json open cut short after its flags, with the exit line kept, no longer certifies the record's read. - Important 2: a Node script operand is resolved against the exec's working directory, chdir and fchdir followed; a relative script with no known directory fails the exec judge. - Important 3: U2's --json install is traced and judged by the same call judge as the plain one. - Minor: the fetch log keeps whether a fetch ended apart from its payload, and an answer needs a URL, an HTTP status, its bytes and whether its body ended. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5: the fake VM refuses a provisioner with a VM path its remap missed Run as the test's user, a path the remap missed could reach the host's own /opt/cua: a VM made by this template runs its tests as the user who owns that checkout. The fixture's origin also gets a main HEAD, as a real origin has one. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T6 fix wave 2: the changed cells again on x64, all passing at 9d6156ef9 Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5: update.sh quotes for the VM's shell under bash 3.2 too macOS's /bin/bash (3.2) reads quotes written inside a double-quoted pattern replacement differently from bash 4.3 on, so q() broke the remote source check on an operator's Mac (test-1 on hosted macOS, run 45462484787). The quotes are now variables. The order test runs update.sh under BASH_COMPAT=42, which reproduces the old rule here: red with the old q(), green with this one. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5 fix wave 1: verified bytes shipped, bundles fetched before use, tags peeled, a fail-closed fake VM - update.sh stages C's cua-provision.sh once from the commit itself, checks the working copy equals it, and hashes and copies only that staged file; every file it stages on the VM (the script, the conf, a candidate bundle) carries a name of the run's own, so two runs never write the same one. - A bundle, live or candidate, must name C as a head and give it: the desktop user fetches from it into a scratch repository before anything is promoted, so a pack cut short or one needing prerequisites is refused. - cua-provision.sh peels FETCH_HEAD to its commit, so an annotated tag's first boot is no longer refused. - The fake VM is fail-closed: every absolute path in a script or a remote command is moved under the root, kept by name, or refuses the text before any of it runs; scp copies inside the root or nowhere; runuser clears the environment as env -i does. Pure tests pin the remap and the stubs' refusals. - The whole-script runs use the real CLI's `cua install` (the VM checkout's bin/cua.mjs) on the user's home, with T4's fixture pins in the checkout's runtime/ and their bytes served by a fetch preload; Chrome, system and relay commands stay stubbed. - The version guard's arms are each exercised alone (a pre-M6a checkout, an M6a one with both a deb pin and the record, and one with neither). render.sh says the check comes before npm ci and cua install. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5 fix wave 1: the fake VM's node reports glibc, as an Ubuntu VM's does On hosted macOS, node's report has no glibc version, so the real `cua install` in the fake VM read its host as linux-x64-musl and refused the module tree (test-1, run 45474076735, 11 tests). linux-host.mjs now reports a glibc runtime beside the Linux platform and x64 arch. Deleting that line here reproduces the runner's 11 failures and its "this host is linux-x64-musl". Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5 fix wave 2: the fake VM's guard holds paths to the root by spelling and on disk - remap.mjs leaves `//` only as jq's operator or a URL's authority (a scheme right before it), so `//opt/cua` is refused, and refuses any path with a `..` segment, which, prefixed with the root, could climb back out of it. - contained() walks the destination's existing components below the root with lstat and refuses a link, since cp follows one; the scp stub copies nothing through it. - Tests: pure string cases for both remap forms; a scratch-only case with links inside the root to a scratch directory outside it, as a directory on the way and as the file, refused with nothing written there. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T5 fix wave 3: the fake VM's scp copies to an exact file only; jq's // only in its quoted filter - contained() refuses a destination that is a directory (an existing one, or one spelled with a trailing slash): cp would add the source's name, a component no guard saw, and could write through a link there. update.sh always names the exact file. - A bare `//` is left only inside a single-quoted span (the scripts' jq filters); `ls //` is refused. - remap.mjs's header states its scope: this fixture's own scripts and their known shell syntax, not arbitrary shell. - Tests: a scratch-only regression where the source's basename under a destination directory is a link to an outside marker (refused, marker untouched), and `ls //` beside jq's `// empty` and `//=`. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T7: the docs say Linux's vendor engine is retired, and the cloud VM upgrades with update.sh README: on Linux cua install downloads no OpenAI package; CUA_NATIVE_ENGINE=vendor or an engine.json naming vendor is refused as engine_retired with one remedy, install --engine; an older cua's vendor tree is reported with its path and size (runtime.retired, informational) and never deleted; the vendor engine's deb, tools, rows and typing caveats are gone from the Linux sections; cua engine build stays in the engine section for people building from source. deploy/cloud-vm/README.md: no --deb, CUA_DEB or deb tools; update.sh and the old provisioners' fate. The cua-remote skill, CLAUDE.md, package.json and the plugin's descriptions say macOS's vendor runtime and Linux's own apart. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T7 fix wave 1: the docs say what the code does where they overstated it The vendor selection is "in effect" (a valid variable wins over engine.json); browser-only sessions are not promised; the provisioner guard compares bytes, and the old provisioners' outcomes are stated once, in the cloud-vm README; the engine's refusal prerequisite for a link into the vendor tree, install's failed-step precedence, the size that may be unavailable, "M6a up to 0.30.0", the sessions' not loading or running the retired runtime, the M6a R1 citation and the prune-leftovers condition. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T7 fix wave 2: the vendor refusal is conditional on reaching engine selection; engine_unrecorded and the old script's pin request are stated as they are Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase A: the spec says what M6b built, and the tracker carries what it left The Decision Log records ruling 1218 (revision 2 accepted, its stop rules), C12's narrowing of 1216's sentence, and the calls tasks 166 to 172 and the controller made. Surprises & Discoveries gains M6b's observations. "Retirement (M6b)", the M6b plan entry, acceptance 13 (N2: no vendor row that checks a runtime; runtime.retired is an informational skip), the selection, facade-suite, Concrete Steps and Interfaces sentences M6b made false are rewritten as built at H = 3722f2826. The tracker drops #570 (linux-probes.mjs is gone) and adds the first engine.json read, doctor's remote/device.json read and CUA_DEB_WAIT's name. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase A: R1's case set is repl-parity's own selection, held at 34 by test Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase A fix wave 1: the spec states each contract as H has it Selection and Interfaces give Linux's own default, launch variables and refusals, with the pre-M3 path in the past. Retirement's refusal is a vendor setting in effect that reaches the engine selector, the open's and the install's sentences apart; the boundary claim is limited to the managed paths, naming the two tracked reads. Concrete Steps keep the historical commands as they ran and add what runs at H. The build-log rules, the facade suites' case count, the Touches' CLI files and the tree size's attribution are stated as they are. The tracker gains accept-lib's tree-snapshot flake. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase A fix wave 2: H's M6b steps are the gate's, and the selection's refusal boundaries are stated The From M6b block points to the gate's E1, FB and R1 steps on a pinned run home (--pilot for a development run), in a fresh output root whose parity parent exists before the cua runs. Selection states that an invalid variable is refused without reading engine.json and that a set override is never replaced by the installed engine; the M6b summary qualifies install's ending. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase A fix wave 3: the M6b steps run under the host lock, as the gate prints them The From M6b block runs each of E1, FB and R1 by the lock-wrapped command gate.mjs --list prints (gate.mjs run takes no lock), holds the same lock across the install and the cua/cua sitting, says only E1's and FB's records carry vendor_fixture, and names the steps as the pre-flight does rather than asserting T8's runs. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T8 (task 173): acceptance 13 counted at H 3722f2826, every cell passing on three legs At H = 3722f2826 (plugin 0.30.0), the older cua at main 854103aa5: - E0 to E3 and U0 to U5 pass by the driver's own judge on x64 here, on hosted arm64 and on the hosted x64 control (run 46052854181). Every traced run used strace --seccomp-bpf, and each leg's traces.txt keeps its process-path witness beside its counts. - x64 regression, counted: R1's cua lane 34/34 with both text cases positive and a clean cleanup; R3 by default and with CUA_NATIVE_ENGINE=cua; R4; the fallback part 5/5. - The differential harness on the verified fixture alone, through gate.mjs --pinned: E1 and FB pass plain and traced, and 0 trace lines name a runtimes/ path. - ci-gate by its own selection is GREEN (46052942014), with test-1, test-2 and sandbox-live among the gates. ci-gate --gates engine-linux is GREEN (46056294731). - The credit check passes (credit.txt): each of the 33 files is assigned to a bridge row. The provenance proof was run again at H with the same bytes. - First answer, H minus the older cua: x64 -14 ms, arm64 +26 ms, hosted x64 +2 ms. The pilot's +55 on arm64 did not hold. Evidence only, under docs/evidence/2026-10-28-own-linux-engine/m6b/. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T8 (task 173) fix wave 1: the logs committed, the citation check against the commit, E3's row, chain.sh The review's three fixes, evidence only (H does not move): - The repository ignores *.log, so c9eb8cf79 left out the regression, chain and ci-gate logs the README links. They are committed as *.log.txt, scanned first (no token, auth line or secret value; nothing redacted). The first pass's setup-failure logs are added under x64/setup-fail-1/. - cites.mjs reads the README from a commit and checks each target in that commit's tree, never the working tree. Against c9eb8cf79 it reports the four missing links (cites-c9eb8cf79.txt, the negative control). - E3's row says what the driver did: open and doctor refused under all four selectors; one install, under CUA_NATIVE_ENGINE=vendor, refused after placing every part. - chain.sh builds xprobe in its default sequence, runs no regression or fixture phase without it, and exits nonzero when a phase fails or is skipped. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T8 (task 173) fix wave 1: the citation check of 78e463316, 65 targets, 0 missing from that commit's tree Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase B: M6b is ticked and its Outcomes list items 1 to 13 with their witnesses; arm64's FB is in the evidence Progress ticks M6b. Outcomes gives what shipped, acceptance 13's counted result on x64, hosted arm64 and the hosted x64 control at H, what §5.3 cites, what is left, and one table of items 1 to 13, each with the head that counted it and a witness path that exists. Task 165's arm64 FB evidence is copied by path, byte for byte, from m6b-fb-arm64 (f18235d8e) into m6b/fb-arm64/, and T8's README gives its verdict. The standalone cua/cua sitting returns cleanup's status when both lanes pass, as suites.sh does. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b T9 phase B fix wave 1: Outcomes claims what the witnesses show U3's tree equality is across its reinstall, R1's per-case binding is for its 20 native cases, items 6, 10 and 12 link H's reruns, the refusal is phase A's narrower rule, and the arm64 first answer is stated per run and baseline. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b final fix: the provisioner refuses a checkout whose tracked files are not its commit's The desktop user owns /opt/cua, so an edit to a tracked file survives `git checkout --detach` and, when HEAD is already the commit, no checkout runs at all; update.sh then reported success after code other than the commit ran (finding 6 of the whole-branch review). Before the checkout moves, and so before npm ci and cua install, the provisioner now runs `git status --porcelain --untracked-files=no` as the user and refuses on any output, listing the paths and how to see them and set them aside; it discards nothing. An untracked file does not count. update.sh's success rests on this: the run's exit 0 and HEAD at C. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b final fix: the boundary claims only the guarded paths; five review findings tracked; two Outcomes Minors The whole-branch review's findings 1 to 5 (a store's projects/ child, a default-mode kernel/, install's readiness, doctor's scoped check of a dangling link, the size walk's race) are tracker lines, each pre-existing behaviour the new guards don't cover or a rare race. "Retirement (M6b)"'s Reported names the paths the guards cover and points to the tracker; Outcomes' Left open does too. Outcomes: install, if it otherwise completed, ends engine_retired naming what to undo; U2's baseline is taken after the driver's fixture entries and before either install. Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68) * #171 M6b: two tracker lines corrected by the whole-branch re-review A relocated runtimes/ lets a confined profile listing proceed past the secret-tier gap (finding 1). Launch's scoped preflight shares doctor's dangling-link gap (finding 4). Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cua's own Linux engine 0.4.5 is released, pinned and passes its reach on both arches. With it, a Chrome drop under load is no longer answered ok when the page didn't take it (#512), and every line the engine writes stays one line for a Node 24+
readlinereader (#572).MIN_ENGINE_VERSIONis now 0.4.5.Closes #512
Closes #572
Closes #579
Refs #171. M6b remains, so this does not close it.
Release: https://github.com/SSFSKIM/cua/releases/tag/linux-engine-v0.4.5 (tag 77ed101, run 45335176072).
What changes
drop_confirming, now takes the cause.wire::jsonl()escapes U+2028 and U+2029 in every JSONL line the engine writes. That covers answers, stats lines, and exit, focus-out and release lines. The JSON value is unchanged.release_syncgainsoverran,last_step_after_take_msandunconfirmed. scripts/linux-engine-diff/drop-signals.mjs copiesrelease_syncinto every row, including the refused-aim row as null.CUA171_NODE_TESTS=required, in the form CI-opt asked for. That gate keptsetup: false, and main's split of the test gate intotest-1andtest-2(ci: npm test runs as two shards, one hosted job each #578) is kept.MIN_ENGINE_VERSIONis 0.4.5 (src/services/engine/linux/client.mjs), and its refusal names linux engine: a Chrome in-floor drop whose tail visit is dropped releases on schedule after a recent motion, and its activation confirms a drop the page didn't take #512. Tests and README lines follow.Nothing here is macOS-visible: every change is in the Linux engine, its Linux service or Linux harnesses.
Validation Evidence
left×300 at arm64 twice the load (task 160; evidenceengine-045/x300-arm64/)gate.mjsH1, H2, L4a, L4d onhome-x64-045at H10 2c66966 (task 162;engine-045/reach/x64/)home-arm64-045on dc-linux171arm-996d (task 163;engine-045/reach/arm64/)release_sync.unconfirmedacross the reach and the ×300unconfirmed: visit_dropped. arm64: 0 in 300. ×300: 0 in 300. No false-ok-shaped row anywherelive.rs: an LS window title through the engine into Node 24'sreadlinegh release downloadwithsha256sum -c;gh attestation verifyon both assetscua-engine 0.4.5 (77ed101d43ea)node scripts/linux-engine-pin.mjs linux-engine-v0.4.5;git diff --quiet 77ed101d4 H10 -- native/; install and doctor in a temporary HOME;gate.mjs check --pinned(task 161)ci-gate, all gatesFindings in the arm64 reach (counted by the judges, neither one a fail; ruling 1208; evidence
engine-045/reach/arm64/out/):cua:handle, cellslow, loadgate-windows, drag #0 (cold, block 13).cua, cellleft, loadload2, drag Spike: original-route coverage of user tabs, downloads, dialogs, frames and tab groups #15 (warm, block 14).Every Linux home after this release: who runs
cua install --engine, and whenThis release raises
MIN_ENGINE_VERSIONto 0.4.5. Since M6a (#568), a home whose engine is below the minimum is refused rather than falling back to the vendor engine. So a home on 0.4.4 has its computer sessions refused untilcua install --engineruns there. The refusal andcua doctorboth print the exact command (node <that cua>/bin/cua.mjs install --engine). That trade is deliberate: #512 failed open, so refusing is the safe side.Engine installs stay manual (the owner's decision on #579, ruling 1211). cua never updates the engine by itself: neither the plugin, the agent nor the provisioner. What #579 asks for instead is the notice, and 0.4.5 already gives it.
MIN_ENGINE_VERSION, the session's refusal (engine_outdated, src/runtime/launch.mjs) and doctor'srepl.hostandenginerows say so in plain text.node <cua>/bin/cua.mjs install --engine.engine_retiredrefusal.For example, dc-linux171-1e68 before its install read: "the engine installed in this cua home (…/cua-engine) is 0.3.0, older than 0.4.4, which this cua needs: install this cua's engine with
node …/cua/0.29.20/bin/cua.mjs install --engine".cua_replrefuses until someone runs the install with the plugin's own cua: the owner, or a session asked to.install(ruling 1200), and needs the install once more after this release.cua agent install, without the install. That device then refuses every computer session, unattended, untilcua install --engineruns on it as its user. Whoever updates a device's checkout runs the install in the same sitting./opt/cuasits at the conf'sCUA_REFand nothing updates it by itself.CUA_REFand re-runningcua-provision.shmoves the checkout and runs the install in the same step, so a provisioned device never holds a newer cua with an older engine.git pullin/opt/cuais the same unattended case as above.Unresolved Review Findings
Shipped with, by ruling 1201, after the whole-branch review (reviewer-high, 0d4c599..2c66966). No reply or counted verdict reaches any of them, and fixing any one means a new tag, re-pin and re-reach.
release_syncrecords (pointer.rs around 1588). A dropped tail visit setsunconfirmedand the legacyunconfirm_outlastedbefore the destination's confirmation mode applies._NET_ACTIVE_WINDOW, the row says unconfirmed while the reply has no notice.unconfirm_outlastedreads true with option (c) off.option_c_answers_an_outlasted_chrome_drop_confirmed_by_its_activation_alone_unconfirmed(live_device.rs around 6385) fails under load on a legitimately dropped visit. Until linux-engine (next release): 0.4.5's review residue (release_sync records, option (c) live test under load, floor0 overran, jsonl double copy) #580 ships, a red on that case in CI is rerun once and counted under Flaky cases behind 48 reruns in four weeks (test 37, engine-linux 7, sandbox-denials 4): the tally from the logs #444, and the test is never loosened outside native/.cua:floor0lane recordsoverranwith no floor (pointer.rs around 911).wire::jsonlcopies each line twice when nothing needs escaping (wire.rs around 75).clipboard::tests::engines_contending_for_the_lock_never_hold_it_together_nor_cross_deliverhung 27 minutes in the arm64 job of publish=false run 45321559071. Rerunning the job alone passed.Residue
scripts/linux-engine-gate/fallback-home.mjskeeps 0.4.3 asPREVIOUS_PIN. It still exercises a refused home, but no longer the update from the last pin (tech-debt-tracker.md).l4d-h8.mjsderives each Chrome row's gate and schedule by 0.4.3's rule. Its derived columns show plain-long all in_floor where 124 x64 rows ran after_path. The counts it judges are unaffected (tech-debt-tracker.md).install --engineonce more after this merges (1200; A plugin update leaves the home's engine/runtime behind; cua_repl refused until a manual reinstall #579). I'll run it.Sminos-Session: linux171#3c5ca588 (cua on dc-linux171-1e68)