Skip to content

AP-SPEC-066 Epic 4: gateway readiness, outage controls and recovery operations - #205

Draft
bordumb wants to merge 23 commits into
mainfrom
gateway-operator-polish
Draft

bordumb wants to merge 23 commits into
mainfrom
gateway-operator-polish

Conversation

@bordumb

@bordumb bordumb commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Doctor previously checked isolation without deriving full production readiness, and emergency disable depended on a running gateway. It now reports the required typed checks and refuses unready deployments. Store-only disable/revoke durably stop admission during runtime, custody and qualification outages without claiming drainage or credential deletion.

The change also provides a bounded, canary-scanned support bundle; operator-process rotation with distinct runtime-reader and operator-writer identities and durable exact-generation cleanup notes; SIGTERM session drainage; and independently retained connection floors that reject restored older or substituted records before lease. Damaged floor generations and digests refuse without being silently repaired. Python and TypeScript preserve the refusal codes. Support collection bounds an unresponsive admin-status request and reports unavailable facts explicitly. Clock readiness requires a regular, safely writable synchronization marker no more than fifteen minutes old; the packaged reference caps polling at five minutes.

The source-free operator archive contains the release binaries, reviewed systemd reference and operations runbook. Hosted checks exercise the extracted binary, application UID isolation, PostgreSQL multi-host lifecycle and a physical backup plus WAL restore to a named point. The runbook covers signer/root rotation, expiry/revocation, secret rotation, restore, unknown reconciliation and rolling upgrades.

Validation: at f1f92c3f, main CI passed every job, including the authoritative suite, Lean, Kani, formal evidence and CI qualification. Operator packaging/isolation, PostgreSQL lifecycle qualification, SDK recipes, and Python/TypeScript package workflows also passed. Required generated closures, inventories and frozen evidence were refreshed with repository generators. Protected live custody still awaits environment approval; production/live acceptance remains open.

The operator artifact run supplies the verified trial input at f1f92c3f. Downloaded archive SHA-256: 70b585794b4883a9f85897446bf13ccc334d711570b0dee3148413788f577cd4; all 11 payload digests match. It is an unsigned trial artifact and makes no recipe-qualification claim.

Epic 4 acceptance remains open for the live production reference/runbook exercise and independent unfamiliar-operator trial, including defect reruns. Disposable automated exercises do not close those human/live gates. Epic 5 qualification and release acceptance are not claimed.

bordumb and others added 5 commits October 5, 2026 21:05
auths-gateway support-bundle writes one bounded archive: versions,
digests, the deployment and credential-store kinds, the qualification
state and code, the connection state a serving gateway reports, and the
digest and stage of each stored attempt. It is built from a struct with
no member that holds text, so a proof, action, body, credential,
location, account, resource identifier, or header has no way in.

Both attempt stores gain a bounded listing of attempt keys. A test
installs a gateway whose credential and account label are the custody
fixture's canaries, leaves the other nine beside the installation and
in the environment, and scans the archive for all eleven; the assertion
that the gateway had no support bundle is retired.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:20 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:20 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:20 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:25 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:25 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:25 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:32 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:32 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:32 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:34 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:34 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:34 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:40 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:40 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:40 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:43 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:43 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:43 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 02:50 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:18 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:18 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:18 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:42 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:42 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 03:42 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:01 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:01 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:01 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:23 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:23 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:23 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:41 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:41 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 04:41 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 06:03 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 06:03 — with GitHub Actions Error
@bordumb
bordumb had a problem deploying to gateway-custody-live October 6, 2026 06:03 — with GitHub Actions Error
@bordumb
bordumb requested a deployment to gateway-custody-live October 6, 2026 09:53 — with GitHub Actions Waiting
@bordumb
bordumb requested a deployment to gateway-custody-live October 6, 2026 09:53 — with GitHub Actions Waiting
@bordumb
bordumb requested a deployment to gateway-custody-live October 6, 2026 09:53 — with GitHub Actions Waiting

This branch is waiting to be deployed

1 waiting deployment
gateway-custody-live — 7bb3dcb1 Waiting Oct 6, 2026 by bordumb via store-contract #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant