LDC-E1327 — Fact group from an unpresented dependency
For LLMs5 sections
What it means
Section titled “What it means”A foreign fact group materializes bytewise from the resolve context: the compiler copies the producer’s nodes — identifiers, package, and provenance intact — into the local package. When the named dependency was never presented, there are no bytes to copy, and an empty materialization would silently invent facts. The compiler stops at the group line instead.
The repair is to present the dependency with its fact groups, and reach only for groups the context actually carries. A group nobody presented is either a missing dependency or a misspelled name — the fix declares which.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
import dep.shapes version "0.1.0";
facts dep.other::Things;
entity A;[{"package": {"name": "dep.shapes", "version": "0.1.0", "namespace": "urn:law:dep:shapes", "semanticHash": "sha256:0"}, "contentHash": "sha256:0", "factGroups": {"Things": [{"id": "urn:law:dep:shapes#T1", "kind": "assert", "package": "urn:law:dep:shapes"}]}}]language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
import dep.shapes version "0.1.0";
facts dep.shapes::Things;
entity A;Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.