Skip to content

Close Latent Edges in the Retired-Path Checks #4273

Closed

Description

@ptr727

Problem

Latent edges in the retired-path checks. No current input reaches any of them. Two more, the check skipping a missing ledger and strict UTF-8 decoding, were fixed on hosted reviewers' findings.

  • The remedy offers retire for a file moved into a tree. A retire row puts the path into the audit's deletion candidates. The hub-only check would then tell each carrier to delete a file the verbatim-tree check requires. Only accepted is right there, and the message names that case without steering away from retire.
  • spec/fidelity_honesty.py render_report admits any list as a disposition row's repos. A non-string entry raises at the set it builds, which the filter's own comment says it prevents. audit.gap_rows already checks each entry for the gaps rows. spec/validate.py refuses such a row in CI.
  • A retire row under a repoOwnedTrees source puts the path in the hub-only set. deletion_candidates adds retired paths after the repo-owned exclusion, which the carried.hubonly.absent assertion says leaves such a path out. spec/validate.py does not refuse that row.
  • A scoped keep row needs no fleet-wide candidate. spec/validate.py accepts a repos-scoped accepted row for a path no fleet-wide row retires and the hub does not host, where it does nothing.
  • audit.gap_rows admits an empty repos list. render_report then reads the row as resolved, hiding the defect spec/validate.py already refuses in CI.
  • The no-ledger fixture never reaches dropped_carry_errors. Its scratch tree is outside git, so hub_tracked_paths returns None and the test proves only that the branch runs outside the ledger guard. A git-initialized fixture would prove the call.

A local strict review on the retired-path lane and Copilot's rounds on its promotion raised these, tagged as edges. The maintainer chose to file them rather than extend that pull request.

Done when

The drop error refuses retire (or says accepted) for a path under a tree's source or target. render_report admits only string repos entries. A retire row under a repo-owned tree is refused or stays out of the set. A scoped keep row needs a candidate and a non-empty repos. The no-ledger test reaches the drop check.

🤖 Generated with Claude Code

Activity

  1. changed the title [-]Close Three Latent Edges in the Dropped-Carry Check[/-] [+]Close Two Latent Edges in the Dropped-Carry Check[/+] on Nov 19, 2026
  2. changed the title [-]Close Two Latent Edges in the Dropped-Carry Check[/-] [+]Close Latent Edges in the Retired-Path Checks[/+] on Nov 19, 2026
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