conductor(checkpoint): Phase 1 complete - foundation + styleguide
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
track_id = "data_oriented_error_handling_20260606"
|
||||
name = "Data-Oriented Error Handling (Fleury Pattern)"
|
||||
status = "active"
|
||||
current_phase = 0
|
||||
last_updated = "2026-06-06"
|
||||
current_phase = 1
|
||||
last_updated = "2026-06-12"
|
||||
|
||||
[blocked_by]
|
||||
startup_speedup_20260606 = "merged"
|
||||
@@ -18,7 +18,7 @@ public_api_migration_20260606 = "planned in spec §12.1"
|
||||
|
||||
[phases]
|
||||
# Phase 1: Foundation (no user-facing changes; sets up the convention)
|
||||
phase_1 = { status = "pending", checkpoint_sha = "", name = "Foundation: result_types module + style guide + baseline check" }
|
||||
phase_1 = { status = "completed", checkpoint_sha = "c5f2487f", name = "Foundation: result_types module + style guide + baseline check" }
|
||||
# Phase 2: mcp_client.py refactor
|
||||
phase_2 = { status = "pending", checkpoint_sha = "", name = "mcp_client.py refactor (Result + nil-sentinel)" }
|
||||
# Phase 3: ai_client.py refactor (highest risk; ProviderError removal)
|
||||
@@ -30,14 +30,14 @@ phase_5 = { status = "pending", checkpoint_sha = "", name = "Deprecation wiring
|
||||
|
||||
[tasks]
|
||||
# Phase 1: Foundation
|
||||
t1_1 = { status = "pending", commit_sha = "", description = "Baseline verification: confirm startup_speedup, test_batching_refactor, qwen_llama_grok tracks merged; vendor_capabilities.py, openai_compatible.py, qwen_adapter.py exist" }
|
||||
t1_2 = { status = "pending", commit_sha = "", description = "Add typing_extensions>=4.5.0,<5.0.0 to pyproject.toml dependencies" }
|
||||
t1_3 = { status = "pending", commit_sha = "", description = "Red: tests/test_result_types.py (8+ tests: Result construction, with_error, with_data, NilPath, ErrorKind, frozen semantics)" }
|
||||
t1_4 = { status = "pending", commit_sha = "", description = "Green: implement src/result_types.py with ErrorKind, ErrorInfo, Result[T], NilPath, NilRAGState" }
|
||||
t1_5 = { status = "pending", commit_sha = "", description = "Create conductor/code_styleguides/error_handling.md (canonical reference; ~400 lines covering the 5 patterns + Python mappings + decision tree + examples)" }
|
||||
t1_6 = { status = "pending", commit_sha = "", description = "Add 'Data-Oriented Error Handling' section to conductor/product-guidelines.md (referencing the new styleguide)" }
|
||||
t1_7 = { status = "pending", commit_sha = "", description = "Add note to conductor/workflow.md Code Style section referencing the new styleguide" }
|
||||
t1_8 = { status = "pending", commit_sha = "", description = "Verify src/result_types.py is import-time-safe (< 50ms; passes scripts/audit_main_thread_imports.py)" }
|
||||
t1_1 = { status = "completed", commit_sha = "ca4d837b", description = "Baseline verification: confirm startup_speedup, test_batching_refactor, qwen_llama_grok tracks merged; vendor_capabilities.py, openai_compatible.py, qwen_adapter.py exist" }
|
||||
t1_2 = { status = "completed", commit_sha = "7c301f05", description = "Add typing_extensions>=4.5.0,<5.0.0 to pyproject.toml dependencies" }
|
||||
t1_3 = { status = "completed", commit_sha = "7ccf8354", description = "Red: tests/test_result_types.py (11 tests: Result construction, with_error, with_data, with_errors, NilPath, NilRAGState, ErrorKind, frozen semantics)" }
|
||||
t1_4 = { status = "completed", commit_sha = "46089e36", description = "Green: implement src/result_types.py with ErrorKind, ErrorInfo, Result[T], NilPath, NilRAGState" }
|
||||
t1_5 = { status = "completed", commit_sha = "e92003d3", description = "Surgical delta on pre-existing error_handling.md (created 2026-06-11 by 85cf3fbd): add 2 See Also cross-references from the 2026-06-12 doc sync (data_oriented_design.md, agent_memory_dimensions.md)" }
|
||||
t1_6 = { status = "completed", commit_sha = "230653ee", description = "Pre-existing 'Data-Oriented Error Handling' section in conductor/product-guidelines.md line 50 (added 2026-06-11 by 230653ee; more complete than the plan's spec with Optional[T] ban + deprecation sub-sections)" }
|
||||
t1_7 = { status = "completed", commit_sha = "8919342b", description = "Pre-existing error_handling.md link in conductor/workflow.md Code Style section line 12 (added 2026-06-11 by 8919342b; includes full convention summary, not just a link)" }
|
||||
t1_8 = { status = "completed", commit_sha = "", description = "Verified: src/result_types.py import time 20.21ms (< 50ms); passes scripts/audit_main_thread_imports.py (15 files in import graph; no heavy imports)" }
|
||||
t1_9 = { status = "pending", commit_sha = "", description = "Phase 1 checkpoint commit + git note" }
|
||||
# Phase 2: mcp_client.py refactor
|
||||
t2_1 = { status = "pending", commit_sha = "", description = "Red: tests/test_mcp_client_paths.py (verify _resolve_and_check returns Result; verify read_file returns Result[str])" }
|
||||
|
||||
Reference in New Issue
Block a user