Skip to content

fix: suppress stale blockers for healthy mission control#466

Merged
ozand merged 1 commit into
mainfrom
fix/issue-465-mission-healthy-headline
May 2, 2026
Merged

fix: suppress stale blockers for healthy mission control#466
ozand merged 1 commit into
mainfrom
fix/issue-465-mission-healthy-headline

Conversation

@ozand
Copy link
Copy Markdown
Owner

@ozand ozand commented May 2, 2026

Summary

Fixes #465.

After #461/#463, /api/system and /api/analytics reported canonical healthy autonomy:

  • autonomy_verdict.state=healthy_progress
  • autonomy_verdict.reasons=[]
  • autonomy_verdict.blocking_summary=null

But Mission Control still rendered a Blocked: headline from a stale current_blocker string.

This change makes _mission_control_summary() defer to the canonical healthy autonomy verdict: when autonomy is healthy_progress with no reasons and no blocking summary, stale current-blocker text is suppressed for the top-level headline/current blocker state.

Test plan

RED before fix:

  • PYTHONPATH=ops/dashboard/src:ops/dashboard python3 -m pytest ops/dashboard/tests/test_app.py::test_mission_control_healthy_autonomy_ignores_stale_current_blocker -q
    • failed with Blocked: active synthesized-improvement review lane remains bounded while awaiting materialization pressure

GREEN after fix:

  • PYTHONPATH=ops/dashboard/src:ops/dashboard python3 -m pytest ops/dashboard/tests/test_app.py::test_mission_control_healthy_autonomy_ignores_stale_current_blocker ops/dashboard/tests/test_app.py::test_mission_control_names_concrete_blocker_from_autonomy_summary_when_current_blocker_unknown -q
    • 2 passed
  • PYTHONPATH=ops/dashboard/src:ops/dashboard python3 -m pytest ops/dashboard/tests -q
    • 167 passed
  • python3 -m pytest tests -q
    • 699 passed, 5 skipped

@ozand ozand merged commit eda55b9 into main May 2, 2026
3 checks passed
@ozand ozand deleted the fix/issue-465-mission-healthy-headline branch May 2, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mission Control headline should defer to healthy autonomy verdict over stale blockers

1 participant