Agentproto Working Group K. O. Elekula Internet-Draft Independent Intended status: Standards Track 30 November 2026 Expires: 3 June 2027 Privacy-Preserving Verification of Linked-Dialog Relationships Across Trust Boundaries draft-elekulak-agentproto-linked-dialog-00 Abstract Distributed agentic systems establish dialogs across agents, tools, services, and administrative trust boundaries. A verifier may need to determine whether two dialogs are related without receiving their complete contents or relying exclusively on an intermediary's assertion. This document specifies a protocol for representing, exchanging, and evaluating linked-dialog relationship assertions. It defines signed relationship assertions, assertion revision and withdrawal, propagation authorization and revocation, evidence descriptors, evidence positions, comparison bases, temporal evaluation, verification outcomes, and evidence-completeness assessments. Each verification result is bound to the relationship assertion evaluated, the comparison basis applied, the evidence positions examined, the completeness boundary assessed, and the temporal reference used. Verification and evidence completeness are reported independently. Assertion validity and permission to propagate an assertion are also independent. The protocol uses CBOR for encoding, COSE for signed objects, SHA-256 for object identifiers, and HTTP over TLS for its initial transport binding. It supports selective evidence disclosure and does not require disclosure of complete dialog transcripts, prompts, model state, or unrelated application data. 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 3 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1. Problem Statement . . . . . . . . . . . . . . . . . . . 4 1.2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3. Technical Contribution . . . . . . . . . . . . . . . . . 5 1.4. Non-Goals . . . . . . . . . . . . . . . . . . . . . . . 6 1.5. Conventions and Terminology . . . . . . . . . . . . . . 7 2. Protocol Model . . . . . . . . . . . . . . . . . . . . . . . 9 2.1. Object Classes . . . . . . . . . . . . . . . . . . . . . 9 2.2. Object References . . . . . . . . . . . . . . . . . . . 9 2.3. Relationship Assertions . . . . . . . . . . . . . . . . 9 2.4. Relationship Predicates . . . . . . . . . . . . . . . . 10 2.5. Assertion Identity . . . . . . . . . . . . . . . . . . . 11 2.6. Assertion Revision . . . . . . . . . . . . . . . . . . . 11 2.7. Assertion Withdrawal . . . . . . . . . . . . . . . . . . 12 2.8. Propagation Authorization . . . . . . . . . . . . . . . 12 2.9. Propagation Revocation . . . . . . . . . . . . . . . . . 13 2.10. Evidence Descriptors . . . . . . . . . . . . . . . . . . 13 2.11. Evidence Positions . . . . . . . . . . . . . . . . . . . 14 2.12. Comparison Basis . . . . . . . . . . . . . . . . . . . . 14 2.13. Completeness Boundary . . . . . . . . . . . . . . . . . 15 3. Verification Semantics . . . . . . . . . . . . . . . . . . . 15 3.1. Verification Inputs . . . . . . . . . . . . . . . . . . 15 3.2. Verification Outcomes . . . . . . . . . . . . . . . . . 16 3.3. Completeness Outcomes . . . . . . . . . . . . . . . . . 16 3.4. Evidence Position Binding . . . . . . . . . . . . . . . 17 3.5. Temporal Evaluation . . . . . . . . . . . . . . . . . . 17 3.6. Conflicting Evidence . . . . . . . . . . . . . . . . . . 17 3.7. Composite Claims . . . . . . . . . . . . . . . . . . . . 18 3.8. Verification and Authorization Separation . . . . . . . 18 3.9. Privacy-Preserving Evaluation . . . . . . . . . . . . . 18 4. Protocol Operations . . . . . . . . . . . . . . . . . . . . 19 4.1. Operation Set . . . . . . . . . . . . . . . . . . . . . 19 4.2. Signed Objects . . . . . . . . . . . . . . . . . . . . . 19 4.3. Assert . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4. Revise . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.5. Withdraw . . . . . . . . . . . . . . . . . . . . . . . . 20 4.6. Authorize . . . . . . . . . . . . . . . . . . . . . . . 20 4.7. Revoke Authorization . . . . . . . . . . . . . . . . . . 20 4.8. Verify . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.9. Result . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.10. Error . . . . . . . . . . . . . . . . . . . . . . . . . 21 5. Object Identity and State Processing . . . . . . . . . . . . 21 5.1. Deterministic Encoding . . . . . . . . . . . . . . . . . 21 5.2. Digest Calculation . . . . . . . . . . . . . . . . . . . 22 5.3. Idempotency . . . . . . . . . . . . . . . . . . . . . . 22 5.4. Revision Ordering . . . . . . . . . . . . . . . . . . . 22 5.5. Synchronization . . . . . . . . . . . . . . . . . . . . 22 5.6. Partial Visibility . . . . . . . . . . . . . . . . . . . 23 5.7. Recovery . . . . . . . . . . . . . . . . . . . . . . . . 23 6. Cryptographic Processing . . . . . . . . . . . . . . . . . . 23 6.1. Cryptographic Algorithms . . . . . . . . . . . . . . . . 23 6.2. COSE Header Requirements . . . . . . . . . . . . . . . . 23 6.3. Signature Validation . . . . . . . . . . . . . . . . . . 24 6.4. Trust Configuration . . . . . . . . . . . . . . . . . . 24 6.5. Key Compromise . . . . . . . . . . . . . . . . . . . . . 24 7. CBOR Data Model . . . . . . . . . . . . . . . . . . . . . . 25 7.1. Encoding Rules . . . . . . . . . . . . . . . . . . . . . 25 7.2. CDDL . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.3. Timestamp Validation . . . . . . . . . . . . . . . . . . 32 7.4. URI Validation . . . . . . . . . . . . . . . . . . . . . 32 7.5. Object Digest Calculation . . . . . . . . . . . . . . . 32 7.6. Unknown Fields and Extensions . . . . . . . . . . . . . 33 8. HTTP Transport Binding . . . . . . . . . . . . . . . . . . . 33 8.1. General . . . . . . . . . . . . . . . . . . . . . . . . 33 8.2. Media Type . . . . . . . . . . . . . . . . . . . . . . . 33 8.3. Endpoint Operations . . . . . . . . . . . . . . . . . . 33 8.4. Synchronous Processing . . . . . . . . . . . . . . . . . 34 8.5. Request Processing . . . . . . . . . . . . . . . . . . . 34 8.6. Response Processing . . . . . . . . . . . . . . . . . . 34 8.7. HTTP Status Codes . . . . . . . . . . . . . . . . . . . 34 8.8. Transport Independence . . . . . . . . . . . . . . . . . 35 9. Error Handling . . . . . . . . . . . . . . . . . . . . . . . 35 9.1. Error Codes . . . . . . . . . . . . . . . . . . . . . . 35 9.2. Error Semantics . . . . . . . . . . . . . . . . . . . . 36 9.3. Error Disclosure . . . . . . . . . . . . . . . . . . . . 36 10. Security Considerations . . . . . . . . . . . . . . . . . . 36 10.1. Transport Security . . . . . . . . . . . . . . . . . . . 36 10.2. Integrity and Attribution . . . . . . . . . . . . . . . 37 10.3. Replay Protection . . . . . . . . . . . . . . . . . . . 37 10.4. Authorization Enforcement . . . . . . . . . . . . . . . 37 10.5. Denial of Service . . . . . . . . . . . . . . . . . . . 38 10.6. Cryptographic Agility . . . . . . . . . . . . . . . . . 38 10.7. Evidence Trust . . . . . . . . . . . . . . . . . . . . . 38 10.8. Audit and Accountability . . . . . . . . . . . . . . . . 38 11. Privacy Considerations . . . . . . . . . . . . . . . . . . . 39 11.1. Identifier Linkability . . . . . . . . . . . . . . . . . 39 11.2. Selective Disclosure . . . . . . . . . . . . . . . . . . 39 11.3. Topology Disclosure . . . . . . . . . . . . . . . . . . 39 11.4. Metadata Minimization . . . . . . . . . . . . . . . . . 39 11.5. Retention . . . . . . . . . . . . . . . . . . . . . . . 40 11.6. Verification Result Disclosure . . . . . . . . . . . . . 40 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . 40 12.1. Media Type Registration . . . . . . . . . . . . . . . . 40 12.2. Linked-Dialog Relationship Predicate Registry . . . . . 41 12.3. Linked-Dialog Verification Error Code Registry . . . . . 42 13. Operational Considerations . . . . . . . . . . . . . . . . . 43 13.1. Resource Limits . . . . . . . . . . . . . . . . . . . . 43 13.2. Clock Handling . . . . . . . . . . . . . . . . . . . . . 43 13.3. Unavailable Sources . . . . . . . . . . . . . . . . . . 43 13.4. Retention of Revisions . . . . . . . . . . . . . . . . . 44 13.5. Interoperability Requirements . . . . . . . . . . . . . 44 13.6. Conformance Testing . . . . . . . . . . . . . . . . . . 44 14. References . . . . . . . . . . . . . . . . . . . . . . . . . 45 14.1. Normative References . . . . . . . . . . . . . . . . . . 45 14.2. Informative References . . . . . . . . . . . . . . . . . 46 Appendix A. Protocol State Transitions . . . . . . . . . . . . . 47 Appendix B. Verification Processing Sequence . . . . . . . . . . 48 Appendix C. Illustrative Verification Result . . . . . . . . . 49 Appendix D. Conformance Statement . . . . . . . . . . . . . . . 50 Appendix E. Protocol Boundaries . . . . . . . . . . . . . . . . 51 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 51 1. Introduction Distributed agentic systems create dialogs through interactions between users, agents, tools, and services. A task initiated in one dialog may result in another dialog when an agent delegates work, invokes a tool, resumes an interrupted interaction, or transfers work across an administrative boundary. A verifier may need to establish whether two dialogs are related and determine the type and evidential basis of that relationship. The verifier may not have access to every participant, intermediate interaction, or record created during execution. Evidence may be distributed among independent sources. Some sources may be unavailable, delayed, inconsistent, or subject to disclosure restrictions. A relationship assertion alone does not establish that its contents are true. A signature establishes the integrity and attributable origin of a signed statement under the verifier's configured key- trust policy. It does not independently establish the truth of the statement. A delegation record does not necessarily establish that a resulting dialog was created. Permission to propagate a relationship does not establish that the relationship exists. This specification defines a protocol that keeps these questions distinct. A verification result identifies: 1. The relationship assertion evaluated. 2. The comparison basis applied. 3. The evidence positions examined. 4. The temporal reference to which the result applies. 5. The completeness boundary assessed. 6. The verification outcome. 7. The evidence-completeness outcome. The protocol distinguishes the lifecycle of a relationship assertion from the lifecycle of the dialogs it references. It also distinguishes both from authorization to receive, verify, forward, or disclose relationship information. 1.1. Problem Statement Linked-dialog verification across trust boundaries has the following requirements: o Dialog identifiers can belong to different namespaces. o Participants can maintain different portions of a relationship history. o Intermediaries can transform or selectively disclose relationship information. o Evidence can be distributed among independent sources. o Assertions can be revised or withdrawn. o Permission to propagate a relationship can be revoked independently of the assertion. o Evidence can become available after an initial evaluation. o Historical and current evaluations can produce different results. o Verifiers can examine different evidence positions. o A verifier can be unable to establish completeness beyond a declared evidence boundary. A verification result that reports only a positive or negative conclusion does not identify these conditions. The protocol therefore binds each result to its claim, comparison basis, evidence positions, temporal reference, and completeness boundary. 1.2. Scope This specification defines: o A relationship assertion data model. o Assertion identity and revision semantics. o Signed assertion representation. o Assertion withdrawal. o Propagation authorization and revocation. o Evidence descriptors and evidence positions. o Comparison bases and completeness boundaries. o Temporal evaluation. o Verification and completeness result codes. o Protocol operations and state transitions. o A CBOR data representation. o An HTTP transport binding. o Security, privacy, and operational requirements. o IANA registration requirements. 1.3. Technical Contribution The protocol defines a verification result that binds five independently identifiable dimensions: 1. Relationship claim: the assertion being evaluated. 2. Comparison basis: the criteria and trust assumptions applied. 3. Evidence position: the identifiable source state examined. 4. Temporal reference: the time to which the conclusion applies. 5. Completeness boundary: the declared evidence universe against which coverage is assessed. The verification outcome and completeness outcome are separate. A verifier can report a satisfied relationship claim while reporting partial evidence coverage. It can report an indeterminate claim when relevant evidence is unavailable without treating that absence as proof that the relationship does not exist. Assertion revision, assertion withdrawal, propagation authorization, and propagation revocation are separately represented. This prevents a change in permission to disclose or propagate relationship information from being interpreted as proof that the underlying historical relationship never existed. The protocol's contribution is the interoperable definition of these combined verification semantics and their associated object and state-transition rules. It does not claim ownership of the underlying concepts of dialog identifiers, relationship graphs, signatures, evidence, or temporal metadata. 1.4. Non-Goals This specification does not: o Define a universal dialog identifier. o Define a global dialog registry. o Define an agent identity or credential issuance system. o Define a new authentication or authorization framework. o Define agent reasoning, planning, or model behavior. o Establish the correctness of agent-generated content. o Require disclosure of complete dialog transcripts. o Define an audit-log architecture. o Define a transparency-log or completeness-proof system. o Define a new transport protocol. o Define application-specific task execution semantics. o Require every participant to maintain a complete relationship graph. o Require every intermediary to disclose its internal records. 1.5. Conventions and Terminology 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. 1.5.1. Dialog A dialog is a correlated sequence of interactions between two or more participants over the course of a task. Its identifier and lifecycle are defined by the system that manages the dialog. 1.5.2. Dialog Reference A dialog reference is a typed reference to a dialog identifier in a specified namespace. 1.5.3. Linked-Dialog Relationship A linked-dialog relationship is a declared association between two or more referenced objects, including dialogs, tasks, and resources. 1.5.4. Relationship Assertion A relationship assertion is a statement identifying a subject, predicate, object, issuer, revision, and temporal applicability. 1.5.5. Assertion Series An assertion series is the sequence of revisions associated with one logical relationship claim. 1.5.6. Evidence Evidence is information used to support, challenge, or evaluate a relationship assertion. 1.5.7. Evidence Source An evidence source is an entity or system that provides evidence or maintains a reference to evidence. 1.5.8. Evidence Position An evidence position identifies the state of an evidence source examined during verification. 1.5.9. Comparison Basis A comparison basis identifies the claim-evaluation criteria, required evidence classes, trust assumptions, and conflict-handling policy. 1.5.10. Completeness Boundary A completeness boundary defines the evidence sources, source positions, time range, or evidence classes against which evidence coverage is assessed. 1.5.11. Temporal Reference A temporal reference identifies the time to which a verification conclusion applies. 1.5.12. Verifier A verifier is an entity or process that evaluates relationship assertions and associated evidence. 1.5.13. Propagation Authorization A propagation authorization is a signed statement permitting a defined recipient to receive, verify, forward, or receive disclosure of specified relationship information. 1.5.14. Assertion Withdrawal An assertion withdrawal is a signed statement by an authorized issuer withdrawing a previously issued assertion. 1.5.15. Propagation Revocation A propagation revocation terminates or restricts permission to propagate information under a specified propagation authorization. 2. Protocol Model 2.1. Object Classes The protocol defines the following object classes: o Relationship assertions. o Assertion withdrawals. o Propagation authorizations. o Authorization revocations. o Evidence descriptors. o Comparison bases. o Completeness boundaries. o Verification requests. o Verification results. o Error responses. These objects have separate semantics and lifecycle rules. A relationship assertion describes a claimed relationship. Evidence descriptors identify information that may be used to evaluate the claim. A comparison basis defines evaluation criteria. A completeness boundary defines the scope of evidence coverage. A withdrawal changes an assertion's status. A propagation authorization controls permitted disclosure and forwarding. A verification result records the verifier's conclusion and its scope. 2.2. Object References An object reference contains: o object-type: "dialog", "task", or "resource". o namespace: an absolute URI identifying the identifier namespace. o identifier: an opaque byte-string identifier. An identifier MUST be interpreted only within its declared namespace. A verifier MUST NOT assume that identifiers from different namespaces are directly comparable. An implementation MAY maintain a local mapping between identifiers. Such a mapping MUST NOT be disclosed unless permitted by the applicable disclosure policy. 2.3. Relationship Assertions A relationship assertion MUST contain: o Protocol version. o Assertion-series identifier. o Revision number. o Issuer identifier. o Subject reference. o Relationship predicate. o Object reference. o Issuance time. o Validity start time. o Comparison-basis digest. o Zero or more evidence descriptors. An assertion MAY contain a validity end time and a superseded assertion identifier. The assertion-series identifier MUST be a randomly generated opaque value containing at least 128 bits. The revision number MUST be a positive integer. The issuer identifier MUST be an absolute URI identifying the issuer within the issuer's configured trust domain. The subject and object MUST be references to identifiable protocol or application objects. An assertion MUST NOT contain an embedded dialog transcript or application payload as a substitute for an evidence descriptor. 2.4. Relationship Predicates The initial relationship predicates are: +-------------------+-----------------------------------------------+ | Predicate | Meaning | +-------------------+-----------------------------------------------+ | delegated-from | The subject was created or initiated as a | | | consequence of delegation from the object. | | aggregated-from | The subject incorporates or aggregates | | | information or results from the object. | | continuation-of | The subject continues an interaction | | | represented by the object. | | related-to | The subject and object have an explicitly | | | asserted relationship not represented by | | | another registered predicate. | | replaces | The subject supersedes the object for the | | | stated purpose. | | derived-from | The subject was derived from the object. | | input-to | The subject resource was used as an input to | | | the object task or dialog. | | output-of | The subject resource was produced as an | | | output of the object task or dialog. | +-------------------+-----------------------------------------------+ The subject and object type constraints for each predicate are defined in the IANA registry in Section 12. A predicate MUST NOT be interpreted beyond its registered definition. An implementation MUST NOT treat related-to as equivalent to delegated-from, continuation-of, or another more specific predicate. A predicate does not independently establish authorization, causation, correctness, ownership, or legal responsibility. 2.5. Assertion Identity An assertion identifier is the SHA-256 digest of the deterministic CBOR encoding of the assertion core. The assertion core is the complete assertion object excluding: o The assertion identifier. o The COSE signature. o Transport-specific metadata. The assertion identifier MUST be calculated before signing. The assertion-series identifier remains constant across revisions. Each revision has a distinct assertion identifier. The revision number MUST increase monotonically within an assertion series. A receiver MUST reject a revision that reuses an existing revision number with different assertion content. If two different assertions are received with the same assertion- series identifier and revision number, the receiver MUST report a revision conflict. It MUST NOT select one assertion arbitrarily. 2.6. Assertion Revision An issuer MAY revise an assertion by issuing a new signed assertion with: o The same assertion-series identifier. o A greater revision number. o A new assertion identifier. o A supersedes reference identifying the immediately preceding assertion. The first revision MUST omit supersedes. Every subsequent revision MUST identify the immediately preceding accepted revision. A receiver MUST reject a revision whose supersedes value does not identify the immediately preceding revision. A revision replaces the prior assertion for current-state evaluation only when the issuer's signature and revision sequence are valid. A verifier evaluating a historical temporal reference MUST retain the ability to evaluate an earlier revision when that revision was applicable at the requested time. Revision MUST NOT be interpreted as deletion of the historical assertion. 2.7. Assertion Withdrawal An issuer MAY withdraw a specific assertion revision by issuing a signed withdrawal object. A withdrawal MUST identify: o The assertion-series identifier. o The assertion identifier being withdrawn. o The issuer. o A unique withdrawal identifier. o The withdrawal time. o A reason code. The withdrawal MUST be authenticated using a key authorized for the assertion issuer and withdrawal operation. A withdrawal applies only to the assertion identifier it names. Withdrawal of a revision MUST NOT automatically withdraw another revision in the same series. A withdrawal changes the assertion's status for evaluations whose temporal reference is at or after the withdrawal time. A withdrawal MUST NOT erase the historical fact that the assertion was previously issued. A verifier MUST distinguish: o An assertion that was validly issued and later withdrawn. o An assertion that was invalid when issued. o An assertion whose status cannot be determined. A new assertion revision is required to establish a new current claim after withdrawal. 2.8. Propagation Authorization Propagation authorization is independent of relationship assertion validity. A propagation authorization MUST identify: o Authorization identifier. o Issuer. o Authorized recipient. o Assertion-series identifier. o Permitted operations. o Disclosure scope. o Start time. o Expiration time. The permitted operations are: o receive: permission to receive the specified relationship information. o verify: permission to evaluate the specified relationship information. o forward: permission to forward the specified relationship information. o disclose-evidence: permission to disclose the specified evidence references or evidence material. A recipient MUST NOT infer permission to forward information from permission to receive or verify it. A recipient MUST NOT infer permission to disclose evidence from permission to receive an assertion. An authorization MUST identify its recipient explicitly. Wildcard recipients are not defined by this specification. An authorization MUST identify the assertion series to which it applies. Authorization to one assertion series MUST NOT be inferred for another series. 2.9. Propagation Revocation An authorization issuer MAY revoke a propagation authorization. A revocation MUST identify: o The authorization identifier. o The issuer. o A unique revocation identifier. o The revocation time. o A reason code. The revocation MUST be signed by a key authorized to revoke the authorization. After receiving a valid revocation, a recipient MUST NOT perform subsequent forwarding or disclosure operations under the revoked authorization. A recipient MUST evaluate the revocation time when determining whether a propagation operation was authorized at a historical temporal reference. Revocation MUST NOT be interpreted as proof that the underlying relationship assertion is false. Revocation MUST NOT automatically terminate or modify the lifecycle of any dialog referenced by the assertion. Revocation does not retroactively undo a propagation operation completed before the revocation became effective. 2.10. Evidence Descriptors An evidence descriptor identifies evidence without requiring the evidence itself to be transmitted. It MUST contain: o Evidence identifier. o Evidence-source identifier. o Evidence type. o Evidence position. It MAY contain: o A SHA-256 digest of the evidence. o A media type. o A retrieval URI. o A disclosure classification. A digest MUST identify its algorithm. SHA-256 is the mandatory-to- implement digest algorithm for this specification. A retrieval URI MUST NOT be treated as authorization to retrieve the referenced material. Evidence material MUST be disclosed only when the recipient is authorized to receive it. A verifier MUST distinguish a reference to evidence from the evidence material itself. 2.11. Evidence Positions An evidence position identifies the source state examined during verification. A position MUST use one of the following types: o sequence: a source-defined unsigned sequence number. o checkpoint: a source-defined checkpoint identifier. o version: a source-defined version identifier. o event: a source-defined event identifier. o timestamp: a source-defined UTC timestamp. A verifier MUST record the position actually examined. A verifier MUST NOT report a source as examined merely because the source was listed in the comparison basis. If a source does not expose a stable position, the verifier MUST report the position as unknown. A verifier MUST NOT represent an unknown position as a current or latest position. 2.12. Comparison Basis A comparison basis MUST identify: o A basis identifier. o A digest of the comparison-basis core. o The relationship predicate or claim class being evaluated. o Required evidence types. o A trust-policy reference. o A conflict-resolution policy. o A temporal-evaluation policy. A comparison-basis core MUST be immutable after its digest is calculated. A change to any comparison-basis field MUST produce a new digest. A verifier MUST identify the comparison-basis digest used in its result. Two results MUST NOT be treated as equivalent solely because they report the same verification outcome if they use different comparison-basis digests. A comparison basis defines evaluation criteria. It does not itself establish that an assertion is true. 2.13. Completeness Boundary A completeness boundary defines the evidence universe against which evidence coverage is assessed. It MUST identify: o A boundary identifier. o Required evidence sources. o Required evidence types. o A start time. o An end time. The start time MUST be earlier than or equal to the end time. A completeness boundary MUST be immutable after its digest is calculated. A change to any completeness-boundary field MUST produce a new digest. A verifier MUST NOT report complete-within-boundary unless every required source and evidence type within the boundary has been examined at an identified position. The phrase complete-within-boundary MUST NOT be interpreted as global or universal completeness. 3. Verification Semantics 3.1. Verification Inputs A verification operation evaluates: 1. A signed relationship assertion. 2. A comparison basis. 3. Available evidence descriptors and evidence material. 4. Relevant assertion revisions and withdrawals. 5. A temporal reference. 6. A completeness boundary. 7. The verifier's configured trust and policy information. A verifier MUST identify these inputs in the result. 3.2. Verification Outcomes A verifier MUST return exactly one of the following outcomes: +--------------+---------------------------------------------------+ | Outcome | Definition | +--------------+---------------------------------------------------+ | satisfied | Available evidence establishes the claim under | | | the declared comparison basis and temporal | | | reference. | | unsatisfied | Available evidence affirmatively establishes | | | that the claim does not meet the required | | | conditions under the declared comparison basis | | | and temporal reference. | | indeterminate| Available evidence establishes neither satisfied | | | nor unsatisfied. | | not-evaluated| The verifier did not perform the requested | | | evaluation. | +--------------+---------------------------------------------------+ An unavailable evidence source MUST NOT, by itself, produce unsatisfied. A missing record MUST NOT, by itself, be treated as proof that an event did not occur. A verifier MUST return indeterminate when required evidence is unavailable and the comparison basis does not establish that the absence is conclusive. A verifier MAY return unsatisfied when affirmative evidence establishes that a required condition was not met. A verifier MUST NOT return satisfied solely because the assertion has a valid signature. 3.3. Completeness Outcomes A verifier MUST separately return exactly one of the following completeness outcomes: +-------------------------+----------------------------------------+ | Outcome | Definition | +-------------------------+----------------------------------------+ | complete-within-boundary| Every evidence requirement in the | | | declared completeness boundary was | | | examined at an identified position. | | partial | Some required evidence was examined, | | | but one or more required elements were | | | unavailable or not examined. | | unknown | The verifier cannot determine the | | | extent of evidence coverage. | | not-assessed | The verifier did not assess evidence | | | completeness. | +-------------------------+----------------------------------------+ A verifier MUST NOT infer complete-within-boundary from the absence of known missing evidence. A completeness outcome MUST NOT be substituted for a verification outcome. 3.4. Evidence Position Binding Every completed verification result MUST identify the evidence positions examined. For each required source, the result MUST identify: o The source identifier. o Whether the source was examined. o The position type and value when known. If a source position cannot be obtained, the result MUST identify that source as unexamined or as having an unknown position. A verifier MUST NOT claim to have examined an evidence position that it did not actually retrieve and evaluate. 3.5. Temporal Evaluation All protocol timestamps MUST use the RFC 3339 date-time format [RFC3339] and MUST use UTC with the Z suffix. A temporal reference identifies the time to which a verification conclusion applies. The verifier MUST evaluate assertion validity, revision state, withdrawal state, and authorization state in relation to the requested temporal reference. The verifier MUST include the temporal reference in the result. A verifier MUST distinguish: o The time at which an event occurred. o The time at which the event was recorded. o The time at which the verifier received the event. o The time at which verification was performed. A verifier MUST NOT infer event ordering from timestamps supplied by unrelated clocks unless the comparison basis defines an acceptable clock-trust model. A verifier MUST return indeterminate when unresolved clock uncertainty prevents a required temporal determination. 3.6. Conflicting Evidence A verifier MUST preserve the identity of conflicting evidence sources. A verifier MUST NOT silently discard a conflicting assertion. If the comparison basis defines an authoritative source or conflict-resolution method, the verifier MUST apply that method and identify it in the result. If the comparison basis does not define a method sufficient to resolve the conflict, the verifier MUST return indeterminate. 3.7. Composite Claims A comparison basis MAY require multiple relationship assertions to establish a composite claim. A verifier MUST evaluate each required assertion under the same temporal reference unless the comparison basis explicitly defines different temporal references. A composite claim MUST NOT be reported as satisfied if a required component is unsatisfied or indeterminate. The verifier MUST identify the component assertion identifiers that materially contributed to the result. 3.8. Verification and Authorization Separation A relationship may be verified even when the verifier is not authorized to propagate its information. An authorization may permit propagation of an assertion that remains unverified. A verifier MUST NOT treat authorization as evidence that a relationship exists. A verifier MUST NOT treat relationship verification as authorization to disclose or forward information. 3.9. Privacy-Preserving Evaluation Implementations SHOULD support verification using scoped evidence references and selectively disclosed evidence. Implementations SHOULD avoid requiring: o Complete dialog transcripts. o Prompts or model instructions. o Internal model reasoning. o Unrelated tool outputs. o Unrelated user information. o Unrelated task histories. A verifier MUST NOT require disclosure of unrelated application content when the declared comparison basis can be evaluated using narrower evidence. 4. Protocol Operations 4.1. Operation Set The protocol defines the following operations: +---------------------+---------------------------------------------+ | Operation | Purpose | +---------------------+---------------------------------------------+ | assert | Submit a signed relationship assertion. | | revise | Submit a new revision of an assertion | | | series. | | withdraw | Withdraw a previously issued assertion. | | authorize | Register a propagation authorization. | | revoke-authorization| Revoke a propagation authorization. | | verify | Request evaluation of a relationship | | | assertion. | | result | Return a signed verification result. | | error | Return a protocol processing error. | +---------------------+---------------------------------------------+ All protocol messages MUST include protocol version 1 and an operation type. 4.2. Signed Objects The following objects MUST be signed using COSE_Sign1: o Relationship assertions. o Assertion withdrawals. o Propagation authorizations. o Authorization revocations. o Verification results. The COSE payload MUST contain the deterministic CBOR encoding of the corresponding complete protocol object. The receiver MUST validate the object structure and signature before applying its state changes. 4.3. Assert An assert operation submits a signed relationship assertion. The receiver MUST: 1. Decode the CBOR message. 2. Validate the message structure. 3. Validate the COSE object. 4. Verify the signature. 5. Validate the assertion identifier. 6. Check assertion-series and revision state. 7. Apply local issuer-trust policy. 8. Record the assertion or return an appropriate error. A receiver MUST NOT report an assertion as verified merely because it was accepted or stored. 4.4. Revise A revise operation submits a higher revision of an existing assertion series. The receiver MUST verify that: o The assertion-series identifier matches the existing series. o The revision number is greater than the current accepted revision. o The superseded assertion identifier identifies the immediately preceding revision. o The new assertion is signed by an issuer authorized for the series. A receiver MUST reject a revision that creates an ambiguous revision sequence. 4.5. Withdraw A withdraw operation submits a signed withdrawal object. The receiver MUST verify the issuer's authority to withdraw the identified assertion. The receiver MUST retain the withdrawal event and its temporal reference. A receiver MUST NOT delete the prior assertion as a consequence of processing a withdrawal. A receiver MUST reject a withdrawal that identifies an unknown assertion unless local policy explicitly permits retention of an out-of-order withdrawal for later reconciliation. 4.6. Authorize An authorize operation submits a signed propagation authorization. The receiver MUST validate the authorization issuer and authorization scope. The receiver MUST enforce the specific recipient, operations, disclosure scope, and validity interval contained in the authorization. 4.7. Revoke Authorization A revoke-authorization operation submits a signed authorization- revocation object. The receiver MUST identify the authorization being revoked and the revocation time. After receiving a valid revocation, the receiver MUST prevent subsequent forwarding and disclosure under the revoked authorization. A receiver MUST NOT infer that previously completed propagation never occurred. 4.8. Verify A verify operation requests evaluation of a signed relationship assertion. The request MUST include: o The signed assertion. o The comparison-basis object. o The completeness-boundary object. o The temporal reference. o The requested disclosure level. The verifier MUST validate the assertion, comparison basis, and completeness boundary before performing the evaluation. The verifier MUST confirm that the comparison-basis digest in the assertion matches the supplied comparison basis. The verifier MUST identify the evidence positions actually examined. If the verifier cannot obtain required evidence, it MUST return a result that identifies the limitation. 4.9. Result A result operation returns a signed verification result. A completed result MUST include: o A result identifier. o The assertion identifier. o The comparison-basis digest. o The completeness-boundary digest. o The temporal reference. o The verification outcome. o The completeness outcome. o The evidence positions examined. o The verification time. o The verifier identifier. The result MAY include reason codes and conflicting-source references. A result MUST NOT imply that evidence outside the declared completeness boundary was examined. 4.10. Error An error operation identifies a protocol processing failure. An error response MUST contain an error code and a non-sensitive description. An error response MUST NOT be interpreted as a verification result. 5. Object Identity and State Processing 5.1. Deterministic Encoding Protocol objects used for digest calculation MUST use deterministic CBOR encoding as specified in [RFC8949]. A receiver MUST reject an object whose calculated digest does not match the digest carried by the object. A receiver MUST validate the object against the applicable data structure before calculating or accepting its digest. 5.2. Digest Calculation The following digest calculations are defined: o assertion-id: SHA-256 over deterministic CBOR encoding of assertion-core. o withdrawal-id: SHA-256 over deterministic CBOR encoding of withdrawal-core. o authorization-id: SHA-256 over deterministic CBOR encoding of authorization-core. o revocation-id: SHA-256 over deterministic CBOR encoding of revocation-core. o basis-digest: SHA-256 over deterministic CBOR encoding of comparison-basis-core. o boundary-digest: SHA-256 over deterministic CBOR encoding of completeness-boundary-core. o result-id: SHA-256 over deterministic CBOR encoding of verification-result-core. The identifier field being calculated MUST be excluded from the corresponding core. A signature MUST cover the complete object, including its calculated identifier. 5.3. Idempotency Assertion submission, withdrawal, authorization, and revocation operations MUST be idempotent. A receiver that receives the same valid object more than once MUST NOT create multiple logical instances of that object. A receiver MUST identify an object using its defined digest identifier. A repeated object with the same identifier and different encoded content MUST be rejected. 5.4. Revision Ordering Receivers MUST use assertion-series identifiers and revision numbers to order assertion revisions. Receivers MUST NOT use message arrival order as the sole basis for determining assertion revision order. A receiver MUST retain enough state to detect duplicate revision numbers and revision conflicts. 5.5. Synchronization Implementations MAY synchronize assertions, withdrawals, authorizations, and revocations between cooperating services. Synchronization MUST preserve object identifiers, issuer attribution, revision numbers, signatures, and temporal information. A synchronizing intermediary MUST NOT modify a signed object. If an intermediary transforms an object representation, it MUST preserve the original signed object or provide a separately identifiable transformation record. 5.6. Partial Visibility A participant is not required to possess the complete relationship history. A verifier MUST identify the evidence available to it and MUST NOT claim global visibility from a partial local view. A verifier MUST return partial or unknown completeness when its evidence coverage does not satisfy the declared boundary. 5.7. Recovery After loss of local state, an implementation MAY recover protocol objects from cooperating sources. Recovered objects MUST be validated using the same rules as newly received objects. An implementation MUST NOT treat an unverified recovery response as authoritative merely because it came from a previously contacted intermediary. 6. Cryptographic Processing 6.1. Cryptographic Algorithms SHA-256 MUST be implemented for object identifiers and evidence digests. COSE_Sign1 MUST be implemented for signed protocol objects. EdDSA using the Ed25519 key type MUST be implemented for signatures. The COSE algorithm identifier MUST be -8 (EdDSA). The key type MUST be OKP with curve Ed25519. Implementations MUST reject unsupported algorithms and key types. An implementation MUST NOT silently substitute a different algorithm. 6.2. COSE Header Requirements The COSE protected header MUST contain: o alg, with value -8. o kid, identifying the signing key. The kid value MUST be a byte string. The COSE external AAD MUST be an empty byte string. Security-relevant headers MUST be protected. A receiver MUST reject a COSE object that places a required security- relevant header only in the unprotected header. 6.3. Signature Validation A verifier MUST: 1. Decode the COSE_Sign1 object. 2. Validate its protected headers. 3. Identify the signing key using kid. 4. Resolve the key using its configured trust mechanism. 5. Validate that the key is an Ed25519 key. 6. Verify the COSE signature. 7. Validate the signed payload's CBOR structure. 8. Recalculate the object identifier. 9. Compare the calculated identifier with the carried identifier. 10. Apply issuer and operation authorization policy. A signature is valid only if all required checks succeed. 6.4. Trust Configuration This specification does not define a certificate authority, key- discovery service, or universal identity framework. A deployment MUST configure how issuer identifiers are associated with trusted signing keys. A verifier MUST determine whether a signing key is trusted for the claimed issuer and operation. A kid value identifies a key. It does not establish trust in that key. A valid signature does not establish that the signed assertion is factually correct. 6.5. Key Compromise Implementations MUST support local key revocation and trust-policy updates. A verifier MUST apply its configured key-compromise policy when evaluating assertions signed by a compromised key. Key revocation MUST NOT automatically be interpreted as proof that every historical assertion signed by that key was false. Where the time of compromise cannot be established, the verifier SHOULD return indeterminate for affected evaluations unless the comparison basis defines another defensible result. 7. CBOR Data Model 7.1. Encoding Rules Protocol messages MUST use CBOR as specified in [RFC8949]. Protocol objects used for digest calculation MUST use deterministic encoding as specified in [RFC8949]. Text strings used for protocol field names and registered values MUST be encoded as UTF-8. All maps defined in this section MUST use the specified field names. Duplicate map keys MUST be rejected. A receiver MUST reject a message containing an invalid field type, missing required field, or invalid required value. 7.2. CDDL The following CDDL defines the protocol data model. CDDL is specified in [RFC8610]. protocol-version = 1 digest = bstr .size 32 opaque-id = bstr .size (16..64) uri-string = tstr timestamp = tstr object-type = "dialog" / "task" / "resource" object-reference = { "object-type": object-type, "namespace": uri-string, "identifier": opaque-id } relationship-predicate = "delegated-from" / "aggregated-from" / "continuation-of" / "related-to" / "replaces" / "derived-from" / "input-to" / "output-of" sequence-position = { "position-type": "sequence", "position-value": uint } checkpoint-position = { "position-type": "checkpoint", "position-value": tstr } version-position = { "position-type": "version", "position-value": tstr } event-position = { "position-type": "event", "position-value": tstr } timestamp-position = { "position-type": "timestamp", "position-value": timestamp } evidence-position = sequence-position / checkpoint-position / version-position / event-position / timestamp-position evidence-descriptor = { "evidence-id": opaque-id, "source-id": uri-string, "evidence-type": tstr, "position": evidence-position, ? "digest": digest, ? "media-type": tstr, ? "retrieval-uri": uri-string, ? "disclosure-class": tstr } assertion-core = { "protocol-version": 1, "assertion-series-id": opaque-id, "revision": uint, "issuer": uri-string, "subject": object-reference, "predicate": relationship-predicate, "object": object-reference, "issued-at": timestamp, "valid-from": timestamp, ? "valid-until": timestamp, "comparison-basis-digest": digest, "evidence": [* evidence-descriptor], ? "supersedes": digest } relationship-assertion = { "assertion-core": assertion-core, "assertion-id": digest } withdrawal-core = { "protocol-version": 1, "assertion-series-id": opaque-id, "assertion-id": digest, "issuer": uri-string, "withdrawn-at": timestamp, "reason-code": tstr } assertion-withdrawal = { "withdrawal-core": withdrawal-core, "withdrawal-id": digest } comparison-basis-core = { "protocol-version": 1, "basis-id": opaque-id, "predicate": relationship-predicate, "required-evidence-types": [* tstr], "trust-policy-reference": uri-string, "conflict-policy": tstr, "temporal-policy": tstr } comparison-basis = { "comparison-basis-core": comparison-basis-core, "basis-digest": digest } completeness-boundary-core = { "protocol-version": 1, "boundary-id": opaque-id, "required-sources": [* uri-string], "required-evidence-types": [* tstr], "start-time": timestamp, "end-time": timestamp } completeness-boundary = { "completeness-boundary-core": completeness-boundary-core, "boundary-digest": digest } permitted-operation = "receive" / "verify" / "forward" / "disclose-evidence" authorization-core = { "protocol-version": 1, "issuer": uri-string, "recipient": uri-string, "assertion-series-id": opaque-id, "permitted-operations": [1* permitted-operation], "disclosure-scope": [* tstr], "not-before": timestamp, "expires-at": timestamp } propagation-authorization = { "authorization-core": authorization-core, "authorization-id": digest } revocation-core = { "protocol-version": 1, "authorization-id": digest, "issuer": uri-string, "revoked-at": timestamp, "reason-code": tstr } authorization-revocation = { "revocation-core": revocation-core, "revocation-id": digest } temporal-reference = timestamp completeness-outcome = "complete-within-boundary" / "partial" / "unknown" / "not-assessed" verification-outcome = "satisfied" / "unsatisfied" / "indeterminate" / "not-evaluated" examined-position = { "source-id": uri-string, "examined": false } / { "source-id": uri-string, "examined": true, "position": evidence-position } verification-result-core = { "protocol-version": 1, "assertion-id": digest, "basis-digest": digest, "boundary-digest": digest, "temporal-reference": temporal-reference, "verification-outcome": verification-outcome, "completeness-outcome": completeness-outcome, "evidence-positions": [* examined-position], "verified-at": timestamp, "verifier-id": uri-string, ? "reason-codes": [* tstr], ? "conflicting-sources": [* uri-string], ? "component-assertions": [* digest] } verification-result = { "verification-result-core": verification-result-core, "result-id": digest } verify-request = { "protocol-version": 1, "operation": "verify", "signed-assertion": bstr, "comparison-basis": comparison-basis, "completeness-boundary": completeness-boundary, "temporal-reference": temporal-reference, "disclosure-level": "references-only" / "scoped-evidence" } assert-request = { "protocol-version": 1, "operation": "assert", "signed-object": bstr } revise-request = { "protocol-version": 1, "operation": "revise", "signed-object": bstr } withdraw-request = { "protocol-version": 1, "operation": "withdraw", "signed-object": bstr } authorize-request = { "protocol-version": 1, "operation": "authorize", "signed-object": bstr } revoke-authorization-request = { "protocol-version": 1, "operation": "revoke-authorization", "signed-object": bstr } result-response = { "protocol-version": 1, "operation": "result", "signed-result": bstr } error-response = { "protocol-version": 1, "operation": "error", "error-code": tstr, "error-description": tstr, ? "related-object-id": digest } 7.3. Timestamp Validation Every timestamp MUST be a valid RFC 3339 date-time value. Timestamps MUST use UTC and the Z suffix. A timestamp MUST NOT contain an unknown local offset. A receiver MUST reject an invalid timestamp. A receiver MUST reject a valid-until value earlier than valid-from. A receiver MUST reject a completeness boundary whose end-time is earlier than its start-time. 7.4. URI Validation Every field defined as uri-string MUST contain an absolute URI. A receiver MUST reject a URI that is not syntactically valid. The URI scheme and authority MUST be interpreted under the trust and namespace configuration of the receiving deployment. A URI MUST NOT be treated as proof that the referenced service is trustworthy or available. 7.5. Object Digest Calculation For each object with a separate core and identifier: 1. Construct the complete core object. 2. Encode the core using deterministic CBOR. 3. Calculate SHA-256 over the encoded bytes. 4. Store the resulting 32-byte digest in the identifier field. 5. Construct the complete object containing the core and digest. 6. Encode the complete object using deterministic CBOR. 7. Place the complete encoded object in the COSE_Sign1 payload. 8. Sign the payload. The identifier MUST NOT be included in the bytes used to calculate itself. The signature MUST cover the complete object containing both the core and its identifier. 7.6. Unknown Fields and Extensions A receiver MUST reject unknown fields in security-critical objects unless a later protocol version explicitly defines their handling. A receiver MAY ignore unknown non-critical fields only when doing so does not change the security, identity, authorization, or verification semantics. An implementation MUST NOT silently reinterpret an unknown relationship predicate. An implementation MUST reject an unsupported protocol version. 8. HTTP Transport Binding 8.1. General This section defines the initial HTTP binding. The binding uses HTTP semantics specified in [RFC9110] and TLS specified in [RFC8446]. The binding operates over HTTP/2 or HTTP/3. All endpoints MUST use HTTPS. The protocol data model and verification semantics are independent of HTTP. 8.2. Media Type The protocol media type is: application/linked-dialog-verification The media type carries CBOR-encoded protocol messages. A sender MUST include: Content-Type: application/linked-dialog-verification A sender SHOULD include: Accept: application/linked-dialog-verification A receiver MUST reject an unsupported media type with HTTP status code 415 Unsupported Media Type. 8.3. Endpoint Operations The following relative endpoint paths are defined: +--------+--------------------------------------+-------------------+ | Method | Path | Operation | +--------+--------------------------------------+-------------------+ | POST | /ldv/v1/assertions | Submit an | | | | assertion. | | POST | /ldv/v1/revisions | Submit an | | | | assertion | | | | revision. | | POST | /ldv/v1/withdrawals | Withdraw an | | | | assertion. | | POST | /ldv/v1/authorizations | Submit a | | | | propagation | | | | authorization. | | POST | /ldv/v1/authorization-revocations | Revoke an | | | | authorization. | | POST | /ldv/v1/verify | Request | | | | verification. | +--------+--------------------------------------+-------------------+ An endpoint MUST process only the operation assigned to its path. A request whose operation field does not match its endpoint MUST be rejected with 400 Bad Request. 8.4. Synchronous Processing All operations defined by this binding are synchronous. A server MUST either complete the operation and return its response or return an error. A server MUST NOT return 202 Accepted for an operation defined by this binding. A deployment that requires asynchronous processing MUST define a separate binding with explicit result-retrieval semantics. 8.5. Request Processing A client MUST send a complete CBOR request body. A server MUST validate the request before applying state changes. A server MUST NOT apply a state-changing operation when message validation, signature validation, digest validation, or authorization validation fails. A server MUST NOT partially apply an invalid request. 8.6. Response Processing A successful assertion, revision, withdrawal, authorization, or revocation operation MUST return 201 Created with an acknowledgement identifying the accepted object. A successful verification operation MUST return 200 OK with a signed result response. A server MUST NOT return a verification outcome when it has not performed the requested evaluation. 8.7. HTTP Status Codes The following status codes are defined: +-------------------------+----------------------------------------+ | Status | Meaning | +-------------------------+----------------------------------------+ | 200 OK | Verification completed and a signed | | | result is returned. | | 201 Created | A new protocol object was accepted. | | 400 Bad Request | The request is malformed or | | | structurally invalid. | | 401 Unauthorized | Authentication is required or failed. | | 403 Forbidden | The requester is authenticated but not | | | authorized. | | 404 Not Found | The referenced object is not available.| | 409 Conflict | The request conflicts with existing | | | assertion or revision state. | | 413 Content Too Large | The request exceeds the server's | | | configured message-size limit. | | 415 Unsupported Media | The media type is not supported. | | Type | | | 422 Unprocessable | The request is syntactically valid but | | Content | violates protocol semantics. | | 429 Too Many Requests | The request exceeds an applicable | | | rate limit. | | 500 Internal Server | An unexpected server failure occurred. | | Error | | | 503 Service Unavailable | The service cannot currently process | | | the request. | +-------------------------+----------------------------------------+ A server MUST use 409 Conflict for conflicting assertion revisions. A server MUST use 422 Unprocessable Content for a structurally valid object whose protocol semantics are invalid. A server MUST NOT use an HTTP success status to imply that a relationship claim was verified unless the response contains a signed verification result. 8.8. Transport Independence A future transport binding MAY carry the same protocol objects over another transport. A future binding MUST preserve: o Object identity. o Signature validation. o Revision semantics. o Temporal semantics. o Evidence-position semantics. o Verification outcomes. o Completeness outcomes. o Authorization and revocation semantics. A future binding MUST NOT redefine the meaning of an accepted protocol object. 9. Error Handling 9.1. Error Codes The following error codes are defined: +--------------------------+--------------------------------------+ | Error code | Meaning | +--------------------------+--------------------------------------+ | malformed-message | The message cannot be decoded or | | | does not conform to the data model. | | unsupported-version | The protocol version is not | | | supported. | | unsupported-algorithm | The signing or digest algorithm is | | | not supported. | | invalid-signature | Signature verification failed. | | invalid-object-digest | The calculated object digest does | | | not match the supplied identifier. | | untrusted-issuer | The issuer is not trusted under | | | local policy. | | unauthorized-operation | The requester is not authorized for | | | the requested operation. | | disclosure-not-permitted | The requested information cannot be | | | disclosed. | | unknown-assertion | The referenced assertion is not | | | known to the receiver. | | revision-conflict | The assertion revision conflicts | | | with existing state. | | invalid-temporal- | The temporal reference is invalid | | reference | or cannot be interpreted. | | evidence-unavailable | Required evidence cannot be | | | obtained. | | evidence-position-unknown| The relevant evidence source does | | | not provide a usable position. | | conflicting-evidence | Evidence sources conflict and the | | | comparison basis does not resolve | | | the conflict. | | authorization-revoked | The required propagation | | | authorization has been revoked. | | resource-limit-exceeded | A configured implementation limit | | | has been exceeded. | | service-unavailable | The service cannot complete the | | | operation. | +--------------------------+--------------------------------------+ 9.2. Error Semantics An error response identifies a processing failure. It is not a verification result. A receiver MUST NOT convert an authorization failure into unsatisfied unless the comparison basis explicitly makes authorization a required condition of the relationship claim. A receiver MUST NOT convert evidence unavailability into unsatisfied solely because the evidence could not be retrieved. A receiver SHOULD return the most specific applicable error code. 9.3. Error Disclosure An implementation SHOULD avoid exposing sensitive internal details in error descriptions. An error response MUST NOT disclose protected evidence, private identifiers, or internal security-policy details to an unauthorized requester. 10. Security Considerations 10.1. Transport Security Implementations using the HTTP binding MUST use TLS 1.3 [RFC8446] or a later version. Implementations MUST validate peer authentication and MUST apply local authorization policy before accepting operations that modify state or disclose evidence. TLS protects the transport connection. It does not replace the signed-object requirements in this specification. 10.2. Integrity and Attribution A valid signature establishes that the signed payload has not been modified since signing and that it was signed by the holder of the corresponding private key. A valid signature does not establish: o That the assertion is factually correct. o That the issuer observed the event directly. o That the issuer was authorized to perform the underlying action. o That the issuer's identity is trustworthy under every verifier policy. o That all relevant evidence has been disclosed. Verifiers MUST keep these distinctions explicit. 10.3. Replay Protection Implementations MUST validate object identifiers, assertion-series identifiers, revision numbers, issuance times, expiration times, and withdrawal state. Implementations SHOULD enforce a maximum accepted message age according to local policy. A receiver MUST reject a currently invalid authorization when the requested operation requires a currently valid authorization. Expiration MUST NOT erase historical evidence that an assertion or authorization was previously valid. 10.4. Authorization Enforcement Propagation authorization MUST be checked independently of signature verification and relationship verification. A receiver MUST enforce recipient, operation, scope, and validity restrictions. An intermediary MUST NOT expand the authorized disclosure scope. An intermediary MUST NOT forward an assertion when the applicable authorization prohibits forwarding. 10.5. Denial of Service Implementations MUST enforce limits on: o Message size. o Number of assertions per message. o Number of evidence descriptors per assertion. o CBOR nesting depth. o Identifier length. o Number of revisions retained per series. o Number of outstanding verification operations. o Evidence retrieval size and duration. Implementations SHOULD apply rate limits to verification requests and evidence retrieval. Implementations SHOULD avoid unbounded recursive evaluation of relationship graphs. 10.6. Cryptographic Agility Implementations MUST reject unsupported algorithms. Future algorithm support MUST use registered COSE algorithm identifiers. A verifier MUST NOT silently substitute a different signature or digest algorithm when processing an object. A future specification that changes the mandatory-to-implement cryptographic algorithms MUST define version and negotiation behavior that prevents algorithm downgrade. 10.7. Evidence Trust Evidence sources can provide false, incomplete, or manipulated information. A verifier MUST apply the trust assumptions defined by the comparison basis. A verifier MUST NOT treat an evidence digest as proof of the truth of the underlying evidence. A digest establishes a means of checking whether retrieved content matches the content identified by that digest. It does not establish the origin, authority, or accuracy of that content. 10.8. Audit and Accountability This specification defines verification objects and results. It does not define an audit-log architecture. An implementation MAY retain verification results and protocol events under its local retention and compliance policies. Such retention MUST NOT be represented as a protocol-defined proof of global completeness. 11. Privacy Considerations 11.1. Identifier Linkability Persistent dialog identifiers can enable correlation of interactions across services and administrative boundaries. Implementations SHOULD use scoped identifiers or namespace-specific aliases where global identifier disclosure is unnecessary. A verifier MUST interpret an identifier only within its declared namespace. Implementations SHOULD avoid disclosing unrelated dialog references. 11.2. Selective Disclosure Implementations SHOULD disclose only the evidence required by the comparison basis. Relationship assertions SHOULD reference evidence rather than embed complete application records. Evidence retrieval MUST be subject to authorization and local disclosure policy. 11.3. Topology Disclosure Relationship assertions may expose delegation paths, organizational structure, or service dependencies. Implementations SHOULD disclose only the relationship edges required for the verification request. An intermediary MUST NOT assume that receipt of one relationship assertion authorizes disclosure of its upstream or downstream relationships. 11.4. Metadata Minimization Implementations SHOULD minimize: o Persistent identifiers. o Issuer attributes. o Recipient attributes. o Evidence-source details. o Temporal precision. o Relationship graph depth. o Unnecessary retrieval references. A verifier SHOULD accept a scoped evidence reference when full evidence content is not required by the comparison basis. 11.5. Retention Implementations MUST apply applicable retention and deletion policies to evidence material and locally stored relationship metadata. Withdrawal and propagation revocation do not by themselves establish a universal deletion obligation for previously disclosed information. The protocol does not override applicable data-protection or records- retention requirements. 11.6. Verification Result Disclosure Verification results may themselves reveal sensitive relationships and source activity. Implementations MUST apply disclosure controls to verification results. A result MUST NOT include unrelated evidence or dialog content. 12. IANA Considerations IANA is requested to perform the registrations described in this section. 12.1. Media Type Registration IANA is requested to register the following media type in the Media Types registry in accordance with [RFC6838]. Type name: application Subtype name: linked-dialog-verification Required parameters: None Optional parameters: None Encoding considerations: Binary; CBOR encoding as specified in [RFC8949]. Security considerations: The media type carries relationship assertions, evidence references, authorization objects, and verification results. Implementations are subject to the security and privacy considerations in this document. Signed objects use COSE as specified in [RFC9052]. Interoperability considerations: Protocol version 1 and message structures are defined in this document. Applications that use this media type: Distributed agentic systems and services that exchange linked-dialog relationship assertions and verification results. Fragment identifier considerations: None. Additional information: None. Person and email address to contact for further information: The authors of this document. Intended usage: COMMON Restrictions on usage: None. Author: IETF Change controller: IETF. 12.2. Linked-Dialog Relationship Predicate Registry IANA is requested to create a registry named Linked-Dialog Relationship Predicates. The registry MUST contain these columns: o Predicate name. o Subject object type. o Object object type. o Definition. o Reference. The initial entries are: +-----------------+-----------------+-----------------+-------------+ | Predicate | Subject type | Object type | Definition | +-----------------+-----------------+-----------------+-------------+ | delegated-from | dialog | dialog | Subject | | | | | dialog was | | | | | created or | | | | | initiated | | | | | as a | | | | | consequence | | | | | of | | | | | delegation | | | | | from object | | | | | dialog. | | aggregated-from | dialog, task, | dialog, task, | Subject | | | resource | resource | incorporates| | | | | or | | | | | aggregates | | | | | information | | | | | or results | | | | | from object.| | continuation-of | dialog | dialog | Subject | | | | | continues | | | | | an | | | | | interaction | | | | | represented | | | | | by object. | | related-to | dialog, task, | dialog, task, | Subject and | | | resource | resource | object have | | | | | an | | | | | explicitly | | | | | asserted | | | | | relationship| | | | | not | | | | | represented | | | | | by a more | | | | | specific | | | | | predicate. | | replaces | dialog, task, | dialog, task, | Subject | | | resource | resource | supersedes | | | | | object for | | | | | the stated | | | | | purpose. | | derived-from | dialog, task, | dialog, task, | Subject was | | | resource | resource | derived | | | | | from object.| | input-to | resource | dialog, task | Subject | | | | | resource | | | | | was used as | | | | | an input to | | | | | object. | | output-of | resource | dialog, task | Subject | | | | | resource | | | | | was produced| | | | | as an output| | | | | of object. | +-----------------+-----------------+-----------------+-------------+ New registrations require Specification Required as defined in [RFC8126]. A registration request MUST include: o A unique predicate name. o A precise and unambiguous definition. o Permitted subject and object types. o A permanent public specification reference. o Security and privacy implications. o An explanation of why the proposed predicate cannot be represented by an existing predicate. The designated expert MUST reject a proposed registration that duplicates an existing predicate, has ambiguous directionality, or lacks sufficient semantics for interoperable evaluation. The designated expert SHOULD consider whether the proposed predicate creates an implication of authorization, causation, ownership, or correctness that its definition does not support. 12.3. Linked-Dialog Verification Error Code Registry IANA is requested to create a registry named Linked-Dialog Verification Error Codes. The registry MUST contain: o Error-code name. o Definition. o Reference. The initial values are listed in Section 9.1. New registrations require Specification Required as defined in [RFC8126]. A registration request MUST include a unique name, an unambiguous definition, the conditions under which the error is returned, and a permanent public specification reference. The designated expert MUST reject a proposed code whose semantics duplicate an existing code or whose use would cause an error to be confused with a verification outcome. 13. Operational Considerations 13.1. Resource Limits Implementations MUST define local limits for: o Message size. o Assertion count. o Evidence-descriptor count. o Identifier length. o CBOR nesting depth. o Retained revision history. o Outstanding verification requests. o Evidence retrieval size. o Evidence retrieval duration. A deployment SHOULD document its configured limits for interoperability. A sender SHOULD avoid constructing messages that exceed the receiver's published limits. 13.2. Clock Handling Implementations MUST use UTC timestamps. Implementations SHOULD synchronize clocks using a trusted time source. A verifier MUST account for configured clock-skew limits when evaluating timestamp-based validity. A verifier MUST identify uncertainty caused by clock skew when that uncertainty affects the result. 13.3. Unavailable Sources A verifier MUST identify unavailable evidence sources in its result. A verifier MUST NOT report unavailable sources as successfully examined. A verifier MUST distinguish an unavailable source from a source that was examined and returned no matching evidence. 13.4. Retention of Revisions Implementations SHOULD retain assertion revisions and withdrawal events for the period required by their operational and legal policies. An implementation that offers historical verification MUST preserve sufficient information to distinguish historical assertion state from current assertion state. 13.5. Interoperability Requirements An implementation claiming conformance to this specification MUST implement: o CBOR message encoding. o Deterministic CBOR object digest calculation. o SHA-256 object identifiers. o COSE_Sign1 object validation. o Ed25519 signatures using the COSE EdDSA algorithm identifier. o Assertion submission and revision validation. o Assertion withdrawal. o Propagation authorization and revocation. o Verification outcomes. o Completeness outcomes. o Evidence-position reporting. o The HTTP binding defined in Section 8. An implementation MUST reject malformed, invalidly signed, digest- mismatched, unsupported-version, and semantically invalid objects. An implementation MUST distinguish all four verification outcomes and all four completeness outcomes. 13.6. Conformance Testing Conformance testing MUST cover: 1. Valid assertion encoding and digest calculation. 2. Invalid assertion digest. 3. Valid and invalid COSE signatures. 4. Unsupported signing algorithms. 5. Unknown signing keys. 6. Repeated assertion submission. 7. Out-of-order revisions. 8. Conflicting revisions. 9. Assertion withdrawal. 10. Historical evaluation before withdrawal. 11. Current evaluation after withdrawal. 12. Propagation authorization. 13. Authorization scope violation. 14. Propagation revocation. 15. Expired authorization. 16. Missing evidence. 17. Unavailable evidence sources. 18. Conflicting evidence. 19. Unknown evidence positions. 20. Partial completeness boundaries. 21. Complete-within-boundary evaluation. 22. Unauthorized evidence disclosure. 23. Unsupported predicates. 24. Unsupported protocol versions. 25. Malformed and oversized CBOR messages. 26. HTTP media-type and status-code handling. 27. Verification-result signature validation. 28. Comparison-basis digest mismatch. 29. Completeness-boundary digest mismatch. 30. Invalid temporal references. A conforming implementation MUST pass tests for the mandatory requirements in this document before claiming conformance. 14. References 14.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3339] Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, July 2002, . [RFC6838] Freed, N., Klensin, J., and J. Postel, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, January 2013, . [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, June 2017, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, . [RFC8610] Birkholz, H., Vigano, C., and C. Bormann, "Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures", RFC 8610, DOI 10.17487/RFC8610, June 2019, . [RFC8949] Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487/RFC8949, December 2020, . [RFC9052] Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", RFC 9052, DOI 10.17487/RFC9052, August 2022, . [RFC9053] Schaad, J., "CBOR Object Signing and Encryption (COSE): Initial Algorithms", RFC 9053, DOI 10.17487/RFC9053, August 2022, . [RFC9110] Fielding, R., Nottingham, M., and J. Reschke, "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, June 2022, . 14.2. Informative References None. Appendix A. Protocol State Transitions A.1. Assertion State An assertion revision has one of the following states: o received: the object has been received but has not completed validation. o accepted: the object passed structural, digest, signature, and issuer-policy validation. o superseded: a later valid revision superseded the object. o withdrawn: the issuer validly withdrew the object. o rejected: the object failed validation or issuer-policy checks. A receiver MUST NOT transition an assertion directly from received to accepted without completing the required validation. A receiver MUST NOT transition a withdrawn assertion back to accepted. A new revision is required to establish a new current assertion. A.2. Authorization State A propagation authorization has one of the following states: o received: the object has been received but has not completed validation. o active: the authorization passed validation and is within its validity interval. o expired: the authorization's expiration time has passed. o revoked: a valid revocation has been received. o rejected: the object failed validation or issuer-policy checks. An expired or revoked authorization MUST NOT authorize a new propagation operation. An authorization state MUST NOT determine the truth or validity of a relationship assertion. A.3. Verification Result State A verification result is final for its stated inputs and temporal reference. A subsequent change in assertion state, evidence position, comparison basis, or completeness boundary requires a new verification operation and a new result identifier. A verifier MUST NOT silently modify a previously issued signed result. Appendix B. Verification Processing Sequence A verifier processes a request in the following order: 1. Decode the request as CBOR. 2. Validate the request structure. 3. Validate the signed assertion. 4. Validate the assertion digest. 5. Validate the comparison-basis digest. 6. Validate the completeness-boundary digest. 7. Resolve the assertion issuer under local trust policy. 8. Evaluate assertion revision and withdrawal state. 9. Evaluate the requested temporal reference. 10. Determine the evidence requirements. 11. Retrieve or inspect permitted evidence. 12. Record the evidence positions actually examined. 13. Evaluate the claim under the comparison basis. 14. Evaluate evidence coverage against the completeness boundary. 15. Construct the verification result. 16. Calculate the result identifier. 17. Sign the complete result using COSE_Sign1. 18. Return the signed result. A verifier MUST NOT omit a required validation step. If a request fails a validation step, the verifier MUST return an error rather than a verification result. If the request passes validation but required evidence is unavailable, the verifier MUST return an appropriate verification result with the applicable indeterminate and completeness outcome. Appendix C. Illustrative Verification Result The following example describes the logical contents of a result. It is not a CBOR test vector, and the digest values are placeholders. { "verification-result-core": { "protocol-version": 1, "assertion-id": "32-byte assertion digest", "basis-digest": "32-byte comparison-basis digest", "boundary-digest": "32-byte completeness-boundary digest", "temporal-reference": "2026-11-30T12:00:00Z", "verification-outcome": "satisfied", "completeness-outcome": "partial", "evidence-positions": [ { "source-id": "https://evidence.example/source-1", "examined": true, "position": { "position-type": "sequence", "position-value": 42 } }, { "source-id": "https://evidence.example/source-2", "examined": false } ], "verified-at": "2026-11-30T12:05:00Z", "verifier-id": "https://verifier.example", "reason-codes": [ "required-secondary-source-unavailable" ] }, "result-id": "32-byte result digest" } This example demonstrates that a verifier can report a satisfied claim while separately reporting partial evidence coverage. The result does not assert completeness beyond the evidence examined. Appendix D. Conformance Statement An implementation conforms to this specification only if it satisfies all mandatory requirements applicable to its implemented role. A conforming assertion issuer MUST: o Construct valid assertion cores. o Calculate assertion identifiers using the specified digest procedure. o Sign complete assertion objects using the specified COSE profile. o Maintain monotonically increasing revision numbers. o Issue withdrawal objects using the specified withdrawal semantics. A conforming verifier MUST: o Validate signed objects and their identifiers. o Validate comparison-basis and completeness-boundary digests. o Apply the specified temporal semantics. o Record evidence positions. o Return the defined verification and completeness outcomes. o Sign completed verification results. o Distinguish verification results from processing errors. A conforming propagation recipient MUST: o Validate propagation authorizations. o Enforce recipient and operation restrictions. o Enforce disclosure scope. o Process authorization revocation. o Prevent forwarding under revoked or expired authorization. A conforming HTTP server MUST implement the endpoint behavior, media type, synchronous processing, and status-code requirements in Section 8. A claim of conformance MUST identify the implemented protocol version and role. Appendix E. Protocol Boundaries This protocol establishes the semantics of relationship assertions and their verification. It does not establish a universal source of truth for distributed dialogs. The issuer remains responsible for the content of its assertion. The evidence source remains responsible for the information it supplies. The verifier remains responsible for applying its declared comparison basis and reporting the evidence positions examined. A signed assertion is an attributable claim. Evidence is material used to evaluate that claim. A verification result is the verifier's conclusion under a specified basis and temporal reference. A completeness outcome describes coverage within a declared boundary. These objects are distinct and MUST remain distinct in implementations. Author's Address Kayode Oluwole Elekula Independent Lagos Nigeria Email: kayodeelekula@gmail.com