feat: add export_timeline tool for markdown reports - #268
Open
TerminalGravity wants to merge 2 commits into
Open
feat: add export_timeline tool for markdown reports#268TerminalGravity wants to merge 2 commits into
TerminalGravity wants to merge 2 commits into
Conversation
Adds a new export_report MCP tool that generates markdown summary reports from session timeline data. Supports daily and weekly aggregation with: - Event statistics (prompts, corrections, commits, errors, etc.) - Correction rate trends over time - Per-period breakdowns with commit and error highlights - Optional save to ~/.preflight/reports/ Closes #5
TerminalGravity
force-pushed
the
feat/export-timeline-report
branch
from
March 17, 2026 15:08
0d4d642 to
3cad081
Compare
- preflight-dev --help shows usage, quick start, and one-liner setup - preflight-dev --version prints package version - preflight-dev status checks .mcp.json, .preflight/ dir, and env vars - Updated README with CLI commands section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5
Adds
export_timeline— a new tool that generates markdown reports from timeline data.What it does:
7days,2weeks, etc.)save: trueto write report to~/.preflight/reports/Usage:
Builds clean, registered in tool registry alongside the existing 24 tools.