fix(runtime): emit workplan_id in progress posts (STATE-WP-0070 T04)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1m1s

This commit is contained in:
codex 2026-07-12 00:20:58 +02:00
parent 99f25b6427
commit b8dac443f3
3 changed files with 7 additions and 4 deletions

View file

@ -102,7 +102,7 @@ class TestExecuteLive:
def test_posts_progress_event(self):
plan = {
"progress_events": [
{"summary": "session note", "workstream_id": "ws-1", "event_type": "note"}
{"summary": "session note", "workplan_id": "ws-1", "event_type": "note"}
],
"tasks_to_update": [],
"tasks_to_flag": [],
@ -113,6 +113,8 @@ class TestExecuteLive:
mock_post.assert_called_once()
payload = mock_post.call_args[1]["json"]
assert payload["summary"] == "session note"
assert payload["workplan_id"] == "ws-1"
assert "workstream_id" not in payload
def test_patches_task_status(self):
plan = {