Skip to content

Clarify trusted and delegated check execution - #1568

Merged
mergify[bot] merged 1 commit into
mainfrom
lean178/1550-trusted-and-delegated-checks
Nov 26, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
lean178/1550-trusted-and-delegated-checks

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Clarify trusted and delegated check execution

Context and goal

  • Context: The CLI behavior was verified in the docs audit.
  • Problem: Existing guidance differs from the current CLI.
  • Goal: The shared README check row and architecture describe trusted-base policy, delegated execution, and the explicit-config reuse fallback.

Closes #1550
Closes #1553

Acceptance

  • The shared README check row and architecture describe trusted-base policy, delegated execution, and the explicit-config reuse fallback.

Validation

Recorded for a6871b96790c

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Review

  • primary, claude, a6871b9, approve

Architecture-Review: unchanged; the documented behavior matches the current CLI without changing the delivery interface.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

loopzero primary review by claude on a6871b96790c2ddf60adfaf1292e9273a07b29de, 20.3s: approve (0 critical, 0 important, 1 suggestion)

Settings per native call (launch configuration and CLI claims, not backend attestation):

  • Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)

Native Claude output is retained in the restricted local review receipt.

Comment thread README.md
| --- | --- |
| `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."

@eowca
eowca marked this pull request as ready for review November 26, 2026 07:07
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

❌ Left the queue · checks failed

9 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 07:07 · rule main · triggered by @eowca with the @mergifyio queue command
  • ❌ Checks failed · draft #1609
  • 🚫 Left the queue 07:17 · a6871b9

Not proven to be this pull request's failure. It failed on top of the pull requests ahead of it, and was not tested alone.

Reason

The merge conditions cannot be satisfied due to failing checks

  • checks

Failing checks:

To get back in the queue

  • If the failure comes from the pull requests it was tested with, or is a flake, comment @mergifyio queue to queue it again as it is.
  • If it is this pull request's, push a fix: the pull request is queued again once its queue conditions match.

Merge conditions not met when it left the queue

  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-neutral = checks
    • check-skipped = checks
    • check-success = checks
2 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 26, 2026
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 5b84736 at 07:29 UTC

10 min in the queue, 3 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 07:19 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1632
  • ✅ Merged 07:29 · 5b84736 · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added queued and removed dequeued labels Nov 26, 2026
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 5b84736 into main Nov 26, 2026
26 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/1550-trusted-and-delegated-checks branch November 26, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Qualify the README sandbox description for delegated checks Describe trusted workflow selection for check and PR publication

1 participant