Provider-neutral way to set up, change and run infrastructure safely, with AI assistants

Secure Infrastructure Workspace

Dev ContainersSecrets via Password ManagerGuarded OpenTofu

secure-infrastructure-workspace documents the pattern every project uses to set up infrastructure for local development, non-production and production. Work happens in a dev container. The assistant and the editor run as an unprivileged user, secrets are released from the password manager on the host for one command, and the infrastructure engine runs as a separate user behind a guard that checks the code first. Dev containers exist only for non-production and account-level work. There is no production container: production is changed only by GitHub Actions workflows from main, so every production change is tied to a commit, a workflow run and the account that started it. The pattern is the same for any provider. Provider-specific choices stay in that provider’s own application, such as cloudflare-infrastructure.

Composed of
workspacedev-containerstofu-guard

All Docs

Showing every doc across all sections.

System Requirements
Oct 20, 2026•3 min read

SR-INFRA-004 — Environment Boundaries: System Requirements

Functional and non-functional requirements for separate non-production and production state and credentials, AI assistants only in dev containers that can never apply production, no production workspace at all, separate reference templates, non-production applied by a person from its dev container, and production changed only by GitHub Actions workflows from main.

Business Requirements
Oct 15, 2026•2 min read

BRD-INFRA-002 — Hardware-Backed Secret Isolation and Zero-Knowledge Encryption

Business requirements for keeping every credential the organisation's infrastructure work uses encrypted so that only the administrator's own device can read it, never stored in files, released only with the administrator's physical approval, held in memory only for the length of the task, and referred to in the repository by reference only.