Skip to content

enhancement: fixmap doctor to detect stale global / npx shadow installs #148

Description

@aryamthecodebreaker

Summary

Stale global installs made npx @aryam/fixmap@0.7.3 run 0.3.1 (#103). README now documents the workaround, but agents and humans still hit it silently.

Proposal

fixmap doctor (or fixmap plan --doctor) that prints:

  • Resolved binary path + package.json version
  • Whether a different global fixmap exists on PATH
  • Whether npm exec --package=@aryam/fixmap@X -- fixmap --version disagrees with fixmap --version
  • Node version / engine range
  • Suggested fix (npm uninstall -g @aryam/fixmap)

Exit non-zero when a shadow is detected.

Why

This was the first footgun in the original dogfood session and wasted a lot of time before anyone noticed verify “didn’t exist”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueApproachable contribution with a clear scope

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions