feat(plugins): add source-aware evidence and recording timelines

This commit is contained in:
chenmingxuan committed 2026-10-16 10:20:11 +08:00
1 parent 72ff342605
commit ef7af9988e
61 files changed
+3847 -108

No files matched your search

+2
View File
@@ -1488,6 +1488,8 @@ class DataEngine:
"post_image_name": post_image_name,
"generic_tools": self._get_generic_tools_for_sse(step_id),
}
if last_execution_result.get("pre_image_valid") is False:
payload["pre_image_name"] = None
if step_num is not None:
payload["step_number"] = step_num
self._publish("step_updated", payload)
+5
View File
@@ -803,6 +803,11 @@ class StorageManager:
):
"""Update the validator execution result and post_image_name for a step."""
with self._get_connection() as conn:
if last_execution_result.get("pre_image_valid") is False:
conn.execute(
"UPDATE steps SET pre_image_name = NULL WHERE step_id = ?",
(str(step_id),),
)
if post_image_name:
cursor = conn.execute(
"SELECT pre_image_name FROM steps WHERE step_id = ?",