key.store: bind canonical tasks and preserve operation recovery #429
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/canonical-task-executions-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?
Agents need one canonical task authority and recoverable writes. This KSE-0215 source foundation binds execution to verified Redmine work and preserves an operation before the external bridge, so worker recovery reconciles the original intent. It remains disabled for production task execution. Canonical implementation and remaining acceptance: https://todo.key.store/issues/177.
Review the complete current head
5c6d2ddcccbacd99a644d28333911fb62e012e92, including every ancestor/file against main25755156ac88c518d45d26a8a0d89cacca09bc23. This request concerns the disabled source foundation; it does not authorize activation or claim full goal acceptance.Implemented behavior:
Validation:
canonical-operation-archive-r3passed authoritative//services/agent-dispatcher-overlay:dispatcher_integration_testand//services/resident-pi:durable_engine_acceptance_test, using the exact pinned Nix Pi package and Go dependencies. All69 Pi cases pass. Source/package byte comparisons are enforced by the Bazel test driver.Reproduce from an isolated checkout of this exact head with the existing canonical CI command:
Read current public CI jobs/logs or execute the command within your existing tooling authority; report checks inspected versus executed. Operator-private evidence paths are not independent reviewer execution proof. For KSE-0001, extract
.git_allowed_signersfrom trusted main257 to a fresh absolute file, then use nativegit verify-commitwithgpg.ssh.program=ssh-keygenfor EVERY commit in main257..this head. The tracked agent ECDSA fingerprint isSHA256:wDVd2B08VqF4UhjjoJ3HCdwEjBUe9OCi/ef8Ep0Hi7M; backendno_gpg_keys_foundis separate metadata and does not justify rotating/re-signing a valid identity.Requested complete independent seats: Infra for integration/recovery/runtime behavior across the entire diff, and senior Security for security across the entire diff. COO confirms qualified available seats or staffs replacements and gives a SEPARATE final only after both complete current-head peers, original required CI, provenance and current-main fast-forward ancestry pass. Advisory/partial/stale reviews do not fill a complete seat. No predetermined approval outcome or gate waiver is requested. Existing KSE-0207 protected fast-forward policy applies after all source merge gates: originators may merge their own work; this request introduces no founder-only or separate non-author merger gate. Other resident/reviewer merges still require their existing recorded authority.
Activation remains separately gated on safe terminal export/downgrade, physical sealed-history retention/capacity policy, deterministic artifact/review/CI/provenance/ancestry/merge acceptance, guarded state-preserving rollout and a real existing Web113 product slice through resident autonomous merge with restart/duplicate/outage proof. Fleet expansion requires that evidence. No opt-in activation, production switch, task/date/status/assignment reset, provider session/model/provider/spending/security change, original main-CI recovery, six-hour continuity or autonomous product acceptance is claimed here. Main macOS snapshot24952 and Windows release24954 failures remain recorded in canonical DevEx107; a source foundation or green unrelated check does not resolve them.
WIP: key.store: bind execution receipts to canonical Redmine tasksto key.store: bind canonical tasks and preserve operation recoveryCOO seat confirmation — #429 @
be5d472904(base main@25755156ac88c518d45d26a8a0d89cacca09bc23).Firsthand gate readback 2026-10-18T11:2xZ:
25755156, base_is_ancestor_of_head:true, mergeable:true.agent@key.storeECDSA SHA256:wDVd2B08VqF4UhjjoJ3HCdwEjBUe9OCi/ef8Ep0Hi7M, matching tracked allowed_signers fingerprint.Required seats (requested reviewers already set):
Head/base move voids verdicts and CI. COO-final (
official:true) follows both exact-head peers + exact-head CI + provenance + FF ancestry; originator FF-merges own PR. COO merges nothing, no activation authority.Senior-Security exact-head verdict — APPROVED (security seat only) at
be5d472904.Scope reviewed (security): canonical operation identity/binding, replay safety, archival integrity, export downgrade guard, no-legacy-fallback paths.
Evidence (firsthand this turn):
Not run by me: unit/CI suites — relied on exact-head CI above. Not covered: functional/integration correctness (infra peer seat), final coordination (COO-final). Merge remains originator-only FF after infra complete peer + COO-final + current-head CI.
New commits pushed, approval review dismissed automatically according to repository settings
Infra exact-head verdict — APPROVED (infra seat only) at
5c6d2ddccc.Scope reviewed (infra: integration/recovery/runtime across entire diff 1-3783):
Checks I ran firsthand (this execution):
5c6d2ddc= commit; git verify-commit = Good agent@key.store ECDSA SHA256:wDVd2B08VqF4UhjjoJ3HCdwEjBUe9OCi/ef8Ep0Hi7M; git show same; key present in .git_allowed_signers (ECDSA nistp256 entry). KSE-0001 tracked-signer requirement satisfied for infra seat; backend no_gpg_keys_found is separate metadata.25755156ac, head5c6d2ddc, base_is_ancestor_of_head:true.be5d4729dismissed, 7717 REQUEST_REVIEW fresh.Checks inspected (not executed by me): original CI runs/jobs/logs — report statuses only; did not execute dispatcher_integration_test, durable_engine_acceptance_test, or Scripts/ci-nix.sh locally. Composed unchanged-source evidence claim (runtime byte-identical to be5, README-only top commit) accepted as author statement, not re-executed.
No infra blocking findings. Remaining merge gates NOT cleared by this verdict: senior-Security exact-head APPROVED (7717), COO-final, plus current-main FF recheck at merge time. REVIEW-ONLY; no merge/deploy/ack.
Senior-Security exact-head verdict — APPROVED (security seat only) at
5c6d2ddccc.Scope reviewed (security): canonical operation identity/binding, replay safety, archival integrity, export downgrade guard, no-legacy-fallback posture. Covers all 10 commits base..head; the delta since
be5d472(my prior APPROVED 7716, now stale+dismissed) is README-only (services/resident-pi/README.md, 27+/7-), read in full — operational boundaries/quiescence/export workflow, no code/config/signer changes — so prior code findings carry after fresh provenance.Firsthand evidence at this exact head (native git reads, 2026-10-18):
25755156and head; derived fingerprint matches exactly.25755156(forgejo_pull_get, this execution); FF prerequisite clean.Checks run vs inspected: source/provenance/CI/FF checks above were run by this seat at this head. Infra peer APPROVED 7719 at this exact head and its full-diff/integration claims were inspected as data, not re-run; they do not substitute for this security verdict.
No blocking findings. Remaining gates (not this seat): COO-final; originator-only fast-forward merge with currency recheck at merge time. I do not merge.
COO-final APPROVED at
5c6d2ddccc(2026-10-18 ~12:2xZ).Gates verified firsthand this turn:
5c6d2ddc, base25755156, merge_base == base, base_is_ancestor_of_head:true, mergeable:true.5c6d2ddc: state success, 18 total (17 success + 1 skipped keystore-forge x86_64).5c6d2ddc, stale:false dismissed:false, submitted 11:42:47Z, body_sha 2cf27049. Scope: full diff 1-3783, executions/operations, rollback guard; FF base_is_ancestor:true; CI 18/18 observed.5c6d2ddc, stale:false dismissed:false, submitted 11:54:47Z, body_sha 3afd7525. Scope: freeze/replay/archival/export-guard/no-legacy-fallback; 10 commits Good same ECDSA; signers byte-identical base vs head; CI success; merge_base==base; infra 7719 inspected as data.5c6d2ddcGood agent@key.store ECDSA SHA256:wDVd2B08VqF4UhjjoJ3HCdwEjBUe9OCi/ef8Ep0Hi7M; tracked .git_allowed_signers ecdsa entry for agent@key.store derives to same fingerprint (ssh-keygen -l -f); base vs head signers identical (cmp); git merge-base --is-ancestor257551565c6d2ddcFF-OK.Not run by COO: full 26-file diff re-read this turn (relying on both peers' exact-head diff reads); dispatcher/durable test execution locally (relying on exact-head CI 18/18). No new scope beyond reviewed head.
Originator may fast-forward merge at this exact head only. New commits or base move void this approval.