| SR-F-01 (Execution Host) |
The bootstrap runs on the administrator’s Mac with the 1Password desktop app, using op run and Touch ID (SR-INFRA-002). |
BR-1.1, BR-1.2 |
| SR-F-02 (Separate Root Module) |
The bootstrap is its own repository’s root module (<bootstrap-repo>/src), apart from every setup and site root, with its own state key and passphrase. No workflow runs it. |
BR-1.1 |
| SR-F-03 (Scope of the Bootstrap) |
It creates the private state bucket (public access disabled, prevent_destroy), the retention lock on its history/ prefix and the account alerts. The credentials later changes use are created by the project-setup layer (SR-INFRA-009 SR-F-03). |
BR-1.3 |
| SR-F-04 (Local Then Remote State) |
The first apply uses a local, still-encrypted backend in a git-ignored backend_override.tf, then tofu init -migrate-state moves it into the new bucket. An existing hand-made bucket is imported, not recreated. |
BR-1.3 |
| SR-F-05 (Full Then Limited) |
The bootstrap credential is created by hand and short-lived, with only the rights the bootstrap module manages. Rights beyond that are added only when a plan reports one missing. |
BR-1.3 |
| SR-F-06 (Revocation) |
The bootstrap credential is deleted in the provider console and its reference removed from the password manager as soon as state is verified in the bucket. |
BR-1.4 |
| SR-F-07 (Offboarding) |
When an administrator leaves, their personal credentials are deleted, their group membership is removed, and every pipeline-grade credential is rotated. |
BR-1.4 |
| SR-F-08 (Initial Roles and Access Keys) |
Every credential below the hand-made ones (state access, infrastructure apply, application deploy, media copy) is created in code by the project-setup layer, named per SR-INFRA-007 and expiring per SR-INFRA-009 SR-NF-08. A person rolls each new pipeline value into its vault; none is printed. |
BR-1.5 |
| SR-F-09 (Guardrail Policies) |
The bootstrap module declares the account-level policies: access groups bound to built-in roles, and on GCP the organisation policy that disables service-account key creation. Nothing outside the code grants broader rights. |
BR-1.6 |
| SR-F-10 (State Bucket Protection) |
The state bucket is private with no public address, and its history/ copies are retention-locked (SR-INFRA-008 SR-F-12). Changes to it appear in the provider’s audit log (SR-F-11). |
BR-1.7 |
| SR-F-11 (Logs and Audit) |
The provider’s audit log records every account change; on Cloudflare it is reviewed by hand, since no alert type exists for it (SR-INFRA-008 SR-NF-10). |
BR-1.7 |
| SR-F-12 (Billing Controls) |
Usage and billing alerts are set during the bootstrap and sent to the administrator (SR-INFRA-008 SR-NF-12). |
BR-1.8 |
| SR-F-13 (Hand-Over Check) |
The foundation is ready when state is in the bucket, the plan of deploy/infra-bootstrap/ shows no change, the bootstrap credential is revoked, and the monitoring, audit and billing controls above are confirmed on. |
BR-1.9 |
| SR-F-14 (Application Infrastructure) |
Each application provisions its own resources from its own roots, <project>/deploy/infra/<environment>/, which call its shared module, using the state bucket and the credentials the foundation layers created. It holds no permission to change the foundation. |
BR-1.9 |