ed
1a739ecef5
conductor(spec+plan): phase2_4_5_call_site_completion_20260621 + code_path_audit pre-flight adjustments + Phase 3 analysis
PHASE 2/4/5 FOLLOW-UP TRACK (Tier 1 decided SHINK to 6a + 6b + 6d):
- Phase 6a: Fix HookServer.broadcast() callers (app_controller.py + events.py + gui_2.py)
Adds tests/test_websocket_broadcast_regression.py with no-TypeError assertion
- Phase 6b: Complete _send_grok/_send_minimax/_send_llama OpenAICompatibleRequest migration
- Phase 6d: Update those 3 senders' NormalizedResponse to use UsageStats
Total: ~16 atomic commits, ~3 hours Tier 2 work. Unblocks code_path_audit_20260607.
CODE_PATH_AUDIT_20260607 PRE-FLIGHT ADJUSTMENTS (per handoffs):
- Add 2 new actions: provider_history_append + websocket_broadcast
- Add 5 micro-benchmarks: NormalizedResponse.__init__, WebSocketMessage.__init__,
UsageStats.__init__, ProviderHistory.lock, ToolSpec.__init__
- Add no-TypeError-errors-on-any-thread assertion (backs test_websocket_broadcast_regression.py)
- Add 89 fat-struct sites from ANY_TYPE_AUDIT_20260621.md as instrumented targets
- BLOCKER: phase2_4_5_call_site_completion_20260621 (broadcast() TypeError)
PHASE 3 HYPOTHETICAL ANALYSIS (separate doc):
docs/reports/PHASE3_HYPOTHETICAL_PROMOTION.md - dataclass definitions (already on tier2 branch),
per-provider codepath catalog (112 sites), qualitative cost estimation (~+1-2ms per session,
~+8-15us per _send_anthropic turn). Input for the audit; the audit quantifies the cost.
REGISTRATION:
conductor/tracks.md updated: new row 27 (follow-up), new row 28 (parent any_type_componentization),
row 17 (code_path_audit) updated with pre-flight adjustments note.
Files:
- conductor/tracks/phase2_4_5_call_site_completion_20260621/spec.md (NEW; 633 lines)
- conductor/tracks/phase2_4_5_call_site_completion_20260621/plan.md (NEW; 7 phases, 23 tasks)
- conductor/tracks/phase2_4_5_call_site_completion_20260621/metadata.json (NEW; 8.8KB)
- conductor/tracks/phase2_4_5_call_site_completion_20260621/state.toml (NEW; 11.8KB)
- docs/reports/PHASE3_HYPOTHETICAL_PROMOTION.md (NEW; 380 lines; qualitative cost analysis)
- conductor/tracks/code_path_audit_20260607/spec.md (MODIFIED; +93 lines Pre-Flight Adjustments)
- conductor/tracks.md (MODIFIED; +35 lines: 3 new entries + 1 stale row fix)
2026-06-21 18:32:02 -04:00
..
2026-06-07 15:15:30 -04:00
2026-05-13 16:05:57 -04:00
2026-06-21 14:28:16 -04:00
2026-06-08 20:32:42 -04:00
2026-06-07 18:08:04 -04:00
2026-06-08 21:17:54 -04:00
2026-06-08 23:42:21 -04:00
2026-06-20 17:57:05 -04:00
2026-06-20 18:55:20 -04:00
2026-06-07 12:27:20 -04:00
2026-06-12 12:52:20 -04:00
2026-05-13 08:10:56 -04:00
2026-06-11 00:02:34 -04:00
2026-06-12 22:16:40 -04:00
2026-06-16 09:07:42 -04:00
2026-05-13 08:10:56 -04:00
2026-06-11 20:56:16 -04:00
2026-05-13 08:10:56 -04:00
2026-06-12 13:29:51 -04:00
2026-06-11 17:50:11 -04:00
2026-06-17 12:25:29 -04:00
2026-06-17 12:23:03 -04:00
2026-06-21 18:32:02 -04:00
2026-05-13 08:10:56 -04:00
2026-06-19 01:00:03 -04:00
2026-06-18 09:41:33 -04:00
2026-06-18 09:41:33 -04:00
2026-05-13 08:10:56 -04:00
2026-06-06 20:56:12 -04:00
2026-06-21 12:36:41 -04:00
2026-06-21 09:37:19 -04:00
2026-06-21 09:37:41 -04:00
2026-06-20 12:32:57 -04:00
2026-06-12 12:52:20 -04:00
2026-06-11 09:33:18 -04:00
2026-06-11 21:20:44 -04:00
2026-06-11 22:33:19 -04:00
2026-06-11 19:46:09 -04:00
2026-06-09 12:31:21 -04:00
2026-06-09 14:38:30 -04:00
2026-06-09 15:04:42 -04:00
2026-06-21 08:43:38 -04:00
2026-06-17 16:18:14 -04:00
2026-06-18 15:28:53 -04:00
2026-06-17 22:26:38 -04:00
2026-06-18 09:06:03 -04:00
2026-06-18 00:46:29 -04:00
2026-06-16 10:48:15 -04:00
2026-06-19 20:45:11 -04:00
2026-06-12 12:52:20 -04:00
2026-06-13 18:51:14 -04:00
2026-06-13 18:44:57 -04:00
2026-06-13 18:49:01 -04:00
2026-06-06 14:22:18 -04:00
2026-06-06 14:22:18 -04:00
2026-05-13 08:10:56 -04:00
2026-06-19 18:15:46 -04:00
2026-06-09 16:58:33 -04:00
2026-06-08 21:17:54 -04:00
2026-06-08 23:45:25 -04:00
2026-06-08 21:17:54 -04:00
2026-06-08 09:24:14 -04:00
2026-06-09 00:26:05 -04:00
2026-06-10 18:08:26 -04:00
2026-06-09 10:21:45 -04:00
2026-06-09 00:26:05 -04:00
2026-06-13 18:57:56 -04:00
2026-06-17 10:45:54 -04:00
2026-06-20 11:27:44 -04:00
2026-06-13 18:29:21 -04:00
2026-06-15 11:32:33 -04:00
2026-06-20 18:00:26 -04:00
2026-06-21 13:03:07 -04:00
2026-06-15 14:57:08 -04:00
2026-06-18 15:36:01 -04:00
2026-06-20 12:33:55 -04:00
2026-06-15 21:28:29 -04:00
2026-06-16 00:36:24 -04:00
2026-06-19 19:35:52 -04:00
2026-06-20 17:17:06 -04:00
2026-06-21 09:10:18 -04:00
2026-06-20 02:51:05 -04:00
2026-06-17 17:01:19 -04:00
2026-06-18 15:28:53 -04:00
2026-06-17 10:45:54 -04:00
2026-06-19 14:29:19 -04:00
2026-06-16 23:29:00 -04:00
2026-06-20 07:46:10 -04:00
2026-06-18 18:30:11 -04:00
2026-06-17 16:35:44 -04:00
2026-06-07 12:27:20 -04:00
2026-06-21 15:44:06 -04:00
2026-06-21 16:28:24 -04:00
2026-06-21 17:16:05 -04:00
2026-06-21 16:46:19 -04:00
2026-06-10 21:25:56 -04:00