{
  "name": "assistant",
  "description": "General-purpose agent with full file, shell, and web access. Handles chat, async tasks, subagent delegation, and scheduled monitoring.",
  "model": "anthropic/claude-sonnet-4-5",
  "temperature": 0.7,
  "reasoning": "medium",
  "maxTokens": 8192,
  "memory": {
    "enabled": true,
    "maxLines": 300
  },
  "skillDiscovery": true,
  "modes": {
    "chat": {
      "enabled": true,
      "tools": [
        "read_file", "write_file", "edit_file",
        "list_dir", "glob", "grep",
        "bash",
        "web_search", "web_fetch",
        "memory_read", "memory_write",
        "todo_read", "todo_write",
        "tool_search"
      ],
      "permissions": {
        "deny": ["bash(rm -rf *)", "bash(sudo *)"]
      }
    },
    "task": {
      "enabled": true,
      "maxIterations": 30,
      "maxDurationSeconds": 300,
      "onExhausted": "fail",
      "tools": [
        "read_file", "write_file", "edit_file",
        "list_dir", "glob", "grep",
        "bash",
        "web_search", "web_fetch",
        "memory_read", "memory_write", "memory_search",
        "todo_read", "todo_write",
        "agent_spawn", "task_create", "task_status", "task_subscribe",
        "log_write", "tool_search"
      ],
      "allowedAgents": ["coder", "researcher", "writer"],
      "permissions": {
        "deny": ["bash(rm -rf *)", "bash(sudo *)"]
      }
    },
    "subagent": {
      "enabled": true,
      "maxIterations": 15,
      "maxDurationSeconds": 120,
      "tools": [
        "read_file", "list_dir", "glob", "grep",
        "bash", "web_search", "web_fetch",
        "memory_write", "log_write"
      ]
    },
    "daemon": {
      "enabled": true,
      "cron": "0 9 * * 1-5",
      "maxIterations": 10,
      "maxDurationSeconds": 120,
      "conflictPolicy": "skip",
      "heartbeatFile": ".veil/heartbeats/assistant.md",
      "alertRouting": "assistant",
      "tools": [
        "read_file", "write_file",
        "bash", "web_fetch",
        "memory_write", "log_write"
      ]
    }
  }
}
