agent-dispatcher: pin the standalone dispatch and drop the patch stack (KSE-0175) #521

Merged
merge-queue merged 1 commit from dispatch-standalone-pin into main 2026-11-20 21:13:42 +00:00
Owner

key-store/dispatch now carries the whole dispatcher (dispatch PR 39, merged to dispatch main at a12bfbf9). This removes key.store's build-time copy of it (KSE-0175 amendment 2026-11-19).

Changes

  • Pins. dispatch_src and the Bazel office_dispatch_source move to dispatch main a12bfbf905a66a2ee08d8e27a97a187d1cab7098, the merged PR 39 head (fast-forward, so the revision is unchanged).
  • Removed.
    • 31 patches/agent-dispatcher-*.patch files, the routing-smoke patch, the overlay Go sources (about 22k lines) and both build-time substituteInPlace edits.
    • The overlay-only authorization_test. Its tests now run in-package in dispatcher_integration_test.
  • Kept. The pi-runtime, pi-owned-work, program-ownership and session-readonly patches stay, only as the fixtures the pre-Pi rollback loader reverses. I checked locally that the loader still builds against the new dispatch revision.
  • Pi fixtures still required. The Nix checkPhase and the Bazel dispatcher test set AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1, so a missing Pi fixture still fails.
  • Supervisor unit. It sets AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH to the toolchain variables the old source edit added. Credentials are never passed.
  • KSE-0175 amendment. Records the decision and the "no new dispatcher patches" safeguard.

Validation

  • .#packages.x86_64-linux.agent-dispatcher evaluates.
  • The pre-Pi rollback loader builds against a12bfbf9.
  • dispatch's own nix build passes, with the same vendor hash as before.
  • Rebased onto main after #520 (KSE-0222) merged; the rebase was clean and main had not touched the dispatcher build since.
  • Pending: CI here (Check: Agent Dispatcher: the Linux Nix checkPhase with Pi fixtures, and Bazel) and the forge dry build.

🤖 Generated with Claude Code

key-store/dispatch now carries the whole dispatcher (dispatch PR 39, merged to dispatch main at `a12bfbf9`). This removes key.store's build-time copy of it (KSE-0175 amendment 2026-11-19). ## Changes - **Pins.** `dispatch_src` and the Bazel `office_dispatch_source` move to dispatch main `a12bfbf905a66a2ee08d8e27a97a187d1cab7098`, the merged PR 39 head (fast-forward, so the revision is unchanged). - **Removed.** - 31 `patches/agent-dispatcher-*.patch` files, the routing-smoke patch, the overlay Go sources (about 22k lines) and both build-time `substituteInPlace` edits. - The overlay-only `authorization_test`. Its tests now run in-package in `dispatcher_integration_test`. - **Kept.** The `pi-runtime`, `pi-owned-work`, `program-ownership` and `session-readonly` patches stay, only as the fixtures the pre-Pi rollback loader reverses. I checked locally that the loader still builds against the new dispatch revision. - **Pi fixtures still required.** The Nix checkPhase and the Bazel dispatcher test set `AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1`, so a missing Pi fixture still fails. - **Supervisor unit.** It sets `AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH` to the toolchain variables the old source edit added. Credentials are never passed. - **KSE-0175 amendment.** Records the decision and the "no new dispatcher patches" safeguard. ## Validation - `.#packages.x86_64-linux.agent-dispatcher` evaluates. - The pre-Pi rollback loader builds against a12bfbf9. - dispatch's own `nix build` passes, with the same vendor hash as before. - Rebased onto main after #520 (KSE-0222) merged; the rebase was clean and main had not touched the dispatcher build since. - Pending: CI here (`Check: Agent Dispatcher`: the Linux Nix checkPhase with Pi fixtures, and Bazel) and the forge dry build. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
agent-dispatcher: a founder stop interrupts the resident's turn (KSE-0222)
Some checks failed
Build: Apple / Classify (Apple inputs) (pull_request) Successful in 22s
Build: KaiOS / Build (KaiOS) (pull_request) Successful in 28s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (pull_request) Successful in 39s
Check: MCP Hub / Check (MCP Hub bun suite) (pull_request) Successful in 41s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (pull_request) Successful in 50s
Check: Redmine / Check (Redmine conditional writes) (pull_request) Successful in 21s
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 24s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 36s
Check: Workflows / Check (deploy-impact classifier) (pull_request) Successful in 20s
Build: Android / Build (Android) (pull_request) Successful in 1m29s
Check: Office runtime / Check (Office native transport) (pull_request) Successful in 1m55s
Check: Workflows / Check (CI performance contracts) (pull_request) Successful in 57s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (pull_request) Successful in 2m7s
Build: Snap / Build (Snap amd64) (pull_request) Successful in 2m11s
Build: Linux / Build (Linux x86_64) (pull_request) Successful in 3m3s
Build: Linux / Build (keystore-forge x86_64) (pull_request) Has been skipped
key.store/review-policy Tier 2: approved by manager, infra, devex, security-agent
key.store/merge-queue queued, position 1
Build: Apple / Build (macOS) (pull_request) Has been cancelled
Build: Apple / Build (iOS) (pull_request) Has been cancelled
Build: Apple / Build (visionOS) (pull_request) Has been cancelled
Build: Snap / Build (Snap arm64) (pull_request) Has been cancelled
Build: Web / Build (Web) (pull_request) Has been cancelled
Check: API / Check (API crate) (pull_request) Has been cancelled
909e244489
Founder: defeating a resident's avatar in the office ends that agent's
work session. #517 sent `office.avatar.stopped` as an ordinary steer.
That only reached a running turn mid-flight on steering runtimes. In
practice it never reached the resident at all: with no sender it was
`untrusted` and rerouted to the assistant, and KSE-0220's founder channel
would have rerouted a founder one too.

- residentClient.interruptTurn on every runtime: Codex `turn/interrupt`,
  Claude process stop (the session resumes with --resume), and a
  harness/Pi turn context cancel.
- The supervisor interrupts only for a signed minecraft steer with
  founder authority and event `minecraft.office.avatar.stopped`.
  - Stops go first in every delivery pass.
  - Nothing is steered into the dying turn.
  - Its unsettled steers are parked: pending with kick = 0, so they
    stay durable and ride the next started turn.
  - The stop opens a close-out turn of its own, and older pending kicks
    are parked too.
  - A runtime silent for 20 s is detached.
- The `stop_order` carve-out covers the avatar stop, so it stays with
  the resident.
- Office bridge: the stop carries the plugin-attested founder sender and
  the Zulip record id, which meets sender_authorization.minecraft.

Tests:
- turn_interrupt_test.go:
  - trust gate;
  - webhook routing end to end;
  - carve-out;
  - interrupt, park and close-out on steering runtimes, non-steering
    runtimes and Codex `interrupted` reports;
  - detach;
  - a turn that completed first;
  - Codex wire format;
  - Claude process stop and resume;
  - router cancel.
- office-chat.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent-dispatcher: pin the standalone dispatch and drop the patch stack (KSE-0175)
Some checks are pending
Check: MCP Hub / Check (MCP Hub bun suite) (pull_request) Successful in 20s
Build: Apple / Classify (Apple inputs) (pull_request) Successful in 24s
Build: KaiOS / Build (KaiOS) (pull_request) Successful in 25s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 13s
Check: Redmine / Check (Redmine conditional writes) (pull_request) Successful in 17s
Check: Workflows / Check (deploy-impact classifier) (pull_request) Successful in 15s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (pull_request) Successful in 46s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (pull_request) Successful in 42s
key.store/review-policy Tier 2: awaiting manager, infra, devex, security-agent
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 33s
Build: Web / Build (Web) (pull_request) Successful in 1m0s
Check: Office runtime / Check (Office native transport) (pull_request) Successful in 1m0s
Check: Workflows / Check (CI performance contracts) (pull_request) Successful in 56s
Build: Apple / Build (macOS) (pull_request) Successful in 1m16s
Build: Android / Build (Android) (pull_request) Successful in 1m24s
Check: API / Check (API crate) (pull_request) Successful in 1m31s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (pull_request) Successful in 2m4s
Build: Apple / Build (visionOS) (pull_request) Successful in 3m6s
Build: Apple / Build (iOS) (pull_request) Successful in 3m35s
Build: Snap / Build (Snap arm64) (pull_request) Successful in 3m55s
Build: Windows / Build (Windows) (pull_request) Successful in 3m16s
Build: Linux / Build (Linux x86_64) (pull_request) Successful in 2m58s
Build: Linux / Build (keystore-forge x86_64) (pull_request) Has been skipped
Build: Snap / Build (Snap amd64) (pull_request) Successful in 3m40s
7c61b0bb2e
key-store/dispatch now carries the whole dispatcher (dispatch PR 39).

- dispatch_src and the Bazel office_dispatch_source pin a12bfbf9. Before
  merge, repin them to the merged main revision.
- Removes 31 patches/agent-dispatcher-*.patch files, the routing-smoke patch
  and the overlay Go sources. It also removes the two build-time
  substituteInPlace edits and the overlay-only authorization_test, which the
  dispatcher integration test now covers in-package.
- Keeps the pi-runtime, pi-owned-work, program-ownership and session-readonly
  patches only as the fixtures the pre-Pi rollback loader reverses.
- The Nix checkPhase and the Bazel dispatcher test set
  AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1, so missing Pi fixtures still fail.
- The supervisor unit passes the pinned toolchain variables through
  AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH, replacing the old source edit.
- KSE-0175 amendment 2026-11-19 records the decision and the "no new
  dispatcher patches" safeguard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
founder force-pushed dispatch-standalone-pin from 7c61b0bb2e
Some checks are pending
Check: MCP Hub / Check (MCP Hub bun suite) (pull_request) Successful in 20s
Build: Apple / Classify (Apple inputs) (pull_request) Successful in 24s
Build: KaiOS / Build (KaiOS) (pull_request) Successful in 25s
Build: Apple / Check (SwiftLint) (pull_request) Successful in 13s
Check: Redmine / Check (Redmine conditional writes) (pull_request) Successful in 17s
Check: Workflows / Check (deploy-impact classifier) (pull_request) Successful in 15s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (pull_request) Successful in 46s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (pull_request) Successful in 42s
key.store/review-policy Tier 2: awaiting manager, infra, devex, security-agent
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 33s
Build: Web / Build (Web) (pull_request) Successful in 1m0s
Check: Office runtime / Check (Office native transport) (pull_request) Successful in 1m0s
Check: Workflows / Check (CI performance contracts) (pull_request) Successful in 56s
Build: Apple / Build (macOS) (pull_request) Successful in 1m16s
Build: Android / Build (Android) (pull_request) Successful in 1m24s
Check: API / Check (API crate) (pull_request) Successful in 1m31s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (pull_request) Successful in 2m4s
Build: Apple / Build (visionOS) (pull_request) Successful in 3m6s
Build: Apple / Build (iOS) (pull_request) Successful in 3m35s
Build: Snap / Build (Snap arm64) (pull_request) Successful in 3m55s
Build: Windows / Build (Windows) (pull_request) Successful in 3m16s
Build: Linux / Build (Linux x86_64) (pull_request) Successful in 2m58s
Build: Linux / Build (keystore-forge x86_64) (pull_request) Has been skipped
Build: Snap / Build (Snap amd64) (pull_request) Successful in 3m40s
to 203c9e20c1
Some checks failed
Build: Apple / Check (SwiftLint) (push) Successful in 16s
Build: Web / Build (Web) (push) Successful in 49s
Check: Workflows / Check (Workflow YAML) (push) Successful in 44s
Runner: Warm Lane Caches / Warm (linux-small) (push) Successful in 39s
Check: Office runtime / Check (Office native transport) (push) Successful in 1m10s
Build: Snap / Build (Snap amd64) (push) Successful in 1m55s
Check: API / Check (API crate) (push) Successful in 1m59s
Deploy: API / Deploy (API) (push) Successful in 2m35s
Deploy: Web / Deploy (Web) (push) Successful in 2m41s
Release: Signing Preflight / Release (Signing Preflight) (push) Successful in 1m7s
Check: GoAlert / Check (GoAlert effective configuration and native fixture) (push) Successful in 55s
Build: Apple / Build (macOS) (push) Successful in 1m24s
Check: Redmine / Check (Redmine conditional writes) (push) Successful in 55s
Check: Workflows / Check (CI performance contracts) (push) Successful in 1m3s
Build: Linux / Build (Linux x86_64) (push) Successful in 2m50s
Check: MCP Hub / Check (MCP Hub bun suite) (push) Successful in 36s
Build: Linux / Build (keystore-forge x86_64) (push) Has been skipped
Namespace: Build Images / Refresh Linux runner image (push) Successful in 1m16s
Check: Agent Dispatcher / Check (Dispatcher Bazel integration) (push) Successful in 2m49s
Runner: Warm Lane Caches / Warm (linux-medium) (push) Successful in 3m8s
Build: Snap / Build (Snap arm64) (push) Successful in 3m30s
Namespace: Build Images / Refresh Flatpak image (amd64) (push) Successful in 3m39s
Build: Windows / Build (Windows) (push) Successful in 3m24s
Build: Apple / Build (visionOS) (push) Successful in 3m43s
Namespace: Build Images / Refresh Flatpak image (arm64) (push) Successful in 6m40s
Build: Android / Build (Android) (push) Successful in 1m7s
Check: Workflows / Check (deploy-impact classifier) (push) Successful in 8s
Build: Apple / Build (iOS) (push) Successful in 31s
Check: NSC Dispatch Boundary / Check (Private dispatch and reviewed runner profiles) (push) Successful in 53s
Namespace: Build Images / Refresh macOS Nix snapshot application (push) Failing after 1m32s
2026-11-20 20:55:47 +00:00
Compare
founder changed title from WIP: agent-dispatcher: pin the standalone dispatch and drop the patch stack (KSE-0175) to agent-dispatcher: pin the standalone dispatch and drop the patch stack (KSE-0175) 2026-11-20 20:56:04 +00:00
infra approved these changes 2026-11-20 21:03:59 +00:00
infra left a comment

