{
  "title": "Design a Rollback Mechanism for Agent-initiated Actions",
  "description": "A structured prompt that helps you design a rollback mechanism for agent-initiated actions by asking the model to show its reasoning, not just its conclusion.",
  "category": "Agentic AI and Multi-Agent Systems",
  "tags": [
    "agentic-ai",
    "rollback-mechanism"
  ],
  "templateContent": "Act as an AI agent architect. Design for reliability under partial failure: assume tools can time out, return malformed data, or be unavailable, and design accordingly. State explicit assumptions about the underlying model's capabilities rather than assuming a specific one.\n\nTask: Design a rollback mechanism for agent-initiated actions.\n\nContext to use:\n- What the agent (or agent system) is trying to achieve: {{system_goal}}\n- Available tools or integrations: {{tools_or_integrations}}\n- Constraints and risk tolerance: {{constraints}}\n\nResponse format:\n1. Brief recommendation or approach\n2. Main deliverable, organized into clear sections\n3. Assumptions and unresolved questions\n4. Validation or quality checklist",
  "variables": [
    {
      "name": "system_goal",
      "label": "What the agent (or agent system) is trying to achieve",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "tools_or_integrations",
      "label": "Available tools or integrations",
      "type": "multiline",
      "required": false,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "constraints",
      "label": "Constraints and risk tolerance",
      "type": "multiline",
      "required": false,
      "default": null,
      "allowedValues": null
    }
  ],
  "usageInstructions": "Provide as much real context as you have; leave a field blank only if it genuinely doesn't apply, and check the assumptions list afterward.",
  "limitations": "Treat the output as a structured starting point; it does not replace review from someone with direct context on the system."
}