interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / spec / VERSIONING.md
| 1 | # INTERPLANE versioning |
| 2 | |
| 3 | Protocol version is `MAJOR.MINOR` and appears in every envelope as `interplane_version`. |
| 4 | |
| 5 | | Change | Effect on version | Receiver behaviour | |
| 6 | |---|---|---| |
| 7 | | New optional field | MINOR | Older receivers ignore it. It must be safe to ignore. | |
| 8 | | New enum value in a non-authority enum (`event`, `ErrorCode`, `ContentKind`) | MINOR | Receivers tolerate unknown values where the spec says so. | |
| 9 | | New value in an authority enum (`decision`, `TrustLevel`) | MAJOR | Unknown decision values are treated as `denied`. Unknown trust levels are treated as `external_untrusted`. Never default to authorization. | |
| 10 | | Required field added or removed, field type changed, semantic change | MAJOR | Receiver rejects the envelope with `unsupported_version` if MAJOR differs from what it implements. | |
| 11 | | Dialect parser change that alters canonical output for an existing fixture | parser_version MAJOR (per dialect) | Recorded in `provenance.parser_version`. Fixture expectations are re-pinned. | |
| 12 | | Mapping table change (CrossAxis) | `mapping.table_version` | Receipts carry the version; old receipts stay interpretable. | |
| 13 | |
| 14 | Rules: |
| 15 | |
| 16 | 1. A receiver implements exactly one MAJOR. Any other MAJOR is rejected before parsing the payload. |
| 17 | 2. Unknown top-level fields and unknown `extensions` keys are preserved or ignored, never acted on. |
| 18 | 3. Unknown `payload.kind` is rejected with `malformed_envelope`. |
| 19 | 4. Fixtures under `conformance/` are the compatibility contract; a change that alters an expected |
| 20 | outcome is a MAJOR change unless the fixture was wrong, in which case the CHANGELOG says so. |
| 21 | 5. During 0.x, MINOR may still break; the fixture suite is the thing that is stable. |