Persist ERC-8004 agent identity#489
Closed
bussyjd wants to merge 1 commit into
Closed
Conversation
6 tasks
Collaborator
Author
Merged
4 tasks
Merged
3 tasks
OisinKyne
pushed a commit
that referenced
this pull request
May 18, 2026
…on inference offers PR #489's identityDocumentMetadata unconditionally overwrites the registration document description with "<model> inference via x402 micropayments" whenever the offer is inference-typed with a model name, even if the operator set spec.registration.description on the ServiceOffer. Observed live on inference.v1337.org after the spark2 controller upgrade: aeon ServiceOffer's description "Uncensored Qwen3.6-27B abliteration on NVIDIA GB10" was replaced by "aeon-ultimate inference via x402 micropayments" in /.well-known/agent-registration.json. Wrap the inference-typed default in the same empty-check as the generic default, matching render.go's existing precedence in buildActiveRegistrationDocument: operator value wins, otherwise prefer the more specific inference default, otherwise the generic one. Adds a 3-case table test pinning operator > inference-default > generic-default precedence.
OisinKyne
pushed a commit
that referenced
this pull request
May 18, 2026
…on inference offers PR #489's identityDocumentMetadata unconditionally overwrites the registration document description with "<model> inference via x402 micropayments" whenever the offer is inference-typed with a model name, even if the operator set spec.registration.description on the ServiceOffer. Observed live on inference.v1337.org after the spark2 controller upgrade: aeon ServiceOffer's description "Uncensored Qwen3.6-27B abliteration on NVIDIA GB10" was replaced by "aeon-ultimate inference via x402 micropayments" in /.well-known/agent-registration.json. Wrap the inference-typed default in the same empty-check as the generic default, matching render.go's existing precedence in buildActiveRegistrationDocument: operator value wins, otherwise prefer the more specific inference default, otherwise the generic one. Adds a 3-case table test pinning operator > inference-default > generic-default precedence.
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.
Summary
x402/defaultAgentIdentity CRD that stores per-chain ERC-8004 registrations instatus.registrations[].obol sell registeridempotent per chain and addobol sell identity importfor verified legacy agent IDs.Validation
go test ./internal/erc8004 -count=1go test ./internal/serviceoffercontroller -count=1go test ./cmd/obol -count=1go test ./internal/embed -count=1go test ./internal/monetizeapi -count=1git diff --check