diff --git a/README.md b/README.md index 4a50355e..f2cbf0fe 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ It exists for people and coding agents who ship many small PRs and want the same discipline on every one of them: checks run in a sandbox with read-only Git metadata and no network by default, a reviewer reads the exact head (from a different family by default, subject to the contract's bounded owner-approved -contributor-review exception), and a PR merges only when the head is unchanged since review, no -blocking finding is open and required CI is green. The full rules fit in +contributor-review exception), and a PR needs an eligible review, resolved +blocking findings and green required CI to merge. The full rules fit in [core/CONTRACT.md](core/CONTRACT.md). The [architecture guide](docs/ARCHITECTURE.md) explains current boundaries, @@ -31,9 +31,8 @@ ownership and the contributor routine that keeps documentation current. For a picture of the whole flow, see the [workflow diagrams](docs/WORKFLOW.md). -`loopzero status` prints where the current branch is in that sequence. It -requires authenticated access to the configured GitHub repository even before -a PR exists. +`loopzero status` reports the branch stage and can exit 0 with `ready: no`. +It requires authenticated GitHub access even before a PR exists. `loopzero resolve` lists the open blocking findings with their ids; `loopzero resolve ""` replies in that thread and resolves it. @@ -48,8 +47,8 @@ GitHub; keep acceptance changes in both task.md and the PR by rerunning `pr`. Review publication records duration and distinguishes requested model/effort from CLI-reported claims, which are not backend attestation; saved artifacts preserve -them for `--repost`. The full transcript stays in `.loopzero/review--.json`; -`loopzero review --repost` uses it without rerunning the model. +them in `.loopzero/review--.json`. `loopzero review --repost` uses +the saved review without a model call and rejects `--model` and `--effort`. Waits observe immediately, then use 30/60/120-second intervals with up to 10% earlier jitter, bounded by the timeout. Each readiness observation rechecks diff --git a/core/CONTRACT.md b/core/CONTRACT.md index a70b9875..3cae4bbf 100644 --- a/core/CONTRACT.md +++ b/core/CONTRACT.md @@ -285,8 +285,8 @@ meta-directives; reviewers load no instruction files or skills from the reviewed Fail closed on missing tools and command errors, preserve the failing command and output tail, and keep a short, safe detail about the cause or stage when operator-facing code wraps an error. Stop on terminal failures or quota errors. -Exit 3 means waiting: rerun the bounded waiter. Exit 5 means changes requested, -not a crash. +Exit 3 means waiting or timeout. Review exits 4 when independent review is +unavailable and 5 when changes are requested. Interruption exits 130. **Never pipe a `loopzero` command, even with `set -o pipefail`: the pipeline can report the filter's exit code in place of the command's verdict.** Redirect