REQ-SELF-IO-001 — The Spec YAML and TOML serialization shall be loss

REQ-SELF-IO-001 pass high since 0.2.0

Statement: The Spec YAML and TOML serialization shall be lossless — from_yaml(to_yaml()) and from_toml(to_toml()) shall produce identical Spec objects.

Rationale: Users must be able to hand-edit serialized specs without data loss.

Verification Method: test

Last Checked: 2026-04-17 18:13 UTC

Acceptance Criteria

Evidence

IDKindVerdictObservedDetails
EV-PYTEST-0011testpass2026-04-17 18:13source: pytest-vnvspec, nodeid: tests/core/test_spec.py::TestSpecSerialization::test_toml_round_trip_equality, test_name: test_toml_round_trip_equality
EV-PYTEST-0010testpass2026-04-17 18:13source: pytest-vnvspec, nodeid: tests/core/test_spec.py::TestSpecSerialization::test_yaml_round_trip_equality, test_name: test_yaml_round_trip_equality