Skip to content
docs
Arxo ↗

LPK-E0302 — registryId at the address is wrong

For LLMs5 sections

Every registry carries an identity file, and the tool checks the identity at the address against the identity it was asked for. When the two differ, the address is not who it claims to be — a copy, a move, or a typo — so the command refuses before trusting anything it serves. Nothing is created or changed by the refusal.

Checking the identity and the location side by side resolves it: either the address is wrong or the expected identity is.

pkgtest
{"files": {"law.toml": "[package]\nname = \"demo.mini\"\nversion = \"0.1.0\"\nlanguage = \"0.2\"\nnamespace = \"urn:law:demo:mini\"\n", "registry.json": "{\"registryId\":\"someone-else\",\"specVersion\":\"0.2\"}"}, "cmd": ["add", "foo", "--from", "local", "--registry", "local=.", "--project", "."], "expect": "LPK-E0302"}
pkgtest
{"files": {}, "cmd": ["init", ".", "--name", "demo.diag"]}

The tool reports this in its own wording:

Output
law: REFUSAL LPK-E0302: registry .: registryId 'someone-else' mismatches expected local

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.