feat: fiber bundle carries anchors + claims (A/K) for substrate double-grounding#320
Merged
Merged
Conversation
…or substrate double-grounding Extends to_bundle with two domain-data line types beyond N/C/R structure: A<TAB>node_id<TAB>anchor_ref page anchor (provenance-of-location) K<TAB>node_id<TAB>claim_var<TAB>value<TAB>egrade claim atom (fiber-product verdict input) Rationale: hellgraph's ValuePayload models only Field/Proof, not arbitrary strings/scalars, so anchors + ownership claims are fiber-retrieval DOMAIN data that ride an hg_fiber sidecar next to the store (not core graph values) — which is what lets the fiber-product verdict + double-grounding run on the real substrate, not just in Python. Companion hellgraph PR ingests A/K and runs the verdict in Rust. Golden vector fiber_ownership.bundle regenerated (now 6N/4C/1R/2A/2K); the ownership fixture gains owns_pct:parentco|subco=100/verified on both entities so the cross-fiber verdict is exercisable. Deterministic (sorted) so the vector stays stable. Tests: golden byte-match + A/K presence asserted; full suite green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Extends
to_bundlewith two domain-data line types beyond N/C/R structure:Why a sidecar, not core values: hellgraph's
ValuePayloadmodels onlyField/Proof, not arbitrary strings/scalars — so anchors + ownership claims are fiber-retrieval domain data that ride anhg_fibersidecar next to the store, not core graph values. That's the honest place for them, and it's what lets the fiber-product verdict + double-grounding run on the real substrate, not just in Python. Companion hellgraph PR ingests A/K and runs the verdict in Rust.Details
fiber_ownership.bundleregenerated → now 6N / 4C / 1R / 2A / 2K.owns_pct:parentco|subco=100/verifiedon both entities so the cross-fiber verdict is exercisable.Tests (full suite 298 green)
golden byte-match + A/K presence asserted; no regressions.