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 September 13, 2026, 10:54 PM ET / September 14, 2026, 02:54 UTC (Revision 4). ClawSweeper reviewWhat this changesThe PR recognizes Windows npm launchers when relocating edited development checkouts, validates installed and staged launchers, and adds native Windows regression coverage. Merge readiness⛔ Blocked before merge - 3 items remain This remains useful Windows-specific work absent from current main. The earlier recognition defect is resolved, and no introduced correctness defect was found; published-updater qualification remains outstanding. Priority: P2 Review scores
Verification
How this fits togetherThe update CLI identifies the installation invoked by the operator and prepares a replacement checkout. The existing package transaction then switches its npm exposure and retains rollback without rewriting the original checkout. flowchart TD
A[Windows npm invocation] --> B[Identify invoked installation]
B --> C[Capture junction and launchers]
C --> D[Prepare fresh checkout and npm stage]
D --> E[Validate and recheck launchers]
E --> F[Activate package transaction]
F --> G[New checkout or verified rollback]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +44, Tests +243, Config 0. Total +287 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the shared transaction and npm-generated launcher comparison, with a qualified upgrade path that preserves local edits and explains how older installations obtain the repaired updater. Do we have a high-confidence way to reproduce the issue? Yes, from source: the pinned base rejects Windows dirty-checkout relocation unconditionally, and the native fixture supplies a concrete npm-linked reproduction. No target code was executed during this read-only review. Is this the best way to solve the issue? Yes for the implementation: it extends the existing admission and transaction owners without copying npm wrapper templates; upgrade qualification remains incomplete. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against dce5ea72e8ea. LabelsLabel 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 (3 earlier review cycles)
|
c03d3c3 to
17847d9
Compare
17847d9 to
65b3062
Compare
39205f2 to
16cd95f
Compare
2f7ec3a
into
fix/update-installer-relocation
Windows npm installations can relocate a dirty development checkout while preserving local edits. Admission derives the npm prefix from the invoked package entry, so another installation first on PATH cannot receive the update.
The updater pins the package junction and three regular npm launchers, compares them with npm's staged output, and checks both families before activation. Unknown or changed launchers are refused. Existing activation and rollback remain the owners.
Stacked on #147677. Native baseline reproduced the original refusal. Native Windows CI passed on
17847d98a2a: real CMD/PowerShell, junction activation/rollback, launcher drift rejection, and repeat admission.The final patch-identical rebase onto current main inherits its model-picker readiness test fix and #147677's separate publication rollback repair. Native proof above remains bound to
17847d98a2a; Final combined-head verification on65b3062f9c3passed 188 package-owner tests, 22 POSIX npm/installer CLI scenarios, production and test types, and scoped lint. Native Windows CI on that final head passed both test jobs, including the real launcher/junction/rollback fixture. Remaining Linux checks, including Gateway UI integration, are queued for unassigned Blacksmith 32-vCPU runners; full CI is not yet complete.