You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support a labeled manual rewrite switch (not a fake dark light) #1
Users have asked about forcing a rewrite when a package's CI light is green (lit) but a real fix is waiting upstream (e.g. a PR that fixes a runtime bug CI doesn't cover).
Today the only way to get the fork served is for the light to be dark. Faking a dark light to trigger that would be dishonest, and it's exactly what this project should never do.
Proposal
Add a clearly labeled per-package override, manual: fix available, in mapping.json (or a separate overrides file):
When set, the registry serves the fork for that package without pretending the CI light is dark. The light keeps showing its real CI conclusion.
/status (JSON and HTML) and the landing page show the override distinctly from lit/dark: its own state/label (e.g. manual: fix available), plus the reason and the upstream PR/issue link.
Responses served under the override carry their own x-patch-cloud value and _patchCloud.source (e.g. manual), so clients and download counts can tell it apart from a dark-light rewrite.
Still opt-in only: nothing changes for anyone not pointing npm at this registry.
Out of scope
Faking CI status, or making a lit light look dark (or vice versa).
Driving downloads by lying about lights.
Related: light-computer, which reads the same CI lights as bits (active-low: lit = 0, dark = 1).
Activity
Serve 6 fixed npm forks + labeled manual switch (implements #1); clea…