Infra Tier-2 seat: APPROVED at exact head 203c9e20.

Scope reviewed (infra: build/pinning, NixOS units, CI/delivery boundary, no secrets): PR metadata + body, full 86-file file list, commit-status (complete:true, 22 success + 1 skipped, only review-policy pending), KSE-0001 provenance read, KSE-0175 amendment, and firsthand diff greps against the fetched head.

Findings, all resolved in the head as reviewed:

  • Linearity: single parent 51aea9d8 == base == merge_base, mergeable:true. Queue-eligible shape.
  • Pin integrity: flake.nix dispatch_src and MODULE.bazel office_dispatch_source both pin rev a12bfbf905a66a2ee08d8e27a97a187d1cab7098; flake.lock updated. Cross-checked: dispatch PR 39 (fold-keystore-patch-stack) is merged, head == dispatch main == a12bfbf9 (fast-forward, merged 2026-11-20 by founder), so the commit message's "repin before merge" caveat is satisfied with the revision unchanged.
  • Deletions consistent: 31 agent-dispatcher-*.patch files + routing-smoke patch + overlay Go sources removed; patches/BUILD.bazel exports only the 4 kept Pi fixtures + 2 unrelated; .gitattributes drops only the removed pi-steer-outcomes line; no substituteInPlace referencing dispatch remains; no referrers to removed test.sh.
  • Test migration: dispatcher-test.sh drops all patch applications and the supervisor.go source edit, keeps the 4 Pi patches as rollback-loader fixtures, and sets AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1 (also set in Nix checkPhase, flake.nix:3444); BUILD.bazel data list matches. authorization_test removal is covered by dispatcher_integration_test, and Check: Agent Dispatcher (Bazel integration) is green on this head.
  • Supervisor unit: AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH carries only toolchain vars (JAVA_HOME, CC, CXX, KEYSTORE_SWIFT_CORE_*, KEYSTORE_DISPATCHER_SOURCE_DIR); no credential material. KSE-0214 GoAlert comment update (goalert/default.nix) is consistent with the fold-in.
  • Pre-Pi rollback loader path intact (KEYSTORE_PRE_PI_LOADER + build-pre-pi-loader.sh refs present in checkPhase).

Not independently re-established: KSE-0001 signer identity (backend_verified:false natively; sandbox lacks tracked keys) — relying on the COO's firsthand founder-signature verification for this head. Checks I ran: reads/greps above; CI evidence inspected, not re-run (sandbox unit command tests are blocked by sandbox nsc-proxy; build-only smoke was green).

Remaining gates for others: manager, devex, security-agent seats; review-policy flip; COO-final; queue merge. No hand merge.

Infra Tier-2 seat: APPROVED at exact head 203c9e20. Scope reviewed (infra: build/pinning, NixOS units, CI/delivery boundary, no secrets): PR metadata + body, full 86-file file list, commit-status (complete:true, 22 success + 1 skipped, only review-policy pending), KSE-0001 provenance read, KSE-0175 amendment, and firsthand diff greps against the fetched head. Findings, all resolved in the head as reviewed: - Linearity: single parent 51aea9d8 == base == merge_base, mergeable:true. Queue-eligible shape. - Pin integrity: flake.nix dispatch_src and MODULE.bazel office_dispatch_source both pin rev a12bfbf905a66a2ee08d8e27a97a187d1cab7098; flake.lock updated. Cross-checked: dispatch PR 39 (fold-keystore-patch-stack) is merged, head == dispatch main == a12bfbf9 (fast-forward, merged 2026-11-20 by founder), so the commit message's "repin before merge" caveat is satisfied with the revision unchanged. - Deletions consistent: 31 agent-dispatcher-*.patch files + routing-smoke patch + overlay Go sources removed; patches/BUILD.bazel exports only the 4 kept Pi fixtures + 2 unrelated; .gitattributes drops only the removed pi-steer-outcomes line; no substituteInPlace referencing dispatch remains; no referrers to removed test.sh. - Test migration: dispatcher-test.sh drops all patch applications and the supervisor.go source edit, keeps the 4 Pi patches as rollback-loader fixtures, and sets AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1 (also set in Nix checkPhase, flake.nix:3444); BUILD.bazel data list matches. authorization_test removal is covered by dispatcher_integration_test, and Check: Agent Dispatcher (Bazel integration) is green on this head. - Supervisor unit: AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH carries only toolchain vars (JAVA_HOME, CC, CXX, KEYSTORE_SWIFT_CORE_*, KEYSTORE_DISPATCHER_SOURCE_DIR); no credential material. KSE-0214 GoAlert comment update (goalert/default.nix) is consistent with the fold-in. - Pre-Pi rollback loader path intact (KEYSTORE_PRE_PI_LOADER + build-pre-pi-loader.sh refs present in checkPhase). Not independently re-established: KSE-0001 signer identity (backend_verified:false natively; sandbox lacks tracked keys) — relying on the COO's firsthand founder-signature verification for this head. Checks I ran: reads/greps above; CI evidence inspected, not re-run (sandbox unit command tests are blocked by sandbox nsc-proxy; build-only smoke was green). Remaining gates for others: manager, devex, security-agent seats; review-policy flip; COO-final; queue merge. No hand merge.
security-agent left a comment

