Firedrill / Drill report

send note rate limited

failed

One execution of a drill: the task your agent received, the checks evaluated, and what happened in its synthetic world.

0/2 final checks passed1 tool callsScenario: rate-limited

Task

Send one email to sam@example.test with the subject Invoice received.

Agent deterministic-email-client · completed

Task input
{
  "body": "I received the invoice. Thank you.",
  "subject": "Invoice received",
  "to": [
    "sam@example.test"
  ]
}
Agent output (not the test verdict)
{
  "httpStatus": 429,
  "response": {
    "error": {
      "code": 429,
      "message": "User-rate limit exceeded. Retry after 2026-09-14T09:01:00Z",
      "errors": [
        {
          "message": "User-rate limit exceeded. Retry after 2026-09-14T09:01:00Z",
          "domain": "usageLimits",
          "reason": "rateLimitExceeded"
        }
      ],
      "status": "RESOURCE_EXHAUSTED"
    }
  }
}

Checks

Assertions compare observed actions and world data with your expectations. Agent output is not treated as proof.

failedone send succeeded

operation count did not match

Expected

{
  "operator": "equals",
  "value": 1
}

Actual

0
What this check inspects
{
  "subject": "operation",
  "operations": [
    {
      "packageId": "gmail",
      "operationId": "messages.send"
    }
  ]
}

failedrecipient message count

state value did not match

Expected

{
  "operator": "equals",
  "value": 1
}

Actual

0
What this check inspects
{
  "subject": "state",
  "packageId": "gmail",
  "namespace": "mailboxes",
  "rowId": "sam@example.test",
  "path": [
    "messagesTotal"
  ]
}

Event 3

Tool calls

Calls received by the synthetic tools, in recorded order. Expand a call to see its arguments and response.

1.gmail.messages.sendtool error

Actor email-client · Event 4

Arguments sent

{
  "body": "I received the invoice. Thank you.",
  "subject": "Invoice received",
  "to": [
    "sam@example.test"
  ],
  "userId": "me"
}

Response received

{
  "status": "tool_error",
  "error": {
    "schemaVersion": 1,
    "code": "tool.RATE_LIMITED",
    "source": "tool",
    "message": "User-rate limit exceeded. Retry after 2026-09-14T09:01:00Z",
    "retryable": true,
    "correlationId": "corr_f62f9ce7a25b056d_00000001",
    "issues": []
  }
}

Data changes

Changes after world creation. Initial seed records are available in the full event log below.

No data changes were recorded after initial world creation.

Details

Run details and limits
{
  "runId": "run_fa672f953a824761864a0f5780dde9e4",
  "scenario": "rate-limited",
  "build": "sha256:d0ebb60b48672ded24a57d133e767a15737d6d097788005e4f29a754a4314a29",
  "seed": "42",
  "repeat": "1 of 1",
  "attempt": "1 of 1",
  "bindingEvidence": "observed",
  "virtualTimeUs": {
    "start": 1789376400000000,
    "end": 1789376400000000
  },
  "budgets": {
    "toolCalls": {
      "limit": 1000,
      "attempted": 1,
      "rejected": 0
    },
    "scheduledEvents": {
      "limit": 10000,
      "processed": 0,
      "exhausted": false
    }
  }
}

Virtual time is the world’s simulated clock, not elapsed execution time.

Synthetic tools used by this world

gmail 0.1.0

attachments.get (stateful) · drafts.create (stateful) · drafts.delete (stateful) · drafts.get (stateful) · drafts.list (stateful) · drafts.send (behavioral) · drafts.update (stateful) · labels.create (stateful) · labels.delete (stateful) · labels.list (stateful) · labels.update (stateful) · messages.batch-modify (behavioral) · messages.get (stateful) · messages.label (behavioral) · messages.list (stateful) · messages.modify (behavioral) · messages.send (behavioral) · messages.trash (behavioral) · messages.unlabel (behavioral) · messages.untrash (stateful) · profile.get (stateful) · threads.get (stateful) · threads.label (behavioral) · threads.list (stateful) · threads.modify (behavioral) · threads.trash (behavioral) · threads.unlabel (behavioral)

Full tool declaration
{
  "id": "gmail",
  "version": "0.1.0",
  "operations": [
    {
      "id": "attachments.get",
      "fidelity": "stateful"
    },
    {
      "id": "drafts.create",
      "fidelity": "stateful"
    },
    {
      "id": "drafts.delete",
      "fidelity": "stateful"
    },
    {
      "id": "drafts.get",
      "fidelity": "stateful"
    },
    {
      "id": "drafts.list",
      "fidelity": "stateful"
    },
    {
      "id": "drafts.send",
      "fidelity": "behavioral"
    },
    {
      "id": "drafts.update",
      "fidelity": "stateful"
    },
    {
      "id": "labels.create",
      "fidelity": "stateful"
    },
    {
      "id": "labels.delete",
      "fidelity": "stateful"
    },
    {
      "id": "labels.list",
      "fidelity": "stateful"
    },
    {
      "id": "labels.update",
      "fidelity": "stateful"
    },
    {
      "id": "messages.batch-modify",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.get",
      "fidelity": "stateful"
    },
    {
      "id": "messages.label",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.list",
      "fidelity": "stateful"
    },
    {
      "id": "messages.modify",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.send",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.trash",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.unlabel",
      "fidelity": "behavioral"
    },
    {
      "id": "messages.untrash",
      "fidelity": "stateful"
    },
    {
      "id": "profile.get",
      "fidelity": "stateful"
    },
    {
      "id": "threads.get",
      "fidelity": "stateful"
    },
    {
      "id": "threads.label",
      "fidelity": "behavioral"
    },
    {
      "id": "threads.list",
      "fidelity": "stateful"
    },
    {
      "id": "threads.modify",
      "fidelity": "behavioral"
    },
    {
      "id": "threads.trash",
      "fidelity": "behavioral"
    },
    {
      "id": "threads.unlabel",
      "fidelity": "behavioral"
    }
  ],
  "http": [
    {
      "id": "batch-modify-messages",
      "operationId": "messages.batch-modify",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/messages/batchModify"
    },
    {
      "id": "create-draft",
      "operationId": "drafts.create",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/drafts"
    },
    {
      "id": "create-label",
      "operationId": "labels.create",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/labels"
    },
    {
      "id": "delete-draft",
      "operationId": "drafts.delete",
      "method": "DELETE",
      "path": "/gmail/v1/users/{userId}/drafts/{id}"
    },
    {
      "id": "delete-label",
      "operationId": "labels.delete",
      "method": "DELETE",
      "path": "/gmail/v1/users/{userId}/labels/{id}"
    },
    {
      "id": "get-attachment",
      "operationId": "attachments.get",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}"
    },
    {
      "id": "get-draft",
      "operationId": "drafts.get",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/drafts/{id}"
    },
    {
      "id": "get-message",
      "operationId": "messages.get",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/messages/{id}"
    },
    {
      "id": "get-profile",
      "operationId": "profile.get",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/profile"
    },
    {
      "id": "get-thread",
      "operationId": "threads.get",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/threads/{id}"
    },
    {
      "id": "list-drafts",
      "operationId": "drafts.list",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/drafts"
    },
    {
      "id": "list-labels",
      "operationId": "labels.list",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/labels"
    },
    {
      "id": "list-messages",
      "operationId": "messages.list",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/messages"
    },
    {
      "id": "list-threads",
      "operationId": "threads.list",
      "method": "GET",
      "path": "/gmail/v1/users/{userId}/threads"
    },
    {
      "id": "modify-message",
      "operationId": "messages.modify",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/messages/{id}/modify"
    },
    {
      "id": "modify-thread",
      "operationId": "threads.modify",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/threads/{id}/modify"
    },
    {
      "id": "patch-label",
      "operationId": "labels.update",
      "method": "PATCH",
      "path": "/gmail/v1/users/{userId}/labels/{id}"
    },
    {
      "id": "send-draft",
      "operationId": "drafts.send",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/drafts/send"
    },
    {
      "id": "send-message",
      "operationId": "messages.send",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/messages/send"
    },
    {
      "id": "trash-message",
      "operationId": "messages.trash",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/messages/{id}/trash"
    },
    {
      "id": "trash-thread",
      "operationId": "threads.trash",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/threads/{id}/trash"
    },
    {
      "id": "untrash-message",
      "operationId": "messages.untrash",
      "method": "POST",
      "path": "/gmail/v1/users/{userId}/messages/{id}/untrash"
    },
    {
      "id": "update-draft",
      "operationId": "drafts.update",
      "method": "PUT",
      "path": "/gmail/v1/users/{userId}/drafts/{id}"
    },
    {
      "id": "update-label",
      "operationId": "labels.update",
      "method": "PUT",
      "path": "/gmail/v1/users/{userId}/labels/{id}"
    }
  ],
  "compatibility": []
}
Full event log (7 entries)

Includes setup, tool calls, timers, data changes, and verification. Event numbers refer to this log.

Event 1 · lifecycle
{
  "schemaVersion": 1,
  "sequence": 1,
  "transactionId": "txn_00000001",
  "transactionIndex": 0,
  "transactionSize": 3,
  "virtualTimeUs": 1789376400000000,
  "correlationId": "corr_create_fa672f953a824761864a0f5780dde9e4",
  "kind": "lifecycle",
  "action": "world_created",
  "worldInstanceId": "world_fa672f953a824761864a0f5780dde9e4",
  "details": {
    "activeFaultCount": 1,
    "actorCount": 1,
    "scheduledEventCount": 0,
    "stateRecordCount": 2
  }
}
Event 2 · state change
{
  "schemaVersion": 1,
  "sequence": 2,
  "transactionId": "txn_00000001",
  "transactionIndex": 1,
  "transactionSize": 3,
  "virtualTimeUs": 1789376400000000,
  "causeSequence": 1,
  "correlationId": "corr_create_fa672f953a824761864a0f5780dde9e4",
  "kind": "state_change",
  "packageId": "gmail",
  "namespace": "mailboxes",
  "rowId": "alex@example.test",
  "change": "insert",
  "before": null,
  "after": {
    "displayName": "Alex",
    "emailAddress": "alex@example.test",
    "historyId": 1,
    "messagesTotal": 0,
    "sequence": 0,
    "threadsTotal": 0
  },
  "deltaHash": "sha256:72f78d2da9e4b60be233d1c0f8478ec6c0b2ea7bf1d3136d286a36bd416eb83f"
}
Event 3 · state change
{
  "schemaVersion": 1,
  "sequence": 3,
  "transactionId": "txn_00000001",
  "transactionIndex": 2,
  "transactionSize": 3,
  "virtualTimeUs": 1789376400000000,
  "causeSequence": 1,
  "correlationId": "corr_create_fa672f953a824761864a0f5780dde9e4",
  "kind": "state_change",
  "packageId": "gmail",
  "namespace": "mailboxes",
  "rowId": "sam@example.test",
  "change": "insert",
  "before": null,
  "after": {
    "displayName": "Sam",
    "emailAddress": "sam@example.test",
    "historyId": 1,
    "messagesTotal": 0,
    "sequence": 0,
    "threadsTotal": 0
  },
  "deltaHash": "sha256:c72f406d40e1d707e59f587b11b7c860813f5ac5334a70f4034f76fb2c35687e"
}
Event 4 · operation
{
  "schemaVersion": 1,
  "sequence": 4,
  "transactionId": "txn_00000004",
  "transactionIndex": 0,
  "transactionSize": 2,
  "virtualTimeUs": 1789376400000000,
  "correlationId": "corr_f62f9ce7a25b056d_00000001",
  "kind": "operation",
  "invocation": {
    "schemaVersion": 1,
    "callId": "call_f62f9ce7a25b056d_00000001",
    "correlationId": "corr_f62f9ce7a25b056d_00000001",
    "operation": {
      "packageId": "gmail",
      "operationId": "messages.send"
    },
    "actorBindingId": "actor_2c67e4b46a0710e2221a2aee36c489cbb7711884e6112c4721ea900ad6a99b11",
    "arguments": {
      "body": "I received the invoice. Thank you.",
      "subject": "Invoice received",
      "to": [
        "sam@example.test"
      ],
      "userId": "me"
    },
    "idempotencyKey": "run_fa672f953a824761864a0f5780dde9e4-task"
  },
  "actorId": "email-client",
  "outcome": {
    "status": "tool_error",
    "error": {
      "schemaVersion": 1,
      "code": "tool.RATE_LIMITED",
      "source": "tool",
      "message": "User-rate limit exceeded. Retry after 2026-09-14T09:01:00Z",
      "retryable": true,
      "correlationId": "corr_f62f9ce7a25b056d_00000001",
      "issues": []
    }
  },
  "idempotency": "not_recorded"
}
Event 5 · fault
{
  "schemaVersion": 1,
  "sequence": 5,
  "transactionId": "txn_00000004",
  "transactionIndex": 1,
  "transactionSize": 2,
  "virtualTimeUs": 1789376400000000,
  "causeSequence": 4,
  "correlationId": "corr_f62f9ce7a25b056d_00000001",
  "kind": "fault",
  "packageId": "gmail",
  "faultId": "send-rate-limited",
  "operation": {
    "packageId": "gmail",
    "operationId": "messages.send"
  },
  "timing": "before",
  "errorCode": "RATE_LIMITED"
}
Event 6 · verification
{
  "schemaVersion": 1,
  "sequence": 6,
  "transactionId": "txn_00000006",
  "transactionIndex": 0,
  "transactionSize": 2,
  "virtualTimeUs": 1789376400000000,
  "causeSequence": 5,
  "correlationId": "corr_verify_fa672f953a824761_000001",
  "kind": "verification",
  "checkpointId": "final",
  "checkpointKind": "final",
  "result": {
    "schemaVersion": 1,
    "assertionId": "one-send-succeeded",
    "kind": "operation.count",
    "status": "failed",
    "gate": true,
    "message": "operation count did not match",
    "expected": {
      "operator": "equals",
      "value": 1
    },
    "actual": 0,
    "location": {
      "subject": "operation",
      "operations": [
        {
          "packageId": "gmail",
          "operationId": "messages.send"
        }
      ]
    },
    "diff": {
      "operator": "equals",
      "matched": false,
      "details": {
        "outcomes": [
          "ok"
        ]
      }
    },
    "evidenceSequences": []
  }
}
Event 7 · verification
{
  "schemaVersion": 1,
  "sequence": 7,
  "transactionId": "txn_00000006",
  "transactionIndex": 1,
  "transactionSize": 2,
  "virtualTimeUs": 1789376400000000,
  "causeSequence": 5,
  "correlationId": "corr_verify_fa672f953a824761_000001",
  "kind": "verification",
  "checkpointId": "final",
  "checkpointKind": "final",
  "result": {
    "schemaVersion": 1,
    "assertionId": "recipient-message-count",
    "kind": "state.value",
    "status": "failed",
    "gate": true,
    "message": "state value did not match",
    "expected": {
      "operator": "equals",
      "value": 1
    },
    "actual": 0,
    "location": {
      "subject": "state",
      "packageId": "gmail",
      "namespace": "mailboxes",
      "rowId": "sam@example.test",
      "path": [
        "messagesTotal"
      ]
    },
    "diff": {
      "operator": "equals",
      "matched": false,
      "details": {
        "missing": false
      }
    },
    "evidenceSequences": [
      3
    ]
  }
}

Run again

firedrill run send-note-rate-limited --build-hash sha256:d0ebb60b48672ded24a57d133e767a15737d6d097788005e4f29a754a4314a29 --seed 42 --trials 1

Restores the same world inputs and seed. Your agent may make different choices on another run; use the original harness for external targets.