diff --git a/conductor/tracks/robust_json_parsing_tech_lead_20260302/plan.md b/conductor/tracks/robust_json_parsing_tech_lead_20260302/plan.md index 772b018..a9a5330 100644 --- a/conductor/tracks/robust_json_parsing_tech_lead_20260302/plan.md +++ b/conductor/tracks/robust_json_parsing_tech_lead_20260302/plan.md @@ -20,9 +20,9 @@ - [x] Task: Conductor - User Manual Verification 'Phase 2: Unit Testing' (Protocol in workflow.md) ## Phase 3: Final Validation -- [ ] Task: Full Suite Validation & Warning Cleanup - - [ ] WHERE: Project root - - [ ] WHAT: `uv run pytest tests/test_conductor_tech_lead.py` - - [ ] HOW: Ensure 100% pass rate. - - [ ] SAFETY: None. -- [ ] Task: Conductor - User Manual Verification 'Phase 3: Final Validation' (Protocol in workflow.md) \ No newline at end of file +- [x] Task: Full Suite Validation & Warning Cleanup + - [x] WHERE: Project root + - [x] WHAT: `uv run pytest tests/test_conductor_tech_lead.py` + - [x] HOW: Ensure 100% pass rate. + - [x] SAFETY: None. +- [x] Task: Conductor - User Manual Verification 'Phase 3: Final Validation' (Protocol in workflow.md) \ No newline at end of file diff --git a/scripts/update_paths.py b/scripts/update_paths.py index 5e5a40b..84a8b41 100644 --- a/scripts/update_paths.py +++ b/scripts/update_paths.py @@ -1,9 +1,9 @@ import os import glob -pattern = 'sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) -sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))' -replacement = pattern + '\nsys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))' +# Correcting the pattern definition to be syntactically valid +pattern = "sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\")))" +replacement = pattern + "\nsys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\", \"src\")))" # Files to update files = glob.glob("tests/*.py") + glob.glob("simulation/*.py") + glob.glob("scripts/*.py") diff --git a/src/ai_client.py b/src/ai_client.py index 89e05bb..36a917a 100644 --- a/src/ai_client.py +++ b/src/ai_client.py @@ -814,7 +814,6 @@ def _send_gemini_cli(md_content: str, user_message: str, base_dir: str, qa_callback: Optional[Callable[[str], str]] = None, stream_callback: Optional[Callable[[str], None]] = None) -> str: global _gemini_cli_adapter - import sys sys.stderr.write(f"[DEBUG] _send_gemini_cli running in module {__name__}, adapter is {_gemini_cli_adapter}\n") sys.stderr.flush() try: