ADACTION
DOCK

ACTIONDOCK / FIELD NOTES

SAFE AGENT ACTIONS.
EXPLAINED.

Technical and operational guidance for moving AI agents from read-only work to supervised API writes.

  1. 01

    Create GitHub Pull Requests With an AI Agent and Human Approval

    Scope an AI agent's GitHub pull-request API access to one repository, review its exact request, and verify the draft without granting a general GitHub token.

    READ ↗
  2. 02

    AI Agent API Key Expiration: Set a Lifetime and Rotate Safely

    Choose an expiration for an ActionDock agent key, replace it before access stops, and understand what an expired key does not revoke.

    READ ↗
  3. 03

    Notion-Version Header for AI Agents: Pin API Versions Before Writes

    Set the Notion-Version header, match page updates to the API contract, and keep version changes inside owner approval rather than agent-controlled request headers.

    READ ↗
  4. 04

    HTTP 202 Accepted in AI Agent Workflows: How to Verify Completion

    Distinguish queued jobs from provider HTTP 202 responses, inspect asynchronous operation state, and verify completion without repeating an approved API write.

    READ ↗
  5. 05

    How to Pause AI Agent API Access Without Deleting a Connection

    Temporarily block an AI agent's API connection while preserving its setup. Learn what pause stops, what can still finish, and how to resume with fresh approval.

    READ ↗
  6. 06

    How to Retry Failed AI Agent Webhooks Without Repeating API Writes

    Recover failed AI-agent webhook deliveries: repair the receiver, retry only the notification, deduplicate stable IDs, and verify job state before resuming work.

    READ ↗
  7. 07

    AI Agent API Rate Limits: How to Handle 429 Without Duplicate Writes

    Handle HTTP 429 in AI-agent workflows: identify which API rate-limited the request, honor Retry-After, and recover approved writes without duplicate effects.

    READ ↗
  8. 08

    How to Cancel an Approved AI Agent API Write Before Execution

    Learn when an approved AI-agent API write can still be revoked, what a queued-to-running race means, and how to handle rejection or uncertain outcomes.

    READ ↗
  9. 09

    AI Agent Approval Timeout: How to Prevent Stale API Writes

    Prevent stale AI-agent API writes with request-bound approval deadlines, final dispatch checks, ETags, and explicit handling for expired proposals.

    READ ↗
  10. 10

    How to Test AI Agent API Writes Before Production

    Test AI-agent API writes before production with a failure-first matrix for policy, approval, ETags, idempotency, callbacks, and unknown outcomes.

    READ ↗
  11. 11

    AI Agent API Concurrency Control: ETags, If-Match, and 412

    Prevent stale AI-agent API writes with strong ETags and If-Match. See how 412 handling differs from approval, idempotency, and reconciliation.

    READ ↗
  12. 12

    AI Agent Egress Control: Sandbox, Allowlist, and API Gateway

    Compare AI agent egress controls across sandboxes, network allowlists, and API gateways—and see why an approved domain is not an approved operation.

    READ ↗
  13. 13

    AI Agent API Guardrails: Deterministic Policy vs LLM Checks

    Learn where deterministic policy, LLM reasonableness checks, and human approval belong in an AI-agent API write path—and why none can replace the others.

    READ ↗
  14. 14

    How to Prevent AI Agents From Deleting Production Data

    Prevent destructive AI-agent actions with least-privilege credentials, request-bound approval, bounded API routes, isolation, and recoverable backups.

    READ ↗
  15. 15

    Webhook Signature Verification for AI Agent Callbacks

    Verify AI-agent webhook callbacks with the raw body, HMAC-SHA256, a timestamp window, constant-time comparison, and atomic delivery deduplication.

    READ ↗
  16. 16

    AI Agent Audit Trail: What to Log for API Actions

    Build an AI agent audit trail that records intent, policy, approval, execution, and uncertain outcomes without leaking secrets or overstating provider evidence.

    READ ↗
  17. 17

    Give AI Agents API Access Without Exposing API Keys

    Keep a target API credential outside the model context while an AI agent submits bounded, owner-reviewed writes through a server-side gateway.

    READ ↗
  18. 18

    AI Agent API Retries: Idempotency and Unknown Outcomes

    Learn when an AI agent can retry an API write, what an idempotency key protects, and how to reconcile execution_unknown without duplicate side effects.

    READ ↗
  19. 19

    AI Agent API Security: Make the First Safe Write

    Learn how to move an AI agent from read-only recommendations to one policy-checked, owner-approved API write without exposing the target credential.

    READ ↗
  20. 20

    Human-in-the-Loop Approval for AI Agent Actions

    A practical design for AI-agent approvals that bind a human decision to one exact API request, preserve pending state, and invalidate stale reviews.

    READ ↗
  21. 21

    MCP Server Security for Write-Enabled Tools

    A production MCP security checklist for write-enabled tools: trusted servers, least privilege, approval gates, credential isolation, and action records.

    READ ↗