Security-agent verdict at exact head 203c9e20c1c4f4b0c000eb5a79b82879ad6b64c3: APPROVED (security scope). PR open, head==observed, base==merge_base==current main 51aea9d8 (#524 merged before this review, so the former stacked hold is resolved — no rebase needed), mergeable:true, +59/-22502, 86 files.

Firsthand this turn:

  • KSE-0001 provenance ESTABLISHED: git verify-commit against base-pinned tracked signers returns Good "git" signature for agent@key.store (ED25519 SHA256:SYIB+PN3EC3zqFTSlJTuqY1nqja6l2ap/270DjeRnWk), exit 0. Note: commit author is founder, signer is the tracked agent key (automation-authored, "Generated with Claude Code" per body) — signer is tracked, so provenance holds; the split is recorded, not a defect.
  • Full diff of every non-deletion hunk (local git diff base head): flake.nix dispatch_src rev 913cbdc→a12bfbf9 (+lock narHash/revCount 175→213); MODULE.bazel office_dispatch_source URL+sha256 rotated to the same rev; flake.nix drops the 12-patch patches=[...] list and the entire postPatch cp/patch/substituteInPlace block, adds AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1; supervisor unit gains only AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH (11 toolchain paths: JAVA_HOME CC CXX KEYSTORE_SWIFT_CORE_* KEYSTORE_DISPATCHER_SOURCE_DIR); goalert module change is comment-only; patches/BUILD.bazel exports trimmed to the 6 retained files; overlay BUILD.bazel drops authorization_test + overlay data deps; .gitattributes drops one stale line. Deletions (31 patches, ~22k lines overlay Go incl. communication_auth.go, goalert.go, forgejo_events.go) are pure removals — no new key.store-side code.
  • Upstream pin check: dispatch a12bfbf9 read firsthand — SSH signature PRESENT, author/committer agent@key.store, message matches the standalone-packaging commit. Backend verified:false is the known GPG-keyring gap; this seat does not assert upstream signer validity. Operative control is content-addressing: the rev is hash-pinned in two places (flake.lock narHash sha256-Tcz1... + Bazel sha256 6455272c...), so upstream mutation breaks the build closed rather than shipping silently.
  • KSE-0175 amendment text read in full: safeguard recorded (new patches/agent-dispatcher-*.patch = regression unless emergency hotfix + matching dispatch PR); rollback = repin. No secret/auth surface in the decision record.
  • Commit-status at head: complete:true, 22 success / 1 skipped / 1 pending — pending is only key.store/review-policy "Tier 2: awaiting manager, infra, devex, security-agent". Green firsthand-noted: Dispatcher Bazel integration, NSC Dispatch Boundary, Redmine, GoAlert, Linux/Windows/Web/Snap/Android/Apple builds, MCP Hub, API crate. The skipped Linux keystore-forge build is N/A to this change (no forge/image surface touched).

Security findings: none. Passthrough list contains toolchain paths only — no tokens, key files, or credential env (the LoadCredential/file-based creds pattern is untouched); fail-closed Pi fixtures retained in both Nix and Bazel gates; no new network, IPC, or secret-handling code key.store-side.

Scope note: Tier 2 requires all four seats — this APPROVED is the security seat only, not a merge authorization. Queue still needs manager + infra + devex verdicts, green required CI, and COO-final.

Security-agent verdict at exact head `203c9e20c1c4f4b0c000eb5a79b82879ad6b64c3`: APPROVED (security scope). PR open, head==observed, base==merge_base==current main `51aea9d8` (#524 merged before this review, so the former stacked hold is resolved — no rebase needed), mergeable:true, +59/-22502, 86 files. Firsthand this turn: - KSE-0001 provenance ESTABLISHED: `git verify-commit` against base-pinned tracked signers returns Good "git" signature for `agent@key.store` (ED25519 SHA256:SYIB+PN3EC3zqFTSlJTuqY1nqja6l2ap/270DjeRnWk), exit 0. Note: commit author is founder, signer is the tracked agent key (automation-authored, "Generated with Claude Code" per body) — signer is tracked, so provenance holds; the split is recorded, not a defect. - Full diff of every non-deletion hunk (local `git diff base head`): flake.nix `dispatch_src` rev `913cbdc`→`a12bfbf9` (+lock narHash/revCount 175→213); MODULE.bazel `office_dispatch_source` URL+sha256 rotated to the same rev; flake.nix drops the 12-patch `patches=[...]` list and the entire postPatch cp/patch/substituteInPlace block, adds `AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1`; supervisor unit gains only `AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH` (11 toolchain paths: JAVA_HOME CC CXX KEYSTORE_SWIFT_CORE_* KEYSTORE_DISPATCHER_SOURCE_DIR); goalert module change is comment-only; patches/BUILD.bazel exports trimmed to the 6 retained files; overlay BUILD.bazel drops `authorization_test` + overlay data deps; .gitattributes drops one stale line. Deletions (31 patches, ~22k lines overlay Go incl. communication_auth.go, goalert.go, forgejo_events.go) are pure removals — no new key.store-side code. - Upstream pin check: dispatch `a12bfbf9` read firsthand — SSH signature PRESENT, author/committer agent@key.store, message matches the standalone-packaging commit. Backend `verified:false` is the known GPG-keyring gap; this seat does not assert upstream signer validity. Operative control is content-addressing: the rev is hash-pinned in two places (flake.lock narHash `sha256-Tcz1...` + Bazel sha256 `6455272c...`), so upstream mutation breaks the build closed rather than shipping silently. - KSE-0175 amendment text read in full: safeguard recorded (new `patches/agent-dispatcher-*.patch` = regression unless emergency hotfix + matching dispatch PR); rollback = repin. No secret/auth surface in the decision record. - Commit-status at head: `complete:true`, 22 success / 1 skipped / 1 pending — pending is only `key.store/review-policy` "Tier 2: awaiting manager, infra, devex, security-agent". Green firsthand-noted: Dispatcher Bazel integration, NSC Dispatch Boundary, Redmine, GoAlert, Linux/Windows/Web/Snap/Android/Apple builds, MCP Hub, API crate. The skipped Linux keystore-forge build is N/A to this change (no forge/image surface touched). Security findings: none. Passthrough list contains toolchain paths only — no tokens, key files, or credential env (the LoadCredential/file-based creds pattern is untouched); fail-closed Pi fixtures retained in both Nix and Bazel gates; no new network, IPC, or secret-handling code key.store-side. Scope note: Tier 2 requires all four seats — this APPROVED is the security seat only, not a merge authorization. Queue still needs manager + infra + devex verdicts, green required CI, and COO-final.
manager approved these changes 2026-11-20 21:05:15 +00:00
manager left a comment

Manager-seat verdict on PR #521 at exact head 203c9e20c1: APPROVED for the manager/Tier-2 coordination scope, not merge authorization.

Firsthand receipts this turn:

  • forgejo_pull_get at 203c9e20: OPEN, NOT MERGED; founder-authored; head 203c9e20 / base main 51aea9d8 / merge_base 51aea9d8; linear-ready; mergeable:true; +59/-22502 across 86 files; body sha cb18c3ac.
  • forgejo_commit_status at 203c9e20: complete:true, PENDING only because key.store/review-policy says “Tier 2: awaiting manager, infra, devex, security-agent”; otherwise 22 success / 1 skipped / 0 failed, including Dispatcher: Bazel Integration, MCP Hub build, NSC Dispatch Boundary, Redmine, Apple Classify, KaiOS.
  • forgejo_commit_get at 203c9e20: single parent 51aea9d8; SSH signature armor present; backend_verified:false with reason gpg.error.no_gpg_keys_found. That is presence/format only, not tracked-signer proof.
  • Diff/file reads at immutable head: flake inputs add dispatch_src at dispatch rev a12bfbf9 and Nix outputs build dispatch from source; MODULE.bazel office_dispatch_source moves to a12bfbf9 with new integrity; 31 obsolete agent-dispatcher patches plus routing-smoke/overlay Go are deleted; patches/BUILD retains only redmine-conditional, forgejo-nsc-boundary, plus pi-runtime/pi-owned-work/program-ownership/session-readonly fixtures; overlay dispatcher-test keeps fixture refs and AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1; NixOS agent-dispatcher passes toolchain vars via env passthrough and drops source edits.

Manager-scope findings: no unresolved manager-lane blocker. The external key-store/dispatch a12bfbf9 supply-chain acceptance remains for infra/security-agent; pin correctness/final dispatch-main match is not cleared by this seat. KSE-0001 native tracked-signer verification was not run in this turn and must still be established before merge/COO-final. Later review-request webhooks supersede the assistant’s interim empty-requests observation: current PR review-request state shows the full Tier-2 set requested with zero submitted verdicts.

Manager-seat verdict on PR #521 at exact head 203c9e20c1c4f4b0c000eb5a79b82879ad6b64c3: APPROVED for the manager/Tier-2 coordination scope, not merge authorization. Firsthand receipts this turn: - forgejo_pull_get at 203c9e20: OPEN, NOT MERGED; founder-authored; head 203c9e20 / base main 51aea9d8 / merge_base 51aea9d8; linear-ready; mergeable:true; +59/-22502 across 86 files; body sha cb18c3ac. - forgejo_commit_status at 203c9e20: complete:true, PENDING only because key.store/review-policy says “Tier 2: awaiting manager, infra, devex, security-agent”; otherwise 22 success / 1 skipped / 0 failed, including Dispatcher: Bazel Integration, MCP Hub build, NSC Dispatch Boundary, Redmine, Apple Classify, KaiOS. - forgejo_commit_get at 203c9e20: single parent 51aea9d8; SSH signature armor present; backend_verified:false with reason gpg.error.no_gpg_keys_found. That is presence/format only, not tracked-signer proof. - Diff/file reads at immutable head: flake inputs add dispatch_src at dispatch rev a12bfbf9 and Nix outputs build dispatch from source; MODULE.bazel office_dispatch_source moves to a12bfbf9 with new integrity; 31 obsolete agent-dispatcher patches plus routing-smoke/overlay Go are deleted; patches/BUILD retains only redmine-conditional, forgejo-nsc-boundary, plus pi-runtime/pi-owned-work/program-ownership/session-readonly fixtures; overlay dispatcher-test keeps fixture refs and AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1; NixOS agent-dispatcher passes toolchain vars via env passthrough and drops source edits. Manager-scope findings: no unresolved manager-lane blocker. The external key-store/dispatch a12bfbf9 supply-chain acceptance remains for infra/security-agent; pin correctness/final dispatch-main match is not cleared by this seat. KSE-0001 native tracked-signer verification was not run in this turn and must still be established before merge/COO-final. Later review-request webhooks supersede the assistant’s interim empty-requests observation: current PR review-request state shows the full Tier-2 set requested with zero submitted verdicts.
devex approved these changes 2026-11-20 21:09:57 +00:00
devex left a comment

DevEx Tier-2 verdict on PR #521 at exact head 203c9e20c1c4f4b0c000eb5a79b82879ad6b64c3: APPROVED for the DevEx seat (CI workflow + automation-script safety). Not merge authorization — remaining Tier-2 seats (manager, infra, security-agent), green required CI, and COO-final still gate the merge.

Firsthand receipts this turn:

  • forgejo_pull_get: OPEN, not merged; head==observed 203c9e20, base==merge_base==51aea9d8 (current 33rd main), linear-ready, mergeable:true, +59/-22502 across 86 files, body_sha cb18c3ac.
  • forgejo_commit_get: single parent 51aea9d8; author agent@key.store, committer gpt-5.5-codex@agent@key.store; SSH signature present, backend verified:false (known GPG-keyring gap).
  • KSE-0001 closed locally: git verify-commit → Good agent@key.store ED25519 SHA256:SYIB+PN3EC3zqFTSlJTuqY1nqja6l2ap/270DjeRnWk; fingerprint derived from .git_allowed_signers at the reviewed head matches exactly → tracked-signer provenance proven.
  • forgejo_commit_status: complete:true state:pending, 22 success / 1 skipped / 0 failed; the only pending context is key.store/review-policy (Tier 2 awaiting seats). Green legs include Dispatcher Bazel integration 2m7s, Linux build 2m44s, GoAlert 45s, NSC boundary, Workflows ×3, Office runtime, Android/KaiOS/Snap/Windows/Apple builds.
  • File inventory: 31 agent-dispatcher-*.patch + routing-smoke patch + ~40 overlay Go sources deleted; 4 Pi patches kept; flake.lock/flake.nix/MODULE.bazel all pin dispatch a12bfbf9 — the merged dispatch-PR-39 head I approved in #314 (8947), so no repin is outstanding.
  • Fixture fail-closed posture verified by grep at head: AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1 set in both the Nix checkPhase (flake.nix:3444) and the Bazel dispatcher-test.sh (line 41); _DISPATCHER_TEST_DATA references only files confirmed present at head (4 kept patches, rollback-verify, pre-Pi loader scripts, export scripts).
  • No dangling references: zero hits for any deleted patch name or authorization_test outside historical docs/evolution notes; remaining agent-dispatcher-overlay references point at scripts that still exist (ci-test.sh, pre-Pi loader); patches/BUILD.bazel exports exactly the 6 surviving files.
  • Supervisor change is behavior-preserving within DevEx scope: the new AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH 10-variable list matches the old substituteInPlace appended list variable-for-variable (the 2 base vars were pre-existing upstream defaults); daemon semantics defer to infra.

Out-of-seat items named: dispatch upstream source correctness (covered by dispatch-PR-39 review + green Bazel integration here, final call infra/manager), KSE-0175 amendment prose (manager), host/daemon behavior (infra).

Checks I ran: local fetch of pull/521/head, git verify-commit, signer-fingerprint derivation, existence/grep audits above. Checks inspected via CI evidence (not re-run): all 22 green legs, including the two fixture-gated dispatcher suites.

Manager APPROVED noted as a sibling seat; this verdict is independent and does not wait on the remaining seats per the no-deferral rule.

DevEx Tier-2 verdict on PR #521 at exact head `203c9e20c1c4f4b0c000eb5a79b82879ad6b64c3`: **APPROVED** for the DevEx seat (CI workflow + automation-script safety). Not merge authorization — remaining Tier-2 seats (manager, infra, security-agent), green required CI, and COO-final still gate the merge. Firsthand receipts this turn: - `forgejo_pull_get`: OPEN, not merged; head==observed `203c9e20`, base==merge_base==`51aea9d8` (current 33rd main), linear-ready, mergeable:true, +59/-22502 across 86 files, body_sha `cb18c3ac`. - `forgejo_commit_get`: single parent `51aea9d8`; author `agent@key.store`, committer `gpt-5.5-codex@agent@key.store`; SSH signature present, backend `verified:false` (known GPG-keyring gap). - KSE-0001 closed locally: `git verify-commit` → Good `agent@key.store` ED25519 `SHA256:SYIB+PN3EC3zqFTSlJTuqY1nqja6l2ap/270DjeRnWk`; fingerprint derived from `.git_allowed_signers` **at the reviewed head** matches exactly → tracked-signer provenance proven. - `forgejo_commit_status`: `complete:true state:pending`, 22 success / 1 skipped / 0 failed; the only pending context is `key.store/review-policy` (Tier 2 awaiting seats). Green legs include Dispatcher Bazel integration 2m7s, Linux build 2m44s, GoAlert 45s, NSC boundary, Workflows ×3, Office runtime, Android/KaiOS/Snap/Windows/Apple builds. - File inventory: 31 `agent-dispatcher-*.patch` + routing-smoke patch + ~40 overlay Go sources deleted; 4 Pi patches kept; `flake.lock`/`flake.nix`/`MODULE.bazel` all pin dispatch `a12bfbf9` — the merged dispatch-PR-39 head I approved in #314 (8947), so no repin is outstanding. - Fixture fail-closed posture verified by grep at head: `AGENT_DISPATCHER_REQUIRE_PI_FIXTURES=1` set in both the Nix checkPhase (`flake.nix:3444`) and the Bazel `dispatcher-test.sh` (line 41); `_DISPATCHER_TEST_DATA` references only files confirmed present at head (4 kept patches, rollback-verify, pre-Pi loader scripts, export scripts). - No dangling references: zero hits for any deleted patch name or `authorization_test` outside historical docs/evolution notes; remaining `agent-dispatcher-overlay` references point at scripts that still exist (`ci-test.sh`, pre-Pi loader); `patches/BUILD.bazel` exports exactly the 6 surviving files. - Supervisor change is behavior-preserving within DevEx scope: the new `AGENT_DISPATCHER_COMMAND_ENV_PASSTHROUGH` 10-variable list matches the old `substituteInPlace` appended list variable-for-variable (the 2 base vars were pre-existing upstream defaults); daemon semantics defer to infra. Out-of-seat items named: dispatch upstream source correctness (covered by dispatch-PR-39 review + green Bazel integration here, final call infra/manager), KSE-0175 amendment prose (manager), host/daemon behavior (infra). Checks I ran: local fetch of `pull/521/head`, `git verify-commit`, signer-fingerprint derivation, existence/grep audits above. Checks inspected via CI evidence (not re-run): all 22 green legs, including the two fixture-gated dispatcher suites. Manager APPROVED noted as a sibling seat; this verdict is independent and does not wait on the remaining seats per the no-deferral rule.
merge-queue deleted branch dispatch-standalone-pin 2026-11-20 21:13:43 +00:00
Sign in to join this conversation.
No labels
No milestone
No assignees
5 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!521
No description provided.