feat(daemon): stale-agent prune — second doctor --fix target #304

Merged
clawdie merged 1 commit from feat/stale-agent-prune into main 2026-06-29 08:44:32 +02:00
Owner

Doctor --fix can now auto-prune stale store agents with no live handle.

colibri-ledger:

  • prune_stale_agents() — nullifies FK references first, then deletes
  • delete_agent_by_name()

colibri-daemon:

  • PruneStaleAgents command + cmd_prune_stale_agents() handler
  • registration_linkage check now fixable: true

colibri-client:

  • colibri agents prune CLI command
  • fix_fixable() handles registration_linkage via prune_stale_agents()
  • fix_fixable() now takes &DaemonClient for daemon-side fixes

Closes #295

Doctor --fix can now auto-prune stale store agents with no live handle. colibri-ledger: - prune_stale_agents() — nullifies FK references first, then deletes - delete_agent_by_name() colibri-daemon: - PruneStaleAgents command + cmd_prune_stale_agents() handler - registration_linkage check now fixable: true colibri-client: - colibri agents prune CLI command - fix_fixable() handles registration_linkage via prune_stale_agents() - fix_fixable() now takes &DaemonClient for daemon-side fixes Closes #295
feat(daemon): stale-agent prune — second doctor --fix target
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
4993f9f02e
Doctor --fix can now auto-prune stale store agents with no live handle.

colibri-ledger:
  - prune_stale_agents() — nullifies FK references first, then deletes
  - delete_agent_by_name()

colibri-daemon:
  - PruneStaleAgents command + cmd_prune_stale_agents() handler
  - registration_linkage check now fixable: true

colibri-client:
  - colibri agents prune CLI command
  - fix_fixable() handles registration_linkage via prune_stale_agents()
  - fix_fixable() now takes &DaemonClient for daemon-side fixes

Closes #295
clawdie deleted branch feat/stale-agent-prune 2026-06-29 08:44:38 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
clawdie/colibri!304
No description provided.