chore(conductor): Finalize track 'Robust JSON Parsing for Tech Lead' and cleanup static analysis
This commit is contained in:
@@ -20,9 +20,9 @@
|
|||||||
- [x] Task: Conductor - User Manual Verification 'Phase 2: Unit Testing' (Protocol in workflow.md)
|
- [x] Task: Conductor - User Manual Verification 'Phase 2: Unit Testing' (Protocol in workflow.md)
|
||||||
|
|
||||||
## Phase 3: Final Validation
|
## Phase 3: Final Validation
|
||||||
- [ ] Task: Full Suite Validation & Warning Cleanup
|
- [x] Task: Full Suite Validation & Warning Cleanup
|
||||||
- [ ] WHERE: Project root
|
- [x] WHERE: Project root
|
||||||
- [ ] WHAT: `uv run pytest tests/test_conductor_tech_lead.py`
|
- [x] WHAT: `uv run pytest tests/test_conductor_tech_lead.py`
|
||||||
- [ ] HOW: Ensure 100% pass rate.
|
- [x] HOW: Ensure 100% pass rate.
|
||||||
- [ ] SAFETY: None.
|
- [x] SAFETY: None.
|
||||||
- [ ] Task: Conductor - User Manual Verification 'Phase 3: Final Validation' (Protocol in workflow.md)
|
- [x] Task: Conductor - User Manual Verification 'Phase 3: Final Validation' (Protocol in workflow.md)
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|
||||||
pattern = 'sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
# Correcting the pattern definition to be syntactically valid
|
||||||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))'
|
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")))'
|
replacement = pattern + "\nsys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\", \"src\")))"
|
||||||
|
|
||||||
# Files to update
|
# Files to update
|
||||||
files = glob.glob("tests/*.py") + glob.glob("simulation/*.py") + glob.glob("scripts/*.py")
|
files = glob.glob("tests/*.py") + glob.glob("simulation/*.py") + glob.glob("scripts/*.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,
|
qa_callback: Optional[Callable[[str], str]] = None,
|
||||||
stream_callback: Optional[Callable[[str], None]] = None) -> str:
|
stream_callback: Optional[Callable[[str], None]] = None) -> str:
|
||||||
global _gemini_cli_adapter
|
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.write(f"[DEBUG] _send_gemini_cli running in module {__name__}, adapter is {_gemini_cli_adapter}\n")
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user