Resume-eval sessions: Bash sandbox instead of git permission globs
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- bash, git
- Bereich
- security, testing-qa
Rechercherichtung
The change lives in the resume-eval sessions' --settings and their git allow/deny globs, so start by locating those settings and the existing blanket git ls-remote deny. Read the linked owner-decision record for Q63/Q66, then update each session to enable the Bash sandbox and narrow the deny patterns to URL and user@host forms. Add a test covering git ls-remote and git fetch with and without -C, then run the before-arm trial on re-late-event and re-decision-trimmed-to-fit to confirm at least 2 of 4.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
In the session-flow resume eval, a resumed Claude Code reader confirms the refs its case story names (a PR head, a release branch) with git -C <run repo> ls-remote origin or git fetch origin. The eval sessions denied git ls-remote outright, the auto-mode classifier refused the -C form ("Undermining Oversight"), and the run counted as not delivered. In the last A/A, the before arm delivered 0 of 16 runs on re-decision-trimmed-to-fit and 0 of 15 on re-late-event.
Allow and deny globs could not open the local read without opening network forms: review lanes and pr-verify on #17700 found --upload-pack, scp-style host:path fetches, -C to another checkout and --exec-path slipping through, because a glob cannot tell which argument a colon or flag belongs to.
Owner decisions
Recorded in the owner-decisions record: https://github.com/melodic-software/architecture/blob/fb7ac72fc5417e324d7744ee8297039b3e2e6231/docs/owner-decisions.md#L287-L288 (melodic-software/architecture#143)
- Q63, 2026-11-20 ~23:3xZ, owner verbatim: "Go with recommendations. Just make sure that the rules are generalized and safe. I don't want repo-specific rules. The rules that we put there, permissions need to be generalized, basically."
- Q66, 2026-11-21 ~03:5xZ, on "Should eval sessions use the Bash sandbox with no allowed network domains, instead of the git allow and deny globs?", owner verbatim: "Go with recommendations."
Done when
- Each resume-eval session's
--settingsenables the Bash sandbox with auto-allow,allowUnsandboxedCommands: false,failIfUnavailable: true, no allowed network domains andstrictAllowlist: true, writable only in the working directory, the run folder and the harness temp directory. - The eval sessions' blanket
git ls-remotedeny narrows to the URL (*://*) and user@host (*@*) forms ofgit ls-remoteandgit fetch, with and without-C; the curl, wget, WebFetch and WebSearch denies stay. No allow rule is added. - A test asserts those network forms stay denied and the local
originreads are not denied. - A trial on
re-late-eventandre-decision-trimmed-to-fit(before arm, Claude Code reader, 4 runs each) delivers at least 2 of 4 per case.
- Vorherrschende Sprache
- Shell
- Sterne
- 22
- Forks
- 2
- Ø Merge
- 2 Std.
- Gemergte PRs (30 T.)
- 960
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus melodic-software/claude-code-plugins
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
melodic-software/claude-code-plugins#19225 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
melodic-software/claude-code-plugins#17779 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
recurring
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
melodic-software/claude-code-plugins#19274 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
melodic-software/claude-code-plugins#19270 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 53/100
melodic-software/claude-code-plugins#19269 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in melodic-software/claude-code-plugins
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nais/attest-sign#139 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
community-scripts/core#303 ·
Maintainer antworten meist innerhalb von 1 Tag
-
severity: low
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
luainkernel/lunatik#2727 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[quality] release publish.mjs integrity guards have no unit testEvtl. vergeben @robarnold hat das heute übernommen. Offenagent/quality stage/040-covered-by-pr testing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
marinatedconcrete/config#1155 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug report-to-upstream
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
flatpark/flatpark#1585 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag