Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: archive a destroyed agent's config repo, unarchive it when the name is created again

This commit is contained in:
damocles 2026-11-14 12:48:54 +01:00 • committed by mara
commit 7beb1193f4

View file

@ -11,7 +11,10 @@ keeps its state, purging it doesn't.**
but keeps everything on disk — config history, claude login, `/state/`
notes, harness data. The agent shows up as a tombstone (the K3PT ST4T3
tab of the dashboard); `swarmctl agent create` with the same name and hive
recreates it from the kept state, **no re-login needed**.
recreates it from the kept state, **no re-login needed**. The agent's
config repo, `agent-configs/<name>`, is **archived**: it stays readable but
takes no pushes or pull requests until you create an agent of that name
again, which unarchives it.
- **`PURG3`** (opt-in, from the dashboard or `hivectl agent <name>
destroy --purge`) is `DESTR0Y` plus wiping all of it — config
history, claude credentials, `/state/` notes, everything. **No