Scanners: consistent status rules and calibrated severities
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
Línea de trabajo
Start by reading scan-path-standards.py, scan-scripts.py, the prepass scripts, and validate-module.py, then find how analysis grades and lenses consume scanner results. Check the existing documentation under references/ and how Ruff and ShellCheck findings are represented. Done means the status contract, severity mappings, and isolated Ruff invocation are consistent across the named scanners and documented once.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe your idea
Agree on one status contract across scan-path-standards.py, scan-scripts.py, the prepass scripts and validate-module.py, and map lint rule families to severities.
Why is this needed?
Today scan-scripts maps any high finding to warning but scan-path-standards maps any finding to fail, and every ruff rule is high (I001 import order weighs the same as F821 undefined name). The analysis grade and the lenses consume these, so the noise skews the quality report and pushes the Edit intent toward style churn.
How should it work?
- Status:
failif any critical/high,warningif any medium, elsepass, documented once inreferences/. - Ruff:
F8xx,E9xx,B,Shigh,PL/SIMmedium,I/E5xx/W/style low. Shellcheck error/warning/info/style map the same way. - Run ruff with
--isolated --selectso results don't depend on the target project's config.
PR
Happy to help implement this if the direction is agreed.
- Lenguaje dominante
- Python
- Estrellas
- 220
- Forks
- 54
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bmad-code-org/bmad-builder
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bmad-code-org/bmad-builder#157 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bmad-code-org/bmad-builder#153 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bmad-code-org/bmad-builder#151 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
bmad-code-org/bmad-builder#127 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
bmad-code-org/bmad-builder#123 ·
Todos los issues de bmad-code-org/bmad-builder
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
aws-samples/sample-per-model-bedrock#857 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
521xueweihan/HelloGitHub#4328 ·
-
documentation maintainer-managed
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
awslabs/visual-asset-management-system#1418 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día