Skip to content

Close Further Latent Edges in the Retired-Path Checks #4285

Closed

Description

@ptr727

Problem

Latent edges a local strict review raised on the #4273 fix, all tagged edge because no current input reaches them.

  • A tree-source-only path is called required. For a tree whose source differs from its target, a retire row on the source path is refused as "a file the tree's check requires", but the audit's tree check reads only the target. The same claim sits in the drop remedy and its test cases.
  • A pin under a repo-owned root loops two remedies. dropped_carry_errors offers retire or accepted there, retire is then refused as repo-owned, and dropping the row raises the drop error again. Only accepted clears both, and neither message names it.
  • render_report admits a disposition row with an empty repos list, which reads as resolved. spec/validate.py refuses it in CI.
  • A failed git ls-files skips the whole retired-path check, including the parts that need no tracked set. The gate still fails, so nothing passes wrongly, and the message names only the dropped carry.
  • The no-ledger fixture inherits the caller's git location variables. Run under a git hook, git add stages into the hook's repository. spec/git_env.without_git_location already exists to strip them.

Done when

Each edge is fixed or declined with evidence.

🤖 Generated with Claude Code

Activity

  1. ptr727 commented on Nov 19, 2026

    @ptr727
    OwnerAuthor

    Latent edges raised by the local review of #4288 (the dropped-tree check), none reached by a current input:

    • A fleet-wide accepted row on a target the manifest still declares goes unflagged, so a row added early or left after a re-declaration pre-approves a later drop.
    • For a tree whose source equals its target (.github/skills), dropping the declaration makes the hub's tracked files audit hub-only paths, and a directory accepted row does not settle those per-file findings.
    • A tree whose source or target fails validation is left out of the declared set, so the gate also prints a drop error whose remedy adds a row for a target that is still declared.
    • A tree whose target moves to an enclosing path still prunes the old subtree, but the exact-string comparison reads the old target as dropped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions