Skip to content

Add --since and --until flags to mine local command#6

Open
bk-simon wants to merge 1 commit intopsreek-ai:claude/ai-agent-product-design-ITnoQfrom
bk-simon:add-date-range-filters
Open

Add --since and --until flags to mine local command#6
bk-simon wants to merge 1 commit intopsreek-ai:claude/ai-agent-product-design-ITnoQfrom
bk-simon:add-date-range-filters

Conversation

@bk-simon
Copy link

Adds date range filtering to the contextweaver mine local command, allowing users to mine only a specific date range of git history.

Changes

  • Added --since and --until CLI options to the mine local command
  • Updated orchestrator to pass date filters through to the mining agent
  • Implemented date filtering logic in mine_local_git() method
  • Dates can be provided in ISO format or YYYY-MM-DD format

Usage

# Mine commits from the last month
contextweaver mine local ./my-repo --since 2026-01-20

# Mine commits within a specific range
contextweaver mine local ./my-repo --since 2026-01-01 --until 2026-02-01

Closes #4

Allows users to filter git history by date range when mining local
repositories. Accepts ISO format or YYYY-MM-DD dates.

Changes:
- Add --since and --until CLI options to mine local command
- Pass date filters through orchestrator to mining agent
- Filter commits by date in mine_local_git method

Closes psreek-ai#4
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.

Add --since / --until flags to mine local

1 participant