Small text gaps left by runs compare, rules and fail_on_confidence

オープン 初心者向け
#135 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go, markdown
領域
api, cli, documentation

調査の方向性

まず runs.go:49 の runs bogus のヒントと、rules.go:14 の --format フラグの文言を確認し、runs.go:43 のパターンと比較してください。チェックリストの各項目を修正し、go test ./internal/cli ./internal/mcp が通れば完了です。ヘルプ出力が変わった場合は make demo-check も実行してください。

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

説明

documentation good first issue severity: low

Summary

A few small text gaps were left by the new runs compare, rules and fail_on_confidence features. Grouped here as a checklist.

Where

  • internal/cli/runs.go:49
  • internal/cli/rules.go:14
  • internal/cli/runs.go:137-161
  • docs/mcp.md:33
  • docs/findings.md:172, docs/findings.md:177
  • internal/mcp/tools.go:41-44

Details

  • internal/cli/runs.go:49: spackle runs bogus prints Use "spackle runs" to list or "spackle runs prune" to delete. It does not mention runs compare, which the same command's help lists.
  • internal/cli/rules.go:14: fs.String("format", "text", " + "text" + or json") makes the backticked word the placeholder, so help shows --format text text or json. Other commands read --format format output format: text or json (for example runs.go:43).
  • internal/cli/runs.go:137-161: commit 96cc9fc inserted countFlag between parseAge's doc comment and the function. countFlag now has a two-subject doc, and parseAge has none.
  • docs/mcp.md:33: "scan, list_runs and doctor send the same JSON in both" leaves out compare_runs, which also returns jsonResult.
  • docs/findings.md:172 and :177 ("Only open and patch-available findings count toward fail_on") do not mention that fail_on_confidence can exclude findings below a confidence level. docs/config.md and docs/ci.md do.
  • internal/mcp/tools.go:41-44: the MCP instructions string names only scan, get_report and get_finding, not list_runs, compare_runs or doctor.

Impact

Minor. A user reading the hint, the help, godoc or the docs gets an incomplete picture of the new options.

Suggested fix

Fix each item as described above.

Acceptance criteria

  • Every item in the checklist is fixed.

Getting started

  • Relevant files: listed above
  • How to run tests: go test ./internal/cli ./internal/mcp; make demo-check if help output appears in docs

Filed by repo-audit/full-audit at fffef43. Severity: low. Effort: S. audit-key: documentation|internal/cli/runs.go|new-feature-text-gaps

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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

TMHSDigital/Spackle のほかの issue

TMHSDigital/Spackle の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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