darnit plan --profile still refuses after #597 fixed the reason
メンテナーはふだん 3 日以内に返信
関連するプルリクエストがすでにマージされています。
- #713 @JohnsonLyu による — マージ済み
評価
調査の方向性
拒否処理は cmd_plan にあり、そのコメントで参照されている #568 はクローズ済みです。すでに _resolve_profile_ids でコントロールを絞り込んでいる cmd_audit と比較してください。darnit plan --profile level1_quick <repo> で再現し、終了コードが 1 になることを確認してください。plan がプロファイルを受け付け、選択されたコントロールのみを出力し、未知のプロファイルや空の選択に対して audit と同じエラーを返せば完了です。
索引モデルが issue の本文から書いたものです。
説明
darnit plan --profile still refuses, and the reason it gives no longer applies.
#576 made darnit audit --profile filter the controls and left plan refusing the flag, because plan crashed on frameworks whose controls carry no level (#568), so the flag couldn't be wired in a way that could be tested on the Baseline. #597 fixed that crash and closed #568.
On main (155dcc1b), on jonschlinkert/is-odd:
darnit plan <repo>exits 0 and prints the plan.darnit plan --profile level1_quick <repo>exits 1 withdarnit plan does not support --profile yet (#568); use darnit audit --profile, which points at a closed issue.darnit audit --profile level1_quick <repo>audits 26 of the 66 controls.
Suggested fix: narrow the plan with _resolve_profile_ids as cmd_audit does, with the same errors for an unknown profile or an empty selection, and remove the refusal and its comment in cmd_plan.
Drafted with AI assistance (Claude), reviewed and filed by me. Measurements quoted were executed and verified.
- 主要言語
- Python
- スター
- 22
- フォーク
- 27
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 75
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
darnitdevorg/darnit のほかの issue
-
ci needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
darnitdevorg/darnit#607 ·
メンテナーはふだん 3 日以内に返信
-
good first issue maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
darnitdevorg/darnit#587 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
Container image has no zizmor, so OSPS-AC-04.02 always reports missing_tool対応中かも @mlieberman85 が 20 日前に担当しました。 オープンinfrastructure module-baseline
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
darnitdevorg/darnit#585 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
module-baseline
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
darnitdevorg/darnit#344 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
documentation module-core
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
darnitdevorg/darnit#196 ·
メンテナーはふだん 3 日以内に返信
darnitdevorg/darnit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
strawberry-graphql/strawberry#4794 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dataforgoodfr/cetolog#21 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
btclib-org/btclib#2932 ·
メンテナーはふだん 1 日以内に返信
-
metrics priority: medium
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
LearningCircuit/local-deep-research#8336 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100