Repository navigation
Conversation
… the runner waits for each code file; the operator's words name the owner's sheets - remote-latency.ts: a carrier is void when, over the start's and the end's exchanges, the greatest lower edge of their intervals passes the least upper edge by more than 5 ms (gapMs, LIVE_BENCH.gapVoidMs). The judged interval stays the hull of the narrowest; spreadMs is recorded and voids nothing. - remote-bench.ts: awaitCodeFile and CODE_WAIT (pairing 10 min, enrollment 30 min); enroll waits for codeFile, saying what the owner does and how long is left; the VM's load read from /proc/loadavg. - bench-sign-in.ts and the spec: takePairing waits for pairingFile; every operator line names the app's sheets and Touch ID, not `admin` at a terminal; MAWS_REMOTE_BENCH_REMOVE_APP=1 removes the bench app's scratch profile. - O7 Decision Log entry of 2026-11-10; tracker rows on the remote load closed and narrowed. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fda6299ead
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| this.#quiet(span); | ||
| const act = `the owner, in their MAWS: Settings › Org › Machines, Enroll a machine…, the name ${m.name}, Make a code, Copy, and the code into that file (0600); the app makes it only once the pairing has ended, and the sheet stays open until the machine is enrolled`; | ||
| if (!(await awaitCodeFile(m.codeFile, { who: m.name, code: 'the enrollment code', act }, CODE_WAIT.enrollMs, { say: (line) => this.#deps.say(line), sleep: (ms) => this.#sleep(ms), now: () => this.#now() }))) { |
There was a problem hiding this comment.
Bound the code-file wait by the next quiet window
When enrollment starts less than 30 minutes before a quiet window but passes the existing 18-minute span check, the new code-file wait can continue into that window. For example, on the mini, starting at 06:15 UTC with no code file waits until 06:45. Although the status watch has its own shutdown timer, the already-staged scratch daemon does not; teardown's #miniOpsStop() and #endScratchProcesses() then refuse their remote calls through #quiet(), leaving cleanup incomplete and the scratch daemon running during the protected window. Include the code-file wait in the initial quiet-window budget, or end the wait early enough to complete teardown before the window.
Useful? React with 👍 / 👎.
The live remote bench (
e2e/remote-latency-live.spec.ts) fitted to give a valid run on a real network, with the owner approving in the app's own sheets. Test-support, e2e and docs only; nothing undersrc/.test/support/remote-latency.ts, the architect's ruling of 2026-11-10). A carrier is void when the start's and end's exchanges can't share one offset: over both sets, the greatest lower edge of the exchanges' intervals passes the least upper edge by more than 5 ms (gapMs,LIVE_BENCH.gapVoidMs). The judged interval is unchanged (the hull of the narrowest intervals).spreadMsis recorded and voids nothing. The guard on delays under zero is unchanged. Unit cases, written red first: constant offset under 100 ms of round-trip jitter (not void), 20 ms step between sets (void), step inside one set (void), 3 ms drift (not void, hull covers both ends), a wide exchange hides no step.test/support/remote-bench.tsawaitCodeFile/CODE_WAIT,bench-sign-in.ts, the spec). The owner's app runs one pairing or enrollment at a time, so the runner now waits a bounded time for each file:pairingFile10 min (one pairing code's life),codeFile30 min (inside the enrollment code's hour, less the enroll's 18 min span). While it waits it says what the owner does and how long is left. A file is taken once it is non-empty and its size is stable. A file that never comes fails with its reason.adminor "their terminal" any more./proc/loadavgthroughdevcloud vm ssh).MAWS_REMOTE_BENCH_REMOVE_APP=1, set withMAWS_REMOTE_BENCH_REMOVE=1, removes the bench app's scratch profile; it refuses unless the path is a scratch profile and no process names it.Gate: run 42833046505 green (static, unit; class 1a linux). The first run, 42828418593, failed only on the known
detached-transportcrash-ladder flake. Review: doperpowers:reviewer-medium, no findings. Not run: the live spec itself (Electron, real network).Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)