magicciv/infra/terraform/test-fleet/terraform.tfvars.example
Natalie 158ef4d1bd feat(@projects/@magic-civilization): 🩹 p3-29 T2 — Rust turn emits UnitHealed
The live GDScript turn emitted `unit_healed` inline; the headless healing
phase recovered HP silently. The healing phase runs in the end-of-turn
`fn(&mut GameState)` registry (no event sink), so follow the FloraSuccession
buffer pattern: stash `(player, unit_id, applied_amount, col, row)` into a new
transient `GameState.pending_heal_events`, drain it in `step()` into
`TurnEvent::UnitHealed`. The buffered amount is the CLAMPED delta actually
applied (not the nominal heal rate). No wire surface — dispatch drops it; the
live UI consumes it via the kind-tagged `event_to_dict` dict.

Verified headless: mc-replay 19/0 (unit_healed_serde), mc-turn 289/0
(healing_buffers_unit_heal_event_with_applied_amount +
healing_buffers_clamped_amount_near_full_hp + event_collector_wiring).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 06:12:07 -04:00

19 lines
816 B
Text

# Copy to terraform.tfvars and fill in. terraform.tfvars is gitignored.
# The token is best passed via env instead: export TF_VAR_hcloud_token=...
# Required: GitLab origin the golden image was built from.
git_remote = "https://gitlab.com/<you>/magic-civilization.git"
# Optional overrides (defaults shown).
# location = "ash" # Ashburn VA (~near NYC)
# server_type = "cpx41" # bursty test/sim; use ccx33 for sustained training
# git_ref = "main"
# remote_user = "mc"
# ssh_public_key_path = "~/.ssh/id_ed25519.pub"
# workers is normally set on the CLI by the dispatch layer
# (./run dist:up N -> -var workers=N), not pinned here.
# workers = 0
# Bootstrap only: set to test `terraform plan` before a golden snapshot exists.
# base_image = "ubuntu-24.04"