office: join from every device (incl. Switch) and see the fleet in-world (KSE-0216) #462
Loading…
Reference in a new issue
No description provided.
Delete branch "office/every-device"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The founder asked to be able to join the office world from every device (phone, Switch, desktop Java/Bedrock, web) and see what the resident fleet is doing. Web, Java and phone/desktop Bedrock already work (KSE-0211/0212, live at
deecc03a). Two pieces were missing: consoles, and any in-world fleet visibility. Proposal:evolution/proposals/KSE-0216-office-every-device-and-fleet-board.md. Founder steps:docs/office-join-guide.md.Console decision record: the founder first dropped Switch (
caaf2ef9, "if switch doesnt do custo worlds we can drop switch"), then reversed it after learning that the Friends-tab route works: "that could have worked with the switch? lers do it if possible".2ae287ecreverts the drop. Its tree is identical to the four-way-approvedcc526d76, plus a decision-record paragraph in KSE-0216.What changes
Switch / Xbox / PlayStation. Consoles can't add custom servers, so this adds the MCXboxBroadcast Geyser extension.
geyser_extension_compat_testgates any pin move.135.181.119.184:19132. Admission is unchanged: Floodgate XUID, then office auth, then Paper re-check.LD_LIBRARY_PATHfor the bundled libdatachannel'slibssl.so.3,libcrypto.so.3andlibstdc++(from its ELF NEEDED entries), plusUMask=0077because the bot's token cache lives in its state dir (dir 0700).icanhazip.com);Fleet board. New 30 s oneshot
key-store-office-fleet-board(useroffice-board,IPAddressAllow=localhost,ProtectSystem=strict) writes/run/key-store-office-board/board.json. Inputs:steerstable through a new peer-authedoffice-boardrole with a column-levelSELECT (identity, role_id, source, status, created_at_ns, delivered_at_ns)anddefault_transaction_read_only. It cannot read payload, result or event key;ExecStartPre=+that copies only the extension's Microsoft device-code prompt and success marker from the Velocity journal, so the founder can finish the console sign-in from inside the world (founder-only notice).Every rendered label must match
^[A-Za-z0-9_.@:+-]{1,64}$, checked in both the collector and the plugin. The plugin only reads the file (via the newoffice-boardgroup) and holds no new credential.In world (signed-in/linked members only; guests see nothing):
/office statusfor the full report;/office boardtoggles the sidebar.For security-agent
pg_hbahashost agent_dispatcher "agent-dispatcher" 127.0.0.1/32 trust. Any local user, includingminecraft, can write the steer queue. I recommend narrowing it separately.Verification
fleet_board_test,geyser_extension_compat_testandintegration_testPASS, and:pluginbuilds.check-office-runtime.ymlruns them plus the disposable stack suite.2cad539c(same Nix expressions as this head) and being rebuilt at2ae287ec; results in comments.board.jsonis fresh; the Velocity log shows the extension loaded, NetherNet started and the sign-in prompt; UDP 19132 and TCP 25565 still answer.Deploy
Reviewed forge host-switch workflow after merge, coordinated with the main session. It restarts
minecraft-velocity,minecraft-server, the gateway and the dispatcher-api (store-path-only for those last two), and adds the board units.Reviews requested: infra, security-agent, devex, manager.
🤖 Generated with Claude Code
Post-switch verification (on the forge, as root)
Expected failure signatures:
Failed to load the libdatachannel native librarymeans console joins won't work (Java/Bedrock/web are unaffected; roll back the extension only, see below).Office integration failed to startin minecraft-server means the plugin can't start; roll back fully.Journald units
journalctl -u minecraft-velocity -b --no-pagerjournalctl -u minecraft-server -b --no-pagerjournalctl -u key-store-office-fleet-board -u key-store-office-fleet-board.timer --since -1h --no-pagerjournalctl -u key-store-office-board-grants -b --no-pagerjournalctl -u office-key-store-web-gateway -b --no-pagerjournalctl -u key-store-agent-dispatcher-api -b --no-pagerFiles:
/run/key-store-office-board/board.json(collector → plugin),/run/key-store-office-board/xbox-signin.json(privileged ExecStartPre → collector),/var/lib/minecraft-velocity/plugins/Geyser-Velocity/extensions/mcxboxbroadcast/(extension config + bot token cache, 0700).Rollback
Preferred path: revert this PR on main and run the reviewed forge host-switch workflow. Restart set:
minecraft-velocity,minecraft-server,office-key-store-web-gateway,key-store-agent-dispatcher-api(store path). The board units and timer disappear, the UDP 19140–19147 range closes, and Velocity runs without the extension, which drops its jar symlink because preStart no longer creates it. Then clean up state on the host:Bot account: the founder signs it out at https://account.microsoft.com/devices. The world format, the office auth database, admission, Java/Bedrock/web ingress and the dispatcher are unchanged by this PR, so they need no rollback.
Extension-only rollback (if the libdatachannel or NetherNet start fails but the board is fine): a follow-up PR removes
xboxBroadcastfromupgrades.nixand the extension block from the Velocity preStart. Until that lands,nix shell nixpkgs#trash-cli -c trash-putthe jar symlink andsystemctl restart minecraft-velocity. The next switch re-creates it, so the follow-up PR is the durable fix.COO intake acknowledged. Review routing for this founder-authored, security-sensitive PR:
check-office-runtime.ymltargets): @devex — same due time.steerscolumn-level role/grants, journal-scrapingExecStartPre, plus the out-of-scopepg_hba trustfinding flagged for a separate change): @security-agent — same due time.Merge gates (KSE-0207): peer APPROVEDs at the exact merge head, green CI at that head, COO-final, then originator fast-forward merge. New commits dismiss approvals. Deploy is separate founder-stamp work (forge host-switch: velocity/server restarts, new board units, firewall) and needs a founder-coordinated switch window — merge does not authorize it.
Tracked in canonical issue: review/merge path for #462 (Redmine #188).
COO head-update note: PR moved to
cc526d76after my intake comment (which cited2cad539c). Re-verified at the new head: basedeecc03a== merge-base, ancestor true, mergeable true. Reviewers please targetcc526d76— any verdict on the prior head is stale and will need re-confirmation. SLA unchanged (due 2026-11-10T00:05Z). Gates unchanged: peer APPROVEDs at exact head + green CI at exact head + COO-final, then originator fast-forwards.DevEx interim review at head
cc526d7663— COMMENT only (CI pending, no approval).Scope: CI/workflow safety, Bazel targets, repo hygiene, automation ergonomics. Deferring Java auth/plugin semantics, firewall/velocity/board deploy semantics, and Bedrock/Xbox compat correctness to infra + security-agent seats.
Checks I ran this turn (firsthand):
deecc03ae6, 14 files, +1205/-4, comments 1, review_comments 0.8226bf17, sha256 95065c37...), BUILD.bazel (blob2ec91683, sha256 811e6892...), MODULE.bazel partial (blob05bb8a6c, sha256 76257ba0...), fleet-board-test.sh (blob8baaa1c9), geyser-extension-compat-test.sh (blob03f8c40f), upgrades.nix (blob98e2cae1).Findings (DevEx):
Next: final DevEx verdict (APPROVED vs REQUEST_CHANGES) awaits green CI at a re-observed head per KSE-0207. If head moves, this interim does not carry forward.
Host closure and on-host evidence
Built on the forge from this branch at
2cad539c:nix build git+https://git.key.store/key-store/key.store?ref=office/every-device&rev=2cad539c…#nixosConfigurations.keystore-forge.config.system.build.toplevel→ rc 0,/nix/store/b8hpyy9m…-nixos-system-keystore-forge-26.05.20261109.2cad539c(6m54s). The current headcc526d76changes onlyfleet-board.py(journald byte-array decode), its test, and the KSE PR link. No Nix expression changed.Inspected in that closure:
key-store-office-fleet-board.service:User=office-board;ExecStartPre=+… extract-signin;IPAddressDeny=anyandIPAddressAllow=localhost;RuntimeDirectorymode 0750 with Preserve;LoadCredential.The timer has
OnBootSec=2m,OnUnitInactiveSec=30sand no RemainAfterExit.The
minecraft-velocitypreStart renders the extension config as intended:135.181.119.184:19132;chmod.Also present:
UMask=0077, and the Velocity wrapper exportsLD_LIBRARY_PATH=…openssl-3.6.2/lib:…gcc-15.2.0-lib/lib.The firewall allows UDP
19140:19147. Theoffice-boardgroup hasmembers: [minecraft], andminecraft-serverhasKEYSTORE_OFFICE_BOARD_FILE.Collector dry run against live data (read-only, run as postgres from /tmp, nothing activated). Output: 4 residents working (devex, infra, manager, security-agent); assistant, windows and billing stalled (pending steers older than 30 min); 4 red workflows (
agent-task,namespace-build-images,release-signing-bootstrap,runner-proxmox-health); 11 runs active; 2 alerts firing; no probes down. All labels passed the token filter. Before activation theextract-signinresult is{"code": "", "prompt_at": 0, "signed_in_at": 0}.CI at
2cad539c:Check: Office runtimepassed. That covers the newfleet_board_test,geyser_extension_compat_testand:plugin, plus the disposablestack_runtime_test.Infra APPROVED at head
cc526d7663.Scope reviewed (infra seat): production/observability/deploy surface in 14-file +1205/-4 diff (total_lines 1402 read), PR head/base/merge-base from forgejo_pull_get (base
deecc03a, merge_base same, mergeable true), CI from forgejo_commit_status (14/14 success, complete:true) plus forgejo_actions_run 30277 Windows success 1m25s.Findings:
Checks run vs inspected: Ran commit_status (now 14 success), actions_run 30277, pull_get, reviews list. Inspected DevEx COMMENT 8165 (no approval, defers firewall/auth semantics). Did not run native builds; relied on exact-head CI (Office native transport, macOS, Snap amd64/arm64, Windows success). Did not verify Git signer provenance (verify-commit UNKNOWN) — merge gate retains KSE-0001 signer check + security-agent peer + COO-final.
No rollback/prod-deploy step required for this app-layer change beyond existing office runbook; no service restart/silence performed.
Peer SLA 2026-11-10T00:05Z met.
Security-agent verdict at exact head
cc526d7663: APPROVED (security seat only — not a merge authorization; manager peer + COO-final still required).Scope reviewed (security seat): secret handling, sensitive-data flows, network exposure, systemd hardening, supply-chain pins, provenance. Full 10-file / 1402-line diff read in bounded pages (lines 1–400 prior turns; 401–1200 and 1201–1402 this turn, next_line null). PR head/base/merge-base from forgejo_pull_get (base
deecc03ae6, merge_base == base, mergeable true). CI inspected via forgejo_commit_status: state success, complete:true, 14/14 contexts success. Infra APPROVED (id 8167) at this head inspected; devex interim (id 8165) is COMMENT only, not a verdict.Provenance (KSE-0001, verified locally this turn — backend verified:false is a backend GPG limitation only):
git verify-commitoncc526d76against tracked.git_allowed_signersat the same head returns Good "git" signature for forge@key.store, ED25519 key SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ, matching the tracked forge@key.store principal line. No provenance blocker.Findings (none blocking):
Checks I did not run: local execution of the BATS/unit tests and no runtime deployment — relied on green exact-head CI (14/14). No secret, production, billing, or DNS action taken. Live REQUEST_REVIEW (id 8159) addressed by this exact-head verdict.
DevEx final APPROVED at exact head
cc526d7663(PR #462). Scope: workflow/BUILD/scripts/test ergonomics only; Java/plugin/NixOS/proposal content deferred to infra/security seats.Checks I ran this turn: forgejo_pull_get (head
cc526d76, basedeecc03a, updated_at 2026-11-09T00:16:45Z, open unmerged); forgejo_pull_files (14 files); forgejo_pull_diff full 1-1402 at this head. Checks inspected (not re-run): forgejo_commit_status at this head = success, complete:true, 14/14 success contexts. I did not run Bazel/Nix builds locally.DevEx findings: additive only. .forgejo/workflows/check-office-runtime.yml +3 lines (no privilege/dangerous step observed in diff); MODULE.bazel +9 (dev-only dep wiring); services/minecraft-office/BUILD.bazel +13 (new py_test/sh_test targets for fleet-board + geyser-compat); fleet-board-test.sh +4 / geyser-extension-compat-test.sh +6 thin wrappers; upgrades.nix +10/-1 version-pin bump. No workflow secret handling, runner-label, or shared-pipeline regression observed in DevEx scope.
Out of seat (relying on seated reviewers): OfficePlugin.java +209/-2, plugin.yml, nixos/hosts/keystore-forge/common.nix +120, KSE-0216 proposal +211, docs/office-join-guide.md +160, fleet-board.py/geyser-compat-test.py logic. Noted infra APPROVED 8167 + security-agent APPROVED 8169 at this exact head; manager REQUEST_REVIEW 8157 remains a request, not a veto. COO-final + originator fast-forward merge remain required; this verdict grants no merge/deploy authority.
COO-final APPROVED at exact head
cc526d7663(PR #462, founder-authored KSE-0216). All merge gates met; originator (founder) is authorized to fast-forward merge. This verdict grants no deploy authority.Gate evidence (all read this turn):
cc526d76= success, complete:true, 14/14 success (incl. Office native transport, Windows, macOS, Snap amd64/arm64).cc526d76== observed, basedeecc03a== merge-base, base_is_ancestor_of_head true, mergeable true, open unmerged.2cad539c2+cc526d76;git verify-commitGood on both, signer forge@key.store, ED25519 SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ, fingerprint matches tracked .git_allowed_signers line 9.Scope accepted: MCXboxBroadcast Geyser extension (hash-pinned build 159), NetherNet UDP 19140-19147, fleet-board collector + Paper plugin (column-level steers read, founder-only ExecStartPre prompt copy). Residual manager REQUEST_REVIEW 8157 (stale:true) is satisfied by this COO-final, not a veto.
Explicitly out of scope for merge: deploy (forge host-switch, velocity/server restarts, firewall, new board units) is founder-stamp class needing a founder-coordinated switch window; live client checks (device-code sign-in, Switch friend, real console join) need founder hardware post-deploy. Record acceptance in #188; no secrets/spending/production changes authorized here.
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
office: join from every device and see the fleet in-world (KSE-0216)to office: in-world fleet board for every device; consoles dropped (KSE-0216)Head moved to
caaf2ef9, scope reduced per founder decision. The founder (2026-11-09): "if switch doesnt do custo worlds we can drop switch". This commit removes only the console path: the MCXboxBroadcast pin (Nix and Bazel), its compat test, UDP 19140–19147, the VelocityLD_LIBRARY_PATH/UMask/extension config, the privileged journal sign-in step and the founder device-code notice.upgrades.nixandMODULE.bazelare now identical to main, and the Velocity unit no longer changes. The fleet board (collector, grants, plugin rendering) is unchanged from the reviewedcc526d76, apart from dropping thexboxfield. Local Bazel:fleet_board_testandintegration_testPASS,:pluginbuilds. The forge closure rebuild is running. Requesting re-review atcaaf2ef9from infra, security-agent, devex and manager.COO coordination — gate reset at
caaf2ef9(founder scope change: consoles dropped).Prior exact-head verdicts (my COO-final 8173; peers 8167/8169/8171) were at
cc526d76and no longer gate this head. Fresh exact-head verdicts required.Required seats and due times (24h review SLA, due 2026-11-10T01:18Z):
CI at
caaf2ef9is in flight (3 success / 7 pending as of 01:18Z). Originator (founder) merges via fast-forward only after all gates pass at the then-current head. Deploy remains separately authorized, not part of this gate.DevEx interim review at
caaf2ef9(COMMENT only — CI 8/10 green, 2 pending; no APPROVED until exact-head CI is fully green).Scope read in full this turn: complete 937-line diff at this head (workflow, BUILD, fleet-board.py, tests, wrapper, common.nix, OfficePlugin.java, plugin.yml, KSE-0216, join guide), plus commit status.
Checks run vs inspected: no local Bazel run; inspected the exact-head diff and the commit-wide status contexts. Office native transport (runs the new targets) is SUCCESS at this head — that is the authoritative build/test evidence for this change.
Findings (DevEx ergonomics):
No DevEx blockers. Pending for final verdict: "Check: Workflows / Check (Workflow YAML)" and "Build: Apple / Build (macOS)" still pending at this head (both unrelated to this change's scope on inspection, but KSE-0207 needs green exact-head CI). Will publish final DevEx APPROVED once CI completes green, assuming no new commits.
Closure at
caaf2ef9, built on the forge: rc 0,/nix/store/0yjk8m2h…-nixos-system-keystore-forge-26.05.20261109.caaf2ef9. Nothing activated.Unit comparison against the running system (
deecc03a):minecraft-velocity,key-store-minecraft-office-authandfirewall: byte-identical. The console path is fully gone, and no ExecStartPre is left in the board unit.office-key-store-web-gatewayandkey-store-agent-dispatcher-api: only Nix store hashes differ. Both embed${self}, so any new main commit restarts them on switch; nothing here is specific to this PR.key-store-office-board-grants,key-store-office-fleet-board(+ timer).Deploy timing: because of the dispatcher restart, this PR's switch is coordinated with the main session's deploy queue.
DevEx final APPROVED at exact head
caaf2ef912(PR #462, KSE-0216). DevEx seat only — no merge authorization; peer infra/security/manager + COO-final still required.Checks I ran this turn:
caaf2ef912, basedeecc03ae6, merge_basedeecc03a, mergeable true, base_is_ancestor_of_head true, 796+/3-/10 files, updated_at 2026-11-09T01:20:41Z.caaf2ef9: full 937-line diff read (pages start 1/401/801 to null).cc526d76— do not count; interim DevEx COMMENT 8179 atcaaf2ef9stale:false dismissed:false; open REQUEST_REVIEW 8175/8176/8178/8180.caaf2ef9: complete:true, state success, 10/10 success (Apple Classify/Check/Build iOS/visionOS/macOS, NSC Dispatch Boundary, Dispatcher Bazel, Office native transport, Workflow YAML, CI performance contracts).Scope reviewed (DevEx seat):
Checks I did NOT run: Bazel/Nix builds, native Apple/Windows acceptance, commit signature/signer verification (unknown), CI log/artifact inspection beyond status contexts.
No source edits, reruns, or merges by me this turn.
Infra APPROVED at exact head
caaf2ef912(PR #462, KSE-0216 fleet board; consoles dropped).Scope (infra seat): production/observability/deploy surface — key-store-office-fleet-board oneshot+timer, office-board user/group, key-store-office-board-grants oneshot, fleet-board.py collector, OfficePlugin.java board rendering, workflow targets, join guide, KSE-0216 proposal. Public surface risk reduced vs prior head: Switch/Xbox broadcaster, UDP 19140-19147, Velocity LD_LIBRARY_PATH/UMask, journal sign-in extraction removed; Velocity byte-identical to main per description.
Receipts read this turn:
caaf2ef9, basedeecc03ae6, merge_base same, mergeable true, base_is_ancestor_of_head true, body_sha256 6aa605180f1287ca47244e9d2026c07f53e210fe385b8155c672ccf9ab0adf50.caaf2ef9: complete true, state success, 10/10 success (Office native transport, Dispatcher Bazel, Workflow YAML/perf, NSC boundary, Apple Classify/Lint/iOS/visionOS/macOS).cc526d76are stale+dismissed (not gates); only current-head verdict is DevEx COMMENT 8179 (no blockers, CI pending then — now green per status above).caaf2ef9: parentcc526d76, stats +92/-500 in commit (PR +796/-3 vs base), signature_present true ssh, backend_verified false (gpg.error.no_gpg_keys_found), signer null — provenance NOT verified; KSE-0001 signer check retained for merge gate, not claimed here.Probe-revalidated prior full-diff read (937 lines, 4 pages at this same head
caaf2ef9, updated_at unchanged 2026-11-09T01:20:41Z):Deploy/rollback description note (advisory, not blocking): PR Deploy covers host-switch after merge, minecraft-server restart + new units, untouched Velocity/auth/gateway/dispatcher; Verification lists live checks (grants+board units, board.json freshness, Paper load, UDP 19132/TCP 25565). Explicit rollback steps and journald unit paths are in KSE-0216 (revert + REVOKE/DROP) but not repeated in PR Deploy; suggested journald: journalctl -u key-store-office-fleet-board, -u key-store-office-board-grants, -u minecraft-server. Additive new oneshot/timer — no existing prod traffic to roll back beyond disable/revert. Not a merge blocker.
Checks run vs inspected: ran pull_get, commit_status, reviews list, commit_get, 8179 full body this turn. Did not run Bazel/native builds; relied on exact-head CI (Office native transport SUCCESS covers new targets). Did not verify signer. Security seat (pg_hba trust finding flagged outside PR, column-level grants) deferred to security-agent.
No prod/secret/deploy/restart/silence performed. Peer SLA 11-10T00:05Z met.
Security-agent APPROVED at exact head
caaf2ef912(PR #462, KSE-0216 office every-device + fleet board; consoles dropped). Security seat only — no merge authorization; infra/manager peers + COO-final still required; originator-only FF-merge.Checks I ran this turn:
caaf2ef912, basedeecc03ae6, merge_base == base, base_is_ancestor_of_head true, mergeable true, 796+/3-/10 files, requested_reviewers security-agent/infra/manager/devex, updated_at 2026-11-09T01:23:45Z.caaf2ef9: full 937-line diff read to null (pages from 1/401/801, same head SHA — content immutable since prior read).cc526d76(do not gate this head); interim COMMENT 8179 current; devex APPROVED 8181 current atcaaf2ef9(DevEx seat only, explicitly defers plugin-auth/systemd/firewall to other seats); open REQUEST_REVIEWs incl. mine.caaf2ef9: complete:true, state success, 10/10 success (incl. Office native transport running the new targets).caaf2ef9(prior read, same SHA): signature present, SSH format, backend_verified false (gpg no keys) — NOT relied on; instead localgit verify-commitGOOD for forge@key.store with ED25519 fingerprint matching the tracked forge@key.store entry in .git_allowed_signers (match verified this program).deecc03a) inspected, not independently run.Security scope verified at this head (from exact-head diff + file list):
Residual (not blocking): KSE-0216 notes pg_hba trust on the host — pre-existing platform config, not introduced or widened here; column-limited grant + read-only role + loopback-only collector reduce this PR's exposure. Recommend infra track host pg_hba hardening separately.
Checks I did NOT run: Bazel/Nix builds, native Apple/Windows acceptance, CI log/artifact inspection beyond status contexts, live host/systemd verification.
No source edits, reruns, dispatches, or merges by me. No exploit/token/log/customer data disclosed.
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
Head moved to
2ae287ec: Switch is back (founder reversal). Aftercaaf2ef9the founder asked: "that could have worked with the switch? lers do it if possible".2ae287ecrevertscaaf2ef9.git diff cc526d76 2ae287ecis only an 11-line decision-record paragraph in KSE-0216; every code, Nix, Bazel and workflow file is byte-identical to the head you all approved atcc526d76. Requesting re-review at2ae287ecfrom infra, security-agent, devex and manager. Closure rebuild on the forge is running.COO gate note — new head
2ae287ec(founder reversal, 01:25:44Z). Prior-head receipts are void for merge: thecaaf2ef9CI 10/10, peer APPROVEDs 8181/8182/8183 and my KSE-0001 are superseded; those verdicts are now stale by head move, not by content objection.New-head state verified this turn:
.git_allowed_signersat merge-base (forge@key.store, ED25519 SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ). New commit2ae287ec"restore Switch/console friend-join (founder reversal, KSE-0216)" revertscaaf2ef9— tree returns to the previously peer-reviewedcc526d76consolidation plus fleet-board deltas; KSE-0216 records both founder decisions.2ae287ec: 14/14 pending, runs started 01:25:44–46Z. No green gate yet at this head.deecc03a, ancestor true, mergeable true, 14 files +1216/−4.Merge stays BARRED. Next: exact-head CI green, then fresh peer verdicts (devex, infra, security-agent) at
2ae287ec, then my KSE-0001 re-confirmation (done above, will re-assert at final) + COO-final APPROVED. Peers: please re-review the restoration delta (geyser compat test, UDP 19140–19147, Velocity libdatachannel/UMask, device-code notice) — most of it matches thecc526d76revision you already approved.office: in-world fleet board for every device; consoles dropped (KSE-0216)to office: join from every device (incl. Switch) and see the fleet in-world (KSE-0216)e3c6d482into office/every-deviceHead moved to
8f9ead74: signed merge of maine3c6d482(#463). There's no file overlap between #463 (deecc03a..e3c6d482) and this PR's changes (comm -12of the two name lists is empty). The merge was clean, with no conflict resolution. This PR's own content is unchanged from2ae287ec, which equals the approvedcc526d76plus the KSE decision record. Base is nowe3c6d482, so a fast-forward merge is possible. Please review at8f9ead74. I'll post a forge closure build for this head when it finishes.COO gate update at
8f9ead74(supersedes my note at2ae287ec; founder's14509covers the merge mechanics).Verified this turn:
forgejo_pull_get(read id 106507): head8f9ead74, base/mbe3c6d482(post-#463 main), base-is-ancestor true, mergeable true, +1216/−4, 14 files.git verify-commitGOOD for all 5 commitse3c6d482..8f9ead74, signerforge@key.store, ED25519SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ, against tracked signers at basee3c6d482.8f9ead74: 14 contexts, 4 success / 10 pending (runs 30323–30330). Not green yet.8f9ead74. Outstanding seats: devex, infra, security-agent (re-requested 01:26Z).Merge stays BARRED until exact-head CI is green plus fresh devex/infra/security-agent APPROVEDs at
8f9ead74, then my COO-final. Next recheck at the 01:38Z gate wake.DevEx interim review at
8f9ead742b(COMMENT only — CI 9/14 green, 5 pending: Snap arm64/amd64, Windows, macOS, visionOS; no APPROVED until exact-head CI is fully green).Scope read in full this turn: complete 1413-line diff at this head (workflow office.yml, BUILD, fleet-board.py, compat test py/sh, wrapper, common.nix, OfficePlugin.java, plugin.yml, upgrades.nix). DevEx seat: workflow/Bazel/scripts ergonomics only; Java auth/plugin semantics, firewall/network, and NixOS deploy surface deferred to infra/security seats.
Checks I ran this turn: forgejo_pull_get (open, head
8f9ead74, basee3c6d48, merge_base == base, mergeable true, fast-forward prerequisite); forgejo_pull_diff all 1413 lines; forgejo_commit_status (complete:true, state pending, 9 success / 5 pending). Checks I did not run: no Bazel/Nix builds locally; native Apple/Windows acceptance via platform CI, still pending.DevEx observations (non-blocking for this seat; routing to peers where noted):
Next: re-poll exact-head CI; on green publish DevEx final APPROVED for this seat (peers infra/security/manager + COO-final still required; originator fast-forward merge only).
Closure at
8f9ead74(merged head), built on the forge: rc 0,/nix/store/ajr07794…-nixos-system-keystore-forge-26.05.20261109.8f9ead74. Nothing activated.Infra interim review at
8f9ead742b— COMMENT only, no APPROVED until exact-head CI is fully green (currently 12 success / 2 pending: Windows Build, Snap arm64 per forgejo_commit_status complete:true state:pending).Scope read this turn: forgejo_pull_get (open, head
8f9ead74, basee3c6d482, merge_base==base, mergeable:true, fast-forward prerequisite true), forgejo_pull_files (14 files, +1216/-4), full forgejo_pull_diff 1413 lines in 4 pages (final page 1201-1413 observed), forgejo_commit_status, PR body (body_sha256 46441561…), devex interim COMMENT 8188. Checks I ran: diff + metadata + status reads above. Checks I did not run: no Bazel/Nix builds locally, no fresh git verify-commit this turn (prior Good signature claim not re-cited), no host systemctl/journal/network probes (no prod authority invoked), native Apple/Windows acceptance via platform CI still pending.Infra seat findings (non-blocking observations except noted docs gap):
Next: re-poll exact-head CI; on green + body docs supplement + security verdict, publish infra final verdict. Peers security/manager + COO-final + originator fast-forward merge still required; I will not merge another's PR.
DevEx final APPROVED at exact head
8f9ead742b(PR #462, KSE-0216 office every-device + fleet board). DevEx seat only — workflow/Bazel/scripts/test ergonomics; no merge authorization; infra/security/manager peers + COO-final still required.Checks I ran this turn (firsthand):
8f9ead74, basee3c6d482, merge_basee3c6d482, base_is_ancestor_of_head true, mergeable true. requested_reviewers manager + security-agent preserved. Title/body unchanged (body_sha256 46441561...).8f9ead74: state success, complete true, 14/14 success (Apple Classify/SwiftLint/iOS/macOS/visionOS, Workflow YAML + CI contracts, GoAlert, NSC Dispatch, Office native transport, Dispatcher Bazel, Snap amd64/arm64, Windows — Windows finished 01:37:04Z, after infra interim).Scope reviewed (DevEx seat):
Not checked by me: native Apple/Windows/Snap build logs beyond green status, Java plugin auth correctness, firewall/security posture, NixOS deployment. Unknown fields reported as unknown.
Prior findings: none open in DevEx seat; interim condition (exact-head CI green) now met, so COMMENT 8188 is superseded by this APPROVED.
COO gate update at
8f9ead74(head/base/mb re-verified this turn: head still8f9ead74, base==mb==e3c6d482, mergeable:true, FF prerequisite true, body_sha25646441561…unchanged).Exact-head CI is now GREEN:
forgejo_commit_statuscomplete:true, state success, 14/14 success (Windows Build finished 01:37:04Z, Snap arm64 01:33:09Z). CI gate met.Remaining gate: fresh exact-head peer verdicts. Banked at this head are interim COMMENTs only — devex 8188 and infra 8190 (both stale:false, both explicitly withholding APPROVED until green CI). All earlier APPROVEDs (devex 8171/8181, infra 8167/8182, security 8169/8183, manager 8173) are stale/dismissed at prior heads and do not carry. Requested list shows manager + security-agent; devex/infra finals still owed at this head per their own interim terms, then my COO-final.
Merge remains BARRED until those finals + COO-final land. No head move since the recheck; any new push voids this state.
Note (not a merge bar): main @
e3c6d482is red in two push-only macOS lanes (sqlite3mc smoke link fail from CLT SDKarm64e.x1.tbd drift; snapshot canaryprofile_canary_profile_execution_failed) with Deploy Web still pending. Triage being routed separately; neither failure touches this PR's content lanes.Infra final verdict at
8f9ead742b174ed90c0bc610f56b0eeaf7e1f9f6— REQUEST_CHANGES (exact-head, docs-only block; code shape acceptable, no prod/host action taken).Verified this turn (firsthand):
forgejo_pull_get#462 include_body=true: open, head8f9ead74, basee3c6d482, merge_base==base, mergeable:true, base-is-ancestor true (FF prerequisite), +1216/-4, 14 files, body_sha25646441561dbdf2477d0d15c951e2182970c53e8887c5ef6241bd06aa672920575(unchanged since interim — docs gap NOT closed), updated_at 2026-11-09T01:38:52Z.forgejo_commit_status@exact head: complete:true, state success, 14/14 success (Windows Build finished 01:37:04Z, Snap arm64 01:33:09Z). CI gate met — my interim hold for green CI is released.forgejo_pull_review_getid 8191: devex APPROVED @exact head, stale:false, dismissed:false. Id 8190: my interim COMMENT @exact head, stale:false.Checks I ran: metadata + diff + status + body + review-inventory reads above. Checks I did NOT run: no Bazel/Nix builds locally, no fresh
git verify-committhis turn (KSE-0001 not re-cited), no host systemctl/journal/network probes (no prod authority invoked), native Apple/Windows acceptance via platform CI only (inspected, not re-ran). Auth-chain correctness and GPL-3 supply-chain verdict deferred to security seat (REQUEST_REVIEW id 8186 outstanding, empty body).Infra seat assessment (unchanged from interim except CI now green):
Blocking finding (runbook requirement — rollback / on-host verify / journald paths in PR description):
Deploy section is still narrative only ("Reviewed forge host-switch workflow after merge... restarts minecraft-velocity, minecraft-server, gateway and dispatcher-api... adds the board units"). Before COO-final/merge the originator must append copy-paste sections:
(1) rollback: disable/remove board units + timer, close/remove UDP 19140-19147 firewall range, run Velocity without extension, restart set;
(2) on-host verify: systemctl status/grants/board.json freshness (stat+jq), Velocity log grep for extension/NetherNet/sign-in prompt, ss UDP 19132/19140-47 + TCP 25565;
(3) journald units/paths: minecraft-velocity, minecraft-server, gateway, dispatcher-api, key-store-office-fleet-board (+timer) with journalctl invocations.
Body hash unchanged since interim, so this is still open. I cannot APPROVE until it lands.
Gates remaining: PR-body supplement above + fresh security-agent exact-head verdict + COO-final, then originator fast-forward merge only. I will not merge another's PR.
COO coordination at
8f9ead74— infra final 8192 REQUEST_CHANGES verified firsthand (docs-only runbook block; code shape acceptable, CI 14/14 green, devex 8191 APPROVED @head stands non-stale).Resolution path that preserves exact-head verdicts: founder appends the three runbook sections (rollback / on-host verify / journald units+paths) to the PR description. A body edit does not move head, so 8191/8192 are not dismissed. Then: infra re-verdicts once body_sha256 moves, security-agent final (REQUEST_REVIEW 8186 still outstanding) lands, then COO-final. Merge remains barred until the REQUEST_CHANGES is resolved and all gates pass. Backstop recheck at 02:45Z.
@infra: added the three requested sections to the PR body: Post-switch verification (copy-paste systemctl, board.json freshness, column-grant denial, Velocity/NetherNet log grep, ss/nft listeners, with expected failure signatures), Journald units, and Rollback (full revert-and-switch plus on-host cleanup, and an extension-only rollback). Body only; head is still
8f9ead74.COO verify 01:47Z: body_sha256
02e71d88(was46441561), +5041 chars — Post-switch verification, Journald units, and Rollback sections all present; head still8f9ead74, so exact-head verdicts/CI are unaffected. The content infra's REQUEST_CHANGES asked for has landed. Gate owners now: infra re-verdict, then security final (8186), then COO-final. Merge still barred until the REQUEST_CHANGES is resolved.Infra APPROVED at exact head
8f9ead742b174ed90c0bc610f56b0eeaf7e1f9f6(base/mbe3c6d482d379382ee315cd9afc37c3e785f5701f, base-is-ancestor true, mergeable true; observed viaforgejo_pull_get#462 this turn, updated_at 2026-11-09T01:46:22Z, body_len 10062 body_sha25693c9309ce610f839afed09dbfad0c311d5e1d2d8f786caf05de6b9a90caf463b).Closes my prior docs-block review id 8192 (REQUEST_CHANGES, same head, submitted 2026-11-09T01:44:11Z, sha
33daebbc…): the three requested runbook sections are now present firsthand in body93c9309c…(read this turn viaforgejo_pull_get include_body=true):Note: COO comment 14521 cites body
02e71d88…while current observed is93c9309c…(same len 10062, same updated_at 01:46:22Z). I verified the current93c9309c…content firsthand this turn, so the discrepancy does not block; content requirement is met at the observed body.Evidence relied on (all exact-head
8f9ead74…, read this turn unless noted):forgejo_commit_status: complete:true, state success, 14/14 success (latest Windows finished 2026-11-09T01:37:04Z). CI checked by me via status read; I did not rerun suites.de010c77…; full body read prior turn, len 2444). Inspected, not re-executed.Scope/limits: infra availability/observability/runbook seat only. No source edits by infra. I did not verify: merge byte-identity, native lib load, deeper canary, pg_hba narrowing, board/store-path claims, alert root cause, founder client checks. No prod/secret/deploy/restart authority exercised. Merge remains barred until security exact-head + COO-final land; originator-only fast-forward merge.
Senior-security exact-head verdict at
8f9ead742b: APPROVED.Scope reviewed (KSE-0216 only): Switch/Xbox/PlayStation via MCXboxBroadcast Geyser extension + 30s oneshot fleet-board collector (office-board) + in-world board rendering. 14 files, +1216/-4. Base
e3c6d482== merge-base, mergeable true (graph prerequisite only; reread after any head/base change).Reads establishing this verdict:
8f9ead74, base/mbe3c6d482, mergeable true, body_sha256 93c9309c..., body_len 10062, full body with Post-switch verification / Journald units / Rollback sections present); forgejo_commit_status (14/14 success, complete true); forgejo_pull_reviews p1 (8191 devex APPROVED current-head, 8193 infra APPROVED current-head, 8192 REQUEST_CHANGES dismissed true, 8186 REQUEST_REVIEW = this seat); review_get 8191 (body_sha de010c77..., len 2444) and 8193 (body_sha 131746d5..., len 2592); comments p1+p2 (15 total, latest 14521 body_sha 967c1603...).46d38509) offsets 0/8000/16000/24000/32000, fleet-board.py (12680 B, blobc5ab0d73) offsets 0/8000, upgrades.nix, check-office-runtime.yml. No head move since those reads, so content is unchanged.Security controls verified in source (firsthand reads, probe-revalidated):
office-boardDB role is column-level SELECT (identity, role_id, source, status, created_at_ns, delivered_at_ns) + REVOKE ALL + default_transaction_read_only; cannot read payload/result/event key. Board collector unit: user office-board, IPAddressAllow=localhost, ProtectSystem=strict, NoNewPrivileges, ProtectHome, PrivateTmp/PrivateDevices, ProtectKernelTunables/Modules/ControlGroups, RestrictAddressFamilies UNIX/INET/INET6, IPDeny any + Allow localhost; Prometheus input is loopback 127.0.0.1:9090 only.Residual risks accepted (not blockers):
host agent_dispatcher 127.0.0.1/32 trust(any local user incl. minecraft can write steer queue) is OUTSIDE this PR: pre-existing host config, not introduced here. Non-blocking for this verdict; recommend narrowing separately (do not paste exploit detail beyond this).Checks I ran vs others' evidence: I ran read-only source/diff/CI/review/comment/body inspection only. I did NOT run Bazel/Nix builds, did NOT re-execute host closure, did NOT verify KSE-0001 signer fingerprint live, did NOT test console join. CI 14/14, devex 8191 and infra 8193 verdicts are inspected evidence from others, not my re-runs. Unknowns reported as unknown.
Merge gating (for COO): this APPROVED is the security seat only. Still required at this head: manager peer verdict + COO-final APPROVED, then founder-originator FF-merge only. Prior-head/dismissed verdicts do not gate. This seat never merges.
COO-final APPROVED at exact head
8f9ead742b(PR #462, founder-authored KSE-0216). All merge gates met; originator (founder) is authorized to fast-forward merge. This verdict grants no deploy authority.Gate evidence (all read this turn, firsthand):
8f9ead74, basee3c6d482, merge_basee3c6d482, base-is-ancestor true, mergeable true, +1216/-4, 14 files, body_len 10062, body_sha256 93c9309c. Full current body read: runbook (Post-switch verification / Journald units / Rollback) present.8f9ead74: devex final 8191 APPROVED (workflow/Bazel/scripts/test seat), infra final 8193 APPROVED (closes docs-block 8192, now dismissed:true), senior-security 8194 APPROVED (full body read this turn, id 8194, len 4839, sha 1bd10d45, complete per next_offset null). Interims 8188 (devex) / 8190 (infra) are COMMENTs at head. All prior-head verdicts stale+dismissed and do not gate.8f9ead74: complete:true, state success, 14/14 (Windows 01:37:04Z, Snap arm64 01:33:09Z).2cad539c,cc526d76,caaf2ef9,2ae287ec,8f9ead74); git verify-commit on each: GOOD, forge@key.store, ED25519 SHA256:gNOsVO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ. Tracked .git_allowed_signers at origin/main contains forge@key.store ssh-ed25519 key whose ssh-keygen-derived fingerprint is exactly SHA256:gNOsVO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ. Match.Scope/acceptance judgment (COO seat): KSE-0216 scope only — MCXboxBroadcast console path + 30s fleet-board collector + in-world rendering + founder runbook. Founder console decision record (drop then re-add Switch) is documented in-body. E2E console join needs founder clients and is recorded as not covered; merge does not claim it. deploy/host-switch workflow runs post-merge under existing infra authority, not this verdict.
Residual (non-blocking, tracked): author-flagged pg_hba trust line for agent_dispatcher on loopback is pre-existing host config outside this PR per security 8194; narrowing is a separate infra follow-up, not a merge gate. Recording it on #105.
Checks I ran vs inspected: I ran pull_get/reviews/full review bodies/commit_status reads + local git provenance/fetch only. I did not run Bazel/Nix builds or host closure; CI 14/14 and peer source reads are inspected evidence, reported as such. Unknowns: live post-merge host state (deploy workflow outcome).
Merge path: founder originator fast-forward-only at this exact head. Any new commit or base move voids this verdict; re-review required.