Scanners: consistent status rules and calibrated severities

オープン
#138 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, shell
領域
testing, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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: fail if any critical/high, warning if any medium, else pass, documented once in references/.
  • Ruff: F8xx, E9xx, B, S high, PL/SIM medium, I/E5xx/W/style low. Shellcheck error/warning/info/style map the same way.
  • Run ruff with --isolated --select so results don't depend on the target project's config.

PR

Happy to help implement this if the direction is agreed.

主要言語
Python
スター
220
フォーク
54
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bmad-code-org/bmad-builder のほかの issue

bmad-code-org/bmad-builder の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。