Skip to content

fix(repo-hygiene): git-tree-reset exit-7 failure path emits RestoredTracked: N without the RESTORED>0 warning message the success path prints #605

Description

@kyle-sexton

Observed during the #590 merge digest (control tower).

On the new exit-7 failure path (git clean failed, no unremovable-file warnings), the script emits RestoredTracked: N but skips the WARNING: restored N tracked file(s) message that the success path prints when RESTORED>0. The two paths should surface restore-guard activity identically — the warning is the human-visible signal that data-loss recovery fired.

Scope: plugins/repo-hygiene git-tree-reset.sh, failure-path output block added in #590.

Relates to #395 (family), #602 (sibling follow-up from same digest).

Filed by the control-tower session from a merge-digest finding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions