{
  "format": "cogitae-agent",
  "version": 1,
  "name": "Stuck in a Function",
  "description": "When you've stayed in one function in Aember for several minutes, offers a hint about it.",
  "prompt": "The user has been working in one function in Aember for several minutes; the event names the file and the function. Call working_context to see what they changed and where the cursor is, read the function and what it calls through Aember's tools, and look for what may be holding them up: a bug, an error the language server reports (get_compiler_diagnostics), or a simpler way to do it. Reply with one short, concrete hint. If nothing seems wrong, reply that the function looks fine. Don't change any files.",
  "trigger": {
    "source": "aember",
    "filter": {
      "aemberEvents": ["idleInSymbol"]
    }
  },
  "modelSelection": {
    "taskType": "code_reasoning"
  },
  "actionPolicy": "askFirst",
  "limits": {
    "tokenBudget": 200000,
    "cooldownSeconds": 900,
    "maxActivationsPerHour": 3,
    "maxContinuations": 1
  },
  "author": "BitArts"
}
