From f6a5ec2331d716a37b1416a4f895e9bc9ebf5f70 Mon Sep 17 00:00:00 2001 From: Janis Jansons Date: Thu, 19 Nov 2026 18:32:46 +0200 Subject: [PATCH] osv-followup: PRs from osv/ branches (the runner deletes its claude/ branch at the end of a run) --- .../__pycache__/followup.cpython-314.pyc | Bin 66212 -> 66599 bytes osv-followup/followup.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osv-followup/__pycache__/followup.cpython-314.pyc b/osv-followup/__pycache__/followup.cpython-314.pyc index 35521e3eb430d6e25a21546140599633049a9695..8a5d0c1554a4386ad105c65e31e2dc095629a3af 100644 GIT binary patch delta 694 zcmaiy&ui2`6vtDTf>`t-K5SvT*lk6Gf=ChSA0RChL4-__*<@;d*vzE66}oFh zMHcmvgI5KqCqW5#@uCRQgNHqN6N)DfqN^g_tP>OQpvAd--s8=CZ{GLKgX=>NZw^(C zR`!k{c^*ydEMK_ur1G7Qj7e8T2!Gv5tKx;Rq#9^p^!V5~svFrGacGZ542)3vZT;1L zXvR?h1gw~Zwg({zsFS|z9O+Jh9aAExQ`|5w*G-r-T_(WxsC_X?1T-v&`05PfJfV$K z;T%LUb6Gf(Jd^#+`ZS!0AdCbgoPzKun6^(6hn5NNu56mW+vd?Y2}2qe)v2=xvcpMW zf&&emM$~M`IM_ZVVR8u^>Qh0vtV%>#V+vXxlM~o}#ASrQ*#!uQLyPA#F%9$Cm(B?V zzfWr$o3k)pr7C{Am)-X7z4o45LLTZ*!V+j4NUrmp8`tDPJjby*)A ct{Q4g-@H0mx}=if+hZEvGs1``(Df?4CFF1Ffe{TG?~BTAe)h}GJ_`f<~t>_ zoJ>{UC;zKG#$lz9RFs&PoH6-Eof5A?T2X$kLPC{pf{sG+<}>vsOpKQ&Gd3+#ie-Ed zn|L86=>r2pGGhP}kP2i91yKP^VL%E<(~+K z@GnF}Lm8PlP)1=1MC<0a%@XX4S(Dki%@J-3>{j7|xs5+z^Y8A3jEw(*4wIU^z4wSp z9OHwyqzkdh7m|xE6qjEpssOsHk};L-gFHV^2HOV)e%1`O$!{F&Hoxp^D`CoDn_kGw GxD5baYiTtA diff --git a/osv-followup/followup.py b/osv-followup/followup.py index 9d1ff79..591984e 100644 --- a/osv-followup/followup.py +++ b/osv-followup/followup.py @@ -381,7 +381,7 @@ For **each** advisory: The `reason` must be **specific and true**: name our files, functions or configuration and the dependency path, and say why the vulnerable code is not reached or not exposed. Start it with a CycloneDX justification: `code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter` or `protected_by_mitigating_control`. "Not exploitable" or "dev dependency" alone is not a reason. `ignoreUntil` is {days} days from today ({until.isoformat()}): the monthly re-check refreshes it while the reason still holds. Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`. If an advisory **does** affect us and there is no fix, do not ignore it: describe the exposure and the options in the PR and in this issue. -4. **Open one pull request** for this issue: branch `osv/issue-` from `{base}`, commit, push, then create the PR against `{base}` (`mcp__local_git_ops__create_pull_request`). Its body starts with `Closes #` and has one line per advisory: the id, and either the fix (package and version) or the justification. Do not merge it; do not close this issue yourself (the PR closes it when merged). +4. **Open one pull request** for this issue from a branch named `osv/issue-`, created from `{base}` (`git checkout -b osv/issue- origin/{base}`). Do not use the `claude/issue-…` branch the runner checked out: its end-of-run cleanup deletes that branch, which closes a PR made from it. Commit, push, then create the PR against `{base}` (`mcp__local_git_ops__create_pull_request`). Its body starts with `Closes #` and has one line per advisory: the id, and either the fix (package and version) or the justification. Do not merge it; do not close this issue yourself (the PR closes it when merged). If you run short of time, push what is done, open the PR with those advisories and list in this issue the ones still open.""" @@ -404,7 +404,7 @@ For **each** entry: Reasons start with a CycloneDX justification (`code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter`, `protected_by_mitigating_control`). Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`. -If anything changes, open one pull request: branch `osv/recheck-` from `{base}`, PR against `{base}` (`mcp__local_git_ops__create_pull_request`), body starting with `Closes #` and one line per entry (kept / reason rewritten / removed, and why). Do not merge it. If nothing needs changing, comment with one line per entry saying why it still holds; then this issue may be closed.""" +If anything changes, open one pull request from a branch named `osv/recheck-`, created from `{base}` (not the runner's `claude/issue-…` branch: its end-of-run cleanup deletes it, which closes a PR made from it), PR against `{base}` (`mcp__local_git_ops__create_pull_request`), body starting with `Closes #` and one line per entry (kept / reason rewritten / removed, and why). Do not merge it. If nothing needs changing, comment with one line per entry saying why it still holds; then this issue may be closed.""" def marker(kind: str, ids: list[str]) -> str: