Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions core/CONTRACT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Rewording removes the note that waiters cover every blocker that can still settle

The old text said the waiters keep watching the unchanged head "while all blockers can settle". The new text only says they watch the unchanged head. _draft_checks_waiting and _wait_for_checks wait on mergeability and on required checks that are still pending or missing, so the old wording described the scope more precisely. Consider keeping a short clause such as "while blockers can still settle". This change is optional.

Zero seconds can still activate or enqueue a PR. Pending mergeability can
time out (exit 3) with green checks. `loopzero merge --cancel` requests

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Say that --cancel only works with delivery.merge = 'mergify'

cli.py:1581-1583 rejects merge --cancel with an error unless delivery.merge = 'mergify'. The new sentence says the command "requests Mergify removal", which suggests this, but a reader using another merge strategy could still try it. Smallest fix: "With delivery.merge = 'mergify', loopzero merge --cancel (never with --wait) requests queue removal." This change is optional.

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`
Expand Down
Loading