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
- Spec.from_yaml(spec.to_yaml()).model_dump() == spec.model_dump().
- Spec.from_toml(spec.to_toml()).model_dump() == spec.model_dump().
Evidence
| ID | Kind | Verdict | Observed | Details |
|---|---|---|---|---|
| EV-PYTEST-0011 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/core/test_spec.py::TestSpecSerialization::test_toml_round_trip_equality, test_name: test_toml_round_trip_equality |
| EV-PYTEST-0010 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/core/test_spec.py::TestSpecSerialization::test_yaml_round_trip_equality, test_name: test_yaml_round_trip_equality |