Skip to content

feat: save summaries to date-organized folders#1

Open
4444J99 wants to merge 1 commit intom13v:mainfrom
4444J99:feat/date-organized-summaries
Open

feat: save summaries to date-organized folders#1
4444J99 wants to merge 1 commit intom13v:mainfrom
4444J99:feat/date-organized-summaries

Conversation

@4444J99
Copy link

@4444J99 4444J99 commented Mar 23, 2026

Summary

Summaries are now saved to data/summaries/YYYY-MM-DD/summary-HHMMSS.md in addition to the root git_commit_summaries.md.

  • Each run produces a timestamped file: data/summaries/2026-03-23/summary-143052.md
  • Root file still gets overwritten for backward compatibility
  • Date header added to summary markdown (# Git Commit Summaries — 2026-03-23)
  • Prints the dated file path on completion

Motivation

Addresses the TODO item: "Save summaries to a folder by dates." This also lays groundwork for the #1 priority feature (auto-trigger daily) — daily summaries need a place to accumulate without overwriting each other.

Changes

  • Cargo.toml: added chrono = "0.4" for date formatting
  • src/main.rs: date-organized output directory, dual-write to both files

cargo check passes clean.

TODO Items Addressed

  • Save summaries to a folder by dates

Summaries are now saved to data/summaries/YYYY-MM-DD/summary-HHMMSS.md
in addition to the root git_commit_summaries.md (backward compatible).
Each run produces a timestamped file, building a history of daily
summaries that supports the planned auto-trigger feature.

Adds chrono dependency for date formatting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant