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 3ac0495
Browse filesBrowse the repository at this point in the historyBrowse files
- Ranking: #990, #922, #998 and #914 are still skipped by the file-overlap rule (38 open PRs). Matching every open `refactor`/`arch-audit` issue against open-PR files left only #1067's `pdm_site` slice (C48) and #649's stray `launch.json`. #1067 won: D 1 (one hand-rolled spawn deadline removed, net −16 production lines), U 1 (a guard pins the rule for the `npm_dir` slice), R L.
5
+
- PR: [#1106](https://github.com/SocketDev/socket-patch/pull/1106), "Bound the PDM site probe through utils::process (#1067)", `state: ready`, Bugbot triggered.
6
+
- Claimed: #1067 (slice 1. Slice 2, the `npm_dir` git exchange, waits on #1026, which changes `npm_dir.rs` and `utils/process.rs`).
7
+
- Merged since the last entry: none of this routine's PRs. Campaign PR #1042 (C60, C42) merged as `ddc3bfb`; its rows belong to the core auditor. `doc/07-infra-agent.md` already carries `{{C48}}`, and its prose is rewritten after #1106 merges.
8
+
- Lessons: the eight stale `in-progress``arch-refactor/*` drafts are maintainer-authored, so leave them alone. Test macOS-only modules under a temporary `cfg(unix)`, because cross-checking for darwin fails on `ring`.
| C44 | 3 | The ecosystem-name parser is written three times: `--ecosystems`/`SOCKET_ECOSYSTEMS` need an exact, case-sensitive match, socket.yml `patches.ecosystems` trims and lowercases, and `vendor::ecosystem_in_scope` has its own lookup; `-e NPM` and `-e "npm, pypi"` exit 2. | new finding |#773| filed #773|
47
47
| C45 | 3 |`--download-mode` is an unvalidated `String`, parsed late in `fetch_stage`/`repair`: a typo fails `apply`/`repair` with exit 1 and `apply_failed`/`repair_failed` (and `scan`/`get` only after saving the patch), while `apply --check`, `rollback`, `list` and `vendor` accept it; `--vendor-source` uses a clap parser (exit 2). | 2.7; R8 (narrowed) |#791| filed #791|
48
48
| C47 | 2 | 10 CLI test files spawned the binary with no `SOCKET_*` scrub; an ambient `SOCKET_DRY_RUN=true` turned 18 of 19 `repair_vendor_e2e` tests red. | new finding |#823| filed #823; 8 of 10 hermetic since #850; the last two are unblocked (#820, #849, #774 merged) |
49
-
| C48 | 2 | Child processes had no shared deadline; crawler probes called `output()` unbounded, so a hung `gem` shim hung `scan`. | new finding |#845, #1067| partly fixed (#886); `pdm_site`and the `npm_dir` git exchange keep hand-rolled deadlines (#1067) |
49
+
| C48 | 2 | Child processes had no shared deadline; crawler probes called `output()` unbounded, so a hung `gem` shim hung `scan`. | new finding |#845, #1067| partly fixed (#886); `pdm_site`in PR #1106; the `npm_dir` git exchange keeps a hand-rolled deadline (#1067) |
50
50
| C49 | 2 | Registry downloads used a 60 s total deadline. | new finding |#872| fixed (#876) |
51
51
| C50 | 2 | Artifact GC has two retention policies: `after_removal` (rollback, remove) keeps active patches' beforeHash blobs for offline rollback, `for_apply` (repair, `scan --prune`) drops them; offline rollback then fails and names `repair`, which never fetches beforeHash blobs. `cleanup_unused_blobs`/`_archives` are dead. | new finding |#893| filed #893|
52
52
| C51 | 3 | Agent-mode jar verification (`jvm_jar::verify_member_bytes`; apply, rollback, vex) buffers each patched member before hashing, while vendored `zip_bytes_match_after_hashes` streams since #587: 1,067 MiB vs 26 MiB peak RSS on a 1 GiB member. | new finding |#914| filed #914|
-[#1106](https://github.com/SocketDev/socket-patch/pull/1106): the macOS PDM site probe runs through `utils::process::output_within`; a guard test rejects new production `kill_on_drop` spawns (pending: `vendor/npm_dir.rs`). Issue #1067 (C48, slice: `pdm_site`; the `npm_dir` git exchange remains, blocked on #1026). `state: ready`, handed to the burn-down.
5
6
-[#1103](https://github.com/SocketDev/socket-patch/pull/1103): `go.sum` edits through `GoSumEditor` only; deletes the oracle-only free functions and names the key rule once. Issue #631 (E52, slice: steps 2–3; the move to `formats/golang/sum.rs` remains). `state: ready`, handed to the burn-down.
6
-
- REFACTOR.md no longer caps open PRs; the file-overlap skip rule still applies. With 39 open PRs touching ~1000 files, only rows whose files no open PR changes are eligible.
7
+
- REFACTOR.md no longer caps open PRs; the file-overlap skip rule still applies. With 38 open PRs touching ~1020 files, only rows whose files no open PR changes are eligible.
- October 7 campaign (duplicate business logic, one PR per seam; register rows in brackets): #1026 credentials [C59], #1029 trust signals [C61], #1032 JVM layout [E77, E69], #1033 VEX attestation [E72], #1034 target grammar [C62], #1035 supersede lifecycle [E71], #1038 paths and roots [C64], #1039 atomic takeover [E70], #1042`.socket` containment [C60, C42], #1043 command cycles and UI text [C65, C12], #1044 governing locks [E75], #1045`PurlKey`[C63], #1046 test hygiene [C66], #1050 vendored liveness [E74], #1057 yarn grammar [E08, E76], #1058 pinned check [E73].
9
+
- October 7 campaign (duplicate business logic, one PR per seam; register rows in brackets): #1026 credentials [C59], #1029 trust signals [C61], #1032 JVM layout [E77, E69], #1033 VEX attestation [E72], #1034 target grammar [C62], #1035 supersede lifecycle [E71], #1038 paths and roots [C64], #1039 atomic takeover [E70], #1043 command cycles and UI text [C65, C12], #1044 governing locks [E75], #1045`PurlKey`[C63], #1046 test hygiene [C66], #1050 vendored liveness [E74], #1057 yarn grammar [E08, E76], #1058 pinned check [E73]. #1042`.socket` containment [C60, C42] merged as `ddc3bfb`.
9
10
10
11
**Merged:**
11
12
-[#1015](https://github.com/SocketDev/socket-patch/pull/1015): the vendored-reference scan reads every `VENDORED` row and accepts the bare uuid dir. Issues #832, #958 (E61). `8e521f9` (+308 / −41). Left: dead `eco == "maven2"` arm in `commands/vendor.rs`.
| 1 |#990 (E24, child 1 of #989): one `vendor::revert::finish` with an explicit `KeepPolicy` for the 12 copied finish blocks | 0 | 1 | ≈12 | L | ≈26 | skipped: all 12 backend files changed by open PRs (#1008, #1009, #1026, #1039, #1041, #1043, #1050, #1051, #1057, …) |
21
22
| 2 |#922 (E22, child 1 of #920): one `VendorEntry::npm` constructor for the 7 npm-family ledger tails | 0 | 1 | ≈7 | L | ≈16 | skipped: claimed; drivers changed by #1008|
22
23
| 3 |#998 (C56): one NotFound-only manifest probe (5 `metadata().is_err()` copies) | 1 | 1 | ≈5 | M | ≈13 | skipped: `commands/vendor.rs` changed by 11 open PRs |
23
-
| 4 |#631 (E52) step 1: move `go_sum_edit.rs` to `formats/golang/sum.rs`| 0 |1|0| L | ≈2| skipped: `redirect/mod.rs`, `vendor/mod.rs`, `formats/mod.rs`changed by open PRs; steps 2–3 in #1103|
24
-
| 5 |#1067 (C48 rest): route `pdm_site`/ `npm_dir` child deadlines through `utils::process`| 0 |0|≈2| L | ≈4 |skipped: `npm_dir.rs` and `utils/process.rs` changed by#1026|
24
+
| 4 |#914 (C51): agent-mode jar members hashed through the streaming zip comparator (1,067 → 26 MiB peak on a 1 GiB member) | 0 |0|1| L | ≈5| skipped: `patch/jvm_jar.rs`changed by #1032, #1041|
Re-ranked 2026-10-08T02:00Z under the uncapped REFACTOR.md. Every open `refactor`/`arch-audit` issue was checked against the files of the 39 open PRs; #631 steps 2–3 (one file, `vendor/go_sum_edit.rs`) was the only eligible slice, and it went to #1103. Score now uses 2·D per REFACTOR.md.
27
+
Re-ranked 2026-10-08T03:00Z at `b762f41`. Every open `refactor`/`arch-audit` issue was matched (by the `.rs` paths its body names, then by grep of the symbols) against the files of the 38 open PRs; only #1067's `pdm_site` slice and #649's stray `launch.json` were free. #1067 won and went to #1106. The eight `arch-refactor/*` drafts with a stale heartbeat (#1021, #1027, #1030, #1031, #1036, #1041, #1049, #1051) are maintainer-authored drafts, not routine PRs: don't take them over.
27
28
28
29
**Notes:**
30
+
-`crawlers/python_crawler/pdm_site.rs` is compiled only on macOS, and the sandbox can't cross-check `aarch64-apple-darwin` (`ring` needs an Apple cc). To test it, temporarily change its `mod` line in `python_crawler.rs` to `#[cfg(unix)] #[allow(dead_code)]` and revert before committing.
29
31
- Overlap check recipe: list `/pulls?state=open`, fetch `/pulls/<n>/files` for each (≈40 calls), and match exact paths; suffix matches on `mod.rs` / `client.rs` give false positives.
30
32
- To delete a refactor oracle safely: first refactor the kept code while the oracle test still runs, then capture the oracle's outputs on odd inputs as fixed expectations, then delete it (done in #1103).
31
33
- The sandbox runs as root, so 4 core lib tests fail on main and on branches alike: `copy_tree::relax_loop_must_not_traverse_symlinked_root`, `vlt_heal::an_unremovable_hidden_lock_keeps_every_store_entry`, `pypi_poetry::wire_write_failure_maps_error_and_leaves_lock_untouched`, `pypi_requirements::wire_failure_rolls_back_already_written_files`.
0 commit comments