conductor(plan): Record Phase 3 checkpoint SHA + mark T3.6 complete
This commit is contained in:
@@ -53,11 +53,11 @@ swaps to `_require_warmed(name)`.
|
||||
- [x] **T3.3** Run existing `tests/test_ai_client.py` + `tests/test_tier4_*.py`; fix breakage. 2 tests in `test_tier4_patch_generation.py` adapted: `patch('src.ai_client.types')` -> `patch('src.ai_client._require_warmed', return_value=mock_types)` (the new public mechanism). All 25 tests pass. `[T3.3: 51c054ec]`
|
||||
- [x] **T3.4** Re-run T3.1 tests, confirm PASS (9/9 green). `[T3.4: 51c054ec]`
|
||||
- [x] **T3.5** Commit: `refactor(ai_client): remove top-level SDK imports; use _require_warmed` + git note. `[T3.5: 51c054ec]`
|
||||
- [x] **T3.6** Update `conductor/tracks.md` T3 row with SHA. `[T3.6: <next-commit>]`
|
||||
- [x] **T3.6** Update `conductor/tracks.md` T3 row with SHA. `[T3.6: 8905c26b]`
|
||||
|
||||
**Phase 3 status:** All tasks complete. `import src.ai_client` no longer triggers any heavy SDK import. When run inside an `AppController` whose warmup has completed, `_send_*` functions find the SDKs in `sys.modules` and execute instantly. Cold-start baseline (T9.1) will measure the time saved.
|
||||
|
||||
**Phase 3 checkpoint (target):** `import src.ai_client` < 50ms cold.
|
||||
**Phase 3 checkpoint (target):** `import src.ai_client` < 50ms cold. [checkpoint: 056358f2]
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ t3_2 = { status = "completed", commit_sha = "51c054ec", description = "Green: re
|
||||
t3_3 = { status = "completed", commit_sha = "51c054ec", description = "Fixed existing test_tier4_patch_generation.py breakage (2 tests adapted to mock _require_warmed instead of types)" }
|
||||
t3_4 = { status = "completed", commit_sha = "51c054ec", description = "Confirmed T3.1 tests turn PASS (9/9 green)" }
|
||||
t3_5 = { status = "completed", commit_sha = "51c054ec", description = "Committed T3 refactor: refactor(ai_client): remove top-level SDK imports; use _require_warmed" }
|
||||
t3_6 = { status = "in_progress", commit_sha = "", description = "Update tracks.md T3 row (in this commit)" }
|
||||
t3_6 = { status = "completed", commit_sha = "8905c26b", description = "Updated tracks.md T3 row with [phase-3-done: 51c054ec] tag" }
|
||||
# Phase 4: Remove top-level FastAPI imports
|
||||
t4_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_hook_server_no_top_level_fastapi.py" }
|
||||
t4_2 = { status = "pending", commit_sha = "", description = "Green: remove fastapi imports from src/api_hooks.py; use _require_warmed" }
|
||||
|
||||
Reference in New Issue
Block a user