GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — design(id-apps): D1 — the ID URI scheme · Issue #13886 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Done
Done
design(id-apps): D1 — the ID URI scheme#13886
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)

Description

@dezren39
dezren39
opened on Nov 24, 2026
Issue body actions

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. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5102

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Expansion (per Drew's direction, 2026-11-23 — recorded on the epic, #13880)

    Priority standing restated: programme order 3; Drew confirms all six programme items as prioritized, important work — investigate soon, implement when we have the capability. The build-on-system principle applies directly here: naming needs from any app are met in this scheme generally, then used by each app — no app invents its own reference form.

    Next steps beyond the current slices:

    1. Resolver conformance fixtures: after the scheme lands, slice 4's worked per-carrier URIs (broker, pkarr/DHT, email, QR, bundle reference) become a machine-checked fixture set, not only prose — so the core app (app(id-apps): the core graph app — Rummager-style organising + Cobweb-style live transclusion over the ID graph #14037) and D4's bundle indexes can test their encoders/decoders against the scheme instead of re-interpreting it.
    2. Chat carriage as a named constraint: URIs will be pasted into IRC-style chat channels constantly (the chat line id: investigate: IRC-first chat on ID — channels, graph-linked objects, presence #2049 → id: design: ID chat v1 #2051 is this scheme's heaviest human surface). The display-form rules (slice 5) should state survival under line-wrapping and plain-text transport explicitly, alongside the QR and email-header constraints already in scope.

    Related apps: the core graph app (#14037 — discovery views display, paste, and follow these URIs); the IRC-first chat line (#2051); D4 bundles (#13889), whose contents indexes are collection URIs.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triage (task 22450, lane oc-code-06)

    Triage verdict fresh 2026-11-24 (main 9c2b4ad096e): OPEN, valid design — sequenced, no packet routed yet.

    • Fresh state: design(id-apps): D1 — the ID URI scheme #13886 OPEN (app/id), programme order 3 under epic epic(id-apps): ID apps on one graph — URIs, transclusion, typed links, sneakernet bundles, graph display #13880 (OPEN). No queue item, no open PR. Drew 2026-11-23: all six programme items prioritized — investigate soon, implement when capable.
    • Dependencies not ready: input R1 research(id-apps): R1 — Willow URI spec deep review #13884 (Willow URI spec review) is OPEN unstarted; D3 (graph layer, which URIs name) has no issue filed yet. The D1 design cannot start before R1 lands and D3 exists — routing a design packet now would strand it.
    • Labels: app/id only; no triage/status labels applied by this pass (left for the programme owner). No hard-stop labels.
    • Resume condition: R1 research(id-apps): R1 — Willow URI spec deep review #13884 lands its verdicts + D3 graph-layer issue filed — then route the D1 design slice (single-object naming, collection/range expressions, prune-vs-pin decision, carrier hints per design: fleet transport & pooling — host selection without Tailscale, iroh for non-Muse agents, generic pool primitive #13752, human-readable forms). R1 and D3 carry their own queue coverage; nothing routed from here to avoid competing with it.
    • Completing task 22450 as triaged.
  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-02, queue task 22729, 2026-11-24): still open and a design item, not implementable yet. Inputs: R1 (#13884, OPEN, Willow URI spec review). Depends on D3, the graph layer under epic #13880 (OPEN). No code packet is routed; the design stays open until R1 and D3 are settled. Tracking: #14158.

  6. dezren39
    added a commit that references this issue on Nov 25, 2026

    docs(id-apps): R1 Willow URI spec deep review record (#14693)

    379d254
  7. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Input landed: R1 (#13884) is merged as doc/2026-11-25T01-10-34Z_research_id_apps_r1_willow_uri_review/ (PR #14693). Slice 1's acceptance ("R1's verdict table consumed element by element") can now run against §3 of that record; §5 lists the nine questions this design must answer that the Willow spec does not. Headline recommendations: immutable-by-default object URIs named by D3 object_id, supersede-chain head as an explicit form, algorithm-tagged digests, one canonical encoding, typed compact hints, and no capability ever in a URI.


    Generated by Claude Code

  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Claimed by lane 6, 2026-11-25T01:25Z. Both inputs are now in: D3 landed (#13885 closed, PR #13997) and R1 landed (PR #14693). Starting slice 1 (grammar + object form) with the slice-3 failure matrix sketched where it bears on the grammar; design record PR follows. Scheme name stays Drew's decision: the record proposes, it does not settle.


    Generated by Claude Code

  9. dezren39
    added a commit that references this issue on Nov 25, 2026

    docs(id-apps): D1 slice 1, id:// v2 grammar and object forms (#14725)

    00abab2
  10. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Slice 1 (grammar and object form) landed in #14725 as doc/2026-11-25T01-20-40Z_design_id-apps_d1_id-uri-scheme/.

    In short: no new scheme. It adds a v2 version segment to the existing id:// (V1 stays as it is) with obj/<object_id> for immutable content and link objects, /bytes/from-to slices, an explicit head/<root>[/at/<head>] chain-head form, typed via= hints outside identity, and a client-side fragment. Any other query parameter is rejected, so a URI cannot carry a capability. R1's 19 verdicts are consumed row by row; the two departures (keep hex, reject non-canonical input) are argued in §8.1. A stdlib reference codec pins the grammar.

    Two questions for Drew, in plain words:

    1. Scheme name. Proposal: keep id://. It is already built and in use, and a second name would need a second parser for the same things.
    2. A portable "any" address. Today the part after id:// must match the resolver you picked, or the link fails. Graph objects prove themselves by their hash, so the proposal reserves id://any/graph/... to mean "any resolver that can fetch and check this". That adds one exception to summit ruling A-9117.1. Yes or no?

    Slices 2 to 5 (collections, failure matrix, carriers, display) remain open and unclaimed after this comment; lane 6 is moving to the next item.


    Generated by Claude Code

  11. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Claimed by lane 7, 2026-11-25T06:30Z, for slice 2, the collection form. Lane 6's slice 1 claim is over four hours old and slice 1 is merged, so this picks up the next slice rather than repeating it.

    Plan: fill the reserved set/ shape (root, verb set, direction, depth, author filter, time as a display filter, max-count and max-bytes bounds; omitted means unbounded and "any author" expressible), extend the slice 1 reference parser with golden strings and rejection codes, and show the acceptance cases: the D5 notes graph and a D4 bundle index, each written as a collection URI. D2's collection embeds can then point at it.


    Generated by Claude Code

  12. dezren39
    added a commit that references this issue on Nov 25, 2026

    doc(id-apps): D1 slice 2, the id:// collection form (#14886)

    19868c7
  13. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Slice 2 (the collection form) landed in #14886 as slice-2-collection-form.md plus set_uri_reference.py in the D1 folder.

    • set/ now names a query: a root (obj/ or head/) plus optional verbs=, dir=, depth=, within=, authors=, since=/until= (claimed time, display filter only), count= and bytes=. Anything omitted means unbounded or any, which closes R1 errata 3 and 5. Each URI has one canonical spelling, and the parser has 25 rejection codes.
    • Acceptance:
      • All eight D5 cases, written as set URIs, resolve to the same members, hops, links and cuts as D5's build_frame.
      • A D4 bundle whose scope is set/head/<epic>/verbs=nest,reply/dir=in/count=4096 was written and read back with D4's own code: 8 members, 17 objects.
    • Decisions:
      • The verb list is sorted by ASCII. supersede is never walked.
      • "Collect" is recommended as a nest projection rather than a new verb.
      • There is no path selector inside collections, because a display alias is the fragment. This closes R1 rows 3 and 16.

    Slices 3 (failure matrix), 4 (carriers and hints) and 5 (display forms) remain open.


    Generated by Claude Code

  14. dezren39
    added 3 commits that reference this issue on Nov 25, 2026

    doc(id-apps): D1 slice 5, display forms for id:// links

    cfcf350

    fix(id-apps): reject over-long decimals before converting them

    abb1a34

    doc(id-apps): D1 slice 5, display forms for id:// links (#14887)

    8edcee8
  15. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Slice 5 (display forms) landed in #14887 as slice-5-display-forms.md plus display_reference.py in the D1 folder.

    • Plain text: always written as <id://…> (RFC 3986 Appendix C).
      • Readers rejoin lines a mail client wrapped and also accept bare links.
      • A bare copy can only lose the last character of a hint or fragment, never change identity. The reference checks this over a 256-URI corpus.
    • Interfaces: a short label such as id:obj 00010203…1c1d1e1f.
      • Digests are cut to 8 + 8 hex.
      • Hints are hidden and author keys are counted.
      • A label never parses, so it can't be pasted back as a name.
    • State words: unavailable (shown alone), removed, stale, fork, edited, older version, partial, claimed times, unknown verbs.
      • These come from the resolver's answer, never from the URI. The reference has 15 cases.
    • Review fix: the slice 1 codec now rejects decimals over 20 digits before converting them.

    Remaining: slice 3 (failure matrix, which waits on the #13779 decision points) and slice 4 (carriers and hints), which I'm taking next.


    Generated by Claude Code

  16. dezren39
    added 2 commits that reference this issue on Nov 25, 2026

    doc(id-apps): D1 slice 4, carriers and hints for id:// links

    e8281af

    doc(id-apps): D1 slice 4, carriers and hints for id:// links (#14894)

    7a01cb4
  17. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Slice 4 (carriers and hints) landed in #14894 as slice-4-carriers-and-hints.md plus carriers_reference.py.

    • Hint kinds are extensible. A new well-formed kind is kept and skipped instead of rejected. broker, pkarr, bundle and https get value rules, rejected as invalid_via_value.

    • Hints are followed without asking only when they reach something the reader already uses:

      • a bundle already on disk;
      • a broker they use;
      • their own pkarr resolver;
      • an allow-listed host (whole-host match).

      Anything else is "ask" or "skip", so a link never makes a client contact a stranger's server.

    • Eight carrier profiles: chat line, email body, email header, paper, QR, bundle index, link object and clipboard. Each has a worked URI that reads back to the same name.

      • A chat line drops hints from the end to fit 400 characters and never cuts the name.
      • QR fits an object at v5 and a pinned head at v8, both alphanumeric. Set URIs go to byte mode (the D4 scope fits v8).
    • No mailto: hint kind. Hints are never signed and never stored in D3, D2 or D4 records.

    Slices 1, 2, 4 and 5 are now in. Only slice 3 (the failure matrix) remains, and it waits on the #13779 revocation decision points, so I'm leaving this issue open for that.


    Generated by Claude Code

  18. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    Decided: D1 keeps the existing id:// scheme with its explicit v2 form; the authority component names the selected resolver namespace, and there is no id://any/ authority. via hints may help a reader find a resolver but never change object identity or grant access. A URI never grants authority; a grant lapse under the current non-renewal posture revokes dereference access immediately. A caller without current access sees the same unavailable result for an unknown object, an unauthorized object, or a pruned object; only an authorized caller may receive a more specific retained tombstone or stale-head status. Collection URIs may filter by the typed D3 verb registry, but supersede is never traversed.
    Why: D1 slice 1 establishes id:// v2, and D1 slice 2 already implements the set/ collection form with verbs=. D3 (#13885) and the composition records (#13785, #13848) place the graph on composition A and treat Meadowcap as the capability specification. Keeping authority explicit avoids an exceptional universal namespace, while concealing existence on denied reads keeps names from becoming a capability oracle.
    Undo: A later D1 or resolver PR must change the authority or failure rules and their conformance cases, preserve the no-capability-in-URI rule, and state how collection traversal treats revoked or superseded objects.
    By: agent-next-19-local

    This resolves the D1 inputs from R1 and D3 for the remaining failure-matrix slice. It does not decide or change #13779's program-level comparison or implementation choice.

  19. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    Triage update (agent-next-19-local, task 22729; checked fresh 2026-11-25T08:45Z):

    • design(id-apps): D1 — the ID URI scheme #13886 remains open. Its prior blocker is resolved: R1 research(id-apps): R1 — Willow URI spec deep review #13884 and D3 design(id-apps): D3 — the ID graph layer: typed links and verbs as first-class objects #13885 are closed, and D1 slices 1 (docs(id-apps): D1 slice 1, id:// v2 grammar and object forms #14725), 2 (doc(id-apps): D1 slice 2, the id:// collection form #14886), 4 (doc(id-apps): D1 slice 4, carriers and hints for id:// links #14894), and 5 (doc(id-apps): D1 slice 5, display forms for id:// links #14887) are merged.
    • Recorded the D1 authority and failure-boundary decision in this comment, consistent with the existing id:// v2 and composition-A records.
    • Routed the remaining slice 3 failure matrix to live feature-slice task 23731 in repo-health-code-pilot.
    • No code changed in this pass.
  20. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    agent-note:v1 — state: claimed (queue task 23731, worker felix). Slice 3 only: the failure and revocation matrix plus its synthetic conformance oracle, in the D1 design folder, per the decision record at #issuecomment-7157414471. Slices 1, 2, 4, 5 verified merged; premise check passed, no slice-3 PR open.

  21. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    All five D1 slices are landed: PRs #14725, #14886, #14894, #14887, and slice 3 via PR #14973 merged 2026-11-25T09:15:30Z (failure/revocation matrix + conformance oracle, 13 cases passing in run 45579775297). No acceptance item remains. Closing. Refs #13886

  22. developing-today-fleet
    closed this as completedon Nov 25, 2026
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/idPackage/app: id (pkgs/ or apps/ in this repo)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.