Skip to content

repo-hygiene: no stash lifecycle handling — audit/age/triage absent from every tier #996

Description

@kyle-sexton

Problem

No tier lists, ages, or triages stashes; only remove-path.sh touches them, and solely as a refusal guard. User question "does this include stashes?" has answer "no tier touches them" — but also no tier helps with them. Field state: 5 stashes across 3 object stores, 2 self-described as superseded/pre-rebase safety backups (stale pre-776 topic drafts (superseded by origin/main), codex-safety-before-main-rebase-…), invisible to every existing action.

Fix direction

New stash audit action: per-stash age, source branch, diffstat, associated-PR-merged check where derivable, keep/drop prompt per stash (never auto-drop). Dedupe by --git-common-dir — linked worktrees share the stash ref. Related metadata gaps worth folding in or splitting: no reflog expiry, no git maintenance adoption, no fsck/orphan-ref sweep — the git tier is only 3 ops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumReal value, no hard deadline; normal backlog flow.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions