Repository navigation
fix(pr-gate): ignore hidden reviewer metadata - #8
Conversation
Ignore HTML-comment metadata when reading findings or clean review text, while retaining head association for visible bot-comment findings. Intent: #7
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
Summary
Hidden Codex thresholds currently veto clean commit-bound reviews. This fix reads GitHub's rendered representations instead of approximating Markdown visibility. Raw Markdown remains available for typed advisory markers and existing head association; comments still cannot sign off.
The producer requests the documented full-media response for issue comments and reviews, retaining
body_textandbody_html. Plain text omits real severity-badge image labels, so the decision also reads image alt text from rendered HTML while skipping comments and respecting quoted tags/attributes. Missing or malformed rendered fields hold the current review evidence; they cannot grant approval.Intent: Fixes #7
Maker-Harness: Codex
Checker-Harness: Pending independent non-Codex review
Verification receipt
7e29862b948d83f6177dc176fd95fbd4845543eb.node --test pr-gate/decide.test.mjs: 37/37 pass, Node v24.14.0. Tests execute the actual producer with every network request intercepted, including report writes; verify full-media headers, pagination, rendered-field mapping, missing evidence, raw metadata-only head association and retained visible badges.node --check;git diff --checkpasses.GitHub Actions 1000000778, tested merge14635831c50e62417adda61270c83a23c0fdaa83.Integration
Draft #5 separately hardens provenance and removes unqualified merge authority. Preserve its ownership and stronger approval/provider-evidence rules. A refreshed offline rehearsal combines exact #5
2259bd0with this head and passes 82/82 tests. It reconciles approval/provider expectations and configures the producer fixture with authenticated app/workflow/suite/attempt evidence. P5's client permits only the new Accept override while retaining controlled authorization/API-version headers. The integration delta applies to exact P5 copies; neither branch was changed by the rehearsal. This is not an independent review or live reusable-job/fork proof. The earlier 71-test packet is superseded. This PR remains the focused visibility repair; it does not take over #5.A substantive non-Codex exact-head review is required before readiness. Frank owns protected integration; caller rollout must use the actual merged SHA afterward. The author will not approve or merge this PR. A reviewed revert of the three changed files is the rollback.