Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

2.1 KB
Raw Blame
{
  "id": "201",
  "category": "cms-api-first",
  "mode": "act",
  "browser": "chrome",
  "tab": {
    "url": "https://cms.example.test/ghost/#/editor/post/p1",
    "title": "Ghost content editor"
  },
  "description": "A dispatched draft create timed out after the server may have committed it.",
  "packagedSkillIds": [
    "cms-ghost"
  ],
  "activeSkillIds": [
    "cms-ghost"
  ],
  "seed": [
    {
      "role": "user",
      "content": "[Current page context: https://cms.example.test/ghost/#/editor/post/p1]\nCreate one draft titled Field notes, slug field-notes, keeping its author and tags. Do not publish. This is the confirmed site; existing session auth works and /allow-api is already granted. The create just dispatched has an uncertain outcome."
    },
    {
      "role": "assistant",
      "content": null,
      "tool_calls": [
        {
          "id": "cms_1",
          "type": "function",
          "function": {
            "name": "fetch_url",
            "arguments": "{\"url\": \"https://cms.example.test/ghost/api/admin/posts/\", \"method\": \"POST\", \"body\": \"{\\\"posts\\\":[{\\\"title\\\":\\\"Field notes\\\",\\\"slug\\\":\\\"field-notes\\\",\\\"status\\\":\\\"draft\\\"}]}\"}"
          }
        }
      ]
    },
    {
      "role": "tool",
      "tool_call_id": "cms_1",
      "name": "fetch_url",
      "content": "<untrusted_page_content id=\"cms_fixture\">\n{\"success\": false, \"error\": \"Timeout after dispatch; the server may have committed\"}\n</untrusted_page_content>"
    }
  ],
  "expected": {
    "idealNextToolCall": {
      "name": "fetch_url",
      "args": {
        "url": "https://cms.example.test/ghost/api/admin/posts/?filter=slug:field-notes",
        "method": "GET"
      }
    },
    "antiPatterns": [
      {
        "match": "fetch_url({method:\"POST\"})",
        "reason": "A blind create retry can duplicate the committed draft."
      }
    ],
    "successRubric": "Read scoped candidates first, compare slug/type/author/time, retain the recovered ID and draft status. Multiple matches require clarification. Do not create or publish again."
  }
}