Repository navigation
Conversation
Architecture-Review: unchanged; the CLI keeps its public commands, read and write boundaries, receipt format, and policy checks. Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; the combined merge preserves the current base-conflict report and consolidates only request construction. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on e7966bf061a21d61d61de0f92332bc3ae4ff166e, 59.6s: approve (0 critical, 0 important, 4 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: This slice alone does not meet the ≥250-line acceptance target — The task notes report this slice at 7,730 → 7,576 source lines (−154). The acceptance criterion asks for at least 250 net fewer source lines, so this PR only meets it if the second source-dedupe slice lands too. Smallest fix: state in the PR body that the 250-line target applies to the whole wave, or link the second slice, so readiness isn't judged on this PR alone.
Native Claude output is retained in the restricted local review receipt.
|
|
||
| def _branch_head(repo: str, branch: str) -> str | None: | ||
| endpoint = f"repos/{repo}/branches/{quote(branch, safe='')}" | ||
| def _ref_sha(endpoint: str, field: str) -> str | None: |
There was a problem hiding this comment.
suggestion: _ref_sha picks one of two unrelated validation rules from the field string
_ref_sha(endpoint, "commit") requires a 40-hex SHA and fails with "invalid remote branch SHA". _ref_sha(endpoint, "object") accepts any non-empty string and fails with "missing remote ref SHA". Hiding both rules behind one string switch makes it easy for a future caller to pass the wrong field and get the weaker check without noticing. Behavior is unchanged today. Consider sharing only the fetch-or-404 step and keeping each validation at its call site, or passing the validator explicitly.
| raise ConfigError(f"{path}: {exc}") from None | ||
|
|
||
|
|
||
| def run_git(worktree: Path, *args: str, timeout: float = 60) -> _proc.Completed: |
There was a problem hiding this comment.
suggestion: The shared git runner lives in config.py, so the CLI depends on config for unrelated git calls
run_git wraps _proc.run with worktree_mod.GIT_ENV. It is now used for all of the CLI's git plumbing (_git, _is_ancestor, _primary_base, cmd_start, cmd_pr, _refresh_pr_checks). Putting it in config.py ties those git calls to the config module, and its hardcoded default timeout of 60 only matches cli.GIT_TIMEOUT (60.0) by coincidence. Consider moving it to worktree next to GIT_ENV and taking the timeout from one shared constant.
| changed file with a hunk, so every blocking finding creates a review thread. | ||
| A supplied publisher is the login already checked for the supplied token. | ||
| """ | ||
| """Publish with the verified login for token. GitHub only permits self-reviews as comments.""" |
There was a problem hiding this comment.
suggestion: post_review docstring dropped documented fallback-anchoring behavior
The removed docstring explained that findings with a missing location, or one outside the diff, are anchored on the first changed file with a hunk, so every blocking finding creates a review thread. It also explained that pr is fetched when not given. The code still does this, but the new one-line docstring no longer says so. Consider keeping one sentence on the anchoring rule, since it is a non-obvious invariant that readers of this function rely on.
Architecture-Review: unchanged; this restores the original parser implementation before taking main’s entry-point split. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on 4235dbb0a5451e1f3d808444db6f13731702c518, 10.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)
Findings without a file location:
- suggestion: Reverting the parser helper adds about 14 source lines back to this slice — This delta replaces the local
command()helper with the originalsub.add_parser(...)/set_defaults(func=...)calls. The two versions behave the same: subcommand order, names, help text, theresolveusage string, arguments andfuncbindings all match, andCallableis still used elsewhere in the file (lines 693 and 962). The cost is that cli.py gains about 14 net source lines, which works against this task's goal of freeing source lines. Because the commit hands parser setup to the main entry-point split, recheck the size figure in the task notes (7,730 → 7,576, −154) against the final tree. Also confirm that the other slice actually takes over this dedupe so the work isn't dropped by both slices.
Native Claude output is retained in the restricted local review receipt.
|
Owner queue route: the full sandboxed check passed on |
|
@Mergifyio queue |
🚫 Left the queue · queue conditions no longer match3 min in the queue, with no time running CI. So far
Reason Pull request #1558 has been dequeued Queue conditions are not satisfied:
To get back in the queue
Times in UTC · dashboard · how the merge queue works |
|
No description provided. |
Reduce duplicated delivery source
Context and goal
Refs #575
Acceptance
Notes
Assigned slice measures 7,824 → 7,684 source lines (−140) and 13,695 → 13,695 test lines. The second source-dedupe slice owns the remaining modules. No tests were added or altered.
Keep GitHub status, review and ownership evidence pinned to the same head and credential. Preserve parse failures, fail-closed guards, deadlines, exception handling and cleanup effects. Check review and queue overlap from the isolated plan snapshot.
Base
Base: 89788a4
Validation
Recorded for
a49d20669a42(not current head) (unverified, runloopzero check)uv 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