Commit Graph
1 Commits
Author SHA1 Message Date
marqdo-knowledge 1871ded5ed 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
2026-11-26 00:49:53 +08:00