Skip to content
docs
Arxo ↗

LDC-Q1004 — A snapshot node carries no identifier

For LLMs5 sections

Every node in a snapshot carries an identifier that joins, labels, and anchors all refer to. A node without one cannot be joined with anything, so the engine stops the load at that node instead of building a store with dangling references.

Give the node its identifier at the snapshot source, then run the query again. The query text itself is not at fault.

run
{"argv": ["query", "from r in rules select r", "--path", "$ROOT/world.json"], "expect": "LDC-Q1004", "files": {"world.json": "{\"nodes\": [{\"kind\": \"type_decl\"}], \"package\": {\"name\": \"demo.diagnostics\", \"namespace\": \"urn:law:demo:diagnostics\"}}"}}
run
{"argv": ["query", "from r in rules select r", "--path", "$ROOT/world.json"], "expect": "LDC-Q1004", "files": {"world.json": "{\"nodes\": [{\"id\": \"n1\", \"kind\": \"type_decl\"}], \"package\": {\"name\": \"demo.diagnostics\", \"namespace\": \"urn:law:demo:diagnostics\"}}"}}

The engine reports this in its own wording:

Output
LDC-Q1004: $ROOT/world.json: node type_decl without id.

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

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