From 57212083f17a845ad3d14d64cc906b3b1aa29a82 Mon Sep 17 00:00:00 2001 From: eowca <4008965+eowca@users.noreply.github.com> Date: Thu, 26 Nov 2026 07:53:02 +0100 Subject: [PATCH] Document zero-second waits and queue cancellation Architecture-Review: unchanged; the documented behavior matches the current CLI without changing the delivery interface. Co-Authored-By: Codex --- core/CONTRACT.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/CONTRACT.md b/core/CONTRACT.md index 01f99ca4..110515b0 100644 --- a/core/CONTRACT.md +++ b/core/CONTRACT.md @@ -23,9 +23,10 @@ own delivery state; `.loopzero/` holds task text and local receipts. 5. `loopzero ready --wait` marks ready PRs ready for review. It also activates drafts blocked only by missing/skipped checks to trigger CI, even with mergeability pending. Without waiting, activation exits 3. - Both waiters observe the unchanged head while all blockers can settle, - with `--wait[=SECONDS]` (default 1800). Pending mergeability can block with - green checks and gets its own timeout message (exit 3). + Both waiters use `--wait[=SECONDS]` (default 1800) on the unchanged head. + Zero seconds can still activate or enqueue a PR. Pending mergeability can + time out (exit 3) with green checks. `loopzero merge --cancel` requests + Mergify removal without `--wait`. Green can precede CI scheduling. After two minutes with only missing checks and none pending, inspect scheduling, triggers and permissions, then retry. 6. After step 5 exits 0, run from a durable directory such as `/tmp`