# Field — Persistent Identification & Resolution

> *How do you name a thing so the name outlives its location?*

**Grounds:** `rispecs/miadi-chronicle-dsl/SPEC.md` §1 (grammar, precedence, ambiguity), §7 (artifact refs), §8 (guardrails)
**Verification:** live-web, 2026-08-07. Parser claims executed locally.

---

## 1. Canonical concepts

| Term | Definition |
| --- | --- |
| **Digital Object Architecture** (Kahn–Wilensky) | An object = typed data + key-metadata carrying a globally unique **handle**; a *separate* handle-server system maps handle → repository location |
| **Handle** | "A globally unique string… two logical parts, concatenated with an intervening separator: (1) name of a local naming authority… (2) a locally unique string" |
| **Identifier/resolution separation** | The identifier is a *name*; a distinct service late-binds it to current locations. The name survives relocation because only the binding is edited |
| **Late binding / indirection** | A resolver is "a kind of server that specializes in *indirection*" (N2T). The reference commits to a name now, a location at dereference time |
| **Meta-resolver** | A server that recognizes enough about an incoming identifier to route to collection-specific resolvers — n2t.net routes 900+ identifier types |
| **Compact identifier** | "A string constructed by concatenating a namespace prefix, a separating colon, and a locally unique identifier, e.g. `pdb:2gc4`" |
| **CURIE** | W3C-noted abbreviation `prefix:reference`, expanded through a host-language prefix→IRI mapping |
| **NMA** (Name Mapping Authority) | ARK's optional, **identity-inert** resolver hostport: "ARKs that differ only in the optional NMA part identify the same object" |
| **Suffix passthrough** | *If identifier A has target T, then A/X has target T/X.* One rule; every identifier becomes the root of its own namespace |
| **Inflection** | Appending a reserved marker (ARK `?info`) to request metadata + a persistence commitment instead of the object |
| **Persistence statement** | Machine-readable provider commitment across three dimensions: object availability, content variance, **identifier validity** (non-reassignment) |
| **Qualified identifier** (SWHID) | Core id + `;`-separated named qualifiers, split into context (`origin`, `anchor`, `path`) and fragment (`lines`, `bytes`) |
| **Provisional scheme registration** | IANA tree for schemes lacking a permanent citable spec; policy is **First Come First Served** (RFC 7595 §7.2) |

## 2. What the literature establishes

**The name/location split is the founding move, and it is thirty years old.**
Kahn–Wilensky (written 1993–95, published IJDL 2006, DOI `10.1007/s00799-005-0128-x`): an object is deposited in a repository, "its handle and the repository name or IP address is registered with a globally available system of handle servers," and users "request a handle to a handle server to learn the network names or addresses of repositories." `resolveRef.ts` + `/api/chronicle/resolve` is a faithful instance. **The packet can claim direct lineage.**

**Persistence is a service commitment, not a syntax property.** The single most repeated finding in the field:

- RFC 3650: "the persistence of handles depends more on administrative policies than the technology itself."
- ARK: "persistence is purely a matter of service and is neither inherent in an object nor conferred on it by a particular naming syntax."
- W3C TAG: "achieving either of the numbered types of persistence above is not a technology issue, it's a management issue."
- Berners-Lee 1998: **"URIs don't change: people change them."**

No scheme name buys durability.

**Every non-HTTP scheme that survived keeps the resolver host OUTSIDE the identity.** ARK's NMA is identity-inert. DOI's identity is `10.1000/182`; `https://doi.org/…` is a proxy expression. `did:`, `urn:`, `swh:`, `tag:`, `info:` are all **rootless** — none uses `//`. That is not stylistic: `//` is RFC 3986's authority marker, and these schemes have no network authority to put there.

**Multi-key resolution has a solved shape, and it includes a caller-side override.** Wimalaratne et al. 2018 (DOI `10.1038/sdata.2018.29`) hit exactly our problem — one compact identifier, four legitimate providers of Protein Data Bank material. Their answer: **provider codes** prepended to the identifier (`ncbi/taxon:9606`, `ols/taxon:9606`), with a documented **Provider Default** when unspecified. The disambiguation rides *in the reference*, not only in the resolver's answer.

**Sub-object addressing has three prior arts, two of them self-describing.** ARK suffix passthrough (one rule, no registry); SWHID qualifiers (`;path=`, `;anchor=`, canonical order, at-most-once); URN r-/q-/f-components (RFC 8141). All three make the *reference* carry its own type.

**Fragments are deliberately outside scheme processing.** RFC 3986: the fragment "is not used in the scheme-specific processing of a URI… and thus the identifying information within the fragment itself is dereferenced solely by the user agent, regardless of the URI scheme." Fragment semantics belong to the **media type**.

