Overnight AI Operation

This policy defines how an OSBR developer shapes the workday so that AI agents can run unattended overnight on well-specified work, and how the human judges the results in the morning. It is the working expression of the human ⇄ AI cooperation the AI Usage Guideline sets out: the AI works the night, the human owns the judgment. It complements the Development Guide (how we ship) and the CI/CD Pipeline (how the running system is delivered and measured); this describes how a person hands work to an agent and takes it back. Deviations are allowed, but β€” as everywhere in the handbook β€” they must be deliberate and justified in the project's design notes.

The core discipline is simple and non-negotiable: AI runs on rails you laid in daylight, and nothing it produced is trusted until a human has looked. There is no blank cheque. Overnight autonomy is earned by the quality of the ticket, and checked every morning on return.

This is where OSBR's values become a daily rhythm. Be Nice: leave the agent β€” and your morning self β€” a clean, answerable brief, because a ticket is the clearest instruction a collaborator will read. Be Kind: never let unverified machine output reach a teammate or a client; the review you owe them is a duty, not a preference. Be Strong: do the hard specification work up front, in daylight, instead of leaving the agent to flail against ambiguity in the dark.

1. Goal

Turn a normal workday into fuel for a productive night. By the time the developer logs off, the agent should have everything it needs to work for hours without a human present β€” and everything the agent cannot safely decide alone should be collected, not guessed. The next morning starts with review, never with blind acceptance.

This mirrors an established idea about autonomy: a person can supervise a system either in the loop β€” approving each individual action before it happens β€” or on the loop β€” setting the goal and boundaries up front, letting the system act, and reviewing the outcome afterward (supervisory control; see References). Overnight operation is deliberately human-on-the-loop: the human is not awake to approve each step, so the approval has to be front-loaded into the ticket and the review moved to the morning. That only works if the boundaries were drawn well while the human was still awake.

2. Responsibility

3. Practices

3-1. Structure the day around ticket-writing, not just doing

The overnight run is only as good as the tickets waiting for it. Treat ticket preparation as a first-class daytime activity, not an afterthought at the end of the day.

3-2. A "Definition of Ready" for overnight tickets

Borrowing Agile's Definition of Ready β€” the gate a work item must pass before a team commits to it β€” OSBR adds an overnight bar on top. A ticket is ready to run unattended only when it meets all of the following. Developers MUST NOT queue a ticket for overnight operation that fails any item.

These map directly onto the well-known INVEST qualities of a good work item β€” Independent, Negotiable, Valuable, Estimable, Small, Testable β€” with "negotiable" resolved before the run rather than during it, because there is no human to negotiate with in the middle of the night (see References).

A vague ticket is worse at night than by day

By day, a confused agent can ask you. By night it cannot β€” it will guess, and you inherit the guess in the morning. The cost of ambiguity is paid in full overnight.

3-3. Pre-answer the judgment calls you can anticipate

The heart of this policy: walk the ticket in your head, find the forks in the road, and pre-answer the ones you can. A well-specified prompt closes the decisions an agent would otherwise resolve by guessing.

3-4. Collect the judgment calls you can't pre-answer β€” don't let the agent guess them

Some decisions genuinely need a human: they are irreversible, they touch shared state, they require taste or client knowledge the agent doesn't have, or they only surface once the work is underway. These MUST be surfaced, not silently decided.

No blank-cheque trust

"The agent ran all night and it's probably fine" is not a verification. An unattended run that touched things no human has reviewed is unverified work, and unverified work does not merge, deploy, or get built upon β€” full stop.

3-5. Set guardrails before the run

An unattended agent needs hard boundaries, not just good intentions β€” the fence that makes autonomy safe rather than reckless (see References).

3-6. Begin every day by reviewing the night

The morning is the review-on-return half of on-the-loop supervision, and it is mandatory. The day does not start with new work; it starts with judging last night's work.

4. Summary Loop

  1. Day β€” write well-formed, independent tickets; pre-answer the anticipated judgment calls; set the guardrails.
  2. Handoff β€” queue only tickets that pass the overnight Definition of Ready; the agent parks (does not guess) anything it can't safely decide.
  3. Night β€” the agent runs on-the-loop, unattended, on an isolated reversible surface.
  4. Morning β€” review the night's output before trusting any of it; work the question queue; feed corrections back into the tickets.

The AI works the night. The human judges the morning. Neither skips their half.

References

Named practices this policy is built on, chosen because they are established and freely readable.

Supervisory autonomy β€” in-the-loop vs on-the-loop

Levels of autonomy

Well-formed work items β€” Definition of Ready & INVEST

Agentic AI, guardrails & prompting

Batch processing

Related OSBR standards