conductor(plan): Mark Phase 5A-5C complete (commands, theme_2, markdown_helper lazy imports)

This commit is contained in:
ed
2026-06-06 17:01:05 -04:00
parent 48c9649951
commit 32edad0a4b
3 changed files with 28 additions and 28 deletions
@@ -5,7 +5,7 @@
track_id = "startup_speedup_20260606"
name = "Sloppy.py Startup Speedup"
status = "active"
current_phase = 4
current_phase = 5
last_updated = "2026-06-07"
[phases]
@@ -13,7 +13,7 @@ phase_1 = { status = "completed", checkpoint_sha = "f9a01258", name = "Audit + B
phase_2 = { status = "completed", checkpoint_sha = "f9a01258", name = "Job Pool + Warmup Foundation" }
phase_3 = { status = "completed", checkpoint_sha = "51c054ec", name = "Remove top-level SDK imports (ai_client)" }
phase_4 = { status = "completed", checkpoint_sha = "3849d304", name = "Remove top-level FastAPI imports (app_controller)" }
phase_5 = { status = "pending", checkpoint_sha = "", name = "Remove top-level feature-gated GUI imports" }
phase_5 = { status = "in_progress", checkpoint_sha = "", name = "Remove top-level feature-gated GUI imports (5A, 5B, 5C, 5D)" }
phase_6 = { status = "pending", checkpoint_sha = "", name = "Migrate ad-hoc threads to _io_pool" }
phase_7 = { status = "pending", checkpoint_sha = "", name = "Warmup Notification (Hook API + GUI)" }
phase_8 = { status = "pending", checkpoint_sha = "", name = "Enforcement: runtime audit hook" }
@@ -47,18 +47,18 @@ t4_3 = { status = "completed", commit_sha = "3849d304", description = "No new br
t4_4 = { status = "completed", commit_sha = "3849d304", description = "Confirmed T4.1 tests PASS (4/4 green); T3.1 tests still pass (9/9, re-export works)" }
t4_5 = { status = "completed", commit_sha = "3849d304", description = "Committed: refactor(app_controller): remove top-level fastapi imports; lift _require_warmed to shared module" }
# Phase 5: Remove top-level feature-gated GUI imports
t5a_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_command_palette_no_top_level_import.py" }
t5a_2 = { status = "pending", commit_sha = "", description = "Green: remove from src/commands.py; use _require_warmed" }
t5a_3 = { status = "pending", commit_sha = "", description = "Fix existing test_command_palette.py" }
t5a_4 = { status = "pending", commit_sha = "", description = "Commit T5A" }
t5b_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_theme_nerv_no_top_level_import.py" }
t5b_2 = { status = "pending", commit_sha = "", description = "Green: remove from src/theme_2.py; use _require_warmed" }
t5b_3 = { status = "pending", commit_sha = "", description = "Fix existing test_theme_2.py + test_theme_nerv.py" }
t5b_4 = { status = "pending", commit_sha = "", description = "Commit T5B" }
t5c_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_markdown_helper_no_top_level_import.py" }
t5c_2 = { status = "pending", commit_sha = "", description = "Green: remove from src/markdown_helper.py; use _require_warmed" }
t5c_3 = { status = "pending", commit_sha = "", description = "Fix existing test_markdown_helper.py" }
t5c_4 = { status = "pending", commit_sha = "", description = "Commit T5C" }
t5a_1 = { status = "completed", commit_sha = "78d3a1db", description = "Red: tests/test_commands_no_top_level_command_palette.py (4 tests, 3 were FAILING)" }
t5a_2 = { status = "completed", commit_sha = "78d3a1db", description = "Green: refactored src/commands.py with _LazyCommandRegistry proxy that defers src.command_palette instantiation to first attribute access" }
t5a_3 = { status = "completed", commit_sha = "78d3a1db", description = "No fixes needed; 13 unit + 7 live_gui tests pass transparently with lazy proxy" }
t5a_4 = { status = "completed", commit_sha = "78d3a1db", description = "Committed T5A: refactor(commands): use lazy registry proxy" }
t5b_1 = { status = "completed", commit_sha = "69d098ba", description = "Red: tests/test_theme_2_no_top_level_nerv.py (4 tests, all FAILING)" }
t5b_2 = { status = "completed", commit_sha = "69d098ba", description = "Green: removed 3 top-level NERV imports + 3 module-level FX instantiations; added lookups in apply() NERV branch, ai_text_color(), render_post_fx()" }
t5b_3 = { status = "completed", commit_sha = "69d098ba", description = "No fixes needed; 21 theme tests pass" }
t5b_4 = { status = "completed", commit_sha = "69d098ba", description = "Committed T5B: refactor(theme_2): remove top-level NERV theme imports" }
t5c_1 = { status = "completed", commit_sha = "48c96499", description = "Red: tests/test_markdown_helper_no_top_level_table.py (3 tests, all FAILING)" }
t5c_2 = { status = "completed", commit_sha = "48c96499", description = "Green: removed top-level src.markdown_table import; added lookup in MarkdownRenderer.render()" }
t5c_3 = { status = "completed", commit_sha = "48c96499", description = "No fixes needed; 24 markdown tests pass" }
t5c_4 = { status = "completed", commit_sha = "48c96499", description = "Committed T5C: refactor(markdown_helper): remove top-level src.markdown_table import" }
t5d_1 = { status = "pending", commit_sha = "", description = "Run audit_gui2_imports.py and collect feature-gated list" }
t5d_2 = { status = "pending", commit_sha = "", description = "Apply same pattern per feature-gated import in src/gui_2.py; numpy in bg_shader" }
t5d_3 = { status = "pending", commit_sha = "", description = "Run full GUI test suite; fix" }