Stage-1 SAFE runs on a session whose shell moved PATH
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
- 42/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- bash, typescript
Rechercherichtung
Start with index.ts, especially the stage-1 SAFE branch and the stage-2 stageTwo latch, then read docs/plans/2026-11-04-stage-2-latch-scope.md. Determine how the host reports shell-state drift and how often sessions drift before deciding how the new refusal should apply. Done means a SAFE bare-name command in a drifted session is blocked consistently with a reviewer allow, with the drift measurement informing the added refusals.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
A stage-1 SAFE auto-runs on a session whose shell an earlier call changed. https://github.com/STRML/omp-classifier/pull/225 only stops the stage 2 reviewer once a session moves PATH, adds an alias or defines a function. Jev's own SAFE never checks.
call 1: export PATH=$PWD/.bin:$PATH (gate judges it, runs)
call 2: git status Jev SAFE ─▶ runs .bin/git
| Path | Checks shell state? |
|---|---|
stage 1 SAFE, branch 3 (index.ts if (judgement.verdict === "SAFE")) |
no |
| stage 2 reviewer allow | yes (latch, index.ts stageTwo) |
The latch covers the weaker path only. Jev reads the command text, and git status is SAFE text whatever git resolves to.
The fix rides on the shell-state check planned in docs/plans/2026-11-04-stage-2-latch-scope.md: once the host reports drift against the session's baseline, a SAFE on a bare name in a drifted session should block the same way a reviewer allow does. That adds refusals, so it wants a measurement of how often sessions drift first.
Found by the auditor seat during plan review for the latch fix.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1
- Forks
- 1
- Ø Merge
- 49 Min.
- Gemergte PRs (30 T.)
- 82
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
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 STRML/omp-classifier
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
STRML/omp-classifier#259 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
STRML/omp-classifier#256 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
STRML/omp-classifier#252 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in STRML/omp-classifier
Ähnliche Issues
-
area:cli area:security bug priority:medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
rtk-ai/rtk#5127 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameOffenaccessibility
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
numerique-gouv/lasuite-landingpage#315 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs:triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
HyeokjaeChoi/vaultme#585 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement priority/P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
beettlle/pi-smart-router#200 ·