Repository navigation
fix(ci): restore the Git pin and resident package in updater acceptance - #205233
Conversation
Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8e6d786a-d944-493c-88c8-774b069266cd
…targets Targets with the #204866 ownership guard refuse --channel stable from a resident-owned Git install. The channel-switch lane now asserts that refusal and that the Git install stays in place; older cuts without the guard, including 2026.12.1, still prove the switch. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8948194f-9c68-8fc2-b08b-98c8dbe3c08b
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR restores synthetic Git metadata, supports resident-package admission probes, and selects channel-switch assertions from the candidate’s updater contract. Example: A resident-owned Git installation runs openclaw update --channel stable.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs source-confirmed acceptance failures, preserves intentional updater ownership rules, and has no actionable review finding. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRelease acceptance tooling consumes selected source metadata and candidate packages, exercises update transitions, and produces receipts plus preservation assertions. flowchart TD
A[Selected source] --> B[Frozen contract resolver]
C[Candidate package] --> D[Synthetic Git fixture]
B --> D
D --> E[Channel switch assertions]
C --> F[First hop update]
F --> G[Resident admission probe]
G --> H[Profile preservation assertions]
Technical reviewBest possible solution: Retain this focused repair using the existing frozen-source resolver, fixture preparer, and verified-receipt route selector. Do we have a high-confidence way to reproduce the issue? Source establishes the missing-pin preflight refusal, the original probe’s npm-only root restriction, and the mismatch between unconditional switch success and the resident-owner guard; this review executed no target code. Is this the best way to solve the issue? The patch is a small complete fixture repair: it restores required metadata, follows the existing verified update route, and preserves candidate-specific success or refusal assertions without changing updater policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b2b2e9d2908b. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +115, Other +72. Total +187 across 9 files. Added test files: 1. 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. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. 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 25, 2026, 3:53 AM ET / 08:53 UTC. |
The update-channel-switch contract now reads update-command-admission-report.ts; the default parent admission fixture must carry it. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 043bf936-fc33-8b39-a692-df58dcd58515
…ce (#205233) * fix(ci): preserve updater fixture source and release identity Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(ci): restore the Git pin and resident package in updater acceptance Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8e6d786a-d944-493c-88c8-774b069266cd * fix(ci): expect resident-owner refusal for Git-to-package on guarded targets Targets with the #204866 ownership guard refuse --channel stable from a resident-owned Git install. The channel-switch lane now asserts that refusal and that the Git install stays in place; older cuts without the guard, including 2026.12.1, still prove the switch. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8948194f-9c68-8fc2-b08b-98c8dbe3c08b * test(ci): include the admission report in the parent admission fixture The update-channel-switch contract now reads update-command-admission-report.ts; the default parent admission fixture must carry it. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 043bf936-fc33-8b39-a692-df58dcd58515 --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit ded2602)
…ce (openclaw#205233) * fix(ci): preserve updater fixture source and release identity Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(ci): restore the Git pin and resident package in updater acceptance Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8e6d786a-d944-493c-88c8-774b069266cd * fix(ci): expect resident-owner refusal for Git-to-package on guarded targets Targets with the openclaw#204866 ownership guard refuse --channel stable from a resident-owned Git install. The channel-switch lane now asserts that refusal and that the Git install stays in place; older cuts without the guard, including 2026.12.1, still prove the switch. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 8948194f-9c68-8fc2-b08b-98c8dbe3c08b * test(ci): include the admission report in the parent admission fixture The update-channel-switch contract now reads update-command-admission-report.ts; the default parent admission fixture must carry it. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 043bf936-fc33-8b39-a692-df58dcd58515 --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
…ce (#205233) * fix(ci): preserve updater fixture source and release identity Co-authored-by: vincentkoc <[email protected]> * fix(ci): restore the Git pin and resident package in updater acceptance Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 8e6d786a-d944-493c-88c8-774b069266cd * fix(ci): expect resident-owner refusal for Git-to-package on guarded targets Targets with the #204866 ownership guard refuse --channel stable from a resident-owned Git install. The channel-switch lane now asserts that refusal and that the Git install stays in place; older cuts without the guard, including 2026.12.1, still prove the switch. Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 8948194f-9c68-8fc2-b08b-98c8dbe3c08b * test(ci): include the admission report in the parent admission fixture The update-channel-switch contract now reads update-command-admission-report.ts; the default parent admission fixture must carry it. Co-authored-by: vincentkoc <[email protected]> * Publish openclaw/plaid-krill-f4610d Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 043bf936-fc33-8b39-a692-df58dcd58515 --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit ded2602) Release adaptation: retain stable lifecycle/legacy assertions rather than importing the unavailable receipt helper; the shipped survivor orchestrator uses its existing legacy npm route, while the admission probe validates both layouts. Use the stable legacy switch as the unpinned default. Follow-up audit: aeb7edb is the immediately following selected packaged-SHA/registry companion. e85cda3, e0f0687, c2cfab0, 6fa79a5, 293eb51, ac02524, 3b1ca5b, 05c15ac and b9d0210 address independent orchestration, coverage or product installer behavior. Co-authored-by: RomneyDa <[email protected]>
Supersedes #205175: it carries #205175's commits unchanged, plus one commit for the resident-owner refusal on
main.What Problem This Solves
The release-candidate channel-switch lane and its plugin-prerelease variant both stopped at
package → Git dev. Their retained receipts identifyimmutable-pnpm-pin-requiredbefore a candidate build could run. Separately, the first-hop missing-load-path lane finished updating, but its final entry probe rejected the resident launcher slot ($OPENCLAW_STATE_DIR/git-install/openclaw) because it expected only the original npm prefix.After that fix, #205175's Docker run got past
package → Git devand then failedGit → package stableonmain: #204866 (0fea252c72db) deliberately refuses installer-kind switches for resident-owned installs ("The resident launcher owns this installation. --channel stable requires the in-place installer…"). The 2026.12.1 cut predates that guard and must still prove the switch.Solution
OPENCLAW_FROZEN_TARGET_GIT_TO_PACKAGE_MODEfrom the selected source, using the same frozen-target resolver as the existing main-tag and package-to-Git contracts.refuseapplies whenupdate-command-admission-report.tscontains the ownership guard and is the current-source default;switchapplies otherwise.refusemode the lane asserts a nonzero exit,ok: false, and the exact owner-refusal prefix for--channel stable. It then checks that runtime staging is clean, the config channel is stilldev, and status still reports a Git install.switchmode the lane keeps the existing successful switch assertions.Evidence
b6c3a6748b6aand the local 12.1 stack993613d52d59resolve toswitch;mainc64a7d017acaresolves torefuse.preflight-frozen-target-contractsandupdate-channel-switch-fixture. These include accepting the owner refusal and rejecting both a successful switch and an unrelated failure underrefuse. Targeted oxlint, oxfmt,bash -n, andgit diff --checkpassed; shellcheck reports only the existing SC2016 notes.release-update-survivor's crash trial times out in all three Workshop/updater PRs. This PR does not touch it.Worked on by