Repository navigation
fix(pr): include deferred migration contract in wrapper - #165572
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: needs maintainer review before merge. Reviewed October 5, 2026, 8:48 AM ET / 12:48 UTC. ClawSweeper reviewWhat this changesAdds the deferred plugin migration contract file to the source inventory copied into OpenClaw’s standalone PR tooling wrapper. Merge readiness✅ Ready for maintainer review The fix remains necessary on the pinned main revision and correctly closes the wrapper’s missing import dependency. No introduced defect was found; this MEMBER-authored PR remains subject to normal exact-head CI and merge gates. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s PR tooling materializes trusted wrapper code from main using an explicit source inventory. Missing runtime dependencies prevent that wrapper from loading and provisioning PR worktrees. flowchart TD
A[Trusted main revision] --> B[Wrapper source inventory]
B --> C[Materialized PR tooling]
C --> D[Load migration module]
D --> E[Migration contract available]
E --> F[PR worktree provisioning]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceOther +1. Total +1 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the canonical wrapper inventory closed over its existing runtime imports while preserving the migration contract’s leaf-module separation. Do we have a high-confidence way to reproduce the issue? Yes, source establishes a deterministic missing-import path when the wrapper is extracted from the pinned main inventory. This review did not execute provisioning or tests. Is this the best way to solve the issue? Yes, adding the existing imported file to the authoritative inventory is the narrowest repair and follows the materializer’s established contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4ce5c0b54b05. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Merge main through 2fec39f to include the deferred-migration wrapper inventory repair from #165572 (0448597). The two CI jobs on the prior merge ref failed on that main-side omission; the original PR head passed all five inventory comparisons, while unmodified main failed all five. Preserve the same introduced P7i delta across all 39 files while integrating main's newer worker read contracts. Production routing remains host-owned. Core production types, private-row actor proof, runtime/import graph checks, and fresh P2 review pass. The SDK comparison 6ee9c88a remains applicable to the unchanged introduced delta and has no direct exported-declaration changes.
Incorporate the trusted wrapper dependency inventory repair from #165572. The reviewed Memory Core production and fixture patch is unchanged by this conflict-free main integration; rerun type and cycle gates on the integrated tree before landing.
Summary
21901766c534Evidence
test/scripts/pr-worktree-provision.test.tscases because the materialized wrapper could not importsrc/infra/deferred-plugin-migrations.contract.jsdeferred-plugin-migrations.tsgit diff --checkpassed