You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 74a9693
Browse filesBrowse the repository at this point in the historyBrowse files
**Tested:** main `cd7c5c5` (unchanged since run 59), release v5.2.0, Linux, Node 22. pnpm 12.27.0 (`next-12`), 11.29.0, 10.34.9, 9.15.9. No new pnpm release since the last run.
4
+
5
+
### Re-triage
6
+
-#2264, #2298: no commit or open PR touches them since `cd7c5c5`. Still open; not re-run.
7
+
8
+
### Cells (Linux)
9
+
-**Agent, store-liveness walk (backlog 1): pass on 9.15.9 / 10.34.9 / 11.29.0 / 12.27.0.**
10
+
-`pnpm install --frozen-lockfile --filter a` (partial install), then `apply --offline`: vex attests. `--filter b` afterwards links b to the patched virtual-store entry. `apply --check` is idle.
11
+
-`pnpm add left-pad@1.2.0` in one member keeps vex attesting the other member's patched 1.3.0. With every 1.3.0 user removed, vex says `package_not_found`. After a re-add from the store, vex says `not_applied` with the right remedy (10/11/12; pnpm 9 keeps the patched `.pnpm` entry, and vex is correct on 9 too). The CAS store held no patched bytes in any version.
12
+
- Member outside the root (`packages: ['../shared']`) on 12.27.0: apply / vex / byte-exact rollback pass.
13
+
-**Hosted, `sharedWorkspaceLockfile: false` (backlog 2): pass on 12.27.0 / 11.29.0 / 10.34.9.** Root `host`, member `a` → `mid` → `leaf`, member `b` → `peer-user` (peer `host`).
14
+
- 11/12: the registry route is written to the workspace file and to every member lock. `pnpm install --lockfile-only --offline` re-locks the root and both member locks byte-identically (12.27.0).
15
+
- 10.34.9: takes the trustLockfile path.
16
+
- On all three, a fresh frozen install from an empty store lands patched bytes in both members, and vex attests both advisories. Rollback leaves no `socket-` entry in any lock, and the next frozen install is upstream. On 10 rollback leaves `trustLockfile: true` (known, `pnpm_trust_lockfile_left`).
17
+
-**Hosted CRLF-shebang bin (backlog 3): pass on 10.34.9 / 11.29.0 / 12.27.0.**`leaf` bin `#!/usr/bin/env node\r\n` as a transitive dependency and as a direct one. Frozen install keeps CRLF, the bin runs, vex attests, rollback is clean.
18
+
- Method note: hosted cells ran a local, uncommitted probe test in `e2e_redirect_pnpm_build.rs` that reuses `mount_route_registry` / `mount_route_patch_server`, with `SOCKET_PATCH_PNPM_E2E_BIN` pointed at an npm-installed pnpm binary.
19
+
20
+
### Issues
21
+
- None filed, none closed or commented.
22
+
23
+
### False positives ruled out
24
+
- First hosted probe on pnpm 12 failed at the fixture install: corepack's pnpm 12 downloads `@pnpm/exe` from the project's `.npmrc` registry (the mock), which returns 404. Harness artifact; use `SOCKET_PATCH_PNPM_E2E_BIN`.
25
+
- The in-place `vex` right after a hosted scan exits 1 with `not_applied` until the reinstall the scan asks for. This is documented.
26
+
27
+
### Next
28
+
1. Hosted scoped package (`@scope/leaf`) through the registry route on 11.29 / 12.27.
29
+
2. Vendored lock-off with a `packageManager` pin that differs from `.modules.yaml`.
Copy file name to clipboardExpand all lines: state/pnpm.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
[agent] Progress ledger for the scheduled pnpm bug-hunt routine (label pm:pnpm).
2
2
3
-
Last run: 2026-12-05 (run 59), main `cd7c5c5` (v5.2.0 tagged at `d987721`; since then gem-only commits), release v5.2.0, newest pnpm 12.27.0 (`next-12`; `latest` 12.26.0; 11.29.0, 10.34.9, 9.15.9, 8.15.9, 7.33.7 latest per major).
3
+
Last run: 2026-12-06 (run 60), main `cd7c5c5` (v5.2.0 tagged at `d987721`; since then gem-only commits), release v5.2.0, newest pnpm 12.27.0 (`next-12`; `latest` 12.26.0; 11.29.0, 10.34.9, 9.15.9, 8.15.9, 7.33.7 latest per major).
4
4
5
-
Method (since run 51): agent = real npmjs packages + hand-staged `.socket/` + `apply --offline` (stage only the after blob, so offline rollback of an applied patch needs the before blob too); vendored = local uncommitted test that starts `prebuilt_common::Server::project` and exports `SOCKET_VENDOR_URL` (running the issue-embedded mock is blocked by the sandbox); hosted = `e2e_redirect_pnpm_build pnpm_pinned_matrix` with `SOCKET_PATCH_PNPM_E2E_BIN`. Vendored lock-off cells (run 58): vendor via the fixture server, copy the committable files, mutate the config, install from an empty store, then `vex --offline -O` (`-o` is `--org`). Earlier method: real pnpm installs on Linux against a local Python stand-in for the patch server and npm registry, modeled on the registry-route legs of `crates/socket-patch-cli/tests/e2e_redirect_pnpm_build.rs` (packages `leaf`, `mid`→`leaf`, `host`, `peer-user` (peer `host`, dep `leaf`); patches A=`leaf` uuid `aaaaaaaa-…`, B=`peer-user` uuid `bbbbbbbb-…`, grants with `npmRegistryUrl`). The script is embedded in #2263. Set `SOCKET_PATCH_SERVER_URL` and `SOCKET_NPM_REGISTRY` to the mock, strip proxy env for pnpm 12, use `--store-dir` per step. Oracle: marker at the top of `index.js` after a fresh-clone `--frozen-lockfile` install from an empty store. Release focus: cells last tested before 2026-11-11 count as untested.
5
+
Method (since run 51): agent = real npmjs packages + hand-staged `.socket/` + `apply --offline` (stage only the after blob, so offline rollback of an applied patch needs the before blob too); vendored = local uncommitted test that starts `prebuilt_common::Server::project` and exports `SOCKET_VENDOR_URL` (running the issue-embedded mock is blocked by the sandbox); hosted = `e2e_redirect_pnpm_build pnpm_pinned_matrix` with `SOCKET_PATCH_PNPM_E2E_BIN` (an npm-installed pnpm binary; corepack's pnpm 12 fetches itself from the mock registry and fails), or a local probe test reusing `mount_route_registry` / `mount_route_patch_server`. Vendored lock-off cells (run 58): vendor via the fixture server, copy the committable files, mutate the config, install from an empty store, then `vex --offline -O` (`-o` is `--org`). Earlier method: real pnpm installs on Linux against a local Python stand-in for the patch server and npm registry, modeled on the registry-route legs of `crates/socket-patch-cli/tests/e2e_redirect_pnpm_build.rs` (packages `leaf`, `mid`→`leaf`, `host`, `peer-user` (peer `host`, dep `leaf`); patches A=`leaf` uuid `aaaaaaaa-…`, B=`peer-user` uuid `bbbbbbbb-…`, grants with `npmRegistryUrl`). The script is embedded in #2263. Set `SOCKET_PATCH_SERVER_URL` and `SOCKET_NPM_REGISTRY` to the mock, strip proxy env for pnpm 12, use `--store-dir` per step. Oracle: marker at the top of `index.js` after a fresh-clone `--frozen-lockfile` install from an empty store. Release focus: cells last tested before 2026-11-11 count as untested.
6
6
7
7
## Coverage matrix
8
8
@@ -18,27 +18,26 @@ One row per workflow; "≤10-18" = last passed by 2026-10-18 on 5.0.x/main of th
18
18
| Vendored with lockfile off (#2441): `.npmrc` / `package-lock=false` / ws `lockfile: false`, override in pkg / ws / both, own `resolutions` / `pnpm.overrides`, `{}` / `null`| n/a | pass 9.15.9 / 10.4.1 / 10.5.0 / 10.5.1 / 10.34.9 / 11.29.0 / 12.26.0: vex attests exactly when pnpm installs the patched bytes (12-04) | n/a |
|`-g` global install | untested (≤10-18, Linux only) | n/a | n/a |
29
29
| macOS / Windows | probes switched off (INSTRUCTIONS.md) | — | — |
30
30
31
31
## Backlog
32
32
33
-
1.#2353 store-liveness walk, rest: `pnpm install --filter` partial installs, a member outside the root (`../shared`), after `pnpm add` of another version (`link:` dep passed in run 58).
34
-
2. Hosted route edge shapes on 12.27.0 / 11.29.0: `sharedWorkspaceLockfile: false` members, scoped package, a pin that drops below 11.20 (build approvals and user `overrides` passed run 59).
35
-
3. Hosted CRLF-shebang bin on 11.29.0 / 12.27.0.
36
-
4. Vendored lock-off with a `packageManager` pin that differs from `.modules.yaml` (10.4.1 pin, 10.34.9 installed, and a pnpm 11 pin), a contract case not run yet.
37
-
5. Re-verify #2264, #2298, #2352, #2391, #2495 once a fix lands (none merged as of `cd7c5c5`).
38
-
6. Re-verify closed #1619 (hosted scoped `tarball:` rollback on 12.0–12.12) on main with real pnpm.
39
-
7. Pinned matrix for pnpm 1–6 (needs Node 10 / 16) on main; pnpm 7/8 vendored moved checkout.
40
-
8. Rush / subspace locks on 12.27, `--frozen-lockfile` / `--offline`.
41
-
33
+
1. Hosted scoped package (`@scope/name`) through the registry route on 11.29 / 12.27 (check how the patch service spells a scoped registry path first).
34
+
2. Vendored lock-off with a `packageManager` pin that differs from `.modules.yaml` (10.4.1 pin, 10.34.9 installed, and a pnpm 11 pin), a contract case not run yet.
35
+
3. Hosted route with a pin that drops below 11.20 after the scan (`packageManager` downgrade), then `pnpm install`.
36
+
4. Re-verify #2264, #2298, #2352, #2391, #2495 once a fix lands (none merged as of `cd7c5c5`).
37
+
5. Re-verify closed #1619 (hosted scoped `tarball:` rollback on 12.0–12.12) on main with real pnpm.
38
+
6. Pinned matrix for pnpm 1–6 (needs Node 10 / 16) on main; pnpm 7/8 vendored moved checkout.
39
+
7. Rush / subspace locks on 12.27, `--frozen-lockfile` / `--offline`.
0 commit comments