9 requirements implemented across presentation decks and project docs: 1. DX closing slide: added 'Infrastructure as a utility, not a craft' bullet to convey the full vision (infrastructure consumed, not maintained; platform compounds value over time). 2. PW Problem slide: 'moving a merged change' → 'promoting a change'. 3. PW Problem slide: added 'Red tape' and 'Scalability without increasing headcount' bullets (4 frictions, not 2). 4. PW Roadmap slide: redesigned with side-by-side HTML table layout (Testing | Planned), 16px font, no overflow. 5. PW deck: added new slide 'What This Platform Is — and Isn't' after North Star (sovereign boundary, infrastructure as utility, 4 anti-goals). PW deck now 16 slides (was 15). 6. Maturity nomenclature: 'Available today'/'shipped' → 'Testing' across both decks + source markdown. New .testing badge (blue/teal #DBEAFE). Roadmap title: 'Testing vs. Planned'. The platform has 0 consumer adoption — 'shipped' was inaccurate. 7. Global: 'substrate' → 'engine' across entire project (88 matches, 30+ files including .ciagent/, docs/, modules/, adapters/, schemas/, code). 8. Presentation files only: 'forge' → 'VCS' / 'version control system' (6 occurrences in 4 files). 'forge' retained in all technical docs and code as the industry-standard term. 9. New .agentic badge (purple/violet #EDE9FE) appended to agentic features in both decks: confidence signal, autonomous dev, pattern recognition, dynamic module creation, citizen developer surface, auto-promotion. Also: Change Request ID format changed from 'CR-2026-001' to 'CHG0678912' across presentation files, consumer guide, and test fixtures. HTML re-rendered. PPTX rendered for release upload. ---ci--- phase: 48 milestone: v1.9 status: complete requirements: covered: [] partial: [] ---/ci---
3.0 KiB
ACDL v1.1 Spike — AWS Bootstrap Runbook
Phase 08 bootstraps the AWS engine for the v1.1 spike. It uses the root account credential for account 581513795199 exactly once, then closes D-034 by having the user manually rotate the root key afterward.
Spike scope (D-039): the spike uses a per-run-rotated IAM user key (
acdl-spike-runner), NOT OIDC. Real OIDC federation is deferred to v1.2 (blocked on go-gitea/gitea#36988 — Gitea Actions does not supportid-token: write). Theacdl-spike-runneruser + its key are deleted in v1.2 cleanup when the OIDC role lands.
Steps
-
Set the bootstrap root key in env (never commit, never echo):
export ACDL_BOOTSTRAP_AWS_ACCESS_KEY_ID="<root key>" export ACDL_BOOTSTRAP_AWS_SECRET_ACCESS_KEY="<root secret>" export AWS_DEFAULT_REGION="us-east-1" -
Create the state backend (S3 bucket + DynamoDB outbox table):
python3 terraform/bootstrap/create_state_backend.pyIdempotent; writes
terraform/bootstrap/.bootstrap_state.jsonmarker. -
Create the IAM user + scoped policy + initial key:
python3 terraform/bootstrap/create_iam_user.pyPrints
ACDL_AWS_ACCESS_KEY_ID=<...>+ACDL_AWS_SECRET_ACCESS_KEY=<...>to stdout (capture if you want the initial key;rotate_spike_key.shcreates a fresh one anyway). -
Rotate the spike key (creates a new key, deactivates+deletes old, writes the new key to gitignored
.env.secrets):bash scripts/rotate_spike_key.shOptionally uploads to Gitea Actions secrets if
ACDL_GITEA_TOKENis set. -
Verify (manual): confirm the caller identity is
acdl-spike-runner(not root); the S3 bucket + DynamoDB table + IAM user + scoped policy all exist;.env.secrets+.bootstrap_state.jsonare gitignored. (scripts/verify_phase08.shwas the automated gate; it has been removed along with all other per-phase verify scripts.) -
MANUAL — D-034 closure: rotate/deactivate the root key in the AWS IAM console (the user does this, not the script). The bootstrap root key has now served its one-shot purpose; the spike uses the rotated
acdl-spike-runnerkey for Phases 09-10.
What the spike uses for Phases 09-10
- State backend: S3 bucket
acdl-tfstate-581513795199-us-east-1+ DynamoDB tableacdl-outbox(one table for both lock + outbox, D-P08-1). - Auth: the rotated
acdl-spike-runnerkey in.env.secrets(gitignored, chmod 600). Re-rotate after each spike run viarotate_spike_key.sh(D-039).
Spike scope vs v1.2 boundary
| Concern | Spike (Phase 08) | v1.2 |
|---|---|---|
| AWS auth | per-run-rotated long-lived key (D-039 waiver) | real OIDC federation (go-gitea/gitea#36988) |
| IAM | minimal user acdl-spike-runner + scoped policy |
OIDC role + trust policy (no user, no key) |
| State backend | S3 + DynamoDB single-region (us-east-1) | multi-region |
| Secret storage | gitignored .env.secrets + optional Gitea secret |
Gitea OIDC-issued web-identity token (no secret) |