Skip to content

feat: add export_report tool for markdown session reports#108

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

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

Conversation

@TerminalGravity
Copy link
Collaborator

@TerminalGravity TerminalGravity commented Mar 5, 2026

Closes #5

Adds a new export_report MCP tool that generates structured markdown reports from timeline data.

Sections:

  • Summary — total events, active days, breakdown by event type
  • Daily Activity — events per day with type breakdown
  • Commits — chronological commit log with hash, message, author
  • Corrections — logged corrections for retrospective review
  • Prompt Quality — scored prompt stats, best/weakest prompts

Parameters:

  • period: today, yesterday, week, month
  • since/until: custom date range overrides
  • scope: current, related, or all projects
  • sections: pick which sections to include

Compiles clean, follows existing patterns.

Copy link
Collaborator Author

@TerminalGravity TerminalGravity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and #107 both close #5 with similar export_* tools. #108 looks more complete (visual bar charts, correction tracking). Recommend closing #107 in favor of this one, or merging the best parts of both into a single PR to avoid conflicts.

Also — #104 (feat/export-timeline-report) looks like yet another variant. Might want to consolidate all three.

Copy link
Collaborator Author

@TerminalGravity TerminalGravity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Between #104, #107, and this PR, this one is the most complete — visual bar charts, correction tracking, multiple report formats. Recommend consolidating here: close #104 and #107, cherry-pick anything unique from them into this branch, and merge one clean export_report tool.

@TerminalGravity
Copy link
Collaborator Author

CI is failing on this one (Node 20 build failure, Node 22 cancelled). Worth investigating before we consolidate #104 and #107 into this branch. Can you check the build log and push a fix?

@TerminalGravity TerminalGravity force-pushed the feat/export-report branch 2 times, most recently from 8427080 to 603afa8 Compare March 6, 2026 16:15
@TerminalGravity TerminalGravity changed the title feat: add export_report tool for markdown session reports feat: add export_report tool (closes #5) Mar 6, 2026
@TerminalGravity TerminalGravity changed the title feat: add export_report tool (closes #5) feat: add export_report tool for markdown session reports Mar 7, 2026
Implements #5 — generates structured markdown reports from timeline data.
Includes summary stats, daily activity breakdown, commit log, corrections
review, and prompt quality trends. Supports configurable periods (today,
yesterday, week, month) and section selection.
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