# OIP-0001 draft folder

A proposal lives in `oips/drafts/OIP-<n>/` until it is accepted. The folder holds the proposal text and, under
`patches/`, the exact edits to the specification, registers, schemas, fixtures and cases that acceptance would apply.
Nothing in this folder changes the protocol: the specification and registers keep their current text until the
editors accept the proposal and its patches are applied in the same change.

| File | What it changes on acceptance |
|---|---|
| [`OIP-0001.md`](OIP-0001.md) | the proposal |
| `patches/spec.patch` | §5.10 (normative text EXCH-1 to EXCH-9), §6 Exchange row, §9 (G-EXCH-1 closed) |
| `patches/registers-functions.patch` | `exchange`: maturity `CONTRACTED`, gap G-EXCH-1 removed |
| `patches/schemas-fixtures.patch` | `product-manifest` schema (`licence`, `upstreamTerm`, `quality`, `correctionState`, `supersededBy`, `version`, `endpoints`), the positive fixture and the two example manifests updated, six new negative fixtures |
| `patches/cases-invariants.patch` | cases CT-GRID-004 to CT-GRID-007, CT-CONSUMER-004 and CT-CONSUMER-005, four suite invariants with unit tests, attestations for the manual cases |

Check that every patch still applies to the current tree: `python3 -m unittest tests.test_validate -k draft_patches`.
