Stage-1 SAFE runs on a session whose shell moved PATH
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- bash, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 1
- Forks
- 1
- Merge médio
- 49min
- PRs com merge (30d)
- 82
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de STRML/omp-classifier
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
STRML/omp-classifier#259 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
STRML/omp-classifier#256 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
STRML/omp-classifier#252 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de STRML/omp-classifier
Issues semelhantes
-
area:cli area:security bug priority:medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
rtk-ai/rtk#5127 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameAbertaaccessibility
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
numerique-gouv/lasuite-landingpage#315 ·
Mantenedores costumam responder em até 1 dia
-
needs:triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
HyeokjaeChoi/vaultme#585 ·
Mantenedores costumam responder em até 1 dia
-
enhancement priority/P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
beettlle/pi-smart-router#200 ·