Skip to content

fix(pr): retain OpenClaw ID validator sources in wrapper archives - #197976

Merged
steipete merged 1 commit into
mainfrom
fix/2430-wrapper-id-closure
Nov 13, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/2430-wrapper-id-closure

Conversation

@steipete

@steipete steipete commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Exact main parent 4ab02e3c: both existing closure cases fail with the same missing files and unresolved extracted import as CI43326868123/job131562365967.
  • With the six entries: both cases pass; both affected closure test files pass 24/24, including extracted-anchor and dependency-resolution coverage.
  • Existing regression tests and assertions remain unchanged; no new baseline or ignore.
  • Fresh independent Codex review found no actionable P0–P2 issues. Required changed checks, including formatting, type-aware scripts lint, and schema/dependency/module guards, pass against the exact parent.

This repairs the regression introduced by #197697 (fc6c25e91564ca1f757d04c5b4676dcab6f66aaa). The original CI failure is not classified as flaky.

@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 12, 2026
@steipete
steipete marked this pull request as ready for review November 12, 2026 23:40
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T23:42:54.608538Z ea84fe3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 12, 2026
@clawsweeper

clawsweeper Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds six OpenClaw ID protocol source files to the trusted PR wrapper archive inventory.

Example: A materialized PR wrapper imports tunnel-principal.ts.

  • Before: The extracted archive lacks statements/validate.ts and its transitive dependencies, preventing module resolution.
  • After: The inventory includes the validator and its complete six-file source closure.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A correct, minimal repair supported by source tracing, reported extracted-context coverage, and a passing exact-head CI gate; validation remains harness-based.
Proof confidence 🦐 gold shrimp (3/6) This internal tooling inventory repair requires no shipped-product demonstration; existing extracted-context tests and exact-head CI support the change.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Maintainers cannot reliably run extracted PR tooling because its runtime source archive omits a required validator.
Reason: The maintainer-authored repair restores the documented archive-closure contract with no new behavior or product choices.

Regression provenance

Possible 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
Reviewed head: ea84fe3e92825384b2ce24415c0730423c779ea0

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 2846c3c adds scripts/pr-lib/wrapper-components.txt:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2846c3ca8b0f; files: scripts/pr-lib/wrapper-components.txt)
  • Jason (Json): Raw commit 387f698 adds scripts/pr-lib/wrapper-components.txt:66 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 387f69830a81; files: scripts/pr-lib/wrapper-components.txt)

PR surface

Other +6. Total +6 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 6 0 +6
Total 1 6 0 +6

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: The omission breaks materialized maintainer PR tooling and existing closure checks, with a narrow archive-inventory repair.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: The omission breaks materialized maintainer PR tooling and existing closure checks, with a narrow archive-inventory repair.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 12, 2026, 7:01 PM ET / November 13, 2026, 00:01 UTC.

@steipete
steipete merged commit 2035b07 into main Nov 13, 2026
189 of 192 checks passed
@steipete
steipete deleted the fix/2430-wrapper-id-closure branch November 13, 2026 00:13
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant