From d32050f911aaf11b82b0960f16fba08ec426b923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivett=20=C3=96rd=C3=B6g?= Date: Wed, 29 Jul 2026 16:50:51 +0200 Subject: [PATCH] Add Overnight Batch pattern Co-Authored-By: Claude Opus 5 --- documents/patterns/overnight-batch.md | 25 +++++++++++++++++++++++++ documents/relationships.mmd | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 documents/patterns/overnight-batch.md diff --git a/documents/patterns/overnight-batch.md b/documents/patterns/overnight-batch.md new file mode 100644 index 0000000..350a236 --- /dev/null +++ b/documents/patterns/overnight-batch.md @@ -0,0 +1,25 @@ +--- +authors: [ivett_ordog] +alternative_titles: ["Unsupervised Delivery"] +--- + +# Overnight Batch + +## Problem +Supervised agent sessions are limited by your attention. Small, well-understood tasks queue up and either steal focus from the work that actually needs you, or never get done. Delivering trivial fixes interactively spends the scarcest resource — human hours — on work that doesn't need them. + +## Pattern +Turn the backlog into unattended batch work: + +1. **Capture** every idea and bug as a GitHub issue the moment it comes up +2. **Batch-plan**: periodically plan many issues in one round. Absorb shared work into common groundwork, order by dependency, and give every issue a deterministic acceptance gate (tests, grep, a script) +3. **Label** the ready ones — e.g. "ready for unsupervised" +4. **Deliver unattended**: a cloud or background agent works through the labeled batch while you're away — one branch or PR per issue, gate verified +5. **Review in bulk** the next morning + +The deterministic gate is what makes unsupervised delivery safe: acceptance doesn't depend on judgment the agent might fudge. Batch planning is what makes it efficient: planning ten issues at once surfaces shared groundwork that per-issue planning would duplicate ten times. + +## Example +A planning pass turns a feature request into the fewest well-scoped issues, each dependency-ordered and gated, labeled "ready for unsupervised". A scheduled cloud agent picks up everything with the label overnight and delivers each issue as a PR with its gate green. Morning review is scanning a handful of PRs — not supervising a handful of sessions. + +Tools that enable this: scheduled cloud agents (cron-style routines), the GitHub-app variants of coding agents, and scripted multi-agent workflows for the delivery run itself. diff --git a/documents/relationships.mmd b/documents/relationships.mmd index b4046f6..7eae094 100644 --- a/documents/relationships.mmd +++ b/documents/relationships.mmd @@ -100,6 +100,9 @@ graph LR patterns/yak-shave-delegation -->|uses| patterns/background-agent patterns/yak-shave-delegation -->|uses| patterns/focused-agent patterns/yak-shave-delegation -->|solves| anti-patterns/distracted-agent + patterns/overnight-batch -->|uses| patterns/background-agent + patterns/overnight-batch -->|uses| patterns/orchestrator + patterns/overnight-batch -->|uses| patterns/feedback-loop patterns/you-do-it <-->|similar| patterns/reverse-direction patterns/semantic-anchors -->|uses| patterns/context-management patterns/semantic-anchors <-->|similar| patterns/semantic-zoom