Skip to content

design(id-apps): D1 — the ID URI scheme #13886

Backlog

Description

@dezren39

design(id-apps): D1 — the ID URI scheme

Programme order: 3. Parent epic: #13880 — ID apps on one graph.
Input: R1 (Willow URI spec deep review). Depends on: D3 (the graph
layer — URIs name what D3 defines).

Problem + evidence

Every other piece of the programme needs to name things: D2 embeds by
reference, D5 renders and click-throughs by reference, D4 bundles are
shared by reference, and humans paste references into chat and email.
Willow's answer (willow://, Proposal, unimplemented) was designed for
a path-hierarchical entry store. Our objects live in a graph (D3) with
typed verb edges, under a revocation posture (composition A,
non-renewal) that Willow's deletion-first model does not share. Drew's
direction (2026-11-23): review the Willow spec closely and steal what
fits — but do not adopt the Willow scheme wholesale; design our own.

Goals

  • Name a single object: content object or link object (D3), with
    optional payload slice and optional expected digest, in the spirit
    of the Willow entry form where R1's verdicts support it.
  • Name a collection / range: the graph analogue of Willow's
    AreaOfInterest — a subgraph expression (by author, by verb, by root
    object + depth, by time) that denotes a set of objects the way an
    area URI denotes a dataset slice.
  • The prune-vs-pin decision, made explicitly: Willow chose
    "digest-pinned URI fails if pruned — deletion wins over links."
    Decide ours with its revocation consequences stated: what does a
    dereference failure mean for each cause (pruned, grant lapsed under
    non-renewal, never existed, not authorised) and are those causes
    distinguishable to the holder of the URI? A URI must not become a
    capability leak: naming a thing must not grant access to it.
  • Resolution over our carriers (design: fleet transport & pooling — host selection without Tailscale, iroh for non-Muse agents, generic pool primitive #13752): the hint mechanism —
    ordered hints expressible for broker lookup, pkarr/DHT, email
    carriage, QR encoding, and sneakernet bundle reference (D4) — with
    offline verifiability where the carrier demands it (a URI on paper
    or in an email header must survive mangling and still verify or fail
    cleanly).
  • Human-readable forms: a canonical compact form for machines and
    a display form for chat/terminal (D5 renders these), with length and
    alphabet constraints stated (QR density, email-header safety).

Non-goals

Not the Willow scheme with the names changed — where this design
diverges from willow://, the divergence is a decision with a reason,
informed by R1's per-element verdicts. No resolver implementation;
this is the scheme + resolution contract.

Alternatives to weigh

  • Adopt willow:// as-is for the Willow-shaped subset: maximal prior
    art reuse; imports a path-hierarchy + deletion-first model our
    graph and revocation posture don't share.
  • Content-addressed-only naming (digest is the name): strong
    verification, no mutability, no collections — Cobweb's link-rot
    problem inverted.
  • Opaque IDs + a separate locator service: simplest grammar, but the
    name carries nothing verifiable offline — fails the sneakernet/QR
    carriers.

Slices (dependency-ordered)

  1. Grammar + object form: ABNF for the scheme; object, slice, and
    digest-expectation forms. Acceptance: R1's verdict table consumed
    element by element; every divergence from willow:// justified in
    one paragraph.
  2. Collection form: subgraph-expression parameters and their
    bounds (the AreaOfInterest analogue). Acceptance: the D5 notes
    graph and a D4 bundle index both expressible as collection URIs.
  3. Failure semantics: the prune/lapse/never-existed/unauthorised
    matrix + what a resolver may reveal. Acceptance: matrix reviewed
    against investigation: capability auth + p2p transport — p2panda-first, honestly compared #13779's revocation decision points.
  4. Carrier + hints contract: per-carrier hint forms and survival
    constraints (email, QR, paper). Acceptance: one worked URI per
    carrier, encoded and decoded.
  5. Display forms: compact vs display rendering rules for D5 and
    chat. Acceptance: display rules handed to D5 as an input spec.

Open questions (deciders named)

  • Scheme name and authority component shape — designer proposes,
    Drew decides (it will be typed by humans for years).
  • Whether collection URIs may name verb-filtered subgraphs or only
    structural ranges — D3's verb registry (D3 slice 2) is the input;
    D1's designer decides once D3 lands, recording the dependency.
{
  "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:54Z",
    "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
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