Skip to content

feat: add export_report tool for timeline markdown reports#104

Closed
TerminalGravity wants to merge 1 commit intomainfrom
feat/export-timeline-report
Closed

feat: add export_report tool for timeline markdown reports#104
TerminalGravity wants to merge 1 commit intomainfrom
feat/export-timeline-report

Conversation

@TerminalGravity
Copy link
Collaborator

Closes #5

Adds export_report MCP tool with two report formats:

  • weekly: 7-day summary with commits, correction rates, error highlights, daily activity breakdown
  • activity: custom date range with event type breakdown, tool usage stats, ASCII heatmap

Supports save: true to persist reports to ~/.preflight/reports/. All search scopes work (current/related/all).

4 tests added and passing.

Implements #5. Adds a new export_report MCP tool that generates:
- Weekly summaries with commit lists, correction rates, and daily breakdowns
- Activity reports with event breakdowns, tool usage stats, and heatmaps

Supports saving reports to ~/.preflight/reports/ and all existing
search scopes (current/related/all).

Includes test suite with 4 tests covering registration, empty state,
weekly report generation, and activity report heatmap output.
@TerminalGravity
Copy link
Collaborator Author

Closing — superseded by #108 which has the more complete export_report implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export timeline to markdown/PDF reports

1 participant