LDC-Q1001 — The snapshot holds a node kind the schema never declared
For LLMs5 sections
What it means
Section titled “What it means”A snapshot lists typed nodes, and every node carries a kind such as a type or symbol declaration. The engine checks each kind against the schema before loading anything: an unknown kind means the snapshot was not produced from a package the schema describes, so the load stops at the first offending node instead of reasoning over foreign data.
Fix the snapshot at its source so every node kind comes from the schema, then run the query again. The query text itself is not at fault.
Example
Section titled “Example”{"argv": ["query", "from r in rules select r", "--path", "$ROOT/world.json"], "expect": "LDC-Q1001", "files": {"world.json": "{\"nodes\": [{\"id\": \"n1\", \"kind\": \"NoSuchKind\"}], \"package\": {\"name\": \"demo.diagnostics\", \"namespace\": \"urn:law:demo:diagnostics\"}}"}}{"argv": ["query", "from r in rules select r", "--path", "$ROOT/world.json"], "expect": "LDC-Q1001", "files": {"world.json": "{\"nodes\": [{\"id\": \"n1\", \"kind\": \"type_decl\"}], \"package\": {\"name\": \"demo.diagnostics\", \"namespace\": \"urn:law:demo:diagnostics\"}}"}}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.