diff --git a/inferedgelab/report/runtime_intelligence.py b/inferedgelab/report/runtime_intelligence.py index 11da9a9..1bf9135 100644 --- a/inferedgelab/report/runtime_intelligence.py +++ b/inferedgelab/report/runtime_intelligence.py @@ -1892,6 +1892,7 @@ def _aiguard_operation_risk_rollup_label( if isinstance(context, dict): for field, label in ( ("risk_level", "risk"), + ("first_read", "first_read"), ("queue_pressure_reason", "queue"), ("max_total_queue_depth", "max_queue"), ("deadline_missed_count", "deadline"), diff --git a/tests/test_runtime_intelligence_evidence_chain_smoke.py b/tests/test_runtime_intelligence_evidence_chain_smoke.py index d5d7a17..5c3b41c 100644 --- a/tests/test_runtime_intelligence_evidence_chain_smoke.py +++ b/tests/test_runtime_intelligence_evidence_chain_smoke.py @@ -576,6 +576,7 @@ def test_compare_cmd_runtime_intelligence_chain_writes_markdown_and_html( assert "AIGuard operation risk rollup evidence" in markdown assert "edgeenv_orchestrator_operation_risk_rollup" in markdown assert "risk=review" in markdown + assert "first_read=review_operation_risk_context" in markdown assert "AIGuard task event rollup evidence" in markdown assert "edgeenv_orchestrator_task_event_rollup" in markdown assert "AIGuard operation timeline evidence" in markdown @@ -702,6 +703,7 @@ def test_compare_cmd_runtime_intelligence_chain_writes_markdown_and_html( assert "AIGuard operation risk rollup evidence" in html assert "edgeenv_orchestrator_operation_risk_rollup" in html assert "risk=review" in html + assert "first_read=review_operation_risk_context" in html assert "AIGuard task event rollup evidence" in html assert "edgeenv_orchestrator_task_event_rollup" in html assert "AIGuard operation timeline evidence" in html