wip fixing regressions, removing hardcoded paths

This commit is contained in:
2026-03-06 19:24:08 -05:00
parent cb1440d61c
commit f439b5c525
5 changed files with 43 additions and 53 deletions

View File

@@ -113,10 +113,15 @@ def generate_tracks(user_request: str, project_config: dict[str, Any], file_item
if __name__ == "__main__":
# Quick CLI test
import project_manager
proj = project_manager.load_project("manual_slop.toml")
flat = project_manager.flat_config(proj)
file_items = aggregate.build_file_items(Path("."), flat.get("files", {}).get("paths", []))
print("Testing Tier 1 Track Generation...")
history = get_track_history_summary()
tracks = generate_tracks("Implement a basic unit test for the ai_client.py module.", flat, file_items, history_summary=history)
print(json.dumps(tracks, indent=2))
from src import aggregate
test_project = Path("manual_slop.toml")
if not test_project.exists():
print(f"Error: {test_project} not found for testing.")
else:
proj = project_manager.load_project(str(test_project))
flat = project_manager.flat_config(proj)
file_items = aggregate.build_file_items(Path("."), flat.get("files", {}).get("paths", []))
print("Testing Tier 1 Track Generation...")
history = get_track_history_summary()
tracks = generate_tracks("Implement a basic unit test for the ai_client.py module.", flat, file_items, history_summary=history)
print(json.dumps(tracks, indent=2))