Commit Graph

5 Commits

Author SHA1 Message Date
af8cdc1d31 feat: add driving flag to relationship query responses
Add computed driving flag to all relationship queries (list_relationships,
get_predecessors, get_successors). A relationship is marked as driving when
the predecessor's early end date plus lag determines the successor's early
start date.

Changes:
- Add early_start_date and early_end_date columns to activities schema
- Parse early dates from TASK table in XER files
- Implement is_driving_relationship() helper with 24hr tolerance for
  calendar gaps
- Update all relationship queries to compute and return driving flag
- Add contract and unit tests for driving flag functionality
- Update spec, contracts, and documentation
2026-01-07 07:21:58 -05:00
2255b65ef6 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
2026-01-06 22:42:10 -05:00
2cd54118a1 docs: add implementation task list with 67 tasks
Task breakdown by user story:
- US1 Load XER File (P1): 17 tasks
- US2 Query Activities (P1): 10 tasks
- US3 Query Relationships (P2): 9 tasks
- US4 Query Summary (P3): 9 tasks

TDD mandated: test tasks precede implementation tasks.
Parallel opportunities identified for models, table handlers,
and concurrent user story development after US1.
2026-01-06 21:02:52 -05:00
d3474b0f8b docs: add implementation plan and clarify no-file-loaded errors
Plan artifacts:
- plan.md: Technical context, constitution check, project structure
- research.md: XER format, MCP SDK, SQLite schema decisions
- data-model.md: Entity definitions and database schema
- contracts/mcp-tools.json: MCP tool schemas (9 tools)
- quickstart.md: Usage guide with examples
- CLAUDE.md: Agent context file

Spec updates:
- Add FR-015: NO_FILE_LOADED error requirement
- Add acceptance scenarios for no-file-loaded errors to US3, US4
2026-01-06 20:57:55 -05:00
0170eb7fef docs: add project schedule tools feature specification
Feature spec for MCP tools to query XER schedule data:
- 4 user stories (load file, query activities, relationships, summary)
- 14 functional requirements including pagination (100 item default)
- Clarifications: P6 critical flags, multi-project selection, internal calendars
2026-01-06 19:58:42 -05:00