Repository navigation
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: blocked before merge. Reviewed October 5, 2026, 11:35 AM ET / 15:35 UTC (Revision 6). ClawSweeper reviewWhat this changesThe branch updates dirty development installations into a fresh checkout, preserves local edits, and adds installer-wrapper and Windows npm launcher admission and rollback checks. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this protected, member-authored PR still provides useful installer support absent from main. The previously reported P1 launcher regression remains on the unchanged head, and the stack currently has merge conflicts. Priority: P2 Review scores
Verification
How this fits togetherThe updater discovers the invoked installation, stages and validates replacement code, then changes its launcher through the package transaction. That launcher determines which checkout and Node runtime future CLI invocations use. flowchart TD
A[Invoked installation] --> B[Check launcher and checkout]
B --> C[Stage fresh checkout]
C --> D[Validate replacement]
D --> E[Publish package and launcher]
E --> F[Future CLI and Gateway]
E --> G[Retained rollback installation]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +449, Tests +798, Docs +23, Config 0, Other +1. Total +1271 across 25 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one package transaction owner while preserving the installer's verified Node executable through replacement, subsequent updates, and rollback. Do we have a high-confidence way to reproduce the issue? Yes, source establishes a concrete patch failure path: use a canonical installer wrapper whose absolute supported Node is absent from PATH, then relocate it and invoke the replacement launcher. This read-only review did not execute that scenario. Is this the best way to solve the issue? No, the transaction reuse is appropriate, but publication must retain the runtime choice accepted during installer admission; copying npm's launcher alone does not preserve that contract. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fb84dd57fd57. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (5 earlier review cycles)
|
85454fe to
51f8892
Compare
39205f2 to
16cd95f
Compare
* test(update): exercise Windows npm relocation ownership * fix(update): relocate Windows npm Git installations safely
bfde7be to
01270f2
Compare
Depends on #147629. Windows npm launcher support is separate in #147653.
Dirty development checkouts installed by the official shell installer can update through its verified
~/.local/bin/openclawwrapper. The existing npm transaction publishes a fresh checkout while preserving local edits and retaining the original wrapper for rollback.Admission verifies the Node runtime, built checkout, wrapper and destination, then rechecks before activation. Rollback only removes a package after this update has published it and verified its identity. A failed publication or a competing replacement stays untouched; copy fallback retains ownership even if later source cleanup fails. Existing installed-package restoration stays intact.
Validation: both foreign-destination regressions failed before the fix. All 188 package/filesystem/recovery tests and 11 installer CLI scenarios passed, along with types, lint, the full changed gate and fresh independent P2 review. The canonical build passed before the publication repair, which adds no imports. The rebase onto current main is patch-identical; final combined-head verification passed all 188 package-owner tests, 22 POSIX npm/installer CLI scenarios, types and scoped lint. CI has no reported failures; the remaining Linux checks are queued for unassigned Blacksmith 32-vCPU runners.
Support is limited to the maintained installer’s literal-path wrapper. Custom prefixes, shell expansions and ANSI-C quoted paths remain untouched, with manual installation guidance documented. Older installed updaters retain their own behavior. This PR does not claim a complete managed-service rollback campaign.