Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review Summary: ✅ CompletedThis 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. |
|
Codex review: blocked before merge. What this changesThis PR clones MCP metadata before freezing it so optional undefined fields cannot crash tool-catalog preparation. Example: An MCP tool has codexApproval: { mode: undefined }.
Review scores
ProductKind: Bug fix · Worth it: No · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 2 items remain Keep open for maintainer disposition: current main already fixes the same failure through #199909, while this maintainer-authored PR offers an alternative snapshot method and broader regression coverage; no introduced correctness defect was found. Priority: P3 Decision needed
Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe agent tool-search catalog prepares reusable immutable descriptors from native, MCP, and client tools while retaining executable tools within each run. flowchart TD
A[MCP materializer] --> B[Tool metadata]
B --> C[Catalog registration]
C --> D[Prepared descriptor cache]
D --> E[Code Mode catalog]
E --> F[Current run executor]
Technical reviewBest possible solution: Retain main's working snapshot owner and let the maintainer decide whether this PR's cross-session regression warrants a focused follow-up. Do we have a high-confidence way to reproduce the issue? The pinned base fails by construction: the real materializer emits an undefined approval mode, stableStringify preserves it, and catalog preparation feeds that non-JSON fingerprint to JSON.parse; current main removes this path. Is this the best way to solve the issue? Cloning at the existing snapshot boundary is a small, coherent repair that preserves cache identity and run-local executors, but current main already solves the reported failure with a JSON snapshot. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b95a1b9f4b06; fix evidence: commit f4d2e4559243, main fix timestamp 2026-11-16T03:05:15Z. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +1. Total +1 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 15, 2026, 11:16 PM ET / November 16, 2026, 04:16 UTC. |
Baseline-Refresh: 9b4659cf34f0ca5a2cd87c9e11d3659e8c55832e
|
The maintainer disposition is to close this PR as superseded by #199909 and #199944. Addressing both open items from the review of
The body now records the superseded disposition and preserves both peers' credit. This closes the alternative without merging it; no fresh review or CI run is requested for the closed PR. |
What Problem This Solves
Superseded by the merged repairs in #199909 and #199944. This PR will not be merged.
User Impact
Main already contains both the MCP metadata runtime repair and its lint follow-up. No additional change or migration is needed from this PR.
Why This Change Was Made
#199909 (
f4d2e45592438dbaae12975e1c4223a991285b7a) fixed the MCP default-approval metadata failure introduced by #199804. #199944 (54070dcab8c21f2b24cf0bf4e9c9439ff44cb753) subsequently fixed the lint failure with an explicit suppression and its inventory entry. This alternative detached-snapshot implementation has no remaining concrete defect to repair on main, so it is retired rather than integrated again.Evidence
On exact current main
3a3eed8695e68e182c4851285a3de90ca2cba0ff, the canonical focused lint command passes forsrc/agents/tool-search-prepared-catalog.ts, and all 14 tests intest/scripts/lint-suppressions.test.tspass. Both peer merges are ancestors of that revision. The semantically unchanged peer JSON snapshot already passed independent qualification of the three original Cron MCP cases and the real nested-metadata reuse regression under Node and Bun.The unmerged alternative at
d756be168fbd4ed8b56d68042b67794a7ec810daalso passed 32 focused cases and independent Codex review. Its required changed check retained an unrelated export-analyzer failure, subsequently repaired by #199948 (2ad689abdb6db8218ccf28dfcbc0dee4bee6a9b8), also present on the qualified current main. Measurements of this unmerged alternative are not evidence of a shipped main improvement. No final-head CI or merge is claimed for this PR.