Repository navigation
fix(pr): retain OpenClaw ID validator sources in wrapper archives - #197976
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: needs maintainer review before merge. What this changesThis PR adds six OpenClaw ID protocol source files to the trusted PR wrapper archive inventory. Example: A materialized PR wrapper imports tunnel-principal.ts.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a focused repair for a verified archive omission still present on fetched main, with no actionable patch findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe PR wrapper reads a revision-pinned source inventory to extract and verify its runtime archive before dispatching maintainer tooling. flowchart LR
A[Pinned Git revision] --> B[Wrapper inventory]
B --> C[Extracted source archive]
C --> D[Tunnel principal module]
D --> E[Protocol role validator]
E --> F[Protocol dependencies]
Technical reviewBest possible solution: Retain the six required sources in the existing revision-pinned inventory while preserving the canonical validator and wrapper behavior. Do we have a high-confidence way to reproduce the issue? The missing runtime import is directly traceable through current source and the archive inventory; no target code or tests were executed during this read-only review. Is this the best way to solve the issue? This is the smallest complete fix: every added path belongs to the validator's import closure, and the existing inventory remains the sole archive owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 02f29597c107. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther +6. Total +6 across 1 file. 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. LabelsLabel 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 12, 2026, 7:01 PM ET / November 13, 2026, 00:01 UTC. |
|
Merged via squash.
|
What Problem This Solves
The materialized PR wrapper cannot resolve the OpenClaw ID protocol validator imported by tunnel-principal. #197697 introduced that runtime import, but the wrapper source archive still omits its six required protocol files. Both the source-closure and extracted-context checks fail on exact main parent
4ab02e3c.User Impact
Native PR tooling receives the complete runtime source closure. The change adds six archive entries, with zero TypeScript or test lines. No dependency, schema, permission, configuration, cache, or timeout changes.
Why This Change Was Made
Register the six required sources in the existing wrapper inventory. Keep the canonical role validator and all protocol, admission, and wrapper behavior unchanged.
Evidence
4ab02e3c: both existing closure cases fail with the same missing files and unresolved extracted import as CI43326868123/job131562365967.This repairs the regression introduced by #197697 (
fc6c25e91564ca1f757d04c5b4676dcab6f66aaa). The original CI failure is not classified as flaky.