# Automated action

**Test family:** `ACA`

- **ACA-001** Action receives correct typed inputs and least-privileged authority from rule/run, not configuring user’s future broad session.
- **ACA-002** Retry after timeout/unknown result is idempotent for external and irreversible side effects.
- **ACA-003** Partial batch/fan-out failure exposes exact succeeded/failed items and safe retry.
- **ACA-004** Destination object/recipient/tenant is re-authorized at execution time.
- **ACA-005** Rate/quota/provider failure uses bounded backoff/dead-letter/alert and never loops forever.
- **ACA-006** Cancel/disable policy for queued/in-flight action is explicit; compensation is tested where promised.
- **ACA-007** Dry run makes no side effect and identifies every would-be action.

## Comprehensive per-item coverage

- **ACA-008** Exercise no match, one match, many matches, and boundary-size batches with ordinary and adversarial records.
- **ACA-009** Use text values containing emoticons, emoji, kaomoji, RTL, combining marks, quotes, delimiters, and newlines; preserve comparison and substitution semantics.
- **ACA-010** Deliver the same event once, twice, late, out of order, and after replay; define deduplication and event-time behavior.
- **ACA-011** Race matching events and concurrent workflow instances against the same record; prevent lost updates and duplicate effects.
- **ACA-012** Retry before commit, after commit before acknowledgment, and after downstream partial success; use stable idempotency.
- **ACA-013** Change the condition, template, permission, owner, or target after scheduling but before execution; define snapshot versus latest semantics.
- **ACA-014** Run across daylight-saving gaps/folds, leap day, month end, differing tenant zones, clock skew, and delayed workers.
- **ACA-015** Pause, resume, disable, edit, clone, publish, roll back, and delete while runs are queued or active; preserve version identity.
- **ACA-016** Create direct, indirect, and cross-workflow loops; detect recursion, cap fan-out, and expose why execution stopped.
- **ACA-017** Test missing fields, nulls, type changes, unknown enums, deleted references, schema migrations, and malformed payloads.
- **ACA-018** Run as creator, owner, service identity, changed-role user, removed user, and least-privilege actor; define execution authority explicitly.
- **ACA-019** Cross tenant, workspace, region, and environment boundaries only when explicitly authorized; prevent shared caches or queues from leaking data.
- **ACA-020** Force dependency timeout, rate limit, quota, authentication expiry, malformed response, and permanent rejection; route each to a defined failure path.
- **ACA-021** Verify compensation or rollback for partial multi-step work, including a compensation failure and manual recovery.
- **ACA-022** Measure queue delay, execution latency, throughput, fan-out, backlog, and recovery under the supported load envelope.
- **ACA-023** Provide dry-run or preview where consequences justify it; identify evaluated inputs, matched conditions, and proposed actions without mutation.
- **ACA-024** Verify alerting distinguishes user-data failure, configuration failure, platform failure, and exhausted retries without notification storms.
- **ACA-025** Record immutable version, trigger/event ID, evaluated conditions, actor, permissions, each attempt, side effect, and final outcome without secrets.
- **ACA-026** Replay a historical event against the same and newer definition in an isolated mode; make semantic changes visible.
- **ACA-027** Recover after worker crash, queue redelivery, regional failover, and prolonged outage without losing or duplicating committed work.

[Back to Automation, rules, permissions, and audit index](../../automation-rules.md)
