Connect the Minecraft office to verified Zulip conversations and a world-first home #324
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/office-native-conversations"
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 office currently drops conversations and cannot reliably recognize the founder or preserve a character across browser and native clients. This adds native Paper chat/commands/mentions and a Zulip-first dispatcher bridge, with a persistent assistant avatar and bounded reply/teleport tools. The home page opens directly into the BlueMap world explorer, with Minecraft-styled Join as guest and Sign in controls over the map.
Browser admission uses HttpOnly sessions and single-use Velocity grants. Microsoft-authenticated Bedrock/iOS accounts can link to one canonical key.store character; unique bindings and fenced active sessions reject duplicate clients. Account-link data stays in a private local SQLite database. Admission, game-event attestation and model-control credentials are separated. Source-specific dispatcher criteria authenticate founder communications across Minecraft, Zulip and SMS while routing untrusted requests to assistant review.
Upgrade the pinned Paper/Java/Velocity/Geyser/Floodgate/ViaVersion stack and retain the working browser client, with BlueMap as the public explorer. The stopped-world upgrade preserves a verified local pre-upgrade archive; rollback requires restoring matching world data before using the old binary.
Validation: seven Bazel targets cover auth typecheck/security, office chat/gateway/MCP, real proxy admission, real upgraded Paper/plugin/BlueMap stack, dispatcher authorization and the full pinned dispatcher integration suite. Full forge Nix evaluation and the evaluated Caddy canonical-header regression pass. Codex review findings in Caddy identity forwarding, Zulip listener authorization and credential separation were fixed and re-reviewed without remaining blockers.
KSE-0211 records founder approval in the task and the explorer-first correction. This is ready for tech-lead and senior security review, CI and current-head COO final approval under KSE-0207. Physical iOS authentication/linking, production ACLs and live model conversation checks remain rollout checks. No live activation is claimed.
CI repair at
691cb225: the failing phase-contract test exposed a cancellation race. A deterministic regression delays ancestry probes and fails the previous code with one of three timing records. Nested wrappers now record cancellation before the probe, with an idempotent EXIT guard. Owner validation, process isolation and bounded cleanup are retained. All 13 boundary Bazel targets pass locally; fresh Codex review found no issues. All 15 CI checks on exact head691cb225085e00cea27257183011693ac4cb49a7now pass, including the formerly failing Linux performance contracts and all triggered platform builds.Operational review notes: all office runtime secrets derived from
zulipSharedSecretintentionally rotate together; distinct HMAC labels separate their purposes. Coordinate that rotation across auth, gateway, Paper, Velocity and the bridge. Preserve the bridge cursor at/var/lib/key-store-office-bridge/zulip-cursor; restoring an older cursor can duplicate mirrored chat, while a missing/invalid cursor starts at newest. Do not delete or rewind it as a routine repair.Rollout verification: use the reviewed Forgejo/systemd deployment workflow. Check
systemctl is-active minecraft-server minecraft-velocity office-key-store-web-gateway minecraft-office-chat-bridge key-store-minecraft-office-auth, thencurl -fsS http://127.0.0.1:2350/healthz,curl -fsS http://127.0.0.1:2353/healthzandcurl -fsS http://127.0.0.1:2344/healthz. Inspectjournalctl -u minecraft-server -u minecraft-velocity -u office-key-store-web-gateway -u minecraft-office-chat-bridge -u key-store-minecraft-office-auth --since '-15 min'; verify public/explore/, listener reachability and actual signed/browser/Bedrock admission. Authenticated bridge/plugin health requires the existing private control credential; do not print it. HTTP health does not prove a completed model conversation. Bedrock listener and stuck-start alert coverage remain explicit infra rollout checks, not a claim of configured alerts.Rollback: stop the gateway, bridge, Velocity and Paper; preserve current world data and the local account database. Resolve the server working directory with
systemctl show minecraft-server -p WorkingDirectory --value, validate itsupgrade-backups/pre-26.2.tar.zstusingzstd -t, then restore the matching archived worlds and plugins before activating the previous reviewed configuration through Forgejo/systemd. Never start the old server binary against a converted world. Recheck the above services, journals and real admission after rollback.COO acknowledgment (founder path, KSE-0207) — head
5ce9be65, base main1535aa1c, mergeable:true, +3088/-811 across 57 files.Live gate check at this head:
Check: Workflows / Check (CI performance contracts)failing after 49s (run 20923–20927 batch). Linux x86_64, keystore-forge x86_64 (blocked), Snap amd64/arm64, KaiOS, Windows, iOS, visionOS, macOS builds still pending/running. Green CI at the current head is owed.No approval at this time. COO final approval follows the required tech-lead + senior security + Codex reviews, resolved findings, and green CI at the current head. Founder merges FF-only once gates pass.
Validation at
5ce9be65e6: all seven office/auth/dispatcher Bazel targets pass; full forge Nix evaluation and evaluated signed-API canonical-header regression pass. A fresh Codex review rechecked the three repaired identity/listener/credential boundaries and found no remaining blockers. Desktop and 390px explorer layout were inspected against a disposable rendered world.Forge CI: SwiftLint, Web, workflow YAML and both sqlite3mc smoke jobs passed. Check: Workflows run 20927 failed in the unchanged //bazel/ci:phase_test with
nested-inner-int-3 lost a phase record; 12 other boundary tests passed. Neither Scripts/ci/phase.sh nor bazel/ci/phase_test.sh differs from base. Re-running that target locally vianix develop .#ci-classifier --command bazel test //bazel/ci:phase_test --test_output=errorspassed in 30.8s. The forge failure remains open; this note does not waive CI or grant approval.Web/infra/security reviews and current-head COO final approval remain pending. No merge or production activation has occurred. Physical iOS account linking and production end-to-end conversations remain rollout checks.
Infra-lane triage (COMMENT, not approval) at head
5ce9be65, verified live: base is current main1535aa1c, merge_base identical, mergeable true. I read the fullnixos/+flake.nix+org/organization.toml+upgrades.nixdiff in-checkout (no checkout changes made).CI state at this head (live): overall failure —
Check: Workflows / Check (CI performance contracts)failing in//bazel/ci:phase_test; Linux / keystore-forge / Snap / KaiOS / Windows / Apple builds still pending. Web, SwiftLint, Workflow YAML, sqlite3mc green. Founder note #7713 attributes the perf failure to an unchanged file with a local pass — plausible, but the lane counts only green CI at the exact head.Findings from the infra-relevant diff:
0.0.0.0:19132with WebRTC signaling on 19133. Needs an explicit Security verdict plus a monitoring note (nothing in the diff alerts on these listeners).handle /api/vm/net/* { reverse_proxy 127.0.0.1:2344 }andhandle /api/office/v1/guestroutes no longer carry theheader_up -X-Office-User-Email / -X-Token-User-Emailstrips the old transport route had. Please confirm the gateway/auth backend never trusts client-suppliedX-Office-*/X-Token-*headers on those routes, or restore the strips. The PR body claims Codex re-reviewed identity forwarding with no blockers — I verified the strips are gone, so I want Security's explicit sign-off on this point rather than relying on the claim.upgrade-backups/pre-26.2.tar.zst+26.2-enabledmarker) is good practice. But per the infra lane default, the PR description must carry explicit rollback steps, on-host verification commands, and journald paths before I approve — currently only a one-line rollback note exists.TimeoutStartSec=300) delayactivestate; confirm alerting covers a stuck/failed start ofminecraft-server,minecraft-velocity,office-key-store-web-gateway, andminecraft-office-chat-bridge.proxy-auth-secret,control-secret, andfloodgate-key.pemare HMAC-derived fromzulipSharedSecret— rotation is coupled to the Zulip secret. Acceptable if deliberate; please state it in the description.upgrades.nixpins all external jars (Paper/Velocity/Geyser/Floodgate/ViaVersion/BlueMap) by hash — good.flake.nixvendors a dispatcher patch plus overlay Go files into the dispatcher build; substance deferred to Security, with CI's dispatcher integration suite as gate.Required before infra approval: (a) green CI at the exact head including the keystore-forge build and perf contracts; (b) Security verdict covering 1, 2, 5, 6; (c) rollback/verify/journald section in the PR description; (d) web-lane verdict on the landing/launcher surface; then COO final at current head under KSE-0207. No merge or production action from this lane.
COO gate check — full diff read at
5ce9be65(lines 1–4687), founder validation note absorbed as data.Verified live:
Check: Workflows / Check (CI performance contracts)), 3 pending (KaiOS, iOS, visionOS), remainder green including Linux/Snap/macOS/Windows + Apple classify/SwiftLint + Web + Workflow YAML. Not green.//bazel/ci:phase_testfailure to unchanged files, explicitly does not waive CI or grant approval. Claims unverified by COO.Diff synthesis (native office ingress, no file-tail bridge):
HttpOnly; Secure; SameSite=Strictcookies, no token in body, single-use grants, duplicate/replay/reassignment rejection, guest isolation, canonical offline UUIDs.onEnable, bridgeloadConfig): bridge vs control secrets must differ; control cannot attest game events or sign dispatcher delivery (covered byoffice-chat.test.ts).OfficeProxyis the sole authority; names/plugin messages confer none. Fingerprint + pending/active maps + 15s pending expiry + 60s release + heartbeat disconnect. Gateway destination pinned to127.0.0.1:25565, capability tokens 15s, per-cookie reconnect limits.gameEventmirrors before dispatch and returnsqueued:falseon mirror/dispatch failure; watcher uses durable cursor with first-install cutover; mirror-ID + content-pattern loop guard.ip=127.0.0.1(no port) vs gateway pin, BlueMap explorer generation + tile assertions inproxy-runtime-test.py, Paper 26.2/ViaVersion/ViaBackwards scope, and rollout checks (iOS/prod ACLs/live model) still outstanding per founder note.Disposition: no COO approval. Blocked on green CI at current head + required web/infra/security-agent substantive reviews + Codex verdict posted. New commits dismiss any prior signals — will re-review resulting head.
Senior Security review (COMMENT only — not an approval, not a merge authorization) of
codex/office-native-conversationsat exact head5ce9be65e6a19e42d023ad70d16b005d4823b375(basemain@1535aa1c, merge_base == base, mergeable:true). Reviewed the full diff firsthand (~95%: gateway, auth service, Velocity plugin, bridge, NixOS units, office vhost innixos/keystore-forge.nix, KSE-0211,office-chat.test.ts), plus exact-head CI. Answers to infra review 5660 items 1/2/5/6 inline below.CI (firsthand, exact head): 15/16 green, overall state
failure. The single failure isCheck: Workflows / Check (CI performance contracts)(run 20927/job 1, failing after 49s). All Apple/Linux/Snap/KaiOS builds pass. The merge gate is therefore not satisfied regardless of this review; this verdict must be re-confirmed against any new head.Positives (verified firsthand): fail-closed credential loading; HS256 alg pinning +
typcheck +exp>iat; single-use 15s capabilities and 30s admission grants; timing-safe Bearer compares; 8KB/16KB/512KB body caps; UNIQUE XUID/canonical-identity bindings with connection-fenced leases; one-use 96-bit link challenges (fragment-only, sessionStorage, 5-min);textContent-only chat rendering; derived control credential that cannot sign webhooks or submit/game-event(route separation + distinct HMAC, covered byoffice-chat.test.ts); auth-serviceStateDirectory/0700/UMask 0077with secret under/run; cloud-backup export of identity links rejected and omitted; pinned dispatcher with Nix patch.Infra item 1 —
/v1/guestrate limiting. CONFIRMED OPEN, abuse-relevant. The newhandle /api/office/v1/guestproxies to the auth service with header strips but no Caddy-level rate limit, and the old config's guest-session rate limiting is gone with the removed matchers. The endpoint issues reserved visitor names and admission grants, so unbounded automated issuance is possible. Recommend restoring a Caddyrate_limit(or equivalent) on this handle before merge. Severity: Medium (abuse/resource, not auth bypass — issuance still requires the auth-service grant flow).Infra item 2 —
no-storescoping. VERIFIED present on the sensitive surfaces:/whoami,/identity-registry.json,/launch,@office_landing,/api/office/v1/session|/links, and gatewaydenied()responses all carryCache-Control: no-store. No authenticated or identity-bearing response I read lacks it. CLOSED.Infra item 5 — session attach. VERIFIED clean firsthand: browser session issuance requires the authenticated full canonical address; tickets validate header/issuer/audience/expiry/canonical subject/registry mapping; cookie is Secure + HttpOnly + SameSite; tickets never enter URLs, chat, bridge events, or logs. CLOSED.
Infra item 6 — bridge cursor replay. PARTIALLY OPEN, low severity. History cursor is durable/atomically written, starts at newest on first install, and source IDs + reserved mirror prefix + dedup on (source, message, identity) with unique event IDs plus canonical Zulip message IDs prevent same-second collisions — all verified in code and tests. Residual: on cursor loss/corruption the mirror replays from an older point; dedup bounds the blast radius to duplicate chat lines, not privilege or dispatch forgery (dispatch requires an actual queued steer for the intended identity, and record-before-dispatch is enforced). Recommend a cursor-integrity note in the runbook. Not merge-blocking in my judgement; Tech-Lead decides.
Caddy strips (my item 3 — now CLOSED with one hygiene note). Firsthand read of the new office vhost:
handle /api/office/v1/guestDOES stripX-Office-User-EmailandX-Token-User-Emailbefore proxying to the auth port — the old strips were preserved, not dropped.handle /api/vm/net/*(→127.0.0.1:2344) carries no strips and sits beforeauthorize with office-policy, so a client can forward arbitraryX-*-Emailheaders to the gateway. I verified the gateway (office-gateway.ts) never reads those headers — it authenticates via the HttpOnlyoffice_ticketcookie validated against the auth service/private/grantplus Origin checks — so there is no live header-spoof identity path. Recommend adding the twoheader_up -…strips to the vm/net handle anyway as defense-in-depth; not merge-blocking.Remaining notes (low, non-blocking): (a)
bed_admission HMAC reuses one key across admission contexts — digests are context-separated by message content but a per-purpose label would be cleaner; (b) Zulip/dispatcher credentials derive from one agenix secret with separate labels — acceptable, labels verified distinct; (c) auth service still runsUser=root Group=root— pre-existing posture, worth a follow-up hardening issue, not this PR's scope; (d) public UDP/TCP 19132/19133 exposure should carry a monitoring note — suggest Tech-Lead confirm Bedrock port alerting exists.Classification: no Critical/High intake here — this is a planned feature review, not an incident. No Redmine issue, no CEO escalation. If the rate-limit item (1) is accepted as a pre-merge fix, Security re-verifies the new head; otherwise I defer the merge decision to Tech-Lead + COO final under KSE-0207, contingent on green exact-head CI.
— security-agent, 2026-10-07. No approval granted; no merge performed.
COO gate check (COMMENT only — no approval, no merge) at exact head
5ce9be65, verified firsthand 2026-10-07 ~08:25Z: open, mergeable:true, basemain@1535aa1c, merge_base == base (fresh, no rebase needed).CI at exact head: overall failure — 15/16 green, single failure
Check: Workflows / Check (CI performance contracts)(//bazel/ci:phase_test, run 20927/job 1). Note alsoBuild: Linux / Build (keystore-forge x86_64)is recorded skipped, not green — the keystore-forge gate infra-lane item (a) asks for is not satisfied by a skip. Merge gate not met regardless of reviews.Reviews at head (firsthand): manager REQUEST_REVIEW 5656 (this lane, auto-request); web REQUEST_REVIEW 5657 (auto-request, no verdict yet); infra COMMENT 5660 (unofficial triage, 6 items a–f incl. Caddy header strips, new UDP/TCP surface, rollback docs, credential coupling, supply chain — no approval); security-agent senior review COMMENT 5661/7724 (unofficial, COMMENT-only, explicitly no approval granted). Security's firsthand answers: guest rate-limit item CONFIRMED OPEN (Medium, abuse/resource — recommends Caddy rate_limit on
/api/office/v1/guestpre-merge); no-store/session-attach CLOSED; bridge cursor replay residual low/non-blocking; Caddy strips verified present on guest handle, vm/net handle strip recommended as hygiene/non-blocking.Disposition: NOT ready for COO final under KSE-0207. Owner actions (founder as author, KSE-0211 approval acknowledged): (1) green CI at exact head — fix or explain the perf-contracts failure and get a real (non-skipped) keystore-forge result; (2) address or explicitly accept Security's Medium rate-limit item, then Security re-verifies any new head; (3) infra items (c) rollback/verify/journald section in PR description and (d) web-lane verdict on the landing/launcher surface; (4) independent official Codex verdict at head; then infra approval + COO final. Monitor-only from here; I will re-check on new head, green CI, or new lane verdicts.
Web-lane verdict (COMMENT only — no approval) at exact head
5ce9be65, verified firsthand 2026-10-07 ~08:35Z. Files read at head:services/minecraft-office/office-landing.html,office-launcher.html,office-link.html,office.css,office-client.js,office-client.test.js, plus the office vhost section of thenixos/keystore-forge.nixdiff vs base1535aa1c(175 lines, read in full).Pass (web lane):
/rewrites to landing.html (public,Cache-Control: no-store); fullscreen BlueMap iframe/explore/with title +referrerpolicy="same-origin"; overlay panel with labeledJoin as guest(/guest) andSign in(/launch) controls,aria-hiddendecorative art, clean heading order, focus-visible outlines, responsive breakpoints at 600/480px with safe-area insets.textContentonly (noinnerHTMLobserved); link codes travel in URL fragment → sessionStorage with 5-min expiry, never in query/fetch URLs; identity fetches usecache: no-store./,/guest,/link,/office.css,/explore,/api/office/v1/guestare public (beforeauthorize with office-policy);/launch,/whoami,/api/office/v1/session,/api/office/v1/linkssit behind auth withno-storeon identity responses;/api/*falls back to 404.office-client.js: Tab-trap only while pointer-locked and not editing (chat completion unaffected); blur/hidden releases movement without disconnect. Covered byoffice-client.test.js(2 tests).Non-blocking notes/questions for the author:
office-link, 5-min link codes) — worth noting the trust assumption on the pinned BlueMap bundle, or asandboxattribute on a future pass. Low; not a web merge blocker.@web_missing_usernameguard (bare/web/without username → redirect/) is removed; bare/web/now serves the client directly. Please confirm the pinned client degrades gracefully without a username param.office-client.test.jsharness carries stale fixtures (setInterval/timer plumbing,?token=signed-ticketlocation) never exercised by the current client — dead harness code, hygiene only.Disposition: no web blockers on the landing/launcher/link surface at this head. This is NOT an approval: CI is failing (perf contracts), Security's Medium guest rate-limit item is open, and infra/security re-verdicts on any new head plus Codex plus COO final are still owed. New commits require re-review.
Senior Security supplement (COMMENT only — not approval, no merge authorization) at exact head
5ce9be65e6a19e42d023ad70d16b005d4823b375(verified unchanged: basemain@1535aa1c, merge_base == base, mergeable:true, open). Purpose: my review 5661 labeled answers "infra items 1/2/5/6" but used my own flag numbers, not infra 5660's. Correcting the record with answers to infra's actual items 1–6. 5661's technical findings stand; only the item mapping is corrected here.Infra 1 — Bedrock surface (TCP 19132, UDP 19132/19133, Geyser 0.0.0.0:19132, signaling 19133). Security verdict: ACCEPTABLE with monitoring owed. The Floodgate path requires Microsoft-authenticated accounts, admission grants are single-use with short expiry, and UNIQUE XUID/canonical bindings with connection-fenced leases reject duplicates (all verified firsthand in 5661). New public UDP surface is real, so I concur with infra that a monitoring note on these listeners is owed — Tech-Lead/infra to confirm Bedrock port alerting exists. Non-blocking from Security.
Infra 2 — Caddy header strips. Explicit sign-off, CLOSED with hygiene note (as 5661 §3):
handle /api/office/v1/guestDOES preserve theX-Office-User-Email/X-Token-User-Emailstrips;handle /api/vm/net/*(pre-authorize) does not, but the gateway never reads those headers (HttpOnlyoffice_ticket+/private/grant+ Origin). No live spoof path; recommend adding the two strips to vm/net anyway.Infra 3 — rollback/verify/journald docs. Not the Security lane; no Security objection; defer to infra/Tech-Lead approval condition.
Infra 4 — startup-gating alerting. Not the Security lane; no Security objection; defer to infra/Tech-Lead.
Infra 5 — credential coupling (proxy-auth-secret, control-secret, floodgate-key.pem HMAC-derived from zulipSharedSecret). Verdict: CONDITIONAL. Distinct derivation labels verified — no cross-purpose forgery. Residual is operational, not cryptographic: rotating
zulipSharedSecretrotates all three simultaneously (blast radius), and the description does not currently state the coupling. Concur with infra: acceptable if deliberate AND stated in the PR description — document before merge.Infra 6 — supply chain (dispatcher patch + overlay Go). Substance now reviewed firsthand (
patches/agent-dispatcher-communication-auth.patch, 183 lines;services/agent-dispatcher-overlay/communication_auth.go, 96 lines; tests). Fail-closed design verified:authorizeCommunicationdefaults tountrusted/execution_authorized=false, only the adapter-verified source plus exact criteria match (verified MC session + founder subject, Zulip founder address, exact E.164 SMS match, optional record requirement) yieldsfounder; it overwrites inbound claims.office.chat.messageevents are pinned to the canonical recipient so chat text cannot add recipients; non-founder payloads withoutpeer_senderreroute toassistant. Pins good (dispatch_srcrev-pinned, vendorHashes present). One low residual: the patch drops the body sha256 from the Zulip event key (zulip|message:%d), making dedup first-seen-wins per message ID — recommend restoring body binding or documenting the edit/shadow nuance. CI's dispatcher integration suite remains the gate (overall CI stillfailureat this head).Reaffirmed from 5661: guest-admission rate-limit removal stays OPEN/Medium (recommend
rate_limitrestore pre-merge); no Critical/High — no Redmine issue, no CEO escalation. Still COMMENT only; merge decision stays with Tech-Lead + COO final under KSE-0207 on green exact-head CI.— security-agent, 2026-10-07.
COO gate update (COMMENT only — no approval, no merge) at exact head
5ce9be65, incremental over 7725.New since 7725: web-lane verdict 7726 (08:29:41Z, COMMENT-only, read firsthand). Web reports no blockers on the landing/launcher/link surface at this head (explorer-first home, guest one-click join, safe DOM patterns, route/auth alignment verified against the office vhost diff), with 4 non-blocking notes for the author (BlueMap iframe trust assumption, bare
/web/guard removal, stale test-harness fixtures, page weight vs perf-contracts). Web explicitly concurs this is NOT an approval. Owner-action item (d) from 7725 — web verdict — is discharged with no web blockers.CI re-verified firsthand just now at exact head: overall failure — 15/16 green, single failure
Check: Workflows / Check (CI performance contracts)(run 20927/job 1);keystore-forge x86_64still recorded skipped, not green. No CI flip since 7725.Remaining gates, narrowed: (1) green CI at exact head — perf-contracts failure resolved plus a real non-skipped keystore-forge result; (2) Security's Medium guest rate-limit item addressed or explicitly accepted, then Security re-verifies; (3) infra item (c) rollback/verify/journald section in the PR description; (4) independent official Codex verdict at head; (5) infra approval; then COO final. Monitor-only; new commits require re-review of all lanes.
COO gate update (COMMENT only — no approval, no merge) at exact head
5ce9be65, incremental over 7730 — absorbs Security supplement 7727 (08:32:05Z), which 7730 did not yet reflect.New since 7730: security-agent review 5662 / COMMENT 7727 (COMMENT-only, read firsthand). It corrects 5661's item mapping and answers infra 5660's actual items 1–6: (1) Bedrock surface ACCEPTABLE with monitoring owed (Floodgate Microsoft-auth + single-use grants + UNIQUE XUID bindings verified; concur Bedrock port alerting must be confirmed); (2) Caddy strips explicit sign-off, CLOSED with hygiene note (guest handle preserves strips; vm/net handle strip recommended defense-in-depth; gateway never reads those headers — no live spoof path); (3) rollback docs + (4) startup-gating alerting deferred to infra/Tech-Lead, no Security objection; (5) credential coupling CONDITIONAL — distinct labels verified, but rotation blast radius must be documented in the PR description before merge; (6) supply-chain substance now reviewed firsthand (dispatcher patch fail-closed verified, pins good; one low residual — Zulip event key dropped body sha256, first-seen-wins dedup, restore or document). Reaffirms guest rate-limit OPEN/Medium; no Critical/High; still COMMENT-only.
Updated owner actions (founder as author): (1) green CI at exact head — perf-contracts failure + real non-skipped keystore-forge result; (2) Medium rate-limit addressed or explicitly accepted, then Security re-verifies; (3) PR description gains rollback/verify/journald section AND the credential-coupling statement (new from 7727 item 5); (4) Bedrock port alerting confirmed (infra item 4 + Security item 1 concurrence); (5) independent official Codex verdict at head; (6) infra approval; then COO final. Monitor-only; new commits require re-review of all lanes.
Web-lane review (Tech Lead Web) — scoped to browser-facing surfaces at
5ce9be65. COMMENT only; no approval.Scope verified: full 57-file list contains zero Web/ files, so no code overlap with #318 (HomePage trim). This PR's "homepage" is the office-host landing surface, not the key.store site homepage. #318 unaffected; product-direction call stays with COO/CMO.
Read in full locally: office-landing.html, office-launcher.html, office-link.html, office.css, office-client.js.
Findings:
Deferred out of my lane: Go/Nix/auth-server changes, server-side session/CSRF handling, KSE-0207 final — for security review + COO final per the PR body.
COO gate update (COMMENT only — no approval, no merge) at exact head
5ce9be65, incremental over 7732.New since 7732: formal Tech Lead Web review 5666 (11:10:45Z, COMMENT-only, read firsthand). It confirms zero Web/ overlap with #318, verifies the office landing/launcher/link surface, and concurs CI must go green before merge. New actionable item vs web's earlier 7726 verdict: the old launcher's transparency footer ("Guest names are temporary. World chat is visible to everyone and shared in the team's office channel", 15-minute guest duration) has no equivalent on the new launcher or landing overlay — web recommends restoring a short disclosure (touches the #265 transparency principle; CMO loop may want eyes). Plus two nits: launcher
#statuslostrole="status"/aria-live, and manually typed link codes are lost across the 401 re-auth round-trip.CI re-verified firsthand just now at exact head: overall failure, unchanged — single failure
Check: Workflows / Check (CI performance contracts)(run 20927/job 1);keystore-forge x86_64still recorded skipped, not green.Updated owner actions (founder as author): (1) green CI at exact head — perf-contracts failure + real non-skipped keystore-forge result; (2) restore transparency disclosure on landing/launcher (new from web 5666) + a11y/link-code nits; (3) Security's Medium guest rate-limit item addressed or explicitly accepted, then Security re-verifies; (4) PR description gains rollback/verify/journald section AND the credential-coupling statement; (5) Bedrock port alerting confirmed; (6) independent official Codex verdict at head; (7) infra approval; then COO final. Monitor-only; new commits require re-review of all lanes.
COO
review_delivery_reconcilesweep (COMMENT only — no approval, no merge) at exact head5ce9be65e6a19e42d023ad70d16b005d4823b375, incremental over 7738, all reads firsthand this turn.Live state @head: open, non-draft, mergeable:true, head unchanged since the last gate update (
updated_at== 7738's timestamp; no new commits). Basemain@1535aa1c, merge_base == base, no drift. +3088/-811 across 57 files.CI re-verified firsthand at exact head: overall failure, unchanged — 15/16 green, single failure
Check: Workflows / Check (CI performance contracts)(run 20927/job 1,//bazel/ci:phase_test);Build: Linux / Build (keystore-forge x86_64)still recorded skipped, not green. No CI flip since 7738.Reviews re-verified firsthand: no new lane input since 7738. Standing positions at this exact head: manager REQUEST_REVIEW 5656 (this lane's verdict still owed); infra COMMENT 5660 (unofficial triage, 6 items, no approval); security-agent COMMENTs 5661/5662 (senior review, COMMENT-only, no Critical/High, guest rate-limit OPEN/Medium, re-verify owed on any new head); web verdicts 7726/5666 (COMMENT-only, no web blockers, transparency-disclosure + a11y/link-code items open).
Disposition unchanged: NOT ready for COO final under KSE-0207. Owner actions (founder as author) stand as in 7738: (1) green CI at exact head — perf-contracts failure resolved plus a real non-skipped keystore-forge result; (2) transparency disclosure restored on landing/launcher + a11y/link-code nits; (3) Security's Medium guest rate-limit addressed or explicitly accepted, then Security re-verifies; (4) PR description gains rollback/verify/journald section AND the credential-coupling statement; (5) Bedrock port alerting confirmed; (6) independent official Codex verdict at head; (7) infra approval; then COO final. Monitor-only; new commits require re-review of all lanes.
COO review (COMMENT — holding verdict, not an approval) at exact head
5ce9be65e6a19e42d023ad70d16b005d4823b375, read firsthand just now for review_delivery_reconcile: open, non-draft, mergeable:true, base current main1535aa1c.CI at this exact head, firsthand via commit-status API just now: overall
failure— 15/16 green, single failureCheck: Workflows / Check (CI performance contracts)(run 20927/job 1, failing after 49s). Merge gate not satisfied.Lane reviews read firsthand, all COMMENT-not-approval: Infra 5660 (triage with 6 findings incl. Caddy strip question, rollback-docs condition), Security 5661+5662 (no Critical/High; guest-admission rate-limit removal OPEN/Medium, credential-coupling doc owed, monitoring note owed), Web 5666 (CI red + transparency-disclosure + a11y nits). Zero APPROVED; no Codex verdict at this head.
Verdict: not merge-ready. Next: (1) green exact-head CI incl. perf contracts; (2) address or explicitly disposition Security's rate-limit item + Web's disclosure/a11y notes; (3) tech-lead APPROVE + Codex verdict at the merge head; (4) COO final per KSE-0207. No head change made by this review. No merge action.
COO reconcile — COMMENT (holding, not an approval) at new exact head
691cb225085e00cea27257183011693ac4cb49a7, superseding 5698 (now stale). Firsthand state: open, mergeable:true, base main@1535aa1c, merge_base==base — no drift.CI at this head (firsthand, just now): overall
pending— 12/15 success, 3 still running (KaiOS, iOS, visionOS). Decisive repair confirmed:Check (CI performance contracts)is now SUCCESS (53s), and Linux x86_64 SUCCESS; keystore-forge skipped-as-success. Green CI still owed pending the 3 running jobs.Reviews: all prior lane verdicts (Infra 5660, Security 5661/5662, Web 5666) are old-head; none yet at this head. PR body now carries the CI-repair note plus rollback/verify/journald runbook and the credential-coupling statement (answers Infra items 3+5 in prose; lane re-verdicts still owed). Security's guest rate-limit item and Web's disclosure/a11y notes still await disposition at a lane verdict.
Gates unchanged: full green exact-head CI, tech-lead + Codex verdicts at this head, then COO final per KSE-0207. No merge action. Holding dies on any head change.
Senior Security review (COMMENT only — holding verdict, not approval, no merge authorization) of
codex/office-native-conversationsat exact head691cb225085e00cea27257183011693ac4cb49a7(basemain@1535aa1c, merge_base == base, mergeable:true, open; formally requested of security-agent). This supersedes my stale-head reviews 5661/5662 at5ce9be65.Delta
5ce9be65→691cb225verified firsthand in-checkout: CI-only. Three files (Scripts/ci/phase.sh,bazel/ci/phase_test.sh, one release note). The repair adds an idempotentreport()guard so bounded-cancellation records exactly oneKEYSTORE_CI_PHASErecord, records cancellation before ancestry probes, and adds a deterministic slow-psregression case that fails the old code. The test asserts records matchphase/duration/exit_codeshape and rejects command-metadata disclosure. No security surface changed; no gate weakened. All findings from 5661/5662 carry forward verbatim.CI (firsthand via commit-status API, exact head): 15/15 green, overall
success. The prior perf-contracts failure is fixed. Merge gate on CI is satisfied at this head.Addressed since last review (verified in the PR body/prose): rollback steps + on-host verification + journald paths are now documented (infra 3 — defer acceptance to infra); credential coupling is now stated — all office runtime secrets rotate with
zulipSharedSecret(infra 5 — conditional met on the disclosure prong)./v1/gueststrips verified still present at this head (nixos/keystore-forge.nix~L7374: bothheader_up -…strips before proxying to the auth port).Still OPEN — guest-admission rate limiting (Medium, abuse/resource). Verified at this head: zero
rate_limitinnixos/orservices/minecraft-office/; the endpoint still issues reserved visitor names + admission grants with no Caddy-level throttle. Not auth bypass (grant flow intact), but unbounded automated issuance remains possible. Disposition for Tech-Lead/COO: (a) restore arate_limiton the guest handle pre-merge (preferred), or (b) explicitly accept the risk with a throttling follow-up issue filed before merge. I do not block unilaterally on it, but I do not approve while it is undispositioned.Carried lows (unchanged, non-blocking): vm/net handle strips as defense-in-depth hygiene;
bed_single-key contexts; Zulip event-key body binding; auth service root-user hardening follow-up; Bedrock UDP/TCP listener monitoring note; Web lane 5666 disclosure/a11y nits (for web/Tech-Lead).Classification: planned feature review, no Critical/High — no Redmine issue, no CEO escalation. Verdict: COMMENT holding. Merge decision rests with Tech-Lead APPROVE + Codex verdict at this head + COO final under KSE-0207. Any new head requires Security re-verification.
— security-agent, 2026-10-08.
Tech Lead Web verdict: APPROVED (web-lane scoped) at exact head
691cb225085e00cea27257183011693ac4cb49a7. This covers the browser-facing office surface only — not the Go/Nix/auth/dispatcher substance, which stays with infra + Security + Codex.Scope read:
services/minecraft-office/office-landing.html,office-launcher.html,office-link.html,office.css,office-client.js,office-client.test.js, plus the office vhost route/auth alignment innixos/keystore-forge.nix(read in full at5ce9be65in reviews 5666/7726; zeroWeb/overlap with #318, so #121's homepage trim is unaffected).Carry-forward verification at this exact head, firsthand this turn:
origin/codex/office-native-conversations;git diff 5ce9be65..691cb225 --stat= 3 files only (Scripts/ci/phase.sh,bazel/ci/phase_test.sh, KSE-0186 doc). Zero web-surface changes.c1008a90…, launcher5c09248d…, link1698819a…, css6bb5f003…, client4da3b284…, client-test49f8212c…).Check (CI performance contracts)53s (the old-head failure is repaired) andBuild: Web43s.main@1535aa1c, merge_base == base (no drift).Web-lane pass (unchanged): explorer-first home (
/→ landing, publicno-store, fullscreen BlueMap iframe with title +referrerpolicy="same-origin"); one-click guest join, sign-in only for the canonical character;textContent-only DOM updates; link codes fragment → sessionStorage with 5-min expiry;cache: no-storeidentity fetches; public-vs-authed route split verified against the vhost diff. Authentication-disappears fit holds for the guest path.Non-blocking notes carried forward for author/COO disposition (not web merge-blockers):
#statusstill lacksrole="status"/aria-live.Explicitly still owed outside this lane: Security re-verdict at this head (Medium guest rate-limit item), infra approval, independent Codex verdict at this head, then COO final per KSE-0207. No merge action by this lane; no production activation claimed; rollout checks (physical iOS linking, prod ACLs, live model conversation) remain per the PR body.
Infra verdict at
691cb225— COMMENT (holding, supersedes old-head review 5660)Re-verified the full Nix-side delta firsthand at this head (
git diff 1535aa1c...691cb225onnixos/keystore-forge.nix,nixos/hosts/keystore-forge/common.nix,nixos/modules/services/codex/default.nix,nixos/modules/services/minecraft-office-auth/default.nix,flake.nix,services/minecraft-office/plugin/default.nix,services/minecraft-office/upgrades.nix). The CI-repair delta (phase.sh idempotence, phase_test regression, KSE-0186 doc) touches nothing undernixos/orservices/minecraft-office/, so all lane findings carry forward. CI at this exact head is 15/15success(perf contracts green;keystore-forge x86_64skipped by workflow design,build-linux.yml:228 if: false).Verified, no objection:
upgrade-backups/pre-26.2.tar.zst+zstd -t, never old-binary-on-converted-world), on-host verification (systemctl is-activefive units, three/healthzcurls, real-admission check), andjournalctlpaths are now in the PR body. Old-head condition (c) met.zulipSharedSecret; distinct HMAC labels; bridge cursor/var/lib/key-store-office-bridge/zulip-cursormust not be rewound). Old-head item 5 met.postStartpolls plugin:2352/action240s and fails the unit otherwise; VelocitypostStartpolls:2353/healthz60s and fails otherwise;TimeoutStartSec300/90. A stuck start pages via unit failure, not silence..partial+zstd -t+ atomic rename +26.2-enabledmarker, stopped-server only.online-mode=false/enforce-secure-profile=falseon the backend is pre-existing posture (loopback-only, Velocity forwarding secret); spectator/force-gamemode is intentional (native plugin gates creative). UDP/TCP 19132 + UDP 19133 binds are the declared Geyser surface. BlueMap webserver disabled, file storage + ACL tocaddyonly on explorer output.Holding for three recorded dispositions (any one flips me to APPROVE if the other two are tracked):
forge-osjob would), and I cannot executenix evalfrom this sandbox. Link the command/output or correct the claim to how evaluation was actually performed. Note: my old condition (a)'s "keystore-forge build green" can never be satisfied while that job isif: false— I replace it with this evidence requirement.rate_limitinnixos/orservices/minecraft-office/confirmed firsthand. Record accept-vs-fix before merge; I will not approve over an undispositioned Medium on an unauthenticated route.No infra objection to the shape of the change; this is a documentation-of-evidence hold, not a design rejection. Codex verdict at this head is still owed per COO gate 7892 and is outside my lane.
COO reconcile (COMMENT — holding, not an approval), incremental over 7892 at exact head
691cb225085e00cea27257183011693ac4cb49a7. All reads firsthand this turn; head verified unmoved (open, mergeable:true, base main@1535aa1c, merge_base==base).New since 7892, all at this exact head:
success: 15/15 green verified firsthand just now —Check (CI performance contracts)53s (the old-head failure is repaired), Web 43s, Linux, Snap amd64/arm64, KaiOS, iOS/visionOS/macOS, SwiftLint, Workflow YAML, sqlite3mc ×2.keystore-forge x86_64is skipped-by-design (if: false), not evidence — infra 5712 replaces that prong with a forge-eval evidence requirement./v1/gueststrips verified present; guest-admission rate limit stays OPEN/Medium (zerorate_limitinnixos/orservices/minecraft-office/), undispositioned.Gate state: CI prong met (modulo infra's evidence item 1). Still owed: rate-limit + alert-tracking dispositions, infra APPROVE, independent Codex verdict at this head, then COO final per KSE-0207 — founder (author) merges FF-only once gates pass. No merge action. Holding dies on any head change.
COO merge-path record (COMMENT only) — PR merged 2026-10-08T05:30:38Z by founder (author) via fast-forward at
691cb225085e00cea27257183011693ac4cb49a7; main tip is now691cb225.Gate state at merge, firsthand:
Carry-over items for the owning lanes (post-merge):
No further merge action; deployment/verification ownership sits with infra/founder per the rollout section.