Agent workflow: branch off main, rehearse on PRE, never act on PROD, tear PRE down #54
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review/merge-ready
review/needs-fix
review/needs-human
review/needs-review
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/agent-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The four rules an Agent works this repo by now have a home, and the machinery they depend on exists.
pre-down's description is untouched. Its body changes from a fixed$(PRE_HOST)to the address read from state:PROD's identity is untouched: vmid 141,
10.12.0.141— the Edge and the router rule name that address. PRE's becomes dynamic so two Agents can rehearse at once without colliding on the Node.Evidence
make worktree— one real run, then the tree it produced:The PRE change, as one read-only
tofu plan— before this branch PRE pins the address, after it takes a lease:The rehearsal path, end to end — the address now flows from state into the playbook:
A scratch Ansible probe proves the PRE vars derive from that address while PROD's resolve unchanged:
Fixing an early bug in this branch (caught in review):
tofu output -rawon theipv4map errors, and underset -ethat abortedpre-downbefore it destroyed PRE.Gate checks:
tofu fmt -check -recursiveclean ·tofu validatesuccess · playbook syntax OK · wiki manifest hasworkflow.mdunderexclude.Merge Danger
Door: two-way. Docs, a Makefile Target and a Stack config change, all revertible; nothing here mutates PROD.
Blast Radius: PROD-safe / PRE-replacing.
Prod->PRODlands across ~14 files; identifiers (make prod,inventories/prod, the typed gate word) stay lowercase on purpose — the glossary says so, so nobody "fixes" them.Closes #52
19e170cae1toaa65d8f3fe