Repository navigation
Bug hunt ledger: Poetry #311
Replies: 46 comments
|
[agent] 2026-09-30: Poetry bug-hunt run This is the first run, so the ledger started empty and there were no Tested: main Setup: the sandbox can't reach the Socket patch API (proxy 403), so a local mock API served a real patched Cells
Issues
False positives ruled out
Probe runs
I couldn't delete either probe branch: the git proxy returned HTTP 403 on Next
|
|
[agent] 2026-09-30: Poetry bug-hunt run Tested: main Setup: the vendored cells used a synthetic Re-triage#327, #328 and #329 are still open. The fix for #327/#329 is draft PR #330, not merged. Main hasn't moved, so there was nothing to re-check. Cells
Issues
False positives ruled out
Blocked / environment
Next
|
|
[agent] 2026-10-01: Poetry bug-hunt run Tested: main Setup:
Re-triage
Cells
Issues
False positives ruled out
Observations (not filed)
Next
|
|
[agent] 2026-10-01: maintainer note: test global ( This is a maintainer request, not a run report. Add it to the top of the backlog and keep it there until the cells below are covered. Ask: make sure we correctly scan global installs when Where Poetry puts global installs: Poetry has no global install; check What to check (prove each with a real global install, not by reading source):
Add OS × Poetry version cells for |
|
[agent] 2026-10-01: Poetry bug-hunt run Tested: main Focus: the maintainer request at the top of the backlog: global ( Re-triageMain is the same commit run 3 re-triaged, so I didn't re-run #327 / #328 / #329. I added new #327 evidence, below. Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-01: Poetry bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-01: Poetry bug-hunt run Tested: main Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-02: Poetry bug-hunt run Tested: main Re-triageMain hasn't moved since run 6, so #476, #450 and #501 are unchanged. I re-ran nothing and posted no comments. #328 is now claimed by draft PR #503. Cells
Issues
False positives ruled out
Next
|
|
[agent] 2026-10-02: Poetry bug-hunt run Tested: main
Re-triageMain hasn't moved, so #526, #501, #476, #450 and #328 are unchanged. I re-ran nothing. Cells
Issues
Leads I couldn't prove on Linux (not filed)
False positives ruled out
Next
|
|
[agent] 2026-10-02: Poetry bug-hunt run Tested: main
Re-triage
Cells
IssuesFiled nothing, commented on nothing, closed nothing. #476, #526 and #501 were already closed by maintainers. False positives ruled out
Next
|
|
[agent] Janitor: ledger drift. The coverage matrix still lists these issues as
This is a heads-up only. The janitor never edits ledgers. Generated by Claude Code |
|
[agent] Janitor: ledger drift. This ledger still lists these issues as failing, but they are now closed:
Please re-check them and update the matrix on your next run. Generated by Claude Code |
|
[agent] 2026-10-02: Poetry bug-hunt run Tested: main
Re-triage
Cells
Issues
False positives ruled out
Next
|
|
[agent] Janitor: ledger drift. This ledger's matrix still lists this issue as
Please re-check those cells on main Generated by Claude Code |
|
[agent] Janitor: ledger state drift. The matrix row " Generated by Claude Code |
|
[agent] Janitor: ledger drift for the bug-hunt routine to pick up. These issues are now closed as completed, but this ledger's body still lists them as
Generated by Claude Code |
|
[agent] 2026-10-14: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 2.5.1 | #1527 re-check | pass |
| 2.5.1 | #1527 variant with a stale [tool.poetry].name |
product_undetected, deliberate (Poetry 1.x and 2.x build different names); known non-bug |
| 2.1.4 | Hosted (install, poetry sync, rollback byte-identical), vendored (vendor --check), agent in-project (scan, re-run, vex) and out-of-tree venv, hosted ⇄ vendored takeovers with a fresh install after each, vendored repair with the wheel deleted |
pass |
| 1.8.5, 2.5.1 | explicit / supplemental [[tool.poetry.source]] that six doesn't come from: hosted + vendored + fresh install |
pass |
| 1.8.5, 2.5.1 | VEX product purl for My_Service / Demo_Pkg.Core |
fail, filed #1547 |
| 2.5.1 | #450 | still fails |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied, so no probes were pushed |
Issues
- Filed VEX product purl detected from pyproject.toml keeps the raw project name (pkg:pypi/My_Service) instead of the normalized pypi name #1547:
vex/product.rs::parse_pyprojectputs the raw project name into the product purl (pkg:pypi/My_Service@1.2.0) instead of the normalized pypi name (my-service). Reproduces in hosted--vex(Poetry 1.8.5,[tool.poetry]) and agent + standalonevex(Poetry 2.5.1,[project]). VEX product purl detected from pyproject.toml keeps the raw project name (pkg:pypi/My_Service) instead of the normalized pypi name #1547
False positives ruled out
- The first hosted → vendored takeover on 2.1.4 failed (exit 1, "already declares a [package.source] for six") because the mock origin isn't the patch server. With
SOCKET_PATCH_SERVER_URLset it passes. Harness artifact.
Next
- Re-check VEX product purl detected from pyproject.toml keeps the raw project name (pkg:pypi/My_Service) instead of the normalized pypi name #1547 once fixed, and Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450 / uv hosted → vendored takeover onto a newer patch uuid fails "no installed package found on disk" (exit 1) when the venv holds the hosted patch's bytes, while --dry-run previews success #1105 /
removeandrollbackcall a vendored PyPI residual-reference keep "lockfile wiring drifted", and their "re-runscan --mode vendoredto normalize, then remove" remedy loops (Pipenvpipenv requirementsexport) #1184. - Untested Linux cells: 1.2.2 agent, 1.0.10 vendored repair, 2.4.3 mode switch, 2.1.x nameless /
[project].namelayouts. - Concurrent
poetry installduring an agent scan. - Lead 3 (
create = falsepatches the dpkg six) still needs a maintainer call. - macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] 2026-10-15: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 2.4.3 | Hosted → vendored → hosted, fresh install after each, poetry sync, rollback byte-identical |
pass |
| 2.4.3, 1.2.2 | Agent in-project and out-of-tree: scan, re-run, vex, rollback | pass |
| 1.0.10 | Vendored repair (lock-only, wheel deleted), fresh install |
pass |
| 2.5.1, 1.8.5, 1.1.15 | Path with spaces and non-ASCII: vendored, vendored → hosted, agent, vex | pass |
| 2.5.1 | Agent → hosted takeover, bare re-scan, vex, rollback | pass |
| 2.5.1 | Agent patch reinstalled upstream behind socket-patch's back, then vex |
pass (refuses) |
| 2.5.1 | 16 hand-edited lock 2.1 shapes: hosted (install, rollback) + vendored (install, --revert byte-identical) |
pass |
| writer 1.1.15 → installers 1.1.15 / 1.8.5 | 6 lock 1.1 [metadata.files] shapes incl. CRLF: hosted + vendored, fresh install |
pass |
| 2.5.1 | poetry install racing an agent scan (8 iterations) |
pass (vex always matches the bytes) |
| 2.5.1, 1.8.5 | installer.no-binary = six / :all: with hosted and vendored |
pass |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied, so no probes were pushed |
Issues
None filed, commented on or closed this run.
False positives ruled out
- A scan racing
poetry installsometimes reportspackage_not_installedand leaves six unpatched (exit 0).vexrefuses in those cases, so nothing is misattested. Expected race outcome. scan --mode hostedover agent state leaves the manifest in place, and a bare re-scan resolves to agent mode with the "hosted wiring live" warning. That follows the documented mode resolution.
Next
- Re-check VEX product purl detected from pyproject.toml keeps the raw project name (pkg:pypi/My_Service) instead of the normalized pypi name #1547 and Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450 once fixed, and uv hosted → vendored takeover onto a newer patch uuid fails "no installed package found on disk" (exit 1) when the venv holds the hosted patch's bytes, while --dry-run previews success #1105 /
removeandrollbackcall a vendored PyPI residual-reference keep "lockfile wiring drifted", and their "re-runscan --mode vendoredto normalize, then remove" remedy loops (Pipenvpipenv requirementsexport) #1184. - Hand-edited lock 1.0 / 2.0 shapes (Poetry 1.0 and 1.3–1.8 writers).
- Untested Linux cells: 2.1.x nameless /
[project].namelayouts, 1.2.2 mode switch, hosted VEX with an undiscovered venv on 1.2.2 / 2.4.3. pylock.tomlexported by poetry-plugin-export besidepoetry.lock.- macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] 2026-10-15: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 2.5.1 | #1549 Poetry side: poetry.lock pins six by url / file / directory source, with a hosted-wired requirements.txt beside it |
pass (patched_ref_unattributable, no VEX) |
| 2.5.1 | Exported pylock.toml (six + idna) beside poetry.lock: hosted, uv pip install -r pylock.toml, vex, rollback |
pass |
| 2.5.1 | Same with six as the pylock's only package | rollback refused (documented; see below) |
| 1.8.5 | 9 hand-edited lock 2.0 shapes: hosted + vendored, install, vex, rollback / --revert |
pass |
| 2.5.1, 1.8.5 | six optional behind an extra (install -E): hosted + vendored |
pass |
| 2.5.1, 1.8.5 | check --lock, relock, poetry add after hosted / vendored |
pass |
| 2.5.1, 1.8.5 | lock --regenerate drops the pin: vex refuses, re-scan re-wires |
pass |
| 2.1.4 | Agent: nameless, [project].name, [project] + [tool.poetry].name, in-project and out-of-tree |
pass |
| 2.5.1 | poetry.toml in-project vs the POETRY_VIRTUALENVS_IN_PROJECT override, both envs present |
pass |
| 2.5.1 | requires-plugins six in .poetry/plugins |
not crawled (lead, backlog 1) |
| 1.2.2 | Hosted → vendored → hosted, fresh installs, vex, rollback byte-identical | pass |
| 2.5.1 | six in main + dev with per-group markers: hosted, vendored, --only dev |
pass |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied, so no probes were pushed |
Issues
None filed, commented on or closed this run.
False positives ruled out
- Hosted rollback of an exported
pylock.tomlwhose only registry package is six refuses withhosted_restore_refused("no sibling registry package shows the registry and artifact fields"). That falls under CLI_CONTRACT's documented pylock refusal (no sibling showing anindex), and the message names thegit checkoutremedy. With one sibling package it restores fine. - Vendored
vendor_prebuilt_integrity_mismatch: my mock sent the sha512 as hex. The grant needs base64. Mock artifact. - Rollback adding a final newline / millisecond
upload-time: covered by "no guarantee of the original byte layout".
Next
- Re-check Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450, uv hosted → vendored takeover onto a newer patch uuid fails "no installed package found on disk" (exit 1) when the venv holds the hosted patch's bytes, while --dry-run previews success #1105 and
removeandrollbackcall a vendored PyPI residual-reference keep "lockfile wiring drifted", and their "re-runscan --mode vendoredto normalize, then remove" remedy loops (Pipenvpipenv requirementsexport) #1184 once fixed. - A maintainer call on
requires-plugins/.poetry/pluginsscope. - pylock export with vendored mode and the hosted → vendored takeover;
--with dev/ extras exports. - Hand-edited lock 1.0 shapes (Poetry 1.0 writer); lock 2.0 from 1.3–1.7 writers.
- macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] 2026-10-16: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| writers 1.3.2 (versionless stamp), 1.5.1, 1.7.1 (lock 2.0) and 2.5.1 (lock 2.1) | Hosted scan, fresh install, vex, rollback |
pass (installs patched; rollback byte-identical) |
| same | Vendored scan, fresh install, vendor --check, vex, --revert |
pass (--revert byte-identical; 1.3.2 gets the Poetry < 1.4 integrity advisory) |
| 1.3.2, 1.5.1, 1.7.1 | Hosted advisories vs venv state | pass (1.3.2 redirect_poetry_stale_install_risk; stale-install warning only when the venv holds upstream bytes) |
| 2.5.1 | Exported pylock.toml beside poetry.lock: vendored |
wires only pylock.toml and warns pypi_multiple_lockfiles ("installs driven by poetry.lock retain their existing sources"). uv pip install -r pylock.toml gets the patch, vendor --check reports "wiring contested", --revert is byte-identical. This is the documented precedence (see Known non-bugs) |
| 2.5.1 | Same: hosted → vendored → hosted takeovers, fresh poetry install, rollback |
pass (the hosted → vendored takeover restores poetry.lock to upstream, as the precedence implies; rollback restores poetry.lock byte-identical) |
1.7.1 (install --sync), 2.5.1 (sync) |
Vendored, install, --revert, then vex before reinstall, then sync |
pass (vex refuses: nothing to attest; sync puts the upstream bytes back) |
| 2.5.1 | #450 | still fails |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied, so no probes were pushed |
Issues
None filed, commented on or closed this run.
False positives ruled out
- Vendored wiring
pylock.tomlinstead ofpoetry.lockwhen both pin the package:PYPI_TOOL_LOCKSdocuments that standalone PEP 751 locks rank between uv and Poetry when they pin the package (crates/socket-patch-core/src/formats/governing_locks.rs:110). The run warnspypi_multiple_lockfiles, andvendor --checkflags the contest. Hosted rewrites both files, so the two modes differ on purpose. - Rolled-back
pylock.tomlURLs pointing at127.0.0.1/fph: my PyPI JSON forwarder rewritesfiles.pythonhosted.org. That's a harness artifact. The dropped# requires-pythoncomment and the millisecondupload-timefall under "no guarantee of the original byte layout".
Next
- Re-check Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450, uv hosted → vendored takeover onto a newer patch uuid fails "no installed package found on disk" (exit 1) when the venv holds the hosted patch's bytes, while --dry-run previews success #1105 and
removeandrollbackcall a vendored PyPI residual-reference keep "lockfile wiring drifted", and their "re-runscan --mode vendoredto normalize, then remove" remedy loops (Pipenvpipenv requirementsexport) #1184 once fixed. - A maintainer call on
requires-plugins/.poetry/pluginsscope, and on vendored preferring an exported pylock overpoetry.lockfor Poetry users. - pylock:
poetry export -f pylock.toml --with dev/ extras, and two pylocks (pylock.dev.toml). - Hand-edited lock 1.0 shapes (Poetry 1.0 writer).
- macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] 2026-10-16: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 2.5.1 + export plugin | pylock.toml (--with dev) + pylock.test.toml (--with test) + poetry.lock, 3 patched packages: hosted scan, poetry install --with test, uv pip install -r pylock.test.toml, vex |
pass (all patched, 3 statements) |
| same | hosted rollback | refused, hosted_restore_refused (every registry package in each pylock is hosted, so no sibling evidence; Known non-bugs) |
| same | vendored: both pylocks wired, poetry.lock upstream (pypi_multiple_lockfiles), uv install patched, --check "wiring contested" |
documented precedence |
| same | vendored --revert with ≥ 2 packages vendored in one pylock |
comment lines inside [[packages]] dropped (single package: byte-identical; poetry.lock: byte-identical). Handed over to pip |
| 1.0.10 | 10 hand-edited lock 1.0 [metadata.files] shapes (populated, CRLF, inline, no EOL, comment in array, quoted key, six-first, no trailing comma, wheel-only, blank line in array) × hosted / vendored: fresh poetry install (pip 22.2.2), revert |
pass 20/20 (installs patched; vendored --revert byte-identical; hosted rollback re-renders 7 shapes canonically, documented) |
| 1.0.10, 2.5.1 | Vendored in a project path with #, %20, ; |
pass, except ; on Poetry 1.0 (pip parses ; as a marker: Known non-bugs) |
| 2.5.1, 1.8.5 | VEX product for a non-canonical PEP 440 version (1.0.0-beta.1, -rc.2, RC1, 2026.01.05, -post.1, -dev.3, +Local.Build), [tool.poetry] and PEP 621 |
fail: raw version in the product purl while Poetry builds/installs the normalized one. Covered by #1589 (uv); commented with the Poetry evidence |
| 2.5.1 | Two-package hosted: list, repair, remove six, sync, vex, rollback |
pass (lock byte-identical after rollback) |
| 1.8.5 → 2.5.1, 1.8.5 → 2.4.3, 2.5.1 → 1.8.5 | Vendored, then poetry lock with another Poetry major: vendor --revert, rollback, remove, re-vendor, vendored → hosted takeover |
fail #1615: drift-keep forever (--revert exit 0, rollback/remove exit 1, re-vendor no-op, takeover kept vendored). 2/2 on main, 2/2 on v5.0.1 |
| 2.5.1 → 2.5.1, 1.8.5 → 1.8.5 | same, same-version relock | pass |
| 1.8.5 → 2.5.1 | Hosted, then re-lock with 2.5.1: install, vex, rollback | pass |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied, so no probes were pushed |
Issues
- Filed Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615: vendored Poetry patches can't be reverted after a re-lock with another Poetry major. Vendored Poetry patches can't be reverted after apoetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 (plus one comment on the takeover path) - Commented on VEX product purl from pyproject.toml keeps the raw version (pkg:pypi/my-service@1.0.0-RC1) instead of the PEP 440-normalized one that uv.lock, the wheel and SBOMs use (1.0.0rc1) #1589 (VEX product version not PEP 440-normalized) with the Poetry
[tool.poetry]/ PEP 621 evidence on 1.8.5 and 2.5.1. VEX product purl from pyproject.toml keeps the raw version (pkg:pypi/my-service@1.0.0-RC1) instead of the PEP 440-normalized one that uv.lock, the wheel and SBOMs use (1.0.0rc1) #1589 (comment) - Handovers:
entries/pip/20261016T202635Z-from-poetry.md(pylock comment loss on multi-package revert, multi-pylock warning noise);entries/pdm/20261016T202635Z-from-poetry.md(same splice revert, check the PDM re-render).
False positives ruled out
;in the project path breaks Poetry 1.0 vendored installs: pip parses the absolute wheel path asrequirement; marker. Any path dependency in such a directory fails the same way, and Poetry ≥ 1.2 (installer, no pip) is fine.list --json"empty": my parser readpatches; the envelope usesevents[].action = discovered.listis correct.- Hosted rollback refusing for multi-pylock exports: documented
hosted_restore_refused(no sibling registry package).
Next
- Re-check Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615, VEX product purl from pyproject.toml keeps the raw version (pkg:pypi/my-service@1.0.0-RC1) instead of the PEP 440-normalized one that uv.lock, the wheel and SBOMs use (1.0.0rc1) #1589 and Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450 once fixed. - Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 on legacy formats: vendored with Poetry 1.1 (lock 1.1, two coupled fragments) then re-locked with 1.8 / 2.x. - A maintainer call on
requires-plugins/.poetry/pluginsscope. - macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] 2026-10-17: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
1.1.15 → 1.8.5 (lock --no-update), 1.1.15 → 2.5.1 |
Vendored on lock 1.1, re-locked into lock 2.0 / 2.1: vendor --revert, rollback |
fail #1615 (2/2 each: --revert exit 0 drift-keep, rollback exit 1 vendor_revert_kept). 1.1 → 1.1 control passes |
| 1.1.15, 1.8.5, 2.5.1 | Warm venv, hosted / vendored → rollback / vendor --revert → plain poetry install |
pass (Poetry ≥ 1.4 replaces the URL / file build with upstream; 1.1 documented stale) |
| 1.8.5, 2.5.1 | Agent, virtualenvs.path = ~/… (poetry.toml, env var), relative .envs |
pass |
| 2.5.1 | Lock deleted, venv installed: hosted / vendored | fail-closed, exit 1 (redirect_unconfirmed / pypi_poetry_no_lockfile) |
| 1.8.5, 2.5.1 | Vendored lock: poetry check --lock, poetry show |
pass |
| 2.5.1 | Root + nested Poetry sub-project (path dep with its own lock): hosted / vendored, install, vex, rollback | pass (cwd-only model) |
| 1.1.15, 1.8.5, 2.5.1 | Vendored in a path with a space and é |
pass |
| 2.4.3, 1.8.5 | Hosted with a warm out-of-tree venv holding upstream bytes: scan --vex, vex, reinstall, vex |
pass (redirect_pypi_stale_install, refuses until reinstall) |
| 2.5.1 | Multi-target scan 'apps/*' hosted / vendored, per-project rollback --cwd |
pass |
| 1.8.5, 2.5.1 | Hosted / vendored, then poetry add --lock attrs, fresh install, vex |
pass (wiring + hash kept) |
| macOS / Windows | anything | blocked: deleting bughunt/poetry/* is still denied (retried once this run), so no probes were pushed |
Issues
- Commented on Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 with the lock-1.1 → 2.0 / 2.1 evidence: Vendored Poetry patches can't be reverted after apoetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 (comment) - No new issues filed; nothing new met the bar.
False positives ruled out
- Hosted
vexattested while the venv held upstream bytes: the venv sat under aPOETRY_CACHE_DIRexported only to Poetry, so socket-patch couldn't discover it and used the documented lock-based attestation. With the env discoverable it refuses correctly. - The
Some("six")Debug text invendor_lock_entry_driftedreasons is already visible in Vendored Poetry patches can't be reverted after apoetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615's body; not filed separately.
Next
- Re-check Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615, VEX product purl from pyproject.toml keeps the raw version (pkg:pypi/my-service@1.0.0-RC1) instead of the PEP 440-normalized one that uv.lock, the wheel and SBOMs use (1.0.0rc1) #1589 and Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450 once fixed. - Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 with 1.3 → 1.8 (lock 2.0 writers) re-render. - A maintainer call on
requires-plugins/.poetry/pluginsscope, and on thecreate = falsedpkg-copy lead. - Hosted VEX with an undiscovered venv on Poetry 1.2.2.
- macOS / Windows probes once deleting
bughunt/poetry/*is allowed (the two 2026-09-30 branches still exist).
|
[agent] 2026-10-17: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
1.8.5 (priority = "secondary"), 1.1.15 (secondary = true), 2.5.1 (PyPI + mirror, both priority = "primary", PyPI first) |
Legacy / primary source priorities where six still resolves from PyPI: hosted and vendored scan, fresh install, vex, rollback | pass 6/6 (lock restored byte-identical) |
1.8.5 (priority = "default"), 1.1.15 (default = true) |
A PyPI mirror as the default source (six gets [package.source] legacy) |
refused before writing (hosted redirect_poetry_lock_unsupported exit 0, vendored exit 1). Documented |
| 2.5.1 | poetry.lock mode 0640: hosted / vendored scan, rollback |
mode kept |
| 2.5.1, 1.8.5 | Root-run hosted / vendored scan (and rollback) on a project owned by uid 1000 | fail #1635: the lock becomes 0:0, and the owner's poetry add --lock fails with Permission denied (4/4; v5.0.1 too). Control: root poetry add --lock keeps 1000:1000 |
| 2.5.1 | Non-root hosted scan, lock ubuntu:devs 0664 in a shared checkout |
fail #1635 (group becomes ubuntu) |
| 2.5.1 | Agent scan as root over a venv owned by uid 1000 | pass (patched six.py keeps 1000:1000) |
1.3.2 → 1.8.5 (lock --no-update) |
Vendored, relock, vendor --revert |
fail #1615 (2/2, commented) |
| macOS / Windows | anything | blocked: bughunt/poetry/20260930-* still exist and deleting them is denied, so no probes were pushed |
Issues
- Filed Hosted and vendored rewrites replace poetry.lock with a file owned by the user running socket-patch, so after a root scan (e.g. a Docker bind mount) the lock's owner gets "Permission denied" from
poetry add/poetry lock#1635: hosted and vendored rewrites replacepoetry.lockwith a file owned by the user running socket-patch (stage_and_rename_blockingkeeps only the mode). Hosted and vendored rewrites replace poetry.lock with a file owned by the user running socket-patch, so after a root scan (e.g. a Docker bind mount) the lock's owner gets "Permission denied" frompoetry add/poetry lock#1635 - Commented on Vendored Poetry patches can't be reverted after a
poetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 (1.3 → 1.8 within lock 2.0): Vendored Poetry patches can't be reverted after apoetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615 (comment)
False positives ruled out
- None new. The default-source refusals are the documented user-authored-source refusal.
Next
- Re-check Hosted and vendored rewrites replace poetry.lock with a file owned by the user running socket-patch, so after a root scan (e.g. a Docker bind mount) the lock's owner gets "Permission denied" from
poetry add/poetry lock#1635, Vendored Poetry patches can't be reverted after apoetry lockfrom another Poetry major (1.8 ⇄ 2.x):vendor --revertdrift-keeps every package with exit 0, and the "re-vendor" remedy is a no-op #1615, VEX product purl from pyproject.toml keeps the raw version (pkg:pypi/my-service@1.0.0-RC1) instead of the PEP 440-normalized one that uv.lock, the wheel and SBOMs use (1.0.0rc1) #1589 and Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450 once fixed. - Hosted and vendored rewrites replace poetry.lock with a file owned by the user running socket-patch, so after a root scan (e.g. a Docker bind mount) the lock's owner gets "Permission denied" from
poetry add/poetry lock#1635 in other modes: the.socket/vendortree a root vendored run creates is root-owned, so check whether the owner's latervendor --revert/rollbackcan clean it up. - Hosted VEX with an undiscovered venv on Poetry 1.2.2.
- Maintainer calls on
requires-plugins/.poetry/pluginsscope and thecreate = falsedpkg-copy lead. - macOS / Windows probes once deleting
bughunt/poetry/*is allowed.
|
[agent] Janitor: ledger drift on main Generated by Claude Code |
|
[agent] Janitor: ledger drift on main
Please re-verify them on the next run and update the tables. Generated by Claude Code |
|
[agent] Janitor: ledger drift on main
Please re-verify them on the next run and update the cells. Generated by Claude Code |
|
[agent] 2026-11-27: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 1.1.15, 1.3.2, 1.8.5, 2.5.2 | Hosted: scan, re-scan, fresh install, import check, vex, rollback (lock byte-identical), reinstall |
pass on 1.8.5 / 2.5.2 (+ CRLF on 2.5.2). On 1.1.15 / 1.3.2 the rollback advice is wrong: #2320 |
| 1.1.15, 1.8.5, 2.5.2 | Vendored: scan, fresh-checkout install, vex, vendor --check, rollback |
pass; the same advice is wrong on 1.1 / 1.3 (#2320) |
| 2.5.2 | Agent, in-project and default out-of-tree env: scan, re-run, vex, lock untouched, rollback, reinstall + re-scan |
pass |
| 2.5.2 | Hosted → vendored → hosted takeovers, fresh install after each, rollback | pass |
| 1.1.15, 1.3.2 | Hosted / vendored unwind, then plain poetry install |
fail #2320: patched bytes stay (1.3.2 even prints "Updating six … -> 1.16.0"), while rollback says the next install restores them. v5.1.0 behaves the same, so it isn't a regression |
Issues
- Filed On Poetry 1.1–1.3, hosted rollback and vendored revert say the next install restores upstream six, but
poetry installkeeps the patched build #2320: on Poetry 1.1–1.3, hostedrollbackand vendoredrollback/vendor --revertsay the next install restores upstream, butpoetry installkeeps the patched build. Same class as After a hosted or vendored PDM rollback, pdm sync / pdm install keep the patched build installed, though rollback says the next install restores it #477 / After a hosted rollback or vendored revert of a requirements.txt pin, plainpip install -rkeeps the patched build, though rollback says the next install restores it (andvendor --revertsays nothing) #1953;pypi_reinstall.rshas no Poetry case. On Poetry 1.1–1.3, hosted rollback and vendored revert say the next install restores upstream six, butpoetry installkeeps the patched build #2320
Leads, not filed
- Since Name each patched package as a VEX product so Trivy and Grype match it #2243, PyPI VEX products keep
?artifact_id=…(deliberately, per the review). If Grype / Trivy require the qualifiers to match, PyPI findings aren't suppressed. Downloading Grype / Trivy to prove it was denied in this sandbox. Backlog 5.
False positives ruled out
- On Poetry 1.4+ the generic reinstall note is correct: 1.8.5 / 2.5.2 restore upstream on the next install.
Ledger
- Compacted
state/poetry.mdfrom 54 KB to one row per workflow. Its known-non-bug list moved to a newknown-non-bugs/poetry.md.
|
[agent] 2026-11-29: Poetry bug-hunt run Tested: main Re-triage
Cells (Linux, main
|
| Poetry | Cell | Result |
|---|---|---|
| 2.5.2 | Hosted + vendored, six in an optional dev group and a compat extra, supplemental source: sync, install --with dev, sync -E compat, fresh --all-extras, check --lock, vex, vendor --check |
pass |
| 1.8.5 | Hosted, extra + optional group + explicit source + primary PyPI: install --sync (± --with dev, -E), lock --no-update, poetry add keep the pin |
pass |
| 1.8.5 ⇄ 2.5.2 | Cross-major relock after vendored (#1615) and hosted, then vendor --revert / rollback |
pass, both directions |
| 1.0.10 | Lock 1.0, hosted (pip 24) and vendored: fresh install, vex, rollback / revert byte-identical |
pass. pip 23.0.1 refuses the hosted wheel (documented) |
| 0.12.17 | Hosted refused (redirect_poetry_lock_unsupported), vendored install + revert |
pass |
| 2.5.2 | Lockless PEP 621 project, virtualenvs.create = false, PATH interpreter (#2170): scoped to 1 package, agent apply, vex, rollback |
pass |
| 1.8.5 | Root vendored run on a uid-1000 tree | lock keeps its owner (#1635 fix). .socket/ is root-owned, so the owner's vendor --revert fails with "Check that ./.socket is writable". Listed as a deliberate follow-up in PR #1636; not filed |
| 1.4.2, 1.8.5 | installer.modern-installation = false, warm venv, hosted + vendored |
fail #2373 |
Issues
- Filed On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373: on Poetry 1.4–1.8 with
installer.modern-installation = false,poetry installprints "Updating six" but keeps the upstream bytes after a hosted or vendored rewrite. Vendored scan doesn't warn, and vendoredvexattestsnot_affectedwith avendored_tree_out_of_syncremedy that does nothing. Hostedvexfails closed, but its advice doesn't work either. The risk check reads only the lock writer (is_pre_1_4). Earlier runs treated this as a docs-only gap (backlog 9); it's now filed because the vendored attestation and the remedies fail the user. On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373
False positives ruled out
- Hosted
vexattests a pin for six afterpoetry syncremoved it (optional extra). Already in known-non-bugs. - Poetry 1.8
install --synckeeps an optional-group package. Poetry's own behavior; same on the pristine lock. - Hosted re-scan dry-run says "Would patch 1 package" for a package that's already pinned. The real re-run is a no-op ("already on hosted patches"). Cosmetic.
- With
create = false, Poetry 2.5 installed into its own interpreter's base (/usr), not the PATHpython3. That's a sandbox setup issue (Poetry in a uv venv), so it's in backlog 4.
Ledger
- State: dated cells, new On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373 row, backlog reordered (the docs item is folded into On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373).
|
[agent] 2026-12-01: Poetry bug-hunt run Tested: main Re-triage
Cells (agent mode, main
|
| Poetry | Cell | main | v5.1.0 |
|---|---|---|---|
| 1.3.2, 1.8.5, 2.5.2 | urllib3 2.2.2 with a wheel record + an sdist record that adds files: apply, apply --check, rollback |
pass (wheel applied, sdist package_not_installed) |
apply exits 1 (#2194) |
| 1.3.2, 1.8.5, 2.5.2 | MarkupSafe 2.1.5 manylinux record + macOS record (py+.so) |
pass (manylinux applied) | applies the macOS record on 2.5.2 (#2194) |
2.5.2 installer.no-binary = :all: |
local sdist build (Tag: cp311-cp311-linux_x86_64) + the manylinux record with the PyPI .so |
fails closed: "no matching variant found … _speedups….so holds neither", exit 1 |
n/a |
| 1.3.2, 1.8.5, 2.5.2 | vex after the urllib3 apply |
fail #2426 (sdist record omitted as not_applied, partialFailure) |
same |
Issues
- Filed vex reports the sdist record of a wheel-installed PyPI release as not_applied and partialFailure, while apply --check calls it not installed #2426:
vexomits the not-installed sdist record of a wheel-installed release asnot_applied("the patched files still hold the original content") withstatus: partialFailure, whileapply/apply --checkcall it not installed. Friction, exit 0. Not a regression. vex reports the sdist record of a wheel-installed PyPI release as not_applied and partialFailure, while apply --check calls it not installed #2426
False positives ruled out
- With
installer.no-binary, a macOS record whose only.sois an added file passes the every-file check and is applied to the Linux local build. Synthetic: a real macOS record replaces its.so(beforeHash set), so on Linux it's absent and skipped. Not filed. - The no-binary local build failing the manylinux record (exit 1, "no matching variant") is the documented fail-closed for a compiled module that differs.
- The
skippedreason "Resolved by the project lockfile but not installed on this host (lockfile-only)" for the sdist record is pinned by the Fix agent mode failing on PyPI releases that have a wheel and an sdist record (#2194) #2409 tests. The wording is loose but deliberate.
Ledger
- State: new agent-mode multi-record row, backlog 1 adds the vex reports the sdist record of a wheel-installed PyPI release as not_applied and partialFailure, while apply --check calls it not installed #2426 re-check.
|
[agent] 2026-12-03: Poetry bug-hunt run Tested: main Focus: #2417 (agent-mode PyPI patches now rewrite Re-triage
Cells (agent mode, main
|
| Poetry | Cell | Result |
|---|---|---|
| 1.3.2 (pip), 1.8.5, 2.5.2 | six: replace six.py + add six_added.py; every RECORD row checks; re-apply no-op; poetry install / check; rollback leaves RECORD byte-identical |
pass |
| 1.3.2, 1.8.5, 2.5.2 | poetry add six@1.17.0 after apply removes the added file; reinstall 1.16.0, apply, rollback |
pass |
1.8.5 modern-installation = false |
python-dateutil via pip (CRLF RECORD), added file in a new subpackage, vex, rollback byte-identical |
pass |
| 1.8.5, 2.5.2 | poetry remove python-dateutil after apply: added subpackage dir gone |
pass |
| 2.5.2 | PyYAML (PyYAML-6.0.2.dist-info) and python-dateutil (python_dateutil-…) dist-info names |
pass |
| 2.5.2 | python -m venv .venv (with lib64 -> lib), Poetry installs into it |
pass |
| 2.5.2 | Out-of-tree venv, optional dev group: sync --without dev removes the added file, sync --with dev + re-apply, rollback |
pass |
| 2.5.2 | installer.no-binary = six, install --compile |
pass |
| 2.5.2 | Env patched by v5.1.0 (stale RECORD), then main apply |
before-blob absent: pypi_record_stale every run, as documented. Before-blob stored: silent repair, JSON sidecars[].files = rewritten. rollback --preserve-state + apply remedy works |
Blocked: VEX vs Grype (backlog 3). The grype binary downloads, but its DB host is refused by the proxy.
Issues
- None filed, commented on or closed.
False positives ruled out
direct_url.jsonlisted in RECORD but absent on Poetry 1.3.2 /modern-installation = false: Poetry deletes it after pip installs a PyPI package. Not socket-patch.- Main
applyover a v5.1.0-patched env printed nothing: the fixture stored the before-blob, so it repaired RECORD silently ("a RECORD brought in line prints nothing"). rollbackwith the package upgraded to another version drops the manifest entry. Existing rollback behavior, unrelated to Rewrite the RECORD rows of the files an agent-mode PyPI patch writes (#2201) #2417.
Ledger
- State: new agent-mode RECORD row; backlog 2 now leads with the hosted / vendored v5.2.0 re-run (needs a mock) and Stop printing the credentials of URLs quoted from lockfiles in refusals and hosted warnings #2445 redaction; backlog 3 blocked note.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
[agent] Progress ledger for the scheduled Poetry bug-hunt routine (label pm:poetry).
Last run: 2026-12-03 (run 32), main
d987721(= v5.2.0, tagged 2026-12-03), latest release v5.2.0, newest Poetry 2.5.2.Compacted in run 29 from a 54 KB file. The per-run cell tables for runs 1–28 and the old known-non-bug list are in this file's git history on
bughunt/ledger(commit9326906) and inentries/poetry/. Open bughunt issues: #2320, #2373, #2426. Closed since run 28: #450, #1105, #1184, #1589, #1615, #1635 (all fixed). #1114 (arch-audit, not bughunt) is still open, though #2229 says it fixes it.Coverage matrix
Linux only (macOS / Windows probes are switched off; see INSTRUCTIONS.md). The mock is a local patch API that serves a deterministic patched copy of the real six 1.16.0 wheel (grant with sha256 + sha512, view, blob). Real Poetry, real PyPI (now reachable directly). A cell dated before 2026-11-11 counts as untested for the release.
installer.modern-installation = false(1.4–1.8).dist-info/RECORDrewrite (#2417): apply, re-apply, rollback byte-identical,poetry addupgrade /remove/sync --withoutdrop the added file,vexmodern-installation = false, CRLF), 2.5.2 (in-project, out-of-tree,python -m venvwithlib64link,installer.no-binary), PyYAML / python-dateutil dist-info names; v5.1.0-patched env warns every run without the before-blob, repairs with it (2026-12-03)vex, rollback, reinstallvendor --check(2026-11-27); revert advice wrong on 1.1–1.3: fail #2320apply --check, rollback,vexinstaller.no-binarylocal build (2026-12-01);vexfail #2426own_wheel_record)install --sync/sync,--withoutsource = "pypi"pinssource = "pypi"pre-releasevirtualenvs.pathtemplates,envs.toml,env use,VIRTUAL_ENV/ condavirtualenvs.create = false/ system-site-packagespoetry lock,add --lock, cross-major relock)poetry add, 2.5→1.8lock --no-update+ rollback pass (2026-11-29)vendor --revertpass (#1615, 2026-11-29)removeof one of two packages-g/ cross-scope rollbackpoetry.lock(root run on uid-1000 tree).socket/stays root-owned, so the owner'svendor --revertfails (documented follow-up in PR #1636)redirect_poetry_lock_unsupported, exit 0)Backlog
poetry installkeeps the patched build #2320, On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373 and vex reports the sdist record of a wheel-installed PyPI release as not_applied and partialFailure, while apply --check calls it not installed #2426 once fixed (1.1.15 / 1.3.2 rollback; 1.4.2 / 1.8.5 withmodern-installation = false, hosted and vendored, warm venv). For On Poetry 1.4–1.8 with installer.modern-installation = false, a warm venv keeps upstream bytes after a hosted or vendored rewrite, with no warning and remedies that do nothing (vendored vex still says not_affected) #2373 also measure the rollback direction.source = "pypi"pins, mixed-EOL locks, cross-scope rollback (Agent-mode rollback in the other scope (rollback -g after a project apply, or rollback after a -g apply) deletes the manifest entry and blobs while the patched copy stays patched, and exits 0 #450). Also the Stop printing the credentials of URLs quoted from lockfiles in refusals and hosted warnings #2445 credential redaction with a credentialed[package.source]/[[tool.poetry.source]]URL in a hosted warning.?artifact_id=…(by design). If Grype / Trivy compare qualifiers, the document suppresses nothing for PyPI findings. r32: the grype binary downloads from GitHub, but its DB host (grype.anchore.io) is refused by the proxy, so still blocked.virtualenvs.create = false, Poetry 2.5 installs into the interpreter Poetry runs on (here/usr), not thepython3on PATH that the no-venv fallback reads (Scan only a no-venv Python project's own packages, not the whole machine's #2170). Measure the pipx / official-installer setup, where these differ, before calling it a bug.[tool.poetry.requires-plugins]installs plugins into<project>/.poetry/plugins, which no mode crawls. Needs a maintainer call on scope.virtualenvs.create = false, the project fallback patches the system interpreter's dpkg-owned copy. Needs a maintainer call.own_wheel_recordpicks the installed wheel's record;installer.no-binarylocal build (no own record). Needs the mock's vendor artifact routes.Known non-bugs
The full list is in
known-non-bugs/poetry.md; search it withgit grep. These are the ones most likely to be re-filed:--api-urland setSOCKET_PATCH_SERVER_URLto the mock solist,vexand rollback see the hosted origin.redirect_poetry_stale_install_risk.pypi_poetry_integrity_unverifiedand hosted warnsredirect_poetry_stale_install_risk. Both are deliberate.[package.source](mirror default source, git, path, URL) is refused before writing by hosted and vendored. Documented.--cwd.poetry installhash checks. Build it deterministically.poetry check --lockfails on Poetry 1.1 / 1.2 on its own.#sha256=…&fragment. Documented.All reactions