phase 8 step 1: per-agent claude creds bind + destroy keeps state

This commit is contained in:
müde 2026-05-15 12:39:22 +02:00
parent 0fc287c768
commit a42fdb3a5c
9 changed files with 158 additions and 24 deletions

View file

@ -16,8 +16,10 @@ pub enum HostRequest {
Spawn { name: String },
/// Stop a managed container (graceful).
Kill { name: String },
/// Fully tear down a sub-agent: stop, wipe state + applied repo, drop the
/// systemd drop-in, purge pending approvals. Manager not destroyable.
/// Tear down a sub-agent container: stop + remove + drop the systemd
/// drop-in, purge pending approvals. Persistent state (proposed/applied
/// repos, Claude credentials) is KEPT by default — recreating the agent
/// with the same name reuses prior config + login. Manager not destroyable.
Destroy { name: String },
/// Apply pending config to a managed container.
Rebuild { name: String },