Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ownership and the contributor routine that keeps documentation current.
| Command | What it does |
| --- | --- |
| `loopzero start <slug>` | 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. |

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: Check row drops the exit-code verdict and does not mention the --config unpinned override

The old row said the exit code is the verdict. Nearby rows (review: "Exits 0 on approval, 5 on changes requested") still state their exit semantics, and the code comment at src/loopzero/cli.py:884 says "as for check". The new row leaves that out. It also calls the checks "trusted-base" without qualification, but _load_config (src/loopzero/cli.py:111-113) runs them unpinned when --config is given. The architecture text covers this, but the README summary can mislead. Smallest fix: "Run trusted-base (or explicit --config) checks with local bwrap or the configured runner; the exit code is the verdict."

| `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. |
Expand Down
6 changes: 3 additions & 3 deletions docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,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.
Expand Down Expand Up @@ -497,8 +497,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.
Expand Down
Loading