Repository navigation
Conversation
Architecture-Review: unchanged; the pinned workflow still owns review authorization and now requires an explicit publisher list. Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; retain main’s trusted publisher refresh before validating the current list. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on a00e31a3e23cec094c53f14ea7bd5ad4e76117db, 33.3s: approve (0 critical, 0 important, 2 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)
Findings without a file location:
- suggestion: The fallback to the active login is still in place behind the new guard —
_readinessstill usesconfig.review_publishers or (github.login(),). So doescmd_resolveat line 1835, and the review path at 1015 usesconfig.review_publishers or (publisher,). The new check in_load_configonly stops this fallback for ready/merge with the trusted config. It can still be reached in two ways:loopzero ready/merge --config <file>with no publishers (theargs.configearly return at line 135 skips the check), andstatus(line 1882 calls_readiness). With--configthe operator writes the publisher list anyway, so this doesn't add any trust. Still, the delivery path now has two rules that can drift apart. Smallest fix: remove theor (github.login(),)fallback from_readiness, so an empty list finds no qualifying review instead of trusting the current token. If--configshould also be covered, apply the same publisher check on theargs.configbranch for ready/merge.
Native Claude output is retained in the restricted local review receipt.
| config = config_mod.load_trusted(root, previous=previous, refresh=refresh) | ||
| if (args.command in {"ready", "merge"} and not getattr(args, "cancel", False) | ||
| and not config.review_publishers): | ||
| raise config_mod.ConfigError( |
There was a problem hiding this comment.
suggestion: The error message says what's wrong but not what to do next
The acceptance criteria ask for the workflow source, the setting and an operator instruction. The message gives the source and the setting. Its only instruction is 'must list the intended publisher logins', which doesn't say where to make the change. Consider adding a concrete next step, such as adding review_publishers = ["<login>"] under [delivery] and merging that into the base branch. That matches the more actionable hints in config.py (e.g. lines 113 and 162).
|
waits for test headroom after #1663 |
Require named review publishers in trusted delivery workflows
Context and goal
Closes #1386
Acceptance
Base
Base: 6c58d64
Validation
(no
loopzero checkrun recorded)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review