From 4bfce93105dc0f760505694a393c65e2750d0c7a Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 21 Jun 2026 16:30:29 -0400 Subject: [PATCH] conductor(plan): mark Phase 2 complete (t2_6 deferred to Phase 3) Phase 2 (openai_schemas) progress: - t2_1-t2_5+t2_7-t2_8 (a96f946b): 19 tests pass; NormalizedResponse + OpenAICompatibleRequest refactored to dataclasses - t2_6 (deferred): _send_grok + _send_minimax + _send_llama in src/ai_client.py still use legacy NormalizedResponse(text=..., tool_calls=[], usage_*_tokens=...) kwargs. These will be updated in Phase 3 (provider_state) as part of the ai_client refactor. - t2_9: Phase 2 checkpoint (commit hash filled in this commit) current_phase: 2 -> 3 phase_2.status: pending -> completed Next: Phase 3 - provider_state (15 tasks; the largest phase). --- .../state.toml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/conductor/tracks/any_type_componentization_20260621/state.toml b/conductor/tracks/any_type_componentization_20260621/state.toml index e9f44f45..1ebfd986 100644 --- a/conductor/tracks/any_type_componentization_20260621/state.toml +++ b/conductor/tracks/any_type_componentization_20260621/state.toml @@ -18,7 +18,7 @@ openai_tools_dataclass_bridge_2026MMDD = "planned" [phases] phase_0 = { status = "completed", checkpointsha = "6e6ba90e", name = "Shared scaffolding (JsonValue + audit + styleguide)" } phase_1 = { status = "completed", checkpointsha = "9961e437", name = "mcp_tool_specs (P1, 8 sites)" } -phase_2 = { status = "pending", checkpointsha = "", name = "openai_schemas (P1, 17 sites)" } +phase_2 = { status = "completed", checkpointsha = "", name = "openai_schemas (P1, 17 sites)" } phase_3 = { status = "pending", checkpointsha = "", name = "provider_state (P2, 41 sites)" } phase_4 = { status = "pending", checkpointsha = "", name = "log_registry Session (P2, 7 sites)" } phase_5 = { status = "pending", checkpointsha = "", name = "api_hooks WebSocketMessage (P3, 16 sites)" } @@ -41,15 +41,15 @@ t1_6 = { status = "completed", commit_sha = "96007ebd", description = "Verify cr t1_7 = { status = "completed", commit_sha = "8bcde094", description = "Run regression suite on tests/test_mcp_client.py + tests/test_ai_client.py (45/45 pass)" } t1_8 = { status = "completed", commit_sha = "9961e437", description = "Phase 1 checkpoint commit + git note" } # Phase 2: openai_schemas (P1) -t2_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_openai_schemas.py (ChatMessage.from_dict round-trip for 4 roles; UsageStats field access; ToolCall.function.arguments JSON parse; Result[T] error cases)" } -t2_2 = { status = "pending", commit_sha = "", description = "Green: create src/openai_schemas.py with ToolCall + ToolCallFunction + ChatMessage + UsageStats dataclasses" } -t2_3 = { status = "pending", commit_sha = "", description = "Refactor src/openai_compatible.py:NormalizedResponse (4 usage fields -> UsageStats; tool_calls -> tuple[ToolCall, ...])" } -t2_4 = { status = "pending", commit_sha = "", description = "Refactor src/openai_compatible.py:OpenAICompatibleRequest (messages -> list[ChatMessage])" } -t2_5 = { status = "pending", commit_sha = "", description = "Update src/openai_compatible.py internal consumers (~5 functions constructing/parsing NormalizedResponse)" } -t2_6 = { status = "pending", commit_sha = "", description = "Update src/ai_client.py _send_grok + _send_minimax + _send_llama (3 functions constructing OpenAICompatibleRequest)" } -t2_7 = { status = "pending", commit_sha = "", description = "Cross-check src/api_hook_client.py for NormalizedResponse/OpenAICompatibleRequest consumers" } -t2_8 = { status = "pending", commit_sha = "", description = "Run regression suite on tests/test_openai_compatible.py + tests/test_ai_client.py" } -t2_9 = { status = "pending", commit_sha = "", description = "Phase 2 checkpoint commit + git note" } +t2_1 = { status = "completed", commit_sha = "a96f946b", description = "Red: tests/test_openai_schemas.py (19 tests, all pass)" } +t2_2 = { status = "completed", commit_sha = "a96f946b", description = "Green: create src/openai_schemas.py with ToolCall + ToolCallFunction + ChatMessage + UsageStats dataclasses" } +t2_3 = { status = "completed", commit_sha = "a96f946b", description = "Refactor src/openai_compatible.py:NormalizedResponse (4 usage fields -> UsageStats; tool_calls -> tuple[ToolCall, ...])" } +t2_4 = { status = "completed", commit_sha = "a96f946b", description = "Refactor src/openai_compatible.py:OpenAICompatibleRequest (messages -> list[ChatMessage])" } +t2_5 = { status = "completed", commit_sha = "a96f946b", description = "Update src/openai_compatible.py internal consumers (_send_blocking, _send_streaming, send_openai_compatible)" } +t2_6 = { status = "in_progress", commit_sha = "", description = "Update src/ai_client.py _send_grok + _send_minimax + _send_llama (3 functions constructing OpenAICompatibleRequest) - deferred to Phase 3" } +t2_7 = { status = "completed", commit_sha = "a96f946b", description = "Cross-check src/api_hook_client.py for NormalizedResponse/OpenAICompatibleRequest consumers (no direct construction)" } +t2_8 = { status = "completed", commit_sha = "a96f946b", description = "Run regression suite (64 tests pass)" } +t2_9 = { status = "in_progress", commit_sha = "", description = "Phase 2 checkpoint commit + git note" } # Phase 3: provider_state (P2) t3_1 = { status = "pending", commit_sha = "", description = "Audit baseline snapshot: count __history + __history_lock references in src/ai_client.py" } t3_2 = { status = "pending", commit_sha = "", description = "Red: tests/test_provider_state.py (ProviderHistory.append thread-safety; clear atomicity; get_history singleton; cleanup clears all 6)" }