diff --git a/docs/agentic/dependency-phase-report.json b/docs/agentic/dependency-phase-report.json index 3f9b01547..51d90419f 100644 --- a/docs/agentic/dependency-phase-report.json +++ b/docs/agentic/dependency-phase-report.json @@ -41,7 +41,7 @@ } ], "plan_id": "gantt-dependency-phases", - "plan_sha256": "3d564bcdc6845bff249030ad73eb57ab6901d0a7c01e96a12ccde5f514ecd4b7", + "plan_sha256": "8b0125769b8efab1fdef44eddeb0bdeab5ed7a4fd4a48ea6941fd964b892a861", "topological_order": [ "DPH-000", "DPH-100", diff --git a/tests/agentic/test_gantt_projection.py b/tests/agentic/test_gantt_projection.py index e63528ba3..56a97a452 100644 --- a/tests/agentic/test_gantt_projection.py +++ b/tests/agentic/test_gantt_projection.py @@ -43,8 +43,10 @@ def test_mermaid_projection_is_derived(self): self.assertIn("crit", text) def test_mermaid_collapses_title_whitespace(self): - result = project({**PLAN, "phases": [{**PLAN["phases"][0], "title": "line one\nline two"}]}) - self.assertIn("line one line two", render_mermaid_gantt({**result, "schedule_mode": "dependency-derived"})) + phases = [{**phase} for phase in PLAN["phases"]] + phases[0] = {**phases[0], "title": "line one\nline two"} + result = project({**PLAN, "phases": phases}, start_date=date(2026, 9, 22)) + self.assertIn("line one line two", render_mermaid_gantt(result)) def test_valid_report_projects_evaluation_state(self): result = project(PLAN, report=REPORT)