Skip to content

research(id-apps): R1 — Willow URI spec deep review #13884

Backlog

Description

@dezren39

research(id-apps): R1 — Willow URI spec deep review

Programme order: 1 (parallel with R2). Parent epic: #13880 — ID apps on
one graph. Feeds: D1 (the ID URI scheme).

Problem + evidence

ID objects need names that other objects, apps, chats, terminals, QR
codes, and sneakernet bundles can all carry. The Willow family has
already designed its version of this: the willow:// URI spec (Proposal
status, published Dec 2025, no implementation found as of 2026-11-23).
Reinventing a URI scheme without reading the closest prior art closely
would waste its good decisions and repeat its debatable ones. This
research reads the spec line by line and renders a per-element verdict
for D1: adopt, adapt, or reject — with the reason.

What the spec contains (from the addendum's verified summary)

  • Grammar: willow://namespace.subspace/path/components?params#fragment
    names either an Entry (optionally with a single contiguous payload
    slice — start/end indices, out-of-range truncated) or an
    AreaOfInterest (?area with max_count / max_size / time-range
    bounds — a link can denote a slice of the dataset).
  • Digest expectation: an entry URI may carry an expected payload
    digest; it then identifies only an entry with exactly that payload.
  • The sharpest choice: a digest-pinned URI deliberately fails if
    the entry was pruned. The URI does not pin data against pruning —
    deletion wins over links, by design.
  • Resolution hints: every URI carries an ordered (possibly empty)
    sequence of other URIs as hints for how/where to obtain the data; the
    scheme is transport-agnostic and expects bootstrapping from ordinary
    web hints.
  • Conformance: careful RFC 3986 behaviour (percent-encoding,
    dot-segment normalisation, relative references); parameterised
    encodings for namespace/subspace ids and digests, with Willow'25
    defaults.

Sources: the spec text itself (willowprotocol.org mirror on disk under
the laptop archive + sandbox mirror ~/workspace/worm-blossom-mirror/),
and ~/workspace/p2panda-investigation/research/worm-blossom-projects-addendum.md §4.

Evaluation axes (per element)

  1. Against our revocation posture from investigation: capability auth + p2p transport — p2panda-first, honestly compared #13779: composition A's
    non-renewal (authority expires unless renewed) vs B's
    coordination-free permanence vs C's interposition. Does
    deletion-wins-over-links compose with non-renewal, or does it import
    a permanence assumption we rejected? What would "this URI fails
    because the grant lapsed" mean, vs "fails because the data was
    pruned"?
  2. Against our carriers from design: fleet transport & pooling — host selection without Tailscale, iroh for non-Muse agents, generic pool primitive #13752: one signed ticket format over
    broker, pkarr/DHT, email, QR, sneakernet bundle. Can the hint
    sequence express our carriers, or does it assume a web-shaped world?
    What does a URI carried in an email header or printed as a QR code
    need to survive (length, mangling, offline verification)?
  3. Against the graph model (D3): Willow URIs name entries and areas
    in a path hierarchy. Our objects live in a graph with typed verb
    edges. What is the URI analogue of an AreaOfInterest over a graph —
    a subgraph expression? Can a URI name a link object itself, not
    just its endpoints?
  4. Human factors: the scheme is meant to be read, pasted into chat, and
    displayed in terminals (D5 renders these). Length, alphabet, and
    truncation behaviour all matter.

Non-goals

Designing our scheme — that is D1; this research renders verdicts, not a
counter-spec. No implementation work.

Deliverable + acceptance

A dated research record in doc/ (dated-record convention), linked from
this issue and D1: a per-element table (grammar, entry form, slice form,
area form, digest expectation, prune-fails choice, hint sequence,
conformance rules) with verdict + reason for each, plus a short list of
"questions D1 must answer that the Willow spec does not". Acceptance:
every element of the spec appears in the table; every verdict cites the
axis it was judged on.

Deciders

Verdict disputes: the D1 designer, recorded on D1. Any verdict that would
change a #13779 decision point is surfaced on #13779, not decided here.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T00:11:39Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    app/id
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Enqueued to the pilot queue (repo-health-code-pilot, priority 70) as task 21546 on 2026-11-24, under epic #13880.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/id

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions