Control Packs · AUT-004 · v1.0.0

Finished
is not the same as complete.

Count what a run should process. Report what it did. Keep what it skipped.

Automated Work Completeness and Accuracy

In review

See it in an app

Where this goes wrong in an app.

Pick the kind of app closest to yours. Amber marks where the problem happens. Blue marks where your decision applies.

In the failure map

Which step of a system this protects.

Most systems built with AI agents follow these steps. This safeguard covers the highlighted one. See the map for your own system →

  1. Starts hereA request or outside content arrives
  2. Decided hereThe app or AI decides what to do
  3. Acts hereThe change is made
  4. This safeguard’s step: Checked afterThe result is recorded and watchedIncomplete work looks finished
  • Stored throughoutRecords every step reads and writes

Reference and context

Pack reference · v1.0.0

What this safeguard addresses

Ensure every automated run states what it was expected to process, reports what it actually processed and what it did not, checks its output against a defined expectation or source of truth before the result is relied on, and surfaces discrepancies to a person instead of absorbing them.

  • An automated run is treated as finished without being checkedAn automated job, workflow, or agent finishes without raising an error, and its result is accepted as complete and correct. Nothing states what completeness means for a run, nothing compares the result against a source of truth, and skipped, duplicated, or incorrect items look identical to correctly handled ones.
Matching rule
{
  "any": [
    {
      "characteristic": "CONSEQUENTIAL_ACTION",
      "equals": true
    },
    {
      "characteristic": "TOOL_ACCESS",
      "equals": true
    }
  ]
}

Decisions you need to make

Leave a decision open when its value is unknown. Confirm a suggested value only if it matches your intended design.

  • What has to be true for one run to count as complete and correct?"It finished without an error" is not the same as "it did the whole job correctly". Only you can say what the run was supposed to cover and what it should be checked against — a record count, a control total, a source system, a reconciliation.AUT-004-Q1 · scope
  • What should happen when a run finishes but some items could not be processed?Partial completion is the normal case at scale. Continuing silently, holding the whole run, and reporting-and-proceeding are all defensible, but they lead to different implementations and cannot be chosen for you.AUT-004-Q2 · choice

Requirements for the coding agent

  • AUT-004-R1For each automated run, record the intended work set, the items processed, the items skipped or failed with a reason, and the outcome of the confirmed completeness and accuracy check. Make a re-run safe against duplicates, and do not report a run as successful when its own check did not pass.
  • AUT-004-R2Implement the confirmed behaviour for a run that could not process every item, surface the exceptions to a person with enough detail to act on them, and never discard an unprocessed item without recording it.

Tests and evidence to keep

  • RUN_COMPLETENESS_TESTRun against a known work set with a deliberately missing, duplicated, and malformed item, and confirm the completeness and accuracy check fails rather than reporting success.
  • PARTIAL_RUN_TESTInterrupt a run mid-way and re-run it, and confirm the confirmed partial-completion behaviour, no duplicate effects, and an exception record for every unprocessed item.
  • configuration_or_policy
  • implementation_location
  • test_result
  • telemetry_definition
  • operational_procedure

Passing a published example shows that example's behavior. A coding agent's implementation report remains a claim until its evidence is independently checked.

Related guidance

  • SI-7 · Software, Firmware, and Information IntegrityNIST_SP_800_53_5_2_0 · partially addressesChecking automated output against a defined expectation is an integrity check on information the system produced; it does not cover the full control family.
  • CA-7 · Continuous MonitoringNIST_SP_800_53_5_2_0 · informsPer-run completeness and exception reporting supplies monitorable evidence for this automation; it is not a continuous-monitoring programme.
  • AU-2 · Event LoggingNIST_SP_800_53_5_2_0 · informsRecording expected, processed, and exception counts per run supports later reconstruction of what an automated run did; it is not a complete audit programme.

These references cover related topics. They do not mean this pack satisfies a framework, certifies your project, or has government endorsement.

Review your project

Design guidance, not independently verified implementation or certification.