Network Working Group B. Morrison Internet-Draft Alter Meridian Pty Ltd Intended status: Informational 25 November 2026 Expires: 29 May 2027 Cross-Surface Canonical Knowledge Integrity: Agent-Verifiable Anti- Cloaking Across Scale-Invariant Serving Surfaces draft-morrison-cross-surface-canonical-knowledge-00 Abstract Knowledge artefacts such as documentation, policy specifications, configuration records and identity assertions are now served across two classes of surface at once. One is rendered for people, such as an HTML document or a formatted record view. The other is read by automated agents, such as a plain-text or JSON resource, a Model Context Protocol resource, a DNS record, a filesystem object, or a kernel-resident data structure. Independent code paths usually produce the two, and no protocol mechanism lets an agent check that what it received on its surface matches what a person approved on the rendered surface. Serving infrastructure can deliver different content to agents and to people, and neither consumer can detect that alone. This is called cloaking. This memo specifies a content-integrity mechanism that applies unchanged at every scale. A publisher emits a Canonical Integrity Record: a machine-readable digest of a canonical artefact, computed under a declared, versioned normalisation procedure and published at a well-known location specific to each surface class. A consuming agent retrieves the artefact from each serving surface, recomputes the digest under the same normalisation, checks each result against the published record, and emits a structured anti-cloaking verdict. The mechanism reuses the HTTP digest fields of RFC 9530 and the well- known URI registry of RFC 8615 and extends them across surfaces and representations, including a kernel data-structure surface where there is no HTTP and no DNS and the check runs in kernel context. 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/. Morrison Expires 29 May 2027 [Page 1] Internet-Draft Canonical Knowledge Integrity November 2026 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 29 May 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. The Cross-Surface Cloaking Problem . . . . . . . . . . . 3 1.2. What This Memo Specifies . . . . . . . . . . . . . . . . 3 1.3. Relationship to Existing Mechanisms . . . . . . . . . . . 4 2. Conventions and Definitions . . . . . . . . . . . . . . . . . 4 3. Architecture Overview . . . . . . . . . . . . . . . . . . . . 5 4. The Canonical Integrity Record . . . . . . . . . . . . . . . 6 5. The Normalisation Procedure . . . . . . . . . . . . . . . . . 7 6. Serving Surfaces and Surface Classes . . . . . . . . . . . . 7 7. The Cross-Surface Verification Procedure . . . . . . . . . . 9 8. The Anti-Cloaking Verdict . . . . . . . . . . . . . . . . . . 10 9. Multi-Surface Fan-Out and Subset Verifiability . . . . . . . 10 10. Identity-Provenance Envelope . . . . . . . . . . . . . . . . 10 11. Relationship to Existing Work . . . . . . . . . . . . . . . . 11 12. Scope Boundary . . . . . . . . . . . . . . . . . . . . . . . 12 13. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12 13.1. Well-Known URI Registration . . . . . . . . . . . . . . 13 13.2. Media Type Registration . . . . . . . . . . . . . . . . 13 13.3. No New Digest Algorithms . . . . . . . . . . . . . . . . 14 13.4. No New DNS Resource Record Types . . . . . . . . . . . . 14 14. Security Considerations . . . . . . . . . . . . . . . . . . . 14 15. Privacy Considerations . . . . . . . . . . . . . . . . . . . 15 16. Relation to Companion Memos . . . . . . . . . . . . . . . . . 16 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 16 Normative References . . . . . . . . . . . . . . . . . . . . . . 16 Informative References . . . . . . . . . . . . . . . . . . . . . 17 Document History . . . . . . . . . . . . . . . . . . . . . . . . 19 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 19 Morrison Expires 29 May 2027 [Page 2] Internet-Draft Canonical Knowledge Integrity November 2026 1. Introduction 1.1. The Cross-Surface Cloaking Problem A single knowledge artefact is now routinely served across unlike surfaces. A documentation page is served as HTML to a browser and as Markdown or JSON to an automated agent, through content negotiation, through a Model Context Protocol (MCP) resources/read call [MCP], or through a file indexed by an llms.txt document [LLMSTXT]. A policy record is rendered in an administrative interface for a human operator and served as a machine-readable record to an agent holding a reader credential. A configuration value is exposed to userspace through a virtual filesystem and held in a kernel data structure visible to an in-kernel observer. Independent code paths produce these surfaces, often at independent endpoints, and no protocol mechanism lets a consuming agent check that the agent-targeted content is consistent with the human-rendered content. The person sees only the rendered surface and the agent sees only the agent-targeted surface. Serving infrastructure that delivers different content to the two, whether through misconfiguration, compromise or design, cannot be detected by either consumer alone. Search-engine optimisation has long called this cloaking: a server delivers different content to crawlers than to users. For agent- mediated knowledge delivery it is a first-order integrity concern, because the agent-targeted surface can carry instructions, policy or identity assertions that differ materially from what people reviewed and approved. Cloaking attacks against retrieval-augmented and agentic systems are documented in [PPWEB]. 1.2. What This Memo Specifies This memo specifies a mechanism by which: 1. a publisher computes a cryptographic digest of a canonical artefact under a declared, versioned, deterministic normalisation procedure, and publishes that digest in a Canonical Integrity Record at a well-known location specific to the surface class; 2. the artefact is served across a human-rendered surface and one or more agent-targeted surfaces such that the digest can be checked against any of them, either byte for byte or under a declared equivalence-preserving transformation; and Morrison Expires 29 May 2027 [Page 3] Internet-Draft Canonical Knowledge Integrity November 2026 3. a consuming agent retrieves the artefact from each surface, recomputes the digest, checks each result against the published record, and emits a structured Anti-Cloaking Verdict, without trusting the serving infrastructure, including at the kernel data-structure layer where there is no HTTP and no DNS. The same procedure applies to a kernel data structure, an operating- system file object, an HTTP document and an enterprise record. The only differences are the location at which the integrity record is published and the way each surface is read. 1.3. Relationship to Existing Mechanisms This memo reuses the Repr-Digest and Content-Digest representation- digest fields and the hash-algorithm registry of [RFC9530], and the well-known URI registry of [RFC8615]. Section 11 states what each adjacent mechanism does and what it leaves open. This memo adds an equivalence check, across surfaces and representations, against a canonical digest the publisher emits. 2. Conventions and Definitions 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. The following terms are defined for the purposes of this document: Canonical Artefact: The authoritative representation of a knowledge artefact, as approved by the publishing party, against which every served surface is measured. Surface: A distinct path by which a consuming party obtains a representation of an artefact. A surface is either human-rendered or agent-targeted. Human-Rendered Surface: A surface whose representation is produced for people to read, for example an HTML document, a formatted PDF, a record as displayed in an administrative interface, or a file as presented by an operating system's display layer. Agent-Targeted Surface: A surface whose representation is produced Morrison Expires 29 May 2027 [Page 4] Internet-Draft Canonical Knowledge Integrity November 2026 for an automated agent, for example a plain-text or JSON document obtained by content negotiation, an MCP resources/read response, a DNS resource record, a file's raw byte stream read through a system call, or a kernel data structure observed by an in-kernel program. Surface Class: One of the categories of surface to which this mechanism applies: http, dns, mcp, file, kernel, or enterprise. The closed set of surface-class identifiers is defined in Section 6. Normalisation Procedure: A declared, deterministic, versioned procedure that maps a surface representation to the canonical byte sequence over which the digest is computed. It lets equivalence be tested across representations that differ only in representation-specific encoding. Canonical Integrity Record (CIR): The machine-readable record that carries the canonical digest, the normalisation version, and per- surface metadata. Its structure is defined in Section 4. Anti-Cloaking Verdict: The structured record a consuming agent emits after cross-surface verification, defined in Section 8. Consuming Agent: The automated party that retrieves an artefact across one or more surfaces and performs the verification procedure of Section 7. 3. Architecture Overview The mechanism has four roles: * a publisher that holds the canonical artefact, computes its digest under a declared normalisation, and publishes the Canonical Integrity Record; * one or more serving surfaces, each delivering a representation of the artefact; * a consuming agent that retrieves the artefact across surfaces and checks each against the CIR; and * a well-known location, specific to the surface class, at which the CIR is published and from which any consuming party may retrieve it. Morrison Expires 29 May 2027 [Page 5] Internet-Draft Canonical Knowledge Integrity November 2026 The consuming agent trusts the publisher's authority over the canonical digest (see Section 14 for how that authority is anchored) and trusts nothing about the serving infrastructure between the publisher and itself. The agent recomputes the digest from the bytes it received on each surface and never relies on a surface to assert its own integrity. 4. The Canonical Integrity Record A Canonical Integrity Record is a JSON object [RFC8259]. A publisher MUST emit a CIR for any artefact for which cross-surface integrity is offered. The CIR contains the following members: * artefact (string, REQUIRED): a stable identifier for the canonical artefact within the publisher's namespace. * digest (string, REQUIRED): the canonical digest, expressed using the structured-field syntax and hash-algorithm names of the Repr- Digest field of [RFC9530] (for example sha-256=::). A publisher MUST use an algorithm whose status in the "Hash Algorithms for HTTP Digest Fields" registry is "Active" and MUST NOT use one whose status is "Deprecated". * normalisation (object, REQUIRED): an object with members uri (the stable URL at which the normalisation procedure is specified) and version (a monotonic version identifier). A consuming agent MUST apply the same normalisation version when recomputing a digest. * surfaces (array, REQUIRED): an array of per-surface objects, each with members class (a surface-class identifier from Section 6), locator (the address, in the form the surface class uses, at which the representation is obtained), and an OPTIONAL transform naming the equivalence-preserving transformation that maps this surface's representation to the canonical byte sequence. * provenance (object, OPTIONAL): an identity-provenance envelope, defined in Section 10. A CIR MUST NOT carry members other than those defined here, and a later revision of this memo is the only way to define more. A consuming agent that receives a CIR carrying an unrecognised member MUST reject the record and treat verification as failed. This closed-record rule stops a serving party from changing what verification means through extension fields. Morrison Expires 29 May 2027 [Page 6] Internet-Draft Canonical Knowledge Integrity November 2026 5. The Normalisation Procedure Two representations of the same canonical artefact often differ in representation-specific encoding: an HTML rendering and a Markdown rendering of the same prose, two byte orderings of the same record, or two whitespace conventions. A plain byte digest reports these as divergent even when the content is identical. The Normalisation Procedure removes that difference. A Normalisation Procedure is a deterministic function from a surface representation and a named transform to a canonical byte sequence. It MUST be: Declared: Specified at a stable URL named in the CIR normalisation.uri. Versioned: Identified by a monotonic normalisation.version, carried in the CIR alongside the digest. Deterministic: Producing identical output for identical input on any conforming implementation. A transform MAY be the identity transform (byte for byte), or an equivalence-preserving transform such as HTML-to-Markdown reduction, Unicode normalisation, whitespace canonicalisation, or inline- reference stripping. A consuming agent MUST confirm that it applies the same normalisation version as the publisher before accepting any cross-surface equivalence result. If the agent cannot obtain or cannot apply the named normalisation version, it MUST treat verification as indeterminate, never as successful. Versioning matters for security. A transform that is too permissive can map materially different content to the same canonical bytes. Pinning the version in the CIR fixes which equivalence relation is in force for the agent and the publisher. A transform found to be unsafe is retired under its version number and is never silently redefined. 6. Serving Surfaces and Surface Classes The set of surface-class identifiers is closed for a given version of this memo. Version 1 defines six classes. Each class fixes where the CIR is published and how a representation is read. http: The artefact is an HTTP-served document. The CIR is published at /.well-known/knowledge-integrity on the serving authority (see Section 13), and MAY also be published as a DNS TXT record per the dns class. The human-rendered surface is the representation Morrison Expires 29 May 2027 [Page 7] Internet-Draft Canonical Knowledge Integrity November 2026 served under Accept: text/html. The agent-targeted surfaces are representations served under Accept: text/plain, Accept: application/json, or Accept: text/markdown at the same or a declared equivalent URL, a representation served through MCP resources/read at the canonical resource URI, and a representation indexed by an llms.txt document. dns: The CIR digest is published as a DNS TXT resource record at