Skip to content

validate warning for dead renames overlay entries #19

Description

@adworzynski

Problem

A manifest renames entry whose from matches no active rule is silently ignored at materialization (gate phase-26 follow-up, at archive/pre-github). A user who mistypes a rename target, or whose target rule left the active set after a method remove/migrate, gets no signal — the overlay entry is simply dead. The Phase-26 note flagged "a validate warning surfacing dead rename entries" as a possible later nicety.

Direction

Core, read-only: validate emits a non-blocking warning for each renames entry that resolves to nothing against the active materialized set — mirroring the existing policy.dangling warning for a policy naming an inactive method (D23/D25). Additive: a new advisory diagnostic, no exit-3, no schema change. Touches P4.

Forks

  • Do nothing — dead entries are harmless (ignored, not misapplied); the cost is only a silent typo.
  • Refuse at manifest rename add (usage error) instead of warning at validate — but the pack may legitimately be inactive-but-forthcoming (the forward-looking case spec 04 §4.3 supports), so a hard refuse would break that; a warning is the right register.
  • Fold into the rename-kind-extension issue — kept separate because this applies to today's rule renaming, independent of adding new kinds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalDesign change; may graduate to proposals/NNNN

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions