# Release summary: v0.2-demo

Changes merged to `main` from tag `v0.1-demo` (`268ea0c`, 2026-11-15, after PR #70) to `880cbf6` (2026-11-22, after
PR #92): 22 pull requests (#71 to #92), 105 commits. konspekt task: `task-v02-demo-release-summary`.

Work of this release sits under `goal-tokenized-collateral` (project owner, 2026-11-20): the CDM extension and the
prototype represent a tokenized collateral asset as it exists on its ledger, including which record is legally
authoritative, and settlement and enforcement respect that record.

## Figures

| Figure | v0.1-demo | v0.2-demo | Source |
|---|---|---|---|
| Gaps in the register | 39 | 41 (G40, G41 added) | [`gap-register.md`](../analysis/gap-register.md) |
| Gaps closed / partial / deferred / open / out of scope | 21 / 7 / 1 / 8 / 2 | 21 / 8 / 1 / 9 / 2 (G40 open; G41 partial, project owner, 2026-11-22) | same |
| CDM defects documented / fixed in `cdm-ext` | 30 / 16 | 30 / 16 | [`defects.md`](../analysis/defects.md) |
| SME questions / topics | 222 / 39 | 229 / 40 (REG-6 to REG-10, PROV-1, PROV-2) | [`sme-question-ledger.md`](../analysis/sme-question-ledger.md) |
| Workflows in the task map, all built | 47 | 47 | [`cdm-workflow-task-map.md`](../analysis/cdm-workflow-task-map.md) |
| Live specs in `console/e2e/live.spec.ts` | 53 | 57 | counted in the file |
| Solidity contracts (excluding the `CollateralTypes` library) | 9 | 11 (`RecordKeeperRegister`, `ProvenanceAnchors`) | `contracts/contracts/` |
| Contract tests (`npm test` in `contracts/`) | 142 passing | 147 passing | run for this summary at both commits |
| `cdm-ext` tests (`mvn test`) | 327 (figure on the deck at `v0.1-demo`) | 332, 0 failures | run for this summary at `v0.2-demo` |
| Collateral service tests | 146 (`@Test` methods counted at `v0.1-demo`) | 204, 0 failures | `mvn test` run for this summary at `v0.2-demo` |

The live specs were counted in the source, not run for this summary: the live stack (Besu network, gateways, services) was not started. The last full live
run recorded in the history is PR #89's: 57 passed locally after a chain reset (38.0 min, 2026-11-22). PR #90 changed
`flow-registered-collateral-gmsla` after that run.

## 1. Token identity: the DTI format (PR #75)

`TokenizedAsset.dti` is now a `DigitalTokenIdentifier` (Rune `string(pattern: ...)`): nine characters, an
eight-character base number without A, E, I, O, U or Y that does not start with 0, and a check character that is a
digit or an upper-case letter. The check character's value is not verified, because ISO 24165 Annex A is not available;
upper case only is a noted assumption (project owner, 2026-11-21). The deployment's DTIs `QUSD00000` and `QAGY00000`
broke the rule and were replaced with `QSD000000` and `QGNC00000`. Task `task-dti-format-check`, resolved.

## 2. Completion by the authoritative record (PRs #75, #81, #84, #86)

Interim rules REG-1 to REG-5 (project owner, 2026-11-21, pending the SME in `task-sme-registered-asset-completion`;
brief: [`sme-brief-registered-assets.md`](../analysis/sme-brief-registered-assets.md)): for a Registered or Claim
token (tMMF in the prototype), a settlement or an enforcement is complete only after the record keeper confirms its
register update; the token is eligible only under a control agreement with the record keeper; the record keeper's
record prevails and a mismatch with the ledger is a break.

- `cdm-ext`: `TokenizedAsset.controlAgreement`, `EligibleUnderControl` (REG-3), `RegisterBreaks` (REG-5),
  `RecordKeeperConfirmation.transactionHash`; `TransferComplete` cites the interim rules.
- Contracts: `RecordKeeperRegister` (`RegisterConfirmed`, written only by the record keeper's key);
  `CollateralControl.enforce` takes and emits the hash of the CDM `CollateralEnforcement`.
- Deployment: tMMF is Registered, kept by "MMF Transfer Agent" under control agreement `CA-TMMF-2026-01`.
- Oracle service: `TransferAgent` keeps the tMMF register and confirms each transaction that moves tMMF;
  `PUT /oracle/v1/register/paused` holds it for tests.
- Gateway: `/calls/:id/enforcement`, `/register/tokens`, `/register/transfers`, `/register/confirmations`,
  `/register/movements`.
- Collateral service: `cdm-state` reports `recordKeeper` and `settlementComplete`; `/calls/{id}/enforcement`,
  `/register/breaks`; the same completion and eligibility in the repo, GMSLA and triparty flows (`/repos`, `/loans`,
  `/triparty`), and a triparty profile may include tMMF (`registeredCollateral`).
- Consoles: the call row shows whether the record keeper has confirmed the step and the enforcement, and each register
  is shown against the ledger with its breaks.
- Live specs: `flow-registered-collateral`, `flow-registered-collateral-gmsla`, `flow-registered-collateral-triparty`.

Tasks `task-authoritative-record-settlement-enforcement`, `task-authoritative-record-other-flows` and
`task-console-record-keeper-completion`, resolved.

## 3. Ledger anchors for substitutions and movements (PRs #88, #90)

G25's `AnchoredRecordEnum` gains `Substitution` anchors built by the collateral service (`CdmAnchors.substitutionAnchors`;
`flow-substitution` checks that both parties build the same three Complete anchors) and `Repo`, `SecuritiesLoan` and
`Triparty` anchors for movements. A movement of a Registered or Claim token completes on its anchor's status and the
record keeper's confirmation. The triparty profile's deposits and withdrawals carry no CDM document and keep the
transaction's finality (project owner, 2026-11-22). Not yet exercised against chain data: close-out and triparty
purchase movements of tMMF. Task `task-substitution-ledger-anchors`, resolved.

## 4. Document provenance (PRs #76, #78, #80, #82, #83, #85, #87, #89)

Gap G41 (finding N2): nothing linked a token to the documents and identities behind it. ADR `wp-adr-document-provenance`
(project owner, 2026-11-22): W3C PROV-O JSON-LD link records, hashed with keccak-256 over their JCS canonical form and
anchored on the ledger; W3C Verifiable Credentials on separate P-256 keys for the record keepers' statements.

- `cdm-ext`: `AnchoredRecordEnum` gains `AssetDocument`, `Valuation` and `RegistryEntry`.
- Contract: `ProvenanceAnchors` (`ProvenanceAnchored`, one chain of revisions per link).
- Collateral service: `ProvRecords`, `Jcs`, `ProvCredentials`, `ProvenanceCheck` and `ProvenanceLive`;
  `GET /api/v1/provenance`, `GET /api/v1/provenance/{symbol}`, `POST /api/v1/provenance/seed`. The check reports, per
  link, missing, not anchored, anchor not complete, conflicting, altered, unattested or superseded records, and, by
  asset, over-issuance and double tokenization.
- Cases: tUST (Bearer: custody record), tMMF (Registered: the record keeper's register statement and the control
  agreement), and the aircraft fixtures (registry entries: the registration and each registered interest with the
  interest holder's consent, an interim rule pending REG-8). No aircraft token is deployed: CDM has no asset type for
  one (G40).
- Gateway: `/provenance/anchors`, `/provenance/head/:linkId`, `POST /provenance/anchor`. Consoles: a Provenance card.
- Provenance gate: tUST and tMMF are marked `provenanceRequired`; the receiving party refuses to take a marked token
  whose provenance path is not complete, at the CSA proposal acceptance and substitution consent, the repo buyer's
  affirmation and substitution agreement, the securities lender's booking and collateral substitution, the triparty
  receiver's settlement and the agent's substitution, and the CCP's acceptance for clearing.
- Live spec: `flow-provenance`. The credential proofs are not checked against the W3C Data Integrity test suite.

G41 is partial (project owner, 2026-11-22). Task `task-document-provenance` is open; its SME questions are PROV-1 and PROV-2 (`task-sme-document-provenance`).

## 5. Analysis and SME material (PRs #72 to #76)

- `goal-tokenized-collateral` and its decomposition (PR #72).
- The aircraft case (PRs #73, #74): findings N1 and N2, gaps G40 (no physical asset or asset-finance agreement in CDM)
  and G41, SME questions REG-6 to REG-10; gap and defect counts in the business case and the project narrative.
- [`sme-brief-registered-assets.md`](../analysis/sme-brief-registered-assets.md): the SME brief for REG-1 to REG-5.
- The SME question ledger gains the **Interim decision** column (`task-sme-interim-decision-catalog`), shown in
  [`docs/sme-questions.html`](../sme-questions.html).

## 6. konspekt project state (PRs #71, #77, #79, #91, #92)

The vendored konspekt engine and skills re-vendored from konspekt `71e7eb6` (#71); checkpoints of 2026-11-21 and
2026-11-22 (#77, #79); the conformance component and engineer persona refreshed from konspekt `8a5c53e` and the
review-unit tool installed from `5b47860` (#91, `task-konspekt-kit-refresh`); `changes/review-units.md` derived from
GitHub and git (#92).

## Open after this release

- `task-document-provenance` (G41, partial): provenance for tUSD; a check at revaluation or on amendment (PROV-2).
- `task-second-ledger-token-identity`: a second ledger (for example Canton) to show that the token identity model is
  ledger-neutral.
- `task-sme-registered-asset-completion` and `task-sme-document-provenance`: all their SME questions are open.
