Repository navigation
Conversation
…nesis's recovery destination to a deployment's volume rules (the owner's USB check, P5 DL 74) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…earse]), the owner's sitting and the production rollout brief Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…up pass; the sweep reports a run's pending pairing entry; every staging wait bounded; lane B's refusals; the quick-tunnel API fallback (start_tunnel, shared with acceptance) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… at line 54 Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ntials file before its first try Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…sh each, as lane A's), and the README's lane B scope and --lane-b sitting Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…the rollout brief Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…d built at run time, its file mode read portably (Python's os.stat); cards-landing's lane B comment Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Codex Review SummaryThis 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. |
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…e row Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8da1e6d56f
ℹ️ 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".
| await admin.amend(`${name} (ref ${posted.ref}) listed`, (s) => { | ||
| s.machines.push({ name, ref: posted.ref, pub: posted.pub, owners: [admin.member] }); | ||
| s.machineNames.push({ name, ref: posted.ref }); |
There was a problem hiding this comment.
Reuse the machine-name binding when retrying a run
If a run is interrupted or fails after listing its machine, retrying with the same run ID cannot succeed, despite the runner explicitly recommending that recovery path. undoRun preserves the append-only machineNames history, but fakeServices generates a new random ref on every attempt and this edit appends the already-used name again. machineNamesKept in apps/org-protocol/src/org-state.ts rejects that successor as name-retired (or malformed if the ref is reused without avoiding the duplicate). Reuse the historical name's ref and only append its name record when absent so a same-ID retry can finish after sweeping.
Useful? React with 👍 / 👎.
P5 O13 M7: the staging phone harness, the owner's sitting, and the production rollout brief.
This milestone changes nothing on production. It adds:
The staging run:
staging-run.sh phone <n> [--rehearse] [--lane-b]test/endpoint/staging-phone.live.test.tsand gated onDESK_STAGING_PHONE=1.o13-phone-<n>onstaging-ssfskimthroughOrgAdmin.listedMachine.la-1and lane Bapp-1. The harness holds its ownla-2andapp-2. A second member,o13-b-<n>@staging.invalid, holdsla-bandapp-b.o13-c-<n>, pairs as a real device does, through M3'sDeviceControlleragainst staging's pairing exchange. It drives:cardssubscription and an answer on the other member's session;--rehearse, the answers in the phone's place.registration;round-trip lane Aandround-trip lane B, the second required with--lane-b;class-bound;push-owner-only: the sink's notices, decrypted, are exactly one per owner session and none for the second member's;freeze-seam: desk-web's seam functions run over the live staging head.LEFTwith its expiry. It is never read as clean.test/endpoint/staging/bounded.ts), and every poll races its deadline.start_tunnelmakes threecloudflared tunnel --urltries, then falls back to the quick-tunnel API asked directly. That call answers in 22–33 s, beyond--url's 15 s client timeout; going direct, the tunnel registers within 2 s.acceptancestep shares the helper.NOT SHOWNwith its reason, and costs the owner no extra step.secret_scan <list> <paths…>checks the run's log for the token and every secret the run handled; a hit fails the run. It is named and shaped as O14's [HOLD until B4 step 3] P5 O14 M5b: the phase-1 routes leave the hub #261 keeps it.deployment admin genesis --media-checkonly adds refusals.--hub.The owner's sitting, and the rollout
apps/desk-hub/deploy/README.mdgains both.The sitting (staging):
/dev/tty;The rollout (production, every step the owner's):
production-run.sh checkoutandproduction-deploy.sh --confirm;admin initandadmin genesis --recoveryonto the USB drive, withorgGenesiscommitted;admin refreshbefore every 30th day.The rollout is also in the spec's Outcomes.
Validation Evidence
Offline suites:
apps/desk-hub/test/deploy/staging-scripts.test.ts21/21, including TERM stopping the suite, the API fallback and a stale credentials file;admin.test.ts30/30, including--media-check;test/endpoint/staging/pieces.test.ts15/15, including the pending-entry sweep and the bounded waits;pnpm typecheckis clean, as is eslint on the touched files.Rehearsal
m7r4on staging (staging-run.sh phone m7r4 --rehearse, 09:05Z, before P5 O10 follow-up: lane B pending counts reach notify from the engine host (WIRE_MINOR 4) #272):hub@3486527c [email protected]), the scan count was 0, exit 0.TERM rehearsal
m7t1: a TERM after the pairing ended the suite's process group within about a second. Cleanup then left nothing current, with no process and no file left.Rehearsal
m7b2with--lane-b, on d06edfc plus 6c44a5a, after O10's lane B feed (P5 O10 follow-up: lane B pending counts reach notify from the engine host (WIRE_MINOR 4) #272). All six items PASS:The first
--lane-brun,m7b1, failed push-owner-only with seven notices. The endpoint pushes once per rise in a session's count, and the harness raised lane B's requests one at a time. It now raises them as one change per session, as lane A's fake sminos does.The scope of the lane B PASS: it proves the endpoint's lane B path, not P5 DL 29's linked-app bound. The harness runs the endpoint in-process over an always-attached fake engine host.
Review: doperpowers:reviewer-medium, 5 rounds.
ci-gate on 8da1e6d (the PR head; master as of P5 O10 follow-up: lane B pending counts reach notify from the engine host (WIRE_MINOR 4) #272 plus desk-web e2e-hub: the cards list shows the owner's lane B session with its count (#272) #278's commit):
--gates static,unit,probes,e2e:desk-web,e2e:desk-web-hub --class1a pool --runner macos --lane hosted --label o13-m7-3, run 40669200856.test/endpoint/provision.test.tslost its local hub mid-suite (ECONNRESET, thenECONNREFUSEDon every later case). This branch does not touch that code, and the shard was green on the previous head.--gates unit --class1a pool --label o13-m7-4) is GREEN, run 40670318469.stat -f; and master's own break from P5 O10 follow-up: lane B pending counts reach notify from the engine host (WIRE_MINOR 4) #272 incards.spec.ts, fixed in desk-web e2e-hub: the cards list shows the owner's lane B session with its count (#272) #278.Confusions
Residue
verifyRewind). After a recovery, the owner re-pairs the phone (M3).abandon-pendingverb. A pending proposal left by an interrupted admin run blocks the next one until it is resolved by hand. O14 owns the verb.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)