…validates
Every `npm publish --provenance` from CI fails with a 422:
Error verifying sigstore provenance bundle: Failed to validate repository
information: package.json: "repository.url" is
"git+https://github.com/vtempest/GRAB-URL.git", expected to match
"https://github.com/OpenSourceAGI/GRAB-URL" from provenance
The repository now lives at OpenSourceAGI/GRAB-URL — the GitHub API reports it
with no `parent` and no `source`, so it is the canonical repo, not a fork — but
`repository`, `bugs` and `homepage` still named vtempest. The provenance
attestation is generated from the repository the workflow actually runs in, so
npm rejects the mismatch and nothing can publish.
Repoints those three fields in the root package and in the four packages that
publish (api2client, archiver-web, loading-animations,
quantum-sphere-loading-icon). `packages/native-app-wrapper` already carried the
OpenSourceAGI URLs, which is what this brings the rest in line with.
`author: "vtempest"` is left alone — that is a person, not a repository.
Verified: every package.json still parses, and `npm pack --dry-run` is
unchanged (root 125 dist entries, archiver-web 35, quantum-sphere 12).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R3wkKQsRoi6k3DTvBRQhHd
Unblocks npm publishing. Follow-up to #52, but an independent bug.
The failure
Every
npm publish --provenancefrom CI fails with a 422. From the publish run onmasterright after #52 merged:Both packages that attempted to publish —
archiver-web@1.1.3andquantum-sphere-loading-icon@1.0.4— built fine, packed fine, signed their provenance statement, and were then rejected by the registry at the final PUT.The cause
The repository now lives at
OpenSourceAGI/GRAB-URL. The GitHub API reports it with noparentand nosource, so it is the canonical repo, not a fork. Butrepository,bugsandhomepagein fivepackage.jsonfiles still namedvtempest. The provenance attestation is generated from the repository the workflow actually runs in, so npm rejects the mismatch and nothing can publish.The fix
Repoints those three fields in the root package and in the four packages that publish:
grab-url(root)repository.urlapi2clientrepository.url,bugs.url,homepagearchiver-webrepository.url,bugs.url,homepageloading-animationsrepository.url,bugs.url,homepagequantum-sphere-loading-iconrepository.url,bugs.url,homepagepackages/native-app-wrapperalready carried theOpenSourceAGIURLs — this brings the rest in line with it.author: "vtempest"is deliberately left alone in all five: that is a person, not a repository.Verification
package.jsonin the repo still parses.npm pack --dry-rununchanged: root 125 dist entries,archiver-web35,quantum-sphere12 — this PR touches only metadata.Two pre-existing issues this run also surfaced
Neither is touched here; noting them so they are not lost.
archiver-web'sbinentries point at files the build never produces. The publish log warns four times:No bin file found at dist/bin-extract.js/dist/bin-compress.js. The build emitsbin-extract.es.jsandbin-extract.cjs.js, soextractandcompresshave been broken for as long as those entries have existed. npm also reports"bin[extract]" script name was cleaned.Testsis still red onmaster— the yt-dlp design conflict intest/page-archive.test.tsdescribed in 🙈 chore(build): untrack dist/, keep publishing it #52. Unrelated to publishing.🤖 Generated with Claude Code
https://claude.ai/code/session_01R3wkKQsRoi6k3DTvBRQhHd
Generated by Claude Code