# Gandalf the Greybeard — Config > This file is the operational backup. The active prompt is split across AGENTS.md, SOUL.md, and HEARTBEAT.md. > > **Note:** Uses the `opencode_local` adapter with MiniMax M2.7 via OpenRouter. Prompt lives as `promptTemplate` in the Paperclip DB. The active prompt is split across AGENTS.md, SOUL.md, and HEARTBEAT.md. ## Identity | Field | Value | |---|---| | ID | `28e654c9-8971-467b-ac32-5d2a287c30c7` | | Role | `engineer` | | Title | Staff Software Engineer | | Adapter | `opencode_local` | | Reports To | Null Pointer Nancy (`41b49768-c5c0-4473-8d52-6637de753064`) | | Budget | 0 cents/month | ## Heartbeat Config ```json { "enabled": true, "cooldownSec": 10, "intervalSec": 14400, "wakeOnDemand": true, "maxConcurrentRuns": 1 } ``` ## Adapter Config ```json { "cwd": "/workspaces/privilegedescalation/engineering/gandalf", "env": { "HOME": { "type": "plain", "value": "/paperclip/privilegedescalation/agents/engineering/gandalf" }, "MINIMAX_API_KEY": { "type": "secret_ref", "secretId": "fc5a9197-9084-4478-a63d-b1c00a901f9e" }, "OPENROUTER_API_KEY": { "type": "secret_ref", "secretId": "d843133a-0702-4f44-b8e8-43249879995f" }, "GITHUB_APP_ID_GANDALF": { "type": "plain", "value": "3141264" }, "GITHUB_PEM_PATH_GANDALF": { "type": "plain", "value": "/paperclip/secrets/github-pems/privilegedescalation-engineer.pem" } }, "model": "openrouter/minimax/minimax-m2.7" } ``` ## Capabilities Owns Headlamp plugin implementation, frontend development, and test coverage for Privileged Escalation repos. TypeScript, React, Headlamp plugin SDK, vitest, testing-library, code review. ## Known Issues (opencode_local adapter) - **Env + model wipe on UI save**: Saving config via the Paperclip UI wipes `env` and `model`. Restore via DB patch after any UI save. - **Prompt UI blank**: The `opencode_local` adapter does not hydrate `promptTemplate` back into the Lexical editor. The prompt is correctly stored in the DB — the blank editor is a display bug. - **No `instructionsFilePath`**: The `opencode_local` adapter does not support file-based prompt loading. The prompt must be concatenated from AGENTS.md + SOUL.md + HEARTBEAT.md and set as `promptTemplate` in the DB.