feat(indexer): resolve DACS-5 bundle bindings - #78
Merged
Conversation
randomblocker
marked this pull request as ready for review
August 10, 2026 11:11
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 changed
BundleBindingrecords underdacs-bundle-binding:v1:GET /api/dacs/bundles/{jobId}catalog surface and advertises it in discovery/OpenAPIFaultAttestationBundleverification under its distinct signature domain and absolute-fault constraintsWhy
DACS-5 v0.3 §10.4.2, merged in DACS-Standard PR #248, requires Demos consumers to derive the logical role address and resolve the native StorageProgram through a verified
BundleBinding. The directory previously consumed registration/native scanner pointers directly. Although the fetched bundles were cryptographically checked, those pointers did not establish the normative logical-to-native mapping and could not implement BB-6/BB-7 multiplicity and indeterminate semantics.Impact
Current-profile deals without resolvable buyer and seller BundleBindings now fail closed and do not contribute to reputation. Legacy SDK artifacts remain on their explicitly labelled compatibility path. The v7 deployment replay can temporarily make indexing take longer while historical binding candidates are rediscovered.
BB-4 key resolution in this reference directory is intentionally scoped to its canonical self-describing
did:demos:agent:<64hex>claim profile. Other ClaimReference methods remain unsupported and fail closed toindeterminate; this PR does not claim a universal DID/key resolver.Validation
npm run typechecknpm run buildgit diff --checkCloses #77