Repository navigation
Conversation
Readiness, hosted eligibility and loopzero resolve now count an unresolved review thread as a blocking finding only when a configured review publisher wrote its first comment and that comment opens with a head-bound v=1 finding marker. Threads from other commenters, quoted markers and unversioned markers no longer block or reach the resolve flow. Closes #1100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
loopzero primary review by codex on c105fb1748ad9f2b3fd363bd568360f93e4931fa, 32.0s: request_changes (1 critical, 1 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: 2df983c7a1107c23dae0dec887ededf9e8955d2830e96b8ddfccf957cfd03f31
| """(marker id, thread id, finding) for every unresolved blocking thread, any head.""" | ||
| return [ | ||
| (MARKER_RE.search(node["comments"]["nodes"][0]["body"]).group("id") or node["id"], node["id"], f) | ||
| (_thread_marker(node, publishers).group("id"), node["id"], f) |
There was a problem hiding this comment.
suggestion: Return the marker ID with the parsed finding
open_findings and resolve_finding both call _thread_marker again after _parse_thread has already authenticated the author and parsed the marker. Returning the ID alongside the finding would remove the duplicate checks and the need for both callers to assume an optional match is present.
loopzero resolve now loads review publishers from the pinned base configuration, like ready and merge, so a PR's own workflow.toml cannot add a publisher. A finding marker counts only as the exact emitted first line with a full head and id. Refs #1100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
loopzero delta review by codex on f65764ab3e2f065145a1e210987440a5c2bcdcde, 25.3s: request_changes (0 critical, 2 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: d783ab9e1709feda04833d072f23bac7a3f432485cd06a6d0d90683b607bb5fa
loopzero resolve now refuses a PR whose GitHub base differs from the configured base before reading findings, and pinned configuration never takes review publishers from the PR when the base has no workflow.toml; the current-login fallback applies instead. Refs #1100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Parked. Head 5e6c40a carries repair commits after the second (delta) review, so it has no covering review; the contract puts it in a new PR. A replacement branch merged with current main is ready locally (lean178/1100-trusted-thread-findings-2 at ec58d65; main's new trusted-config loader already covers the round-two base/missing-workflow findings, so those parts were dropped). It is blocked by the test-line cap (13,514 vs 13,500). Next: once the test cap is raised, run |
|
Superseded by #1454, which carries this change plus the repairs made after this PR's second (delta) review, merged with current main, for a fresh review. Main's trusted-config loader now covers the round-two findings here. Findings and dispositions stay recorded in this PR's threads. |
Count review-thread findings only from review publishers
Context and goal
loopzero resolvetreated any unresolved review thread containing a finding marker as a blocking reviewer finding, whoever wrote it and wherever in the comment the marker sat. On a public repository any GitHub user can open such a thread, block merge, and have its text handed to an agent as reviewer output. A reviewer's own non-blocking comment that quoted a marker also became blocking.<!-- loopzero:finding v=1 severity=... head=... id=... -->). Review publishers are the trusted GitHub logins in the baseworkflow.toml(delivery.review_publishers), the same set already used to decide which reviews count.Closes #1100
Acceptance
open_blocking_findings,open_findings(loopzero resolve),readiness(loopzero ready/merge) and hostedeligibility.evaluate, even with a valid marker.v=1marker (with head and id) blocks; the older unversioned forms without a head binding no longer do.name[bot]); GraphQL reports bot authors without that suffix, so the code adds it only forBotauthors, and a user account with the same name does not match.Notes
readiness,open_blocking_findingsandopen_findings, so no caller silently gets an unfiltered or empty set; with no configured publishers the CLI uses the current login, as it already does for reviews.tests/test_cli.py::test_resolve_and_ready_ignore_findings_from_non_publishersfails on pre-fix source (the outsider's finding is listed byloopzero resolve) and passes after.loopzero resolvenow loads review publishers pinned to the base, asreadyandmergedo, so a PR cannot add its author to the publisher list; the marker must be the exact emitted first line (40-hex head, 8-hex id), so split, trailed or truncated markers do not block. Both have regression tests that fail at the reviewed head. The suggestion to return the marker id from the parser is not taken: optional, no behaviour change.resolvenow refuses a PR whose GitHub base differs from the configured base before reading findings, and pinned config ignores PR-supplied publishers when the base has noworkflow.toml(affectsready/mergetoo; the current-login fallback applies). Both have regression tests that fail at the delta-reviewed head. This was the last review round under the budget.v=1markers for a long time; an open PR still carrying an old unversioned blocking thread would stop being blocked by it.Base
main @ d58413a
Base: d58413a
Validation
Recorded for
5e6c40a8ff7fuv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review