feat(context): Integrate view modes into aggregate pipeline

This commit is contained in:
2026-05-11 15:17:00 -04:00
parent 2c020e7587
commit 4dc801ec69
3 changed files with 165 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import pytest
from pathlib import Path
from src.app_controller import AppController
from src.models import FileItem
@@ -35,7 +36,7 @@ def test_do_generate_uses_context_files(monkeypatch):
def mock_aggregate_run(flat, **kwargs):
assert flat["files"]["paths"] == controller.context_files
return ("md", "path", [], "stable_md", "disc_text")
return ("md", Path("path"), [])
monkeypatch.setattr(pm, "flat_config", mock_flat_config)
monkeypatch.setattr(pm, "save_project", lambda *args: None)