Skip to content

feat(scripts): add --iris-days to decouple repo selection from analysis window - #205

Merged
clickmatos merged 2 commits into
mainfrom
clone-analyze-separate-iris-window
Aug 27, 2026
Merged

feat(scripts): add --iris-days to decouple repo selection from analysis window#205
clickmatos merged 2 commits into
mainfrom
clone-analyze-separate-iris-window

Conversation

@clickmatos

Copy link
Copy Markdown
Contributor

Summary

  • clone_and_analyze.py --days only ever filtered which repos to select (commits in the last N days); it never controlled the iris . invocation, which always ran the full RECOMMENDED_WINDOWS set (7/15/30/60/90).
  • Adds --iris-days, an independent optional flag: when set, runs iris . --days <N> (single window) instead of the default full-window run.
  • Lets you do e.g. --days 7 --iris-days 30: select repos with a commit in the last 7 days, analyze each with only the 30-day window.

Test plan

  • python3 -c "import ast; ast.parse(...)" — syntax check
  • --help output renders correctly with the new flag
  • Manual: run against a real org to confirm iris . --days 30 is invoked as expected

…is window

clone_and_analyze.py's --days only ever controlled repo selection; the
`iris .` invocation always ran the full RECOMMENDED_WINDOWS set with no
way to request a single window. --iris-days lets callers pick repos by
one lookback (e.g. commits in the last 7 days) and analyze them with a
different one (e.g. --days 30), independent of the selection window.

Co-Authored-By: claude-code_2-1-238_agent <claude-code_2-1-238_agent@iris.invalid>
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clickbus-iris Ready Ready Preview Aug 27, 2026 10:56am

Request Review

Co-Authored-By: claude-code_2-1-238_agent <claude-code_2-1-238_agent@iris.invalid>
@clickmatos
clickmatos merged commit 150cb3b into main Aug 27, 2026
5 checks passed
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