You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run receipt keeps VERIFIED for a report with writes but no readback block #2855
openadapt_flow/receipt_record.py (around _evidence_scope and build_statement, line ~429) keeps a VERIFIED outcome with no evidence scope when report.json has no readback block. The intent was to keep the old shape for a run that made no save. But the check doesn't look at whether the report has writes.
Reproduction: a reviewer passed build_statement a report with one confirmed tier-4 write and no field checks.
With a readback block, the receipt was UNKNOWN / RECORDED.
Without one, the receipt was a signable VERIFIED statement, even though its own line listed field_values as unchecked.
Fix: keep the no-block exception only when the report has no write lines. If the report has writes and no readback block, the outcome should be UNKNOWN (incomplete write coverage).
Found by: the independent review of #2849. This behaviour is already on main.
Activity