Small text gaps left by runs compare, rules and fail_on_confidence
还没有人认领这个 Issue。
评估
- 难度
- 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 内容生成。
描述
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:49internal/cli/rules.go:14internal/cli/runs.go:137-161docs/mcp.md:33docs/findings.md:172,docs/findings.md:177internal/mcp/tools.go:41-44
Details
-
internal/cli/runs.go:49:spackle runs bogusprintsUse "spackle runs" to list or "spackle runs prune" to delete.It does not mentionruns 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 exampleruns.go:43). -
internal/cli/runs.go:137-161: commit 96cc9fc insertedcountFlagbetweenparseAge's doc comment and the function.countFlagnow has a two-subject doc, andparseAgehas none. -
docs/mcp.md:33: "scan,list_runsanddoctorsend the same JSON in both" leaves outcompare_runs, which also returnsjsonResult. -
docs/findings.md:172and:177("Onlyopenandpatch-availablefindings count towardfail_on") do not mention thatfail_on_confidencecan exclude findings below a confidence level.docs/config.mdanddocs/ci.mddo. -
internal/mcp/tools.go:41-44: the MCPinstructionsstring names onlyscan,get_reportandget_finding, notlist_runs,compare_runsordoctor.
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-checkif 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
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
TMHSDigital/Spackle 的其他 Issue
-
enhancement good first issue severity: low
难度 2/5 半天 新手友好度 72/100
TMHSDigital/Spackle#139 ·
-
enhancement good first issue severity: low
难度 2/5 1-3 小时 新手友好度 72/100
TMHSDigital/Spackle#138 ·
-
bug good first issue severity: low
难度 2/5 1-3 小时 新手友好度 72/100
TMHSDigital/Spackle#131 ·
-
bug good first issue severity: low
难度 2/5 1-3 小时 新手友好度 78/100
TMHSDigital/Spackle#129 ·
-
bug good first issue severity: low
难度 2/5 1-3 小时 新手友好度 82/100
TMHSDigital/Spackle#128 ·
查看 TMHSDigital/Spackle 的全部 Issue
相似的 Issue
-
bug raised-by:reviewer
难度 2/5 1-3 小时 新手友好度 66/100
medici-finance/assay#7655 ·
维护者通常 1 天内回复
-
helm chart: make DaemonSet pod affinity configurable via values.yaml可能已有人在做 @Young-Zen 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
flannel-io/flannel#2632 ·
维护者通常 6 天内回复
-
go-vulnerability security-scan
难度 1/5 1 小时以内 新手友好度 72/100
teslashibe/agent-go#36 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
nwverse/persona#15194 · 1 条评论 ·
维护者通常 1 天内回复
-
bug flaky-test
难度 2/5 1-3 小时 新手友好度 78/100
rosskukulinski/tailworks#411 ·
维护者通常 1 天内回复