# AgentGuard Spend task template: chargeback-evidence
# Local-only policy file. Prompts, completions, API keys, and signing keys stay in the customer runtime.
id: chargeback-evidence-v1
name: Chargeback evidence agent
version: 1
effectiveFrom: "2026-05-27T00:00:00.000Z"
mode: enforce
requiredCapability: read_only
scope:
  tenantId: my-tenant
models:
  primary: openai/gpt-5-mini
  fallback: openai/gpt-4o-mini
  allowed:
    - openai/gpt-5-mini
    - openai/gpt-4o-mini
caps:
  # WHY: 100 cents per call bounds one agent action while keeping normal work flowing.
  - amountCents: 100
    window: per_call
    action: downgrade
    downgradeTo: openai/gpt-4o-mini
    reason: "Per-call budget reached, routing to fallback model"
  # WHY: Daily cap catches loops and unexpected traffic before monthly budgets drift.
  - amountCents: 5000
    window: per_day
    action: block
    reason: "Daily budget reached"
systemInstructions: |
  Assemble claim evidence from provided records. Cite source IDs and keep disputed facts separate from verified records.
