conductor: finalize startup_speedup_20260606 docs (sub-track 1 + 3 post-shipping fixes)

This commit is contained in:
ed
2026-06-06 20:45:58 -04:00
parent cf01870b35
commit bb2ac6c9c0
3 changed files with 147 additions and 46 deletions
+5 -3
View File
@@ -149,11 +149,13 @@ User review surfaced five outstanding UI issues, each previously attempted witho
## Remaining Backlog (Phases 3 & 4)
0. [x] **Track: Sloppy.py Startup Speedup** `[track-created: cd4fb045] [COMPLETE 2026-06-07]`
0. [x] **Track: Sloppy.py Startup Speedup** `[track-created: cd4fb045] [phase-1-2-done: f9a01258] [phase-3-done: 51c054ec] [phase-4-done: 3849d304] [phase-5a-done: 78d3a1db] [phase-5b-done: 69d098ba] [phase-5c-done: 48c96499] [phase-5d-done: de6b85d2] [phase-5-done: 515a3029] [phase-6-partial-done: 85d18885] [sub-track-1-done: 253e1798] [post-shipping-fix-1: 8c4791d0] [post-shipping-fix-2: 88fc42bb] [post-shipping-fix-3: 52ea2693] [COMPLETE 2026-06-07]`
*Link: [./tracks/startup_speedup_20260606/](./tracks/startup_speedup_20260606/), Spec: [./tracks/startup_speedup_20260606/spec.md](./tracks/startup_speedup_20260606/spec.md), Plan: [./tracks/startup_speedup_20260606/plan.md](./tracks/startup_speedup_20260606/plan.md)*
*Goal: Reduce sloppy.py startup time. Main Thread Purity Invariant. 9 phases, 57 tasks. 50 tests added (all passing). 7 main thread purity tests enforce invariant for 6 refactored files.*
*Goal: Reduce sloppy.py startup time. Main Thread Purity Invariant. 9 phases, 57 tasks. 44 TDD tests added (all passing). 7 main thread purity tests enforce invariant for 6 refactored files.*
*Final measured: import src.ai_client 161ms (was 1800ms; 91% reduction / 1638ms saved). import src.gui_2 341ms (was 1770ms; 81% reduction / 1429ms saved). Total ~3067ms saved on the 2 big files. 63 audit violations remain (was 67 baseline) - all 6 refactored files contribute 0 new violations.*
*Phases 3-8 complete; Phase 9 in progress. 4 follow-up sub-tracks identified: (1) complete ad-hoc thread migration to _io_pool, (2) migrate remaining audit violations in src/models.py + sloppy.py, (3) add dedicated /api/warmup_status + /api/warmup_wait endpoints, (4) GUI status bar + completion toast.*
*Sub-track 1 (Phase 6 full completion) at 253e1798: 15 ad-hoc threading.Thread() call sites migrated to self.submit_io(...); ZERO new threading.Thread() in src/; only 5 domain-specific exempt sites remain (HookServer HTTP/WS, asyncio loop, WorkerPool, CPU monitor).*
*3 post-shipping bugfix commits: 8c4791d0 (real bug: _ensure_gemini_client UnboundLocalError + test_discussion_compression deepseek mock adaptation); 88fc42bb (spec convention: 7 sites in src/ai_client.py use _require_warmed('google.genai') + .types parent lookup instead of leaf); 52ea2693 (conftest: use AppController.wait_for_warmup(timeout=60.0) instead of direct import google.genai — user-corrected jank workaround).*
*Pre-existing test failures (unrelated, user will address): test_api_generate_blocked_while_stale (ui_global_preset_name AttributeError); test_rag_large_codebase_verification_sim (RAG retrieval). 4 follow-up sub-tracks remain: (1) migrate remaining audit violations in src/models.py + sloppy.py, (2) add dedicated /api/warmup_status + /api/warmup_wait endpoints, (3) GUI status bar + completion toast.*
0c. [~] **Track: Test Batching Refactor** `[track-created: b7a97374]`
*Link: [./tracks/test_batching_refactor_20260606/](./tracks/test_batching_refactor_20260606/), Spec: [./tracks/test_batching_refactor_20260606/spec.md](./tracks/test_batching_refactor_20260606/spec.md), Plan: [./tracks/test_batching_refactor_20260606/plan.md](./tracks/test_batching_refactor_20260606/plan.md) (to be authored by writing-plans skill)*