aiworkhub_storage_recover_stranded_worktrees
Recover retained worktrees stranded outside every reclamation path.
Instructions
Recover retained worktrees stranded outside every reclamation path.
NF-2026-00279: the storage observability surface recommends this recovery, but it had no tool/MCP/CLI entry point, so an operator was told to run something they could not. This exposes it as a real action.
READ-ONLY first: confirm=False (the default) returns a report of the
worktrees that would be re-registered and those that are orphaned-but-
reclaimable, mutating nothing. confirm=True requires a non-empty
reason, reinstates the provably-owned registrations, and records the
reason in the audit log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||