fix(gate): make recorded judgment packet coverage satisfiable - #341
Conversation
|
@codex review |
|
@claude review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @itsHabib's task in 4m 14s —— View job Code Review —
|
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Reviewer: claude |
|
Review disposition and correction at c231da0: Independent review passed c86e011 and reproduced all three saved cases with every active review fully present (Rooms #120: 37, RoxIQ #246: 14, RoxIQ #252: 13) and every source byte/blob checked against its exact Git object. It also reproduced a pre-existing false-completeness case at both base and c86e011: an explicit ./spec.md reference could select changed a/spec.md before considering the root file in the index. That source-selection defect is included in this PR's correction. Explicit ./ paths now retain exact-path intent. A precise unique basename fallback consults the complete index before claiming coverage, and matching considers the combined diff/index so an exact root or known ambiguity wins over a nested changed basename. New regressions cover root references with and without the index plus ambiguity split across diff/index. All three saved replays still pass with unchanged source totals. Claude's reported P2 dead comparison is removed; its P2 map-mutation documentation suggestion is addressed; its P3 label suggestion is addressed by a bounded source-hint slot in the existing metadata writer. Codex reported no major issues at c86e011. Gate vet, lint (zero issues), verify race tests and diff checks pass after the correction. Independent verification and fresh CI/review are being collected for c231da0. No live Gate, custody, installation or merge action occurred. Packet completeness remains a mechanical result, not a judgment. |
|
@codex review |
|
@claude review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Claude finished @itsHabib's task in 5m 45s —— View job Code Review —
|
|
Reviewer: claude |
|
Final evidence at c231da0:
One clarification to Claude's nonblocking observation: Private replay inputs remain local. A local binary is explicitly stamped with this commit. No installed runtime, live evidence supplement, judgment, custody, grant or merge was changed. This verifies packet construction and its safeguards; live provider judgment and delivery remain owner actions. |
|
Owner-reported live confirmation of the reviewed isolated candidate, revision c231da0, SHA-256 6539f9a60ff3676e3d72fa1b765d954a010909fcccacea5d393684ca938323c9:
Existing artifact, source-evidence, grant and custody schemas are unchanged, so no migration is required. Owners used the isolated reviewed binary under their existing repair authorization. No shared installation or direct packet/custody edit was needed. These owner receipts extend the offline replay evidence; this source task did not run their live commands or authorize their downstream merges. |
An independent exact-head review found two packet-resolution defects: - A bare, line-less token matching a changed file by basename was re-resolved against the recorded file index, where an unchanged root blob of the same name won the exact match. Following the packet's own "run gate evidence" advice then required that blob; an oversized one made the run permanently unsatisfiable. Bare tokens now resolve only among changed files. - A precise reference whose basename matched several changed files skipped the index and reported Complete with an ambiguous hint, even when an exact root file of that name would win. Any basename fallback now waits for the index. Pre-existing reference-parsing gaps found by the same review are recorded in FOLLOWUPS.md. Saved Rooms #120 and RoxIQ #246/#252 replays stay complete. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
@claude review |
|
Claude finished @itsHabib's task in 4m 4s —— View job Code Review —
|
|
Reviewer: claude |
A re-review of 6dfeed1 found that resolving bare tokens only among changed files traded one unsatisfiable shape for another. When a monorepo PR changes web/package-lock.json and api/package-lock.json is unchanged, a bare mention of `package-lock.json` kept the lone changed match required even after the index showed the sibling. An oversized lockfile then made the run unsatisfiable, where c231da0 reported an ambiguous hint. A bare token now requires a changed file only when that file is the one path in the repository with the name; any same-named file makes it a hint listing every candidate. An unchanged blob is still never required. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
@claude review |
|
Claude finished @itsHabib's task in 4m 28s —— View job Code Review —
|
|
Reviewer: claude |
|
Review disposition at
|
Summary
Gate can declare a recorded judgment packet incomplete even when its reviews are already rendered, or require source that the supported collector cannot supply. Rooms #120 reproduced duplicate review accounting and a total source limit smaller than its cited files. RoxIQ #246 selected unrelated same-basename files; #252 inferred an unchanged 9.5 MB executable from a command mention.
What this adds
No provider judgment, grant authority, merge or installation is added. Packet completeness describes mechanical coverage.
Validation
c231da0e42a75fb5bf4c27b6b5afce03d98a5916. The independent reviewer repeated full Gate race/vet/lint, all three replays and exact source-byte/blob checks.See
cmd/gate/docs/evidence-coverage-poc.mdfor the measurements and supported same-run repair flow. Private snapshots remain local. Draft only; no live Gate evaluation, supplement, judgment, custody edit, installation or merge.