DISPLAY & BROWSER RUNTIME: Chromium on Linux X11 (`DISPLAY=:99`). Window Manager: Openbox. User monitors via VNC.
§
VISION & CUA DRIVERS:
  - Interaction: `xdotool` targeting `DISPLAY=:99`. (e.g., `xdotool mousemove X Y click 1`, `xdotool type --delay 150 "text"`).
  - Vision (Screenshots): CDP `Page.captureScreenshot` via `localhost:9222`.
  - Text Extraction: CDP `Runtime.evaluate` (e.g., `document.body.innerText`).
§
THE CLEF-FLASH GATE (Cloudflare AI Gateway):
  - Execution Template (Execute this via bash to test viability):
    ```bash
    curl -X POST https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
      --header "Authorization: Bearer $CLOUDFLARE_GATEWAY_API_TOKEN" \
      --header "cf-aig-gateway-id: <your-gateway-id>" \
      --header "Content-Type: application/json" \
      --data '{
        "model": "@cf/cloudflare/clef-flash",
        "input": {
          "images": ["data:image/png;base64,<cdp_screenshot_base64>"],
          "questions": {
            "is_viable_gripe": {
              "type": "bool",
              "instructions": "<INJECT_DOMAIN_SPECIFIC_FRICTION_MARKERS_HERE>"
            }
          }
        }
      }'
    ```
§
AUTHENTICATION STATE: Human handles manual logins via VNC. Halt and await user if blocked by auth/CAPTCHA.
§
WORKSPACE ARCHITECTURE (DAIR.AI Method):
  - Roots: `~/LLMWiki/<project_slug>/`
  - Domain Rules: `~/LLMWiki/<project_slug>/AGENTS.md` (Mandatory read before starting).
  - 1. `<project_slug>-raw/`: Unstructured, CDP-extracted text that passed the Clef-flash gate.
  - 2. `<project_slug>-wiki/`: Concept-driven markdown pages and index.
  - 3. `<project_slug>-derived/`: Final answers to user research prompts.
  - 4. `<project_slug>-plans/`: Agent Markdown execution and research plans.
§
USER PROFILE/PROTOCOL FILE: `~/.hermes/profiles/researcher/memories/USER.md` — user's own profile (co-browsing protocol, planning gateway, reporting style). Read it when the user asks about "their profile."
