diff --git a/README.md b/README.md index 4a50355e..136da45a 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, @@ -23,7 +23,7 @@ ownership and the contributor routine that keeps documentation current. | Command | What it does | | --- | --- | | `loopzero start ` | Create a worktree and branch from base; write the Context/Problem/Goal task template. | -| `loopzero check` | Run `workflow.toml` checks in a bwrap sandbox; exit code is the verdict. | +| `loopzero check` | Run trusted-base checks with local bwrap or the configured runner. | | `loopzero pr` | Push and open a draft PR from the task file, with its Validation section rendered. | | `loopzero review` | Run one Claude or Codex review on the exact head; post it and append its summary under Review. Exits 0 on approval, 5 on changes requested. | | `loopzero ready [--wait[=SECONDS]]` | Verify head, findings and CI; optionally wait for required checks on that head. | @@ -48,8 +48,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/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 462bb23c..2f1bda94 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -160,7 +160,7 @@ For a Codex executable installed inside protected native state, the implicit runtime mount exposes only the resolved executable and its existing sibling `codex-code-mode-host`, read-only. Neighboring history and configuration remain hidden; helper aliases into protected state and explicit state mounts fail closed. -Check, review, ready, merge, and status use the workflow at one remote-tracking +Check, pr, review, ready, merge, and status use the workflow at one remote-tracking delivery revision selected by the workflow at Git's local `origin/HEAD`. Missing trusted refs or workflows block these commands. An explicit `--config` supplies validated policy for bootstrap or operator overrides. @@ -509,8 +509,8 @@ command, version, sandbox configuration and the resolved base SHA. A stage runs fresh when a matched path cannot be identified as a readable regular file. The receipt fingerprint also binds the base SHA when reuse is configured, so advancing the base invalidates a pass at the same task head. -If the remote ref is absent, checks use the task's recorded base. Without -either base, local stages run fresh. +With explicit `--config`, reuse can fall back to the recorded task base if the +remote ref is absent. Without either base, local stages run fresh. The `"*"` entry adds shared inputs to listed commands. Unlisted commands reuse only when `"*"` includes `"."` (the whole tree); a partial or empty `"*"` leaves them unkeyed. Consumers own complete input declarations.