aiworkhub_dashboard_storage_registration_prune
USER WRITE: prune stale AIWorkHub Git worktree registrations verified against a current preview digest.
Instructions
USER WRITE: prune stale AIWorkHub Git worktree registrations verified against a current preview digest.
Call aiworkhub_dashboard_storage_retention_preview first to obtain the registration preview_digest; use aiworkhub_dashboard_storage_quarantine to move physical worktree directories instead. Requires confirm=True, refuses when foreign stale registrations exist or the digest drifted, runs git worktree prune, records an audit entry, and invalidates storage telemetry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | bool (default False); must be True to prune stale Git worktree registrations. | |
| preview_digest | Yes | str registration preview digest from aiworkhub_dashboard_storage_retention_preview; stale digests fail closed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||