feat: add hawk review — continuous background code review#5
Merged
Conversation
Adds a roborev-inspired continuous review system that hooks into git commits, reviews via sight, and can auto-fix findings. New commands: - hawk review init (install post-commit hook) - hawk review run <sha> (review a commit) - hawk review status/show/close/list (read commands) - hawk review fix (auto-fix via hawk exec) - hawk review refine (iterative fix loop) - hawk review analyze (on-demand analysis: security, complexity, etc.) - hawk review tui (interactive bubbletea queue) Infrastructure: - SQLite review store (.hawk/reviews.db) - Daemon endpoints (POST /v1/review, GET /v1/review/status) - Review lifecycle events in hooks/events.go
Patel230
added a commit
that referenced
this pull request
May 21, 2026
Adds a roborev-inspired continuous review system that hooks into git commits, reviews via sight, and can auto-fix findings. New commands: - hawk review init (install post-commit hook) - hawk review run <sha> (review a commit) - hawk review status/show/close/list (read commands) - hawk review fix (auto-fix via hawk exec) - hawk review refine (iterative fix loop) - hawk review analyze (on-demand analysis: security, complexity, etc.) - hawk review tui (interactive bubbletea queue) Infrastructure: - SQLite review store (.hawk/reviews.db) - Daemon endpoints (POST /v1/review, GET /v1/review/status) - Review lifecycle events in hooks/events.go
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 roborev-inspired continuous review system that hooks into git commits, reviews via sight, and can auto-fix findings.
New Commands
hawk review inithawk review run <sha>hawk review statushawk review showhawk review listhawk review closehawk review fixhawk review refinehawk review analyze <type>hawk review tuiInfrastructure
.hawk/reviews.db) with WAL modePOST /v1/review,GET /v1/review/status)How It Works
hawk review initinstalls a post-commit hookhawk review run <sha> --backgroundhawk review fixfeeds findings to hawk exec for auto-correctionhawk review refineloops until all reviews passTesting
10 unit tests covering store CRUD, prompt building, and command wiring. All pass.