Persist workflow archive bridge state
This commit is contained in:
@@ -186,6 +186,8 @@ class ApiStaticServerTests(unittest.TestCase):
|
||||
"Prefill Compare Replay Note",
|
||||
"Export Handoff Starter",
|
||||
"Export Artifact Bundle",
|
||||
"Persist Bridge State",
|
||||
"bridge persistence",
|
||||
):
|
||||
self.assertIn(expected, app_js)
|
||||
|
||||
|
||||
@@ -194,6 +194,7 @@ class OperatorWorkspaceServiceTests(unittest.TestCase):
|
||||
self.assertIn("workflow_archive_operations_summary", summary["workflow_artifact_summary"])
|
||||
self.assertIn("workflow_archive_multi_day_drift_review", summary["workflow_artifact_summary"])
|
||||
self.assertIn("workflow_archive_bridge_summary", summary["workflow_artifact_summary"])
|
||||
self.assertIn("workflow_archive_bridge_persistence_summary", summary["workflow_artifact_summary"])
|
||||
self.assertIn("workflow_persistence_status", summary["workflow_artifact_summary"])
|
||||
self.assertEqual(summary["workflow_artifact_summary"]["workflow_archive_operations_summary"]["status"], "active")
|
||||
self.assertEqual(
|
||||
@@ -201,6 +202,7 @@ class OperatorWorkspaceServiceTests(unittest.TestCase):
|
||||
"insufficient_history",
|
||||
)
|
||||
self.assertEqual(summary["workflow_artifact_summary"]["workflow_archive_bridge_summary"]["status"], "active")
|
||||
self.assertEqual(summary["workflow_artifact_summary"]["workflow_archive_bridge_persistence_summary"]["status"], "persisted")
|
||||
self.assertIn("long_range_trend_summary", summary["workflow_artifact_summary"]["workflow_history_archive"])
|
||||
self.assertIn("baseline_pin_summary", summary["workflow_artifact_summary"]["workflow_history_archive"])
|
||||
self.assertEqual(summary["workflow_artifact_summary"]["workflow_history_archive"]["long_range_trend_summary"]["status"], "active")
|
||||
@@ -979,6 +981,13 @@ class _DecisionAssistantRepo:
|
||||
"workflow_snapshot_id": 10,
|
||||
"updated_ts": "2026-05-12T02:04:00+00:00",
|
||||
},
|
||||
"workflow_bridge_state": {
|
||||
"handoff_packet_starter": {"headline": "Saved handoff starter"},
|
||||
"replay_note_bridge_summary": {"note_title": "Saved replay note"},
|
||||
"artifact_bundle_summary": {"starter_export_prompt": "Saved artifact bundle"},
|
||||
"query_context": {"profile_scope": "selected_profile", "query_preset": "intraday_recent"},
|
||||
"updated_ts": "2026-05-12T02:04:30+00:00",
|
||||
},
|
||||
},
|
||||
"updated_ts": "2026-05-12T02:05:00+00:00",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user