Skip to content

docs(spec): align the DNS-TXT discovery example with the implemented format#41

Merged
ucekmez merged 1 commit into
mainfrom
docs/spec-dns-txt-format
Jun 8, 2026
Merged

docs(spec): align the DNS-TXT discovery example with the implemented format#41
ucekmez merged 1 commit into
mainfrom
docs/spec-dns-txt-format

Conversation

@ucekmez

@ucekmez ucekmez commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Problem

§12.5 documented the _eep.<domain> TXT record as v=EEP1 did=did:web:... (space-separated, uppercase EEP1, did= key). But the manifest schema's discovery_hints.dns_txt_record pattern and the reference parser (@eep-dev/discovery parseDnsTxtRecord, with tests) implement v=eep1; manifest=https://... (semicolon-separated, lowercase, manifest= key, HTTPS required). The spec's own example is rejected by the reference parser — three incompatible formats for one record.

Fix

  • Rewrite §12.5 to use the implemented, tested format verbatim: v=eep1; manifest=<https-url>.
  • Note that the publisher's DID is resolved from the manifest the record points to.

Docs-only; aligns the spec with the schema + reference parser. Surfaced by the EEP protocol audit (finding dns-txt-three-incompatible-formats). Touches a §12.5 region disjoint from #40 (§16.4), so the two merge cleanly.

🤖 Generated with Claude Code

…format

§12.5 documented the record as `v=EEP1 did=<DID>` (space-separated,
uppercase version, `did=` key), but the manifest schema
(`discovery_hints.dns_txt_record`) and the reference parser
(`@eep-dev/discovery` parseDnsTxtRecord) implement and test
`v=eep1; manifest=<https-url>`. The spec's own example was therefore
rejected by the reference parser. Rewrite §12.5 to use the implemented,
tested format and note the DID is resolved from the manifest.

Surfaced by the EEP protocol audit (finding dns-txt-three-incompatible-formats).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Ugur Cekmez <ucekmez@gmail.com>
Copilot AI review requested due to automatic review settings June 1, 2026 18:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the spec’s DNS TXT discovery example/description with the already-implemented discovery format used by the manifest schema and the @eep-dev/discovery reference parser, so the spec no longer documents a record value that would be rejected by the reference implementation.

Changes:

  • Update §12.5 to describe DNS TXT discovery as pointing to the manifest URL at _eep.<domain>.
  • Replace the example record value with the implemented format: v=eep1; manifest=<https-url>, and document the HTTPS requirement plus DID resolution via the fetched manifest.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ucekmez ucekmez merged commit 453fd54 into main Jun 8, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants