feat: add data_date to project summary response

Include the schedule data date (last_recalc_date from XER) in the
get_project_summary tool response. This shows when the schedule
was last calculated in P6.

Changes:
- Add last_recalc_date column to projects table schema
- Parse last_recalc_date in PROJECT table handler
- Include last_recalc_date in db loader
- Return data_date field in get_project_summary query
- Update contract test to verify data_date presence
This commit is contained in:
2026-01-06 22:42:10 -05:00
parent 8fc2a87607
commit 2255b65ef6
6 changed files with 11 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ class TestGetProjectSummaryContract:
result = await get_project_summary()
assert "project_name" in result
assert "data_date" in result
assert "plan_start_date" in result
assert "plan_end_date" in result
assert "activity_count" in result