Autonomous and overnight delivery: capabilities, setup, and trust boundaries

With permissions and evidence in place, an agent can safely stay in the loop for longer. That is the point where autonomous and overnight delivery becomes a serious option.

A long-running agent can continue past the first implementation and prepare a change for review while the team is offline. It can also spend hours following a bad assumption, rewriting tests to fit broken code, or stopping with half the task unfinished.

Picture two mornings.

In the first, the team opens a focused pull request with a test report, a device recording, and two skipped checks called out for human follow-up. In the second, it finds a large diff, modified test configuration, and a final message that says only "done."

The model may be identical, but the delivery environment created the difference.

Prepare an environment that can finish

Autonomous delivery works best with bounded requirements, stable project context, deterministic checks, and an output the team can recover and review. Within that setup, an agent may inspect a ticket, plan the work, create a branch, implement the change, run checks, verify selected device flows, and prepare a pull request.

A capable model is only one piece of the puzzle. The environment also needs:

  • A clean, reproducible workspace
  • A consistent, approved version of instructions, skills, hooks, and rules
  • Repository instructions and task-specific acceptance criteria
  • Scoped credentials
  • Access to required build and test infrastructure
  • A device or simulator when runtime verification is required
  • Persistent progress records
  • Retry, time, token, and spending limits
  • A list of hard blockers
  • A final report that distinguishes passed, failed, and skipped work

Before starting, check that the agent setup is current and free of unfinished edits. Record its version so results can be traced to the instructions and controls used.

When several unattended runs execute in parallel, bring in the isolation and scope rules from Section 4. Add an aggregate spending limit too. Nobody is awake to notice resource contention or watch several reasonable bills grow into one unreasonable total.

Design for resumption

Long-running agents often work inside containers or sandboxes that can disappear. Store checkpoints somewhere durable, such as the working branch, a database, or an artifact store, so another worker can resume.

Each checkpoint should record the current stage, commit SHA, assumptions and decisions, commands and results, open blockers, and the next action. When a worker resumes, it should validate that record against the current repository and external state before trusting it.

Run a dry pass before granting write access. The agent can inspect the task, propose the stages, identify missing dependencies, and estimate which external systems it will touch. This tends to reveal setup gaps while someone is still around to fix them.

Continuity rules stop a run from declaring victory too early. The workflow should continue while work remains and no hard blocker exists. Every stage must verify its output before the next begins. Persistence without verification simply lets a bad run travel further.

Detect stalls and stop cleanly

Wrap up at the soft limit, stop at the hard limit, and park stalled runs with a blocker.
Figure 21. Wrap up at the soft limit, stop at the hard limit; stalls park with a blocker.

Define progress signals such as a completed stage, new evidence, or a resolved check. A watchdog should detect inactivity and repeated commands with unchanged results. Allow bounded recovery only when the next attempt can make progress; repeated failures become blockers.

Enforce time, turns, tokens, and spending limits per worker and across the run. At a soft limit, stop new work while preserving a narrow path to save state and write a handoff. Use a hard stop if the run exceeds that allowance.

Unattended workers should not wait indefinitely for answers. Resolve minor gaps only within the approved decision scope. Otherwise park the work with the question, evidence, completed stages, and next action. Never invent approval to keep a run moving.

Expand trust from observed runs

Earned autonomy increases in steps while production, native and signing authority stays human-only.
Figure 22. Autonomy grows one earned step at a time; production stays with people.

Trust should grow from observed behavior. Begin with narrow tasks and review every action. Expand the scope after repeated runs show that the agent respects boundaries, reports failures honestly, and produces changes a person can review.

Human accountability remains as automation expands. The policy may authorize routine merges or delivery to a defined testing channel through enforced gates. Signing, production access, native builds, and releases require the approvals the team has explicitly assigned; anything outside that authority returns to a person.

Define and enforce release authority

For React Native teams, over-the-air updates need an explicit policy. A JavaScript update can use a channel such as Expo Updates only when it is compatible with the installed native runtime. Native-runtime changes require a compatible binary and the appropriate build and release process.

Define the authorized channel, audience, required evidence, rollout limits, and approval points. A bounded testing factory can publish automatically after the merge gate and verify that the update reached the device. That policy does not automatically authorize production publishing.

Prepare rollback and a kill switch where supported. Rolling back a bundle cannot undo state the update already persisted. Keep skipped or unavailable checks visible, and stop delivery when required evidence or authority is missing.