"""Update umbrella spec.md line 40."""
from pathlib import Path

target = Path("conductor/tracks/result_migration_20260616/spec.md")
text = target.read_text(encoding="utf-8")

old_40 = '2. `result_migration_small_files` (T-shirt: L) — 37 files (35 SMALL + 2 MEDIUM); **Phase 13 in progress**'
new_40 = '2. `result_migration_small_files` (T-shirt: L) — 37 files (35 SMALL + 2 MEDIUM); **SHIPPED 2026-06-18** (Phase 13 complete: 11/11 tiers actually run; 9 PASS clean + 2 PASS with documented issues (REPORTED for diff tracks: test_execution_sim_live GUI subprocess crash + test_live_gui_workspace_exists xdist race); 4 pre-existing Gemini 503 tests documented with @pytest.mark.skip)'

if old_40 in text:
    text = text.replace(old_40, new_40)
    target.write_text(text, encoding="utf-8", newline="")
    print("line 40 updated")
else:
    print("line 40 not found")