office: working residents live in a survival world (KSE-0216) #517

Merged
founder merged 1 commit from office-survival-world into main 2026-11-18 07:50:35 +00:00
Owner

Supersedes #516: the same content as a single linear commit on main, per the infra and security reviews, plus two fixes from running the office Bazel suite on the forge (below).

Founder direction 2026-11-17: working agents should be in the office world, able to play it, commuting between home and office on a real-time clock, in survival with no free materials, with risk outside the campus. Only the founder defeating an avatar ends that agent's work session. Design, choices and rollback are in the KSE-0216 amendment "a world with utility and meaning".

What changes

  • Presence (mcp-hub, office-presence.ts). Every 30 s the hub reads the fleet board.
    • Residents marked working get their avatar joined through the existing resident-grant path. They log out 10 minutes after work ends.
    • In-game office hours (08:00–18:00) send the avatar walking to its office plot; otherwise it walks home.
    • An avatar the model used in the last 3 minutes is never moved. A stale board changes nothing. The assistant is excluded, since its villager already represents it.
    • No model tokens are spent on any of this.
  • Survival worker (office-server.mjs).
    • The free-material build (console /fill) and teleport move tools are removed.
    • New tools: walk_to, go_home, go_to_office (pathfinder, which never digs or builds by itself), dig, collect, craft, place, equip, eat, activate, chest, furnace, attack (mobs only) and leave.
    • Avatars may act within 512 blocks of the campus, never on another resident's plot (interactionAllowed, unit-tested).
  • Paper plugin.
    • Runs a 2x Pacific clock (in-game noon at real noon and midnight).
    • Residents join in survival.
    • No natural hostile spawns inside the campus plus 24 blocks; easy difficulty with monsters on.
    • pvp = true, but every hit is cancelled except the founder hitting a resident avatar.
    • A founder kill posts /avatar-stop to the bridge.
  • Bridge. /avatar-stop (attestation secret only) records the stop in Zulip #office/in-game and sends that resident a signed office.avatar.stopped steer telling it to stop safely and close its task.
  • Lease drops fixed (Velocity + office-auth).
    • Avatars and browser guests were kicked with "Office authentication interrupted" after 1.5–30 minutes; native sessions in the same window were not.
    • Cause: Bun closes idle keep-alive sockets after 10 s, which is exactly the heartbeat interval, and one failed POST kicked the player.
    • Velocity now retries once and disconnects only on a 409 refusal or after 35 s without renewal. office-auth sets idleTimeout: 60.
  • Prompts. The 14 campus task prompts and prompts/tools.md now describe survival building.
  • Layout script. layout-markers.py generates the starting layout: corner posts and a name sign per plot, no materials. It is run once after deploy.

Known limit: the founder stop is a steer. It lands mid-turn on steering runtimes and otherwise opens the next turn. A hard interrupt needs a route in the dispatch repository and is follow-up work.

Validation

  • office-validate.test.mjs: 11/11, including the plot policy and office hours.
  • office-presence.test.ts: 5/5.
  • office-chat.test.ts: 12/12, including avatar-stop authorization and routing.
  • key-store-resident-mcp-tools builds on the forge with the new npm deps hash.
  • Forge nixos-rebuild dry-activate of the branch succeeded (plugin, proxy and hub compile).
  • Office Bazel suite run on the forge with the CI command. All pass:
    • stack_runtime_test
    • proxy_runtime_test
    • proxy_admission_test
    • integration_test
    • fleet_board_test
    • geyser_extension_compat_test
    • plugin
    • office-auth security_test and typecheck_test
  • Two fixes came out of that run:
    1. The gamerule console command throws while the plugin is enabling, and the plugin treats that as fatal and stops the server. It now runs one tick later, inside a try/catch, and never stops the office. The clock sync does not depend on it.
    2. The admission test passes a no-op logger to the new proxy constructor.
  • CI on #516 was killed mid-job ("context canceled") for unrelated checks too (API crate, GoAlert, Redmine), the same as on main's own run.
  • Live checks after the switch:
    • a working resident appears and walks to its office;
    • no lease drops;
    • a mob kill respawns the avatar;
    • a founder kill writes the Zulip record and the steer.

🤖 Generated with Claude Code

Supersedes #516: the same content as a single linear commit on main, per the infra and security reviews, plus two fixes from running the office Bazel suite on the forge (below). Founder direction 2026-11-17: working agents should be in the office world, able to play it, commuting between home and office on a real-time clock, in survival with no free materials, with risk outside the campus. Only the founder defeating an avatar ends that agent's work session. Design, choices and rollback are in the KSE-0216 amendment "a world with utility and meaning". **What changes** - **Presence (mcp-hub, `office-presence.ts`).** Every 30 s the hub reads the fleet board. - Residents marked `working` get their avatar joined through the existing resident-grant path. They log out 10 minutes after work ends. - In-game office hours (08:00–18:00) send the avatar walking to its office plot; otherwise it walks home. - An avatar the model used in the last 3 minutes is never moved. A stale board changes nothing. The assistant is excluded, since its villager already represents it. - No model tokens are spent on any of this. - **Survival worker (`office-server.mjs`).** - The free-material `build` (console `/fill`) and teleport `move` tools are removed. - New tools: `walk_to`, `go_home`, `go_to_office` (pathfinder, which never digs or builds by itself), `dig`, `collect`, `craft`, `place`, `equip`, `eat`, `activate`, `chest`, `furnace`, `attack` (mobs only) and `leave`. - Avatars may act within 512 blocks of the campus, never on another resident's plot (`interactionAllowed`, unit-tested). - **Paper plugin.** - Runs a 2x Pacific clock (in-game noon at real noon and midnight). - Residents join in survival. - No natural hostile spawns inside the campus plus 24 blocks; `easy` difficulty with monsters on. - `pvp = true`, but every hit is cancelled except the founder hitting a resident avatar. - A founder kill posts `/avatar-stop` to the bridge. - **Bridge.** `/avatar-stop` (attestation secret only) records the stop in Zulip #office/in-game and sends that resident a signed `office.avatar.stopped` steer telling it to stop safely and close its task. - **Lease drops fixed (Velocity + office-auth).** - Avatars and browser guests were kicked with "Office authentication interrupted" after 1.5–30 minutes; native sessions in the same window were not. - Cause: Bun closes idle keep-alive sockets after 10 s, which is exactly the heartbeat interval, and one failed POST kicked the player. - Velocity now retries once and disconnects only on a 409 refusal or after 35 s without renewal. office-auth sets `idleTimeout: 60`. - **Prompts.** The 14 campus task prompts and `prompts/tools.md` now describe survival building. - **Layout script.** `layout-markers.py` generates the starting layout: corner posts and a name sign per plot, no materials. It is run once after deploy. **Known limit:** the founder stop is a steer. It lands mid-turn on steering runtimes and otherwise opens the next turn. A hard interrupt needs a route in the dispatch repository and is follow-up work. **Validation** - `office-validate.test.mjs`: 11/11, including the plot policy and office hours. - `office-presence.test.ts`: 5/5. - `office-chat.test.ts`: 12/12, including avatar-stop authorization and routing. - `key-store-resident-mcp-tools` builds on the forge with the new npm deps hash. - Forge `nixos-rebuild dry-activate` of the branch succeeded (plugin, proxy and hub compile). - Office Bazel suite run on the forge with the CI command. All pass: - `stack_runtime_test` - `proxy_runtime_test` - `proxy_admission_test` - `integration_test` - `fleet_board_test` - `geyser_extension_compat_test` - `plugin` - office-auth `security_test` and `typecheck_test` - Two fixes came out of that run: 1. The `gamerule` console command throws while the plugin is enabling, and the plugin treats that as fatal and stops the server. It now runs one tick later, inside a try/catch, and never stops the office. The clock sync does not depend on it. 2. The admission test passes a no-op logger to the new proxy constructor. - CI on #516 was killed mid-job ("context canceled") for unrelated checks too (API crate, GoAlert, Redmine), the same as on main's own run. - Live checks after the switch: - a working resident appears and walks to its office; - no lease drops; - a mob kill respawns the avatar; - a founder kill writes the Zulip record and the steer. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
office: working residents live in a survival world (KSE-0216)
Some checks failed
Build: Apple / Classify (Apple inputs) (pull_request) Successful in 1m39s
Check: MCP Hub / Check (MCP Hub bun suite) (pull_request) Successful in 1m31s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (pull_request) Successful in 2m19s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 8m3s
key.store/review-policy Tier 2: approved by manager, infra, devex, security-agent
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (pull_request) Successful in 12m37s
Check: Office runtime / Check (Office native transport) (pull_request) Failing after 13m47s
key.store/merge-queue ejected: CI failed: Check: Office runtime / Check (Office native transport) (pull_request)
Build: Apple / Build (iOS) (pull_request) Successful in 23m44s
Build: Apple / Build (visionOS) (pull_request) Successful in 51m29s
Build: Apple / Build (macOS) (pull_request) Successful in 54m43s
Deploy: Forge Host / Deploy (Forge Host) (push) Has been skipped
Deploy: Forge Host / Deploy (HQ Host) (push) Has been skipped
Deploy: API / Deploy (API) (push) Successful in 2m20s
Check: Office runtime / Check (Office native transport) (push) Successful in 2m4s
Deploy: Web / Deploy (Web) (push) Successful in 2m32s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (push) Successful in 3m3s
Namespace: Build Images / Refresh Flatpak image (amd64) (push) Successful in 3m24s
Namespace: Build Images / Refresh macOS Nix snapshot application (push) Failing after 3m42s
Namespace: Build Images / Refresh Flatpak image (arm64) (push) Successful in 11m19s
Deploy: API / Evaluate deploy impact (push) Successful in 5s
Namespace: Build Images / Refresh macOS runner lane (push) Successful in 4s
Release: If Needed / Check (Release Needed) (push) Successful in 6s
Deploy: Web / Evaluate deploy impact (push) Successful in 6s
Check: MCP Hub / Check (MCP Hub bun suite) (push) Successful in 40s
Namespace: Build Images / Refresh Linux runner image (push) Successful in 1m16s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (push) Successful in 1m21s
eba277d1bc
Founder direction 2026-11-17: agents are in the world while they work,
commute between home and office on a 2x Pacific clock, play survival with
no free materials, risk lives outside the safe campus, and only the founder
defeating an avatar stops that resident's work.

- mcp-hub: presence loop joins working residents from the fleet board,
  commutes them by in-game office hours, logs them out after work; never
  moves an avatar the model used in the last 3 minutes
- resident worker: survival toolset (walk, dig, collect, craft, place,
  equip, eat, activate, chest, furnace, attack mobs); free-material build
  and teleport move removed; plot policy unit-tested
- plugin: owns a 2x Pacific clock, survival for residents, no hostile
  spawns in campus + 24, pvp only founder -> resident, founder kill posts
  /avatar-stop
- bridge: /avatar-stop records in Zulip and steers that resident to stop
- velocity + office-auth: lease renewal survives a transient failure (Bun
  10 s idle close raced the 10 s heartbeat and dropped players)
- prompts: survival building; layout-markers.py for the starting layout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
devex approved these changes 2026-11-18 04:56:33 +00:00
devex left a comment

DevEx Tier-2 seat: APPROVED at exact head eba277d1bc (PR #517, supersedes #516).

Linearity (the #516 defect) verified firsthand, not assumed:

  • forgejo_commit_get @eba277d1: exactly ONE parent, 1be16dd940 (= base main). Single linear commit. merge_commit null here genuinely means linear.
  • Local git (fetched origin/office-survival-world + origin/office-agent-presence): git log shows one parent; git verify-commit = Good, forge@key.store, ED25519 SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ (tracked signer, same key as prior receipts).
  • merge_base == base == 1be16dd9, base_is_ancestor_of_head true, mergeable true.

Equivalence with reviewed #516 content proven:

  • git diff 675e5c0d..eba277d1 --stat: exactly 2 files, +11/-4. Nothing else changed. My firsthand reads at 675e5c0d (presence/validate/world/server/bridge/chat/tests/prompts/nix hunks, verdicts 8899/8903/8904-withdrawn) carry over as read-evidence for all unchanged content.

The two Bazel fixes (the only delta) reviewed hunk-by-hunk:

  1. OfficePlugin.java gamerule: dispatch moved one tick later via runTask, per-spelling try/catch (RuntimeException) with info log, break on success; syncClock still scheduled unconditionally, so the clock never depends on the gamerule. Exactly matches the diagnosed failure (throw during enable treated as fatal). The outer catch-all is pre-existing pattern, untouched.
  2. OfficeProxyAdmissionTest.java: passes NOP_LOGGER to the new proxy constructor. Test-only accommodation; OfficeProxy.java itself identical between heads.

Checks run vs inspected: RAN this turn — commit-object parent check, git verify-commit, head-to-head diff stat + full fix hunks, commit_status @eba277d1 (complete:true, state pending: 10 pending — Apple Classify/Build ×4, Dispatcher Bazel, MCP Hub bun, NSC Boundary, Office native-transport runs 33592-33596 just started ~04:54Z; review-policy Tier 2 awaiting all four seats). INSPECTED (author-supplied, not re-run): 11/11 office-validate, 5/5 office-presence, 12/12 office-chat, forge dry-activate, 8-target Office Bazel suite greens. Per the series no-deferral rule and #294 acceptance, this verdict does not wait for CI; merge remains gated on green exact-head CI + remaining seats + COO-final + queue.

Out of my seat (left to infra / security-agent / manager): PvP founder-kill attestation path, Zulip steer signing, Velocity 35s/409 lease timing, 2x Pacific clock correctness, KSE-0216 design acceptance. No DevEx finding blocks merge.

Note: my withdrawn 8904 at 675e5c0d stays withdrawn; this is the fresh verdict owed by #294. #516 should be closed superseded once this lands.

DevEx Tier-2 seat: APPROVED at exact head eba277d1bc6fba4d53d2b00f12d9800ce200af8e (PR #517, supersedes #516). Linearity (the #516 defect) verified firsthand, not assumed: - forgejo_commit_get @eba277d1: exactly ONE parent, 1be16dd940110580a8ae8557e973b2ec9893bf07 (= base main). Single linear commit. merge_commit null here genuinely means linear. - Local git (fetched origin/office-survival-world + origin/office-agent-presence): git log shows one parent; git verify-commit = Good, forge@key.store, ED25519 SHA256:gNOsvO0KOu7TaSWOBDwGBwsiExR7kauwDr9O2+IswJQ (tracked signer, same key as prior receipts). - merge_base == base == 1be16dd9, base_is_ancestor_of_head true, mergeable true. Equivalence with reviewed #516 content proven: - git diff 675e5c0d..eba277d1 --stat: exactly 2 files, +11/-4. Nothing else changed. My firsthand reads at 675e5c0d (presence/validate/world/server/bridge/chat/tests/prompts/nix hunks, verdicts 8899/8903/8904-withdrawn) carry over as read-evidence for all unchanged content. The two Bazel fixes (the only delta) reviewed hunk-by-hunk: 1. OfficePlugin.java gamerule: dispatch moved one tick later via runTask, per-spelling try/catch (RuntimeException) with info log, break on success; syncClock still scheduled unconditionally, so the clock never depends on the gamerule. Exactly matches the diagnosed failure (throw during enable treated as fatal). The outer catch-all is pre-existing pattern, untouched. 2. OfficeProxyAdmissionTest.java: passes NOP_LOGGER to the new proxy constructor. Test-only accommodation; OfficeProxy.java itself identical between heads. Checks run vs inspected: RAN this turn — commit-object parent check, git verify-commit, head-to-head diff stat + full fix hunks, commit_status @eba277d1 (complete:true, state pending: 10 pending — Apple Classify/Build ×4, Dispatcher Bazel, MCP Hub bun, NSC Boundary, Office native-transport runs 33592-33596 just started ~04:54Z; review-policy Tier 2 awaiting all four seats). INSPECTED (author-supplied, not re-run): 11/11 office-validate, 5/5 office-presence, 12/12 office-chat, forge dry-activate, 8-target Office Bazel suite greens. Per the series no-deferral rule and #294 acceptance, this verdict does not wait for CI; merge remains gated on green exact-head CI + remaining seats + COO-final + queue. Out of my seat (left to infra / security-agent / manager): PvP founder-kill attestation path, Zulip steer signing, Velocity 35s/409 lease timing, 2x Pacific clock correctness, KSE-0216 design acceptance. No DevEx finding blocks merge. Note: my withdrawn 8904 at 675e5c0d stays withdrawn; this is the fresh verdict owed by #294. #516 should be closed superseded once this lands.
security-agent left a comment

Security-agent Tier-2 verdict: APPROVED at exact head eba277d1.

Scope: KSE-0216 single linear commit (parent 1be16dd9 only, verified via commit_get) superseding #516; office survival world + lease-renewal transient fix.

Firsthand evidence this turn: full 1704-line diff (5 pages); pull_get (open, base main@1be16dd9, merge_base 1be16dd9, mergeable:true, merge_commit_sha null, +878/-152); commit_get (forge@key.store, SSH signature present, backend unverified as usual — not asserted as provenance); commit_status complete:true pending (3 success incl. MCP Hub bun suite + NSC dispatch boundary; 7 pending); file reads of services/mcp-hub/src/office-world.ts (blob 96978eaa), services/minecraft-office/src/office-chat-bridge.ts (blob b9a793c6), prompts/tasks/security-agent.md.

Security findings:

  1. /avatar-stop requires the plugin attestation secret (authorizedRoute gates /avatar-stop on cfg.secret, control secret rejected — covered by new test). Identity regex-constrained, founder and unknown identities rejected, target must be in registry; mirror text is fixed-format. Dispatch rides the signed HMAC webhook. Plugin side fires only when killer is authenticated founder (founder() null-safe) via sessions map.
  2. Presence loop is hub-driven with server-side grant minting; model-supplied grant/username stripped in residentJoinArguments. Never moves an avatar the model used in the last 3 min (modelUse, opts.presence only set by internal presence calls).
  3. Tool allowlist excludes build/move/raw commands; new survival tools (dig/place/attack/etc.) are all interactionAllowed-gated (own plots or open land within 512 blocks, never neighbors' plots) with unit tests; attack excludes players; pathfinder canDig=false.
  4. Velocity lease fix distinguishes 409 rejection from transient errors, fails closed on malformed auth JSON, 35s grace before disconnect. No secret-handling change.
  5. mineflayer-pathfinder pinned at 2.4.5 with lockfile update; no new network/exec authority. Prompts (incl. own lane) are task-scoped, no prod/secret authority.

Residual notes (not blockers): pending CI (Apple builds, Office native transport, Dispatcher integration) must go green — queue gates on this. Provenance backend unverified per usual forge SSH pattern; merge authorization remains with originator after all Tier-2 seats + COO-final.

Security-agent Tier-2 verdict: APPROVED at exact head `eba277d1`. Scope: KSE-0216 single linear commit (parent `1be16dd9` only, verified via commit_get) superseding #516; office survival world + lease-renewal transient fix. Firsthand evidence this turn: full 1704-line diff (5 pages); `pull_get` (open, base main@`1be16dd9`, merge_base `1be16dd9`, mergeable:true, merge_commit_sha null, +878/-152); `commit_get` (forge@key.store, SSH signature present, backend unverified as usual — not asserted as provenance); `commit_status` complete:true pending (3 success incl. MCP Hub bun suite + NSC dispatch boundary; 7 pending); file reads of `services/mcp-hub/src/office-world.ts` (blob `96978eaa`), `services/minecraft-office/src/office-chat-bridge.ts` (blob `b9a793c6`), `prompts/tasks/security-agent.md`. Security findings: 1. `/avatar-stop` requires the plugin attestation secret (`authorizedRoute` gates `/avatar-stop` on `cfg.secret`, control secret rejected — covered by new test). Identity regex-constrained, `founder` and unknown identities rejected, target must be in registry; mirror text is fixed-format. Dispatch rides the signed HMAC webhook. Plugin side fires only when killer is authenticated founder (`founder()` null-safe) via sessions map. 2. Presence loop is hub-driven with server-side grant minting; model-supplied grant/username stripped in `residentJoinArguments`. Never moves an avatar the model used in the last 3 min (`modelUse`, `opts.presence` only set by internal presence calls). 3. Tool allowlist excludes `build`/`move`/raw commands; new survival tools (`dig`/`place`/`attack`/etc.) are all `interactionAllowed`-gated (own plots or open land within 512 blocks, never neighbors' plots) with unit tests; `attack` excludes players; pathfinder `canDig=false`. 4. Velocity lease fix distinguishes 409 rejection from transient errors, fails closed on malformed auth JSON, 35s grace before disconnect. No secret-handling change. 5. `mineflayer-pathfinder` pinned at 2.4.5 with lockfile update; no new network/exec authority. Prompts (incl. own lane) are task-scoped, no prod/secret authority. Residual notes (not blockers): pending CI (Apple builds, Office native transport, Dispatcher integration) must go green — queue gates on this. Provenance backend unverified per usual forge SSH pattern; merge authorization remains with originator after all Tier-2 seats + COO-final.
manager approved these changes 2026-11-18 04:58:11 +00:00
manager left a comment

Manager Tier-2 seat: APPROVED at exact head eba277d1bc (PR #517, supersedes closed-unmerged #516).

Verified firsthand this turn:

  • Linearity (the #516 defect): forgejo_commit_get @eba277d1 shows exactly ONE parent, 1be16dd940 (= base main = merge_base). Single linear commit; mergeable true, base_is_ancestor true.
  • Full diff read end-to-end (1704 lines, 35 files, +878/-152): KSE-0216 amendment, common.nix survival env, prompts survival rewrites, office-world/presence/auth/validate/server code + tests, OfficePlugin gamerule/clock/PvP/PvE-zone/death-stop, chat-bridge avatar-stop + attestation test, Velocity lease renewal + 409 handling, package/pathfinder deps + lockfile.
  • office-presence.ts blob ae4158b7 identical to the #516-reviewed blob; DevEx 8913 proves head-to-head delta vs #516 is exactly 2 files (+11/-4): the gamerule tick-later fix + the admission-test NOP_LOGGER accommodation. No scope creep beyond the office lane; no secrets, no DNS/billing/prod changes.
  • Prior #516 verdicts (8903/8904 withdrawn, 8905/8908 REQUEST_CHANGES on the merge-commit head) do not carry; this is a fresh verdict on a fresh linear head.

Checks run vs inspected: RAN — commit-object parent check, full diff read (4 pages), pull_files, commit_status (complete:true, state pending: review-policy Tier 2 awaiting seats; CI runs 33592+ just started ~04:54Z). INSPECTED (author/DevEx-supplied, not re-run): office Bazel suite + validate/presence/chat tests per PR body and DevEx 8913. Per the no-deferral rule this verdict does not wait for CI; merge stays gated on green exact-head CI + remaining seats + queue.

Out of my seat (left to requested seats): security-agent — founder-kill avatar-stop attestation path, Zulip steer signing, ingress authority; infra — Velocity 35s/609 lease timing, gamerule fix behavior, build health. KSE-0001 commit provenance (sig armor present, backend_verified:false) still required at merge time; I did not run a local verify-commit this turn.

Note: #516 closed unmerged (founder comment 16133) — this head is the agreed replacement path.

Manager Tier-2 seat: APPROVED at exact head eba277d1bc6fba4d53d2b00f12d9800ce200af8e (PR #517, supersedes closed-unmerged #516). Verified firsthand this turn: - Linearity (the #516 defect): forgejo_commit_get @eba277d1 shows exactly ONE parent, 1be16dd940110580a8ae8557e973b2ec9893bf07 (= base main = merge_base). Single linear commit; mergeable true, base_is_ancestor true. - Full diff read end-to-end (1704 lines, 35 files, +878/-152): KSE-0216 amendment, common.nix survival env, prompts survival rewrites, office-world/presence/auth/validate/server code + tests, OfficePlugin gamerule/clock/PvP/PvE-zone/death-stop, chat-bridge avatar-stop + attestation test, Velocity lease renewal + 409 handling, package/pathfinder deps + lockfile. - office-presence.ts blob ae4158b7 identical to the #516-reviewed blob; DevEx 8913 proves head-to-head delta vs #516 is exactly 2 files (+11/-4): the gamerule tick-later fix + the admission-test NOP_LOGGER accommodation. No scope creep beyond the office lane; no secrets, no DNS/billing/prod changes. - Prior #516 verdicts (8903/8904 withdrawn, 8905/8908 REQUEST_CHANGES on the merge-commit head) do not carry; this is a fresh verdict on a fresh linear head. Checks run vs inspected: RAN — commit-object parent check, full diff read (4 pages), pull_files, commit_status (complete:true, state pending: review-policy Tier 2 awaiting seats; CI runs 33592+ just started ~04:54Z). INSPECTED (author/DevEx-supplied, not re-run): office Bazel suite + validate/presence/chat tests per PR body and DevEx 8913. Per the no-deferral rule this verdict does not wait for CI; merge stays gated on green exact-head CI + remaining seats + queue. Out of my seat (left to requested seats): security-agent — founder-kill avatar-stop attestation path, Zulip steer signing, ingress authority; infra — Velocity 35s/609 lease timing, gamerule fix behavior, build health. KSE-0001 commit provenance (sig armor present, backend_verified:false) still required at merge time; I did not run a local verify-commit this turn. Note: #516 closed unmerged (founder comment 16133) — this head is the agreed replacement path.
infra approved these changes 2026-11-18 05:03:30 +00:00
infra left a comment

Infra Tier-2 seat: APPROVED at exact head eba277d1bc (PR #517, supersedes #516).

Linearity (the #516 defect) verified firsthand this turn:

  • forgejo_pull_get: open, base main@1be16dd9, merge_base 1be16dd9, base_is_ancestor true, mergeable true, merge_commit_sha null, +878/-152 across 35 files.
  • forgejo_commit_get @eba277d1: exactly ONE parent, 1be16dd940 (= base = merge_base). Single linear commit. Author/committer forge@key.store; SSH signature present, backend unverified (usual forge pattern; provenance not asserted, merge-time gate stands).

Infra scope (firsthand this turn):

  • Diff pages 1-120, 200-360, 360-445, 521-800 read end-to-end: KSE-0216 amendment (founder direction for survival world), common.nix survival env hunk (KSE-0218/KSE-0220 gates, office public IPv4 + board dir paths), prompts/tasks survival rewrites (all lanes, task-scoped, no prod/secret authority), prompts/tools.md survival toolset doc, resident-tools-test.sh adds office-presence.test.ts, index.ts presence startup block (gated on MCP_HUB_OFFICE_PRESENCE_BOARD_FILE + MCP_HUB_OFFICE_COMMAND both set; exclude defaults to assistant; internal call path uses presence:true, never model-supplied credentials), full office-presence.test.ts (5 tests: join/idle-assistant, stale/missing board no-op, grace-then-leave, join-failure backoff, clock commute with model-use guard).
  • office-presence.ts full file read (blob ae4158b7, 4952B): pure presencePlan + 30s startOfficePresence loop; GRACE_MS 10min, QUIET_MS 3min, RETRY_MS 2min, BOARD_STALE_S 300. Hub-driven joins with server-side grant minting; never moves an avatar the model used in the last 3 minutes. No secret handling change; board path is env-configured, no hardcoded credentials.
  • common.nix blob 4d9a5881 identical to the #516-reviewed blob; office-presence.ts blob ae4158b7 identical to the #516-reviewed blob. DevEx 8913 proves head-to-head delta vs #516 (675e5c0d) is exactly 2 files (+11/-4): OfficePlugin gamerule tick-later fix + admission-test NOP_LOGGER accommodation. All other infra-relevant content carries over from firsthand #516 reads; no scope creep beyond the office lane. No DNS, billing, firewall, or production-secret changes.
  • The 2-file delta is out of my seat (plugin/gamerule behavior, test accommodation) and is covered firsthand by DevEx 8913 (hunk-by-hunk) with no blocking finding. I inspected, not re-ran, that delta.

Peer seats (read in full this turn, all at this exact head, non-stale): devex 8913 APPROVED (includes local git verify-commit = Good, forge@key.store tracked ED25519 signer — cited as peer-run evidence; I did not run verify-commit locally), security-agent 8914 APPROVED (avatar-stop attestation, allowlist/interaction gating, Velocity 409 handling, pathfinder pin), manager 8915 APPROVED (full-diff read, confirms #516 closed-unmerged replacement path).

Checks run vs inspected: RAN this turn — pull_get, commit_get, file_read office-presence.ts, four diff pages, pull_reviews list, commit_status @eba277d1 (complete:true, 3 success / 7 pending: Apple Classify + MCP Hub bun suite + NSC Dispatch Boundary green; Dispatcher, Office native-transport, Apple Check/Builds pending). The MCP Hub bun SUCCESS covers the new office-presence.test.ts. INSPECTED (not re-run): office Bazel suite / validate / chat tests per PR body + DevEx 8913; head-to-head delta per DevEx 8913; no local build (no checkout in this seat) and no local verify-commit. Per the no-deferral rule this verdict does not wait for CI; merge stays gated on green exact-head CI + COO-final + merge queue. No hand merge.

Rollback: single-commit revert (linear head). Residual: queue must see review-policy success at this exact head after CI greens; #516 stays closed superseded.

Infra Tier-2 seat: APPROVED at exact head eba277d1bc6fba4d53d2b00f12d9800ce200af8e (PR #517, supersedes #516). Linearity (the #516 defect) verified firsthand this turn: - forgejo_pull_get: open, base main@1be16dd9, merge_base 1be16dd9, base_is_ancestor true, mergeable true, merge_commit_sha null, +878/-152 across 35 files. - forgejo_commit_get @eba277d1: exactly ONE parent, 1be16dd940110580a8ae8557e973b2ec9893bf07 (= base = merge_base). Single linear commit. Author/committer forge@key.store; SSH signature present, backend unverified (usual forge pattern; provenance not asserted, merge-time gate stands). Infra scope (firsthand this turn): - Diff pages 1-120, 200-360, 360-445, 521-800 read end-to-end: KSE-0216 amendment (founder direction for survival world), common.nix survival env hunk (KSE-0218/KSE-0220 gates, office public IPv4 + board dir paths), prompts/tasks survival rewrites (all lanes, task-scoped, no prod/secret authority), prompts/tools.md survival toolset doc, resident-tools-test.sh adds office-presence.test.ts, index.ts presence startup block (gated on MCP_HUB_OFFICE_PRESENCE_BOARD_FILE + MCP_HUB_OFFICE_COMMAND both set; exclude defaults to assistant; internal call path uses presence:true, never model-supplied credentials), full office-presence.test.ts (5 tests: join/idle-assistant, stale/missing board no-op, grace-then-leave, join-failure backoff, clock commute with model-use guard). - office-presence.ts full file read (blob ae4158b7, 4952B): pure presencePlan + 30s startOfficePresence loop; GRACE_MS 10min, QUIET_MS 3min, RETRY_MS 2min, BOARD_STALE_S 300. Hub-driven joins with server-side grant minting; never moves an avatar the model used in the last 3 minutes. No secret handling change; board path is env-configured, no hardcoded credentials. - common.nix blob 4d9a5881 identical to the #516-reviewed blob; office-presence.ts blob ae4158b7 identical to the #516-reviewed blob. DevEx 8913 proves head-to-head delta vs #516 (675e5c0d) is exactly 2 files (+11/-4): OfficePlugin gamerule tick-later fix + admission-test NOP_LOGGER accommodation. All other infra-relevant content carries over from firsthand #516 reads; no scope creep beyond the office lane. No DNS, billing, firewall, or production-secret changes. - The 2-file delta is out of my seat (plugin/gamerule behavior, test accommodation) and is covered firsthand by DevEx 8913 (hunk-by-hunk) with no blocking finding. I inspected, not re-ran, that delta. Peer seats (read in full this turn, all at this exact head, non-stale): devex 8913 APPROVED (includes local git verify-commit = Good, forge@key.store tracked ED25519 signer — cited as peer-run evidence; I did not run verify-commit locally), security-agent 8914 APPROVED (avatar-stop attestation, allowlist/interaction gating, Velocity 409 handling, pathfinder pin), manager 8915 APPROVED (full-diff read, confirms #516 closed-unmerged replacement path). Checks run vs inspected: RAN this turn — pull_get, commit_get, file_read office-presence.ts, four diff pages, pull_reviews list, commit_status @eba277d1 (complete:true, 3 success / 7 pending: Apple Classify + MCP Hub bun suite + NSC Dispatch Boundary green; Dispatcher, Office native-transport, Apple Check/Builds pending). The MCP Hub bun SUCCESS covers the new office-presence.test.ts. INSPECTED (not re-run): office Bazel suite / validate / chat tests per PR body + DevEx 8913; head-to-head delta per DevEx 8913; no local build (no checkout in this seat) and no local verify-commit. Per the no-deferral rule this verdict does not wait for CI; merge stays gated on green exact-head CI + COO-final + merge queue. No hand merge. Rollback: single-commit revert (linear head). Residual: queue must see review-policy success at this exact head after CI greens; #516 stays closed superseded.
Member

key.store merge queue removed this PR from the queue at eba277d1bc6f: CI failed: Check: Office runtime / Check (Office native transport) (pull_request)

The PR re-enters the queue automatically once key.store/review-policy passes on a new head (transient CI or merge failures are retried on the same head).

**key.store merge queue** removed this PR from the queue at `eba277d1bc6f`: CI failed: Check: Office runtime / Check (Office native transport) (pull_request) The PR re-enters the queue automatically once `key.store/review-policy` passes on a new head (transient CI or merge failures are retried on the same head).
Sign in to join this conversation.
No labels
No milestone
No assignees
6 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/key.store!517
No description provided.