For Agents

Living index of themes for this project. Each H2 is a topic; bullets are wikilinks to related notes. Updated by obsidian-documenter when documenting work. Read by historian at bootstrap. Topics kept alphabetical.

Agent Guides

Artifact Registry & CI

  • gcp-app-deploy-design — Spec 2a Terraform modules/ar_wif/ (AR Docker repo apps in europe-west3 + WIF pool/provider + ci-pusher SA + per-repo IAM bindings); reusable build-push.yml GitHub Actions workflow called via workflow_call from each app repo

Ansible Configuration

App Deploy

  • gcp-app-deploy-design — Spec 2a approved design: AR + WIF + Ansible apps role (service and job runtime shapes) + central manifest + EU migration + first app (polymarket-fetch)
  • spec-2-roadmap — Artifact Registry + docker compose + Cloudflare ZTNA + batch jobs + app logs/traces; the application-deploy layer on top of ops-vm
  • agent-guide-configure-app-deploy — manual deploy path today (/opt/apps/<name>, named compose projects, OTel-via-localhost) and what Spec 2 replaces it with

Cost & Sizing

EU Migration

  • gcp-app-deploy-design — Spec 2a migrates the existing ops-vm from us-central1-a to europe-west3-a (destroy + reprovision; same vm_name so MagicDNS resolution stays unchanged)

Gotchas & Learnings

  • gcp-terraform-ansible-gotchas — eleven reusable GCP / Terraform / Ansible / OTel / RTK traps from Spec 1 validation and live deployment
  • spec-1-operations-runbook — the three gotchas most likely to bite on a re-run, with cross-links to the full reference
  • spec-1-retrospective — meta-reflection on which gotchas the two-stage review caught vs which surfaced only at deployment time

How-to / Agent Guides

Networking & Tailscale

Operations

  • spec-1-operations-runbook — day-2 access, health checks, common operations (re-apply / resize / teardown), logs, where things live, cost monitoring, secret rotation
  • agent-guide-configure-app-deploy — day-1 app deploy hygiene that survives into Spec 2 (per-app folders, named compose projects, localhost-bound ports)

Process

  • spec-1-retrospective — RPI-style brainstorm → spec → plan → execute → validate workflow with subagent-driven-development; what worked, what needed mid-stream adjustment, surprises during live run

Provisioning & Design

  • gcp-app-deploy-design — Spec 2a design: extends the Terraform root with modules/ar_wif/, adds the apps Ansible role, migrates the deployment to europe-west3
  • levandor-infra — project overview, two-spec roadmap, Spec 1 deployed
  • gcp-vm-provisioning-design — approved Spec 1: Terraform-provisions / Ansible-configures VM lifecycle
  • spec-1-deployment-complete — live deployment state: ops-vm e2-small in us-central1-a, on the tailnet, Docker + fail2ban + OTel
  • agent-guide-provision-new-vm — agent walkthrough for make preflight → plan → provision → verify against this Terraform root, plus the multi-VM refactor constraint

Roadmap

  • gcp-app-deploy-design — Spec 2a approved (core app deploy + EU migration + first app)
  • spec-2-roadmap — application-deploy layer (Artifact Registry, docker compose, Cloudflare ZTNA, batch jobs, app telemetry); open design decisions; next-task list

Secrets & Auth

  • gcp-app-deploy-design — Spec 2a uses Workload Identity Federation (OIDC) for CI to AR auth (no long-lived service-account keys); per-app secrets/<app>.env files, gitignored, mode 0600, Ansible-copied to /opt/apps/<app>/.env
  • gcp-vm-provisioning-design — ADC auth, Tailscale auth key with tag:cloud, SigNoz ingestion key, passwordless operation
  • spec-1-deployment-complete — Tailscale SSH replaces SSH keypair + macOS Keychain step entirely
  • spec-1-operations-runbook — secret rotation procedures for the Tailscale auth key and SigNoz ingestion key

Telemetry & Monitoring

Tooling & Workflow

Troubleshooting

  • spec-1-operations-runbook — common gotchas section keyed to the three most likely re-run traps; logs commands for OTel / fail2ban / Docker

Workflow

  • spec-1-retrospective — two-stage subagent review (spec-compliance + code-quality) caught four design-stage bugs; carryover recommendations for Spec 2