Repository navigation
desk-hub deploy: staging-run.sh hub-reads, the staging proof of the registry's reads and the key-bound removal - #569
Merged
Merged
Conversation
…hanges shown on staging `deployment hub-reads` (deploy/hub-reads.ts) enrolls and lists two probe machines with the staging admin device (reach-acceptance.ts's listProbe) and prints one PASS/FAIL line per claim: each RL1 welcome lists `projects`, each socket's projects-all snapshot ends `last: true`, a record P stores reaches Q live, a removal of P bound to another key leaves it held (the hub's code printed), one bound to its posted key removes it, and Q's plain removal removes it. However the run ends its cleanup unlists and revokes both and a read-back prints LEFT for anything still there. It holds the admin device's anchor lock for the run (run-lock.ts's takeRunLock, with no signal handler of its own so interruptible's cleanup still runs), and sweep-leftovers takes its probes' names for a run killed outright. proof.ts gains revokeKeyed, the key-bound DELETE ?ref=&pub=, returning the hub's status. test/deploy/hub-reads.test.ts runs the command against the local hub: all six pass, and against the suite's older-Registry stand-ins the claims that build lacks fail while the rest pass, nothing left. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…r, and holds its lock only under its signal handlers Review findings on ec9a833: the anchor lock alone let the run sign a successor beside a pending one an admin verb left in keys.json.org.json, which forks the chain for the admin device; holdAnchorLock now refuses that anchor and lets the lock go. The token and the device's keys are read before the lock is taken, so nothing awaits between the lock and interruptible's SIGINT/SIGTERM handlers and no signal can strand it there. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… its own list, and cleans up on SIGHUP Review of 2e93c04..82e96d6: - A probe's listing POST with no definite answer (thrown: a timeout, the run's interruption; or a 5xx) may still land as a valid successor. hub-reads now watches its person's org-state POSTs (watchStatePosts), refuses every later POST while one is open (a second successor of that version would fork), and reads the head before and after the cleanup: one the chain now holds is settled and the run goes on; one it does not is `LEFT <name>: its listing POST had no answer; it may still land …`, and the run fails. listProbe and OrgAdmin are unchanged. - staging-run.sh hub-reads gives each invocation its own scan list (mktemp under the state directory, removed by its trap), and a list or log the search cannot read fails the step instead of counting as no finding. - interruptible takes `hangup`, off by default: SIGHUP then runs the cleanup as SIGINT and SIGTERM do (129). hub-reads turns it on; no other step's behaviour changes. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers 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. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 12, 2026
…ith the render case over its bound by the owner's ruling; the day's landings, thirteen tracker rows and O7's thinking-text correction DL 272 records #571's Mac gates and measured cases, the footprint placement, and the owner's ruling "머지 후 바로 여유 회복 (Recommended)", which supersedes the 11-11 row's condition; #561, #569, #570 and the charter's benchmark ruling (dee7575) landed the same day. The tracker gains the registry's M9 to M12 and panel-wave residue, #561's relays row, the paired network-change line, the desk's OrgAdmin.amend row and the unbuilt wire-registry cut; the 11-11 mawsd row gains the placement and the ruling. O7's plan gains a dated correction: MAWS-run sessions carry thinking text since 84ada72. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.
What
staging-run.sh hub-reads(apps/desk-hub/deploy/hub-reads.ts): the staging proof that was run before production's hub went to the build with the project registry's M2 and the key-bound machine removal. It enrolls and lists two probe machines with the staging admin device and prints one PASS or FAIL line per claim:welcome-projects: each probe's RL1 welcome advertisesprojects;snapshot-last: each socket gets theprojects-allsnapshot after its welcome, its pages endinglast: true;record-live: a projects record one probe stores reaches the other's socket live;keyed-wrong-refused: a removal bound to a key that is not the posted one leaves the machine held;keyed-removed: a removal bound to the posted key removes it;plain-removed: a removal by name alone removes it.However the run ends (a failure, SIGINT, SIGTERM or SIGHUP) its cleanup unlists and revokes both probes, and a read-back prints
LEFT …for anything still there. Staging only: production is refused by name before a credential is read. The admin device's anchor lock is held for the run, and an anchor with a pending successor is refused.Why now
The tool was built and used once on 2026-11-11 (six PASS on the build that is now production's) from this branch; it lands so the next hub build has it. Deploy tooling and its tests only: nothing under
src/changes, so no hub build, wire or fixture moves.Proof
apps/desk-hub/test/deploy/hub-reads.test.ts(new) and the adjustedreal-member-drivers.test.ts.staticandprobesgreen in run 43269707286;unitgreen in run 43271632232. The first run'sunit 2/4was red ontest/support/latency-engine-stub.test.ts:136(expected 2982.776 to be greater than or equal to 2985), the known pacing flake in the debt tracker (2026-10-31 row), on a tree that touches nothing near it.LEFT; SIGHUP cleans up; each invocation scans its own list).Left
One debt row to write after this lands:
listProbe/OrgAdmin.amenddo not keep a proposal in the anchor, which is why this tool watches its own POSTs.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)