How abhaykatiyar804/review_agent works
This repository is a Git-review-agent project whose implemented daemon workflow accepts Unix-socket requests and dispatches Git worktree actions; review dispatch and the standalone review CLI are placeholders. The README provides no capability details, and unsampled DTO/config behavior is represented only where supported by the tree and visible callers. The sampled client uses newline framing while the async server expects a length-prefixed frame, so successful interoperability is not established.
Main entry points: cmd_dispatcher.py Command dispatcher · cli.py Review CLI · daemon.py Daemon server · connection.py Connection handler
Components 14
Entry points
- Socket client
src/daemon/client.py - Review CLI
src/review_agent/cli.py
Daemon runtime
- Daemon server
src/daemon/daemon.py - Connection handler
src/daemon/adapter/connection/connection.py - Job manager
src/daemon/job_manager.py - Daemon config
src/daemon/config.py - Request/response DTOs
src/daemon/dto.py
Git actions
- Command dispatcher
src/daemon/cmd_dispatcher.py - Worktree action
src/daemon/cmd_dispatcher.py - Review action
src/daemon/cmd_dispatcher.py
Other components
- User
- Git repository
- LangChain agent
- GitHub CLI
Connections 14
- User → Socket client: sends request
- Socket client → Daemon server: connects socket
- Daemon server → Daemon config: loads settings
- Daemon server → Connection handler: handles connection
- Connection handler → Request/response DTOs: parses request
- Connection handler → Job manager: starts job
- Job manager → Command dispatcher: runs command
- Command dispatcher → Request/response DTOs: dispatches action
- Command dispatcher → Worktree action: selects action
- Command dispatcher → Review action: selects action
- Worktree action → Git repository: creates worktree
- User → Review CLI: invokes CLI
- Review CLI → LangChain agent: creates agent
- Review CLI → GitHub CLI: retrieves token