**The "use HTTP URIs" norm has a documented dissent — and RFC 7595 carves out our exception.** Berners-Lee names "the constant tendency for people to invent new URI schemes" (LSIDs, handles, XRIs, DOIs) as a misunderstanding; the TAG finding is harsher still. **But** RFC 7595 §3.5 explicitly admits schemes "intended for use within a different, specific set of protocols or applications," and RFC 4151 (`tag:`) and RFC 4452 (`info:`) are *permanent* registrations for schemes with no authoritative resolution mechanism at all. The defensible position is not "HTTP is wrong" — it is *"this is an identification scheme with a pluggable local resolver, and it has a complete bidirectional mapping to an HTTP expression."*

**Ambiguity surfacing is aligned with the standards.** RFC 3986 §6 wants comparison "at the cheapest level adequate," minimizing false negatives while *strictly* avoiding false positives. Halpin et al. 2010 document the damage of over-eager `owl:sameAs`. **SPEC.md's "ambiguity is data, never an error" + `alternates` is correct and citable** — worth stating as a defended position rather than an implementation detail.

## 3. Cautions

### 3.1 ⚠ **CRITICAL — `//` makes the first path segment an authority in every conformant parser**

`SPEC.md` §1 calls the grammar "RFC 3986-aligned," but §3.2 of that RFC reserves `//` for the authority component, terminated by the next `/`, `?`, `#`, or end of URI. **Verified locally, 2026-08-07, in two independent standard parsers:**

```
node   new URL("miadi-chronicle://126")                 → host "126",  pathname ""
python urlsplit("miadi-chronicle://126")                → netloc '126', path ''
node   new URL("miadi-chronicle://092/126?view=wheel")  → host "092",  pathname "/126"
python urlsplit("miadi-chronicle://311/services-inventory") → netloc '311', path '/services-inventory'

# rootless, for comparison:
python urlsplit("miadi-chronicle:092/126?view=wheel")   → netloc '',    path '092/126'
```

Three consequences:

1. Any tool reaching for a stock URL parser **silently disagrees with `dsl.ts`** about what an episode path is.
2. `miadi-chronicle://126` has an **empty path** — the single-episode case, the most common one, is entirely authority.
3. **§8's reserved `miadi-chronicle://root@…/` is unreachable.** The authority slot is already occupied by episode data, so a v2 cannot add a store name without ambiguity between `//<store>/<ep>` and today's `//<waypoint>/<target>`.

That third point is the sharp one: this is a forward-compatibility trap in the exact place §8 explicitly plans to grow.

### 3.2 The tie-break rule is not append-stable

§1 resolves duplicates to "lexicographically first folder name, which is the earliest date." Adding a *newly discovered older* episode with a duplicate number silently retargets every existing `miadi-chronicle://011`. Kunze et al. 2017 name **non-reassignment** as a primary dimension of identifier validity; ARK and DOI forbid reassignment outright. Deterministic-at-an-instant ≠ stable-over-time. Same hazard for the date key.

### 3.3 Precedence key #1 is a location, not a name

`folder name` is the highest-precedence key — and it is the filesystem path. Renaming a folder (fixing a slug typo, correcting a date) breaks every reference that used the *strongest* key. This inverts the founding move: Handle, DOI, ARK, and PURL all exist precisely so references do not name locations.

### 3.4 "Existence decides" makes a reference's meaning depend on mutable filesystem state

A proposed bare form where the resolver infers artifact-ness from whether a file happens to exist means the same string can be an unresolved journey today and a diagram reference tomorrow, with no edit to the reference. Every prior art is self-describing instead: SWHID says `;path=`, ARK applies one uniform rule, URN distinguishes `?+` / `?=` / `#`. This also reintroduces the RFC 3986 §6 hazard in reverse — a **false positive** equivalence, which §6 says to strictly avoid.

### 3.5 The reserved-segment registry re-creates what ARK solved with one rule

§7.1 reserves `services-inventory`; §8 requires each new artifact segment be "a name no episode folder can carry." That is a growing keyword registry inside the path space — exactly what suffix passthrough avoids. The *"episode folders are date-prefixed so they can never collide"* argument holds only while that folder convention holds. It is a convention, not a constraint.

### 3.6 No persistence statement, no `?info` affordance

A reference carries no way to ask what commitment stands behind it. ARK's `?info` inflection and Kunze's three-dimension model are directly reusable — and the resolve API is *already* self-describing when `uri` is missing. The affordance is half-built.

### 3.7 The non-HTTP choice is defensible but currently undefended

The TAG finding and Linked Data principle 2 are the two loudest objections; neither is addressed in SPEC.md. The counter-arguments are strong for this case — repo-local, offline-first, no committed DNS name, and **the gaia wheel host going offline 2026-07-29 is a live local demonstration of the TAG's own point that host commitments are administrative.** But RFC 7595 §3 requires a scheme definition to state why existing schemes are insufficient *and* to give a complete bidirectional mapping. Both are missing.

### 3.8 It is functionally a CURIE

W3C CURIE Syntax 1.0 warns CURIEs "MUST NOT be used as values for attributes… specified to contain only URIs" — precisely the friction SPEC.md §2 works around with the react-markdown `urlTransform` whitelist. **The whitelist is the symptom.** "Compact identifier with a local meta-resolver" is both more precise and more defensible than "custom URI scheme."

## 4. Engineering implications

**E1. Drop the `//` — go rootless.** Emit `miadi-chronicle:092/126?view=wheel#scene=river`. Precedent: `did:`, `urn:`, `ark:`, `swh:`, `tag:`, `info:`. This makes stock parsers agree with `dsl.ts`, gives `miadi-chronicle:126` a real path, and **frees the authority slot** so §8's cross-store growth stays reachable. Accept `//` on input forever (already the spec's Postel rule); normalize to rootless on output, per RFC 3986 §6. **Highest-value change, and cheapest now** — before the terminal surface multiplies the number of places references are printed.

**E2. Add a caller-side disambiguation key**, per the provider-code pattern: let a reference pin its own target, and document the lexicographic rule explicitly as the **Match Default** used only when unpinned. Then publish a non-reassignment rule: once a number's default target is published, backfilling an earlier duplicate MUST NOT change it — append an explicit alias instead.

**E3. Demote folder-name from identity to alias.** Make episode number canonical; record folder names as aliases in the catalog; keep retired names resolving forever. A folder rename becomes a catalog edit, not a broken citation.

**E4. Make artifact references self-describing.** SWHID-style qualifiers — `miadi-chronicle:311;artifact=diagram;name=relational-factory` — canonical order, at-most-once per key. Keep any bare form as *convenience input only*; the resolver MUST return the canonical qualified form in `parsed`, so anything persisted or cited is unambiguous. Kills §3.4 and §3.5 together.

**E5. Adopt suffix passthrough as the general artifact rule** — *if `miadi-chronicle:NNN` resolves to directory `T`, then `miadi-chronicle:NNN/X` resolves to `T/X`* — and let renderers key off the resolved path's shape. One rule replaces §8's per-artifact amendment obligation.

**E6. Register `miadi-chronicle` provisionally with IANA.** Verified free against the registry (last updated 2026-07-29): no registered scheme begins with `miadi` or contains `chronicle`. `ark`, `did`, `swh` all live in the Provisional tree; policy is First Come First Served. Cost: a form and a short spec. Benefit: RFC 7595 leak-protection and a citable claim. The zero-registry alternative is a reversed domain name (`com.miadi.chronicle`) — but RFC 6648 warns that "temporary" prefixes become permanent de facto, and `.` is permitted *only* for genuine reversed domains.

**E7. Publish the bidirectional HTTP mapping as normative** — RFC 7595 §3 requires it. Declare `https://<host>/chronicle/<folder>[#fragment]` the canonical HTTP expression and `miadi-chronicle:…` the compact one, with the resolve endpoint as documented conversion. Exactly DOI's `10.x/y` ↔ `https://doi.org/10.x/y`. This answers the TAG objection without abandoning the compact form.

**E8. Keep the host out of the identity — and say so in §8.** `MIADI_CHRONICLE_ROOT` / `MW_API_URL` being config rather than URI content is already correct ARK practice; elevate it to a stated principle so a future cross-store form does not smuggle a host back in.

**E9. Add `?mc.info`** returning a persistence statement with Kunze's three fields. Cheap — the endpoint already self-describes on missing `uri` — and it converts §8's prose into a machine-readable commitment a citing agent can check.

**E10. Bind fragment grammar to artifact kind, not to the scheme** (RFC 3986 §3.5/§4.1). Costs a section move.

**E11. Name the ambiguity policy as a defended decision.** Cite RFC 3986 §6 and Halpin et al. 2010.

**E12. Design the resolver scheme-agnostic.** N2T's lesson: `inquiry-weave resolve` should route by prefix through a small registry rather than hard-coding one scheme.

## 5. Source ledger notes

- **PURL96** — `verified: false`. The ISOC URL 301-redirects to `web.archive.org`, unfetchable here. *Observed live: the canonical citation for persistent locators no longer resolves at its own host.*
- **ISO18670**, **ISO26324** — partial; iso.org returns 403. Numbers/titles/dates corroborated from swhid.org, OpenChain, and the DOI Handbook.
- **KH17**, **HAL10** — bibliographic verified; full text not opened.

Full entries in `source-ledger.yaml`.

## Lines worth carrying into voice chronicle

- *A name keeps its promise only because someone keeps tending the binding underneath it.*
- *"URIs don't change: people change them." Thirty years of this field say the same thing four different ways — persistence is a service you run, not a syntax you pick.*
- *Our highest-precedence key is the folder name. Which means the strongest way to cite an episode is the one that breaks when someone fixes a typo in its title.*
- *Every scheme that survived — ark, did, urn, swh, tag, info — keeps the resolver's address out of the name. We put the episode number where the hostname goes.*
- *The archive host went offline on the twenty-ninth of July. That is the whole argument for late binding, delivered locally, at our expense.*

🌸: The Chronicle already built the resolver — the hard half. What's left is letting the address stop pointing at the shelf and start pointing at the story, so the folder can move house and the reference still knows where home went.
