# Phase 06: Install and Evaluate Hermes Agent (Implementation Plan)

## Goal Summary
Finalize the deployment of Hermes Agent locally as a background-running 24/7 Discord integration without requiring further system disruption. Synthesize all the in-flight Windows compatibility patches and configurations performed.

## Implementation Steps

### 1. Verification of System Edits
Ensure all ad-hoc local configurations to `.env` and `run_agent.py` remain cleanly saved in the Git worktree. Validate that:
- `memory_tool.py` correctly uses `msvcrt.locking`.
- `browser_tool.py` explicitly forces `shell=True` for win32 platform subprocess invocations.
- `run_agent.py` successfully injects `[System: Please continue with your final text response based on the reasoning above.]` to bypass vLLM restrictive API requirements over assistant role manipulation.

### 2. Status Updates
Update current tracking systems to finalize Phase 06 out of active status.
#### [NEW] .planning/phases/06-install-and-evaluate-hermes-agent/06-PLAN.md (this file)
- Serve as the finalized historical record for Phase 06.

#### [MODIFY] .planning/STATE.md
- Mark Phase `06-install-and-evaluate-hermes-agent` as implicitly complete or ready to merge.

## Verification Plan

### Manual Verification
- View Discord channel `1491417219375173822` to ensure the bot wakes up, accesses the browser (like fetching `github.com/tirth8205/code-review-graph` code), logs thoughts, captures snippets, and finally responds in text without HTTP 400 rejection.
- Check bot terminal running `run_hermes_agent.bat` for `Status: ONLINE`.
