Apartma Matevž • Journal
AADP Protocol gets its update- corrections and final goal.
AADP Protocol gets its update- corrections and final goal.

AADP Protocol gets its update- corrections and final goal.

Ustvarjeno 22.11.2026Posodobljeno 25.11.2026

A few posts back, this sub followed the story of CM's AI Docking Port (AIDP) going from a single working node to an open question about where its discovery mechanism should live. Short version for anyone catching up: AIDP lets an AI agent discover an independent accommodation provider it's never integrated with, and the Vacation Rental Protocol (VRP, built by a separate author, Rouiada Abbas) lets that same agent verify a signed offer came from the real host's own domain.

Two adjacent problems, two independently-built answers, now deliberately joined at the hip for a joint proposal going out to a handful of standards groups.

This post is about what happened when the two had to actually agree on a hard rule, and what it took to prove the fix was real instead of just documented.

The gap: a forwarding layer that answers too well AIDP's Reception mechanism lets one node forward a query to its known neighbours when it can't answer locally - ask node A, and if A doesn't have what you need, A quietly checks with node B and C and hands back whatever they say, all in one round trip. Fast, useful, and exactly the kind of thing that makes a discovery layer worth having.

It's also, as VRP's author pointed out directly, structurally identical to a catalog. If querying one entry point reliably hands you a usable, bookable answer for several providers at once, an agent has every reason to keep asking that one surface first - and stops going to each host's own domain at all. That's not a hypothetical: VRP's entire design exists specifically so that verification and citation happen at the host's own domain, never through a middleman. A forwarding layer that quietly became "the place you ask" would undo that, one convenient shortcut at a time.

The fix: strip what crosses a hop, not what stays local

The rule that came out of that conversation is simple to state and more interesting to implement correctly:

A node answering about its own property (depth 0) stays full-service - real availability, a real signed offer, a real booking link. It is the origin; there's nothing to protect against. The moment a result crosses a hop boundary (depth 1+), it gets reduced to a pointer: which domain to go ask, and - if that domain actually publishes a VRP-verifiable offer endpoint - a pre-filled URL so the agent doesn't have to rediscover the whole request shape from scratch. No price. No availability flag. No booking link. Just "go here, ask directly."

One more wrinkle, worth calling out because it's the part that actually took two passes to get right: the stripping only protects something that exists. If a neighbour isn't VRP-capable at all - no signed-offer endpoint published anywhere - there's no citation guarantee to defend, so the result passes through untouched, the same way any ordinary discovery aggregator would behave. The rule isn't "hide everything beyond depth 0," it's "never let a forwarding hop manufacture false confidence in something that was never verified in the first place."

Proving it, not just writing it down

The part worth sharing isn't the design - it's what it took to trust it. A synthetic unit test confirms the logic in isolation, but the real test was cross-machine: a real production node, genuinely booked for a specific date range, forwarding to a second, independently-run node on a completely separate network that genuinely had availability for those same dates.

The first version of the pointer used checkIn/checkOut as parameter names, matching the prose in the spec documents. The actual deployed verification endpoint expects check_in/check_out. Nothing in a code review would have caught that - only actually following the constructed URL and watching it 400 did. Fixed, redeployed, re-tested: the forwarding node now returns a clean pointer, and following that pointer independently returns a real, live, cryptographically signed offer straight from the second node's own domain. Forward → pointer → independent fetch → verified offer, proven end to end, not simulated.

Why this matters beyond one protocol detail

This is a small mechanism, but it's a useful case study in a larger question this community keeps running into: how do you let independent, self-hosted systems cooperate on discovery without one of them quietly becoming the thing everyone depends on? The answer here wasn't "don't cooperate" - it was "be precise about which layer is allowed to vouch for what." A forwarding node can tell you where to look. Only the origin gets to tell you what's true.

The underlying depth/fanout cost-bounding mechanism this builds on is now also written up as a standalone IETF Internet-Draft, proposed as a contribution to the W3C Community Group working on AI agent protocols generally - not as a competing standard, on the theory that if the goal is a genuinely open mechanism, it shouldn't matter whose name ends up on it.

Questions, pushback, or "we hit the exact same problem differently" stories welcome below.