---
id: DEC-000003
title: Identifiers and revisions
summary: Type-prefixed six-digit identifiers, integer revisions cited as ID@N, and revision history read from git instead of snapshot copies.
schema: 1
revision: 1
status: draft
visibility: public
created: 2026-12-03
taxonomy: [TAX-000043]
relations:
  - {type: supports, target: STD-000001}
contributors:
  - {name: xmzr, role: author}
  - {name: Claude Opus 5.5, role: drafting, agent: true}
changes: Initial draft.
---

## Context

Objects need permanent identifiers that survive renaming, reclassification and changes of hosting. Readers need to cite both the evolving object and an exact historical state.

## Options

Table 1. Identifier schemes.

| Scheme | Example | Human-readable | Type visible | Notes |
|---|---|---|---|---|
| Type prefix + sequence | `EXP-000014` | Yes | Yes | Type becomes immutable |
| Global sequence | `000214` | Yes | No | Type can change |
| UUID or ULID | `01JEX6...` | No | No | Collision-free without coordination |
| Content hash | `sha256:9f2c...` | No | No | Already provided by git |
| Date-based | `2026-12-03-a` | Partly | No | Encodes creation date, which can be wrong for imported material |

Table 2. Revision storage.

| Approach | Duplication | Integrity check |
|---|---|---|
| Snapshot file per revision | Full copy per revision | Manual |
| Read from git history | None | Build compares current body with the committed published body |

## Decision

1. Identifiers are `<PREFIX>-<NNNNNN>`, allocated per prefix as the highest number plus one. One writer allocates at a time, so no coordination service is needed.
2. Revisions are integers. `ID@N` cites revision N. Datasets also carry a semantic version for their bytes.
3. The build reads every revision from git history. A body change to a published revision without an increment is a build error.
4. Six digits allow 999 999 objects per type.

## Consequences

- The type of an object is fixed for life (STD-000001 R2.5).
- Git history is canonical data. Losing it loses revisions, so backups MUST include the full history.
- Concurrent allocation by several agents can collide. If parallel writers become common, allocation moves to a single service or a lock file.
