chore(conductor): Finalize track 'Robust JSON Parsing for Tech Lead' and cleanup static analysis

This commit is contained in:
2026-03-06 12:36:24 -05:00
parent dc1b0d0fd1
commit 84de6097e6
3 changed files with 9 additions and 10 deletions

View File

@@ -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)
- [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)

View File

@@ -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")

View File

@@ -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: