Add vigilante logs command for session log viewing#281
Merged
nicobistolfi merged 1 commit intoaliengiraffe:mainfrom Mar 24, 2026
Merged
Add vigilante logs command for session log viewing#281nicobistolfi merged 1 commit intoaliengiraffe:mainfrom
nicobistolfi merged 1 commit intoaliengiraffe:mainfrom
Conversation
Add a `logs` subcommand that lists session log files or shows a specific session log filtered by --repo and --issue flags. Co-Authored-By: Claude Opus 4.6 <[email protected]>
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
Adds a
vigilante logscommand that lists session log files and shows individual session logs by repo and issue number.Why this matters
Session logs are written to
~/.vigilante/logs/but there's no built-in way to view them. After installing Vigilante and runningvigilante setup+vigilante daemon run --once, I had to manuallycat ~/.vigilante/logs/vigilante.logto see what happened. This adds the missing read path.The project has invested in log quality over multiple PRs:
All that log infrastructure exists but has no viewer.
vigilante logscompletes the observability surface alongsidevigilante listandvigilante status.Changes
internal/app/app.go: AddedrunLogsCommandfunction with--repoand--issueflags, plus thecase "logs"dispatch inrunCommandand the usage string entryinternal/app/app_test.go: 3 test functions covering list, show, and missing-log error casesTesting
go test ./...passes (all packages)gofmt -l .cleango vet ./...cleanvigilante logs(list mode)vigilante logs --helpvigilante logs --repo owner/repo --issue 999(error case)This contribution was developed with AI assistance (Claude Code).