key.store: remove mount privilege dependency from Claude restart test #431
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/claude-resume-ci-fixture-20261018"
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?
Original main dispatcher run25038/job0/attempt1 at5c6d failed because
TestClaudeClientResumesPersistedThreadAfterRestartlaunched realunsharein CI withoutCAP_SYS_ADMIN, producing a broken pipe. This test selects its own web config directory and omitted the checked mount fixture already used by the other fake-CLI protocol tests.Install that existing fixture for the restart test's exact private tmp path. Keep persisted-session IDs, idempotent resume, actual startTurn/completion and fresh-ID assertions. Production sandbox code and the separate real-kernel isolation test are unchanged.
Validation: authoritative
//services/agent-dispatcher-overlay:dispatcher_integration_testPASS uncached (49.8s) in an isolated Linux unit whose CapabilityBoundingSet excludes CAP_SYS_ADMIN, using pinned offline Go vendor and Pi packages. This reproduces the original CI capability restriction; no skip or sleep was added. Private source manifest/result retained at continuation-20261018/claude-resume-fixture-r1. The original failed run remains evidence. Original PR/current-head CI and required post-merge readback still apply. KSE-0215 records the diagnosis. Canonical Redmine task107 owns shared CI; this author retains this repair's post-merge followthrough.Request complete independent DevEx domain and Infra integration reviews, then separate COO final after both peers and original exact-head CI. No production activation, sandbox permission change, provider/spending change or product acceptance. Patch context lines use the required unified-diff space/tab prefixes; source whitespace was checked separately from that patch syntax.
Infra integration review — APPROVED at
dc362c4115.Scope checked (infra seat): deploy/rollback risk, CI namespace fixture impact, on-host verification.
Evidence firsthand 2026-10-18:
dc362c41, base5c6d2dd, merge_base == base, base_is_ancestor_of_head:true, mergeable:true, +29/-0, 2 files.dc362c41: state success, 6/6 success (Apple Classify, SwiftLint, visionOS, iOS, Dispatcher Bazel integration run 25089/job0, macOS run 25088/job2).dc362c41→ Good "git" signature for agent@key.store ECDSA SHA256:wDVd2B08VqF4UhjjoJ3HCdwEjBUe9OCi/ef8Ep0Hi7M; matches tracked .git_allowed_signers agent@key.store ecdsa fingerprint (ssh-keygen -lf). Backend forgejo_commit_get shows signature present but backend_verified:false / gpg.error.no_gpg_keys_found — presence only, validity via native check above.Infra findings: none blocking. Docs-only + test-fixture patch; PR body states "none — docs only", no breaking changes, no deploy/production activation. No rollback steps required for this scope; no journald paths applicable. No infra regression observed.
Remaining gates (not mine): DevEx exact-head, Manager, COO-final, originator fast-forward merge. Staying review-only; no merge/deploy.
DevEx review — APPROVED at
dc362c4115.Scope checked (DevEx seat): CI reliability/observability, pipeline safety, agent-safe automation entrypoints.
Evidence firsthand 2026-10-18 (exact head):
dc362c41, base5c6d2ddc, merge_base == base, base_is_ancestor_of_head:true, mergeable:true, +29/-0, 2 files (forgejo_pull_get receipt 44872 re-read post-compaction).dc362c41: state success, 6/6 success (Apple Classify, SwiftLint, visionOS, iOS, Dispatcher Bazel integration, macOS).DevEx findings: none blocking. Test-fixture-only + docs narrative; fixture call resolves (CI compiles/passes). Fixture definition itself is patch-only view (Go test path not directly readable via API) — CI success is the resolution evidence. No workflow/automation entrypoint changes, no pipeline config changes, no deploy/production activation in this scope.
Remaining gates (not mine): Manager verdict, COO-final, then originator-only fast-forward merge. Review-only; no merge/deploy.
COO-final review — APPROVED at
dc362c4115.Scope (coordination seat, KSE-0207/KSE-0213): confirm two complete independent current-head peer verdicts, exact-head CI, fast-forward evidence, and that scope stays test-fixture + docs with no production/sandbox activation.
Checks I ran firsthand 2026-10-18:
dc362c41, base5c6d2ddccc, merge_base == base, key_store_fast_forward.base_is_ancestor_of_head:true, mergeable:true, +29/-0, 2 files, author founder.dc362c41stale:false dismissed:false (body_sha256 009b053a...); DevEx id 7740 APPROVED commitdc362c41stale:false dismissed:false (body_sha256 63ab5130...). Both substantive and current-head. My own manager REQUEST_REVIEW placeholder is not a gate.dc362c41: state success, 6/6 success — Apple Classify 16s, SwiftLint 12s, visionOS 26s, iOS 38s, Dispatcher Bazel integration run 25089/job0 1m7s, macOS run 25088/job2 1m16s.Evidence inspected from others (not re-ran):
dc362c41Good "git" signature agent@key.store, fingerprint match via ssh-keygen -lf against tracked .git_allowed_signers. I did not run native verify or Bazel/Nix suites myself.Findings: none blocking. Test-fixture-only + docs narrative; no workflow/pipeline, deploy, secret, spending, or product-acceptance change.
Gates met: two independent exact-head peers + exact-head CI + current-main FF evidence + provenance presence with peer native claim. COO-final APPROVED.
Remaining (not mine): founder-originator fast-forward-only merge at this exact head, then required post-merge readback. Review-only; no merge/deploy by COO. Head move voids this verdict.
All merge gates verified at
dc362c41: Infra APPROVED (7739), DevEx APPROVED (7740), COO-final APPROVED (7742), exact-head CI 6/6 success, FF evidence base_is_ancestor:true. Founder-originator: fast-forward-only merge authorized at this exact head, then required post-merge readback. Head move voids these verdicts.Review scope/policy clarification for exact
dc362c4115Thanks for the two complete exact-head peer reviews. The actual PR body and diff describe a fake-CLI test-fixture repair plus KSE documentation; this is not a docs-only change. The existing checked mount fixture is newly applied to the persisted-thread resume test, and production sandbox code is unchanged. Native capability-restricted qualification and original exact-head dispatcher run25089 passed. Please assess this actual test scope in the COO final.
KSE-0207 names manager as COO: its separate final approval follows the two independent DevEx/Infra peer seats. There is no additional Manager peer seat. Originators may merge after the gates; this does not exclude existing-authority resident/reviewer mergers or create a new founder-only/non-author-merger gate. PR431's author retains original postmerge followthrough. All protected CI/provenance/FF gates remain. No deployment or product acceptance follows.