# OIP-0007 draft folder

The proposal and, under `patches/`, the exact edits acceptance would make. Nothing here changes the protocol until
the editors accept the proposal and its patches are applied in the same change. The patches are made against the
current tree and touch no line that OIP-0001 or OIP-0005 edits or uses as context, so every patch of those drafts still
applies with these applied.

| File | What it changes on acceptance |
|---|---|
| [`OIP-0007.md`](OIP-0007.md) | the proposal |
| `patches/spec.patch` | §4.2 row `connector-mapping`, `connector-output`; §5.5 sub-list "Connectors" (CON-1 to CON-10) |
| `patches/schemas-fixtures.patch` | `connector-mapping` and `connector-output` schemas; four positive and fourteen negative fixtures; the connector records (mapping, two outputs, three observation records, provenance) in the OBSP-NODE example set and in its negative set, whose README says so |
| `patches/cases-invariants.patch` | invariants `connector-mapping-resolves`, `connector-unmapped-not-in-result`, `connector-quality-and-time`, `connector-evidence-and-agent`, `connector-sequence-gaps` with unit tests; cases CT-NODE-071 to CT-NODE-075 and the attestation for the manual case; the SDK test that lists the failing cases of the negative set |
| `patches/binding-sparkplug.patch` | `bindings/sparkplug/` (profile, manifest, `mapping.yaml`, `connector-mapping.json`, four positive and six negative examples), `tests/test_sparkplug_binding.py`, the AsyncAPI channels NDATA, DDEATH and STATE, and the demo-binding helper of `tests/test_validate.py` made independent of the shipped bindings |
| `patches/registers.patch` | `observe` objects gain `connector-mapping` and `connector-output`; row `EXT-MQTT` gains schemas, profile and `artefacts: [bindings/sparkplug/]`; `implements-edges.json` regenerated (41 edges) |

Apply all five patches together (in any order): the registers name the schemas and the binding folder, and the binding
names the cases. Acceptance removes `patches/`.

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