Visible-Agent-Loop-Protocol

Schema Versioning

VALP has two version layers:

Layer Example Meaning
protocol version 0.2.0-draft Human-readable contract: lifecycle, receipts, adapters, gates, Done Criteria
schema version valp-capability-routing.v1 Machine-readable artifact shape for one JSON/JSONL file

Schema versions are independent from protocol versions. A protocol draft can move from 0.1.0-draft to 0.2.0-draft while a schema remains v1, as long as the artifact shape stays backward-compatible.

Compatibility Rules

Practical Guidance

For external runtime implementers:

  1. Read the schema_version field first.
  2. Validate required fields for the artifact you consume.
  3. Preserve unknown fields when rewriting task evidence.
  4. Treat unknown safety-gate fields as warnings or blockers, not as success.
  5. Record adapter-specific extensions under clearly named extension fields.