Internet-Draft Discovery Evidence Mapping December 2026
Chandra Expires 4 June 2027 [Page]
Workgroup:
Network Working Group
Published:
Intended Status:
Experimental
Expires:
Author:
S. Chandra
StellarMinds.ai

Preserving Verification Evidence Across Agent Discovery Formats

Abstract

A discovery bridge can correctly verify a signed source record and still produce a misleading result by translating a registry-scoped identifier into a local identifier, supplying a default, or changing the meaning of a signed field. This document specifies an experimental mapping record that travels with the source and target representations. It gives a receiver a procedure to verify, for an individual discovery assertion, the identity being described, the original publisher's evidence, the target value, and the field's origin. It defines a minimal interoperable pair of bindings and a reproducible test vector. The result concerns an assertion about a discovery record. An authorization or routing decision requires additional local policy.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 4 June 2027.

▲

Table of Contents

1. Introduction

A registry bridge receives a request for the agent called finance in registry A. If it discards the registry name before lookup, it can return a genuine proof for a different agent called finance in registry B. A second failure occurs when the bridge supplies a missing value and exports one verification flag for the entire translated record. Successful verification of the source cannot establish either that the requested subject was preserved or that the publisher supplied the added value.

The unit of verification in this experiment is a publisher's assertion about one subject in one namespace, for example, that the publisher supplied this endpoint for that subject. The consumer needs the original subject and namespace even when the two registries happen to return identical URLs. A valid signature by the publisher does not establish agent possession of a key, endpoint availability, or an agent's authorization to act.

This experiment specifies an associated JSON object, source and target octets, and receiver behavior. It does not assign a discovery endpoint, register a media type, select a registry, or require participants to use a particular transport. The narrow profile in Section 4 is for interoperable experiments. Existing discovery formats can use separately agreed profiles under the rules in Section 7. Deployments MUST agree on the supported profiles independently of the input record.

2. Conventions and Participants

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

Publisher
The principal locally authorized to make a discovery assertion for a given namespace. Its signing key is obtained or pinned independently of the bridge.
Bridge
A participant that translates the discovery representation. It supplies the map and may add or discard data. A receiver treats the map as an assertion to check.
Receiver
The participant that verifies one requested namespace and subject, at a particular evaluation time, using its own policy. It associates the result with the exact target octets it checked.
Binding profile
A fixed agreement on the representation, subject extraction, signer role, field meanings, verification method, and permissible source-to-target projections. Agreement on a spelling or a value alone cannot establish equivalent semantics.

3. Mapping Record and Delivery

A transfer consists of a mapping record M, a source artifact S, and a target artifact T. S and T are complete, finite octet strings. Their SHA-256 digests are computed over the exact octets after removal of any transport content coding and before JSON parsing or canonicalization. An enclosing transport can carry all three parts together or resolve S and T by these digests from a preconfigured store. M contains no URL to fetch. The application MUST identify which object is M and preserve the boundary and length of S and T. Transfer order has no significance.

M is a UTF-8 JSON object under [RFC8259] and [RFC7493]. Duplicate member names at any depth, byte-order marks, and trailing non-whitespace data MUST be rejected in every JSON input. Member names and all string comparisons in this profile are case-sensitive comparisons of decoded Unicode scalar values, without normalization, URI rewriting, or case folding. An implementation MUST NOT trim a namespace prefix, reduce a name to its local part, or choose a default namespace. M has exactly the following members. Unknown members are invalid for version 1.

v, profile
The integer 1 and a nonempty string naming the binding profile. The mandatory-to-implement profile is "endpoint-1".
namespace, subject
Nonempty strings naming the subject as an ordered pair. The recipient independently supplies the expected pair. Neither member alone is an identity.
sourceHash, targetHash
Each is SHA-256 [RFC6234] encoded as exactly 64 lowercase hexadecimal characters. A bridge MUST calculate these from the artifacts it supplies.
keyId, signature
For endpoint-1, keyId is a nonempty opaque local key selector, and signature is the detached 64-octet Ed25519 signature encoded using the canonical padded base64 alphabet in Section 4 of [RFC4648]. Receivers MUST reject invalid padding, nonzero pad bits, unexpected lengths, and whitespace in this field. The mapping record supplies no trusted key material. Other profiles use the same fields only if their separately agreed definition specifies their interpretation.
fields
An array of objects in any order describing the application fields. Each entry's exact members are specified in Section 5. The order cannot affect the result.

The receiver MUST store results with the namespace, subject, profile, targetHash, assertion, signer identity or local key handle, and evaluation time. Storing or displaying an unqualified VERIFIED flag for T is insufficient. The association can be transient. Consumers that retain it MUST retain its expiry and the policy or anchor context necessary to invalidate it.

4. Interoperability Profile endpoint-1

This pair of simple bindings permits a bridge and a receiver to interoperate without generic schema inference. It defines only the portions of a record needed for the experiment. The two representations use different field names; a provider's conventional discovery format need not implement either shape. S and T are UTF-8 JSON objects with the following members and no others. All named textual members have string values. namespace, subject, endpoint, registry, id, and url MUST be nonempty. Key identifiers and subjects are opaque within their configured authority.

S (source)
The required members are type, namespace, subject, endpoint, iat, and exp. type is the constant "discovery-mapping-source-1". label is the single optional member. iat and exp are integral seconds since the Unix epoch between 0 and 9007199254740991 inclusive, with iat strictly less than exp. They govern the signed assertion's validity. endpoint MUST be an absolute HTTPS URI with a nonempty host and without userinfo or fragment under [RFC3986]. Its meaning is the publisher's advertised endpoint for (namespace, subject).
T (target)
The required members are kind, registry, id, and url. kind is the constant "locator-1". The optional members are name and transport. url has the same URI syntax and means the advertised endpoint for (registry, id). name represents a display label. transport is a local hint. This profile supplies no source assertion corresponding to transport.
Publisher proof
The signature in M is Ed25519 as defined in Section 5.1 of [RFC8032], over the UTF-8 octets of S canonicalized using [RFC8785]. All members of S are covered. The native proof and the mapping digest have different inputs: canonicalizing S for signature checking MUST NOT change which octets are hashed for sourceHash. The authorized scope for the configured key must include this namespace and the publisher-discovery role. A receiver MUST NOT use this key as evidence of control by the agent itself.
Binding comparisons
The receiver checks S.namespace = T.registry = M.namespace = the requested namespace and S.subject = T.id = M.subject = the requested subject. These subject bindings are mandatory independently of fields. The known assertion pairs are S.endpoint to T.url (advertised endpoint) and S.label to T.name (publisher's display label). T.transport has no publisher-backed pair. The input and output names within fields refer to top-level JSON member names, with no pointer or path interpretation.

The sender MUST retain the original spelling of a string classified as copied. For example, an implementation that changes URL case, percent-encoding, or an explicit port MUST describe the result as derived even if its local resolver regards the transformed URL as equivalent. The receiver need not contact the endpoint and MUST NOT dereference it as part of this protocol.

5. Describing Copied, Derived, Supplied, and Discarded Fields

Each entry in fields has a string kind and the exact members set out below. Its in and out values, when present, are nonempty strings. For endpoint-1, the application input names are endpoint and label when present, and the output names are url, name and transport when present. Every present application input and output MUST be named exactly once on its respective side. Absent fields and metadata such as iat MUST NOT be named. Duplicate, omitted, or unrecognized names invalidate the mapping. Version 1 expresses one-to-one, introduced, and discarded fields. A conversion requiring multicast of a field or aggregation of many inputs needs a different profile or a future mapping version.

copy (kind, in, out)
The pair MUST be one of the known assertion pairs, and the decoded strings MUST be equal. The receiver can independently re-establish the publisher assertion on the named target field.
derive (kind, in, out)
The output is computed, rewritten, or reinterpreted by the bridge. It has a named input but does not inherit that input's signature. A receiver MUST classify the target field as bridge-supplied. A receiver may expose the proposed dependency as an unauthenticated description.
default (kind, out)
The bridge supplied an output on its own authority. The receiver MUST classify that output as bridge-supplied, even when its value happens to match part of a signed source string.
drop (kind, in)
A present source field was discarded and has no bound target field. The receiver MUST report the loss when exposing the mapping to an application. A dropped field cannot support a target assertion.

The bridge MUST describe what it actually did. The endpoint-1 signature authenticates the source alone. Neither the target nor the mapping record is signed by the publisher. The receiver can verify correspondence for copy and coverage for all entries. The origin and intent behind a locally supplied value cannot in general be proved from two representations. For example, a dishonest bridge can report a genuine copy as a default and thereby withhold that assurance. Receiver policy that requires a publisher assertion MUST explicitly require a verified result for that field.

6. Receiver Procedure and Outcomes

The inputs are M, any available S and T, the independently expected pair, the receiver's trust configuration, and a UTC evaluation time. A conforming receiver MUST perform the following checks in order or produce equivalent outcomes. A top-level outcome applies to all target assertions unless step 6 produces individual results.

  1. Parse M under the bounded input and JSON rules. If it is not an object with a positive integer v and a nonempty string profile, return invalid. Once these two identifiers are well-formed, an unsupported version or profile yields unknown:unsupported. For a supported pair, validate the members and their types and encodings. Ill-formed inputs, prohibited names, malformed signatures and duplicate members return invalid. No result from this or a later step authorizes use of a malformed input.

  2. Compare the independently expected namespace and subject to M. A difference returns failed:subject. If either artifact is unavailable, return unknown:missing. Verify both artifact digests. A mismatch returns failed:artifact. Parse S and T and check their syntax and profile constraints. Invalid representations return invalid. Compare the four-way subject bindings in Section 4. Any difference returns failed:subject.

  3. Use the receiver's configuration to resolve (profile, expected namespace, keyId) to an authorized publisher key. An unknown key, unavailable trust configuration, or inability to establish that authorization returns unknown:trust. A known revoked or explicitly disallowed key returns failed:trust. Ignore keys offered by the bridge outside this configuration. Verify the detached signature with the configured Ed25519 key. A bad signature returns failed:proof.

  4. Check the authenticated validity window. If the receiver has no suitable clock, or the evaluation time is before iat or greater than or equal to exp, return unknown:time. Return the same outcome when a stricter local maximum age cannot be met. A cache MUST NOT serve a prior verified result across expiry, key revocation, or policy change without fresh evaluation.

  5. Validate field coverage and entry shapes, returning invalid for any structural violation. Check the permitted pairs and equal values for every copy. If any purported copy fails either test, return failed:mapping for the whole mapping. Do not recover by substituting a field with the same spelling or value.

  6. For each copy emit verified:publisher for the exact assertion and target field; for each derive or default emit bridge-supplied; enumerate the dropped source fields. The publisher assertion applies only to the subject, method, signer role and validity window just verified. Decisions about agent identity, endpoint use or admission are external to this procedure.

Implementations MAY coarsen diagnostics across trust boundaries, provided they preserve the internal distinction between verified, unavailable evidence, and rejected evidence. An application requiring the publisher's endpoint MUST refuse to treat any other outcome as satisfying that requirement. Successful verification with a different namespace, profile, key, artifact, or subject cannot be substituted.

7. Other Bindings and Relation to Existing Work

Other binding profiles need a stable identifier agreed between participants, exact source and destination byte representations, independent key or authority selection, freshness semantics, an enumeration of covered fields, and a fixed table of permitted copy operations. A receiver incapable of independently replaying the native predicate MUST return unknown or surface only a bridge observation. The bridge cannot assign itself a signer role merely by choosing a profile name. All profiles using version 1 must fit the outer record and its one-to-one mapping discipline.

For example, a DNSSEC-validated service binding can authenticate that the DNS zone published a locator for a service name [RFC4033] [RFC9460]. A mapping of that locator into a card does not confer a card signature, establish control of the agent, or prove possession of the endpoint's TLS key. A DNS profile would need to specify the name, RRset, validation path or trusted resolver context, receipt time and expiry. DNSSEC and TLS association checks are different assertions. This version does not define such a DNS wire profile.

The Minimum Public Discovery Information draft [MDI] describes common discovery information. Agent Resource Discovery [ARD] defines a manifest and lookup protocol with native integrity and binding rules. The corroboration proposal [CORROBORATION] compares observations obtained from different sources. This experiment addresses another point in that path: what one receiver can verify after one observation has been represented in another format. Two bridges running the same conversion can agree even when both discarded the same source field.

The sm-bridge implementation [BRIDGE] documents native proof profiles, explicit verification outcomes, checks on registry-qualified names, and converter reports for invented, defaulted, and dropped fields. These behaviors motivated this profile. The mapping record, endpoint-1 shapes and outcome rules defined here are a proposed interchange experiment. Native proof results emitted by an existing bridge cannot be relabeled as conformance.

8. Experiment and Measurements

A producer and an independently developed receiver can exchange the fixture in Appendix A and the cases in Appendix B across a process boundary. Each should record the decision for the endpoint, the presence of a bridge-supplied transport, the dropped label, and the reason a negative case was withheld. A useful deployment comparison measures how often an input cannot be expressed without losing its signer role, name scope, or dependency structure. Publishing only counts and aggregate categories can avoid exposing private agent identifiers. This document makes no assertion that independent interoperation has already been demonstrated.

9. Security and Privacy Considerations

A colluding publisher and bridge can supply a signed false endpoint. Signatures establish an attributable assertion under a configured authority; suitability of that authority is a receiver decision. Keys MUST be provisioned with their allowed roles, namespace and profile over a trusted channel. A key used for an unrelated protocol or tenant MUST NOT silently be granted discovery authority. The signed type and validity window in endpoint-1 limit cross-protocol substitution and replay. A record may still be replayed within its validity window. Operators requiring immediate withdrawal need a trusted revocation source or a stricter local validity policy.

Object hashes are unkeyed. They bind a decision to the bytes the receiver evaluated. A party can replace both artifacts and recompute their hashes; that alone cannot create an authorized publisher signature, a permitted copy operation, or a match to the subject the receiver expected. Nor does a mapping record authenticate its author. A deployment that must attribute defaults and omissions to a particular bridge needs an authenticated channel or an independently specified signature over M. Each downstream translation MUST preserve and independently verify the relevant original evidence; treating an unsigned intermediate output as a fresh publisher source discards the assurance.

Receivers MUST impose finite size and nesting limits before allocating untrusted inputs, reject duplicate fields, and avoid reflecting attacker-controlled text in trusted user interface elements without escaping. For endpoint-1, implementations MUST accept well-formed parts up to 16,384 octets each when local resource policy permits. They MAY reject larger parts; a size limit MUST be reported as unavailable or rejected evidence. Implementations MUST bound storage and repeated verification per peer. Unknown outcome codes or URI schemes MUST NOT trigger network fetches. Verification does not require a network request to a discovery target.

Original artifacts can contain private identifiers, routes and names the bridge intended to remove. Delivering the entire source to prove a surviving field can disclose the dropped field. A provider SHOULD choose audiences and retention periods for the evidence itself, minimize data at source and use a confidential channel. If policy prohibits sending the source, withhold the evidence and communicate that the receiver cannot independently verify it. Hashes of predictable records may permit correlation and guessing. Disclosing a hash is not a redaction technique.

10. IANA Considerations

This document requests no IANA actions. The experimental literals in this document are selected only within an explicitly agreed application context.

11. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", RFC 8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8259]
Bray, T., "The JavaScript Object Notation (JSON) Data Interchange Format", RFC 8259, , <https://www.rfc-editor.org/info/rfc8259>.
[RFC7493]
Bray, T., "The I-JSON Message Format", RFC 7493, , <https://www.rfc-editor.org/info/rfc7493>.
[RFC6234]
Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, , <https://www.rfc-editor.org/info/rfc6234>.
[RFC4648]
Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, , <https://www.rfc-editor.org/info/rfc4648>.
[RFC8032]
Josefsson, S. and I. Liusvaara, "Edwards-Curve Digital Signature Algorithm (EdDSA)", RFC 8032, , <https://www.rfc-editor.org/info/rfc8032>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, , <https://www.rfc-editor.org/info/rfc8785>.
[RFC3986]
Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", RFC 3986, , <https://www.rfc-editor.org/info/rfc3986>.

12. Informative References

[RFC4033]
Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "DNS Security Introduction and Requirements", RFC 4033, , <https://www.rfc-editor.org/info/rfc4033>.
[RFC9460]
Schwartz, B., Bishop, M., and E. Nygren, "Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records)", RFC 9460, , <https://www.rfc-editor.org/info/rfc9460>.
[MDI]
Cui, Y., Du, C., and K. Yao, "Minimum Public Discovery Information: Requirements and Common Semantics", Work in Progress, Internet-Draft, draft-cui-dawn-mdi-model-03, , <https://datatracker.ietf.org/doc/html/draft-cui-dawn-mdi-model-03>.
[ARD]
Bu, J., Guha, R.V., Smith, S., Jimenez, J., and J. Damick, "Agent Resource Discovery (ARD): Manifest and Lookup", Work in Progress, Internet-Draft, draft-bu-dawn-ard-discovery-00, , <https://datatracker.ietf.org/doc/html/draft-bu-dawn-ard-discovery-00>.
[CORROBORATION]
Chandra, S., "Multi-Source Corroboration for AI Agent Discovery", Work in Progress, Internet-Draft, draft-chandra-agent-registry-corroboration-02, , <https://datatracker.ietf.org/doc/html/draft-chandra-agent-registry-corroboration-02>.
[BRIDGE]
StellarMinds.ai, "sm-bridge: Discovery Bridge and Native Trust Profiles", , <https://pypi.org/project/sm-bridge/>.

Appendix A. Reproducible Positive Vector

This fixture uses the public Ed25519 test key from test 1 of Section 7.1 of [RFC8032]. It MUST be confined to testing. The receiver trusts this key as a publisher only under (endpoint-1, urn:example:a, test-1), expects subject finance in namespace urn:example:a, and evaluates at Unix second 150. S and T below are the concatenated ASCII byte literals, without embedded newlines, indentation, or a trailing newline. The signature is over JCS(S); S in this fixture is already canonical.

S = (b'{"endpoint":"https://a.example/api","exp":200,'
     b'"iat":100,"label":"Finance","namespace":"urn:example:a",'
     b'"subject":"finance","type":"discovery-mapping-source-1"}')
T = (b'{"id":"finance","kind":"locator-1",'
     b'"registry":"urn:example:a","transport":"https",'
     b'"url":"https://a.example/api"}')

The following is executable Python that constructs M using these input octets and the supplied signature. hexKey is the 32-octet pinned public key in hexadecimal. The default JSON representation of M is sufficient because M is neither hashed nor signed in this profile.

from hashlib import sha256
import json

hexKey = ("d75a980182b10ab7d54bfed3c964073a"
          "0ee172f3daa62325af021a68f707511a")
sig = ("Q0Hb2vSXo9sxOGC6PTgbx/hwHCoP3+QPbeUW3PFQbw8i"
       "sHQ2epCa30PrzPXF5fBE/pU/qfFq+hloqMc0b4LpBg==")
M = {
    "v": 1, "profile": "endpoint-1", "keyId": "test-1",
    "namespace": "urn:example:a", "subject": "finance",
    "sourceHash": sha256(S).hexdigest(),
    "targetHash": sha256(T).hexdigest(),
    "signature": sig,
    "fields": [
        {"kind": "copy", "in": "endpoint", "out": "url"},
        {"kind": "drop", "in": "label"},
        {"kind": "default", "out": "transport"},
    ],
}
wire_map = json.dumps(M, separators=(",", ":")).encode("utf-8")

The expected source and target hashes, in that order, are:

fdb6f74a789154a81b5bb30a22b4eeade289071bcabe60295c3e6fc61f8e6f7c
5177a3228291e5af4c34354b15c40770a1c18e4f625242bc9953623b04cc1df7

The required results are verified:publisher for url, bridge-supplied for transport, and a reported loss of label. No result about possession of a TLS key, ownership of the target host, the agent's behavior, or authentication of the bridge follows.

Appendix B. Decision Cases

Each case starts independently from Appendix A. Unless a case changes the expected pair or the evaluation time, those inputs stay as in that example. When a case specifies a new hash, compute it over the replacement bytes.

  1. Same local name, wrong registry. Set T.registry and M.namespace to urn:example:b and update targetHash. The request still names urn:example:a. Return failed:subject. Reusing the key in both registries cannot cure the subject mismatch.

  2. Retargeted endpoint. Replace the substring a.example with b.example in T and recompute targetHash. S and its signature are unchanged. Return failed:mapping because the publisher's verified endpoint and the claimed copy differ.

  3. Changed source bytes. Append one ASCII space to S and leave M unchanged. Return failed:artifact even though JCS(S) is unchanged. If sourceHash is also updated to commit to the new representation, the original signature still verifies and the base results apply.

  4. Missing source. Supply M and T without S. Return unknown:missing. A prior bridge report of signature success cannot complete the check.

  5. Untrusted publisher. Remove the namespace-specific key binding on the receiver. Return unknown:trust. A key with the same keyId in another namespace does not satisfy the lookup.

  6. Expired source. Evaluate at Unix second 200. Return unknown:time. Replaying a cached verified result from second 150 is incorrect.

  7. Unreported loss. Remove the drop entry for label. Return invalid because the map no longer covers all source application fields.

  8. Bad signature. Toggle a bit of the decoded signature, leaving it 64 octets long, and encode it canonically. Return failed:proof.

  9. Rewritten endpoint. Replace the substring a.example with b.example in T, recompute targetHash, and change the endpoint entry from copy to derive. Report bridge-supplied for url. An application requiring a publisher-verified endpoint receives no usable endpoint.

Author's Address

Sharath Chandra
StellarMinds.ai