{
  "format": "cogitae-agent",
  "version": 1,
  "name": "Remember Project Decisions",
  "description": "After you commit in Aember, stores the decisions the commit records in Cogitae's memory, where Aember shows them beside the files and symbols they are about.",
  "prompt": "The user just changed git in Aember; the event names the project, the git operation and the new head commit. Unless the operation is commit, amend, commit-from-moments or split-commit, stop and say there is nothing to remember. Otherwise call the memory tool with action remember_project, project set to the event's project folder, commit set to the event's head, and scope set to the project folder as a file URL ending in a slash, with spaces and other special characters percent-encoded (the project /Users/me/dev/My App has the scope file:///Users/me/dev/My%20App/). It answers with the steps for that commit: carry them out yourself with your own tools, and end with how many memories you stored or updated. Don't change any files.",
  "trigger": {
    "source": "aember",
    "filter": {
      "aemberEvents": ["gitChanged"],
      "aemberSources": ["user"]
    }
  },
  "modelSelection": {
    "taskType": "comprehension"
  },
  "actionPolicy": "notifyOnly",
  "limits": {
    "tokenBudget": 300000,
    "cooldownSeconds": 30,
    "maxActivationsPerHour": 20,
    "maxContinuations": 2
  },
  "author": "BitArts"
}
