Add vigilante report --repo for closed-issue analytics#387
Merged
nicobistolfi merged 1 commit intomainfrom Apr 2, 2026
Conversation
Add a read-only CLI command that analyzes closed issues in a repository and outputs a CSV report with execution timing, coding-agent attribution, linked PR metadata (commits, files, lines added), and operator interaction volume (@vigilanteai comment counts). The command uses GitHub issue comments as the source of truth for timing metrics (Vigilante Session Start → PR Opened), resolves coding agent from issue labels with fallback to the repo default provider, and finds linked PRs via timeline cross-references. Closes #385
10 tasks
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.
Summary
vigilante report --repo <owner/name>command that analyzes closed issues and outputs a CSV with execution timing, coding-agent attribution, linked PR metadata, and operator interaction volumeVigilante Session Startcomment to firstPR Openedcomment for each closed issue@vigilanteaifirst-word comments as operator interaction volumeImplementation
internal/app/report.go— report command, CSV generation, GitHub API calls for closed issues/comments/timeline/PR statsinternal/app/report_test.go— 19 unit tests covering timing markers (both/missing/absent), coding agent precedence, comment counting, PR linking, CSV shape, command help/validationinternal/app/app.go— command dispatch, usage text, bash/zsh/fish shell completionsTest plan
go test ./...passes (all packages)go vet ./...cleangofmtcleanCloses #385