From 4ac8b2116c123964cf4a5a6ad5f8497c8e5cab09 Mon Sep 17 00:00:00 2001 From: "Founders' are 'found' to implement." Date: Wed, 23 Sep 2026 01:13:20 -0700 Subject: [PATCH] =?UTF-8?q?fix(agentic):=20gantt=20post-merge=20verify=20?= =?UTF-8?q?=E2=80=94=20report=20SHA=20+=20mermaid=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Refresh dependency-phase-report.json plan_sha256 to live plan digest - Mermaid whitespace test: full phase set + start_date - 9/9 pytest green; CLI json/mermaid/report paths verified --- docs/agentic/dependency-phase-report.json | 2 +- tests/agentic/test_gantt_projection.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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)