Repository navigation
fix(ci): restore PR alias delegation checks - #149488
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 real behavior proof before merge. Reviewed September 15, 2026, 7:32 PM ET / 23:32 UTC (Revision 2). ClawSweeper reviewWhat this changesPrepares dependencies in the PR alias test fixture so delegation checks reach the intended supervisor handoff. Merge readiness⛔ Blocked before merge - 1 item remains The repair remains necessary on the inspected main revision, and no actionable patch defects were found. The earlier proof blocker does not apply to this verified repository-admin author’s test-fixture-only change. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s maintainer command aliases forward arguments to a shared wrapper that selects trusted tooling before starting supervised PR operations. These tests inspect that handoff and verify refusal when the trusted reference is missing. flowchart LR
A[Alias command and arguments] --> B[Shared PR wrapper]
B --> C{Trusted tooling available}
C -->|Yes| D[Dependency preparation]
D --> E[Supervisor handoff recorder]
C -->|No| F[Refusal]
E --> G[Argument and caller assertions]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +2. Total +2 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep alias checks focused on delegation while separate dependency tests protect materialization and missing-package refusal. Do we have a high-confidence way to reproduce the issue? Yes, from source: running the alias group without linked dependencies invokes the Node recorder during materialization and produces exit 1 instead of 73. The body reports that failure; this read-only review did not execute it. Is this the best way to solve the issue? Yes. Reusing the existing dependency helper repairs fixture setup without weakening assertions, changing production routing, or removing code-only dependency coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8384aaf0517c. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
Main independently landed #149481 and #149488, leaving two dependency-link calls in the alias fixture and causing EEXIST before all twelve alias/refusal cases. Retain the post-checkout setup and remove only the redundant earlier call; assertions, helpers, and production wrappers are unchanged. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: Dallin Romney <[email protected]>
Reuse the existing Main correction from #149481/#149488/#149477. Link installed dependencies before intercepting Node so the recorder observes the trusted supervisor handoff. Preserve all delegation/refusal assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
* test(gateway): stabilize yielded-session settlement * test(pr): prepare dependencies for alias handoff fixtures (#149488) * test(pr): refresh wrapper dependencies idempotently --------- Co-authored-by: Peter Steinberger <[email protected]>
Remove the duplicate initialization introduced by the combined openclaw#149481 and openclaw#149488 merges. Keep the existing helper and all delegation and refusal assertions unchanged.
* test(gateway): stabilize yielded-session settlement * test(pr): prepare dependencies for alias handoff fixtures (openclaw#149488) * test(pr): refresh wrapper dependencies idempotently --------- Co-authored-by: Peter Steinberger <[email protected]>
) * fix(release): restore private QA imports and frozen scan counts Share the private QA facade list between build emission and the temporary harness manifest without changing public package exports. Keep current process-fixture scan counts out of the shipped 9.1-9.4 inventories. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(e2e): retain redacted kitchen-sink inspection failures Preserve bounded failed-plugin diagnostics before sweep cleanup on the trusted Tooling assertion route, without changing failure or privacy rules. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(e2e): preserve safe update migration evidence Port the accepted v2 migration capture through trusted Tooling. Reuse Main's secure Doctor IPC boundary and preserve its first-hop privacy contract with a digest-bound artifact identity. Refuse journaled SQLite before native observation, retaining explicit unavailable evidence. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * test(pr): prepare alias fixture dependencies before recording handoff Reuse the existing Main correction from #149481/#149488/#149477. Link installed dependencies before intercepting Node so the recorder observes the trusted supervisor handoff. Preserve all delegation/refusal assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * test(pr): align alias dependency setup with the landed fixture owner Move the same dependency link before alias setup, matching Main's current fixture ordering and resolving the merge conflict without changing the recorder, delegation assertions, or any production or capture code. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
…claw#149411) * fix(release): restore private QA imports and frozen scan counts Share the private QA facade list between build emission and the temporary harness manifest without changing public package exports. Keep current process-fixture scan counts out of the shipped 9.1-9.4 inventories. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(e2e): retain redacted kitchen-sink inspection failures Preserve bounded failed-plugin diagnostics before sweep cleanup on the trusted Tooling assertion route, without changing failure or privacy rules. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * fix(e2e): preserve safe update migration evidence Port the accepted v2 migration capture through trusted Tooling. Reuse Main's secure Doctor IPC boundary and preserve its first-hop privacy contract with a digest-bound artifact identity. Refuse journaled SQLite before native observation, retaining explicit unavailable evidence. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * test(pr): prepare alias fixture dependencies before recording handoff Reuse the existing Main correction from openclaw#149481/openclaw#149488/openclaw#149477. Link installed dependencies before intercepting Node so the recorder observes the trusted supervisor handoff. Preserve all delegation/refusal assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> * test(pr): align alias dependency setup with the landed fixture owner Move the same dependency link before alias setup, matching Main's current fixture ordering and resolving the merge conflict without changing the recorder, delegation assertions, or any production or capture code. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
Related: #149193, #149389
What Problem This Solves
Fixes nine PR alias delegation checks that fail after code-only linked checkouts began materializing their dependencies.
User Impact
No runtime behavior changes. This maintainer-directed follow-up restores the wrapper checks needed to validate #149389.
Why This Change Was Made
The alias fixture replaces Node with a recorder that stops at the supervisor handoff. Without linked dependencies, the new materialization path invokes that recorder too early and returns exit 1 instead of the expected 73. Reuse the existing fixture helper to provide the real third-party dependencies before installing the recorder. Dedicated tests continue to cover code-only materialization.
Evidence
The executable proof launches the real
pr-prepare,pr-review, andpr-mergealias scripts from a separate caller directory. The recorder stops execution at the supervisor handoff, before locks or native PR actions. The tests check exact mapped arguments, caller directory, trusted wrapper selection, empty stderr, and refusal before execution for spoofed anchors. Separate real-dependency tests cover both installed and code-only linked checkouts.Retained local results, with assertions unchanged:
5745b61b360a3ac87e39f850cff9a3bde4f5ceec, alias groupThe proof covers the CLI fixture and its delegation boundary. It does not claim a production runtime performance improvement or perform a real PR merge. No production behavior changes in this patch require a separate runtime demonstration.
git diff --checkpass; independent P2 autoreview found no actionable issues.The change adds two test lines and changes no production code. Hosted exact-head CI remains the landing gate.