Repository navigation
Consolidate CLI review, policy and PR tests - #1898
Conversation
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 9b940fad483b47fee6e114a267285a74f316c7d5, 34.4s: request_changes (0 critical, 1 important, 0 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.
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <codex@openai.com>
83b34a3 to
bc18e87
Compare
There was a problem hiding this comment.
loopzero delta review by claude on bc18e87a099a5676a4fec091f876c87cd42d5860, 15.9s: 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.
| older_base = head_of(repo) | ||
| advance_checks(repo, ["echo current-base"]) | ||
| git(wt, "tag", "origin/main", older_base) | ||
| expected, absent = (f"checks pinned to origin/main@{head_of(repo)}", "running: echo current-base"), "running: echo ok" |
There was a problem hiding this comment.
suggestion: Tuple-packed assignment for line savings makes the line harder to read
Packing expected, absent = (...), ... onto one line makes it about 127 characters, well over the configured line-length = 100. Ruff doesn't enforce this because E501 isn't selected, and the file already has about 38 lines this long, so nothing breaks. Still, this saves one line by mixing the nested tuple with the absent value, and the boundary between them is easy to misread. Optional fix: split it after the inner tuple's closing paren. Separately, the bare posted_review(gh) at line 1504 discards its return value and works only as a JSON-parse check. A short comment, or assert posted_review(gh), would make that intent clear.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Consolidate CLI review, policy and PR tests
Context and goal
Refs #575.
Acceptance
Notes
Base ac55b16. Hunk ownership was checked against open GitHub PR file diffs. The base line intervals for all edits fall within lines 1–2,440.
Validation
Recorded for
bc18e87a099auv 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.Coverage proof
Identical slotted coverage.py 7.17.5 full-suite runs compared main 417fa92 with merge candidate 83b34a3. Both executed exactly the same 6,033 package source lines and 1,744 executable branch arcs. No executed line or arc was added or lost. Both collected 2,060 cases, with 2,051 passing and the same nine opt-in IntelFlo replay cases skipped.
The delta review uses linear PR head bc18e87 because the review shim rejects a merge commit after the reviewed head. Git merge-tree confirms that merging bc18e87 into 417fa92 produces the exact tree tested at 83b34a3.
Against main 417fa92, this PR changes only tests/test_cli.py (155 added, 215 removed).
Review
Assertion inventory
I listed and mapped the distinct assertions in every removed or merged test before requesting delta review. The surviving cases keep these checks.