REQ-SELF-ERGO-001 pass high since 0.2.0
Statement: The Evidence.details field shall accept both str and dict values, auto-wrapping str to {"message": str}.
Rationale: This was the number-one friction point reported in the labwork integration.
Verification Method: test
Last Checked: 2026-04-17 18:13 UTC
Acceptance Criteria
- Evidence(details="ok").details == {"message": "ok"}.
- Evidence(details={"key": "val"}).details == {"key": "val"}.
- JSON round-trip preserves the dict shape.
Evidence
| ID | Kind | Verdict | Observed | Details |
|---|---|---|---|---|
| EV-PYTEST-0005 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/core/test_evidence.py::TestEvidence::test_details_str_round_trip, test_name: test_details_str_round_trip |
| EV-PYTEST-0004 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/core/test_evidence.py::TestEvidence::test_details_accepts_dict, test_name: test_details_accepts_dict |
| EV-PYTEST-0003 | test | pass | 2026-04-17 18:13 | source: pytest-vnvspec, nodeid: tests/core/test_evidence.py::TestEvidence::test_details_accepts_str, test_name: test_details_accepts_str |