Change persistent agent lifecycle semantics so removes runtime config but preserves audit history. Add to hard-delete active and archived records. Ensure daemon HTTP DELETE /agents/:id uses archive semantics so Ava cleanup keeps audit trails.
Committed in acf1cdd: split rm/archive vs purge semantics for persistent agents.
Ava verified: cited commit confirmed in live history; feature shipped. Moving to Verified.
Implemented split lifecycle semantics:
agentd agent rm <name>now archives DB history (agents_history,messages_history,workspaces_history) and removes active config/runtime artifacts.agentd agent purge <name>to hard-delete both active and archived records.DELETE /agents/:idnow uses archive semantics (history retained).Validation:
hist_agentsincrements while active row removed).