feat(graph): unified node/edge graph with exact reference resolution
- add one Node/one Edge model over canonical JSON-tuple keys; root units map to their document node and Exec unit/function nodes are the same node - build contains tree, statement and resource nodes, asset nodes and inert external nodes; keep every repeated link occurrence as its own edge - resolve ordinary links relative to the source document with exactly one percent decode, fragment rules, numbered anchors, exact canonical-name fallback and explicit missing/ambiguous/not_loaded/out_of_scope/invalid states - never re-bind a resolved upstream Marqdo target; preserve not_loaded and resolve it in root scope only through exact anchor/name rules; surface interface conflicts when upstream and knowledge mappings disagree - map imports and calls to real nodes or explicit external/unresolved edges; builtin/plugin targets stay external symbols, never fabricated functions - add deterministic logical digest and tests for contains, externals, repeated occurrences, ambiguity, anchors and missing-path distinctions
This commit is contained in:
1 parent
59d5afe10b
commit
1871ded5ed
5 files changed
+1999
-1
No files matched your search
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user