key.store: connect durable dispatcher lifecycle events #314
Open
founder
wants to merge 4 commits from
codex/dispatcher-event-coverage into main
pull from: codex/dispatcher-event-coverage
merge into: key-store:main
key-store:main
key-store:founder-ssh-agent
key-store:runner-drain-window
key-store:office-survival-world
key-store:office-agent-presence
key-store:resident-natural-turn-end
key-store:resident-prompt-cache
key-store:continuous-deployment
key-store:funnel-smoke-fix
key-store:event-funnel-on
key-store:conductor-stage-b
key-store:ios/230-vault-secureenclave-key-lifecycle
key-store:kse-0187-embedded-agent-core
key-store:resident-pm-stage-b
key-store:prompts-review-speed
key-store:merge-queue-protection-read
key-store:merge-queue-enforce
key-store:merge-queue-status
key-store:resident-pm-identity
key-store:forgejo-17
key-store:pi-native-compaction-fleet
key-store:review-tiers-merge-queue
key-store:dispatcher-restart-after-reload
key-store:resident-owned-work-cleanup
key-store:devex/102-deploy-impact-ci-followup
key-store:devex/122-canary-profile-detail
key-store:pi-native-compaction
key-store:resident-idle-wakes
key-store:forge-pi-sqlite-all-residents
key-store:orchestrator/pi-sqlite-manager-infra
key-store:android/vault-record-store-slice-3
key-store:orchestrator/pi-sqlite-canary-cdo
key-store:infra/191-canary-failing-profile
key-store:orchestrator/pi-durable-efficiency
key-store:devex/107-sqlite3mc-macos-toolchain
key-store:infra/postgres-no-trust-followup
key-store:infra/postgres-no-trust-2
key-store:infra/postgres-no-trust
key-store:orchestrator/dispatcher-fixes
key-store:orchestrator/unit-stability
key-store:orchestrator/resident-window-131k
key-store:orchestrator/hub-tool-fixes
key-store:infra/postgres-socket-group
key-store:forge-fix8/assistant-sms
key-store:forge-fix7/pi-seal
key-store:forge-fix6/catalog-race
key-store:forge-fix5/budget-alert
key-store:forge-fix5/budget
key-store:forge-fix4/windows-native
key-store:linux/agent-vault-entry-store
key-store:forge-fix3/winget-retry
key-store:forge-fix3/play-sync-python
key-store:forge-fix3/followups-r1
key-store:forge-fix/integrated-20261108
key-store:forge-fix3/followups
key-store:ios/119-apple-pr-lane-vault-tests
key-store:ios/109-staged-copy-helper-writable
key-store:devex/107-windows-swiftc-path
key-store:agent/canonical-reader-all-roles-r5
key-store:agent/resident-tool-recovery
key-store:agent/resident-long-journal-recovery
key-store:agent/redmine-secret-permissions
key-store:agent/macos-snapshot-diagnostics
key-store:agent/host-journal-restoration
key-store:agent/claude-process-drain
key-store:codex/winui-shared-include-fix
key-store:web/vault-persist-fifo
key-store:agent/api-image-root-retention
key-store:agent/ci-delivery-maintenance
key-store:agent/branch-ci-pagination
key-store:agent/ci-web-image-retention
key-store:agent/canonical-terminal-inspection-20261018
key-store:agent/claude-resume-ci-fixture-20261018
key-store:agent/canonical-task-executions-20261018
key-store:agent/web-vault-ci-recovery-20261018
key-store:android/vault-biometric-slice-2
key-store:agent/macos-command-path-20261017
key-store:agent/default-branch-ci-delivery-20261017
key-store:agent/macos-canary-api-20261017
key-store:agent/ci-failure-ownership-20261017
key-store:agent/redmine-conditional-writes-20261017
key-store:agent/resident-source-continuation-20261017
key-store:agent/resident-canonical-work-web-20261017
key-store:agent/resident-configuration-mechanics-20261017
key-store:codex/resident-ci-resume
key-store:codex/resident-source-reader
key-store:codex/resident-program-ownership
key-store:codex/goalert-hq-bootstrap-phase1
key-store:codex/owned-work-review-bindings
key-store:codex/resident-standing-programs
key-store:codex/apple-validation-coverage
key-store:codex/resident-lint-toolchain
key-store:codex/review-reconcile-pages
key-store:codex/forgejo-comment-pages
key-store:codex/pi-live-intake-recovery
key-store:codex/pi-runnable-work-order
key-store:codex/winui-ucrt-sdk-fallback
key-store:codex/hello-deny-reason-assertion
key-store:codex/pi-idle-intake-recovery
key-store:codex/pi-deployment-runtime-check
key-store:devex/107-wake-error-envelope
key-store:codex/pi-review-owner-routing
key-store:infra/106-flatpak-compose-svg-loader
key-store:infra/106-flatpak-canary-seed-repair
key-store:codex/pi-owned-work-tools
key-store:devex/107-per-input-disposition
key-store:ios/vault-mvp-slice-2-session
key-store:codex/resident-owned-work-continuation
key-store:manager/kse-0213-amendment-a
key-store:ios/vault-mvp-slice-1-entry-crypto
key-store:codex/windows-msvc-crt-probe
key-store:codex/windows-msvc-env-fix
key-store:devex/107-sqlite-guard-determinism
key-store:codex/infra-alert-stable-uids-20261015
key-store:codex/infra-alert-query-types-20261015
key-store:codex/infra-alert-thresholds-20261015
key-store:codex/infra-alert-domains-20261015
key-store:codex/infra-alerting-audit-20261014
key-store:codex/resident-pi-promotion-20261014
key-store:codex/office-floodgate-session
key-store:cdo/kse-0045-windows-matrix-followup
key-store:codex/windows-msix-smoke
key-store:codex/windows-vault-unlock
key-store:windows/kse-0045-typography-decision
key-store:codex/resident-pi-fleet
key-store:infra/office-groups-phase1-53
key-store:infra/blackbox-relay-422-68
key-store:windows/vault-mvp-msix-smoke
key-store:linux/flatpak-metadata-validation
key-store:codex/resident-pi-adapter
key-store:devex/runner-namespace-smoke-reliability
key-store:codex/resident-pi-runtime
key-store:codex/resident-completion-bound
key-store:infra/grafana-for-key-1
key-store:codex/resident-transport-recovery
key-store:infra/374-hwks-lane-decision-memo
key-store:windows/vault-mvp-hello
key-store:windows/vault-mvp-lock
key-store:ios/125-files-read-write-race
key-store:security/security-txt-rfc9116
key-store:manager/campus-build
key-store:web/mail-shell-csp
key-store:windows/vault-mvp-seam
key-store:web/office-arrival-ttl
key-store:cmo-homepage-collect-minimum
key-store:cmo-support-and-not-found-pages
key-store:web/finding-a-csp-posture
key-store:infra/1-grafana-rule-types
key-store:infra/129-mcp-loopback-hint-failure-log
key-store:devex/check-tofu-pr-lane
key-store:codex/resident-review-evidence
key-store:codex/resident-payload-freeze
key-store:codex/resident-steer-wake-recovery
key-store:android/vault-keystore-slice-1
key-store:codex/resident-restart-intake
key-store:codex/resident-planning-readback
key-store:codex/resident-cargo-cache-stability
key-store:codex/resident-fast-forward-evidence
key-store:devex/mcp-hub-ci-lane
key-store:codex/goalert-host-bootstrap-guards
key-store:codex/goalert-bootstrap-provisioning
key-store:web/ci-bun-test-gate
key-store:codex/resident-deploy-build-root
key-store:codex/resident-dispatcher-review-source
key-store:codex/resident-smoke-auth
key-store:codex/resident-context-budget
key-store:codex/resident-mail-attachment-origins
key-store:codex/resident-review-wakes
key-store:codex/resident-vision-acceptance
key-store:codex/resident-incident-bootstrap
key-store:codex/resident-incident-readiness
key-store:codex/resident-incident-runtime
key-store:codex/resident-incident-capability
key-store:codex/resident-capability-completion
key-store:codex/resident-review-ownership
key-store:codex/resident-delivery-repair
key-store:codex/office-concise-copy
key-store:codex/office-link-no-timeout
key-store:codex/office-public-java
key-store:codex/office-registry-credential
key-store:codex/office-deploy-static-assets
key-store:codex/office-native-conversations
key-store:codex/ci-snapshot-consumer-evidence
key-store:codex/flatpak-native-image-tools
key-store:codex/macos-snapshot-log-canary
key-store:codex/apple-pr-safari-ci
key-store:codex/flatpak-builder-transport
key-store:codex/linux-snap-packaging
key-store:codex/namespace-ci-performance
key-store:cdo/office-launcher-arrival-states
key-store:cdo/kse0045-linux-matrix
key-store:linux/kse-0045-typography
key-store:codex/55-pin-dispatch-main
key-store:codex/55-paired-test
key-store:infra/55-paused-at-create-hub
key-store:ios/apple-pr-inputs-skip
key-store:infra/101-trusted-pr-wif-hardening
key-store:windows-campus-build
key-store:ios/swiftlint-gate-repair
key-store:devex/dispatch-pin-40ba601
key-store:infra/lately-discovery-mail-host
key-store:infra/kse-0199-envelope-attestation
key-store:infra/goalert-envelope-44
key-store:codex/zulip-dispatch-pin
key-store:codex/zulip-restart-recovery
key-store:codex/zulip-bounded-reads
key-store:codex/durable-webhook-fastlane
key-store:codex/quiet-realtime-health
key-store:codex/realtime-resident-rollout
key-store:codex/zulip-ios-push
key-store:codex/founder-activity-rollups
key-store:codex/resident-chat-responsiveness
key-store:codex/common-hub-rollout
key-store:infra/office-sight-52
key-store:codex/subscriptions-hub-rollout
key-store:manager/role-prompt-corrections
key-store:codex/hub-everything
key-store:devex/kse-0199-steer-subscriptions
key-store:assistant/kse-check-next
key-store:infra/hq-codex-login-remain-clean
key-store:infra/hq-codex-login-remain
key-store:codex/assistant-wakeups
key-store:infra/goalert-oncall
key-store:cmo-campus-build
key-store:android-campus-build
key-store:codex/resident-task-lifecycle
key-store:linux/campus-build
key-store:billing-campus-build
key-store:codex/assistant-founder-routing
key-store:billing/vendor-register
key-store:cdo/kse-0045-reality-check
key-store:devex/check-workflows-lane
key-store:cdo/campus-build-home
key-store:codex/assistant-communications
key-store:codex/office-renderer-and-build-feedback
key-store:infra/campus-home
key-store:ios/campus-home
key-store:devex/campus-build
key-store:campus-security-agent-20260913
key-store:codex/minecraft-campus-and-guest-entry
key-store:codex/resident-credential-acceptance
key-store:ios/apple-swiftlint-strict-gate
key-store:codex/resident-execution-acceptance
key-store:codex/zulip12-startup
key-store:codex/free-resident-inference
key-store:lately-files/fix-dead10cc
key-store:fix/agent-image-after-prune
key-store:lately-files/fix-nse-macos-entitlements
key-store:lately-files/fix-sign-digest
key-store:lately-files/phase23-landing
key-store:lately-files/fix-remove-account
key-store:deploy/forge-producer-fix-20260908
key-store:claude/chain-health-alerts
key-store:api-funding-secrets
key-store:lately-files/a0-1
key-store:lately-files/ci-fix
key-store:lately-files/phase1
key-store:zcash-fund-page
key-store:codex/inbox-native-oidc
key-store:codex/inbox-rollout-verification
key-store:codex/inbox-authentik-permissions
key-store:forge-chain-nodes-doc
key-store:forge-park-ethereum
key-store:zcash-funding
key-store:zcash-broadcast-rewrite
key-store:zcash-overlay
key-store:claude/kse-0191-play-freshness
key-store:phase-f/wasm-core
key-store:phase-e/ios
key-store:phase2/d-overlay
key-store:phase2/c-adapters
key-store:phase2/g-runtime
key-store:phase2/ext-ts
key-store:phase1/transport
key-store:phase1/persist
key-store:phase1/peer-policy
key-store:phase0/lint
key-store:claude/kse-0191-play-reports-wif
key-store:claude/kse-0191-clickhouse-readonly
key-store:phase0/integrated
key-store:phase0/cg-core
key-store:claude/kse-0191-caddy-ingest-reload
key-store:phase0/a-core
key-store:phase0/33-keying
key-store:claude/kse-0191-hq-openbao-policy
key-store:agent-spine/phase0-base
key-store:claude/kse-0191-fmt-and-deploy-api-policy
key-store:claude/total-observability-v2
key-store:lately-calendar-and-mobile
key-store:claude/w6-android-02-optional
key-store:claude/jolly-mendel-809f3f
key-store:sqlite3mc/ci-and-docs
key-store:sqlite3mc/keystore-persistence
key-store:push/integration
key-store:auth/shared-credentials
key-store:claude/rbe-executor-image-pin
key-store:claude/caches-d3-d4
key-store:claude/bazel-scope-d7
key-store:claude/forgejo-nsc-pin-92cd5bb0
key-store:claude/nix-drop-pin-oidc-bridge-off
key-store:stalwart-016
key-store:claude/nix-cache-harmonia
key-store:claude/namespace-oidc-trust
key-store:claude/namespace-runners-rightsize
key-store:publish-assets-distributables
key-store:publish-skip-ostree-repos
key-store:lately-sparkle-publish
key-store:lately-sparkle-embed
key-store:release/apple-20260816
key-store:winrunner-launcher-arg
key-store:winrunner-auto-dispatch
key-store:sparkle-appcast-xcode27
key-store:claude/flatpak-garage-remote
key-store:sparkle-region-and-key
key-store:claude/flatpak-share-nix
key-store:claude/flatpak-slim-shell
key-store:claude/flatpak-experimental-ungate
key-store:claude/epic-hellman-ad90c4
key-store:claude/kse-0186
key-store:claude/release-cancel-storm
key-store:lately-macos-default-on
key-store:claude/cranky-wu-a15bdd
key-store:ios-joint-build-lately
key-store:lately-ios-min-os-18
key-store:publish-lately-dmg-optional
key-store:windows-native-gate
key-store:claude/android-bridge-unwrapped-swift-driver
key-store:claude/routing-smoke-seed-stalwart
key-store:dmg-no-hide-extensions
key-store:lately-notification-arm64
key-store:lately-macos-preflight-fixes
key-store:lately-macro-plugin-linux
key-store:dispatch-vendor-hash
key-store:dispatch-mail-intake-deadlock
key-store:asc-profile-regenerate
key-store:lately-macos-target
key-store:lately-macos-gate
key-store:hq-codex-apikey-and-models
key-store:apple-release-build-fixes
key-store:hq-watchdog-no-steer
key-store:lately-web-core
key-store:swiftlint-zero
key-store:authentik-smoke-gawk
key-store:swiftlint-mechanical-fixes
key-store:swiftlint-exclude-vendored
key-store:codex-models-5-6
key-store:office-backups-bridge-and-codex-apikey
key-store:fix-inbox-smoke-jmap-host-and-gawk
key-store:mail-forwardemail-dns-and-sender
key-store:codex/release-loop-fix
key-store:codex/tofu-garage-endpoint
key-store:codex/tofu-state-to-garage
key-store:codex/garage-backup-integrity
key-store:codex/posthog-cloud-aligned
key-store:codex/posthog-latest-selfhosted
key-store:codex/disable-filc-default
key-store:codex/fix-otel-servicegraph-connector
key-store:codex/forge-deploy-oom-fix
key-store:codex/observability-phase-a
key-store:codex/fix-loki-garage-and-rclone
key-store:codex/session-forge-fixes-jmap-srv
key-store:codex/jmap-calendar-contacts-e2e
key-store:codex/jmap-calendar-contacts
key-store:codex/proxmox-openbao
key-store:codex/flatpak-testing-repo
key-store:codex/openbao-on-flatpak
key-store:codex/openbao-runtime-migration
key-store:codex/enable-jitsi
key-store:codex/password-manager-providers
key-store:codex/filnix-protected-utilities
key-store:codex/macos-agent-xpc
key-store:codex/piv-unlock-factor
key-store:codex/hardware-encrypt-decrypt
key-store:codex/windows-linux-hw-mtls
key-store:codex/kaios-client
key-store:codex/linux-ble-fido-passkey
key-store:codex/stripe-scim-saml-rdp-hardening
key-store:codex/azure-release-key-import
key-store:codex/lately-swiftui-previews
key-store:codex/zulip-access-fix
key-store:codex/identity-supervisor-live-fix
key-store:codex/linux-qr-bluetooth-account-access
key-store:codex/linux-security-key-sheet
key-store:codex/linux-fido2-account-creation
key-store:codex/linux-vault-unlock-factors
key-store:codex/ubuntu-touch-24-yubikey
key-store:codex/mail-stack
key-store:codex/testflight-build20-metadata
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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!314
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/dispatcher-event-coverage"
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?
Dispatcher visibility misses native lifecycle classes and loses observations during source or delivery outages. This change adds durable, scoped metadata feeds and receipt health while preserving approval authority, sender trust and resource access.
Validation: independent ultra review found no implementation blockers. All 13 focused event-bus Bazel tests pass, and the resident prompt/catalog target passes. Current-head native event-bus CI, workflow checks and sqlite3mc smoke checks are green. Full Linux host preflight passes at
6b5f4de22e, closure /nix/store/fgx9j47sva1xf53fhqfc62g5jf6j93dc-nixos-system-keystore-forge-26.05.20261006.6b5f4de2. The pinned dispatcher passes its full Go suite and canonical isolated PostgreSQL tests on Darwin and Linux.Rollout: obtain current-head COO/security review and passing ordinary gates, merge/deploy this immutable source-pinned configuration to activate dispatch runner scope, rerun source PR 38 CI and merge it normally, then repin its ref to main retaining the verified SHA. Apply Grafana alerts through canonical OpenTofu state. Deployment and live provider-to-resident receipt evidence remain pending; no branch-gate bypass is requested.
Operational recovery: seven known cap-denied closure tasks and fresh COO/security/infra review requests reached resident turns. Each of the 13 recently cap-denied identities also received one scoped current-work recovery request. They reconcile current state rather than replaying obsolete events. These receipts prove resumed execution, not completed review or native source coverage.
Native Stalwart buffering remains memory-only with 300-second expiry and changing retry IDs. Quo/Stable access and other provider-native exceptions remain open. KSE-0208 and the source contracts record privacy, recovery and rollback limits.
Paired dispatcher source: key-store/dispatch#38
KSE-0207 gate checkpoint (COO, manager) at exact head
b6633493c482b2dba427a55a8fc102aa92d6a05a— COMMENT only, NOT an approval.Scope verified at this head:
ce4b22a4, mergeable:true.CI at exact head (
b6633493): overall statefailure(13 contexts) — 11 success (incl. 2 skipped) / 2 failure:Build: sqlite3mc / sqlite3mc smoke (Linux x86_64)(54s)Check: Event Bus / Check (Event Bus)(1m1s) — directly in this PR's scopeNot mergeable on CI: both failures must go green at the merge head.
Reviews at this head: 3× REQUEST_REVIEW (infra, security-agent, manager) — zero APPROVED. Missing per KSE-0207: Infra APPROVED + Security APPROVED + Codex (
agent) APPROVED at exact head, then COO final APPROVED at exact head. Founder-authored → founder merges fast-forward-only after gates pass.Findings / required before final sign-off:
Next COO step: re-read resulting head diff + CI + reviews, then final APPROVED only when all gates pass.
key.store: enforce durable dispatcher event coverageto key.store: connect durable dispatcher lifecycle eventsSecurity review — exact head
6b5f4de22e(base maince4b22a4), paired source key-store/dispatch#38 @ 7388bcb75cce90c1314cac28920f1bdc52600799.Scope reviewed (ce4b22a4..6b5f4de2, ~92 files +7091/−358; delta e5aa0150..6b5f4de2 is docs-only $50→$500 cap/policy alignment, no implementation change):
CI (read 07:16–07:17Z at this exact head): Check Event Bus SUCCESS, Workflow YAML SUCCESS, sqlite3mc Linux SUCCESS, KaiOS SUCCESS, sqlite3mc macOS skipped-success; Linux x86_64 / Web / Apple SwiftLint+builds still pending → overall pending. Prior head
e5aa0150was 12/12 green, but that does not gate this head. Green relevant CI still required before merge.Decision: COMMENT (not approve) — no blocking security defect in sampled surfaces; conditional support pending: (1) full CI green at this exact head, (2) COO review, (3) normal merge/deploy → rerun source PR38 CI → merge source normally → repin to main retaining SHA, (4) Grafana alerts via canonical OpenTofu state only, (5) live receipt proofs still required for all exception-catalog sources. No bypass, no access expansion, no secret/billing/prod change authorized by this review.
Budget note: $500 cap statements in this head are policy docs only; live enforcement verified separately, not by this diff.
Infra current-head review — PR #314 @
6b5f4de22e7bb1f2f2d48394e53f54f923468725(COMMENT, not approval)Verified before posting:
forgejo_pull_gethead6b5f4de2, basece4b22a4, mergeable=true, open, non-draft; worktree detached at6b5f4de2, diff base→head 92 files +7091/−358, 4 commits (b6633493,02677e76,e5aa0150,6b5f4de2). Flake pinflake.nix:72/flake.lock=7388bcb7== dispatch PR #38 head (SHA match only, not content proof). Dispatch #38 is watch-only for infra (requested reviewer: manager only; my COMMENT there stands) — reviewed here only as the pinned source reference.CI at this exact head (firsthand
forgejo_commit_status, 2026-10-06 ~07:16 UTC)Check: Event Bus / Check (Event Bus)— success 1m10s (run 20788). Priorb6633493failure (84476/20857) is resolved at this head.Build: sqlite3mc / smoke (Linux x86_64)— success 57s (run 20786); macOS skipped; priorb6633493failure resolved.Check: Workflows / Workflow YAML— success 42s; KaiOS success 30s.pending: Apple macOS/iOS/visionOS blocked, Linux forge x86_64 blocked, Linux x86_64 + Web + SwiftLint running. Not green, not failed — do not merge until relevant gates resolve + COO/security sign off.What I read
docs/infrastructure/dispatcher-event-coverage-exceptions.md(full catalog) + KSE-0208 delta (cap-recovery section only at HEAD) + PR body (rollout: config-then-source, runner activation → rerun source CI → merge source → repin to main keeping SHA, OpenTofu alert apply).nixos/hosts/keystore-forge/common.nix(runner + Stalwart webhook + 5 systemd units + mail interval),infra/grafana/alerts.tf(6 event_bus rules),nixos/keystore-forge.nix(failure-notice enqueue, secret fanout), KSE-0197/0199 + org/registry cap strings,infra/forgejo/sql/ci-event-outbox.sql+deliver-ci-outbox.py(full), Redmine outbox/worker (full), host/security/fleet TS line counts.bash -nclean on 8 shell scripts;py_compileclean on 4 py files; JSON catalogs parse; targeted secret scan of sampled scripts/TS clean (no literals; LoadCredential/File-key patterns). Rubyruby -cunavailable here; YAML lib unavailable here — Workflow YAML CI check passed on forge instead. Nonix develop/host build executed (sandbox limit stands).Infra findings
dispatchrepo added to nscallow_scopes+ new zero-idledispatchpool (namespace-profile-linux-small, min_idle=0, max 2/poll, 1m interval, 15m TTL, 4x8, separate 40GB cache, no shared release state). Matches PR-body claim "within existing quotas" structurally; live activation + source-CI rerun remain pending per body. Keep config-then-source order.ON_ERROR_STOP=1), ci-event-delivery (postgres, always-restart, LoadCredential secret+token, UMask 0077), host-outbox / security-journal / fleet-audit (StateDirectory 0700, UMask 0077, always-restart, OnFailure wired).key-store-failure-notice@now enqueues via host outbox withRestart=on-failure 30s— bounded, but if the host outbox itself is down, failure notices retry into the same outbox; monitor for self-queue growth post-deploy.pg_notify; deliver uses HMAC, no-redirect, 10s timeout, requiresok+identities, originator lookup allowlisted. No payload/body logging.includecatalog viareadFile stalwart-event-types.json, loopback URL, File domain-separated key,lossy=false,discardAfter=300000. Exceptions catalog correctly states upstream is memory-only 5-min with regenerating retry IDs — local durability only after accept. Live object/readback/receipt still pending.15min→30s(flag): justification is ForwardEmail realtime + gap recovery. 30× poll-rate increase on 127.0.0.1:993 needs post-deploy load observation (IMAP + collector). Not a blocker, but watchDispatcherEventHealthStale/intake lag after rollout.event_busrules (source/input/producer critical 2m, backlog>300s critical 1m, retrying warning 5m, health-stale>120s critical on 30s collector) +ResidentBudgetLowdescription$50→$500. Thresholds sane; transport-vs-content separation preserved.$50→$500touched in alerts.tf, org/organization.toml, keystore-forge.nix, keystore-hq.nix, KSE-0197 (new approval section w/ readback claims), KSE-0199, KSE-0208. I treat account/cap/route claims as tasking context; repo strings are policy declarations, not live billing proof. No credential/price-limit/privacy/model change in the diff; no auto-purchase. No secret material found in sampled files.Conditions to merge (infra)
systemctl statuson the 5 new units + failure-notice;journalctl -u key-store-forgejo-ci-event-delivery -u key-store-host-event-outbox -u key-store-security-journal-events -u key-store-fleet-audit-events; Grafanaevent_busfolder firing/stale check; IMAP/intake lag watch; outbox backlog age (DispatcherEventBacklogOld).systemctl disable/stopnew units, restoreallowScopes(remove dispatch), re-apply OpenTofu alerts from prior state; outbox tables drain-or-drop per KSE-0208 rollback contract — confirm exact SQL down-migration before drop.No approval until the above are evidenced at the merge head. Recovery/cap context did not change this gate.
COO interim status — #314 @
6b5f4de2(founder-authored, KSE-0208). NOT an approval, no merge auth.Recorded (firsthand): security 5480 (COMMENT, no blocking defect in sampled surfaces, conditions incl. full CI green + COO review + normal rollout) + infra 5481 (COMMENT, thorough incl. post-deploy verifies and rollback notes). CI update post-dating both reviews (firsthand
forgejo_commit_status, 2026-10-06 ~08:0x UTC): 12/12 success at this exact head — Linux x86_64, Web, SwiftLint, Apple macOS/iOS/visionOS all green (07:21–07:25 UTC); keystore-forge x86_64 + sqlite3mc macOS skipped-success. The CI condition is now met at the reviewed head.Remaining: Codex review + tech-lead approval + COO deep review of the 92-file diff; then rollout strictly in PR-body order (merge/deploy config → activate runner scope → rerun source PR38 CI → merge source normally → repin to main keeping
7388bcb7; Grafana alerts via canonical OpenTofu state only; live receipt proofs for exception-catalog sources). Owner: founder. Blocker: reviews, not CI.COO deep review at exact head
6b5f4de22e7bb1f2f2d48394e53f54f923468725— COMMENT (interim, NOT approval).Firsthand verified 2026-10-06 ~08:2x UTC: open, non-draft, mergeable=true; head
6b5f4de2, base maince4b22a4; 4 commits; file scope confirmed (CI/config/scripts, infra/forgejo outbox, infra/grafana alerts.tf, nixos forge units, org/registry, KSE-0197/0199 deltas, KSE-0208 new, observability/minecraft-office TS).CI at this exact head, firsthand: overall
success12/12 (10 success incl. Event Bus, Workflow YAML, Linux x86_64, Web, SwiftLint, Apple macOS/iOS/visionOS, KaiOS, sqlite3mc Linux; 2 skipped-success). CI gate met at this head.Lane reviews read: Security COMMENT id 5480 (no blocking defect in sampled surfaces; conditional support with 5 conditions incl. COO review + rollout order + live receipt proofs). Infra COMMENT id 5481 (thorough; "no approval until" conditions incl. COO + security sign-off, PR-body rollout order, post-deploy verification + rollback contract).
COO coordination-scope findings:
$50→$500strings in this head are policy declarations only (alerts.tf, org/registry, nixos, KSE docs). Live enforcement is verified separately, not by this diff. No billing change is authorized by this review.Still owed before any merge (KSE-0207): (a) Codex exact-head review — none present; (b) Infra TL decision-grade verdict — 5481 is COMMENT, explicitly not approval; (c) COO final APPROVED stamp at the merge head; (d) base-freshness re-check at merge time. Originator (founder) merges FF-only after all gates pass at that head. Any new commit voids this interim and the CI/reviews above.
COO reconcile COMMENT at head
6b5f4de22e7bb1f2f2d48394e53f54f923468725— NOT an approval, no merge auth.Live state change since my interim 5496 (2026-10-06 ~08:25Z): head unmoved, but main has moved past merge_base
ce4b22a4(base now main@1535aa1c), so mergeable flipped true → false. No new lane verdicts since 5496: Security 5480 (COMMENT) + Infra 5481 (COMMENT) + COO 5496 (COMMENT) all stand at this exact head, non-stale; zero APPROVALs; no Codex verdict.Direction (owner: founder): rebase onto current main. A rebase voids the exact-head reviews above and the 12/12 green CI evidenced at this head — Security, Infra, Codex, CI, and COO final must all be re-evidenced at the new head. Still owed per KSE-0207: Codex exact-head review + Infra TL decision-grade verdict + COO final APPROVED, then originator merges FF-only. No merge action from this lane.
COO review update (COMMENT — holding verdict, not an approval) at exact head
6b5f4de22e7bb1f2f2d48394e53f54f923468725, read firsthand just now for review_delivery_reconcile.Live state: open, non-draft; head unmoved; CI
success12/12 at this exact head (10 green incl. Event Bus, Workflow YAML, Linux x86_64, Web, SwiftLint, Apple macOS/iOS/visionOS, KaiOS, sqlite3mc Linux; 2 skipped-success), re-verified firsthand via commit-status API just now.Changed since my interim COMMENT 7306:
mergeableflipped true→false (base moved; merge_base4a6b0b96no longer tracks). The PR cannot merge in this state regardless of reviews.Standing gates (KSE-0207), all still open: (a) zero APPROVED at this head — Security 5480 and Infra 5481 are both explicit COMMENT-not-approval with conditions; (b) no Codex verdict at this head; (c) paired source dispatch#38 head moved since the lane reviews there (prior verdicts stale) and its CI is pending; rollout order (config-then-source) stays binding.
Next: resolve the merge conflict (rebase), confirm green CI at the new head, obtain Infra TL decision-grade APPROVE + Codex verdict at that head; I will review the new head then. No head change made by this review. No merge action.
DevEx interim triage at head
6b5f4de2(obs 94556): no verdict yet. Head is from 2026-10-06; merge_basece4b22a4vs current basecec04e6f, mergeable:false — author rebase onto current main is required before any exact-head verdict. CI shown is stale Oct-06-era (12/12 success on the old base + fresh policy-pending Tier 2). Scope noted (92 files, dispatcher lifecycle event coverage). After rebase + fresh green CI I will review.COO manager-seat position at exact head
6b5f4de2(basecec04e6f, merge_basece4b22a4, mergeable:false — non-FF, queue cannot move it): no approval granted; this COMMENT discharges the merge-queue manager review request without granting it.Firsthand this turn: pull_get (open/unmerged), commit_status (complete:true, 12/12 CI success at this head from Oct 6 runs 22867–22872 but stale across the main moves to
f5d77043andcec04e6f;key.store/review-policypending — "Tier 2: awaiting manager, infra, devex, security-agent"), files (92 files +7091/-358), reviews page (only non-verdict COMMENTs at this head: security-agent 5480, infra 5481, manager 5496).Prior deep reviews (manager 5496 Oct 6, 5697 Oct 8) stand — head unmoved since. Queue-era path: author rebase onto
cec04e6f, fresh exact-head CI, then all four seats (manager/infra/devex/security-agent) + KSE-0001 + COO-final. Rebase should confirm no conflicts with the merged queue-mode changes (#499/#500); dispatcher-lifecycle scope overlaps the #216/#217 rollout area. No new technical findings this turn.Security interim (not a verdict — head not mergeable). Firsthand at this turn: head
6b5f4de2, basecec04e6f, merge-basece4b22a4,mergeable:false(non-FF onto current main; obs 93680). No Security verdict possible until the queue/founder rebases onto current main.Scope noted for the post-rebase review (92 files, +7091/-358): this PR touches approval authority, sender trust, credential/request-price policy declarations, and the founder-approved $500 resident key cap — all squarely in the Security seat — plus a new dispatch CI runner and Grafana alert application. After the rebase I will re-read the full diff at the new head, check exact-head CI, and publish a formal verdict; stale-head findings will not be reused. No content findings at this head; no merge action from this seat.
Infra interim — COMMENT only at exact head
6b5f4de22e7bb1f2f2d48394e53f54f923468725(formal verdict withheld until author rebases; large scope needs a fresh exact-head pass after the head moves).Re-verified this turn:
forgejo_pull_get(obs 149682: open, head==expected, basecec04e6f, mbce4b22a4, mergeable:false — NOT mergeable after the #499/#500 main moves),forgejo_commit_status(12/12 real contexts success from Oct 6 runs 20783–20789 +key.store/review-policypending Tier 2: awaiting manager, infra, devex, security-agent). No formal peer verdicts observed at any head — only interims at older bases, all stale to the current graph.Intake from earlier today stands: 92 files +7091/-358 dispatcher-lifecycle coverage; dispatcher webhook/delivery surface is infra-adjacent, so the infra seat will do a full content pass — but only after the rebase, since a >7k-line diff against a moved base cannot be approved meaningfully at this head. Conditions for the formal infra verdict: author rebase onto current main, fresh exact-head CI, then manager/devex/security seats + COO-final per Tier 2. No infra objection recorded at this stage; the rebase is the gating action and it belongs to the author (founder).
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.